/* Maison Alinèa · "Modern Medical Maison" palette
   Porcelain #F2EEE7 · Stone #B7AD9E · Obsidian Sage #252D2B · Espresso #40302C · Champagne #B29A70
   Rhythm: dark, low-key hero + chapters → light menu → dark statement → light founder/visit → espresso footer */
:root {
  --porcelain: #F2EEE7;
  --ivory: #FAF7F0;
  --stone: #B7AD9E;
  --sage: #252D2B;
  --sage-deep: #1B2120;      /* sage pushed toward black for the backlit falloff */
  --espresso: #40302C;
  --champagne: #B29A70;
  --champagne-light: #D9C7A0;
  --champagne-deep: #8E7A55; /* passes 4.5:1 on porcelain for small text */
  --ink: #40302C;
  --muted: #6B5D55;
  --line: rgba(64, 48, 44, .14);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, sans-serif;
  --script: "Pinyon Script", cursive;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-soft: cubic-bezier(.33, 0, .15, 1);
  --gutter: clamp(16px, 5vw, 72px);
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
em { font-style: italic; color: var(--champagne-deep); }
:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; border-radius: 4px; }

/* ---------- type ---------- */
.eyebrow {
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--champagne-deep); font-weight: 500; margin: 0 0 20px;
}
.h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 5vw, 64px); line-height: 1.05; margin: 0; color: var(--espresso); }
.sub { max-width: 560px; color: var(--muted); margin: 18px 0 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 28px; border-radius: 999px;
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.btn-solid { background: var(--sage); color: var(--porcelain); border: 1px solid var(--sage); }
.btn-solid:hover { background: var(--espresso); border-color: var(--espresso); }
.btn-light { background: var(--porcelain); color: var(--sage); border: 1px solid var(--porcelain); }
.btn-light:hover { background: var(--champagne-light); border-color: var(--champagne-light); }
.btn-ghost-light { border: 1px solid rgba(242, 238, 231, .35); color: var(--porcelain); }
.btn-ghost-light:hover { border-color: var(--porcelain); }
.btn-pill { min-height: 40px; padding: 0 20px; font-size: 11px; background: var(--sage); color: var(--porcelain); }
.btn-pill:hover { background: var(--espresso); }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

.preview-banner {
  position: fixed; inset: auto 0 0 0; z-index: 60;
  background: var(--espresso); color: var(--porcelain); font-size: 13px; text-align: center; padding: 10px 16px;
}

/* ---------- nav: light text over the dark hero, glass capsule once past it ---------- */
.nav {
  /* full-width so the house crest is pinned to the page's top-left corner on every screen */
  position: fixed; z-index: 50; top: 14px; left: 14px; right: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 6px 10px 6px 6px; border-radius: 24px; border: 1px solid transparent;
  transition: background .6s var(--ease), border-color .6s var(--ease), width .8s var(--ease), box-shadow .6s var(--ease), color .6s var(--ease);
  color: var(--espresso);
}
.nav.on-dark { color: var(--porcelain); }
.nav.on-dark .btn-pill { background: var(--porcelain); color: var(--sage); }
@media (max-width: 860px) { .nav.on-dark .btn-pill { background: linear-gradient(135deg, #F6F0E4, #DCCBA6); color: var(--espresso); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55); } }
.nav.scrolled {
  background: rgba(250, 247, 240, .74);
  -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
  border-color: var(--line); box-shadow: 0 12px 40px -18px rgba(37, 45, 43, .35);
}
.nav.scrolled.on-dark { background: rgba(27, 33, 32, .55); border-color: rgba(242, 238, 231, .12); }
.nav-brand { text-decoration: none; display: flex; align-items: center; gap: 14px; }
/* ⛔ OWNER RULE: the house illustration always sits in the top-left corner.
   It lives on its own porcelain plate so it reads on the dark hero and the light pages alike. */
.nav-house { display: block; flex: 0 0 auto; height: 66px; transition: height .6s var(--ease); }
/* same treatment as the founder figure in the hero: cut out, a fine light rim, a deep soft
   shadow, and the same rise-in on load */
.nav-house img {
  height: 100%; width: auto;
  filter: drop-shadow(0 0 1px rgba(242, 238, 231, .45)) drop-shadow(0 10px 18px rgba(0, 0, 0, .45));
  opacity: 0; transform: translateY(14px);
  animation: figureIn 1.6s var(--ease) .3s forwards;
}
.nav:not(.on-dark) .nav-house img { filter: drop-shadow(0 6px 12px rgba(64, 48, 44, .22)); }
.nav.scrolled .nav-house { height: 50px; }
.nav-word { font-family: var(--serif); font-size: 24px; font-weight: 400; letter-spacing: .02em; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; position: relative; padding: 6px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--champagne);
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 860px) { .nav-links { display: none; } .nav-word { font-size: 21px; } }
@media (max-width: 420px) { .nav-word { display: none; } .nav-house { height: 52px; } }

/* ---------- side progress rail (from the reference's left indicator) ---------- */
.rail {
  position: fixed; z-index: 40; left: 28px; top: 50%; transform: translateY(-50%);
  list-style: none; margin: 0; padding: 0; display: grid; gap: 12px;
}
.rail li { width: 10px; height: 1px; background: var(--champagne); opacity: .45; transition: width .6s var(--ease), opacity .6s var(--ease); }
.rail li.on { width: 28px; opacity: 1; }
@media (max-width: 1100px) { .rail { display: none; } }

/* ---------- vertical hairline grid (from the reference) ---------- */
.grid-lines { position: absolute; inset: 0; display: flex; justify-content: space-evenly; pointer-events: none; z-index: 0; }
.grid-lines i { width: 1px; height: 100%; background: linear-gradient(180deg, transparent, rgba(178, 154, 112, .13) 20%, rgba(178, 154, 112, .13) 80%, transparent); transform-origin: top; }
.hero .grid-lines i { transform: scaleY(0); animation: growY 1.8s var(--ease-soft) forwards; }
.hero .grid-lines i:nth-child(2) { animation-delay: .1s; } .hero .grid-lines i:nth-child(3) { animation-delay: .2s; }
.hero .grid-lines i:nth-child(4) { animation-delay: .3s; } .hero .grid-lines i:nth-child(5) { animation-delay: .4s; }
@keyframes growY { to { transform: scaleY(1); } }

/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: max(100svh, 720px);
  background: radial-gradient(ellipse 60% 70% at 68% 46%, #34403C 0%, var(--sage) 45%, var(--sage-deep) 100%);
  color: var(--porcelain);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 280px;
  align-items: center;
  padding: 120px var(--gutter) 80px;
}
.hero em { color: var(--champagne-light); }
.hero .eyebrow { color: var(--champagne); }
.hero-glow {
  position: absolute; z-index: 0; width: 70vmin; height: 70vmin; left: 58%; top: 48%;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 199, 160, .22), rgba(178, 154, 112, .06) 45%, transparent 70%);
  opacity: 0; animation: fadeIn 2.4s var(--ease) .4s forwards;
}
.hero-stage {
  position: absolute; z-index: 1; left: 58%; bottom: 0; transform: translateX(-50%);
  width: min(56vmin, 600px); height: min(92svh, 880px);
  display: flex; justify-content: center; align-items: flex-end;
  will-change: transform;
}
.halo { position: absolute; width: 100%; top: 4%; left: 0; overflow: visible; }
.halo-ring { stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawRing 2.6s var(--ease-soft) .5s forwards; transform-origin: center; }
@keyframes drawRing { to { stroke-dashoffset: 0; } }
.hero-stage { perspective: 1400px; perspective-origin: 50% 40%; }
.hero-figure {
  position: relative; height: 94%; width: auto; max-width: none;
  /* --lx/--ly (set by motion.js from the pointer) swing the rim light and cast shadow, so she reads as lit in space */
  --lx: 0; --ly: 0;
  filter:
    drop-shadow(calc(var(--lx) * -3px) 0 1px rgba(242, 238, 231, .45))
    drop-shadow(calc(var(--lx) * -14px) calc(var(--ly) * -6px) 18px rgba(217, 199, 160, .16))
    drop-shadow(calc(var(--lx) * 36px) calc(44px + var(--ly) * 16px) 60px rgba(0, 0, 0, .55));
  transform-origin: 50% 85%;
  transform-style: preserve-3d; will-change: transform, translate;
  opacity: 0; translate: 22vw 24px; scale: .96;
  animation: heroSlide 1.9s cubic-bezier(.16, .84, .24, 1) .55s forwards;
}
/* slides in from the right and settles into the halo */
@keyframes heroSlide {
  0% { opacity: 0; translate: 22vw 24px; scale: .96; }
  35% { opacity: 1; }
  100% { opacity: 1; translate: 0 0; scale: 1; }
}
@keyframes figureIn { to { opacity: 1; transform: none; } }
@keyframes fadeIn { to { opacity: 1; } }
.hero-copy { position: relative; z-index: 2; grid-column: 1 / span 2; }
.display {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(50px, 7.4vw, 124px); line-height: .94; letter-spacing: -.015em;
  margin: 0 0 40px; color: var(--porcelain);
  text-shadow: 0 2px 30px rgba(27, 33, 32, .55);  /* keeps type legible where it crosses the figure */
}
.display .line { display: block; overflow: hidden; padding: 0 .12em .24em 0; margin-bottom: -.17em; } /* room for g/y descenders + italic overhang inside the reveal mask */
.display .line > span { display: inline-block; transform: translateY(110%); animation: rise 1.25s var(--ease) forwards; }
.display .line:nth-child(1) > span { animation-delay: .2s; }
.display .line:nth-child(2) > span { animation-delay: .32s; }
.display .line:nth-child(3) > span { animation-delay: .44s; }
.display .line:nth-child(4) > span { animation-delay: .56s; }
.reveal-line { overflow: hidden; }
.reveal-line > span { display: inline-block; transform: translateY(110%); animation: rise 1s var(--ease) .05s forwards; }
@keyframes rise { to { transform: translateY(0); } }
.fade-up { opacity: 0; transform: translateY(18px); animation: fadeUp 1.1s var(--ease) var(--d, 0s) forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-spec {
  position: relative; z-index: 2; grid-column: 3; margin: 0; align-self: end;
  display: grid; gap: 0; padding: 30px 28px 26px; counter-reset: spec;
  background: linear-gradient(165deg, rgba(242, 238, 231, .075), rgba(242, 238, 231, .015) 60%);
  border: 1px solid rgba(178, 154, 112, .26);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(242, 238, 231, .08);
}
/* champagne corner brackets */
.hero-spec::before, .hero-spec::after {
  content: ""; position: absolute; width: 22px; height: 22px; border: 0 solid var(--champagne-light); pointer-events: none;
}
.hero-spec::before { top: -1px; left: -1px; border-top-width: 1.5px; border-left-width: 1.5px; }
.hero-spec::after { bottom: -1px; right: -1px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.hero-spec div { position: relative; counter-increment: spec; padding: 18px 0 20px; }
.hero-spec div:first-child { padding-top: 4px; }
.hero-spec div:last-child { padding-bottom: 2px; }
.hero-spec div + div::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, var(--champagne), rgba(217, 199, 160, .35) 60%, transparent);
  transform: scaleX(0); transform-origin: left; animation: growX 1.2s var(--ease) forwards;
}
.hero-spec div:nth-child(2)::before { animation-delay: 1.7s; }
.hero-spec div:nth-child(3)::before { animation-delay: 1.9s; }
@keyframes growX { to { transform: scaleX(1); } }
.hero-spec div::after {
  content: counter(spec, decimal-leading-zero); position: absolute; right: 0; top: 18px;
  font-family: var(--serif); font-style: italic; font-size: 15px; color: rgba(217, 199, 160, .55);
}
.hero-spec div:first-child::after { top: 4px; }
.hero-spec dt { font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--champagne); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.hero-spec dt::before { content: ""; width: 5px; height: 5px; transform: rotate(45deg); background: var(--champagne-light); box-shadow: 0 0 8px rgba(217, 199, 160, .8); flex: none; }
.hero-spec dd { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 25px; line-height: 1.18; color: var(--porcelain); letter-spacing: .005em; }
.hero-spec dd span { display: inline-block; margin-top: 6px; font-family: var(--sans); font-size: 11.5px; letter-spacing: .22em; color: var(--champagne-light); }

.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 26px; width: 1px; height: 48px; background: rgba(242, 238, 231, .18); overflow: hidden; }
.scroll-cue span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--champagne-light); animation: cue 2.4s var(--ease-soft) 2s infinite; }
@keyframes cue { to { top: 100%; } }

@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; align-content: end; padding-top: 0; min-height: 100svh; }
  .hero-stage { left: 50%; width: min(80vw, 480px); height: 72svh; top: 70px; bottom: auto; }
  /* the figure dissolves into the sage below the waist so the headline sits on clean ground */
  .hero-figure { -webkit-mask-image: linear-gradient(180deg, #000 38%, transparent 66%); mask-image: linear-gradient(180deg, #000 38%, transparent 66%); }
  .hero-glow { left: 50%; top: 38%; }
  .hero-copy { grid-column: 1; padding-top: 58svh; }   /* owner 2026-11-06: back to the original position */
  /* phones: quieter background, gilded actions */
  .hero .grid-lines { opacity: .45; }
  .hero .eyebrow { display: flex; align-items: center; gap: 14px; }
  .hero .eyebrow::before { content: ""; width: 28px; height: 1px; flex: none; background: linear-gradient(90deg, transparent, var(--champagne)); }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; max-width: 420px; margin-bottom: 36px; }
  .hero-actions .btn { min-height: 54px; letter-spacing: .2em; }
  .hero-actions .btn-light {
    background: linear-gradient(135deg, #F6F0E4 0%, #E9DCC0 55%, #D6C29A 100%);
    color: var(--espresso); border: 1px solid rgba(255, 246, 226, .7);
    box-shadow: 0 14px 34px -14px rgba(217, 199, 160, .55), inset 0 1px 0 rgba(255, 255, 255, .6);
  }
  .hero-actions .btn-ghost-light {
    border-color: rgba(217, 199, 160, .5); color: var(--champagne-light);
    background: rgba(27, 33, 32, .25); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  }
  .hero-spec { display: none; }
  .scroll-cue { display: none; }
}

/* ---------- PHILOSOPHY · sticky chapters ---------- */
.chapters { position: relative; height: 300vh; background: var(--sage-deep); color: var(--porcelain); }
.chapters-sticky {
  position: sticky; top: 0; height: 100svh; z-index: 1;
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 6vw, 96px);
}
.chapters .eyebrow { color: var(--champagne); }
.chapters-visual { position: relative; aspect-ratio: 1; width: min(100%, 460px); justify-self: center; display: grid; place-items: center; }
.chapter-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.chapter-arc { stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 0)); filter: drop-shadow(0 0 6px rgba(217, 199, 160, .6)); }
.numerals { position: relative; width: 100%; height: 100%; display: grid; place-items: center; }
.numerals span {
  grid-area: 1 / 1; font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(120px, 16vw, 220px); line-height: 1; color: var(--champagne-light);
  opacity: 0; transform: translateY(24px) scale(.96); filter: blur(8px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
}
.numerals span.on { opacity: 1; transform: none; filter: none; }
.chapters-text { position: relative; display: grid; }
.chapters-text .eyebrow { grid-row: 1; }
.chapter { grid-area: 2 / 1; opacity: 0; transform: translateY(26px); pointer-events: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.chapter.on { opacity: 1; transform: none; pointer-events: auto; }
.chapter-title { font-family: var(--serif); font-weight: 300; font-size: clamp(54px, 7vw, 104px); line-height: 1; margin: 0 0 22px; }
.chapter p { color: var(--stone); max-width: 440px; margin: 0 0 32px; font-size: 18px; }
.spec { margin: 0; display: grid; gap: 0; max-width: 440px; }
.spec div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(242, 238, 231, .12); }
.spec dt { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--champagne); padding-top: 4px; }
.spec dd { margin: 0; font-family: var(--serif); font-size: 21px; }
.chapter-dots { grid-row: 3; display: flex; gap: 10px; margin-top: 36px; }
.chapter-dots i { width: 22px; height: 2px; background: rgba(242, 238, 231, .2); transition: background .6s var(--ease), width .6s var(--ease); }
.chapter-dots i.on { background: var(--champagne); width: 44px; }

/* phones + reduced motion: chapters simply stack */
@media (max-width: 820px) {
  .chapters { height: auto; }
  .chapters-sticky { position: relative; height: auto; grid-template-columns: 1fr; padding-top: 96px; padding-bottom: 96px; }
  .chapters-visual { display: none; }
  .chapter { grid-area: auto; opacity: 1; transform: none; pointer-events: auto; margin-bottom: 56px; }
  .chapter-dots { display: none; }
}

/* ---------- sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 12vw, 160px) var(--gutter); }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- menu ---------- */
.menu-tabs[hidden] { display: none; }
/* three houses of care: tall photo columns that drop you into their live menu */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.pillar {
  position: relative; display: block; padding: 0; border: 0; margin: 0; cursor: pointer; text-align: left;
  aspect-ratio: 4 / 5; overflow: hidden; background: var(--sage); color: var(--porcelain); font: inherit;
  box-shadow: 0 30px 60px -34px rgba(37, 45, 43, .55);
  transition: transform .9s var(--ease), translate .9s var(--ease), box-shadow .9s var(--ease), opacity .6s var(--ease), filter .6s var(--ease);
}
.pillar.reveal { transform: translateY(40px); }
.pillar.reveal.in { transform: none; }
.pillar-media { position: absolute; inset: 0; }
.pillar-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.6s var(--ease), filter 1s var(--ease); filter: saturate(.85) contrast(1.02); }
.pillar-media::after {   /* sage veil so the brochure photos sit inside the brand palette */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(27, 33, 32, .15) 0%, rgba(27, 33, 32, 0) 30%, rgba(27, 33, 32, .55) 62%, rgba(27, 33, 32, .94) 100%);
}
.pillar::after {   /* champagne frame that draws in on hover / when chosen */
  content: ""; position: absolute; inset: 12px; border: 1px solid rgba(217, 199, 160, .5); pointer-events: none;
  transition: border-color .7s var(--ease), inset .9s var(--ease);
}
.pillar-num { position: absolute; top: 28px; left: 30px; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--champagne-light); letter-spacing: .04em; }
.pillar-body { position: absolute; left: 28px; right: 28px; bottom: 26px; display: block; text-shadow: 0 1px 18px rgba(27, 33, 32, .7); }
.pillar-title { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.02; color: var(--porcelain); }
.pillar-title em { display: block; color: var(--champagne-light); }
.pillar-line { display: block; margin-top: 12px; font-size: 14px; line-height: 1.5; color: rgba(242, 238, 231, .78); max-width: 30ch; }
.pillar-go { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(217, 199, 160, .35); }
.pillar-count { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--champagne-light); }
.pillar-cta { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--porcelain); }
.pillar-cta::after {   /* the "drop in" arrow */
  content: ""; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(242, 238, 231, .5);
  background: no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v9M2 6.5 6 10.5 10 6.5' fill='none' stroke='%23F2EEE7' stroke-width='1.2'/%3E%3C/svg%3E");
  transition: transform .6s var(--ease), background-color .4s, border-color .4s;
}
.pillar:hover, .pillar:focus-visible { translate: 0 -8px; box-shadow: 0 46px 80px -36px rgba(37, 45, 43, .7); outline: none; }
.pillar:hover .pillar-media img, .pillar:focus-visible .pillar-media img, .pillar.active .pillar-media img { transform: scale(1.1); filter: saturate(1) contrast(1.04); }
.pillar:hover::after, .pillar:focus-visible::after, .pillar.active::after { border-color: rgba(217, 199, 160, .95); inset: 9px; }
.pillar:hover .pillar-cta::after { transform: translateY(4px); background-color: rgba(178, 154, 112, .45); border-color: var(--champagne-light); }
.pillars.has-active .pillar:not(.active) { opacity: .88; filter: saturate(.8) brightness(.94); }
.pillars.has-active .pillar:not(.active):hover { opacity: 1; filter: none; }
.pillar.active .pillar-cta { font-size: 0; }
.pillar.active .pillar-cta::after { transform: rotate(180deg); background-color: rgba(178, 154, 112, .55); font-size: 11px; }

/* the menu drops open beneath the chosen column */
.menu-drop { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .9s var(--ease); position: relative; }
.menu-drop.open { grid-template-rows: 1fr; }
.menu-drop-inner { overflow: hidden; min-height: 0; }
.menu-drop-inner > * { opacity: 0; transform: translateY(-14px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.menu-drop.open .menu-drop-inner > * { opacity: 1; transform: none; transition-delay: .25s; }
.menu-drop::before {   /* pointer from the chosen column into its menu */
  content: ""; position: absolute; top: 22px; left: 16.66%; width: 1px; height: 0; background: linear-gradient(var(--champagne), transparent);
  transition: height .8s var(--ease) .1s, left .6s var(--ease);
}
.menu-drop.open::before { height: 40px; }
.menu-drop[data-pillar="wellness"]::before { left: 50%; }
.menu-drop[data-pillar="medical"]::before { left: 83.33%; }
.menu-drop-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 76px 0 26px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.menu-drop-title { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 4vw, 52px); color: var(--espresso); }
.menu-drop-close { background: none; border: 0; cursor: pointer; font: inherit; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); padding: 8px 0; }
.menu-drop-close:hover { color: var(--espresso); }
@media (max-width: 820px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { aspect-ratio: 5 / 4; }
  .pillar-media img { object-position: 50% 25%; }
  .pillar-media::after { background: linear-gradient(180deg, rgba(27, 33, 32, .35) 0%, rgba(27, 33, 32, .6) 35%, rgba(27, 33, 32, .92) 100%); }
  .menu-drop::before { display: none; }
  .menu-drop-head { padding-top: 40px; }
}
.menu-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.menu-tab {
  font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  padding: 11px 20px; border-radius: 999px; border: 1px solid var(--stone);
  background: transparent; color: var(--espresso); cursor: pointer;
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.menu-tab:hover { border-color: var(--espresso); }
.menu-tab[aria-selected="true"] { background: var(--espresso); border-color: var(--espresso); color: var(--porcelain); }
.menu-panel { transition: opacity .45s var(--ease), transform .45s var(--ease); }
.menu-panel.swap { opacity: 0; transform: translateY(10px); }
.menu-state { color: var(--muted); font-style: italic; font-family: var(--serif); font-size: 22px; }
.menu-intro { font-family: var(--serif); font-size: 24px; color: var(--muted); max-width: 680px; margin: 0 0 28px; }
.menu-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.menu-item {
  position: relative; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 28px;
  padding: 24px 0; border-bottom: 1px solid var(--line);
}
.menu-item::before {   /* champagne hairline sweeps in under the hovered row */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--champagne);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}
.menu-item:hover::before { transform: scaleX(1); }
.menu-name { font-family: var(--serif); font-size: 26px; line-height: 1.2; color: var(--espresso); transition: transform .6s var(--ease); }
.menu-item:hover .menu-name { transform: translateX(8px); }
.menu-meta { display: block; font-family: var(--sans); font-size: 13px; letter-spacing: .06em; color: var(--muted); margin-top: 4px; }
.menu-price { font-family: var(--serif); font-size: 28px; color: var(--espresso); white-space: nowrap; }
.menu-price.tbd { font-size: 17px; font-style: italic; color: var(--muted); }
.menu-book {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; text-decoration: none;
  color: var(--espresso); border-bottom: 1px solid var(--champagne); padding-bottom: 3px; white-space: nowrap;
}
.menu-book:hover { color: var(--champagne-deep); }
@media (max-width: 640px) {
  .menu-item { grid-template-columns: 1fr auto; gap: 8px 16px; }
  .menu-book { grid-column: 1 / -1; justify-self: start; }
  .menu-name { font-size: 22px; }
  .menu-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)) 32px; padding: 0 var(--gutter) 4px;
    scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .menu-tabs::-webkit-scrollbar { display: none; }
  .menu-tab { flex: 0 0 auto; }
}

/* ---------- statement: letters fill in with scroll ---------- */
.statement { position: relative; overflow: hidden; background: var(--sage); color: var(--porcelain); padding: clamp(110px, 16vw, 220px) var(--gutter); text-align: center; }
.statement-text { position: relative; z-index: 1; margin: 0 auto; max-width: 1100px; font-family: var(--serif); font-weight: 300; font-size: clamp(52px, 9vw, 150px); line-height: 1; }
.statement-text em { color: var(--champagne-light); }
.statement-text .ch { opacity: var(--o, .14); transition: opacity .25s linear; }

/* ---------- founder ---------- */
.founder { display: grid; grid-template-columns: minmax(240px, 400px) 1fr; gap: clamp(40px, 8vw, 120px); align-items: center; }
.founder-portrait { position: relative; margin: 0; aspect-ratio: 1; width: 100%; }
.founder-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.founder-ring circle { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease-soft) .2s; }
.founder-portrait.in .founder-ring circle { stroke-dashoffset: 0; }
.founder-disc {
  position: absolute; inset: 7%; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 50% 35%, var(--champagne-light), var(--champagne) 70%);
}
.founder-disc img { position: absolute; left: 50%; top: 8%; width: 86%; transform: translateX(-50%); }
.founder-quote { margin: 0 0 28px; font-family: var(--serif); font-size: clamp(22px, 2.3vw, 30px); line-height: 1.4; color: var(--espresso); font-weight: 300; }
.signature { font-family: var(--script); font-size: 48px; line-height: 1; color: var(--espresso); margin: 0 0 8px; }
.founder-title { margin: 0; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 820px) { .founder { grid-template-columns: 1fr; } .founder-portrait { max-width: 320px; } }

/* ---------- visit ---------- */
.visit { border-top: 1px solid var(--line); }
.locations { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.loc { background: var(--ivory); border: 1px solid var(--line); border-radius: 6px; padding: 36px; transition: transform .8s var(--ease), box-shadow .8s var(--ease); }
.loc:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(37, 45, 43, .45); }
.loc h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 0 0 14px; color: var(--espresso); }
.loc address { font-style: normal; margin-bottom: 18px; }
.loc-modes { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.loc-modes li { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; border: 1px solid var(--stone); border-radius: 999px; padding: 6px 12px; }
.loc-hours { width: 100%; border-collapse: collapse; font-size: 15px; margin-bottom: 20px; }
.loc-hours td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.loc-hours td:last-child { text-align: right; color: var(--muted); }
.loc a.tel { text-decoration: none; border-bottom: 1px solid var(--champagne); }

/* ---------- closing + footer ---------- */
.closing { text-align: center; padding: clamp(60px, 10vw, 120px) var(--gutter) clamp(90px, 12vw, 150px); }
.closing-logo { width: min(520px, 100%); margin: 0 auto 24px; mix-blend-mode: multiply; }
.closing-line { font-family: var(--serif); font-size: clamp(24px, 3vw, 34px); margin: 0 0 32px; color: var(--espresso); }
.footer { background: var(--espresso); color: var(--porcelain); }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 64px var(--gutter) 80px; }
.footer-brand { font-family: var(--serif); font-size: 32px; margin: 0 0 12px; }
.footer-meta { margin: 0 0 24px; color: var(--stone); }
.footer-meta a { color: var(--porcelain); }
.footer-fine { font-size: 13px; color: var(--stone); margin: 0 0 8px; max-width: 640px; }

/* ---------- reduced motion: everything visible, nothing moves ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .display .line > span, .reveal-line > span { transform: none; }
  .fade-up, .reveal, .hero-figure, .hero-glow, .nav-house img { opacity: 1; transform: none; }
  .hero-figure { translate: none; scale: none; }
  .menu-drop-inner > * { opacity: 1; transform: none; }
  .hero-stage { transform: translateX(-50%) !important; }
  .halo-ring, .founder-ring circle { stroke-dashoffset: 0; }
  .hero-spec div + div::before { transform: none; }
  .grid-lines i { transform: none !important; }
  .chapters { height: auto; }
  .chapters-sticky { position: relative; height: auto; grid-template-columns: 1fr; padding-top: 96px; padding-bottom: 96px; }
  .chapters-visual, .chapter-dots { display: none; }
  .chapter { grid-area: auto; opacity: 1; transform: none; margin-bottom: 56px; }
  .statement-text .ch { opacity: 1; }
  html { scroll-behavior: auto; }
}

/* ---------- liquid light on the strings ----------
   Each hairline stays dim; a bright bead of champagne light pours from the top and
   runs down it. Only the bead glows. It stretches as it accelerates (ease-in, scaleY)
   and its leading edge is the hottest point, like liquid running down a thread. */
.grid-lines i { position: relative; overflow: visible; }
.hero .grid-lines i, .statement .grid-lines i, .chapters .grid-lines i {
  background: linear-gradient(180deg, transparent, rgba(178, 154, 112, .08) 15%, rgba(178, 154, 112, .08) 85%, transparent);
}
.hero .grid-lines i::after, .statement .grid-lines i::after, .chapters .grid-lines i::after {
  content: ""; position: absolute; left: -1.5px; top: 0; width: 4px; height: 180px; border-radius: 4px;
  background: linear-gradient(180deg,
    rgba(178, 154, 112, 0) 0%,
    rgba(178, 154, 112, .35) 45%,
    rgba(217, 199, 160, .9) 82%,
    #FFF6E2 100%);
  box-shadow: 0 0 14px 2px rgba(217, 199, 160, .55), 0 0 40px 6px rgba(178, 154, 112, .28);
  transform-origin: bottom center;
  opacity: 0;
  animation: pour var(--dur, 5.5s) cubic-bezier(.55, 0, .85, .6) var(--delay, 0s) infinite;
}
.hero .grid-lines i:nth-child(1)::after { --dur: 6.2s; --delay: 1.6s; }
.hero .grid-lines i:nth-child(2)::after { --dur: 5.1s; --delay: 3.4s; }
.hero .grid-lines i:nth-child(3)::after { --dur: 5.8s; --delay: 2.2s; }
.hero .grid-lines i:nth-child(4)::after { --dur: 4.8s; --delay: 4.6s; }
.hero .grid-lines i:nth-child(5)::after { --dur: 6.6s; --delay: 2.9s; }
.chapters .grid-lines i::after, .statement .grid-lines i::after { --dur: 7.5s; }
.chapters .grid-lines i:nth-child(2)::after, .statement .grid-lines i:nth-child(2)::after { --delay: 2.5s; }
.chapters .grid-lines i:nth-child(4)::after, .statement .grid-lines i:nth-child(4)::after { --delay: 5s; }
.chapters .grid-lines i:nth-child(odd)::after, .statement .grid-lines i:nth-child(odd)::after { display: none; }
@keyframes pour {
  0%   { top: -180px; opacity: 0; transform: scaleY(.35); }
  8%   { opacity: 1; }
  70%  { transform: scaleY(1.15); }
  88%  { opacity: 1; }
  100% { top: 100%; opacity: 0; transform: scaleY(1.5); }
}
.scroll-cue { display: none; }
@media (prefers-reduced-motion: reduce) { .grid-lines i::after { display: none; } }

/* ---------- magnolia accent: bottom-right of the I/II/III ring and the founder ring ----------
   Cut from the house illustration; same light rim + soft shadow as the founder figure. */
.ring-flower {
  position: absolute; z-index: 3; width: 40%; right: -6%; bottom: -4%; pointer-events: none;
  filter: drop-shadow(0 0 1px rgba(242, 238, 231, .45)) drop-shadow(0 14px 24px rgba(0, 0, 0, .45));
  transform: rotate(-8deg);
}
.founder-portrait .ring-flower { width: 42%; right: -8%; bottom: -6%; filter: drop-shadow(0 10px 18px rgba(64, 48, 44, .28)); }
.founder-portrait.reveal .ring-flower { opacity: 0; transform: translateY(16px) rotate(-14deg); transition: opacity 1.2s var(--ease) .5s, transform 1.6s var(--ease) .5s; }
.founder-portrait.reveal.in .ring-flower { opacity: 1; transform: rotate(-8deg); }

/* ---------- music graph: radial equalizer around the I/II/III ring ----------
   Bars rise with scroll speed and settle when the page stops; the bars inside the
   filled part of the arc are lit champagne, the rest stay faint. */
.eq { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform: rotate(-90deg); }
.eq line { stroke: rgba(178, 154, 112, .26); stroke-width: 2; stroke-linecap: round; transition: stroke .5s var(--ease); }
.eq line.lit { stroke: rgba(217, 199, 160, .85); }
@media (prefers-reduced-motion: reduce) { .eq { display: none; } .founder-portrait .ring-flower { opacity: 1; transform: rotate(-8deg); } }

/* Hero strings (owner 2026-11-06): a TEARDROP of light, 60% shorter than the old
   180px bead (72px), set back in the space behind Brittany. A thin fading tail, a round
   bright drop at the leading end, and a glow that follows the drop's shape
   (drop-shadow, not a rectangular box-shadow). Depth: the outer strings carry smaller,
   dimmer, softer drops (further away), the inner ones sit nearer, so the light balances
   around the figure instead of competing with her. It still starts faint, builds as it
   falls, and peaks as the drop passes her KNEE (--peak, measured by motion.js). */
.hero .grid-lines i::after, .hero .grid-lines i::before {
  --len: 72px;
  content: ""; position: absolute; top: 0; opacity: 0; pointer-events: none;
  height: calc(var(--len) * var(--z, 1)); border-radius: 0; box-shadow: none;
  transform-origin: bottom center;
  animation: pourHero var(--dur, 5.5s) linear var(--delay, 0s) infinite;
}
/* the drop: a true teardrop outline (fine point → round bulb), filled with light that
   brightens toward the bulb */
.hero .grid-lines i::after {
  left: calc(-4.5px * var(--z, 1)); width: calc(10px * var(--z, 1));
  background: linear-gradient(180deg, rgba(178, 154, 112, 0) 0%, rgba(178, 154, 112, .35) 45%,
    rgba(217, 199, 160, .9) 78%, #FFF6E2 92%, rgba(242, 228, 196, .95) 100%);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 80' preserveAspectRatio='none'%3E%3Cpath d='M5 0C5.4 26 9.6 56 9.6 70.4A4.6 4.6 0 1 1 .4 70.4C.4 56 4.6 26 5 0Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 80' preserveAspectRatio='none'%3E%3Cpath d='M5 0C5.4 26 9.6 56 9.6 70.4A4.6 4.6 0 1 1 .4 70.4C.4 56 4.6 26 5 0Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}
/* its glow: a soft halo around the bulb, falling in step (same keyframes, same timing) */
.hero .grid-lines i::before {
  left: calc(-18px * var(--z, 1)); width: calc(36px * var(--z, 1));
  background: radial-gradient(circle at 50% calc(100% - 6px * var(--z, 1)),
    rgba(255, 246, 226, .5) 0, rgba(217, 199, 160, .28) calc(6px * var(--z, 1)), rgba(178, 154, 112, 0) calc(17px * var(--z, 1)));
}
/* nearer (inner) strings · further (outer) strings */
.hero .grid-lines i:nth-child(2)::after, .hero .grid-lines i:nth-child(4)::after,
.hero .grid-lines i:nth-child(2)::before, .hero .grid-lines i:nth-child(4)::before { --z: 1; --o: .62; --blur: 0px; }
.hero .grid-lines i:nth-child(3)::after, .hero .grid-lines i:nth-child(3)::before { --z: .88; --o: .52; --blur: 0px; }
.hero .grid-lines i:nth-child(1)::after, .hero .grid-lines i:nth-child(5)::after,
.hero .grid-lines i:nth-child(1)::before, .hero .grid-lines i:nth-child(5)::before { --z: .7; --o: .36; --blur: .6px; }
.hero .grid-lines i:nth-child(1)::before { --dur: 6.2s; --delay: 1.6s; }
.hero .grid-lines i:nth-child(2)::before { --dur: 5.1s; --delay: 3.4s; }
.hero .grid-lines i:nth-child(3)::before { --dur: 5.8s; --delay: 2.2s; }
.hero .grid-lines i:nth-child(4)::before { --dur: 4.8s; --delay: 4.6s; }
.hero .grid-lines i:nth-child(5)::before { --dur: 6.6s; --delay: 2.9s; }
@keyframes pourHero {
  0%   { top: calc(-72px * var(--z, 1));                          opacity: 0;                         transform: scaleY(.85); filter: blur(var(--blur, 0px)) brightness(.5); }
  26%  { top: calc(var(--peak, 77%) * .3 - 72px * var(--z, 1));   opacity: calc(var(--o, .6) * .18);  transform: scaleY(.88); filter: blur(var(--blur, 0px)) brightness(.55); }
  46%  { top: calc(var(--peak, 77%) * .7 - 72px * var(--z, 1));   opacity: calc(var(--o, .6) * .55);  transform: scaleY(.95); filter: blur(var(--blur, 0px)) brightness(.85); }
  62%  { top: calc(var(--peak, 77%) - 72px * var(--z, 1));        opacity: var(--o, .6);               transform: scaleY(1.04); filter: blur(var(--blur, 0px)) brightness(1.3); }
  76%  { top: calc(var(--peak, 77%) + 8% - 72px * var(--z, 1));   opacity: calc(var(--o, .6) * .7);   transform: scaleY(1.1); filter: blur(var(--blur, 0px)) brightness(1.05); }
  88%  { top: calc(96% - 72px * var(--z, 1));                     opacity: calc(var(--o, .6) * .3);   transform: scaleY(1.15); filter: blur(var(--blur, 0px)) brightness(.8); }
  100% { top: 100%;                                               opacity: 0;                         transform: scaleY(1.2); filter: blur(var(--blur, 0px)) brightness(.7); }
}
@media (prefers-reduced-motion: reduce) { .hero .grid-lines i::before { display: none; } }

/* ---------- chapter design line ----------
   Under each title. As the wheel scrolls through a chapter it draws in from the left,
   holds, then flows off to the right just before the next service takes over.
   --lp (0 → 1) is the scroll progress within the current chapter, set by motion.js. */
.chapter-line {
  display: block; position: relative; height: 1px; width: 100%; max-width: 440px; margin: -6px 0 26px;
  background: linear-gradient(90deg, rgba(178, 154, 112, .9), rgba(217, 199, 160, .5) 70%, rgba(217, 199, 160, 0));
  transform-origin: left center;
  --draw: clamp(0, calc(var(--lp, 0) / .25), 1);              /* 0 → .25: draws in */
  --exit: clamp(0, calc((var(--lp, 0) - .7) / .3), 1);         /* .7 → 1: flows away */
  transform: translateX(calc(var(--exit) * 70vw)) scaleX(calc(var(--draw) * (1 + var(--exit) * 1.6)));
  opacity: calc(1 - var(--exit) * .9);
}
.chapter-line::after {   /* the bright leading point */
  content: ""; position: absolute; right: 0; top: -2px; width: 5px; height: 5px; border-radius: 50%;
  background: #FFF6E2; box-shadow: 0 0 10px 3px rgba(217, 199, 160, .8);
}
@media (max-width: 820px), (prefers-reduced-motion: reduce) {
  .chapter-line { transform: none; opacity: 1; }
}

/* =========================================================================
   SERVICES DROPDOWN · HOUSE PAGES · TREATMENT PAGES (pages.js)
   ========================================================================= */
.nav-end { display: flex; align-items: center; gap: 10px; }
.nav-drop { position: static; display: flex; }
.nav-drop-btn {
  background: none; border: 0; padding: 6px 0; cursor: pointer; color: inherit; font: inherit;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px;
}
.nav-drop-btn::after { content: ""; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .4s var(--ease); }
.nav-drop-btn[aria-expanded="true"]::after { transform: translateY(1px) rotate(225deg); }
.nav-burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid currentColor; background: none; color: inherit; cursor: pointer; position: relative; }
.nav-burger span { position: absolute; left: 12px; right: 12px; height: 1px; background: currentColor; transition: transform .45s var(--ease); }
.nav-burger span:first-child { top: 17px; } .nav-burger span:last-child { top: 24px; }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.nav-panel {
  position: absolute; top: calc(100% + 10px); left: 50%; width: min(980px, calc(100vw - 28px)); translate: -50% 0;
  background: rgba(27, 33, 32, .94); color: var(--porcelain);
  -webkit-backdrop-filter: blur(20px) saturate(1.2); backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid rgba(178, 154, 112, .3); border-radius: 22px; padding: 34px 36px 26px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6);
  opacity: 0; transform: translateY(-10px); transition: opacity .38s var(--ease), transform .5s var(--ease);
}
.nav-panel.open { opacity: 1; transform: none; }
.nav-panel-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
.nav-col-title { display: flex; align-items: baseline; gap: 12px; text-decoration: none; font-family: var(--serif); font-size: 24px; line-height: 1.1; padding-bottom: 14px; margin-bottom: 12px; border-bottom: 1px solid rgba(178, 154, 112, .35); }
.nav-col-title span { font-style: italic; font-size: 16px; color: var(--champagne-light); min-width: 22px; }
.nav-col-title:hover { color: var(--champagne-light); }
.nav-col-list { list-style: none; margin: 0; padding: 0 0 0 34px; }
.nav-col-list li { margin: 0; }
.nav-col-list a { display: block; padding: 6px 0; text-decoration: none; font-size: 14px; color: rgba(242, 238, 231, .78); transition: color .3s, transform .4s var(--ease); }
.nav-col-list a:hover { color: var(--porcelain); transform: translateX(4px); }
.nav-col-all a { margin-top: 8px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--champagne-light); }
.nav-col-note { font-size: 14px; color: var(--stone); font-style: italic; }
.nav-panel-pages { display: none; }
html.nav-locked { overflow: hidden; }

@media (max-width: 860px) {
  .nav-burger { display: inline-block; }
  .nav-end .btn-pill { min-height: 38px; padding: 0 16px; }
  .nav-panel {
    position: fixed; top: 0; left: 0; translate: none; width: 100vw; height: 100svh; border-radius: 0; border: 0;
    padding: 110px 26px 40px; overflow-y: auto; z-index: -1;
  }
  .nav-panel-cols { grid-template-columns: 1fr; gap: 28px; }
  .nav-panel-pages { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(178, 154, 112, .35); }
  .nav-panel-pages a { text-decoration: none; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
  .nav.menu-open { color: var(--porcelain); }
}

/* service names link to their own page */
.menu-link { text-decoration: none; background: linear-gradient(var(--champagne), var(--champagne)) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); }
.menu-link:hover { background-size: 100% 1px; }
.menu-drop-actions { display: inline-flex; align-items: baseline; gap: 26px; }
.menu-drop-full { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--champagne-deep); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.menu-drop-full:hover { color: var(--espresso); }

/* ---------- house page ---------- */
.house { background: var(--porcelain); }
.house-hero {
  position: relative; overflow: hidden; color: var(--porcelain);
  background: radial-gradient(ellipse 70% 80% at 72% 40%, #34403C 0%, var(--sage) 45%, var(--sage-deep) 100%);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(30px, 5vw, 80px); align-items: center;
  padding: 150px var(--gutter) 90px; min-height: 78svh;
}
.house-hero-copy { position: relative; z-index: 2; grid-column: 1; grid-row: 1; max-width: 640px; }
.house-hero-media { position: relative; grid-column: 2; grid-row: 1; aspect-ratio: 4 / 5; max-height: 72svh; justify-self: end; width: 100%; max-width: 460px;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .7); animation: fadeIn 1.6s var(--ease) .2s both; }
.house-hero-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); }
.house-hero-media::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(217, 199, 160, .6); pointer-events: none; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); margin-bottom: 34px; }
.crumbs a { text-decoration: none; color: var(--champagne-light); }
.crumbs a:hover { color: var(--porcelain); }
.crumb-sep { opacity: .5; }
.house-num { margin: 0 0 14px; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--champagne-light); }
.house-title { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(46px, 6.4vw, 96px); line-height: .98; letter-spacing: -.01em; }
.house-intro { margin: 26px 0 0; font-family: var(--serif); font-size: clamp(20px, 1.8vw, 24px); line-height: 1.45; color: rgba(242, 238, 231, .82); max-width: 560px; }
.house-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 36px; }
.house-count { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--champagne-light); }
.house-hero-copy > * { animation: fadeUp 1.1s var(--ease) both; }
.house-hero-copy > :nth-child(2) { animation-delay: .08s; } .house-hero-copy > :nth-child(3) { animation-delay: .16s; }
.house-hero-copy > :nth-child(4) { animation-delay: .24s; } .house-hero-copy > :nth-child(5), .house-hero-copy > :nth-child(6) { animation-delay: .32s; }

/* treatment facts sit in the hero */
.treat-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin: 34px 0 0; border-top: 1px solid rgba(178, 154, 112, .4); border-bottom: 1px solid rgba(178, 154, 112, .4); }
.treat-facts div { padding: 18px 34px 18px 0; margin-right: 34px; border-right: 1px solid rgba(178, 154, 112, .25); }
.treat-facts div:last-child { border-right: 0; margin-right: 0; }
.treat-facts dt { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--champagne); margin-bottom: 6px; }
.treat-facts dd { margin: 0; font-family: var(--serif); font-size: 26px; color: var(--porcelain); }
.treat-note { margin: 16px 0 0; font-size: 14px; color: var(--stone); max-width: 560px; }

.house-cats-bar { position: sticky; top: 92px; z-index: 20; display: flex; justify-content: center; padding: 14px var(--gutter); pointer-events: none; }
.house-cats {
  pointer-events: auto; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; max-width: 100%;
  padding: 6px; border-radius: 999px; background: rgba(250, 247, 240, .82); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 14px 34px -20px rgba(37, 45, 43, .35);
}
.house-cats::-webkit-scrollbar { display: none; }
.house-cats .menu-tab { text-decoration: none; flex: 0 0 auto; white-space: nowrap; }
.house-cats .menu-tab[aria-current="true"] { background: var(--espresso); border-color: var(--espresso); color: var(--porcelain); }
.house-cats-bar[hidden] { display: none; }
.house-body { padding-top: clamp(40px, 6vw, 70px); }
.house-cat { scroll-margin-top: 170px; margin-bottom: clamp(60px, 8vw, 110px); }
.house-cat-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 18px; }
.house-cat-num { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--champagne-deep); }
.house-cat-title { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 3.6vw, 48px); color: var(--espresso); }
.house-cat-count { margin-left: auto; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.treat-steps { margin: 18px 0 0; padding-left: 22px; font-family: var(--serif); font-size: 22px; color: var(--espresso); }
.treat-expect { margin-bottom: 70px; }

/* other houses */
.house-others { padding-top: 0; }
.others-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.other-card { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; text-decoration: none; color: var(--porcelain); background: var(--sage); }
.other-media { position: absolute; inset: 0; }
.other-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.other-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27, 33, 32, .88), rgba(27, 33, 32, .25)); }
.other-card::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(217, 199, 160, .5); pointer-events: none; transition: border-color .6s; }
.other-card:hover .other-media img { transform: scale(1.06); }
.other-card:hover::after { border-color: rgba(217, 199, 160, .95); }
.other-body { position: absolute; left: 30px; right: 30px; bottom: 26px; display: flex; flex-direction: column; gap: 8px; }
.other-body .pillar-num { position: static; }
.other-title { font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.05; }
.other-body .pillar-cta { margin-top: 6px; }

@media (max-width: 820px) {
  .house-hero { grid-template-columns: 1fr; padding-top: 120px; min-height: 0; }
  .house-hero-media { grid-column: 1; grid-row: 1; aspect-ratio: 16 / 10; max-width: none; justify-self: stretch; }
  .house-hero-copy { grid-row: 2; }
  .treat-facts { grid-template-columns: 1fr 1fr; }
  .treat-facts div { margin-right: 0; padding-right: 16px; border-right: 0; }
  .house-cats-bar { top: 78px; padding: 10px 12px; }
  .house-cat-head { flex-wrap: wrap; }
  .house-cat-count { margin-left: 0; width: 100%; }
  .others-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .house-hero-copy > *, .house-hero-media { animation: none; } }

.rail[hidden], .is-house .rail { display: none; }

/* ---------- legal pages (privacy, notice of privacy practices, terms) ---------- */
.legal-page { background: var(--porcelain); }
.legal-nav {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px 20px 10px 14px; background: rgba(242, 238, 231, .9); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--espresso);
}
.legal-nav .nav-house { height: 56px; }
.legal-nav .nav-house img { opacity: 1; transform: none; animation: none; filter: drop-shadow(0 6px 12px rgba(64, 48, 44, .22)); }
.legal-back { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; color: var(--champagne-deep); }
.legal { max-width: 780px; margin: 0 auto; padding: clamp(56px, 8vw, 110px) var(--gutter) 110px; color: var(--ink); }
.legal .h2 { margin-bottom: 10px; }
.legal-meta { font-size: 13px; letter-spacing: .06em; color: var(--muted); margin: 0 0 36px; }
.legal-banner { font-size: 13px; letter-spacing: .06em; line-height: 1.6; padding: 18px 22px; border: 1px solid rgba(178, 154, 112, .5); background: rgba(178, 154, 112, .08); margin: 0 0 36px; }
.legal-toc { display: grid; gap: 6px; padding: 22px 24px; border-left: 2px solid var(--champagne); background: rgba(250, 247, 240, .7); margin: 0 0 54px; }
.legal-toc a { text-decoration: none; font-size: 15px; color: var(--espresso); }
.legal-toc a:hover { color: var(--champagne-deep); }
.legal section { scroll-margin-top: 100px; margin-bottom: 46px; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 32px); color: var(--espresso); margin: 0 0 14px; }
.legal p, .legal li { font-size: 16.5px; line-height: 1.75; }
.legal ul { padding-left: 20px; margin: 0 0 14px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--champagne-deep); }
.legal-address { padding: 18px 22px; background: rgba(250, 247, 240, .9); border: 1px solid var(--line); }
/* DRAFT marker: any [Confirm: …] left in a page is loud on purpose, and scripts/deploy.sh refuses to ship one */
.confirm { background: #FFE9A8; color: #5A3A00; padding: 1px 6px; border-radius: 4px; font-size: .9em; }
.legal-links a { color: var(--porcelain); }
.loc-badge { display: inline-block; margin: 0 0 12px; padding: 4px 12px; border-radius: 999px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; background: rgba(178, 154, 112, .16); color: var(--champagne-deep); }
.loc-soon h3 { opacity: .85; }

/* =========================================================================
   HERO · VIBRANCY (owner 2026-11-06: "less AI", vibrant, "24k" = crisp/HD,
   SAME palette). One block, hero only.
   - Same sage → sage-deep ground, more contrast: a brighter champagne bloom
     behind Brittany and a darker falloff, so the scene has depth, not haze.
   - Figure: a touch more contrast/saturation for a crisp, high-definition read.
   - No ruled hairline grid; the light drops fall only behind her (desktop),
     never through the type; none on phones.
   ========================================================================= */
.hero {
  background:
    radial-gradient(ellipse 38% 48% at 60% 40%, rgba(217, 199, 160, .26) 0%, rgba(178, 154, 112, .08) 48%, transparent 72%),
    radial-gradient(ellipse 60% 70% at 66% 44%, #3B4844 0%, var(--sage) 46%, #141918 100%);
}
.hero-glow { background: radial-gradient(circle, rgba(242, 228, 196, .30), rgba(217, 199, 160, .10) 45%, transparent 70%); }
.hero-figure {
  /* no 1px light rim (it read as a cut-out fringe); a touch warmer so she sits in the room's light */
  filter:
    contrast(1.05) saturate(1.06) sepia(.05) brightness(1.02)
    drop-shadow(calc(var(--lx) * -14px) calc(var(--ly) * -6px) 22px rgba(217, 199, 160, .14))
    drop-shadow(calc(var(--lx) * 36px) calc(44px + var(--ly) * 16px) 60px rgba(0, 0, 0, .55));
  animation-duration: 2.6s;
}

/* no ruled grid; drops only behind her */
.hero .grid-lines i { background: none; }
.hero .grid-lines i:nth-child(1)::after, .hero .grid-lines i:nth-child(1)::before,
.hero .grid-lines i:nth-child(2)::after, .hero .grid-lines i:nth-child(2)::before { display: none; }

/* type: Libre Caslon Display (owner pick 2026-11-06; Bodoni rejected), crisp ivory;
   "aligned." gets a slow champagne light-catch, same hue */
.hero .display { color: var(--ivory); font-family: "Libre Caslon Display", "Big Caslon", var(--serif); font-weight: 400;
  letter-spacing: -.01em; line-height: .96;
  font-size: clamp(50px, 7.2vw, 120px); }   /* original sizing (phones 50px); widest line 4.01em ≈ the original */
.hero .display em {
  color: var(--champagne-light);
  background: linear-gradient(105deg, var(--champagne) 0%, var(--champagne-light) 30%, #FFF6E2 45%, var(--champagne-light) 60%, var(--champagne) 100%);
  background-size: 240% 100%; background-position: 0% 50%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  text-shadow: none; filter: drop-shadow(0 2px 18px rgba(27, 33, 32, .55));
  animation: catchLight 10s ease-in-out 1.8s infinite alternate; padding-right: .06em;
}
@keyframes catchLight { to { background-position: 100% 50%; } }

/* "The Wellness Collective" is her catch phrase (owner 2026-11-06): set as a
   signature in the site's script, not a small caps eyebrow. Same words. */
.hero .eyebrow {
  display: flex; align-items: center; gap: 16px; margin: 0 0 18px;
  font-family: var(--script); font-weight: 400; text-transform: none; letter-spacing: 0;
  font-size: clamp(30px, 2.6vw, 42px); line-height: 1.1;
}
.hero .eyebrow::before { content: ""; width: 34px; height: 1px; flex: none; background: linear-gradient(90deg, transparent, var(--champagne)); }
.hero .eyebrow > span {
  padding: .08em .12em .18em 0;   /* room for the script's swashes inside the reveal mask */
  color: var(--champagne-light);
  background: linear-gradient(105deg, var(--champagne) 0%, var(--champagne-light) 30%, #FFF6E2 45%, var(--champagne-light) 60%, var(--champagne) 100%);
  background-size: 240% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: rise 1s var(--ease) .05s forwards, catchLight 10s ease-in-out 2.4s infinite alternate;
}

/* actions: same porcelain/champagne, with a crisp sheen */
.hero-actions .btn-light {
  background: linear-gradient(135deg, #FFFDF8 0%, var(--porcelain) 45%, var(--champagne-light) 100%);
  color: var(--sage); border: 1px solid rgba(255, 253, 248, .8);
  box-shadow: 0 14px 34px -16px rgba(217, 199, 160, .6), inset 0 1px 0 rgba(255, 255, 255, .7);
}
.hero-actions .btn-ghost-light { border-color: rgba(217, 199, 160, .55); }

@media (max-width: 1020px) { .hero .grid-lines { display: none; } }
}
@media (prefers-reduced-motion: reduce) { .hero .display em { animation: none; } .hero .eyebrow > span { animation: rise 1s var(--ease) .05s forwards; } }

/* =========================================================================
   HERO · RESTRAINT (owner 2026-11-06: "like a 7-star resort designed it")
   One subject, one line, one action. Same words, same palette.
   ========================================================================= */
.rail { display: none; }                         /* side ticks: noise */
.hero .grid-lines { display: none; }             /* no falling light in the hero */
.hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hero-copy { grid-column: 1; max-width: 600px; }
.hero::after {   /* faint linen: material, not pixels */
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: .05; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='l'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9 .06' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23l)'/%3E%3C/svg%3E");
}
.hero-glow { opacity: .75; }

/* the arch: drawn slowly, no glow */
.halo-arch { top: -2%; }
.halo-arch .halo-ring { animation: drawRing 3.2s var(--ease-soft) .5s forwards; }
/* she stands on the floor: a soft contact shadow under her feet */
.hero-stage::after {
  content: ""; position: absolute; left: 50%; bottom: 1%; width: 46%; height: 34px; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .2) 45%, transparent 72%);
  filter: blur(4px); z-index: -1; opacity: 0; animation: fadeIn 1.6s var(--ease) 1.6s forwards;
}

/* full screens: the statement steps back (~38% smaller), more air, quieter ivory.
   Phones keep 50px. */
.hero .display {
  font-size: clamp(50px, 4.4vw, 78px); line-height: 1.04; letter-spacing: .002em;
  color: rgba(250, 247, 240, .93); margin-bottom: 46px;
}
.hero .eyebrow { font-size: clamp(30px, 2.1vw, 36px); margin-bottom: 26px; }

/* one action: a fine champagne rectangle; the menu is a quiet underlined link */
.hero-actions { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 18px 34px; max-width: none; }
.btn-line {
  min-height: 52px; padding: 0 36px; border-radius: 0; background: transparent;
  border: 1px solid rgba(217, 199, 160, .6); color: var(--champagne-light);
  font-size: 12px; letter-spacing: .28em; box-shadow: none;
}
.btn-line:hover { background: rgba(217, 199, 160, .1); border-color: var(--champagne-light); color: var(--ivory); }
.link-quiet {
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase; text-decoration: none; font-weight: 500;
  color: rgba(242, 238, 231, .78); padding-bottom: 5px;
  background: linear-gradient(rgba(217, 199, 160, .55), rgba(217, 199, 160, .55)) 0 100% / 100% 1px no-repeat;
  transition: color .5s var(--ease), background-size .6s var(--ease);
}
.link-quiet:hover { color: var(--ivory); }
/* the header's Book matches: a fine outline, not a pill of colour */
.nav.on-dark .btn-pill {
  background: transparent; color: var(--champagne-light); border: 1px solid rgba(217, 199, 160, .55);
  border-radius: 0; box-shadow: none; letter-spacing: .24em;
}
.nav.on-dark .btn-pill:hover { background: rgba(217, 199, 160, .1); color: var(--ivory); }
@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; }
  .hero-stage::after { display: none; }   /* her feet are below the headline on phones */
  .hero-actions { margin-bottom: 40px; }
  .hero-actions .btn { min-height: 50px; }
}

/* =========================================================================
   SITE · RESTRAINT (owner 2026-11-06: the hero's 7-star pass, site-wide)
   Same words, same palette. Quieter type, one font voice for headings,
   fine outlines instead of pills, no leftover effects.
   ========================================================================= */
:root { --display: "Libre Caslon Display", "Big Caslon", var(--serif); }

/* 1 · effects: no ruled grid or falling light anywhere */
.grid-lines { display: none !important; }

/* 2 + 3 · headings: one voice (Libre Caslon), stepped back ~30% */
.h2 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.12; letter-spacing: 0; }
.chapter-title { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 4.6vw, 70px); line-height: 1.04; }
.statement-text { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 5.4vw, 84px); line-height: 1.08; }
.house-title { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 4.4vw, 68px); line-height: 1.04; letter-spacing: 0; }
.menu-drop-title { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 2.8vw, 40px); }
.house-cat-title { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); }
.other-title { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2vw, 30px); line-height: 1.1; }
.pillar-title { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 2vw, 32px); line-height: 1.1; }
.loc h3 { font-family: var(--display); font-size: 28px; }
.footer-brand { font-family: var(--display); }
.closing-line { font-size: clamp(22px, 2.4vw, 30px); }

/* 4 · philosophy: one hairline ring and its numeral; chapters hand over cleanly */
.eq, .chapters .ring-flower, .chapter-line { display: none !important; }
.chapter { transition: opacity .35s var(--ease), transform .35s var(--ease); }
.chapter.on { transition: opacity .9s var(--ease) .35s, transform .9s var(--ease) .35s; }
.numerals span { transition: opacity .35s var(--ease), transform .35s var(--ease), filter .35s var(--ease); }
.numerals span.on { transition: opacity 1s var(--ease) .35s, transform 1s var(--ease) .35s, filter 1s var(--ease) .35s; }

/* 5 · statement band: one calm reveal, no letter-by-letter fade */
.statement-text .ch { opacity: 1 !important; transition: none; }

/* 6 · buttons: fine rectangles, never pills */
.btn { border-radius: 0; font-size: 12px; letter-spacing: .26em; }
.btn-solid { background: transparent; color: var(--espresso); border: 1px solid rgba(64, 48, 44, .6); }
.btn-solid:hover { background: var(--espresso); color: var(--porcelain); border-color: var(--espresso); }
.btn-light { background: transparent; color: var(--champagne-light); border: 1px solid rgba(217, 199, 160, .6); }
.btn-light:hover { background: rgba(217, 199, 160, .1); color: var(--ivory); border-color: var(--champagne-light); }
.btn-ghost-light { border-radius: 0; }
.btn-pill { border-radius: 0; background: transparent; color: var(--espresso); border: 1px solid rgba(64, 48, 44, .5); letter-spacing: .24em; }
.btn-pill:hover { background: var(--espresso); color: var(--porcelain); }

/* 7 · service cards: the frame stays (owner rule), the numeral and circle-arrow go */
.pillar-num { display: none; }
.pillar-cta::after { display: none; }
.pillar-cta { padding-bottom: 4px; background: linear-gradient(var(--champagne-light), var(--champagne-light)) 0 100% / 100% 1px no-repeat; }
.pillar.active .pillar-cta { font-size: 11px; }

/* 8 · visit: modes as a quiet line, cards size to their content */
.locations { align-items: start; }
.loc { border-radius: 0; }
.loc-modes { gap: 0; }
.loc-modes li { border: 0; border-radius: 0; padding: 0; color: var(--muted); }
.loc-modes li + li::before { content: "·"; margin: 0 10px; color: var(--champagne); }
.loc-badge { border-radius: 0; background: none; padding: 0; border-bottom: 1px solid var(--champagne); }

/* 9 · founder: a tall portrait inside the same hairline arch as the hero */
.founder-portrait { aspect-ratio: 4 / 5; max-width: 380px; }
.founder-ring, .founder-portrait .ring-flower { display: none !important; }
.founder-disc {
  inset: 0; border-radius: 999px 999px 0 0;
  background: radial-gradient(ellipse 80% 70% at 50% 30%, #F4EEE3 0%, #E3D8C4 60%, #D3C5AC 100%);
}
.founder-disc img { top: 12%; width: 96%; }
.founder-portrait::after {
  content: ""; position: absolute; inset: -14px -14px 14px; border: 1px solid rgba(178, 154, 112, .7);
  border-bottom: 0; border-radius: 999px 999px 0 0; pointer-events: none;
}

/* 10 · closing + footer */
.closing-logo { width: min(340px, 80%); }
.footer { background: var(--sage-deep); position: relative; }
.footer::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: linear-gradient(90deg, transparent, rgba(217, 199, 160, .5), transparent); }
.footer-addr { margin: 0 0 6px; color: var(--stone); font-size: 15px; }
@media (max-width: 820px) { .founder-portrait { max-width: 300px; margin: 0 auto; } }

/* HERO WIDTH (owner 2026-11-06): the backdrop stays full-bleed, but the content
   sits inside the page's column plus 10% (1240px × 1.1 = 1364px), centred, so
   wide screens no longer spread the copy and Brittany to the window edges.
   --hw is that content width; she keeps her place at 58% of it. */
.hero { --hw: min(100% - 2 * var(--gutter), var(--max) * 1.1);
  padding-left: max(var(--gutter), (100% - var(--max) * 1.1) / 2);
  padding-right: max(var(--gutter), (100% - var(--max) * 1.1) / 2); }
@media (min-width: 1021px) {
  .hero-stage, .hero-glow { left: calc(50% - var(--hw) / 2 + var(--hw) * .58); }
}

/* ---------- HERO · TOUCH SAFETY (2026-11-07) ----------
   Pinch-zooming the hero on a phone crashed mobile Safari. While zoomed, iOS
   re-draws every filtered / blended / 3D layer at the zoomed resolution: the
   portrait's 22px + 60px blurred drop-shadows (which the phone fade mask hides
   anyway), the full-hero soft-light noise overlay (at .05 opacity) and the 3D
   tilt layer turned into images too large for the tab's memory. On touch
   screens those layers go; the look is unchanged at normal zoom. */
@media (hover: none), (pointer: coarse), (max-width: 1020px) {
  .hero-figure { filter: none; will-change: auto; transform-style: flat; }
  .hero-stage { will-change: auto; perspective: none; }
  .hero::after { display: none; }
  .hero-actions .btn-ghost-light { -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* platform credit: the quietest line in the footer */
.footer-credit { margin-top: 18px; font-size: 11.5px; letter-spacing: .04em; opacity: .75; }
.footer-credit a { color: inherit; text-decoration: underline; text-decoration-color: rgba(217, 199, 160, .4); text-underline-offset: 3px; }
.footer-credit a:hover { color: var(--champagne-light); }

/* ---------- AESTHETICS · ONE-PICTURE FLIP GRID (owner 2026-11-10) ----------
   One framed picture split into three panels; all three turn right together in a slow wave
   (pages.js flipGallery). Faces come from the Health & Wellness brochure aesthetics set. */
/* the page frame keeps the Wellness and Medical Clinic size (4:5, max 460px wide, 16:10 on phones);
   the home page Aesthetics card is the same picture in the same 4:5 card as its neighbours */
:is(.house-hero-media, .pillar-media).is-gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;   /* hairline seams, like billboard slats */
  background: rgba(27, 33, 32, .6); padding: 0;
}
.pillar-media.is-gallery::after { z-index: 2; }   /* the card's sage veil stays over the turning panels so its words stay readable */
.pillar-media.is-gallery { z-index: 0; isolation: isolate; }   /* panels and veil live in their own layer, under the card's words */
.pillar:has(.is-gallery) :is(.pillar-num, .pillar-body) { z-index: 3; }
/* billboard block: four sides around a vertical axis, depth = half the panel width (--half, set by pages.js).
   The panel clips the block, so the sides that swing wide never spill into the neighbour. */
.flip-card { perspective: 2600px; min-height: 0; overflow: hidden; position: relative; --half: 75px; }
.flip-inner {
  position: absolute; inset: 0; transform-style: preserve-3d; --turn: 0deg;
  transform: translateZ(calc(var(--half) * -1)) rotateY(var(--turn));
  transition: transform 1.8s cubic-bezier(.45, .05, .25, 1);
}
:is(.house-hero-media, .pillar-media).is-gallery .flip-inner img.flip-face {   /* outranks the card hover zoom */
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  backface-visibility: hidden; -webkit-backface-visibility: hidden; filter: saturate(.95);
  transform: rotateY(calc(var(--k) * -90deg)) translateZ(var(--half)) scale(1.02);   /* 2% bleed hides the hairline at the block's edges */
}

/* ---------- CATEGORY IMAGES · NO INNER GOLD FRAME (owner 2026-11-10) ----------
   Removed from all three categories: the home page cards, the picture at the top of each
   category page, and the cross-link cards at the bottom of those pages. Delete this block to restore. */
.pillar::after, .house-hero-media::after, .other-card::after { display: none; }
/* ...except the image at the top of a single treatment page (?treatment=), which keeps its gold frame
   for Wellness and Medical Clinic. Aesthetics treatments show the billboard (.is-gallery) and stay frameless. */
body.is-treatment .house-hero-media:not(.is-gallery)::after { display: block; }

/* ── MEMBERSHIPS (2026-11-12) ────────────────────────────────────────────────
   One quiet invitation on the home page; /memberships uses the HOUSE template
   (hero, plan chips, numbered chapters, treatment rows) so it reads like Wellness.
   Credits and terms live on the EMR enrolment page. */
.member-invite { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 9vw, 120px) var(--gutter) clamp(48px, 7vw, 96px); }
.member-invite .section-head { margin-bottom: clamp(28px, 4vw, 48px); }
/* The EMR memberships card, smaller: a hairline tray holding the card; tops aligned. */
.mcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.mcards[data-count="1"] { grid-template-columns: minmax(0, 340px); }
.mcards[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 340px)); }
.mcard { border-radius: 18px; padding: 5px; background: rgba(64, 48, 44, .03); border: 1px solid var(--line); }
.mcard-core { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: 13px; background: var(--ivory); padding: 24px 22px 20px;
  box-shadow: 0 1px 2px rgba(64, 48, 44, .05), 0 12px 32px -18px rgba(64, 48, 44, .22); overflow: hidden; }
.mcard:nth-child(3n + 2) .mcard-core { background: color-mix(in oklab, var(--champagne-deep) 10%, var(--ivory)); }
.mcard:nth-child(3n + 2) .mcard-core::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--champagne-deep); }
.mcard:nth-child(3n + 3) .mcard-core { background: radial-gradient(120% 80% at 100% 0%, rgba(178, 154, 112, .16), transparent 60%), color-mix(in oklab, var(--champagne-deep) 26%, #141613); color: var(--porcelain); }
.mcard-name { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; color: inherit; }
.mcard-desc { margin: 6px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.mcard-price { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.mcard-amount { font-family: var(--sans); font-weight: 300; font-size: 38px; line-height: 1; letter-spacing: -.03em; }
.mcard-per { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mcard-items { list-style: none; margin: 14px 0 22px; padding: 0; font-size: 13.5px; line-height: 1.45; }
.mcard-items li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.mcard-more { color: var(--muted); }
.mcard-cta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 42px; padding: 4px 4px 4px 18px;
  border-radius: 999px; background: var(--champagne-deep); color: var(--sage-deep, #1B2120); text-decoration: none; font-size: 13.5px; font-weight: 500; transition: filter .3s var(--ease); }
.mcard-cta:hover { filter: brightness(1.06); }
.mcard-cta-icon { width: 32px; height: 32px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: rgba(27, 33, 32, .12); font-size: 13px; }
.mcard:nth-child(3n + 3) :is(.mcard-desc, .mcard-per, .mcard-more) { color: rgba(242, 238, 231, .7); }
.mcard:nth-child(3n + 3) :is(.mcard-price, .mcard-items li) { border-color: rgba(242, 238, 231, .14); }
.mcard:nth-child(3n + 3) .mcard-cta { background: var(--porcelain); color: #16191D; }
.mcards-more { margin: 26px 0 0; }
@media (max-width: 860px) { .mcards, .mcards[data-count="2"] { grid-template-columns: minmax(0, 1fr); max-width: 420px; } }
.member-invite-link { display: inline-block; margin-top: 0; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--espresso); text-decoration: none; border-bottom: 1px solid var(--champagne); padding-bottom: 4px; transition: border-color .4s var(--ease), color .4s var(--ease); }
.member-invite-link:hover { color: var(--champagne-deep); border-color: var(--champagne-deep); }
.members .house-num { font-style: italic; }
.mplan-included { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--champagne-deep); }
.mplan-foot { display: flex; align-items: baseline; justify-content: flex-end; gap: 28px; padding: 28px 0 0; }
.mplan-price { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 2.8vw, 40px); line-height: 1; color: var(--espresso); }
.mplan-per { font-family: var(--sans); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.house-body .mplan + .mplan { margin-top: clamp(56px, 8vw, 110px); }

/* Home membership cards open out on scroll (js/emr.js expandOnScroll sets --p 0..1). */
.mcards[data-expand] .mcard { transition: none; will-change: transform; }
.mcards[data-expand] .mcard:nth-child(1) { transform: translateX(calc((1 - var(--p, 1)) * (100% + 22px))) scale(calc(.94 + .06 * var(--p, 1))); opacity: calc(.4 + .6 * var(--p, 1)); }
.mcards[data-expand] .mcard:nth-child(3) { transform: translateX(calc((1 - var(--p, 1)) * (-100% - 22px))) scale(calc(.94 + .06 * var(--p, 1))); opacity: calc(.4 + .6 * var(--p, 1)); }
.mcards[data-expand] .mcard:nth-child(2) { position: relative; z-index: 2; transform: translateY(calc((1 - var(--p, 1)) * 18px)); }
@media (max-width: 860px) { .mcards[data-expand] .mcard { transform: none !important; opacity: 1 !important; } }
