/* ==========================================================================
   Vida Bodywork — main stylesheet
   --------------------------------------------------------------------------
   01 Tokens            08 Preloader / curtain / cursor
   02 Reset & base      09 Scroll video hero
   03 Typography        10 Home sections
   04 Layout utilities  11 Inner pages
   05 Buttons & links   12 Footer
   06 Header & nav      13 Motion states
   07 Mobile menu       14 Responsive & reduced motion
   ========================================================================== */

/* 01 — Tokens ============================================================= */
:root {
  /* Brand (from the original site) */
  --plum: #633761;
  --plum-600: #57304f;
  --plum-800: #3a1f37;
  --plum-900: #221320;
  --cream: #fee6c4;
  --forest: #30574e;
  --forest-700: #234139;

  /* Neutrals */
  --ivory: #fbf6ef;
  --sand: #f3e8da;
  --sand-2: #eadbc7;
  --gold: #b98a5a;
  --ink: #221a1f;
  --muted: #6d5f68;
  --line: rgba(34, 26, 31, 0.12);
  --line-light: rgba(254, 230, 196, 0.18);

  /* Type */
  --serif: 'Bodoni Moda', 'Playfair Display', Didot, Georgia, serif;
  --sans: 'Jost', 'Avenir Next', Avenir, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --fs-display: clamp(3.6rem, 12.5vw, 12.5rem);
  --fs-h1: clamp(3rem, 7.4vw, 7.25rem);
  --fs-h2: clamp(2.35rem, 5vw, 4.75rem);
  --fs-h3: clamp(1.55rem, 2.3vw, 2.15rem);
  --fs-lead: clamp(1.1rem, 1.35vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-micro: 0.75rem;

  /* Space & shape */
  --container: 1360px;
  --gutter: clamp(16px, 4vw, 56px);
  --section: clamp(96px, 13vw, 200px);
  --radius: 22px;
  --radius-lg: 34px;
  --header-h: 84px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
  --dur: 0.9s;
}

/* 02 — Reset & base ======================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 100px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

/* Film grain for a tactile, printed feel */
body::after {
  content: '';
  position: fixed;
  inset: -50%;
  z-index: 9990;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 7s steps(8) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); }
  75% { transform: translate(-1%, 3%); }
}

img, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul[class], ol[class] { list-style: none; padding: 0; }
address { font-style: normal; }
::selection { background: var(--plum); color: var(--cream); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 10000;
  padding: 10px 18px; border-radius: 999px;
  background: var(--plum); color: var(--cream);
  transform: translateY(-160%); transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: none; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* 03 — Typography ========================================================= */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-optical-sizing: auto;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.1; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--plum); }
p { text-wrap: pretty; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans);
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--plum);
}
.eyebrow::before { content: ''; width: 34px; height: 1px; background: currentColor; opacity: 0.6; }
.eyebrow--light { color: var(--cream); }
.eyebrow--plain::before { display: none; }

.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--muted); font-weight: 300; }
.muted { color: var(--muted); }
.serif { font-family: var(--serif); }

/* 04 — Layout utilities =================================================== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(72px, 9vw, 130px); }
.section--sand { background: var(--sand); }
.section--plum { background: var(--plum-900); color: var(--cream); }
.section--plum h2 em, .section--plum h3 em { color: var(--cream); opacity: 0.8; }

.section-head {
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.section-head__title { max-width: 14ch; }
.section-head__aside { max-width: 44ch; color: var(--muted); }
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1.3fr 1fr; }
  .section-head__aside { justify-self: end; }
}
.section-head .eyebrow { margin-bottom: 22px; }

.media {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--sand-2);
  isolation: isolate;
}
.media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }

/* 05 — Buttons & links ==================================================== */
.btn {
  --btn-bg: var(--plum);
  --btn-fg: var(--cream);
  --btn-fill: var(--plum-800);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 18px 34px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.95rem; font-weight: 500; letter-spacing: 0.04em;
  overflow: hidden; isolation: isolate;
  transition: transform 0.5s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-fill);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.6s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover { box-shadow: 0 18px 40px -18px rgba(34, 19, 32, 0.6); }
.btn > span { position: relative; }
.btn--sm { padding: 12px 22px; font-size: 0.85rem; }
.btn--lg { padding: 22px 42px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--cream { --btn-bg: var(--cream); --btn-fg: var(--plum-900); --btn-fill: #fff3df; }
.btn--forest { --btn-bg: var(--forest); --btn-fg: var(--cream); --btn-fill: var(--forest-700); }
.btn--outline {
  --btn-bg: transparent; --btn-fg: var(--ink); --btn-fill: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn--outline:hover { --btn-fg: var(--cream); }
.btn--outline-light {
  --btn-bg: transparent; --btn-fg: var(--cream); --btn-fill: var(--cream);
  box-shadow: inset 0 0 0 1px rgba(254, 230, 196, 0.4);
}
.btn--outline-light:hover { --btn-fg: var(--plum-900); }
.btn--glass {
  --btn-bg: rgba(254, 230, 196, 0.14); --btn-fg: var(--cream); --btn-fill: var(--cream);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(254, 230, 196, 0.32);
}
.btn--glass:hover { --btn-fg: var(--plum-900); }
.btn__arrow { transition: transform 0.5s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.link-underline {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.5s var(--ease);
  padding-bottom: 2px;
}
.link-underline:hover { background-size: 100% 1px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 500; letter-spacing: 0.04em;
  color: var(--plum);
}
.link-arrow__icon {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid currentColor;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.5s var(--ease);
}
.link-arrow:hover .link-arrow__icon { background: var(--plum); color: var(--cream); transform: rotate(-45deg); }

/* 06 — Header & nav ======================================================= */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 900;
  color: var(--cream);
  transition: transform 0.7s var(--ease), color 0.5s var(--ease);
}
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(251, 246, 239, 0.82);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.site-header.is-solid { color: var(--ink); }
.site-header.is-solid::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }

.announce {
  background: var(--plum);
  color: var(--cream);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  overflow: hidden;
  max-height: 44px;
  transition: max-height 0.5s var(--ease);
}
.site-header.is-scrolled .announce { max-height: 0; }
.announce__inner { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 40px; }
.announce p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.announce s { opacity: 0.6; }
.announce__dot {
  flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--cream);
  animation: pulse 2.2s var(--ease) infinite;
}
.announce__link { flex: none; font-weight: 500; border-bottom: 1px solid rgba(254, 230, 196, 0.5); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(254, 230, 196, 0.7); }
  70% { box-shadow: 0 0 0 9px rgba(254, 230, 196, 0); }
  100% { box-shadow: 0 0 0 0 rgba(254, 230, 196, 0); }
}

.site-header__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--header-h);
}

.brand { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; gap: 4px; }
.brand__mark {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.brand__sub {
  font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.62em; text-transform: uppercase;
  padding-left: 2px;
}

.nav { display: none; }
.nav__list { display: flex; gap: clamp(18px, 2.4vw, 40px); }
.nav__link {
  position: relative; display: block;
  font-size: 0.86rem; font-weight: 400; letter-spacing: 0.06em;
  height: 1.7em; line-height: 1.7em;
  overflow: hidden;
}
.nav__list > li { padding-block: 8px; position: relative; }
.nav__label { position: relative; display: inline-block; transition: transform 0.55s var(--ease); }
.nav__label::after {
  content: attr(data-text); position: absolute; left: 0; top: 100%;
  font-style: italic; font-family: var(--serif); font-size: 1.05em;
}
.nav__link:hover .nav__label { transform: translateY(-100%); }
.nav__link::after {
  content: ''; position: absolute; left: 50%; bottom: 2px;
  width: 4px; height: 4px; border-radius: 50%;
  background: currentColor; transform: translateX(-50%) scale(0);
  transition: transform 0.4s var(--ease);
}
.nav__link.is-active::after { transform: translateX(-50%) scale(1); }

.site-header__actions { display: flex; align-items: center; gap: 14px; }
.site-header__phone { display: none; font-size: 0.85rem; letter-spacing: 0.04em; opacity: 0.85; }
.site-header.is-solid .btn--glass {
  --btn-bg: var(--plum); --btn-fg: var(--cream); --btn-fill: var(--plum-800);
  box-shadow: none;
}

.menu-toggle {
  position: relative; z-index: 2;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-content: center; gap: 7px;
  box-shadow: inset 0 0 0 1px currentColor;
}
.menu-toggle__line {
  display: block; width: 20px; height: 1.5px; background: currentColor;
  transition: transform 0.6s var(--ease);
}
.menu-open .menu-toggle__line:first-child { transform: translateY(4.25px) rotate(45deg); }
.menu-open .menu-toggle__line:last-child { transform: translateY(-4.25px) rotate(-45deg); }
.menu-open .site-header { color: var(--cream); transform: none; }
.menu-open .site-header::before { opacity: 0; }
.menu-open .announce { max-height: 0; }

@media (min-width: 1080px) {
  .nav { display: block; }
  .menu-toggle { display: none; }
}
@media (min-width: 1280px) {
  .site-header__phone { display: inline; }
}

/* 07 — Mobile menu ======================================================== */
.mobile-menu {
  position: fixed; inset: 0; z-index: 890;
  visibility: hidden; pointer-events: none;
  color: var(--cream);
}
.mobile-menu__bg {
  position: absolute; inset: 0;
  background: var(--plum-900);
  clip-path: circle(0% at calc(100% - 44px) 44px);
  transition: clip-path 0.9s var(--ease-io);
}
.menu-open .mobile-menu { visibility: visible; pointer-events: auto; }
.menu-open .mobile-menu__bg { clip-path: circle(150% at calc(100% - 44px) 44px); }
.mobile-menu__inner {
  position: relative; height: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  padding-top: calc(var(--header-h) + 32px); padding-bottom: 32px;
  overflow-y: auto;
}
.mobile-menu__list li { overflow: hidden; border-bottom: 1px solid var(--line-light); }
.mobile-menu__link {
  display: flex; align-items: baseline; gap: 18px;
  padding-block: 14px;
  font-family: var(--serif); font-size: clamp(2.2rem, 9vw, 3.4rem); line-height: 1.1;
  transform: translateY(110%);
  transition: transform 0.8s var(--ease);
  transition-delay: calc(var(--i) * 0.05s);
}
.mobile-menu__link.is-active { font-style: italic; }
.mobile-menu__num { font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.2em; opacity: 0.5; }
.menu-open .mobile-menu__link { transform: none; transition-delay: calc(0.25s + var(--i) * 0.06s); }
.mobile-menu__foot {
  display: grid; gap: 22px; margin-top: 40px;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.menu-open .mobile-menu__foot { opacity: 1; transform: none; transition-delay: 0.6s; }
.mobile-menu__contact { display: grid; gap: 6px; font-size: 0.9rem; opacity: 0.75; }

/* 08 — Preloader / curtain / cursor ======================================= */
.preloader {
  position: fixed; inset: 0; z-index: 9995;
  display: grid; place-items: center;
  background: var(--plum-900); color: var(--cream);
  transition: clip-path 1.2s var(--ease-io);
  clip-path: inset(0 0 0 0);
}
.is-loaded .preloader { clip-path: inset(0 0 100% 0); }
.preloader__inner { display: grid; justify-items: center; gap: 28px; text-align: center; }
.preloader__mark {
  font-family: var(--serif); font-size: clamp(4rem, 14vw, 9rem); line-height: 0.9;
  text-transform: uppercase; letter-spacing: 0.04em;
  display: flex; overflow: hidden;
}
.preloader__mark span {
  display: inline-block; transform: translateY(105%);
  animation: rise 1.1s var(--ease) forwards;
}
.preloader__mark span:nth-child(2) { animation-delay: 0.07s; }
.preloader__mark span:nth-child(3) { animation-delay: 0.14s; }
.preloader__mark span:nth-child(4) { animation-delay: 0.21s; }
.preloader__sub { font-size: 0.7rem; letter-spacing: 0.6em; text-transform: uppercase; opacity: 0; animation: fade 1s 0.5s var(--ease) forwards; }
.preloader__meter { width: min(260px, 60vw); display: grid; gap: 10px; opacity: 0; animation: fade 1s 0.6s var(--ease) forwards; }
.preloader__track { height: 1px; background: var(--line-light); overflow: hidden; }
.preloader__bar { height: 100%; background: var(--cream); transform-origin: left; transform: scaleX(0); }
.preloader__row { display: flex; justify-content: space-between; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.7; }
@keyframes rise { to { transform: none; } }
@keyframes fade { to { opacity: 1; } }

.curtain {
  position: fixed; inset: 0; z-index: 9980;
  display: grid; place-items: center;
  background: var(--plum-900); color: var(--cream);
  pointer-events: none;
  transform: translateY(0);
  transition: transform 0.9s var(--ease-io);
}
.curtain__mark {
  font-family: var(--serif); font-size: clamp(3rem, 8vw, 6rem); text-transform: uppercase;
  letter-spacing: 0.05em; opacity: 0; transition: opacity 0.4s;
}
.anim-ready.is-entered .curtain { transform: translateY(-100%); }
.anim-ready.is-leaving .curtain {
  transform: translateY(0);
  transition: transform 0.65s var(--ease-io);
}
.anim-ready.is-leaving .curtain__mark { opacity: 1; transition-delay: 0.3s; }
/* Home: preloader handles the reveal instead */
.has-preloader:not(.is-leaving) .curtain { visibility: hidden; }
html:not(.js) .curtain { display: none; }
.js:not(.anim-ready) .curtain { animation: curtain-failsafe 0s 2.5s forwards; }
@keyframes curtain-failsafe { to { transform: translateY(-100%); } }

.cursor { display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.has-cursor input, .has-cursor textarea, .has-cursor select { cursor: auto; }
.cursor__dot, .cursor__ring {
  position: fixed; top: 0; left: 0; z-index: 9999;
  pointer-events: none; border-radius: 50%;
  opacity: 0; transition: opacity 0.3s;
}
.cursor.is-visible .cursor__dot, .cursor.is-visible .cursor__ring { opacity: 1; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--plum); mix-blend-mode: difference; filter: invert(1); }
.cursor__ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  display: grid; place-items: center;
  border: 1px solid rgba(99, 55, 97, 0.45);
  transition: opacity 0.3s, width 0.45s var(--ease), height 0.45s var(--ease), margin 0.45s var(--ease), background 0.4s, border-color 0.4s;
}
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: rgba(99, 55, 97, 0.8); }
.cursor.has-label .cursor__ring {
  width: 96px; height: 96px; margin: -48px 0 0 -48px;
  background: var(--plum); border-color: var(--plum);
}
.cursor.has-label .cursor__dot { opacity: 0; }
.cursor__label {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cream);
  opacity: 0; transform: scale(0.6); transition: opacity 0.3s, transform 0.45s var(--ease);
}
.cursor.has-label .cursor__label { opacity: 1; transform: none; }

/* 09 — Scroll video hero ================================================== */
.scrolly { position: relative; height: 720vh; background: var(--plum-900); color: var(--cream); --p: 0; }
.scrolly__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.scrolly__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(calc(1.14 - var(--p) * 0.14));
  transform-origin: 50% 60%;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
  will-change: transform;
}
.scrolly.is-ready .scrolly__video, .scrolly.is-static .scrolly__video { opacity: 1; }
.scrolly__poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: blur(6px) brightness(0.7); transform: scale(1.1);
}
.scrolly__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(34, 19, 32, 0.55) 0%, rgba(34, 19, 32, 0) 28%, rgba(34, 19, 32, 0) 55%, rgba(34, 19, 32, 0.75) 100%),
    radial-gradient(120% 90% at 50% 50%, transparent 40%, rgba(34, 19, 32, 0.55) 100%);
}
.scrolly__tint {
  position: absolute; inset: 0; pointer-events: none;
  background: var(--plum-900);
  opacity: calc(0.12 + var(--p) * 0.38);
}

.scrolly__caps { position: absolute; inset: 0; pointer-events: none; }
/* Captions: --o (0→1) is driven by scroll. Side captions slide in from their
   edge; each child travels a little further (--k) so lines arrive staggered. */
.cap {
  --o: 0;
  --x: 0;
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 40px) var(--gutter) 120px;
  opacity: var(--o);
  filter: blur(calc((1 - var(--o)) * 8px));
  will-change: opacity, filter;
}
.cap > * {
  --k: 1;
  transform: translate3d(calc((1 - var(--o)) * var(--x) * var(--k) * 1px), 0, 0);
  will-change: transform;
}
.cap > *:nth-child(2) { --k: 1.45; }
.cap > *:nth-child(3) { --k: 1.9; }
.cap > *:nth-child(4) { --k: 2.3; }
.cap--left { --x: -220; }
.cap--right { --x: 220; }
.cap--center > * {
  transform: translate3d(0, calc((1 - var(--o)) * 40px * var(--k)), 0) scale(calc(0.94 + var(--o) * 0.06));
}

/* Video fades to the plum-black before the finale caption */
.scrolly__fade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(70% 60% at 50% 50%, rgba(99, 55, 97, 0.35), transparent 70%),
    var(--plum-900);
  opacity: var(--fade, 0);
}
.scrolly__hud { opacity: calc(1 - var(--fade, 0)); }
.cap--finale .cap__big { font-size: clamp(3rem, 8.5vw, 8.5rem); max-width: 13ch; }
.cap--finale .cap__eyebrow::after { content: ''; width: 34px; height: 1px; background: currentColor; opacity: 0.6; }
.cap.is-active { pointer-events: auto; }
.cap--center { align-items: center; text-align: center; }
.cap--left { align-items: flex-start; max-width: var(--container); margin-inline: auto; }
.cap--right { align-items: flex-end; text-align: right; max-width: var(--container); margin-inline: auto; }
.cap--bottom { justify-content: flex-end; }

.cap__eyebrow { color: var(--cream); margin-bottom: 26px; }
.cap__title {
  font-size: var(--fs-display);
  line-height: 0.86;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  text-shadow: 0 6px 40px rgba(34, 19, 32, 0.35);
}
.cap__title span { display: block; }
.cap__title .cap__title-sub {
  font-size: 0.24em; letter-spacing: 0.72em; text-transform: uppercase;
  font-family: var(--sans); font-weight: 400;
  margin-top: 0.9em; padding-left: 0.72em;
}
.cap__big {
  font-size: clamp(2.6rem, 7vw, 7rem);
  line-height: 0.98;
  max-width: 12ch;
  text-shadow: 0 6px 40px rgba(34, 19, 32, 0.35);
}
.cap__big em { color: var(--cream); }
.cap__text { max-width: 40ch; margin-top: 26px; font-size: var(--fs-lead); font-weight: 300; opacity: 0.88; }
.cap__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.cap--center .cap__actions { justify-content: center; }

.scrolly__hud {
  position: absolute; inset: auto 0 0;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter) 32px;
  font-size: var(--fs-micro); letter-spacing: 0.24em; text-transform: uppercase;
  pointer-events: none;
}
.scrolly__hint { display: flex; align-items: center; gap: 14px; opacity: calc(1 - var(--p) * 6); }
.scrolly__mouse {
  width: 22px; height: 34px; border-radius: 12px; border: 1px solid rgba(254, 230, 196, 0.6);
  position: relative;
}
.scrolly__mouse::after {
  content: ''; position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px;
  border-radius: 2px; background: var(--cream);
  animation: wheel 1.8s var(--ease) infinite;
}
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(10px); opacity: 0; } }
.scrolly__meter { display: flex; align-items: center; gap: 14px; }
.scrolly__track { width: clamp(80px, 16vw, 220px); height: 1px; background: rgba(254, 230, 196, 0.25); overflow: hidden; }
.scrolly__fill { height: 100%; background: var(--cream); transform-origin: left; transform: scaleX(var(--p)); }
.scrolly__badge { display: none; align-items: center; gap: 10px; }
@media (min-width: 720px) { .scrolly__badge { display: flex; } }

/* Walk-in intro: --open (0→1, set from scroll) opens the arch to full screen
   while the split "Vi | da" title slides apart over it. */
.scrolly { --open: 0; }
.scrolly__sticky { isolation: isolate; }
.scrolly__frame {
  position: absolute; inset: 0; z-index: 1; overflow: hidden;
  --ix: calc((1 - var(--open)) * 28%);
  --iy: calc((1 - var(--open)) * 14%);
  --r: calc((1 - var(--open)) * 22vw);
  clip-path: inset(var(--iy) var(--ix) var(--iy) var(--ix) round var(--r) var(--r) 0 0);
  will-change: clip-path;
}
/* Photos crossfade (--o) and zoom slowly (--z) as you scroll */
.scrolly__img {
  --o: 0; --z: 0;
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: var(--o);
  transform: scale(calc(1.18 - var(--z) * 0.14));
  will-change: transform, opacity;
}
.scrolly__img:first-child { --o: 1; }
.scrolly__fade { z-index: 2; }
.scrolly__caps, .scrolly__hud { z-index: 3; }
.scrolly__word-wrap { position: absolute; inset: 0; z-index: 2; margin: 0; pointer-events: none; }
.scrolly__word {
  position: absolute; top: 50%;
  font-family: var(--serif); font-weight: 500;
  /* Bodoni's display optical size makes hairlines (the V's right stroke) vanish
     over the photo; a text optical size keeps every stroke solid. */
  font-optical-sizing: none; font-variation-settings: 'opsz' 18;
  font-size: clamp(7rem, 27vw, 26rem); line-height: 1; letter-spacing: -0.03em;
  color: var(--cream); white-space: nowrap;
  text-shadow: 0 10px 60px rgba(34, 19, 32, 0.45);
  will-change: transform;
}
.scrolly__word--l { right: 50%; margin-right: -0.01em; transform: translate(calc(var(--open) * -62vw), -58%); }
.scrolly__word--r { left: 50%; margin-left: -0.01em; transform: translate(calc(var(--open) * 62vw), -58%); }
.scrolly__sub {
  position: absolute; left: 0; right: 0; bottom: 13vh; z-index: 3;
  text-align: center; font-size: var(--fs-micro); letter-spacing: 0.5em; text-indent: 0.5em;
  text-transform: uppercase; color: var(--cream);
  opacity: calc(1 - var(--open) * 2.5);
  pointer-events: none;
}
@media (max-width: 760px) {
  .scrolly__word { font-size: 34vw; }
}

/* Phones: a fixed-height sticky stage (svh doesn't change when the address bar
   hides) and none of the per-frame blur / big shadows that make scrolling stutter. */
@media (max-width: 760px), (hover: none) {
  /* Stage always fills the tallest viewport so no purple strip shows when the
     address bar hides; text stays inside the always-visible (svh) area. */
  .scrolly__sticky { height: 100vh; height: 100lvh; }
  .scrolly__caps { bottom: calc(100lvh - 100svh); }
  .scrolly__hud { bottom: calc(100lvh - 100svh); }
  .scrolly__sub { bottom: calc(13svh + 100lvh - 100svh); }
  .scrolly__word-wrap { bottom: calc(100lvh - 100svh); }
  .cap { filter: none; will-change: opacity; }
  .scrolly__word { text-shadow: 0 6px 24px rgba(34, 19, 32, 0.35); }
  .scrolly__shade { background: linear-gradient(180deg, rgba(34, 19, 32, 0.55) 0%, rgba(34, 19, 32, 0) 30%, rgba(34, 19, 32, 0) 55%, rgba(34, 19, 32, 0.8) 100%); }
}

.scrolly.is-static { height: auto; --open: 1; }
.scrolly.is-static .scrolly__word-wrap, .scrolly.is-static .scrolly__sub { display: none; }
.scrolly.is-static .scrolly__sticky { position: relative; height: 100svh; }
.scrolly.is-static .scrolly__hud { display: none; }

/* 10 — Home sections ====================================================== */

/* Marquee */
.marquee {
  background: var(--plum);
  color: var(--cream);
  padding-block: 26px;
  overflow: hidden;
  display: flex;
  user-select: none;
  border-block: 1px solid var(--line-light);
}
.marquee__track {
  display: flex; flex: none; gap: 48px; padding-right: 48px;
  animation: marquee 38s linear infinite;
  font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.6rem); font-style: italic;
  white-space: nowrap;
}
.marquee__track span { display: inline-flex; align-items: center; gap: 48px; }
.marquee__track span::after { content: '✦'; font-style: normal; font-size: 0.5em; opacity: 0.6; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* Intro */
.intro__grid { display: grid; gap: clamp(56px, 7vw, 110px); }
.intro__statement {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.2vw, 4.1rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 22ch;
}
.intro__statement em { color: var(--plum); }
.intro__cols { display: grid; gap: 56px; align-items: start; }
.intro__media { position: relative; }
.intro__media .media--tall { aspect-ratio: 4 / 5; }
.intro__media .media--float {
  position: absolute; width: 44%; aspect-ratio: 3 / 4;
  right: -4%; bottom: -10%;
  border: 8px solid var(--ivory);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(34, 19, 32, 0.5);
}
.intro__seal {
  position: absolute; left: -18px; top: -18px; z-index: 2;
  width: 132px; height: 132px;
  animation: spin 22s linear infinite;
  color: var(--plum);
}
.intro__seal text { font-family: var(--sans); font-size: 10.5px; letter-spacing: 3.2px; text-transform: uppercase; fill: currentColor; }
@keyframes spin { to { transform: rotate(360deg); } }
.intro__copy { display: grid; gap: 26px; align-content: start; }
.intro__copy p { color: var(--muted); max-width: 52ch; }

.stats {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  margin-top: clamp(64px, 8vw, 120px);
}
.stat { padding: 34px 0 0; display: grid; gap: 8px; }
.stat + .stat { padding-left: 0; }
.stat__num { font-family: var(--serif); font-size: clamp(3rem, 6vw, 5.5rem); line-height: 1; color: var(--plum); letter-spacing: -0.03em; }
.stat__label { font-size: var(--fs-small); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 900px) {
  .intro__cols { grid-template-columns: 1fr 1fr; gap: clamp(64px, 8vw, 140px); }
  .intro__copy { padding-top: 12%; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat + .stat { padding-left: 32px; border-left: 1px solid var(--line); }
}

/* Deals */
.deals { background: var(--plum-900); color: var(--cream); overflow: hidden; }
.deals__glow {
  position: absolute; width: 70vw; height: 70vw; border-radius: 50%;
  right: -20vw; top: -20vw; pointer-events: none;
  background: radial-gradient(circle, rgba(99, 55, 97, 0.65), transparent 65%);
  filter: blur(20px);
}
.deals .section-head__aside { color: rgba(254, 230, 196, 0.7); }
.deals h2 em { color: var(--cream); opacity: 0.75; }
.deals__grid { position: relative; display: grid; gap: 22px; }
.deal {
  position: relative;
  display: grid; gap: 28px; align-content: space-between;
  min-height: 380px;
  padding: clamp(28px, 3.4vw, 48px);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(254, 230, 196, 0.09), rgba(254, 230, 196, 0.02));
  border: 1px solid var(--line-light);
  overflow: hidden;
  transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0));
  transition: transform 0.6s var(--ease), border-color 0.4s;
}
.deal::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(254, 230, 196, 0.12), transparent 45%);
  opacity: 0; transition: opacity 0.4s;
}
.deal:hover { border-color: rgba(254, 230, 196, 0.4); }
.deal:hover::after { opacity: 1; }
.deal__tag {
  justify-self: start;
  padding: 7px 14px; border-radius: 999px;
  font-size: var(--fs-micro); letter-spacing: 0.2em; text-transform: uppercase;
  border: 1px solid var(--line-light);
}
.deal__name { font-size: clamp(1.9rem, 3vw, 2.8rem); }
.deal__price { display: flex; align-items: baseline; gap: 18px; }
.deal__now { font-family: var(--serif); font-size: clamp(4.5rem, 9vw, 8rem); line-height: 0.85; letter-spacing: -0.04em; }
.deal__now sup { font-size: 0.4em; vertical-align: top; position: relative; top: 0.25em; margin-right: 0.05em; }
.deal__was { font-size: 1rem; opacity: 0.6; }
.deal__was s { font-size: 1.3rem; }
.deal--image { display: block; padding: 0; min-height: 380px; }
.deal--image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.deal--image .deal__overlay {
  position: absolute; inset: 0; z-index: 1; display: grid; align-content: end; justify-items: start; gap: 16px;
  padding: clamp(28px, 3.4vw, 48px);
  background: linear-gradient(180deg, transparent 30%, rgba(34, 19, 32, 0.85));
}
.countdown { display: flex; align-items: baseline; gap: 12px; }
.countdown__num { font-family: var(--serif); font-size: 3.6rem; line-height: 1; }
.countdown__unit { font-size: var(--fs-small); letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.8; }
.deals__foot {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px;
  margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line-light);
  font-size: var(--fs-small); color: rgba(254, 230, 196, 0.75);
}
@media (min-width: 900px) {
  .deals__grid { grid-template-columns: 1fr 1fr 0.9fr; }
}

/* Services rail */
.rail { position: relative; background: var(--ivory); }
.rail__sticky { padding-block: var(--section); }
.rail.is-pinned .rail__sticky {
  position: sticky; top: 0; height: 100vh;
  padding-block: 0;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.rail__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.rail__head h2 { max-width: 12ch; }
.rail__progress-track { width: 180px; height: 1px; background: var(--line); overflow: hidden; }
.rail__progress { height: 100%; background: var(--plum); transform-origin: left; transform: scaleX(0); }
.rail__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rail__viewport::-webkit-scrollbar { display: none; }
.rail.is-pinned .rail__viewport { overflow: visible; }
.rail__track {
  display: flex; gap: clamp(16px, 2vw, 28px);
  padding-inline: var(--gutter);
  width: max-content;
  will-change: transform;
}
@media (min-width: 1360px) {
  .rail__track { padding-left: calc((100vw - var(--container)) / 2 + var(--gutter)); }
}

.svc-card {
  position: relative; flex: none;
  width: min(78vw, 400px);
  display: grid; grid-template-rows: auto 1fr; gap: 22px;
  scroll-snap-align: start;
}
.svc-card__media { aspect-ratio: 4 / 5; border-radius: var(--radius); }
.svc-card__media img { transition: transform 1.2s var(--ease); }
.svc-card:hover .svc-card__media img { transform: scale(1.07); }
.svc-card__num {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(251, 246, 239, 0.88); backdrop-filter: blur(8px);
  font-size: var(--fs-micro); letter-spacing: 0.16em;
}
.svc-card__new {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  padding: 6px 12px; border-radius: 999px;
  background: var(--plum); color: var(--cream);
  font-size: var(--fs-micro); letter-spacing: 0.2em; text-transform: uppercase;
}
.svc-card__body { display: grid; gap: 8px; align-content: start; }
.svc-card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.svc-card__name { font-size: 1.7rem; }
.svc-card__from { font-size: var(--fs-small); color: var(--muted); white-space: nowrap; }
.svc-card__from strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: var(--plum); }
.svc-card__meta { font-size: var(--fs-small); color: var(--muted); }
.svc-card--more {
  display: grid; place-content: center; justify-items: center; gap: 22px; text-align: center;
  aspect-ratio: 4 / 5; align-self: start;
  border-radius: var(--radius);
  background: var(--plum); color: var(--cream);
  padding: 32px;
  transition: background 0.5s var(--ease);
}
.svc-card--more:hover { background: var(--plum-800); }
.svc-card--more h3 { font-size: 2.4rem; }
.svc-card--more h3 em { color: var(--cream); }
.svc-card--more .link-arrow { color: var(--cream); }

/* Membership */
.membership { position: relative; min-height: 100vh; display: grid; align-items: center; color: var(--cream); overflow: hidden; }
.membership__bg { position: absolute; inset: 0; }
.membership__bg img { width: 100%; height: 100%; object-fit: cover; }
.membership__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(34, 19, 32, 0.88) 10%, rgba(34, 19, 32, 0.35) 70%); }
.membership__inner { position: relative; padding-block: var(--section); display: grid; gap: 48px; }
.membership__card {
  max-width: 640px;
  display: grid; gap: 26px;
}
.membership__card h2 em { color: var(--cream); opacity: 0.75; }
.membership__price { display: flex; align-items: flex-end; gap: 14px; }
.membership__amount { font-family: var(--serif); font-size: clamp(6rem, 15vw, 13rem); line-height: 0.8; letter-spacing: -0.05em; }
.membership__amount sup { font-size: 0.35em; vertical-align: top; position: relative; top: 0.3em; }
.membership__per { padding-bottom: 10px; font-size: var(--fs-small); letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.85; }
.membership__list { display: grid; gap: 12px; }
.membership__list li { display: flex; gap: 14px; align-items: baseline; }
.membership__list li::before { content: '✦'; font-size: 0.7em; opacity: 0.7; }
.membership__fine { font-size: var(--fs-small); opacity: 0.7; }

/* Team preview */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 2vw, 28px); }
.member { display: grid; gap: 18px; }
.member__media { aspect-ratio: 3 / 4; border-radius: var(--radius); }
.member__media img { filter: grayscale(0.25) contrast(1.02); transition: transform 1.2s var(--ease), filter 0.8s var(--ease); }
.member:hover .member__media img { transform: scale(1.06); filter: none; }
.member__overlay {
  position: absolute; inset: auto 0 0; z-index: 2;
  padding: 20px;
  background: linear-gradient(transparent, rgba(34, 19, 32, 0.8));
  color: var(--cream); font-size: var(--fs-small);
  transform: translateY(101%); transition: transform 0.6s var(--ease);
}
.member:hover .member__overlay { transform: none; }
.member__name { font-size: 1.7rem; }
/* Source portrait has a white band along the bottom edge — crop it out */
.media img.img-crop-bottom { height: 106%; object-position: 50% 0; }
.member__role { font-size: var(--fs-small); color: var(--muted); letter-spacing: 0.08em; }
@media (min-width: 900px) {
  .team-grid { grid-template-columns: repeat(4, 1fr); }
  .team-grid .member:nth-child(even) { margin-top: 80px; }
}

/* Testimonial */
.quote { text-align: center; display: grid; justify-items: center; gap: 36px; }
.quote__mark { font-family: var(--serif); font-size: 9rem; line-height: 0.4; color: var(--plum); opacity: 0.25; height: 60px; }
.quote__text {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4vw, 3.6rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
  max-width: 24ch;
}
.quote__text em { color: var(--plum); }
.quote__by { display: flex; align-items: center; gap: 14px; font-size: var(--fs-small); letter-spacing: 0.16em; text-transform: uppercase; }
.quote__stars { color: var(--gold); letter-spacing: 4px; }

/* Visit / hours */
.visit__grid { display: grid; gap: clamp(40px, 5vw, 80px); }
.visit__info { display: grid; gap: 36px; align-content: start; }
.hours-table { display: grid; border-top: 1px solid var(--line); }
.hours-table li {
  display: flex; justify-content: space-between; gap: 18px;
  padding: 16px 4px; border-bottom: 1px solid var(--line);
  transition: background 0.3s, padding 0.4s var(--ease);
}
.hours-table li.is-today { color: var(--plum); font-weight: 500; padding-inline: 16px; background: rgba(99, 55, 97, 0.06); border-radius: 12px; }
.hours-table li.is-today span:first-child::after { content: ' · Today'; font-size: var(--fs-micro); letter-spacing: 0.14em; text-transform: uppercase; }
.open-badge { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-small); }
.open-badge__dot { width: 9px; height: 9px; border-radius: 50%; background: #b5564d; }
.open-badge.is-open .open-badge__dot { background: #4f9b72; animation: pulse-green 2.2s infinite; }
@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(79, 155, 114, 0.6); }
  70% { box-shadow: 0 0 0 9px rgba(79, 155, 114, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 155, 114, 0); }
}
.map {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  min-height: 420px; background: var(--sand-2);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.85) sepia(0.2) contrast(0.95); transition: filter 0.6s; }
.map:hover iframe { filter: none; }
.map__pin {
  position: absolute; left: 20px; bottom: 20px; z-index: 2;
  display: grid; gap: 4px;
  padding: 18px 22px; border-radius: 18px;
  background: var(--ivory); box-shadow: 0 20px 40px -20px rgba(34, 19, 32, 0.4);
  font-size: var(--fs-small);
}
.map__pin strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; }
@media (min-width: 900px) { .visit__grid { grid-template-columns: 0.9fr 1.1fr; } }

/* 11 — Inner pages ======================================================== */
.page-hero {
  position: relative; min-height: 88vh; min-height: 88svh;
  display: grid; align-items: end;
  color: var(--cream); overflow: hidden;
  background: var(--plum-900);
}
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(34, 19, 32, 0.55) 0%, rgba(34, 19, 32, 0.25) 40%, rgba(34, 19, 32, 0.85) 100%);
}
.page-hero__inner { position: relative; padding-top: calc(var(--header-h) + 120px); padding-bottom: clamp(48px, 7vw, 100px); display: grid; gap: 28px; }
.page-hero__title { font-size: clamp(3.4rem, 10vw, 10rem); line-height: 0.9; letter-spacing: -0.035em; }
.page-hero__title em { color: var(--cream); opacity: 0.8; }
.page-hero__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 28px; }
.page-hero__lead { max-width: 46ch; font-size: var(--fs-lead); font-weight: 300; opacity: 0.88; }
.crumbs { display: flex; gap: 10px; font-size: var(--fs-micro); letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.8; }
.crumbs a:hover { text-decoration: underline; }

/* Services page */
.svc-layout { display: grid; gap: 48px; }
.svc-index { display: none; }
@media (min-width: 1080px) {
  .svc-layout { grid-template-columns: 260px 1fr; gap: clamp(48px, 6vw, 110px); }
  .svc-index { display: block; position: sticky; top: 120px; align-self: start; }
}
.svc-index__title { font-size: var(--fs-micro); letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.svc-index ol { display: grid; gap: 4px; counter-reset: svc; list-style: none; padding: 0; }
.svc-index a {
  display: flex; gap: 14px; align-items: baseline;
  padding: 8px 0; color: var(--muted);
  transition: color 0.3s, transform 0.5s var(--ease);
}
.svc-index a::before { counter-increment: svc; content: counter(svc, decimal-leading-zero); font-size: var(--fs-micro); letter-spacing: 0.1em; }
.svc-index a:hover { color: var(--ink); }
.svc-index a.is-active { color: var(--plum); transform: translateX(10px); font-family: var(--serif); font-style: italic; font-size: 1.15rem; }

.svc-list { display: grid; gap: clamp(80px, 10vw, 150px); }
.svc { display: grid; gap: clamp(28px, 4vw, 56px); scroll-margin-top: 110px; }
.svc__media { aspect-ratio: 16 / 11; border-radius: var(--radius-lg); }
.svc__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px 20px; }
.svc__num { font-size: var(--fs-micro); letter-spacing: 0.22em; color: var(--muted); }
.svc__title { font-size: clamp(2.4rem, 4.4vw, 4rem); }
.svc__badge {
  padding: 6px 12px; border-radius: 999px;
  background: var(--plum); color: var(--cream);
  font-size: var(--fs-micro); letter-spacing: 0.2em; text-transform: uppercase;
}
.svc__desc { color: var(--muted); max-width: 60ch; }
.svc__body { display: grid; gap: 26px; }
.price-table { display: grid; border-top: 1px solid var(--line); }
.price-table li {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.price-table li::after { content: ''; order: 2; height: 1px; border-bottom: 1px dashed var(--line); }
.price-table__dur { order: 1; font-size: var(--fs-small); letter-spacing: 0.1em; text-transform: uppercase; }
.price-table__price { order: 3; font-family: var(--serif); font-size: 1.9rem; color: var(--plum); line-height: 1; }
.svc__note {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 20px; border-radius: 16px;
  background: var(--sand); font-size: var(--fs-small);
}
.svc__note::before { content: 'i'; flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid currentColor; font-family: var(--serif); font-style: italic; font-size: 0.8rem; margin-top: 1px; }
.svc__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 760px) {
  .svc { grid-template-columns: 1fr 1fr; align-items: start; }
  .svc__media { aspect-ratio: 4 / 5; position: sticky; top: 120px; }
  .svc:nth-child(even) .svc__media { order: 2; }
}

.addons { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.addon {
  position: relative; overflow: hidden;
  display: grid; align-content: end;
  min-height: 340px; padding: 24px;
  border-radius: var(--radius);
  color: var(--cream);
  isolation: isolate;
}
.addon img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.addon::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 30%, rgba(34, 19, 32, 0.85)); }
.addon:hover img { transform: scale(1.08); }
.addon h3 { font-size: 1.6rem; }
.addon p { font-size: var(--fs-small); opacity: 0.85; margin-top: 6px; }

.gift {
  display: grid; gap: 28px; align-items: center;
  padding: clamp(36px, 5vw, 72px);
  border-radius: var(--radius-lg);
  background: var(--forest); color: var(--cream);
  position: relative; overflow: hidden;
}
.gift h2 em { color: var(--cream); opacity: 0.75; }
.gift p { opacity: 0.8; max-width: 46ch; }
.gift__art { position: absolute; right: -60px; bottom: -80px; width: 340px; opacity: 0.12; color: var(--cream); }
@media (min-width: 900px) { .gift { grid-template-columns: 1.4fr auto; } }

/* Therapists page */
.therapists { display: grid; gap: clamp(90px, 12vw, 180px); }
.therapist { display: grid; gap: clamp(32px, 5vw, 90px); align-items: center; }
.therapist__media { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); max-width: 560px; width: 100%; }
.therapist__index { font-family: var(--serif); font-size: clamp(5rem, 12vw, 11rem); line-height: 0.8; color: var(--plum); opacity: 0.12; }
.therapist__body { display: grid; gap: 22px; }
.therapist__name { font-size: clamp(3rem, 6vw, 6rem); line-height: 0.95; }
.therapist__role { font-size: var(--fs-small); letter-spacing: 0.22em; text-transform: uppercase; color: var(--plum); }
.therapist__bio { color: var(--muted); max-width: 56ch; display: grid; gap: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: var(--fs-small); }
.therapist__fact { display: flex; align-items: baseline; gap: 12px; }
.therapist__fact strong { font-family: var(--serif); font-weight: 400; font-size: 3rem; line-height: 1; color: var(--plum); }
.therapist__fact span { font-size: var(--fs-small); color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
@media (min-width: 900px) {
  .therapist { grid-template-columns: 1fr 1fr; }
  .therapist:nth-child(even) .therapist__media { order: 2; justify-self: end; }
}

/* About page */
.mission { display: grid; gap: clamp(48px, 6vw, 96px); }
.mission__text { display: grid; gap: 22px; color: var(--muted); max-width: 60ch; }
.mission__text p:first-child { color: var(--ink); font-size: var(--fs-lead); }
.mission__media { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: end; }
.mission__media .media:first-child { aspect-ratio: 3 / 4; }
.mission__media .media:last-child { aspect-ratio: 4 / 5; margin-bottom: 18%; }
@media (min-width: 900px) { .mission { grid-template-columns: 1fr 1fr; align-items: center; } }

.values { display: grid; gap: 1px; background: var(--line-light); border-radius: var(--radius-lg); overflow: hidden; }
.value { background: var(--plum-900); padding: clamp(32px, 4vw, 56px); display: grid; gap: 18px; align-content: start; min-height: 320px; }
.value__num { font-size: var(--fs-micro); letter-spacing: 0.24em; opacity: 0.6; }
.value h3 { font-size: clamp(2rem, 3vw, 2.8rem); }
.value p { opacity: 0.75; }
@media (min-width: 900px) { .values { grid-template-columns: repeat(3, 1fr); } }

.timeline { position: relative; display: grid; gap: 0; }
.timeline::before {
  content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px;
  background: linear-gradient(var(--plum) calc(var(--sp, 0) * 140%), var(--line) 0);
}
.milestone { position: relative; display: grid; gap: 10px; padding: 0 0 clamp(48px, 6vw, 80px) 48px; }
.milestone::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--ivory); border: 1px solid var(--plum);
}
.milestone__year { font-family: var(--serif); font-size: clamp(3rem, 6vw, 5.5rem); line-height: 1; color: var(--plum); }
.milestone h3 { font-size: 1.6rem; }
.milestone p { color: var(--muted); max-width: 48ch; }

/* FAQ */
.faq-layout { display: grid; gap: 56px; }
@media (min-width: 900px) { .faq-layout { grid-template-columns: 0.8fr 1.2fr; } .faq-aside { position: sticky; top: 130px; align-self: start; } }
.faq-aside { display: grid; gap: 24px; align-content: start; }
.faq-aside p { color: var(--muted); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 28px 0;
  font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 1.9rem); line-height: 1.2;
  cursor: pointer;
  transition: color 0.3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--plum); }
.faq__icon {
  flex: none; position: relative; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line);
  transition: background 0.4s var(--ease), border-color 0.4s, transform 0.6s var(--ease);
}
.faq__icon::before, .faq__icon::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -0.75px 0 0 -7px;
  background: currentColor; transition: transform 0.5s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
details.is-open .faq__icon, details[open]:not([data-anim]) .faq__icon { background: var(--plum); border-color: var(--plum); color: var(--cream); transform: rotate(180deg); }
details.is-open .faq__icon::after { transform: rotate(0deg); }
.faq__body { overflow: hidden; transition: height 0.6s var(--ease); }
.faq__content { padding: 0 0 30px; color: var(--muted); max-width: 62ch; display: grid; gap: 12px; }

/* Contact */
.contact-cards { display: grid; gap: 18px; }
.contact-card {
  display: grid; gap: 14px; align-content: space-between;
  min-height: 240px; padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--sand);
  transition: background 0.5s var(--ease), color 0.5s var(--ease), transform 0.6s var(--ease);
}
.contact-card:hover { background: var(--plum); color: var(--cream); transform: translateY(-6px); }
.contact-card:hover .eyebrow { color: var(--cream); }
.contact-card__value { font-family: var(--serif); font-size: clamp(1.5rem, 2.3vw, 2.1rem); line-height: 1.15; word-break: break-word; }
.contact-card__hint { font-size: var(--fs-small); opacity: 0.7; }
@media (min-width: 760px) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }

.form { display: grid; gap: 22px; }
.form__row { display: grid; gap: 22px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { position: relative; display: grid; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 26px 0 12px;
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line);
  border-radius: 0;
  font-size: 1.05rem;
  transition: border-color 0.3s;
  appearance: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23633761' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 4px center; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--plum); }
.field label {
  position: absolute; left: 0; top: 26px;
  color: var(--muted); pointer-events: none;
  transform-origin: left top;
  transition: transform 0.4s var(--ease), color 0.3s;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field--select label {
  transform: translateY(-22px) scale(0.78); color: var(--plum);
}
.form__note { font-size: var(--fs-small); color: var(--muted); }

/* 12 — Footer ============================================================= */
.site-footer {
  position: relative;
  background: var(--plum-900);
  color: var(--cream);
  overflow: hidden;
}
.footer-cta {
  display: grid; justify-items: center; text-align: center; gap: 30px;
  padding-block: clamp(110px, 14vw, 220px) clamp(80px, 9vw, 140px);
  border-bottom: 1px solid var(--line-light);
}
.footer-cta__title { font-size: clamp(3.2rem, 9vw, 9rem); line-height: 0.92; max-width: 12ch; }
.footer-cta__title em { color: var(--cream); opacity: 0.7; }
.footer-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 10px; }

.footer-grid {
  display: grid; gap: 48px;
  padding-block: clamp(64px, 7vw, 100px);
  font-size: 0.95rem;
}
.footer-col { display: grid; gap: 16px; align-content: start; }
.footer-col p { opacity: 0.72; max-width: 34ch; }
.footer-col__title { font-family: var(--sans); font-size: var(--fs-micro); font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.6; }
.footer-col__title--spaced { margin-top: 18px; }
.footer-note { font-size: var(--fs-small); }
.footer-links { display: grid; gap: 10px; }
.footer-links small { opacity: 0.55; font-size: 0.78em; margin-left: 4px; }
.footer-links--inline { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hours-list { display: grid; gap: 8px; }
.hours-list li { display: flex; justify-content: space-between; gap: 18px; opacity: 0.72; font-size: 0.9rem; }
.hours-list li.is-today { opacity: 1; font-weight: 500; }
.hours-list li.is-today span:first-child::before { content: '● '; font-size: 0.7em; vertical-align: 2px; }
.brand--footer .brand__mark { font-size: 2.6rem; }
.social { display: flex; gap: 10px; margin-top: 6px; }
.social a {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-light);
  transition: background 0.4s var(--ease), color 0.4s, transform 0.5s var(--ease);
}
.social a:hover { background: var(--cream); color: var(--plum-900); transform: translateY(-3px); }
.social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.social svg .fill { fill: currentColor; stroke: none; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1.1fr 1.2fr; } }

.footer-wordmark {
  font-family: var(--serif);
  font-size: 11.4vw;
  line-height: 0.78;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  white-space: nowrap;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(254, 230, 196, 0.22);
  user-select: none;
  overflow: hidden;
  padding-top: 0.06em;
}
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px;
  padding-block: 28px;
  border-top: 1px solid var(--line-light);
  font-size: var(--fs-small); opacity: 0.7;
}
.to-top { display: inline-flex; gap: 8px; font-size: var(--fs-small); }
.to-top:hover { text-decoration: underline; }

.float-book {
  position: fixed; right: 16px; bottom: 16px; z-index: 800;
  padding: 15px 24px; border-radius: 999px;
  background: var(--plum); color: var(--cream);
  font-size: 0.9rem; font-weight: 500; letter-spacing: 0.04em;
  box-shadow: 0 16px 40px -14px rgba(34, 19, 32, 0.7);
  transform: translateY(140%); transition: transform 0.6s var(--ease);
}
.float-book.is-visible { transform: none; }
@media (min-width: 1080px) { .float-book { display: none; } }
.menu-open .float-book { transform: translateY(140%); }

/* 13 — Motion states ====================================================== */
/* Hidden states only apply once JS is confirmed running (html.js) */
.js [data-reveal] {
  opacity: 0; transform: translate3d(0, 40px, 0);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--d, 0) * 1s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js [data-stagger] > * {
  opacity: 0; transform: translate3d(0, 46px, 0);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.09s);
}
.js [data-stagger].is-in > * { opacity: 1; transform: none; }

.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.w__i { display: inline-block; }
.js [data-split] .w__i {
  transform: translate3d(0, 110%, 0) rotate(4deg);
  transform-origin: left bottom;
  transition: transform 1.2s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.045s);
}
.js [data-split].is-in .w__i { transform: none; }

/* Clip the image, not the observed container — IntersectionObserver treats a
   fully clipped target as invisible and would never fire. */
.js [data-reveal-img] { background: transparent; }
.js [data-reveal-img] img {
  clip-path: inset(100% 0 0 0);
  transform: scale(1.3);
  transition: clip-path 1.5s var(--ease-io), transform 2s var(--ease);
}
.js [data-reveal-img].is-in img { clip-path: inset(0 0 0 0); transform: none; }
/* Parallax images are moved by JS every frame — never ease their transform */
.js [data-reveal-img] img[data-parallax] { transition: clip-path 1.5s var(--ease-io); }
.page-hero__media img[data-parallax] { transition: none !important; }

/* Failsafe: if main.js never runs, show everything after 3s */
.js:not(.anim-ready) [data-reveal],
.js:not(.anim-ready) [data-stagger] > *,
.js:not(.anim-ready) [data-split] .w__i { animation: failsafe 0s 3s forwards; }
.js:not(.anim-ready) [data-reveal-img] img { animation: failsafe-clip 0s 3s forwards; }
@keyframes failsafe { to { opacity: 1; transform: none; } }
@keyframes failsafe-clip { to { clip-path: none; } }

/* Hero intro once preloader lifts */
.page-hero__inner > * { transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.anim-ready:not(.is-entered) .page-hero__inner > * { opacity: 0; transform: translateY(30px); }
.page-hero__inner > *:nth-child(2) { transition-delay: 0.1s; }
.page-hero__inner > *:nth-child(3) { transition-delay: 0.2s; }
.page-hero__media img { transform: scale(1.12); transition: transform 2.4s var(--ease); }
.anim-ready.is-entered .page-hero__media img:not([data-parallax]) { transform: scale(1); }

/* 14 — Responsive & reduced motion ======================================= */
@media (max-width: 899px) {
  :root { --header-h: 72px; }
  .brand__mark { font-size: 1.65rem; }
  .brand__sub { font-size: 0.55rem; letter-spacing: 0.55em; }
  .site-header__actions .btn--glass { display: none; }
  .announce { font-size: 0.72rem; }
  .announce p strong ~ * { display: none; }
  .intro__media .media--float { right: 0; bottom: -8%; width: 46%; }
  .intro__seal { width: 104px; height: 104px; left: -6px; top: -26px; }
  .scrolly { height: 620vh; }
  .cap--left { --x: -120; }
  .cap--right { --x: 120; }
  .cap { padding-bottom: 110px; }
  .cap__eyebrow { letter-spacing: 0.2em; }
  .cap__eyebrow::before { display: none; }
  .deal { min-height: 0; gap: 22px; }
  .deal--image { min-height: 360px; }
  .cap--right { align-items: flex-start; text-align: left; }
  .map { min-height: 340px; }
}
@media (max-width: 520px) {
  .announce__link { display: none; }
  .deal__price { flex-wrap: wrap; }
  .btn--lg { padding: 20px 30px; }
  .cap__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee__track { animation: none; }
  .js [data-reveal], .js [data-stagger] > *, .js [data-split] .w__i { opacity: 1; transform: none; }
  .js [data-reveal-img] img { clip-path: none; transform: none; }
  .curtain { display: none; }
}
