/* ==========================================================================
   ClearPath — rebuilt 1:1 from the live reference
   Dr Bunmi brand: #c76a36 burnt orange, #d4a899 dusty blush, #4a3728 rich cocoa,
   #c4b5ad warm taupe, #fbf8f3 ivory. Type: DM Serif Display + Poppins.
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face { font-family: 'Inter'; font-weight: 400; font-style: normal; font-display: swap; src: url('../assets/fonts/inter-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-weight: 400; font-style: normal; font-display: swap; src: url('../assets/fonts/inter-400-latinext.woff2') format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-weight: 500; font-style: normal; font-display: swap; src: url('../assets/fonts/inter-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-weight: 500; font-style: normal; font-display: swap; src: url('../assets/fonts/inter-500-latinext.woff2') format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-weight: 600; font-style: normal; font-display: swap; src: url('../assets/fonts/inter-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-weight: 600; font-style: normal; font-display: swap; src: url('../assets/fonts/inter-600-latinext.woff2') format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-weight: 700; font-style: normal; font-display: swap; src: url('../assets/fonts/inter-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Crimson Text'; font-weight: 400; font-style: normal; font-display: swap; src: url('../assets/fonts/crimsontext-400-latin.woff2') format('woff2'); }
@font-face { font-family: 'Crimson Text'; font-weight: 400; font-style: italic; font-display: swap; src: url('../assets/fonts/crimsontext-400italic-latin.woff2') format('woff2'); }
@font-face { font-family: 'Aspekta'; font-weight: 100 1000; font-style: normal; font-display: swap; src: url('../assets/fonts/aspekta-variable.woff2') format('woff2'); }

@font-face { font-family: 'DM Serif Display'; font-weight: 400; font-style: normal; font-display: swap; src: url('../assets/fonts/dmserifdisplay-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Serif Display'; font-weight: 400; font-style: normal; font-display: swap; src: url('../assets/fonts/dmserifdisplay-400-latinext.woff2') format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-weight: 400; font-style: normal; font-display: swap; src: url('../assets/fonts/poppins-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-weight: 400; font-style: normal; font-display: swap; src: url('../assets/fonts/poppins-400-latinext.woff2') format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-weight: 500; font-style: normal; font-display: swap; src: url('../assets/fonts/poppins-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-weight: 500; font-style: normal; font-display: swap; src: url('../assets/fonts/poppins-500-latinext.woff2') format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-weight: 600; font-style: normal; font-display: swap; src: url('../assets/fonts/poppins-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-weight: 600; font-style: normal; font-display: swap; src: url('../assets/fonts/poppins-600-latinext.woff2') format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-weight: 700; font-style: normal; font-display: swap; src: url('../assets/fonts/poppins-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-weight: 700; font-style: normal; font-display: swap; src: url('../assets/fonts/poppins-700-latinext.woff2') format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokens ---------- */
:root {
  --sage: #c76a36;
  --blush: #d4a899;
  --taupe: #c4b5ad;
  --ink: #4a3728;
  --gray: #6f6054;
  --gray-light: #ab9b8e;
  --bg: #fbf8f3;
  --white: #ffffff;
  --white-65: rgba(255, 255, 255, .65);
  --hairline: rgba(74, 55, 40, .16);
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'Poppins', Arial, sans-serif;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  /* side gutter: 64px up to 1568px wide, then grows so content never exceeds 1440px — keeps every
     section's proportions close to the 1312px-content design on big monitors (backgrounds stay full-bleed) */
  --gutter: max(64px, calc((100vw - 1440px) / 2));
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, h4, h5, p, ul, fieldset { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; color: inherit; }
fieldset { border: 0; }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 2px; }

/* ---------- Shared type ---------- */
.label {
  font-size: 12px; font-weight: 600; line-height: 1.4;
  letter-spacing: .11em; text-transform: uppercase;
}
.sage { color: var(--sage); }
.ink { color: var(--ink); }
.h-sans {
  font-size: 44px; font-weight: 500; line-height: 1.2;
  letter-spacing: -.02em; color: var(--ink);
}
.h-serif-lg {
  font-family: var(--serif); font-weight: 400;
  font-size: 72px; line-height: 1; letter-spacing: -.015em;
}
/* link hover: permanent underline, transparent at 8px offset -> sage at 5px (source spec: .4s cubic(.44,0,.56,1)) */
.inline-link {
  color: var(--sage); font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1px;
  text-decoration-color: rgba(199, 106, 54, 0); text-underline-offset: 8px;
  transition: color .4s cubic-bezier(.44, 0, .56, 1), text-decoration-color .4s cubic-bezier(.44, 0, .56, 1), text-underline-offset .4s cubic-bezier(.44, 0, .56, 1);
}
.inline-link:hover { text-decoration-color: var(--sage); text-underline-offset: 5px; }
.inline-link--white { color: var(--white); }
.inline-link--white:hover { text-decoration-color: var(--white); }

/* exact-formula vertical parallax with grain (rebuilt from the site's parallax component) */
.plx { position: relative; overflow: hidden; display: block; }
.plx__inner { position: absolute; left: 0; top: 0; width: 100%; height: calc(100% + var(--p, 200px)); will-change: transform; }
.plx__inner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.plx__noise {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: url('../assets/images/hfyi67pKwBIagdce3cECqq02Do.png') repeat 0 0 / 100px 100px;
  mix-blend-mode: overlay;
}

/* ---------- Noise overlay ---------- */
.noise {
  position: absolute; inset: 0; pointer-events: none; opacity: .1; z-index: 2;
  background: url('../assets/images/hfyi67pKwBIagdce3cECqq02Do.png') repeat 0 0 / 100px 100px;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .85s cubic-bezier(.44, 0, .56, 1), transform .85s cubic-bezier(.44, 0, .56, 1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Pill buttons ---------- */
.pill {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  height: 39px; padding: 0 20px; border-radius: 999px;
  background: var(--sage); color: var(--white);
  cursor: pointer; white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.pill__label {
  font-size: 12px; font-weight: 600; letter-spacing: .11em;
  text-transform: uppercase; line-height: 1.4;
  transition: transform .35s var(--ease);
}
.pill__dot {
  width: 4px; height: 4px; border-radius: 999px; background: currentColor;
  flex: 0 0 auto; transition: opacity .35s var(--ease), transform .35s var(--ease), width .35s var(--ease), margin .35s var(--ease);
}
.pill__dot--r { margin-left: 12px; }
.pill__dot--l { width: 0; margin-right: 0; opacity: 0; transform: scale(0); }
.pill:hover .pill__dot--l { width: 4px; margin-right: 12px; opacity: 1; transform: scale(1); }
.pill:hover .pill__dot--r { width: 0; margin-left: 0; opacity: 0; transform: scale(0); }
.pill:hover { transform: translateY(-1px); }
.pill:active { transform: translateY(0); }
.pill--white { background: var(--white); color: var(--ink); }
.pill--submit strong, .pill--white strong { font-weight: 700; letter-spacing: .11em; }

/* ---------- Switch ---------- */
.switch { display: inline-flex; align-items: center; gap: 12px; }
.switch__label {
  font-size: 12px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase;
  color: var(--white); transition: color .5s;
}
.switch__track {
  position: relative; display: inline-block; width: 56px; height: 32px;
  border-radius: 999px; background: rgba(0, 0, 0, .2);
  transition: background .3s cubic-bezier(.3, .7, .3, 1);
}
.switch__knob {
  position: absolute; top: 4px; left: 4px; width: 24px; height: 24px;
  border-radius: 999px; background: var(--white);
  transition: transform .3s cubic-bezier(.3, .7, .3, 1); /* spring 500/60 equivalent */
}
.switch[aria-checked="true"] .switch__track { background: var(--sage); }
.switch[aria-checked="true"] .switch__knob { transform: translateX(24px); }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 40px var(--gutter) 0; height: 79px;
  animation: navin 1s cubic-bezier(.2, 0, .2, 1) .4s both;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease), height .35s var(--ease);
}
/* scrolled: compact soft-cream bar */
.nav--solid {
  padding-top: 0; height: 72px;
  background: rgba(251, 248, 243, .94); box-shadow: 0 1px 0 rgba(74, 55, 40, .08);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
@keyframes navin { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: none; } }
.nav__logo { display: inline-flex; align-items: center; }
.nav__logo-img { height: 44px; width: auto; display: block; }
.nav__logo-img--light { display: none; }
.nav[data-theme="image"] .nav__logo-img--dark { display: none; }
.nav[data-theme="image"] .nav__logo-img--light { display: block; }
.nav__right { display: flex; align-items: center; }
.nav__links { display: flex; align-items: center; }
.nav__links li { margin-right: 56px; }
.nav__link {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase;
  color: var(--white); transition: color .5s;
}
.flip { display: inline-flex; flex-direction: column; height: 17px; overflow: hidden; }
.flip span { display: block; line-height: 17px; transition: transform .4s var(--ease); }
.nav__link:hover .flip span { transform: translateY(-17px); }
.nav__link {
  text-decoration: underline; text-decoration-thickness: 1px;
  text-decoration-color: rgba(255, 255, 255, 0); text-underline-offset: 8px;
  transition: color .5s, text-decoration-color .4s cubic-bezier(.44, 0, .56, 1), text-underline-offset .4s cubic-bezier(.44, 0, .56, 1);
}
.nav__link:hover { text-decoration-color: currentColor; text-underline-offset: 5px; }
.pill--nav { background: var(--white); color: var(--ink); transition: background .5s, color .5s, transform .3s var(--ease); }
.nav__burger { display: none; width: 44px; height: 44px; position: relative; margin-right: -10px; } /* lines sit on the gutter; the 44px tap area overhangs it */
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; top: 18px; }
.nav__burger span + span { top: 26px; }

/* nav themes */
.nav[data-theme="light"] .nav__link { color: var(--gray-light); }
.nav[data-theme="light"] .nav__link:hover { color: var(--sage); }
.nav[data-theme="light"] .pill--nav { background: var(--sage); color: var(--white); }
.nav[data-theme="dark"] .pill--nav { background: var(--sage); color: var(--white); }

/* ==========================================================================
   INTRO STAGE (sticky hero image under hero → toggle → services → philosophy)
   ========================================================================== */
.stage { position: relative; }
.stage__bg {
  position: sticky; top: 0; height: 100vh; margin-bottom: -100vh;
  overflow: hidden; z-index: 0;
}
/* the whole hero image crossfades in from white over 2s on load (source: appear anim, 2s tween ease(.4,0,.2,1)) */
.stage__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 2s cubic-bezier(.4, 0, .2, 1); }
.stage--loaded .stage__img { opacity: 1; }
.stage__rings { position: absolute; inset: 0; opacity: 0; transition: opacity 2s cubic-bezier(.4, 0, .2, 1) .4s; }
.stage--loaded .stage__rings { opacity: .1; }
.ring { position: absolute; border: 1.5px solid var(--white); border-radius: 999px; }
.ring--a { width: 864px; height: 864px; left: 850px; top: -108px; animation: drift 26s ease-in-out infinite alternate; }
.ring--b { width: 979px; height: 979px; left: -518px; top: 167px; animation: drift 32s ease-in-out infinite alternate-reverse; }
.ring--c { width: 1094px; height: 1094px; left: 677px; top: 416px; animation: drift 38s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(40px, -30px); } }
.stage__line { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 2s cubic-bezier(.4, 0, .2, 1) .4s; animation: linedrift 22s ease-in-out 2s infinite alternate; }
.stage--loaded .stage__line { opacity: .5; }
@keyframes linedrift { from { transform: translateX(0); } to { transform: translateX(-60px); } }
.stage__white { position: absolute; inset: 0; background: var(--white); opacity: var(--white-fade, 0); z-index: 3; }
.stage > section, .stage > header { position: relative; z-index: 4; }

/* ---------- Hero ---------- */
.hero { height: 100vh; min-height: 740px; }
.hero__inner {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 0 var(--gutter) 64px;
  will-change: transform, opacity, filter;
}
.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(64px, 9.45vw, 136px); line-height: .84; letter-spacing: -.02em;
  color: var(--white);
}
/* lines fade and rise, staggered — tween 1s ease(.2,0,.2,1), matching the source appear spec */
.hero__tline { display: block; opacity: 0; transform: translateY(20px); transition: opacity 1s cubic-bezier(.2, 0, .2, 1), transform 1s cubic-bezier(.2, 0, .2, 1); }
.hero__tline:nth-child(1) { transition-delay: .4s; }
.hero__tline:nth-child(2) { transition-delay: .52s; }
.hero__tline:nth-child(3) { transition-delay: .64s; }
.hero--in .hero__tline { opacity: 1; transform: none; }
.hero__aside { width: 427px; flex: 0 0 auto; margin-bottom: 0; text-align: left; }
.hero__copy {
  color: var(--white); font-size: 16px; line-height: 1.7;
  text-align: left; text-indent: 96px;
  opacity: 0; transform: translateY(20px); transition: opacity 1s cubic-bezier(.2, 0, .2, 1) .6s, transform 1s cubic-bezier(.2, 0, .2, 1) .6s;
}
.hero__cta { margin-top: 32px; opacity: 0; transform: translateY(20px); transition: opacity 1s cubic-bezier(.2, 0, .2, 1) .8s, transform 1s cubic-bezier(.2, 0, .2, 1) .8s, background .3s; }
.hero--in .hero__copy, .hero--in .hero__cta { opacity: 1; transform: none; }

/* ---------- Food-noise volume zone (pinned; scroll turns the volume down) ---------- */
/* Everything here is fluid: sizes scale with viewport width and are capped by height, and on a
   screen too short for the full stack the spacer and waveform shrink first so the copy always fits.
   Pinned scroll distance is a fixed 1500px on top of the viewport, whatever the screen height. */
.toggle-zone { height: calc(100vh + 1500px); }
.toggle-zone__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; flex-direction: column; align-items: center;
  padding: 0 var(--gutter) max(20px, 4vh);
  will-change: transform, filter, opacity;
}
/* Spacer = where Dr Bunmi's chin sits in the cover-cropped hero photo (3600x3200, chin at 35% of
   its height): 50vh - 0.15 * rendered image height, i.e. max(100vh, 100vw / 1.125). */
.toggle-zone__sticky::before {
  content: ''; flex: 0 1 calc(50vh - max(15vh, 13.33vw)); min-height: 92px;
}
.toggle-zone__texts .h-sans {
  max-width: 18.5em; margin: 0 auto;
  font-size: clamp(22px, min(1.15vw + 27px, 5.6vh), 58px);
}
/* live waveform: drawn by main.js, amplitude follows the volume down to a faint ripple */
.noise-wave {
  display: block; flex: 0 1 auto;
  width: min(calc(100vw - 2 * var(--gutter)), clamp(880px, 46vw, 1200px));
  height: clamp(60px, min(8vw + 90px, 22vh), 260px); min-height: 40px;
  margin-bottom: clamp(8px, 2.2vh, 26px);
}
/* slider scales from its own font-size; every dimension below is in em */
.vol {
  flex: none; display: inline-flex; align-items: center; gap: 1.35em;
  padding: 1.05em 2em; border-radius: 999px; color: var(--white);
  font-size: clamp(11px, min(.28vw + 9px, 1.75vh), 17px);
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: color .5s, background .5s, border-color .5s;
}
.vol__label { font-weight: 600; letter-spacing: .11em; text-transform: uppercase; white-space: nowrap; transition: color .5s; }
.vol__icon { width: 2.15em; height: 2.15em; flex: none; }
.vol__spk { fill: currentColor; }
.vol__wave { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
/* track takes what the pill has left on narrow screens (23em = label + icon + readout + gaps + padding) */
.vol__track {
  position: relative; flex: none; height: 2.4em; cursor: pointer; touch-action: none;
  width: clamp(80px, calc(100vw - 2 * var(--gutter) - 23em), 21.5em);
}
.vol__rail {
  position: absolute; left: 0; right: 0; top: 50%; height: .46em; margin-top: -.23em;
  border-radius: 999px; background: rgba(255, 255, 255, .3); overflow: hidden; transition: background .5s;
}
.vol__fill { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--v, 100) * 1%); background: var(--white); transition: background .5s; }
.vol__thumb {
  position: absolute; top: 50%; left: calc(var(--v, 100) * 1%);
  width: 1.7em; height: 1.7em; margin: -.85em 0 0 -.85em; border-radius: 999px;
  background: var(--white); box-shadow: 0 2px 6px rgba(46, 30, 20, .3);
}
.vol__val { min-width: 3.4em; font-weight: 600; letter-spacing: .06em; text-align: right; font-variant-numeric: tabular-nums; }
.toggle-zone.is-on .vol { color: var(--sage); background: rgba(199, 106, 54, .05); border-color: rgba(199, 106, 54, .2); }
.toggle-zone.is-on .vol__label { color: var(--gray-light); }
.toggle-zone.is-on .vol__rail { background: rgba(74, 55, 40, .14); }
.toggle-zone.is-on .vol__fill { background: var(--sage); }
.toggle-zone__texts { flex: none; display: grid; margin-top: clamp(14px, 3.4vh, 36px); text-align: center; }
.toggle-zone__text { grid-area: 1 / 1; transition: opacity .6s var(--ease); }
.toggle-zone__text .h-sans { color: var(--white); }
.toggle-zone__text--after .h-sans { color: var(--ink); }
.toggle-zone__sub {
  margin-top: clamp(10px, 2.6vh, 32px); line-height: 1.7; color: var(--white);
  font-size: clamp(13px, min(.25vw + 12.5px, 2.1vh), 19px);
}
.toggle-zone__text--after .toggle-zone__sub { color: var(--gray); }
.toggle-zone__text--after { opacity: 0; pointer-events: none; }
.toggle-zone.is-on .toggle-zone__text--before { opacity: 0; pointer-events: none; }
.toggle-zone.is-on .toggle-zone__text--after { opacity: 1; pointer-events: auto; }

/* ---------- Services ---------- */
.services { padding: 80px var(--gutter) 0; }
.services__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  position: relative; height: 560px; overflow: hidden;
  padding: 24px; color: var(--white); display: block;
  transition: transform .6s var(--ease-out);
}
.card:hover { transform: scale(1.03); z-index: 2; }
.card__media { position: absolute; inset: 0; z-index: 0; }
.card__media .plx__inner { --p: 200px; }
.card__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20, 28, 26, .25) 0%, rgba(20, 28, 26, 0) 38%, rgba(20, 28, 26, 0) 52%, rgba(20, 28, 26, .38) 100%);
}
.card__title {
  position: relative; z-index: 2;
  font-family: var(--serif); font-weight: 400;
  font-size: 36px; line-height: 1; letter-spacing: -.015em;
}
.card__copy { position: absolute; z-index: 2; top: 324px; left: 24px; right: 24px; font-size: 14px; line-height: 1.8; }
.card__more { position: absolute; z-index: 2; left: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 16px; }
.card__more-dot { width: 4px; height: 4px; border-radius: 999px; background: var(--white); }
.card__more-label {
  display: inline-block; overflow: hidden;
  font-size: 12px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase;
  opacity: 0; transform: translateY(110%); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.card:hover .card__more-label, .card:focus-visible .card__more-label { opacity: 1; transform: none; }

/* ---------- Philosophy ---------- */
.philosophy { padding: 200px var(--gutter) 0; text-align: center; height: 630px; }
.philosophy__icon { display: inline-flex; flex-direction: column; align-items: center; gap: 48px; }
.philosophy__icon .label { margin: 0; }
.philosophy__text {
  max-width: 1200px; margin: 63px auto 0;
  font-size: 44px; font-weight: 500; line-height: 1.2; letter-spacing: -.015em;
  color: var(--ink);
}
.philosophy__text .w { opacity: .2; transition: opacity .35s linear; }
.philosophy .pill { margin-top: 56px; }

/* ---------- Story ---------- */
.story { padding: 200px var(--gutter) 0; }
#story-b { padding-bottom: 160px; }
.story__kicker { display: block; }
.story__grid { display: grid; grid-template-columns: 545px 1fr; gap: 56px; margin-top: 48px; }
.story__text { max-width: 545px; }
.story__copy { margin-top: 24px; max-width: 480px; font-size: 16px; line-height: 1.7; color: var(--gray); }
.story__text .pill { margin-top: 48px; }
.story__images { position: relative; height: 697px; }
.story__img { position: absolute; display: block; overflow: hidden; }
/* one photo per story, filling the image column */
.story__img { top: 0; right: 0; width: min(100%, 540px); height: 100%; }
.story__img .plx__inner { --p: 200px; }
.story__img img { object-position: 50% 30%; }

/* ---------- Meet Dr Bunmi (about teaser) ---------- */
/* positioned so it paints above the stage's sticky white backdrop, which overhangs the stage by 100vh */
.meet { position: relative; z-index: 1; padding: 200px var(--gutter) 0; }
.meet__grid { display: grid; grid-template-columns: minmax(0, 553px) 1fr 545px; align-items: center; }
.meet__photo { grid-column: 1; height: 740px; }
.meet__photo .plx__inner { --p: 200px; }
.meet__photo img { object-position: 77% 50%; }
.meet__text { grid-column: 3; }
.meet__icon { display: flex; align-items: center; gap: 20px; }
.meet__text .h-serif-lg { margin-top: 40px; }
.meet__copy { margin-top: 24px; max-width: 480px; font-size: 16px; line-height: 1.7; color: var(--gray); }
.meet__text .h-serif-lg + .meet__copy { margin-top: 32px; }
.meet__r4 { margin-top: 40px; padding-top: 24px; max-width: 480px; border-top: 1px solid var(--hairline); }
.meet__r4 .label { color: var(--gray-light); }
.meet__steps { display: flex; flex-wrap: wrap; margin-top: 10px; }
.meet__steps li { font-family: var(--serif); font-size: 28px; line-height: 1.3; color: var(--ink); }
.meet__steps li + li::before { content: '·'; margin: 0 .4em; color: var(--sage); }
.meet__text .pill { margin-top: 48px; }

/* ---------- How it works ---------- */
.how { position: relative; padding: 160px 0 0; overflow: clip; }
.how__curves { position: absolute; top: 380px; left: 0; width: 100%; height: 1400px; pointer-events: none; }
.how__head { position: relative; padding: 0 var(--gutter); }
.how__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(72px, 9.45vw, 136px); line-height: .84; letter-spacing: -.02em;
  color: var(--sage);
}
.how__intro {
  margin: 40px 0 0; max-width: 980px; /* starts on the page edge, under the title */
  font-size: 26px; font-weight: 500; line-height: 1.4; letter-spacing: -.015em;
  color: var(--ink); text-indent: 208px;
}
.how__steps { position: relative; display: grid; grid-template-columns: 1fr 540px; padding: 0 var(--gutter); }
.how__col { padding-top: 297px; padding-bottom: 297px; }
.how__spacer { height: 0; }
.how__gap { height: 450px; }
.step { max-width: 648px; opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.step.in { opacity: 1; transform: none; }
.step__title {
  font-family: var(--serif); font-weight: 400;
  font-size: 72px; line-height: 1; letter-spacing: -.015em; color: var(--sage);
}
.step__copy { margin-top: 16px; max-width: 480px; font-size: 16px; line-height: 1.7; color: var(--gray); }
.how__number { position: relative; }
.how__number-sticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; align-items: center; justify-content: center;
}
.odo { display: flex; }
.odo__digit { height: 518px; overflow: hidden; }
.odo__strip { display: flex; flex-direction: column; transition: transform .95s cubic-bezier(.22, .9, .3, 1); /* spring 150/25, critically damped */ }
.odo__strip span {
  display: block; height: 518px;
  font-size: 420px; font-weight: 500; line-height: 518px; letter-spacing: -.02em;
  color: var(--sage); text-align: center; min-width: 190px;
}

/* ---------- Ready CTA ---------- */
.ready { position: relative; padding: 160px var(--gutter) 0; overflow: clip; }
.ready__curves { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ready__grid { position: relative; }
.ready__grid { display: grid; grid-template-columns: 1fr 437px; gap: 56px; }
.ready__text { max-width: 656px; }
.ready__text .inf__mark { width: 2.4em; top: calc(100% + .06em); } /* clears the y/q descenders */
.ready__text .h-sans + .ready__copy { margin-top: 64px; } /* room for the ribbon */
.ready__copy { margin-top: 40px; max-width: 480px; font-size: 16px; line-height: 1.7; color: var(--gray); }
.ready__text .pill { margin-top: 76px; }

/* trust block */
.trust__kicker { font-size: 14px; line-height: 1.8; color: var(--gray-light); }
.trust__row { display: flex; margin-top: 33px; }
.trust__avatar {
  width: 48px; height: 48px; border-radius: 999px; overflow: hidden;
  border: 2px solid var(--white); flex: 0 0 auto;
}
.trust__avatar + .trust__avatar { margin-left: -16px; }
.trust__avatar img { width: 100%; height: 100%; object-fit: cover; }
.trust__avatar--count {
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(120% 120% at 30% 25%, #e0b7a4 0%, var(--sage) 55%, #9c4f22 100%);
}
.trust__avatar--count strong { font-size: 11px; font-weight: 700; color: var(--white); }
.trust__line { display: flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 16px; color: var(--ink); }
.trust__line strong { font-weight: 600; }
.trust__star { flex: 0 0 auto; }

/* ---------- Pricing ---------- */
.pricing { margin-top: 160px; padding: 160px var(--gutter) 160px; background: var(--bg); }
.pricing__head { text-align: center; }
.pricing__head .h-sans { margin-top: 49px; }

/* brand infinity ribbon (traced from the logo): section eyebrow icon */
.motif-icon { display: block; width: 64px; height: auto; }

/* brand infinity ribbon under titles: always starts at the title's left edge, sized to the type
   (em = the title's font size), draws itself on once in view */
.inf { position: relative; display: inline-block; }
.inf__mark {
  position: absolute; left: 0; top: calc(100% - .02em);
  width: 1.6em; height: auto; pointer-events: none;
  clip-path: inset(0 100% 0 0);
  --draw-delay: .55s; --draw-dur: 1.9s;
}
/* fallback (no fetch / no JS swap yet): wipe in left to right */
.inf.in .inf__mark { animation: infreveal 1.3s cubic-bezier(.45, 0, .3, 1) var(--draw-delay) forwards; }
@keyframes infreveal { to { clip-path: inset(0 0 0 0); } }
.inf-draw img.inf__mark { animation: none !important; } /* held while main.js fetches the drawable copy */
/* drawable copy (main.js inlines /assets/brand/motif-draw.svg): a pen mask per colour traces its strand,
   the blush loop first, then the orange loop tucking under it. Pen time is split by strand length (--split, set
   in the file) and the two easings meet at the same speed, so it reads as one continuous stroke. */
svg.inf__mark { clip-path: none; aspect-ratio: 737 / 211; overflow: visible; }
.inf.in svg.inf__mark { animation: none; }
.inf__pen { stroke-dasharray: 1 2; stroke-dashoffset: 1; }
.inf.in .inf__pen--a {
  animation: infdraw calc(var(--draw-dur) * var(--split)) cubic-bezier(.3, .1, .8, .6) var(--draw-delay) forwards;
}
.inf.in .inf__pen--b {
  animation: infdraw calc(var(--draw-dur) * (1 - var(--split))) cubic-bezier(.2, .4, .5, 1)
             calc(var(--draw-delay) + var(--draw-dur) * var(--split)) forwards;
}
@keyframes infdraw { to { stroke-dashoffset: 0; } }

/* hand-drawn oval scribble around a highlighted phrase */
.scribble { position: relative; display: inline-block; }
.scribble__oval { position: absolute; left: -7%; top: -18%; width: 114%; height: 136%; overflow: visible; pointer-events: none; }
.scribble__oval path { stroke-dasharray: 760; stroke-dashoffset: 760; }
.scribble.in .scribble__oval path { animation: scribbledraw 1.3s cubic-bezier(.45, 0, .3, 1) .45s forwards; }
@keyframes scribbledraw { to { stroke-dashoffset: 0; } }
.pricing__sub { margin: 23px auto 0; max-width: 480px; font-size: 16px; line-height: 1.7; color: var(--gray); }
.pricing__toggle {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-top: 80px;
}
.pricing__toggle .label { color: var(--ink); }
.pricing__toggle .label .sage { color: var(--sage); }
.pricing__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 80px; }
.price-card {
  display: block; background: var(--white); border-radius: 16px; padding: 32px;
  outline: 1px solid transparent; outline-offset: -1px;
  transition: outline-color .35s var(--ease);
}
.price-card:hover { outline-color: rgba(199, 106, 54, .5); }
.price-card__title { font-family: var(--serif); font-weight: 400; font-size: 36px; line-height: 1; letter-spacing: -.015em; color: var(--ink); }
.price-card__desc { margin-top: 8px; font-size: 14px; line-height: 1.8; color: var(--gray); }
.price-card__price { display: flex; align-items: baseline; margin-top: 33px; }
.price-card__cur, .price-card__num {
  font-size: 44px; font-weight: 500; line-height: 1.2; letter-spacing: -.02em; color: var(--sage);
}
.price-card__num { display: inline-block; min-width: 2ch; }
.price-card__num.rolling { animation: numroll .45s var(--ease); }
@keyframes numroll {
  0% { opacity: 1; transform: translateY(0); }
  45% { opacity: 0; transform: translateY(-14px); }
  55% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 1; transform: translateY(0); }
}
.price-card__per { margin-left: 8px; font-size: 18px; line-height: 1.7; color: var(--gray); }
.price-card__options { margin-top: 60px; }
.price-card__options li {
  position: relative; padding-left: 32px; font-size: 14px; line-height: 1.8; color: var(--gray);
}
.price-card__options li + li { margin-top: 16px; }
.price-card__options li::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='10' cy='10' r='9.3' stroke='%23c76a36' stroke-width='1.4'/%3E%3Cpath d='M6.2 10.3l2.5 2.5 5.1-5.4' stroke='%23c76a36' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.price-card .pill { margin-top: 50px; }

/* ---------- Split text sections ---------- */
.split { padding: 160px var(--gutter); background: var(--bg); }
.split__grid { display: grid; grid-template-columns: 648px 1fr 427px; }
.split__grid .h-sans { grid-column: 1; }
.split__copy { grid-column: 3; font-size: 16px; line-height: 1.7; color: var(--gray); }
/* the quote arch below reaches 211px up into this section */
.split--experience { margin-top: 0; padding-bottom: 260px; }
.split--numbers { padding-bottom: 160px; }

/* ---------- Big quote ---------- */
.quote { position: relative; background: var(--bg); }
.quote__mask {
  position: relative; overflow: hidden; background: #000;
  border-radius: 50% 50% 0 0 / 422px 422px 0 0;
  margin-top: -211px; height: 1291px;
}
.quote__plx { position: absolute; inset: 0; overflow: visible; }
.quote__plx .plx__inner { --p: 500px; }
.quote__curve { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.quote__content { position: absolute; left: var(--gutter); right: var(--gutter); top: 858px; z-index: 3; }
.quote__text {
  max-width: 720px;
  font-family: var(--serif); font-weight: 400;
  font-size: 72px; line-height: 1; letter-spacing: -.015em; color: var(--white);
}
.quote__author { margin-top: 32px; font-size: 14px; line-height: 1.8; color: var(--white-65); }

/* ---------- Journal ---------- */
.journal { padding: 160px 0 0; overflow-x: clip; } /* card stroke art must never widen the page */
.journal__head { text-align: center; padding: 0 var(--gutter); }
.journal__head .h-sans { margin-top: 47px; }
.journal__sub { margin: 23px auto 0; max-width: 640px; font-size: 16px; line-height: 1.7; color: var(--gray); }
.journal__head .pill { margin-top: 46px; }
.journal__articles {
  display: grid; grid-template-columns: repeat(3, 357px); justify-content: space-between;
  padding: 39px var(--gutter) 0; min-height: 659px;
}
.article { position: relative; width: 357px; }
.article--offset { margin-top: 100px; }
.article__media { position: relative; display: block; height: 357px; }
.article__stroke { position: absolute; z-index: 1; pointer-events: none; }
.article__media--a .article__stroke { width: 336px; height: 289px; left: 9px; top: -34px; }
.article__media--b .article__stroke { width: 314px; height: 311px; left: 33px; top: 26px; }
.article__media--c .article__stroke { width: 314px; height: 311px; left: 33px; top: -43px; }
.article__img { position: absolute; inset: 0; }
.article__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.article:hover .article__img img { transform: scale(1.04); }
.article__media--a .article__img { height: 269px; top: 44px; -webkit-mask: url('../assets/images/XzHb5S2N4RU9GakyQhgQX2XqY6w.svg') center / contain no-repeat; mask: url('../assets/images/XzHb5S2N4RU9GakyQhgQX2XqY6w.svg') center / contain no-repeat; }
.article__media--b .article__img { height: 267px; top: 45px; -webkit-mask: url('../assets/images/YRuh4U5ThvXtO2fvm6HWgEZuE4.svg') center / contain no-repeat; mask: url('../assets/images/YRuh4U5ThvXtO2fvm6HWgEZuE4.svg') center / contain no-repeat; }
.article__media--c .article__img { height: 240px; top: 14px; -webkit-mask: url('../assets/images/4hAvhj6oDkzuyTUlP4waQ9M3jSw.svg') center / contain no-repeat; mask: url('../assets/images/4hAvhj6oDkzuyTUlP4waQ9M3jSw.svg') center / contain no-repeat; }
.article__body { position: relative; text-align: center; }
.article__title a {
  display: inline-block; max-width: 300px; margin: 0 auto;
  font-family: var(--serif); font-weight: 400;
  font-size: 36px; line-height: 1.15; letter-spacing: -.015em; color: var(--sage);
}
/* description + button fade in on scroll, staggered per article (not hover-gated) */
.article__more {
  opacity: 0; transform: translateY(14px);
  transition: opacity .9s var(--ease-out) var(--d, 0s), transform .9s var(--ease-out) var(--d, 0s);
}
.article__more.in { opacity: 1; transform: none; }
.article__desc { margin: 16px auto 0; max-width: 340px; font-size: 14px; line-height: 1.8; color: var(--gray); }
.article__more .pill { margin: 24px auto 4px; }

/* ---------- Numbers ---------- */
.numbers { padding: 0 var(--gutter) 160px; background: var(--bg); }
.numbers__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.counter__value { font-size: 72px; font-weight: 600; line-height: 1; letter-spacing: -.02em; color: var(--sage); opacity: .15; transition: opacity 1.2s var(--ease); }
.counter__value.lit { opacity: 1; }
/* per-digit slot roll (source: per-column springs, bounce 0, durations .6/.8/1/1.2s) */
.sd { position: relative; display: inline-block; height: 72px; overflow: hidden; vertical-align: top; }
/* invisible copy of the final digit sizes the column, so a narrow "1" doesn't sit in a "0"-wide slot */
.sd__size { display: block; height: 72px; line-height: 72px; visibility: hidden; }
.sd__strip { position: absolute; top: 0; left: 0; right: 0; text-align: center; transition-property: transform; transition-timing-function: cubic-bezier(.25, .8, .25, 1); }
.sd__strip span { display: block; height: 72px; line-height: 72px; }
.counter__label { margin-top: 16px; font-size: 14px; line-height: 1.8; color: var(--gray); }

/* ---------- FAQ ---------- */
.faq { padding: 160px var(--gutter) 160px; background: var(--bg); }
/* when a section continues the one above, don't double the gap */
.numbers + .pricing { margin-top: 0; }
.numbers + .faq, .pricing + .faq { padding-top: 0; }
.faq__grid { display: grid; grid-template-columns: 537px 1fr; gap: 56px; }
.faq__sub { margin-top: 24px; max-width: 537px; font-size: 16px; line-height: 1.7; color: var(--gray); }
.faq__note { margin-top: 190px; }
.faq__note p { max-width: 480px; font-size: 14px; line-height: 1.8; color: var(--gray); }
.faq__note .pill { margin-top: 32px; }
.faq__list { max-width: 648px; justify-self: end; width: 100%; }
.faq__item { background: var(--white); border-radius: 16px; padding: 24px; }
.faq__item + .faq__item { margin-top: 8px; }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; text-align: left; font-size: 18px; line-height: 1.7; color: var(--ink);
}
.faq__q strong { font-weight: 600; }
.faq__icon { flex: 0 0 auto; display: inline-flex; transition: transform .45s var(--ease); }
.faq__item.is-open .faq__icon { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq__a p { padding-top: 12px; font-size: 14px; line-height: 1.8; color: var(--gray); max-width: 560px; }
.faq__item.is-open .faq__a { max-height: 220px; }
.faq__outro { margin-top: 54px; padding: 0 24px; font-size: 14px; line-height: 1.8; color: var(--gray); max-width: 560px; }

/* ---------- Book a session ---------- */
.book { padding: 160px var(--gutter) 160px; background: var(--white); }
.book__grid { display: grid; grid-template-columns: 1fr 537px; gap: 110px; margin-top: 73px; }
.book__copy { margin-top: 24px; max-width: 480px; font-size: 16px; line-height: 1.7; color: var(--gray); }
.book__sticky { position: sticky; top: 120px; margin-top: 160px; max-width: 480px; }
.book__chat { margin-top: 110px; font-size: 14px; line-height: 1.8; color: var(--gray); }

/* ---------- Join: choose a tier (homepage + Community page; each button opens the Join form with that tier ticked) ---------- */
.join__tiers { display: flex; flex-direction: column; gap: 16px; }
.join-tier {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; align-items: baseline;
  padding: 28px 32px 30px; border: 1px solid var(--hairline); border-radius: 16px; background: var(--white);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.join-tier:hover { border-color: rgba(199, 106, 54, .45); box-shadow: 0 12px 32px rgba(74, 55, 40, .07); }
.join-tier__name { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.1; letter-spacing: -.01em; color: var(--ink); }
.join-tier__price { text-align: right; white-space: nowrap; font-size: 14px; color: var(--gray); }
.join-tier__price strong { font-size: 28px; font-weight: 600; letter-spacing: -.01em; color: var(--sage); }
.join-tier__desc { grid-column: 1 / -1; margin-top: 12px; font-size: 15px; line-height: 1.7; color: var(--gray); }
.join-tier__foot { grid-column: 1 / -1; margin-top: 22px; display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; }
.join-tier__yearly { font-size: 13px; line-height: 1.5; color: var(--gray-light); }
.join__help { margin-top: 12px; font-size: 14px; line-height: 1.8; color: var(--gray); }
.socials { display: flex; gap: 32px; margin-top: 32px; color: var(--gray); }
.socials a { transition: color .3s, transform .3s; }
.socials a:hover { color: var(--sage); transform: translateY(-2px); }
.socials--footer { color: var(--white); }
.socials--footer a:hover { color: var(--white-65); }

.form-block + .form-block { margin-top: 64px; }
.form-block__title { font-size: 26px; font-weight: 500; line-height: 1.4; letter-spacing: -.015em; color: var(--ink); }
.field {
  display: block; width: 100%; height: 40px; margin-top: 28px;
  background: transparent; border: 0; border-bottom: 1px solid var(--hairline);
  font-family: var(--sans); font-size: 16px; color: var(--gray);
  border-radius: 0; transition: border-color .3s;
}
.field::placeholder { color: var(--gray-light); }
.field:focus { outline: none; border-bottom-color: var(--sage); }
.field--area { height: 120px; resize: none; padding-top: 8px; line-height: 1.7; }
.field-select { position: relative; }
.field-select::after {
  content: ''; position: absolute; right: 2px; top: 50%; margin-top: 8px;
  width: 12px; height: 8px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236f6054' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.field-select .field { appearance: none; -webkit-appearance: none; cursor: pointer; }
.check { display: flex; align-items: flex-start; gap: 16px; margin-top: 24px; cursor: pointer; }
.form-block__title + .check { margin-top: 40px; }
.check input {
  appearance: none; -webkit-appearance: none;
  width: 20px; height: 20px; margin: 3px 0 0; flex: 0 0 auto;
  background: rgba(212, 168, 153, .3); border-radius: 4px; border: 0;
  cursor: pointer; transition: background .25s;
}
.check input:checked {
  background: var(--sage);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' fill='none'%3E%3Cpath d='M1 5.2L4.2 8.4 11 1.4' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.check span { font-size: 14px; line-height: 1.8; color: var(--gray); }
.form-note { margin: 16px 0 0 36px; font-size: 14px; line-height: 1.8; color: var(--gray-light); }
.pill--submit { margin-top: 64px; height: 40px; }

/* ---------- Footer ---------- */
.footer-wrap { position: relative; overflow: hidden; background: #0d141a; }
.footer-wrap__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.footer { position: relative; z-index: 3; padding: 200px var(--gutter) 64px; color: var(--white); }
.footer__grid { display: grid; grid-template-columns: 1fr 427px; gap: 110px; }
.footer__newsletter .h-serif-lg { color: var(--white); }
.footer__copy { margin-top: 24px; max-width: 480px; font-size: 16px; line-height: 1.7; color: var(--white-65); }
.subscribe { display: flex; align-items: flex-end; gap: 16px; margin-top: 113px; }
.field--dark { width: 354px; margin-top: 0; border-bottom-color: rgba(255, 255, 255, .35); color: var(--white); }
.field--dark::placeholder { color: var(--gray-light); }
.field--dark:focus { border-bottom-color: var(--white); }
.footer__privacy { margin-top: 25px; max-width: 330px; font-size: 14px; line-height: 1.8; color: var(--white-65); }
.footer__nav-kicker { color: var(--white-65); }
.footer__cols { display: flex; margin-top: 47px; }
.footer__cols ul { width: 213px; }
.footer__cols li + li { margin-top: 24px; }
.footer__cols a { font-size: 18px; line-height: 1.7; font-weight: 600; transition: opacity .25s; }
.footer__cols a:hover { opacity: .65; }
.footer__bottom {
  display: grid; grid-template-columns: 1fr 427px; gap: 110px;
  margin-top: 160px;
}
.footer__contact-line { font-size: 18px; line-height: 1.7; color: var(--white-65); }
.footer__contact-line .inline-link--white { font-size: 18px; }
.footer__credit { display: flex; gap: 20px; align-items: flex-start; }
.footer__credit p { font-size: 14px; line-height: 1.8; color: var(--white-65); }
.footer__copyright { margin-top: 56px; font-size: 14px; line-height: 1.8; color: var(--white-65); }

/* ---------- Promo widgets ---------- */
.promo { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 140px; }
.promo__card {
  position: relative; display: block; border-radius: 10px; overflow: hidden;
  background: rgba(0, 0, 0, .04); padding: 1px;
  transition: transform .3s var(--ease);
}
.promo__card:hover { transform: translateY(-2px); }
.promo__card img { border-radius: 9px; width: 100%; height: 101px; object-fit: cover; }
.promo__badge {
  position: absolute; left: 0; right: 0; bottom: 10px; text-align: center;
  font-family: 'Aspekta', var(--sans); font-weight: 1000; font-size: 14px; line-height: 1.6;
  color: var(--white); text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
}
.promo__pill {
  display: block; margin-top: 4px; height: 38px; border-radius: 10px; overflow: hidden;
  background: #000; color: var(--white); text-align: center;
}
.promo__rotator { display: block; animation: promorotate 6s infinite var(--ease); }
.promo__rotator span { display: block; height: 38px; line-height: 38px; font-size: 13px; font-weight: 600; letter-spacing: -.005em; }
@keyframes promorotate {
  0%, 42% { transform: translateY(0); }
  50%, 92% { transform: translateY(-38px); }
  100% { transform: translateY(-76px); }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
  .how__steps { grid-template-columns: 1fr 380px; }
  .odo__digit { height: 340px; }
  .odo__strip span { height: 340px; font-size: 270px; line-height: 340px; min-width: 128px; }
  .journal__articles { grid-template-columns: repeat(3, minmax(0, 357px)); gap: 24px; }
  .article { width: auto; }
  .split__grid { grid-template-columns: 1fr 48px 380px; }
  .split__grid .h-sans { font-size: 38px; }
}

@media (max-width: 1080px) {
  :root { --gutter: 40px; }
  .hero__aside { width: 360px; }
  .services__cards { grid-template-columns: repeat(2, 1fr); }
  .card { height: 480px; }
  .card__copy { top: auto; bottom: 80px; }
  .story__grid { grid-template-columns: minmax(0, 1fr); }
  .story__images { height: 640px; max-width: 700px; }
  .story__img { right: auto; left: 0; }
  .meet__grid { grid-template-columns: 1fr; gap: 56px; }
  .meet__photo { height: 600px; max-width: 700px; }
  .meet__text { grid-column: 1; }
  .pricing__cards { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .ready__grid, .faq__grid, .book__grid, .footer__grid, .footer__bottom { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .faq__note { margin-top: 48px; }
  .faq__list { justify-self: stretch; max-width: none; }
  .book__sticky { position: static; margin-top: 64px; }
  /* join chooser: heading, then the tiers, then trust / contact (not trust first) */
  .join .book__grid { display: flex; flex-direction: column; gap: 0; }
  .join .book__text { display: contents; }
  .join__tiers { order: 1; margin-top: 48px; }
  .join .book__sticky { order: 2; }
  .split__grid { grid-template-columns: 1fr; gap: 32px; }
  .split__copy { grid-column: 1; }
  .quote__text { font-size: 56px; }
  .quote__content { top: 700px; }
  .quote__mask { height: 1080px; border-radius: 50% 50% 0 0 / 280px 280px 0 0; margin-top: -140px; }
  .how__intro { margin-left: 0; text-indent: 120px; }
  .journal__articles { grid-template-columns: 1fr; justify-items: center; }
  .article--offset { margin-top: 0; }
  .article { margin-bottom: 64px; }
  .numbers__grid { grid-template-columns: repeat(2, 1fr); gap: 56px 16px; }
}

@media (max-width: 809px) {
  :root { --gutter: 20px; }
  .nav { padding-top: 20px; }
  .nav--solid { padding-top: 0; height: 64px; }
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav[data-theme="light"] .nav__burger { color: var(--ink); }
  .nav__burger { color: var(--white); }
  .hero__inner { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 40px; }
  .hero__title { font-size: clamp(56px, 15.5vw, 96px); }
  .hero__aside { width: 100%; }
  .hero__copy { text-indent: 0; }
  .h-sans { font-size: 32px; }
  .h-serif-lg { font-size: clamp(40px, 13.5vw, 52px); }
  .toggle-zone { height: calc(100vh + 1150px); }
  .toggle-zone__sub br { display: none; }
  .vol { gap: .85em; padding: .85em 1.35em; }
  .vol__track { width: clamp(80px, calc(100vw - 2 * var(--gutter) - 19.5em), 21.5em); }
  .services__cards { grid-template-columns: 1fr; }
  .philosophy { height: auto; padding-bottom: 80px; }
  .philosophy__text { font-size: 28px; }
  .story { padding-top: 120px; }
  .story__images { height: 520px; }
  .meet { padding-top: 120px; }
  .meet__photo { height: 440px; }
  .meet__steps li { font-size: 20px; }
  .story__img { width: 100%; }
  .how__title { font-size: clamp(48px, 13vw, 72px); }
  .how__intro { font-size: 20px; text-indent: 64px; }
  .how__steps { grid-template-columns: 1fr; }
  .how__number { display: none; }
  .how__col { padding-top: 120px; padding-bottom: 120px; }
  .how__gap { height: 160px; }
  .step__title { font-size: 48px; }
  .step { opacity: 1; transform: none; }
  .pricing { padding: 96px var(--gutter); margin-top: 96px; }
  .split { padding: 96px var(--gutter); }
  .split--experience { padding-bottom: 200px; }
  .quote__text { font-size: 40px; }
  .quote__content { top: 560px; }
  .quote__mask { height: 900px; }
  .numbers { padding-bottom: 96px; }
  .numbers__grid { grid-template-columns: 1fr 1fr; }
  .counter__value { font-size: 52px; }
  .sd, .sd__size, .sd__strip span { height: 52px; line-height: 52px; }
  .faq { padding-top: 96px; padding-bottom: 96px; }
  .numbers + .faq, .pricing + .faq { padding-top: 0; }
  .book { padding: 96px var(--gutter); }
  .book__grid { margin-top: 40px; }
  .footer { padding: 120px var(--gutter) 48px; }
  .footer__cols { gap: 24px; }
  .footer__cols ul { width: auto; flex: 1 1 0; min-width: 0; }
  .subscribe { margin-top: 56px; flex-wrap: wrap; }
  .field--dark { width: 100%; }
  .footer__bottom { margin-top: 96px; gap: 40px; }
  .promo { display: none; }
}

/* small laptops / landscape phones: the full link row collides with the logo, so use the burger */
@media (min-width: 810px) and (max-width: 980px) {
  .nav__links { display: none; }
  .nav__right { margin-left: auto; }
  .nav__burger { display: block; color: var(--white); margin-left: 12px; }
  .nav[data-theme="light"] .nav__burger { color: var(--ink); }
}

/* very narrow phones: shrink the nav CTA so it clears the logo and burger */
@media (max-width: 359px) {
  .nav__logo-img { height: 36px; }
  .pill--nav { height: 34px; padding: 0 14px; }
  .pill--nav .pill__label { font-size: 10px; letter-spacing: .08em; }
  .pill--nav .pill__dot { display: none; }
}

/* small phones: the journal cards' fixed-size stroke art needs ~350px, so scale the cards to fit */
@media (max-width: 400px) {
  .journal .article__media { zoom: .84; }
}

/* phones: tier price sits under the tier name */
@media (max-width: 520px) {
  .join-tier { grid-template-columns: 1fr; padding: 24px 22px 26px; }
  .join-tier__price { text-align: left; margin-top: 6px; }
}

/* very narrow phones: drop the % readout so the slider track keeps a usable width */
@media (max-width: 359px) {
  .vol__val { display: none; }
  .vol__track { width: clamp(80px, calc(100vw - 2 * var(--gutter) - 15.5em), 21.5em); }
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 49; background: var(--ink);
  display: flex; flex-direction: column; justify-content: center; padding: 0 32px;
  opacity: 0; pointer-events: none; transition: opacity .4s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--serif); font-size: 44px; line-height: 1.6; color: var(--white);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .step { opacity: 1; transform: none; transition: none; }
  .hero__tline { opacity: 1; transform: none; transition: none; }
  .hero__copy, .hero__cta { opacity: 1; transform: none; transition: none; }
  .stage__img, .stage__line, .stage__rings { transition: none; animation: none; }
  .stage__img { opacity: 1; }
  .stage__line { opacity: .5; }
  .stage__rings { opacity: .1; }
  .nav { animation: none; }
  .ring--a, .ring--b, .ring--c { animation: none; }
  .promo__rotator { animation: none; }
  .odo__strip { transition: none; }
  .philosophy__text .w { opacity: 1; }
  .scribble__oval path { stroke-dashoffset: 0 !important; animation: none; }
  .inf__mark { clip-path: none !important; animation: none; }
  .inf__pen { stroke-dashoffset: 0 !important; animation: none !important; }
  .article__more { opacity: 1; transform: none; transition: none; }
  .card { transition: none; }
  .plx__inner { transform: none !important; height: 100% !important; }
  .drawline path { stroke-dashoffset: 0 !important; stroke-dasharray: none !important; }
  .sd__strip { transition: none !important; }
}
