/* ==========================================================================
   Mindbody Lounge — site.css
   Brand: Poppins · Off-White #FFFBF9 · Moss #8b8c7f · Clay #A0938A
          Graphite #525759 · Charcoal #343434
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --off-white: #FFFBF9;
  --moss:      #8b8c7f;
  --clay:      #A0938A;
  --graphite:  #525759;
  --charcoal:  #343434;

  /* derived warm neutrals */
  --tint:        #F4EEE9;
  --tint-deep:   #EBE4DD;
  --tint-moss:   #E9EBE4;
  --charcoal-2:  #2B2B2B;

  --line:       rgba(52, 52, 52, .14);
  --line-soft:  rgba(52, 52, 52, .08);
  --line-light: rgba(255, 251, 249, .18);

  --ink:      var(--charcoal);
  --ink-soft: var(--graphite);

  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --container: 1320px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(76px, 9vw, 150px);

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --nav-h: 68px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
}

body {
  font-family: var(--font);
  font-weight: 300;
  font-size: clamp(.95rem, .35vw + .88rem, 1.0625rem);
  line-height: 1.7;
  color: var(--ink);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }

::selection { background: var(--moss); color: var(--off-white); }

:focus-visible {
  outline: 2px solid var(--moss);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute; top: -100px; left: var(--gutter); z-index: 200;
  background: var(--charcoal); color: var(--off-white);
  padding: 12px 20px; border-radius: var(--r-pill); font-size: .85rem; font-weight: 500;
}
.skip-link:focus { top: 14px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- 3. Layout ---------- */
.container {
  width: 100%; max-width: var(--container);
  margin-inline: auto; padding-inline: var(--gutter);
}
.container--narrow { max-width: 920px; }
.container--text   { max-width: 760px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(52px, 6vw, 92px); }
.section--flush-top { padding-top: 0; }

/* Surfaces */
.surface-dark  { background: var(--charcoal); color: var(--off-white); }
.surface-tint  { background: var(--tint); }
.surface-moss  { background: var(--tint-moss); }
.surface-clay  { background: var(--clay); color: var(--off-white); }
.surface-dark  ::selection { background: var(--off-white); color: var(--charcoal); }

.grid { display: grid; gap: clamp(24px, 3vw, 48px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.rule { height: 1px; background: var(--line); border: 0; }
.surface-dark .rule { background: var(--line-light); }

/* ---------- 4. Typography ----------
   Light Poppins throughout. Display weights sit at 200; nothing above 500. */
.display,
h1.hero-title {
  font-weight: 200;
  font-size: clamp(2.7rem, 6.6vw, 6rem);
  line-height: 1.02;
  letter-spacing: -.035em;
}

h1, .h1 {
  font-weight: 200;
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -.032em;
}

h2, .h2 {
  font-weight: 200;
  font-size: clamp(1.9rem, 3.7vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: -.028em;
}

h3, .h3 {
  font-weight: 300;
  font-size: clamp(1.15rem, 1.5vw, 1.5rem);
  line-height: 1.28;
  letter-spacing: -.018em;
}

h4, .h4 {
  font-weight: 400;
  font-size: clamp(1rem, 1.05vw, 1.125rem);
  line-height: 1.35;
  letter-spacing: -.01em;
}

/* Italic accent word */
.accent {
  font-style: italic;
  font-weight: 300;
  letter-spacing: -.015em;
  color: var(--clay);
}
.surface-dark .accent { color: var(--moss); }

.eyebrow {
  display: inline-block;
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.surface-dark .eyebrow,
.surface-clay .eyebrow,
.hero .eyebrow { color: rgba(255, 251, 249, .78); }

/* Over photography the clay accent washes out — let the italic carry it */
.hero .accent { color: var(--off-white); }

.lead {
  font-size: clamp(1.02rem, .55vw + .92rem, 1.22rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-soft);
}
.surface-dark .lead { color: rgba(255, 251, 249, .78); }

.muted { color: var(--ink-soft); }
.surface-dark .muted { color: rgba(255, 251, 249, .68); }

.small { font-size: .875rem; line-height: 1.55; }
.tiny  { font-size: .78rem; line-height: 1.5; }

.measure    { max-width: 62ch; }
.measure-sm { max-width: 46ch; }
.center     { text-align: center; }
.center .measure, .center .measure-sm { margin-inline: auto; }

.stack > * + * { margin-top: var(--stack, 1rem); }
.stack-lg { --stack: 1.6rem; }
.stack-sm { --stack: .55rem; }

/* Rich text (privacy policy, long-form) */
.prose h2 { margin-top: 2.6em; margin-bottom: .5em; font-size: clamp(1.35rem, 1.8vw, 1.8rem); }
.prose h3 { margin-top: 2em; margin-bottom: .4em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.1em; color: var(--ink-soft); }
.prose ul { list-style: none; }
.prose ul li { position: relative; padding-left: 1.4em; margin-bottom: .5em; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: .68em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--clay);
}
.prose a { color: var(--charcoal); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--clay); }
.prose a:hover { color: var(--moss); }
.prose strong { font-weight: 500; color: var(--ink); }

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: var(--charcoal);
  --btn-fg: var(--off-white);
  --btn-bd: var(--charcoal);
  display: inline-flex; align-items: center; gap: .7em;
  padding: .95em 1.6em;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-pill);
  font-size: .78rem; font-weight: 400; letter-spacing: .13em; text-transform: uppercase;
  line-height: 1; white-space: nowrap;
  transition: background .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); --btn-bg: var(--moss); --btn-bd: var(--moss); --btn-fg: var(--off-white); }
.btn:active { transform: translateY(0); }

.btn .arw { transition: transform .35s var(--ease); flex: none; }
.btn:hover .arw { transform: translateX(4px); }

.btn--light   { --btn-bg: var(--off-white); --btn-fg: var(--charcoal); --btn-bd: var(--off-white); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--charcoal); --btn-bd: var(--line); }
.btn--outline:hover { --btn-bg: var(--charcoal); --btn-fg: var(--off-white); --btn-bd: var(--charcoal); }
.btn--ghost   { --btn-bg: transparent; --btn-fg: var(--off-white); --btn-bd: rgba(255,251,249,.42); }
.btn--ghost:hover { --btn-bg: var(--off-white); --btn-fg: var(--charcoal); --btn-bd: var(--off-white); }
.btn--sm { padding: .72em 1.15em; font-size: .72rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center .btn-row { justify-content: center; }

/* Text link with underline reveal */
.link-u {
  display: inline-flex; align-items: center; gap: .45em;
  font-size: .82rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase;
  padding-bottom: 4px; border-bottom: 1px solid var(--line);
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.link-u:hover { border-color: var(--moss); color: var(--moss); }
.surface-dark .link-u { border-color: var(--line-light); }
.surface-dark .link-u:hover { border-color: var(--off-white); color: var(--off-white); }

/* ---------- 6. Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .45s var(--ease), border-color .45s var(--ease),
              backdrop-filter .45s var(--ease), color .45s var(--ease);
}
.nav__inner {
  width: 100%; max-width: var(--container); margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.nav__logo { display: flex; align-items: center; flex: none; }
.nav__logo svg { width: auto; height: 34px; color: currentColor; }

.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav__link {
  position: relative;
  font-size: .74rem; font-weight: 400; letter-spacing: .15em; text-transform: uppercase;
  padding-block: 6px; opacity: .82;
  transition: opacity .3s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav__link:hover { opacity: 1; }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] { opacity: 1; }

.nav__cta { flex: none; }

/* Services dropdown */
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link--drop { display: inline-flex; align-items: center; gap: .45em; }
.nav__caret { flex: none; transition: transform .35s var(--ease); }
.nav__item:hover .nav__caret,
.nav__item:focus-within .nav__caret { transform: rotate(180deg); }

.nav__panel {
  position: absolute; top: calc(100% + 16px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 258px; padding: 10px;
  background: var(--off-white); color: var(--charcoal);
  border: 1px solid var(--line-soft); border-radius: var(--r);
  box-shadow: 0 28px 64px -32px rgba(52, 52, 52, .55);
  display: grid; gap: 1px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .32s var(--ease), transform .32s var(--ease), visibility .32s;
}
/* hover bridge across the gap */
.nav__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.nav__item:hover .nav__panel,
.nav__item:focus-within .nav__panel {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__panel a {
  display: block; padding: 10px 14px; border-radius: var(--r-sm);
  font-size: .875rem; font-weight: 300; letter-spacing: -.005em;
  color: var(--ink-soft); white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.nav__panel a:hover { background: var(--tint); color: var(--charcoal); }
.nav__panel a[aria-current="page"] { color: var(--charcoal); background: var(--tint); }
.nav__panel__all {
  margin-top: 5px; padding-top: 13px !important;
  border-top: 1px solid var(--line-soft);
  border-radius: 0 !important;
  font-size: .7rem !important; letter-spacing: .16em; text-transform: uppercase;
  color: var(--clay) !important;
}
.nav__panel__all:hover { background: none !important; color: var(--moss) !important; }

@media (prefers-reduced-motion: reduce) {
  .nav__panel, .nav__caret { transition: none; }
}

/* Transparent-over-hero state */
.nav--over { color: var(--off-white); }
.nav--over .nav__cta.btn { --btn-bg: var(--off-white); --btn-fg: var(--charcoal); --btn-bd: var(--off-white); }
.nav--over .nav__cta.btn:hover { --btn-bg: var(--moss); --btn-bd: var(--moss); --btn-fg: var(--off-white); }

/* Scrolled / solid state */
.nav--solid {
  background: rgba(255, 251, 249, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line-soft);
  color: var(--charcoal);
}
.nav--solid .nav__cta.btn { --btn-bg: var(--charcoal); --btn-fg: var(--off-white); --btn-bd: var(--charcoal); }

.nav__toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; margin-right: -8px; }
.nav__toggle span {
  display: block; position: relative; width: 20px; height: 1.5px; background: currentColor;
  transition: background .2s var(--ease);
}
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 1.5px; background: currentColor;
  transition: transform .35s var(--ease);
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after  { top: 6px; }
body.menu-open .nav__toggle span { background: transparent; }
body.menu-open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav__toggle span::after  { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.nav__drawer {
  position: fixed; inset: 0; z-index: 99;
  background: var(--off-white); color: var(--charcoal);
  padding: calc(var(--nav-h) + 32px) var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform .55s var(--ease), visibility .55s;
  overflow-y: auto;
}
body.menu-open .nav__drawer { transform: translateY(0); visibility: visible; }
.nav__drawer a {
  padding: 16px 0; border-bottom: 1px solid var(--line-soft);
  font-size: 1.5rem; font-weight: 300; letter-spacing: -.02em;
}
.nav__drawer .drawer-sub {
  font-size: .95rem; font-weight: 300; color: var(--ink-soft); padding: 11px 0;
}
.nav__drawer .drawer-label {
  margin-top: 26px; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--clay); border: 0; padding-bottom: 6px;
}
.nav__drawer .btn { margin-top: 28px; align-self: flex-start; }

@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav--over.is-open, body.menu-open .nav { color: var(--charcoal); }
}
@media (min-width: 1025px) { .nav__drawer { display: none; } }

/* Scroll progress hairline */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 101;
  height: 2px; width: 100%; transform: scaleX(0); transform-origin: left;
  background: var(--moss);
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 92vh, 940px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: clamp(28px, 4vw, 56px);
  color: var(--off-white);
  overflow: hidden;
  isolation: isolate;
}
.hero--short { min-height: clamp(480px, 74vh, 760px); }

.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, rgba(30,30,30,.72) 0%, rgba(30,30,30,.46) 30%, rgba(30,30,30,.30) 52%, rgba(30,30,30,.18) 68%),
    linear-gradient(to top,    rgba(26,26,26,.82) 0%, rgba(26,26,26,.42) 38%, rgba(26,26,26,0) 72%);
}

.hero__inner {
  width: 100%; max-width: var(--container); margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid; gap: clamp(28px, 4vw, 52px);
}

.hero__title { max-width: 15ch; text-wrap: balance; }
/* Desktop: let each sentence hold its own line, broken by the <br> alone */
@media (min-width: 761px) {
  .hero__title { max-width: 24ch; text-wrap: normal; }
}
.hero__copy  { max-width: 46ch; color: rgba(255,251,249,.86); }

.hero__foot {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: clamp(20px, 3vw, 44px);
}

/* Floating feature card (Site 1 "Evening Tea Ritual") */
.feature-card {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 16px 12px 12px;
  background: rgba(255, 251, 249, .12);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255, 251, 249, .22);
  border-radius: var(--r);
  max-width: 400px;
  transition: background .35s var(--ease), transform .35s var(--ease);
}
.feature-card:hover { background: rgba(255,251,249,.2); transform: translateY(-3px); }
.feature-card img { width: 62px; height: 62px; object-fit: cover; border-radius: var(--r-sm); flex: none; }
.feature-card__body { min-width: 0; }
.feature-card__label { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,251,249,.7); }
.feature-card__title { font-size: .98rem; font-weight: 400; letter-spacing: -.01em; }

.hero__benefits { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: .5em 1em; border-radius: var(--r-pill);
  border: 1px solid rgba(255,251,249,.3);
  font-size: .74rem; letter-spacing: .06em;
  color: rgba(255,251,249,.9);
}
.surface-tint .chip, .surface-moss .chip { border-color: var(--line); color: var(--ink-soft); }

/* Page header for non-hero pages */
.page-head { padding-top: calc(var(--nav-h) + clamp(56px, 8vw, 120px)); padding-bottom: clamp(40px, 5vw, 76px); }

/* ---------- 8. Statement (dark full-bleed) ---------- */
.statement { padding-block: clamp(110px, 16vw, 250px); }
.statement__text {
  font-weight: 200;
  font-size: clamp(1.9rem, 4.6vw, 3.8rem);
  line-height: 1.2;
  letter-spacing: -.03em;
  max-width: 20ch;
}
.statement__text span { display: block; }
.statement__text span:last-child { color: var(--moss); }

/* ---------- 9. Section headers ---------- */
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(36px, 4.5vw, 68px); }
.sec-head--split {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: end; gap: clamp(20px, 4vw, 60px);
}
@media (max-width: 860px) { .sec-head--split { grid-template-columns: 1fr; align-items: start; } }

/* ---------- 10. Split content ---------- */
.split {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 4.5vw, 76px); align-items: center;
}
.split--media-first > .split__media { order: -1; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split--media-first > .split__media { order: 0; } }

.split__media img,
.media-frame img { width: 100%; border-radius: var(--r-lg); }
.media-frame { overflow: hidden; border-radius: var(--r-lg); }
.media-frame img { transition: transform 1.1s var(--ease); }
.media-frame:hover img { transform: scale(1.035); }
.ratio-4-3  img { aspect-ratio: 4 / 3;  object-fit: cover; }
.ratio-3-4  img { aspect-ratio: 3 / 4;  object-fit: cover; }
.ratio-16-9 img { aspect-ratio: 16 / 9; object-fit: cover; }
.ratio-1-1  img { aspect-ratio: 1 / 1;  object-fit: cover; }

/* Comparison pair */
.compare { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }
.compare__card { display: grid; gap: 18px; }
.compare__card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--r); }
.compare__list { display: grid; }
.compare__list li {
  padding: 13px 0; border-top: 1px solid var(--line);
  font-size: .92rem; color: var(--ink-soft);
}
.compare__list li:last-child { border-bottom: 1px solid var(--line); }

/* ---------- 11. Benefit columns ---------- */
.benefit-col { display: grid; gap: 20px; align-content: start; }
.benefit-col__head { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.benefit-col dl { display: grid; gap: 18px; }
.benefit-col dt { font-weight: 400; font-size: .96rem; letter-spacing: -.01em; margin-bottom: 3px; }
.benefit-col dd { color: var(--ink-soft); font-size: .92rem; line-height: 1.6; }

/* Numbered / hairline list */
.hair-list li {
  display: flex; gap: 18px; align-items: baseline;
  padding: clamp(16px, 2vw, 24px) 0; border-top: 1px solid var(--line);
}
.hair-list li:last-child { border-bottom: 1px solid var(--line); }
.hair-list .num { font-size: .72rem; letter-spacing: .16em; color: var(--clay); flex: none; min-width: 2.2em; }
.surface-dark .hair-list li { border-color: var(--line-light); }

/* Problem / solution */
.ps-card { display: grid; gap: 22px; align-content: start; }
.ps-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 0; border-top: 1px solid var(--line); font-size: .95rem; color: var(--ink-soft);
}
.ps-list li:last-child { border-bottom: 1px solid var(--line); }
.ps-list .ico { flex: none; margin-top: .28em; color: var(--clay); }
.ps-card--solution .ps-list .ico { color: var(--moss); }

/* ---------- 12. Card scroller (Site 1 carousel) ---------- */
.scroller { position: relative; }
.scroller__track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: minmax(272px, 25%);
  gap: clamp(14px, 1.6vw, 22px);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.scroller__track::-webkit-scrollbar { display: none; }
.scroller__track > * { scroll-snap-align: start; }
.scroller__track { align-items: stretch; }
.scroller__track .tcard { height: 100%; }

@media (max-width: 1100px) { .scroller__track { grid-auto-columns: minmax(258px, 42%); } }
@media (max-width: 640px)  { .scroller__track { grid-auto-columns: 82%; } }

.scroller__foot {
  display: flex; align-items: center; justify-content: flex-end; gap: 20px;
  margin-top: clamp(20px, 2.5vw, 32px);
}
.scroller__bar { flex: 1; max-width: 220px; height: 2px; background: var(--line); position: relative; }
.surface-dark .scroller__bar { background: var(--line-light); }
.scroller__bar i { position: absolute; inset: 0 auto 0 0; width: 30%; background: var(--charcoal); transition: transform .25s linear; }
.surface-dark .scroller__bar i { background: var(--off-white); }

.scroller__btns { display: flex; gap: 8px; }
.circ-btn {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center; flex: none;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), opacity .3s;
}
.circ-btn:hover { background: var(--charcoal); color: var(--off-white); border-color: var(--charcoal); }
.circ-btn[disabled] { opacity: .3; pointer-events: none; }
.surface-dark .circ-btn { border-color: var(--line-light); }
.surface-dark .circ-btn:hover { background: var(--off-white); color: var(--charcoal); }

/* Image card */
.icard {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  min-height: clamp(370px, 42vw, 480px);
  padding: 20px; border-radius: var(--r);
  overflow: hidden; isolation: isolate; color: var(--off-white);
}
.icard__media { position: absolute; inset: 0; z-index: -2; }
.icard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.icard:hover .icard__media img { transform: scale(1.06); }
.icard::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(24,24,24,.9) 4%, rgba(24,24,24,.35) 46%, rgba(24,24,24,.12) 100%);
}
.icard__tag { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,251,249,.8); }
.icard__body { display: grid; gap: 14px; }
.icard__title { font-size: clamp(1.25rem, 1.6vw, 1.6rem); font-weight: 300; letter-spacing: -.02em; }
.icard__rule { height: 1px; background: rgba(255,251,249,.35); }
.icard__desc { font-size: .86rem; line-height: 1.5; color: rgba(255,251,249,.82); }
.icard__link { position: absolute; inset: 0; z-index: 2; }

/* ---------- 13. Service list cards ---------- */
.svc-card {
  display: grid; gap: 18px; align-content: start;
  padding: clamp(20px, 2vw, 28px);
  background: var(--off-white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.svc-card:hover { border-color: var(--clay); transform: translateY(-4px); box-shadow: 0 18px 44px -28px rgba(52,52,52,.4); }
.svc-card__img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--r-sm); }
.svc-card__best { font-size: .78rem; color: var(--clay); font-weight: 400; }
.svc-card__pts { display: grid; gap: 6px; }
.svc-card__pts li { position: relative; padding-left: 16px; font-size: .84rem; color: var(--ink-soft); }
.svc-card__pts li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px;
  border-radius: 50%; background: var(--moss);
}
.svc-card__foot { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 4px; }

/* ---------- 14. Membership plans ---------- */
.tabs { display: inline-flex; padding: 4px; background: var(--tint-deep); border-radius: var(--r-pill); gap: 2px; }
.surface-dark .tabs { background: rgba(255,251,249,.1); }
.tab {
  padding: .7em 1.35em; border-radius: var(--r-pill);
  font-size: .76rem; font-weight: 400; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.tab[aria-selected="true"] { background: var(--charcoal); color: var(--off-white); }

.tab-note { font-size: .82rem; color: var(--ink-soft); margin-top: 12px; }

.plan {
  display: flex; flex-direction: column; gap: 20px;
  padding: clamp(24px, 2.4vw, 34px);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--off-white);
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.plan:hover { border-color: var(--clay); transform: translateY(-4px); box-shadow: 0 22px 50px -30px rgba(52,52,52,.42); }
.plan--featured { background: var(--charcoal); color: var(--off-white); border-color: var(--charcoal); }
.plan--featured .muted, .plan--featured .plan__freq { color: rgba(255,251,249,.7); }
.plan--featured .plan__feats li { border-color: var(--line-light); }
.plan--featured .btn { --btn-bg: var(--off-white); --btn-fg: var(--charcoal); --btn-bd: var(--off-white); }

.plan__flag {
  align-self: flex-start; padding: .4em .9em; border-radius: var(--r-pill);
  background: var(--moss); color: var(--off-white);
  font-size: .64rem; letter-spacing: .16em; text-transform: uppercase;
}
.plan__name { font-size: 1.05rem; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; }
.plan__price { display: flex; align-items: baseline; gap: 8px; }
.plan__price b { font-size: clamp(2.1rem, 3vw, 2.9rem); font-weight: 200; letter-spacing: -.035em; line-height: 1; }
.plan__freq { font-size: .84rem; color: var(--ink-soft); }
.plan__feats { display: grid; }
.plan__feats li { padding: 10px 0; border-top: 1px solid var(--line); font-size: .88rem; }
.plan__feats li:first-child { border-top: 0; padding-top: 0; }
.plan__feats .is-bonus { color: var(--moss); font-weight: 400; }
.plan--featured .plan__feats .is-bonus { color: var(--clay); }
.plan .btn { margin-top: auto; justify-content: center; }

/* ---------- 15. Testimonials ---------- */
.quote { max-width: 26ch; }
.quote__text {
  font-size: clamp(1.3rem, 2.4vw, 2.05rem);
  font-weight: 200; line-height: 1.3; letter-spacing: -.028em;
  text-wrap: balance;
}
.quote__by { margin-top: 22px; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }

.tcard {
  display: grid; gap: 16px; align-content: start;
  padding: clamp(22px, 2.2vw, 32px);
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--off-white);
}
.tcard p { font-size: .95rem; line-height: 1.6; color: var(--ink-soft); }
.tcard cite { font-style: normal; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; }

.stars { display: flex; gap: 3px; color: var(--clay); }
.rating-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ---------- 16. FAQ accordion ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(18px, 2vw, 26px) 0; text-align: left;
  font-size: clamp(1rem, 1.15vw, 1.15rem); font-weight: 400; letter-spacing: -.015em;
  transition: color .3s var(--ease);
}
.faq__q:hover { color: var(--moss); }
.faq__sign { position: relative; width: 14px; height: 14px; flex: none; }
.faq__sign::before, .faq__sign::after {
  content: ""; position: absolute; background: currentColor;
  transition: transform .4s var(--ease), opacity .3s var(--ease);
}
.faq__sign::before { inset: 6px 0 auto 0; height: 1.5px; }
.faq__sign::after  { inset: 0 6px auto 6px; width: 1.5px; height: 14px; }
.faq__item.is-open .faq__sign::after { transform: rotate(90deg); opacity: 0; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding-bottom: clamp(18px, 2vw, 26px); color: var(--ink-soft); max-width: 66ch; }

/* ---------- 17. CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(30px, 5vw, 80px); align-items: center;
}
@media (max-width: 900px) { .cta-band__grid { grid-template-columns: 1fr; } }
.cta-band__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r-lg); }
@media (max-width: 900px) { .cta-band__media img { aspect-ratio: 16/10; } }

/* Announcement */
.announce {
  display: flex; align-items: flex-start; gap: 16px;
  padding: clamp(18px, 2vw, 26px) clamp(20px, 2.4vw, 32px);
  border: 1px solid var(--clay); border-radius: var(--r);
  background: var(--tint);
}
.announce__ico { flex: none; color: var(--clay); margin-top: 2px; }
.announce h2, .announce h3 { font-size: 1rem; margin-bottom: 4px; }
.announce p { font-size: .92rem; color: var(--ink-soft); }
.announce a { color: var(--charcoal); text-decoration: underline; text-underline-offset: 3px; }

/* Info tiles */
.info-tile {
  display: grid; gap: 8px; align-content: start;
  padding: clamp(20px, 2vw, 28px);
  border: 1px solid var(--line); border-radius: var(--r);
}
.info-tile .eyebrow { color: var(--clay); }

/* Stat strip */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.stat-strip > div { background: var(--off-white); padding: clamp(22px, 2.4vw, 34px) clamp(16px, 2vw, 26px); display: grid; gap: 6px; }
.stat-strip b { font-size: clamp(1.6rem, 2.4vw, 2.3rem); font-weight: 200; letter-spacing: -.035em; line-height: 1; }
@media (max-width: 860px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 18. Contact + form ---------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }

.field { display: grid; gap: 7px; }
.field label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px;
  background: var(--off-white);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: .95rem;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--moss); }
.field input::placeholder, .field textarea::placeholder { color: rgba(82,87,89,.5); }

.form__note { font-size: .78rem; color: var(--ink-soft); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.contact-list { display: grid; gap: 4px; }
.contact-list a:hover { color: var(--moss); }

/* ---------- 19. Footer ---------- */
.footer { background: var(--charcoal); color: var(--off-white); padding-block: clamp(56px, 6vw, 96px) 32px; }
.footer__top {
  display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(40px, 4.5vw, 64px);
}
@media (max-width: 1000px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .footer__top { grid-template-columns: 1fr; } }

.footer__brand svg { width: 200px; height: auto; color: var(--off-white); margin-bottom: 22px; }
.footer h2, .footer h3, .footer .foot-h {
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,251,249,.55); margin-bottom: 16px; font-weight: 400;
}
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { font-size: .9rem; color: rgba(255,251,249,.82); transition: color .3s var(--ease); }
.footer__col a:hover { color: var(--off-white); }

.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
  padding-top: 28px; border-top: 1px solid var(--line-light);
  font-size: .78rem; color: rgba(255,251,249,.55);
}
.footer__bottom a:hover { color: var(--off-white); }

/* ---------- 20. Motion ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- 21. Print ---------- */
@media print {
  .nav, .nav__drawer, .scroll-progress, .footer, .cta-band, .hero__media, .scroller__foot { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 18px; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}


/* ---------- 16. Session packs — single-tile carousel ---------- */
.pack-carousel { position: relative; }

.pack-stage { display: grid; }
.pack {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 3.4vw, 56px);
  align-items: stretch;
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(20px, 2vw, 28px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .7s var(--ease), visibility .7s var(--ease);
}
.pack.is-active { opacity: 1; visibility: visible; pointer-events: auto; }

.pack__media {
  border-radius: var(--r);
  overflow: hidden;
  background: var(--tint-deep);
  min-height: 380px;
}
.pack__media img { width: 100%; height: 100%; object-fit: cover; }

.pack__body {
  display: flex; flex-direction: column; gap: 16px;
  justify-content: center;
  padding-right: clamp(0px, 2vw, 32px);
  padding-block: clamp(8px, 1.5vw, 24px);
}
.pack__qty { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--clay); }
.pack__name {
  font-size: clamp(1.7rem, 2.6vw, 2.4rem); font-weight: 200;
  letter-spacing: -.03em; line-height: 1.08;
}
.pack__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.pack__price b { font-size: clamp(1.9rem, 2.6vw, 2.4rem); font-weight: 200; letter-spacing: -.035em; line-height: 1; }
.pack__each { font-size: .82rem; color: var(--ink-soft); }
.pack__desc { font-size: .92rem; color: var(--ink-soft); line-height: 1.65; }

.pack__inc {
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-soft); padding-top: 16px; border-top: 1px solid var(--line);
}
.pack__therapies {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px;
}
.pack__therapies li { position: relative; padding-left: 18px; font-size: .86rem; color: var(--ink-soft); }
.pack__therapies li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--moss);
}
.pack__tier { display: grid; gap: 7px; max-width: 300px; padding-top: 4px; }
.pack__tier label {
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft);
}
.pack__tier select {
  appearance: none; -webkit-appearance: none;
  width: 100%; padding: .8em 2.4em .8em 1em;
  background-color: var(--off-white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23525759' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: .9rem; font-weight: 300; color: var(--ink);
  cursor: pointer;
  transition: border-color .3s var(--ease);
}
.pack__tier select:hover { border-color: var(--clay); }

.pack__body .btn { align-self: flex-start; margin-top: 4px; }

/* Controls */
.pack-controls {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-top: clamp(12px, 1.6vw, 20px);
}
.pack-dots { display: flex; align-items: center; gap: 4px; }
.pack-dot {
  width: 34px; height: 2px;
  padding: 20px 0; border: 0;
  background: var(--line);
  background-clip: content-box;
  transition: background .4s var(--ease);
}
.pack-dot[aria-current="true"] { background: var(--charcoal); background-clip: content-box; }

@media (max-width: 860px) {
  .pack { grid-template-columns: 1fr; align-items: start; }
  .pack__media { aspect-ratio: 16 / 10; min-height: 0; }
  .pack__body { padding-right: 0; }
  .pack__therapies { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .pack { transition: none; }
}

/* ---------- 17. Momence booking embed ---------- */
.booking-embed {
  margin-top: clamp(28px, 3.5vw, 52px);
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.booking-embed iframe { display: block; width: 100%; border: 0; height: 1000px; }
.booking-embed__fallback {
  padding: clamp(28px, 4vw, 56px); text-align: center;
  display: grid; gap: 16px; justify-items: center;
}


/* ---------- 18. Mobile hero — fewer competing elements ---------- */
@media (max-width: 760px) {
  .hero {
    min-height: 100svh;
    padding-bottom: 44px;
  }
  .hero__inner { gap: 54px; }
  .hero__title { font-size: clamp(2.5rem, 10.5vw, 3.4rem); line-height: 1.06; }
  .hero__copy {
    font-size: .96rem; line-height: 1.6;
    max-width: 34ch;
    color: rgba(255, 251, 249, .8);
  }
  .hero__foot { gap: 30px; }

  /* Shift the frame toward the photo's dark left edge so it sits behind the text */
  .hero__media img[src*="red-light-therapy-interior"] { object-position: 28% center; }

  /* The chip list repeats the services section further down the page. */
  .hero__benefits { display: none; }

  /* Buttons sized to their label instead of spanning the screen */
  .hero .btn-row { gap: 10px; }
  .hero .btn-row .btn { padding: .85em 1.3em; font-size: .72rem; }

  .feature-card { width: 100%; max-width: none; padding: 10px 14px 10px 10px; }
  .feature-card img { width: 52px; height: 52px; }
  .feature-card__title { font-size: .92rem; }
}

@media (max-width: 480px) {
  .hero__title { font-size: clamp(2.3rem, 9.6vw, 3rem); }
  .hero .btn-row .btn { padding: .8em 1.15em; }
}
