/* =============================================================
   Lumière Aesthetics - style.css
   "Quiet Luxury" - light, warm, editorial.
   Phase 1: design system + header + scroll-scrub hero.
   ============================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* palette */
  --bg:        #F7F3EE;   /* warm ivory base */
  --bg-2:      #EFE8DF;   /* soft beige panels */
  --stone:     #DED4C7;   /* warm stone divider */
  --text:      #2B2724;   /* soft warm charcoal */
  --text-dim:  #7A726A;
  --accent:    #B8945F;   /* muted champagne gold */
  --accent-2:  #C9AE86;   /* lighter gold for hovers */
  --on-dark:   #F7F3EE;
  --sand:      #E6D9C8;   /* deeper warm sand for layered sections */
  /* warm clay tone (torn separator ghost, ritual icon rings) */
  --pig-clay:  217, 185, 162;
  --grain: url(../assets/images/texture-plaster.png);

  /* type */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7rem;
  --space-2xl: 11rem;

  /* layout */
  --maxw: 1240px;
  --gutter: clamp(1.25rem, 5vw, 4rem);

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip; /* clip, never hidden: the hero relies on position: sticky */
}
h2, h3, .section-intro, .intro__statement { text-wrap: balance; }
p { text-wrap: pretty; }

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
}

/* ---------- Shared helpers ---------- */
.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--space-sm);
}

.hairline {
  width: 56px;
  height: 1px;
  background: var(--accent);
  border: 0;
  margin: var(--space-md) 0;
}

/* One section rhythm for the whole page: equal top and bottom padding. */
.section {
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
}
.section__inner { max-width: var(--maxw); margin: 0 auto; position: relative; z-index: 1; }

/* ---------- Texture + depth (decorative, never behind body copy) ---------- */
/* Warm plaster grain on every light section, so nothing reads as flat white. */
.intro, .services, .experience, .why, .gallery, .testimonials {
  position: relative;
  overflow: clip;
  background-image: var(--grain);
  background-size: 320px 320px;
}
/* Fine topographic arcs in champagne, one corner per section. */
.contours { position: absolute; z-index: 0; pointer-events: none; width: clamp(280px, 42vw, 620px); height: auto; stroke: var(--accent); stroke-width: 1; opacity: .32; }
.contours--why { right: 0; top: 0; }
.contours--tst { right: 0; bottom: 0; }
/* Brand-mark watermark (used once per page, in testimonials). */
.watermark {
  position: absolute; z-index: 0; pointer-events: none;
  right: clamp(-6rem, -4vw, -2rem); top: clamp(1.5rem, 4vw, 4rem);
  width: clamp(200px, 22vw, 340px); aspect-ratio: 1;
  border: 1px solid rgba(184,148,95,.28); border-radius: 50%;
  display: grid; place-items: center;
}
.watermark::before { content: ""; position: absolute; inset: 9%; border: 1px solid rgba(184,148,95,.18); border-radius: 50%; }
.watermark span { font-family: var(--serif); font-size: clamp(7rem, 13vw, 12rem); line-height: 1; color: rgba(184,148,95,.14); }
/* Torn separator: an irregular torn-paper edge, full viewport width. */
.torn { position: absolute; left: 0; width: 100%; height: clamp(34px, 4.4vw, 64px); z-index: 1; pointer-events: none; display: block; }
.torn--top { top: -1px; }
.torn path { fill: var(--bg); }
.torn .torn__ghost { fill: rgba(var(--pig-clay), .55); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--accent);
  padding: 1.05em 2.2em;
  border-radius: 2px;
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.btn:hover, .btn:focus-visible {
  background: var(--accent);
  color: var(--on-dark);
  border-color: var(--accent);
}
.btn--lg { padding: 1.2em 2.8em; font-size: 0.82rem; }
.btn--sm { padding: 0.7em 1.4em; font-size: 0.7rem; }

/* visible focus everywhere */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease);
}
.site-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.site-header.is-scrolled {
  background: rgba(247, 243, 238, 0.88);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--stone);
}

/* header begins transparent over the dark hero -> light text */
.site-header:not(.is-scrolled) { color: var(--on-dark); }
.site-header:not(.is-scrolled) .brand__mark { border-color: rgba(247,243,238,.6); }
.site-header:not(.is-scrolled) .site-nav__link { color: rgba(247,243,238,.92); }
.site-header:not(.is-scrolled) .nav-cta { border-color: rgba(247,243,238,.7); color: var(--on-dark); }
.site-header:not(.is-scrolled) .nav-cta:hover { background: var(--on-dark); color: var(--text); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-right: auto;
}
.brand__mark {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1;
  width: 2.1rem; height: 2.1rem;
  display: grid; place-items: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
}
.brand__word {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.site-nav__list { display: flex; gap: clamp(1.1rem, 2vw, 2.2rem); }
.site-nav__link {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  position: relative;
  padding: 0.4rem 0;
  transition: color .4s var(--ease);
}
.site-nav__link::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--accent);
  transition: width .4s var(--ease);
}
.site-nav__link:hover { color: var(--accent); }
.site-nav__link:hover::after { width: 100%; }

.nav-toggle { display: none; }

/* ---------- Hero (scroll-scrub) ---------- */
/* Tall wrapper creates scroll distance; stage is sticky + full-screen. */
.hero {
  position: relative;
  height: 280vh;            /* scroll length that drives the bloom */
}
.hero__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* soft gradient scrim: keeps text legible across the dark-to-bright bloom */
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(20,16,12,.72) 0%, rgba(20,16,12,.28) 38%, rgba(20,16,12,.10) 60%, rgba(20,16,12,.30) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(4.5rem, 12vh, 9rem);
  color: var(--on-dark);
}
.hero__eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin: 0 0 1.2rem;
}
.hero__headline {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 500;
  max-width: 24ch;
  text-shadow: 0 1px 24px rgba(0,0,0,.25);
}
.hero__sub {
  font-weight: 300;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  max-width: 46ch;
  margin: 1.4rem 0 2.4rem;
  color: rgba(247,243,238,.92);
}
.hero__content .btn {
  color: var(--on-dark);
  border-color: rgba(247,243,238,.75);
}
.hero__content .btn:hover, .hero__content .btn:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-dark);
}

.hero__scrollhint {
  position: absolute;
  z-index: 2;
  left: 50%; bottom: 1.8rem;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  color: rgba(247,243,238,.8);
}
.hero__scrollhint-text {
  font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase;
}
.hero__scrollhint-line {
  width: 1px; height: 42px;
  background: linear-gradient(to bottom, rgba(247,243,238,.7), rgba(247,243,238,0));
  animation: hintpulse 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes hintpulse {
  0%, 100% { transform: scaleY(.4); opacity: .4; }
  50%      { transform: scaleY(1);  opacity: 1; }
}

/* ---------- Section heads (shared) ---------- */
.section-head { max-width: 40rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 500;
}
.section-intro {
  color: var(--text-dim);
  font-size: 1.075rem;
  margin-top: 1.1rem;
  max-width: 38rem;
}

/* ---------- 2. Intro ---------- */
/* The philosophy follows the hero directly, so it sits tighter: half the
   original top padding, matched at the bottom. */
.intro { background: var(--bg); text-align: center; padding-top: clamp(2.5rem, 5vw, 4.5rem); padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.intro__inner { max-width: 50rem; }
.intro__statement {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.6vw, 2.7rem);
  line-height: 1.32;
  letter-spacing: -0.01em;
}
/* "Refined. Discreet. Yours." is set between two hairline champagne rules
   that fade out at their far ends, like a printed spa card. */
.intro__strip {
  position: relative;
  margin: clamp(2.2rem, 4vw, 3.2rem) auto 0;
  padding: 0 1rem;
  max-width: 34rem;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(1rem, 2.4vw, 1.6rem);
}
.intro__strip::before, .intro__strip::after {
  content: ""; flex: 0 1 clamp(2.5rem, 8vw, 5.5rem); height: 1px;
  background: linear-gradient(90deg, rgba(184,148,95,0), rgba(184,148,95,.7));
}
.intro__strip::after { background: linear-gradient(90deg, rgba(184,148,95,.7), rgba(184,148,95,0)); }
@media (max-width: 600px) {
  .intro__strip { padding: 0; gap: .8rem; }
  .intro__signoff { letter-spacing: .2em; font-size: .76rem; }
}
.intro__signoff {
  position: relative;
  margin: 0;
  white-space: nowrap;
  font-size: 0.82rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #8C6B3F;
}

/* ---------- 3. Services: Mosaic ---------- */
.services { background-color: var(--bg-2); }
.section-head--wide { max-width: 56rem; }
.section-head--wide .section-intro { max-width: 52rem; margin-left: auto; margin-right: auto; }
.section-head--center .section-intro { margin-left: auto; margin-right: auto; }
.mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(300px, 25vw, 340px);
  gap: clamp(1rem, 1.6vw, 1.5rem);
}
.tile {
  position: relative;
  display: flex; flex-direction: column;
  background: rgba(247, 243, 238, .92);
  border: 1px solid rgba(184, 148, 95, .24);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(43, 39, 36, .04);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .6s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -18px rgba(86, 62, 36, .28); border-color: rgba(184, 148, 95, .5); }
.tile__ph { flex: 1 1 auto; min-height: 0; overflow: hidden; }
.tile__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover .tile__img { transform: scale(1.05); }
.tile__body {
  position: relative;
  flex: none;
  padding: 2.1rem clamp(1rem, 1.6vw, 1.4rem) 1.3rem;
  text-align: center;
}
.tile__badge {
  position: absolute; top: -23px; left: 50%; transform: translateX(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg);
  border: 1px solid rgba(184, 148, 95, .55);
  box-shadow: 0 0 0 5px rgba(247, 243, 238, .7), 0 6px 16px rgba(86, 62, 36, .14);
  color: var(--accent);
}
.tile__badge svg { width: 22px; height: 22px; }
.tile__name { font-size: 1.28rem; line-height: 1.15; }
.tile__copy { color: var(--text-dim); font-size: .9rem; line-height: 1.55; margin: .45rem auto 0; max-width: 32ch; text-wrap: balance; }
.ritual__copy, .quote__text, .contact__lead, .hero__sub, .why-item__copy { text-wrap: balance; }
.tile__rule { display: block; width: 34px; height: 1px; margin: .8rem auto 0; background: var(--accent); transform: scaleX(0); transition: transform .6s var(--ease); }
.tile:hover .tile__rule { transform: scaleX(1); }
/* lead tile: the signature treatment */
.tile--lead { grid-column: span 2; grid-row: span 2; }
.tile--lead .tile__body { padding: 2.6rem 2rem 1.8rem; }
.tile--lead .tile__badge { width: 58px; height: 58px; top: -29px; background: var(--accent); border-color: var(--accent); color: var(--on-dark); }
.tile--lead .tile__badge svg { width: 26px; height: 26px; }
.tile--lead .tile__name { font-size: clamp(1.6rem, 2.2vw, 2rem); }
.tile--lead .tile__copy { font-size: 1rem; max-width: 40ch; }
.tile__flag {
  position: absolute; top: -4.2rem; left: 50%; transform: translateX(-50%);
  white-space: nowrap;
  font-size: .64rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--on-dark);
  background: rgba(43, 39, 36, .55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(247, 243, 238, .35);
  padding: .55em 1.2em;
  border-radius: 40px;
}
/* wide tiles: photo beside the copy, badge on the vertical seam */
.tile--wide { grid-column: span 2; flex-direction: row; }
.tile--wide .tile__ph { flex: 0 0 48%; }
.tile--wide .tile__body { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 1.4rem 1.6rem 1.4rem 2.4rem; }
.tile--wide .tile__badge { top: 50%; left: 0; transform: translate(-50%, -50%); }
.tile--wide .tile__name { font-size: 1.4rem; }

/* ---------- 4. Experience ---------- */
.experience { background-color: var(--bg); }
.experience__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: stretch;
}
.experience__text { align-self: center; }
.experience__img { height: 100%; min-height: 440px; }
.experience__body p { color: var(--text-dim); margin: 1.1rem 0 0; }
.experience__body p:first-child { color: var(--text); }
.experience__media { position: relative; }
.experience__img {
  width: 100%; object-fit: cover;
}
/* rituals: three small icon notes under the block */
.rituals {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  margin-top: clamp(4rem, 7vw, 5.5rem);
  padding-top: clamp(2rem, 3.5vw, 2.8rem);
  border-top: 1px solid rgba(184, 148, 95, .3);
}
.ritual { text-align: center; }
.ritual__icon {
  width: 52px; height: 52px; margin: 0 auto .9rem;
  display: grid; place-items: center; border-radius: 50%;
  color: var(--accent);
  background: radial-gradient(circle, rgba(var(--pig-clay), .35), rgba(var(--pig-clay), .12) 70%);
  border: 1px solid rgba(184, 148, 95, .35);
}
.ritual__icon svg { width: 24px; height: 24px; }
.ritual__title { font-size: 1.3rem; }
.ritual__copy { color: var(--text-dim); font-size: .94rem; margin: .35rem auto 0; max-width: 28ch; }
.experience__accent {
  position: absolute;
  bottom: -2.2rem; left: -2.2rem;
  width: 42%; max-width: 220px;
  border: 6px solid var(--bg);
  box-shadow: 0 18px 40px rgba(43,39,36,.16);
}
.experience__accent-img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }

/* ---------- 5. Why Lumière ---------- */
.why { background-color: var(--sand); }
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
}
.why-item {
  position: relative;
  text-align: center;
  padding: clamp(1.8rem, 2.6vw, 2.4rem) clamp(1.2rem, 1.8vw, 1.6rem);
  background: linear-gradient(180deg, rgba(250, 247, 242, .78), rgba(247, 243, 238, .5));
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .7);
  outline: 1px solid rgba(184, 148, 95, .2); outline-offset: -8px;
  border-radius: 3px;
  box-shadow: 0 18px 40px -24px rgba(86, 62, 36, .35);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.why-item:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -24px rgba(86, 62, 36, .42); }
.why-item__icon {
  width: 56px; height: 56px; margin: 0 auto 1rem;
  display: grid; place-items: center; border-radius: 50%;
  color: var(--accent); border: 1px solid rgba(184, 148, 95, .5);
  background: rgba(247, 243, 238, .8);
}
.why-item__icon svg { width: 25px; height: 25px; }
.why-item__num {
  display: block;
  font-family: var(--serif);
  font-size: .95rem; color: var(--accent);
  letter-spacing: 0.2em;
}
.why-item__title { font-size: 1.45rem; margin: 0.4rem 0 0.6rem; }
.why-item__copy { color: var(--text-dim); font-size: 0.96rem; margin: 0; }

/* ---------- 6. Gallery ---------- */
.gallery { background-color: var(--bg); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(140px, 22vw, 280px);
  gap: clamp(0.8rem, 1.5vw, 1.4rem);
}
.gallery__tile { margin: 0; overflow: hidden; }
.gallery__tile:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.gallery__tile:nth-child(2) { grid-column: span 5; }
.gallery__tile:nth-child(3) { grid-column: span 5; }
.gallery__tile:nth-child(4) { grid-column: span 12; }
.gallery__img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.gallery__tile:hover .gallery__img { transform: scale(1.06); }

/* ---------- 7. Membership ---------- */
.membership {
  position: relative;
  overflow: hidden;
  text-align: center;
  color: var(--on-dark);
  background: #2B2724;
}
/* Warm clay treatment room: open wall on the left, bed on the right. Anchored
   a little right of center so the bed stays in frame when narrow screens crop
   the sides. */
.membership__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: 62% center;
  z-index: 0;
}
/* Warm charcoal wash, deepest behind the centered copy, so the ivory type
   holds contrast over the brightest part of the wall. */
.membership__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 70% 85% at 50% 50%, rgba(28,22,18,.62) 0%, rgba(28,22,18,.38) 70%, rgba(28,22,18,.22) 100%),
    linear-gradient(to bottom, rgba(28,22,18,.18), rgba(28,22,18,.32));
}
.membership__inner { position: relative; z-index: 2; max-width: 44rem; }
.membership__title { font-size: clamp(2.2rem, 5vw, 3.8rem); color: var(--on-dark); text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.membership .eyebrow { color: #E8D6B6; text-shadow: 0 1px 10px rgba(0,0,0,.45); }
@media (max-width: 700px) {
  .membership__scrim {
    background: linear-gradient(to bottom, rgba(28,22,18,.66), rgba(28,22,18,.5));
  }
}
.membership__body {
  color: rgba(247,243,238,.9);
  font-size: 1.1rem;
  margin: 1.3rem auto 2.2rem;
  max-width: 36rem;
  text-shadow: 0 1px 12px rgba(0,0,0,.35);
}
.membership .btn { color: var(--on-dark); border-color: var(--accent-2); background: rgba(28,22,18,.25); }
.membership .btn:hover, .membership .btn:focus-visible { background: var(--accent); border-color: var(--accent); color: var(--on-dark); }

/* ---------- 8. Testimonials ---------- */
.testimonials { background-color: var(--bg-2); }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.6rem);
}
.quote {
  margin: 0;
  position: relative;
  text-align: center;
  background: rgba(250, 247, 242, .82);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(184, 148, 95, .26);
  box-shadow: 0 20px 44px -28px rgba(86, 62, 36, .4);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  display: flex; flex-direction: column; gap: 1.6rem;
}
.quote__text {
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.42;
  margin: 0;
  position: relative;
}
.quote__text::before {
  content: "\201C";
  font-family: var(--serif);
  color: var(--accent);
  font-size: 2.6rem; line-height: 0;
  position: relative; top: 0.5rem; margin-right: 0.1rem;
}
.quote__by { display: flex; flex-direction: column; align-items: center; margin-top: auto; padding-top: 1.1rem; border-top: 1px solid rgba(184, 148, 95, .22); }
.quote__name { font-size: 0.92rem; letter-spacing: 0.04em; }
.quote__detail { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-top: 0.3rem; }

/* ---------- 9. Contact: full-bleed spa photo, glass form ---------- */
.contact {
  position: relative;
  overflow: clip;
  background: #3A2F27;
  color: var(--on-dark);
}
/* The ivory spa photo is multiplied with warm caramel so it glows gold
   instead of blinding white, then a left-weighted umber scrim carries the copy. */
.contact__bg {
  position: absolute; inset: 0; z-index: 0;
  background-color: #C9A27A;
  background-blend-mode: multiply;
  background-size: cover; background-position: 70% center;
}
.contact__scrim {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(90deg, rgba(36, 25, 17, .78) 0%, rgba(36, 25, 17, .6) 36%, rgba(36, 25, 17, .22) 66%, rgba(36, 25, 17, .08) 100%),
    linear-gradient(180deg, rgba(36, 25, 17, .12), rgba(36, 25, 17, .28));
}
.contact__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.contact .eyebrow { color: #E8D6B6; }
.contact .section-title { color: var(--on-dark); text-shadow: 0 2px 24px rgba(0,0,0,.3); }
.contact__lead { color: rgba(247,243,238,.88); margin: 1.2rem 0 2rem; max-width: 30rem; }
.contact__nap { font-style: normal; display: flex; flex-direction: column; gap: 0.45rem; color: rgba(247,243,238,.78); font-size: 0.95rem; }
.glass {
  background: linear-gradient(160deg, rgba(58, 42, 30, .42), rgba(36, 25, 17, .3));
  backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid rgba(247, 243, 238, .3);
  border-radius: 4px;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .22);
  padding: clamp(1.6rem, 3.2vw, 2.8rem);
}

.contact-form { display: flex; flex-direction: column; gap: 1.3rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field--split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.field--split > div { display: flex; flex-direction: column; gap: 0.5rem; }
.contact-form label {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(247,243,238,.8);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--sans);
  font-size: 1rem; font-weight: 300;
  color: var(--on-dark);
  background: rgba(28, 22, 18, .28);
  border: 1px solid rgba(247, 243, 238, .28);
  border-radius: 2px;
  padding: 0.85em 1em;
  transition: border-color .4s var(--ease);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(247,243,238,.5); }
.contact-form select option { color: var(--text); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--accent-2); background: rgba(28, 22, 18, .4); }
.contact-form textarea { resize: vertical; }
.contact-form__submit { align-self: stretch; justify-content: center; margin-top: 0.4rem; color: var(--text); background: var(--on-dark); border-color: var(--on-dark); }
.contact-form__submit:hover, .contact-form__submit:focus-visible { background: var(--accent); border-color: var(--accent); color: var(--on-dark); }

.contact-success { text-align: center; padding: clamp(1rem, 3vw, 2rem) 0; }
.contact-success__title { font-size: 2rem; color: #E8D6B6; }
.contact-success__body { color: rgba(247,243,238,.85); margin-top: 0.8rem; }

/* ---------- 10. Footer ---------- */
.site-footer { background: var(--text); color: var(--bg); padding: clamp(3.5rem, 7vw, 6rem) var(--gutter) 2.5rem; }
.footer__inner { max-width: var(--maxw); margin: 0 auto; }
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.footer__brand .brand__word { font-size: 1.8rem; color: var(--bg); }
.footer__tagline { color: var(--accent-2); margin-top: 0.6rem; font-size: 0.95rem; }
.footer__nav ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__nav a { color: rgba(247,243,238,.78); font-size: 0.85rem; letter-spacing: 0.08em; transition: color .3s var(--ease); }
.footer__nav a:hover { color: var(--accent-2); }
.footer__nap { font-style: normal; display: flex; flex-direction: column; gap: 0.45rem; color: rgba(247,243,238,.7); font-size: 0.88rem; }
.footer__nap-name { color: var(--bg); font-size: 1rem; }
/* Bottom row: fictional-company line left, Summit Oak credit + mark right. */
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: .9rem 2rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.8rem; border-top: 1px solid rgba(247,243,238,.14); }
.footer__fictional { margin: 0; color: rgba(247,243,238,.6); font-size: 0.78rem; letter-spacing: 0.08em; white-space: nowrap; }
@media (max-width: 900px) {
  .footer__bottom { flex-direction: column; justify-content: center; text-align: center; }
  .footer__fictional { white-space: normal; text-wrap: balance; font-size: .74rem; letter-spacing: .03em; }
}
.footer__credit { color: var(--accent-2); font-size: 0.78rem; letter-spacing: 0.08em; white-space: nowrap; display: inline-flex; align-items: center; gap: .5rem; }
.footer-credit-mark { height: 20px; width: auto; flex: none; }
/* Summit Oak credit signature */
.footer__credit { text-decoration: none; gap: 8px; }
.footer__credit .soak-mark {
  display: inline-block; width: 20px; height: 20px; flex: none;
  background-color: var(--accent);
  -webkit-mask: url(../assets/images/summitoak-mark.png) center / contain no-repeat;
          mask: url(../assets/images/summitoak-mark.png) center / contain no-repeat;
  opacity: .9; transition: opacity .2s ease;
}
.footer__credit:hover .soak-mark { opacity: 1; }
.footer__credit:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .tile--lead { grid-row: auto; }
  .tile--lead .tile__ph { aspect-ratio: 16 / 9; flex: none; }
  .tile--sm .tile__ph { aspect-ratio: 4 / 3; flex: none; }
  .tile--wide { min-height: 280px; }
}
@media (max-width: 1180px) {
  .why__grid { grid-template-columns: repeat(2, 1fr); max-width: 44rem; margin: 0 auto; }
  .testimonials__grid { grid-template-columns: 1fr; max-width: 40rem; margin: 0 auto; }
}
@media (max-width: 980px) {
  .experience__img { min-height: 0; aspect-ratio: 4 / 3; height: auto; }
  .contact__inner { align-items: start; }
  .experience__inner { grid-template-columns: 1fr; }
  .experience__media { order: -1; max-width: 30rem; }
  .contact__inner { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .mosaic { grid-template-columns: 1fr; }
  .tile--lead, .tile--wide { grid-column: auto; }
  .tile--wide { flex-direction: column; min-height: 0; }
  .tile--wide .tile__ph { flex: none; aspect-ratio: 4 / 3; }
  .tile--wide .tile__body { padding: 2.1rem 1.2rem 1.3rem; }
  .tile--wide .tile__badge { top: -23px; left: 50%; transform: translateX(-50%); }
  .tile--lead .tile__ph { aspect-ratio: 4 / 3; }
  .tile__flag { top: -3.6rem; }
  .tile--lead .tile__name { font-size: 1.45rem; }
  .contact-form__submit { padding-left: 1em; padding-right: 1em; letter-spacing: .14em; }
  .rituals { grid-template-columns: 1fr; gap: 2rem; }
  .contact__scrim { background: linear-gradient(180deg, rgba(36, 25, 17, .74), rgba(36, 25, 17, .5) 45%, rgba(36, 25, 17, .62)); }
  .why__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: clamp(200px, 56vw, 320px); }
  .gallery__tile:nth-child(n) { grid-column: 1 / -1; grid-row: auto; }
  .field--split { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .experience__accent { left: 0; bottom: -1.4rem; width: 38%; }
}

/* ---------- Reveal base (used in Phase 2; safe defaults now) ---------- */
.reveal { opacity: 0; transform: translateY(24px); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero { height: 100vh; }            /* no scroll-scrub distance needed */
  .hero__stage { position: relative; }
  .hero__scrollhint { display: none; }
  .hero__scrollhint-line { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Mobile nav ---------- */
.site-nav__link, .nav-cta { white-space: nowrap; }
@media (max-width: 1100px) {
  .nav-cta { display: none; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px;
    background: none; border: 0; padding: 8px; margin-left: auto;
  }
  .nav-toggle span {
    width: 24px; height: 1.5px; background: currentColor;
    transition: transform .4s var(--ease), opacity .3s var(--ease);
  }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: rgba(247,243,238,.97);
    backdrop-filter: blur(12px);
    transform: translateY(-12px);
    opacity: 0; pointer-events: none;
    transition: opacity .4s var(--ease), transform .4s var(--ease);
    box-shadow: 0 12px 30px rgba(43,39,36,.08);
  }
  .site-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .site-nav__list { flex-direction: column; padding: 0; gap: 0; }
  /* Full-width block links so the divider spans the whole row (the <a> is inline
     by default, which made the border render as a short line under each label). */
  .site-nav__link {
    display: block; width: 100%; text-align: center;
    color: var(--text) !important;
    padding: 1.1rem var(--gutter);
    border-bottom: 1px solid var(--stone);
  }
  .site-nav__list li:last-child .site-nav__link { border-bottom: none; }
  .site-nav__link::after { display: none; } /* no hover-underline lines in the stacked menu */
  .nav-toggle.is-open span:first-child { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.is-open span:last-child  { transform: translateY(-6.5px) rotate(-45deg); }
}

/* Mobile: lighten the hero pin so first-load scroll stays smooth (shorter scrub travel, cheaper pin re-layout). */
@media (max-width: 760px) {
  .hero { height: 180vh; }
}

/* Mobile: single-column footer with the contact/address pulled up right under the tagline
   (nav last), so there's no big empty gap and the footer is shorter. */
@media (max-width: 599px) {
  .site-footer { padding-top: clamp(2.5rem, 8vw, 3.5rem); }
  .footer__top { grid-template-columns: 1fr; gap: 1.1rem; }
  .footer__brand { order: 0; }
  .footer__nap { order: 1; }
  .footer__nav { order: 2; }
}
