:root {
  --bg: #e9ddc0;
  --bg-alt: #e0cfa4;
  --card: #f1e6cc;
  --gold: #9c7a42;
  --gold-light: #b5904f;
  --cream: #7a5c3d;
  --muted: #6f5a42;
  --btn-text: #2e2114;
  --border: rgba(90, 68, 38, 0.25);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', sans-serif;
  --logo-font: 'Playfair Display', Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
}

/* single fixed marble slab behind the whole page, so the pattern lines up
   across every section instead of each one generating its own */
.marble-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(160deg, rgba(236,223,193,0.35) 0%, rgba(221,203,159,0.25) 50%, rgba(230,214,176,0.35) 100%),
    url('../assets/images/bg-stone.jpg');
  background-size: cover;
  background-position: center;
  background-blend-mode: soft-light, normal;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

a { color: inherit; text-decoration: none; }

/* subtle film grain overlay for texture */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 500;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
  padding: 26px 0;
}

.site-header.scrolled {
  background: rgba(233, 221, 192, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--border);
  padding: 14px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.brand-main {
  font-family: var(--logo-font);
  font-size: 22px;
  letter-spacing: 4px;
  color: var(--cream);
}

.brand-sub {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 4px;
  color: var(--gold);
  margin-top: 4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav a {
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s ease;
}

.nav a:hover { color: var(--gold-light); }

.nav-cta {
  border: 1px solid var(--gold);
  color: var(--gold-light) !important;
  padding: 10px 20px;
  border-radius: 2px;
  transition: background 0.25s ease, color 0.25s ease;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--btn-text) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 1px;
  background: var(--cream);
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: rgba(233, 221, 192, 0.5);
  background-image:
    linear-gradient(160deg, rgba(240,231,205,0.55) 0%, rgba(228,213,175,0.5) 35%, rgba(236,223,190,0.5) 65%, rgba(221,203,159,0.6) 100%),
    url('../assets/images/hero.jpg');
  background-size: cover;
  background-position: center;
  background-blend-mode: normal, overlay;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(233,221,192,0.1) 0%, rgba(210,190,145,0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}

.hero h1 {
  font-family: var(--logo-font);
  font-weight: 500;
  font-size: clamp(64px, 12vw, 140px);
  letter-spacing: 10px;
  color: var(--cream);
  text-shadow: 0 2px 40px rgba(201,166,104,0.15);
}

.hero-sub {
  font-family: var(--sans);
  font-size: clamp(14px, 2vw, 20px);
  letter-spacing: 10px;
  color: var(--gold-light);
  margin-top: 4px;
}

.hero-tagline {
  margin-top: 26px;
  font-size: 17px;
  color: var(--muted);
  font-weight: 300;
}

.hero-actions {
  margin-top: 42px;
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 15px 34px;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-gold {
  background: var(--gold);
  color: var(--btn-text);
  border: 1px solid var(--gold);
}

.btn-gold:hover {
  background: transparent;
  color: var(--gold-light);
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--cream);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 50px;
  background: linear-gradient(var(--gold), transparent);
  overflow: hidden;
}

.scroll-cue span {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold-light);
  animation: scrollDown 2.2s infinite ease-in-out;
}

@keyframes scrollDown {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

/* ---------- Sections ---------- */
.section {
  padding: 130px 0;
  position: relative;
  background: rgba(240, 231, 205, 0.55);
}

.section-dark {
  background: rgba(224, 207, 164, 0.5);
}

.section-eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  text-align: center;
}

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 52px);
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 60px;
  color: var(--cream);
}

/* ---------- Services ---------- */
.service-category {
  margin-bottom: 56px;
}

.service-category:last-of-type {
  margin-bottom: 0;
}

.service-category-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.services-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.services-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.services-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  padding: 44px 34px;
  transition: background 0.3s ease;
}

.service-card:hover {
  background: #e6d7b3;
}

.service-card h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
  flex: 1;
}

.service-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.duration {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}

.price {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--gold-light);
  letter-spacing: 1px;
  white-space: nowrap;
}

.services-note {
  text-align: center;
  margin-top: 28px;
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-item {
  aspect-ratio: 3 / 4;
  background-color: #ddcda3;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.35);
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-text .section-eyebrow,
.about-text .section-title {
  text-align: left;
}

.about-text p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 18px;
  max-width: 46ch;
}

.about-image {
  aspect-ratio: 4 / 5;
  background-color: #ddcda3;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
}

/* ---------- Book / Contact ---------- */
.book-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
}

.book-grid .section-eyebrow,
.book-grid .section-title {
  text-align: left;
}

.book-intro {
  color: var(--muted);
  margin-bottom: 36px;
  font-size: 16px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.contact-link {
  background: var(--card);
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.25s ease;
}

.contact-link:hover {
  background: #e6d7b3;
}

.contact-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-value {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--gold-light);
}

.hours {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 40px;
}

.hours h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 24px;
  color: var(--cream);
}

.hours ul { list-style: none; }

.hours li {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
}

.hours li:last-child { border-bottom: none; }

.hours li span:first-child {
  color: var(--cream);
  letter-spacing: 0.5px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: rgba(216, 199, 154, 0.75);
  padding: 60px 0 40px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer-brand {
  align-items: center;
  margin-bottom: 18px;
}

.footer-brand .brand-main { font-size: 24px; }

.footer-address {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}

.footer-copy {
  font-size: 12px;
  color: #8a7350;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .services-grid,
  .services-grid.cols-4,
  .services-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .about-grid, .book-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image { order: -1; }
}

@media (max-width: 600px) {
  .services-grid,
  .services-grid.cols-4,
  .services-grid.cols-3,
  .services-grid.cols-2 { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 78%;
    max-width: 320px;
    background: rgba(240,231,205,0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    transition: right 0.35s ease;
    border-left: 1px solid var(--border);
  }
  .nav.open { right: 0; }
  .nav-toggle { display: flex; }
  .hero h1 {
    font-size: clamp(44px, 15vw, 90px);
    letter-spacing: 4px;
  }
}
