/* Sanjeevini Life Care Village — site styles
   Rule that keeps the page safe: base CSS never hides content waiting for JS.
   Hidden start states are set by GSAP (main.js) under html.motion only. */

:root {
  --paper: #fbf8f1;
  --paper-2: #f2ede2;
  --ink: #10261b;
  --ink-2: #4a5a51;
  --green: #3c9a50;          /* data markers, accents */
  --green-btn: #2c7a3e;      /* buttons: AA with white text */
  --gold: #b8954a;           /* single zari hairline cue */
  --graphite: #14181a;
  --graphite-2: #1d2326;
  --on-dark: #eef0ea;
  --on-dark-2: #a9b2ab;

  /* live climate (tweened on <html> by main.js under .motion) */
  --bg: var(--paper);
  --fg: var(--ink);
  --muted: var(--ink-2);
  --line: rgba(16, 38, 27, .14);
  --card: var(--paper-2);

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Malayalam", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gut: clamp(20px, 5vw, 80px);
  --max: 1440px;
  --hdr: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --r-lg: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: auto; }
html.no-motion, html:not(.motion) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--sans); font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
html.motion body { background: var(--bg); color: var(--fg); }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--green); color: #fff; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
.mono { font-family: var(--mono); font-feature-settings: "tnum"; letter-spacing: .01em; }
.muted { color: var(--muted); }

/* ---------- climates: plain page themes each section; motion page tweens <html> ---------- */
[data-theme="graphite"] { background: var(--graphite); color: var(--on-dark); --muted: var(--on-dark-2); --line: rgba(238, 240, 234, .14); --card: var(--graphite-2); }
[data-theme="paper"] { background: var(--paper); color: var(--ink); }
/* under motion the page colour is tweened on <html>, so sections drop their own climate */
html.motion main [data-theme] { background: transparent; color: inherit; --muted: inherit; --line: inherit; --card: inherit; }
[id] { scroll-margin-top: calc(var(--hdr) + 12px); }

/* film grain: static, cheap */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- type ---------- */
.kicker, .eyebrow { font: 500 12px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: flex; gap: 14px; align-items: center; }
.num { color: var(--gold); }
.h2 { font: 300 clamp(36px, 5.1vw, 84px)/1.02 var(--serif); letter-spacing: -.018em; font-variation-settings: "opsz" 72; margin-top: 18px; max-width: 16ch; text-wrap: balance; }
.h3 { font: 300 clamp(26px, 2.6vw, 40px)/1.08 var(--serif); letter-spacing: -.01em; font-variation-settings: "opsz" 48; }
.lede { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--muted); max-width: 46ch; margin-top: 22px; }
.tag { display: inline-flex; align-items: center; gap: 8px; font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 8px 11px; border-radius: 999px; background: rgba(16, 24, 26, .46); color: #f3f4ef; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.link { color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; display: inline-block; margin-top: 18px; }
.link:hover { color: var(--green-btn); }

/* masks for split lines (SplitText adds .line wrappers; padding keeps descenders/italics) */
.ln { display: inline-block; }
.split-line { padding-bottom: .08em; margin-bottom: -.08em; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; min-height: 46px; border-radius: 999px; font: 500 15px/1 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); white-space: nowrap; }
.btn--solid { background: var(--green-btn); color: #fff; }
.btn--solid:hover { background: #23683a; }
.btn--line { border-color: currentColor; background: transparent; }
.btn--line:hover { background: var(--fg); color: var(--bg); }
[data-theme="graphite"] .btn--line:hover { background: var(--on-dark); color: var(--graphite); }
.btn--lg { padding: 17px 28px; font-size: 16px; min-height: 54px; }

/* ---------- loader (furniture: exists only under .motion) ---------- */
.loader { display: none; }
html.motion .loader { display: grid; place-items: center; position: fixed; inset: 0; z-index: 150; background: var(--paper); color: var(--green); }
.loader__inner { display: grid; justify-items: center; gap: 18px; }
.loader__mark { width: clamp(84px, 9vw, 120px); height: auto; }
.loader__word { font: 300 clamp(30px, 3.4vw, 46px)/1 var(--serif); color: var(--ink); letter-spacing: .01em; overflow: hidden; }
.loader__sub { font: 500 11px/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--ink-2); overflow: hidden; }
.loader__word span, .loader__sub span { display: inline-block; }
.loader__word img, .loader__sub img { display: block; width: clamp(230px, 24vw, 340px); height: auto; }
.loader__sub img { width: calc(clamp(230px, 24vw, 340px) * 863 / 900); }   /* same scale as the name (which now carries ™) */
html.motion .loader { color: #98c45a; }   /* the drawn leaf in the logo's own green */

/* ---------- progress + header ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); }
html:not(.js) .progress { display: none; }

.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 110; height: var(--hdr); display: flex; align-items: center; gap: 24px; padding: 0 var(--gut);
  background: color-mix(in srgb, var(--paper) 86%, transparent); color: var(--ink); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent; transition: transform .5s var(--ease), background .4s, color .4s, border-color .4s; }
html.motion .hdr { background: color-mix(in srgb, var(--bg) 82%, transparent); color: var(--fg); }
.hdr.is-scrolled { border-bottom-color: var(--line); }
.hdr.is-hidden { transform: translateY(-101%); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand__mark { width: 31px; height: 42px; color: var(--green); flex: none; }
.brand__name { font: 400 21px/1 var(--serif); letter-spacing: .01em; display: grid; gap: 4px; }
.brand__name small { font: 500 9.5px/1 var(--mono); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
/* the clinic's official logo (from LOGO.pdf, 22 Nov): dark lettering on paper, light lettering when the header turns graphite */
.brand__logo { display: block; height: 46px; width: auto; margin-left: -6px; }
.brand__logo--light { display: none; }
html[data-climate="graphite"] .brand__logo--dark { display: none; }
html[data-climate="graphite"] .brand__logo--light { display: block; }
@media (max-width: 699px) { .brand__logo { height: 40px; } }
.nav { display: flex; gap: clamp(14px, 1.8vw, 28px); margin-left: auto; font-size: 14.5px; }
.nav a { text-decoration: none; opacity: .78; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease); }
.nav a:hover, .nav a.is-on { opacity: 1; }
.nav a:hover::after, .nav a.is-on::after { transform: scaleX(1); }
.hdr__end { display: flex; align-items: center; gap: 14px; }
.hdr__call { display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1 var(--mono); letter-spacing: .04em; text-decoration: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(60, 154, 80, .5); }
html.motion .dot { animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(60, 154, 80, .5); } 70%, 100% { box-shadow: 0 0 0 9px rgba(60, 154, 80, 0); } }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; position: relative; }
.menu-btn span:not(.sr) { position: absolute; left: 14px; right: 14px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.menu-btn span:nth-child(1) { top: 19px; } .menu-btn span:nth-child(2) { top: 26px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
.sheet { position: fixed; inset: 0; z-index: 105; background: var(--paper); color: var(--ink); padding: calc(var(--hdr) + 28px) var(--gut) 32px; display: flex; flex-direction: column; justify-content: space-between; overflow: auto; }
.sheet[hidden] { display: none; }
.sheet nav { display: grid; gap: 6px; }
.sheet nav a { font: 300 clamp(32px, 8vw, 46px)/1.15 var(--serif); text-decoration: none; }
.sheet__end { display: grid; gap: 12px; margin-top: 32px; }

@media (max-width: 1099px) { .nav { display: none; } .menu-btn { display: inline-block; } .hdr__end { margin-left: auto; } }
@media (max-width: 699px) { .hdr__call { display: none; } :root { --hdr: 64px; } }
@media (max-width: 559px) { .hdr__book { display: none; } }

/* ---------- sections ---------- */
/* one centred content box: padding does the centring, children stay left-aligned */
main > section { --pad: max(var(--gut), calc((100vw - var(--max)) / 2)); position: relative; padding: clamp(84px, 10.5vw, 168px) var(--pad); }

/* 1 · hero */
.hero { min-height: 100svh; padding-top: calc(var(--hdr) + clamp(20px, 3.4vw, 48px)) !important; padding-bottom: 28px !important; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); grid-template-rows: 1fr auto; column-gap: clamp(28px, 5vw, 96px); align-items: end; }
.hero > * { margin: 0; max-width: none; }
.hero__copy { align-self: center; padding-bottom: clamp(24px, 4vh, 56px); }
.hero__title { font: 300 clamp(60px, min(10vw, 17svh), 168px)/.88 var(--serif); letter-spacing: -.03em; margin-top: 26px; font-variation-settings: "opsz" 72; }
.hero__title em { font-style: italic; color: var(--green-btn); }
/* two-line section headings: plain first line, the key words in green italics on the second */
.h2 em { font-style: italic; color: var(--green-btn); }
[data-theme="graphite"] .h2 em { color: #8fd19e; }   /* lighter green on the dark sections (AA on #14181a) */
.hero__title .ln { overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
/* longer headline ("A true holistic wellness / defines life."): sized so line 1 holds as one line in the
   two-column hero; on single-column screens it may wrap ("A true holistic / wellness") */
/* sizes fitted to the Aptos/Figtree measure: "A true holistic wellness" ≈ 9.85 × font size wide */
.hero__title--long { font-size: clamp(40px, min(4.85vw, 10.5svh), 88px); }
@media (max-width: 899px) { .hero__title--long { font-size: 8.6vw; } }
@media (max-width: 600px) { .hero__title--long { font-size: min(13.5vw, 56px); } }   /* "A true holistic" holds one line down to 320px */
.hero__title--long .ln { display: block; text-wrap: balance; }   /* phones: "defines / human life.", never a lone "life." */
/* the headline in the same typeface as the "God's Own Country" line (user, 22 Nov): Aptos where installed, Figtree otherwise */
.hero__title--long { font-family: "Aptos", "Aptos Display", "Figtree", var(--sans); font-weight: 600; letter-spacing: -.025em; line-height: .98; font-variation-settings: normal; }
.hero__title--long em { font-weight: 600; }
.hero__lede { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; color: var(--muted); max-width: 34ch; margin-top: 30px; }
/* Aptos Bold, as the clinic asked. Aptos is Microsoft's (Office / Windows 11) and can't be served as a web font,
   so visitors who have it installed get it, and everyone else gets Figtree Bold, a free close match. */
.hero__invite { font-family: "Aptos", "Aptos Display", "Figtree", var(--sans); font-weight: 700; font-size: clamp(15px, 1.3vw, 20px); letter-spacing: .05em; line-height: 1.4; color: var(--green-btn); max-width: 36em; text-wrap: balance; display: block; }
.hero__invite-lead { font-size: 1.3em; letter-spacing: .03em; }   /* "God's Own Country" a step bigger than the rest of the line */
/* the bigger invitation line takes ~two lines, so the hero copy below it sits a little tighter */
.hero__invite + .hero__title { margin-top: 16px; }
.hero__invite ~ .hero__welcome { margin-top: 22px; }
.hero__invite ~ .hero__welcome + .hero__lede { margin-top: 12px; }
.hero__invite ~ .hero__ctas { margin-top: 26px; }
/* hero from GOD.docx (24 Nov): invite → welcome as the headline → motto */
.hero__title--welcome { font-family: "Aptos", "Figtree", var(--sans); font-weight: 400; font-size: clamp(30px, min(3.5vw, 7.4svh), 60px); line-height: 1.14; letter-spacing: -.022em; color: var(--ink); max-width: 19em; text-wrap: balance; font-variation-settings: normal; }
.hero__title--welcome strong { font-weight: 700; color: var(--green-btn); }
@media (max-width: 899px) { .hero__title--welcome { font-size: clamp(30px, 6.4vw, 46px); } }
.hero__invite { font-weight: 600; }
.hero__invite-lead { font-weight: 700; }
.hero__motto { font-family: "Aptos", "Figtree", var(--sans); font-weight: 600; font-size: clamp(14px, 1.2vw, 19px); letter-spacing: .08em; line-height: 1.45; color: var(--green-btn); max-width: 34em; text-wrap: balance; display: block; margin-top: 24px; }
.hero__motto ~ .hero__ctas { margin-top: 30px; }
.hero__welcome { font: 300 clamp(21px, 1.75vw, 28px)/1.34 var(--serif); letter-spacing: -.006em; color: var(--ink); max-width: 31ch; margin-top: 30px; font-variation-settings: "opsz" 36; text-wrap: pretty; }
.hero__welcome em { font-style: italic; color: var(--green-btn); }
.hero__welcome strong { font-weight: 500; }   /* Newsreader's heaviest loaded weight; the paragraph itself is 300 */
.hero__welcome + .hero__lede { margin-top: 16px; font-size: clamp(16px, 1.2vw, 18px); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__media { position: relative; justify-self: end; width: min(100%, calc((100svh - var(--hdr) - 150px) * .75)); min-width: 300px; }
.arch { position: relative; aspect-ratio: 3 / 4; border-radius: 999px 999px 26px 26px; overflow: hidden; background: var(--paper-2); isolation: isolate; }
.arch__poster, .arch__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.arch__video { z-index: 1; opacity: 0; transition: opacity .8s ease; }
.arch__video.is-playing { opacity: 1; }
.hero__media .tag { position: absolute; left: 16px; bottom: 16px; z-index: 2; }
.facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.facts li { display: grid; gap: 6px; }
.facts .mono { color: var(--fg); font-size: 13px; letter-spacing: .04em; }

@media (max-width: 899px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: auto; min-height: 0; }
  .hero__copy { padding-bottom: 0; }
  .hero__media { justify-self: stretch; width: 100%; min-width: 0; margin-top: 40px; }
  .arch { border-radius: 999px 999px 22px 22px; }
  .facts { grid-template-columns: 1fr; gap: 14px; }
}

/* 2 · approach */
.approach { display: grid; gap: clamp(40px, 6vw, 80px); }
.lit { font: 300 clamp(28px, 3.5vw, 56px)/1.2 var(--serif); letter-spacing: -.012em; max-width: 24em; font-variation-settings: "opsz" 60; }
.lit .w { transition: none; }
.dont { display: grid; gap: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chips li { font: 300 clamp(20px, 2vw, 30px)/1 var(--serif); padding: 16px 24px; border: 1px solid var(--line); border-radius: 999px; }
.notice { border-left: 2px solid var(--gold); padding: 6px 0 6px 22px; max-width: 62ch; color: var(--muted); font-size: 17px; }
.notice strong { color: var(--fg); font-weight: 600; }

/* 2b · seven pillars (clinic copy, 24 Nov) */
.pillars { display: grid; gap: clamp(44px, 5.5vw, 80px); }
.pillars + .approach { padding-top: 0; }   /* both are paper; one gap between them, not two */
.pillars__head { display: grid; gap: 22px; }
.pillars__head .kicker { font-size: clamp(15px, 1.55vw, 24px); letter-spacing: .12em; color: var(--ink); gap: 16px; }   /* "The Sanjeevini Philosophy" label, bigger at the user's request */
.pillars__head .kicker .num { font-size: .8em; }
.pillars__head .lede { margin-top: 0; max-width: 54ch; font-size: clamp(20px, 1.75vw, 27px); line-height: 1.5; color: var(--ink-2); }
.pillars__list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(34px, 3.4vw, 52px) clamp(22px, 2.6vw, 40px); counter-reset: none; }
.pillars__list li { border-top: 1px solid var(--line); padding-top: 20px; display: grid; gap: 10px; align-content: start; }
.pillars__n { font: 500 13px/1 var(--mono); letter-spacing: .14em; color: var(--green); }
.pillars__list h3 { font: 300 clamp(28px, 2.45vw, 38px)/1.08 var(--serif); letter-spacing: -.01em; font-variation-settings: "opsz" 48; }
.pillars__list p { color: var(--muted); font-size: clamp(17.5px, 1.32vw, 20px); line-height: 1.55; max-width: 32ch; }
.pillars__close { font: 300 clamp(27px, 3vw, 46px)/1.22 var(--serif); letter-spacing: -.01em; max-width: 30em; font-variation-settings: "opsz" 48; }
.pillars__close em { color: var(--green); }

/* 3 · measure */
.measure__head { margin-bottom: clamp(48px, 6vw, 88px); }
.gauges { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; counter-reset: g; }
.gauge { border-top: 1px solid var(--line); padding-top: 22px; display: grid; gap: 14px; align-content: start; }
.gauge__name { font: 300 clamp(24px, 2vw, 32px)/1.08 var(--serif); }
.gauge__what { color: var(--muted); font-size: 15.5px; min-height: 3.2em; }
.gauge__dir { font-size: 11.5px; color: var(--muted); line-height: 1.6; }
.gauge__dir b { color: var(--green); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
.band { position: relative; height: 54px; margin-top: 6px; --p: .5; }
.gauge[data-dir="down"] .band { --p: .2; }
.gauge[data-dir="up"] .band { --p: .8; }
.gauge[data-dir="mid"] .band { --p: .5; }
.band__track { position: absolute; left: 0; right: 0; top: 20px; height: 1px; background: var(--line); }
.band__track::before, .band__track::after { content: ""; position: absolute; top: -5px; width: 1px; height: 11px; background: var(--line); }
.band__track::before { left: 0; } .band__track::after { right: 0; }
.band__zone { position: absolute; left: 38%; width: 24%; top: 14px; height: 13px; border-radius: 99px; background: rgba(60, 154, 80, .18); }
.band__marker { position: absolute; top: 13px; left: calc(var(--p) * 100%); width: 15px; height: 15px; margin-left: -7.5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(60, 154, 80, .18); }
.band__lo, .band__hi { position: absolute; top: 36px; font-size: 10.5px; color: var(--muted); letter-spacing: .08em; }
.band__lo { left: 0; } .band__hi { right: 0; }
@media (max-width: 1099px) { .gauges { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 22px; } }
@media (max-width: 599px) { .gauges { grid-template-columns: 1fr; } .gauge__what { min-height: 0; } }

/* 4 · assessment */
.assess__head { margin-bottom: clamp(40px, 5vw, 72px); }
.assess__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 110px); align-items: start; }
.assess__media { position: sticky; top: calc(var(--hdr) + 4vh); }
.stage { position: relative; aspect-ratio: 3 / 4; max-height: 76svh; margin-inline: auto; border-radius: var(--r-lg); overflow: hidden; background: var(--graphite-2); }
.stage__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s var(--ease), transform 1.4s var(--ease); transform: scale(1.04); }
.stage__img.is-on { opacity: 1; transform: none; }
.trace { position: absolute; inset: 0; width: 100%; height: 100%; stroke: #e9f5e6; stroke-width: 1.6; opacity: .9; pointer-events: none; mix-blend-mode: normal; }
.trace path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease); }
.stage[data-on="4"] .trace__torque, .stage[data-on="5"] .trace__gait { stroke-dashoffset: 0; }
html:not(.js) .trace { display: none; }
.stage__tag { position: absolute; left: 14px; bottom: 14px; }
.steps { display: grid; }
.step { padding: clamp(28px, 8vh, 96px) 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 56px 1fr; column-gap: 12px; }
.step:first-child { border-top: 0; padding-top: 0; }
.step h3 { font: 300 clamp(28px, 2.6vw, 42px)/1.05 var(--serif); }
.steps .step h3 { text-transform: uppercase; letter-spacing: .07em; font-size: clamp(24px, 2.1vw, 34px); }   /* ARRIVE · MEASURE · BREATHE … */
.step p { grid-column: 2; color: var(--muted); max-width: 40ch; margin-top: 14px; font-size: 17px; }
.step__n { color: var(--gold); padding-top: .5em; font-size: 12px; }
html.js .step { opacity: .34; transition: opacity .6s var(--ease); }
html.js .step.is-on { opacity: 1; }
@media (min-width: 900px) { .step { min-height: 58svh; align-content: center; } }
@media (max-width: 899px) {
  .assess__grid { grid-template-columns: 1fr; }
  .assess__media { top: calc(var(--hdr) + 10px); z-index: 2; }
  .stage { aspect-ratio: 4 / 3; max-height: 38svh; width: 100%; }
  .step { padding: 34px 0; min-height: 42svh; align-content: start; }
}

/* 5 · team ring */
.team__pin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 90px); align-items: center; min-height: calc(100svh - var(--hdr) - 80px); }
.team__quote { font: 300 italic clamp(22px, 1.9vw, 30px)/1.3 var(--serif); margin-top: 34px; max-width: 26ch; }
.team__quote span { display: block; font: 500 11px/1.4 var(--mono); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }
.ring { --size: min(560px, 42vw); position: relative; width: var(--size); aspect-ratio: 1; justify-self: center; }
.ring__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.ring__orbit, .ring__inner { fill: none; stroke: var(--gold); stroke-width: 1; }
.ring__inner { stroke: var(--line); stroke-dasharray: 2 6; }
.ring__you { position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--green-btn); color: #fff; display: grid; place-items: center; font: 300 italic clamp(20px, 2vw, 30px)/1 var(--serif); box-shadow: 0 0 0 12px rgba(60, 154, 80, .12); }
.ring__roles li { position: absolute; left: 50%; top: 50%; --a: calc(var(--i) * 40deg - 90deg); --rad: calc(var(--size) * .385);
  transform: translate(-50%, -50%) rotate(var(--a)) translateX(var(--rad)) rotate(calc(var(--a) * -1)); }
.ring__roles span { display: block; white-space: nowrap; font: 500 12.5px/1 var(--sans); padding: 10px 13px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); box-shadow: 0 8px 24px -14px rgba(16, 38, 27, .35); }
.ring__roles li:nth-child(-n+4) span { border-color: rgba(184, 149, 74, .55); }
@media (max-width: 899px) {
  .team__pin { grid-template-columns: 1fr; min-height: 0; }
  .ring { --size: min(92vw, 520px); margin-top: 10px; }
  .ring__roles span { font-size: 11px; padding: 8px 10px; }
}
@media (max-width: 420px) {
  .ring__roles li { --rad: calc(var(--size) * .36); } .ring__roles span { font-size: 10px; padding: 7px 8px; }
  /* the two long sports labels sit at the bottom: spread them so they never touch on small phones */
  .ring__roles li:nth-child(5) { --a: 56deg; } .ring__roles li:nth-child(6) { --a: 124deg; }
}

/* 6 · place */
.place { overflow: hidden; }
.place__head { margin-bottom: clamp(28px, 3vw, 48px); }
.place__head .h2 { max-width: 24ch; font-size: clamp(34px, 3.9vw, 64px); }
.place__viewport { margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.place__viewport::-webkit-scrollbar { display: none; }
.place__track { display: flex; gap: clamp(14px, 1.6vw, 26px); width: max-content; padding-right: var(--pad); }
.panel { width: clamp(240px, 24vw, 380px); scroll-snap-align: start; flex: none; }
@media (min-width: 900px) { .panel { width: clamp(200px, min(24vw, calc((100svh - 380px) * .75)), 380px); } html.motion .place { padding-top: calc(var(--hdr) + 28px); padding-bottom: 40px; } }
.panel__media { position: relative; aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden; background: var(--graphite-2); }
.panel__media video, .panel__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panel__type { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(18px, 1.7vw, 28px); color: var(--paper); background: radial-gradient(120% 80% at 85% 0%, rgba(184, 149, 74, .18), transparent 62%), var(--graphite-2); box-shadow: inset 0 0 0 1px rgba(251, 248, 241, .08); }
.panel__type svg { width: 36px; height: 49px; color: var(--gold); }
.panel__type .big { font: italic 300 clamp(46px, 4.6vw, 80px)/.95 var(--serif); letter-spacing: -.02em; margin-top: auto; }
.panel__type p:last-child { margin-top: 14px; font-size: 14px; line-height: 1.5; color: rgba(251, 248, 241, .7); max-width: 28ch; }
.panel__cap { margin-top: 14px; font: 300 clamp(19px, 1.5vw, 23px)/1.25 var(--serif); display: grid; gap: 6px; }
.panel__cap .mono { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.place__bar { height: 1px; background: var(--line); margin-top: 34px; position: relative; overflow: hidden; }
.place__bar span { position: absolute; inset: 0; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); }
html:not(.motion) .place__bar { display: none; }
.place__note { margin-top: 22px; }
html.motion.is-desktop .place__viewport { overflow: visible; scroll-snap-type: none; }

/* 7 · programmes */
.progs__head { margin-bottom: 40px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter { padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 14.5px; transition: background .3s, color .3s, border-color .3s; }
.filter.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
html:not(.js) .filters { display: none; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { background: var(--card); border-radius: 22px; padding: 26px 26px 24px; display: grid; gap: 12px; align-content: start; border: 1px solid transparent; transition: border-color .4s var(--ease), transform .5s var(--ease); }
.card:hover { border-color: rgba(184, 149, 74, .5); }
.card[hidden] { display: none; }
.card h3 { font: 300 clamp(24px, 2vw, 31px)/1.08 var(--serif); }
.card p { color: var(--muted); font-size: 15.5px; }
.card__len { color: var(--gold) !important; font-size: 11.5px !important; letter-spacing: .1em; text-transform: uppercase; }
.card__who { font-size: 11px !important; letter-spacing: .06em; margin-top: 4px; }
.progs__note { margin-top: 26px; color: var(--muted); font-size: 15px; }
@media (max-width: 1099px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 649px) { .cards { grid-template-columns: 1fr; } }

.finder { display: none; }
html.js .finder { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 64px); margin-top: clamp(64px, 8vw, 120px); padding: clamp(28px, 4vw, 56px); border-radius: var(--r-lg); background: var(--ink); color: var(--paper); }
.finder .kicker { color: #c9d1c9; }
.finder .muted { color: #a8b3aa; margin-top: 14px; font-size: 14.5px; }
.finder__intro .h3 { margin-top: 14px; }
.q { border: 0; margin: 0; padding: 0; display: none; }
.q.is-on { display: flex; flex-wrap: wrap; gap: 10px; }
.q legend { font: 300 clamp(22px, 1.9vw, 28px)/1.2 var(--serif); margin-bottom: 18px; width: 100%; float: left; }
.q label { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; border: 1px solid rgba(251, 248, 241, .25); cursor: pointer; font-size: 15px; transition: background .25s, border-color .25s; }
.q label:hover { border-color: var(--gold); }
.q input { accent-color: var(--green); }
.q label:has(input:checked) { background: var(--paper); color: var(--ink); }
.finder__result { display: grid; gap: 14px; }
.finder__result h4 { font: 300 clamp(26px, 2.4vw, 36px)/1.1 var(--serif); margin: 0; }
.finder__result p { color: #c9d1c9; }
.finder__result .btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.finder__result .btn--line { color: var(--paper); }
.finder__result .btn--line:hover { background: var(--paper); color: var(--ink); }
.finder__again { background: none; border: 0; color: #c9d1c9; text-decoration: underline; cursor: pointer; justify-self: start; padding: 4px 0; }
@media (max-width: 899px) { html.js .finder { grid-template-columns: 1fr; } }

/* 8 · visit */
.visit__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(28px, 6vw, 110px); align-items: center; }
.visit__addr { margin-top: 26px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.visit__photo { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 4; max-height: 82svh; }
.visit__photo img { width: 100%; height: 100%; object-fit: cover; }
.visit__photo .tag { position: absolute; left: 14px; bottom: 14px; }
.faq { margin-top: clamp(64px, 8vw, 120px); max-width: 980px; }
.faq .h3 { margin-bottom: 18px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font: 300 clamp(20px, 1.7vw, 25px)/1.3 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 300 28px/1 var(--sans); color: var(--gold); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 64ch; }
@media (max-width: 899px) { .visit__grid { grid-template-columns: 1fr; } }

/* 9 · close */
.close { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 90px); align-items: center; }
.loop-fig { position: relative; width: min(100%, 420px); aspect-ratio: 1; justify-self: center; }
.loop-fig svg { width: 100%; height: 100%; }
.loop-fig__ring { stroke: var(--gold); stroke-width: 1.2; }
.loop-fig__node circle { fill: var(--green); }
.loop-fig__l { position: absolute; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.loop-fig__l.l1 { left: 50%; top: 3%; transform: translate(-50%, -100%); }
.loop-fig__cap { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; max-width: 11ch; text-align: center; font-size: 12px; line-height: 1.5; letter-spacing: .16em; text-transform: uppercase; color: var(--green-btn); }
.loop-fig__l.l2 { right: -2%; bottom: 18%; }
.loop-fig__l.l3 { left: -2%; bottom: 18%; }
.cta { background: var(--card); border-radius: 44px; padding: clamp(32px, 5vw, 72px); }
.cta__title { max-width: 13ch; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.contacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.contacts li { display: grid; gap: 6px; }
.contacts .mono { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.contacts a { font: 300 clamp(20px, 1.7vw, 26px)/1.2 var(--serif); text-decoration: none; overflow-wrap: anywhere; }
.contacts a[href^="mailto:"] { font-size: clamp(17px, 1.3vw, 21px); }
.contacts a:hover { color: var(--green-btn); }
.contacts small { color: var(--muted); font-size: 13.5px; }
@media (max-width: 899px) { .close { grid-template-columns: 1fr; } .loop-fig { width: min(76%, 320px); } }

/* chat helper: the mascot, floating bottom-right (TEMPORARY, 24 Nov) */
.chat { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 104; font-family: "Figtree", var(--sans); color: var(--ink); }
.chat__launch { position: relative; display: block; width: 92px; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.chat__launch img { display: block; width: 100%; height: auto; filter: drop-shadow(0 12px 18px rgba(16, 38, 27, .28)); transform-origin: 50% 85%; transition: transform .4s var(--ease); }
.chat__launch:hover img, .chat__launch:focus-visible img { transform: scale(1.06) rotate(-3deg); }
.chat__launch:focus-visible { outline: 2px solid var(--green-btn); outline-offset: 4px; border-radius: 50%; }
.chat.is-open .chat__launch img { transform: scale(.86); }
.chat__hint { position: absolute; right: 74px; bottom: 74px; width: max-content; max-width: 210px; padding: 10px 14px; border-radius: 16px 16px 4px 16px; background: var(--green-btn); color: #fff; font-size: 14px; font-weight: 600; line-height: 1.3; text-align: left; box-shadow: 0 10px 24px -10px rgba(16, 38, 27, .5); opacity: 0; transform: translateY(8px) scale(.96); transform-origin: 100% 100%; pointer-events: none; transition: opacity .35s ease, transform .5s var(--ease); }
.chat__hint.is-on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .chat:not(.is-open) .chat__launch img { animation: chat-bob 4.2s ease-in-out infinite; }
  @keyframes chat-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
  /* mood change: a quick pop (scale) on top of the idle bob (translate) */
  .chat__head img.is-pop { animation: chat-pop .45s var(--ease); }
  .chat:not(.is-open) .chat__launch img.is-pop { animation: chat-pop .45s var(--ease), chat-bob 4.2s ease-in-out infinite; }
  @keyframes chat-pop { 0% { scale: .82; } 60% { scale: 1.06; } 100% { scale: 1; } }
}
.chat__panel { position: absolute; right: 0; bottom: 104px; width: min(370px, calc(100vw - 28px)); height: min(560px, calc(100svh - 146px - var(--hdr))); display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 30px 80px -24px rgba(16, 38, 27, .45); }
.chat__panel[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .chat__panel { animation: chat-in .45s var(--ease); } @keyframes chat-in { from { opacity: 0; transform: translateY(14px) scale(.97); } } }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 12px; background: var(--green-btn); color: #fff; }
.chat__head img { width: 44px; height: 44px; object-fit: cover; object-position: 50% 8%; border-radius: 50%; background: #fff; }
.chat__head div { flex: 1; display: grid; gap: 2px; min-width: 0; }
.chat__head strong { font-size: 16px; font-weight: 700; }
.chat__head span { font-size: 12.5px; opacity: .85; }
.chat__x { width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.chat__x:hover { background: rgba(255, 255, 255, .28); }
.chat__log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px 14px 8px; display: flex; flex-direction: column; gap: 10px; }
.chat__msg { max-width: 88%; padding: 10px 13px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; display: grid; gap: 6px; }
.chat__msg p { white-space: pre-line; }
.chat__msg--bot { align-self: flex-start; background: var(--paper-2); border-bottom-left-radius: 5px; }
.chat__msg--me { align-self: flex-end; background: var(--green-btn); color: #fff; border-bottom-right-radius: 5px; }
.chat__acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.chat__act { display: inline-flex; padding: 7px 12px; border-radius: 999px; background: var(--green-btn); color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; }
.chat__act:hover { background: var(--ink); }
.chat__typing { flex-direction: row; display: flex; gap: 4px; padding: 13px 14px; }
.chat__typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-2); opacity: .4; animation: chat-dot 1s infinite; }
.chat__typing i:nth-child(2) { animation-delay: .15s; } .chat__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes chat-dot { 50% { opacity: 1; } }
.chat__chips { display: flex; gap: 6px; overflow-x: auto; padding: 8px 14px; border-top: 1px solid var(--line); scrollbar-width: none; }
.chat__chips::-webkit-scrollbar { display: none; }
.chat__chip { flex: none; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 600 13px/1.2 "Figtree", var(--sans); cursor: pointer; }
.chat__chip:hover { border-color: var(--green-btn); color: var(--green-btn); }
.chat__form { display: flex; gap: 8px; padding: 10px 12px 12px; }
.chat__form input { flex: 1; min-width: 0; height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 400 16px "Figtree", var(--sans); }
.chat__form input:focus { outline: 2px solid var(--green-btn); outline-offset: 0; }
.chat__form button { width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--green-btn); color: #fff; font-size: 18px; cursor: pointer; }
/* Netlify-hosted copies get a fixed "Powered by Netlify" badge (202×64, bottom-right): lift the helper above it */
body:has(#nl-badge-frame) .chat { bottom: calc(80px + env(safe-area-inset-bottom)); }
body:has(#nl-badge-frame) .chat__panel { height: min(560px, calc(100svh - 208px - var(--hdr))); }
/* phones: sit above the "Book / WhatsApp" bar */
@media (max-width: 699px) {
  .chat { right: 10px; bottom: calc(82px + env(safe-area-inset-bottom)); }
  .chat__launch { width: 70px; }
  .chat__hint { right: 56px; bottom: 56px; }
  .chat__panel { position: fixed; left: 10px; right: 10px; bottom: calc(160px + env(safe-area-inset-bottom)); width: auto; height: min(520px, calc(100svh - 176px - var(--hdr))); }
}
@media (max-width: 559px) { .contacts { grid-template-columns: 1fr; } .cta { border-radius: 30px; } }

/* footer */
.ftr { padding: clamp(64px, 8vw, 120px) var(--gut) 28px; overflow: hidden; }
.ftr__word { font: 300 18vw/0.86 var(--serif); letter-spacing: -.03em; white-space: nowrap; text-align: center; color: var(--on-dark); margin: 0 auto clamp(40px, 5vw, 72px); max-width: var(--max); font-variation-settings: "opsz" 72; }
.ftr__word span { display: inline-block; }
.ftr__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding-top: 30px; border-top: 1px solid var(--line); color: var(--on-dark-2); font-size: 15px; }
.ftr__grid strong { color: var(--on-dark); font-weight: 600; }
.ftr__grid .mono { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.ftr__mark { width: 40px; height: 54px; color: var(--green); margin-bottom: 16px; }
.ftr__logo { display: block; width: min(100%, 300px); height: auto; margin: 0 0 18px -6px; }
.ftr nav { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 28px; align-content: start; }
.ftr nav a { text-decoration: none; color: var(--on-dark); opacity: .8; }
.ftr nav a:hover { opacity: 1; }
.ftr__fine { max-width: var(--max); margin: 40px auto 0; font-size: 12.5px; color: var(--on-dark-2); }
@media (max-width: 899px) { .ftr__grid { grid-template-columns: 1fr; } }

/* phone action bar */
.bar { display: none; }
@media (max-width: 699px) {
  html.js .bar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 100; display: flex; gap: 8px; padding: 8px; border-radius: 999px;
    background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 12px 40px -18px rgba(16, 38, 27, .45); border: 1px solid rgba(16, 38, 27, .08);
    transform: translateY(160%); transition: transform .6s var(--ease); }
  html.js .bar.is-on { transform: none; }
  .bar .btn { flex: 1; }
  .bar__wa { display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; border-radius: 999px; border: 1px solid var(--ink); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
  .ftr { padding-bottom: 110px; }
}

/* booking dialog */
.book { width: min(600px, calc(100vw - 24px)); max-height: calc(100svh - 24px); padding: 0; border: 0; border-radius: 26px; background: var(--paper); color: var(--ink); box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .55); overflow: auto; }
.book::backdrop { background: rgba(12, 20, 16, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.book__form { padding: clamp(24px, 4vw, 40px); position: relative; display: block; }
.book__x { position: absolute; right: 14px; top: 14px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(16, 38, 27, .14); background: transparent; font-size: 24px; line-height: 1; cursor: pointer; }
.book .h3 { margin: 10px 0 22px; padding-right: 40px; }
.book .kicker { color: var(--ink-2); }
.slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 22px; }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.slot span { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(16, 38, 27, .16); font-size: 14px; transition: background .2s, border-color .2s; }
.slot span b { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.slot input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.slot input:checked + span b { color: #c9d1c9; }
.slot input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.slots__loading { grid-column: 1 / -1; font-size: 14px; }
.fld { display: grid; gap: 7px; margin-bottom: 14px; font-size: 13.5px; color: var(--ink-2); }
.fld small { font-size: 12px; }
.fld input, .fld select { font: 400 16px/1.3 var(--sans); color: var(--ink); background: #fff; border: 1px solid rgba(16, 38, 27, .18); border-radius: 12px; padding: 13px 14px; min-height: 48px; width: 100%; }
.fld input:focus, .fld select:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: transparent; }
.fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 13.5px; color: var(--ink-2); margin: 8px 0 18px; }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--green-btn); }
.consent a { color: var(--ink); }
.book__err { color: #a3361c; font-size: 14px; margin-bottom: 12px; }
.book__go { width: 100%; }
.book__alt { font-size: 13.5px; margin-top: 16px; }
.book__done-msg { font-size: 17px; margin-bottom: 18px; }
.book__demo { font-size: 13px; margin-bottom: 18px; }
@media (max-width: 479px) { .fld-row { grid-template-columns: 1fr; } .slots { grid-template-columns: 1fr 1fr; } }

/* reduced motion & motion-off: nothing moves on its own */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- privacy + 404 pages (no scripts: the plain page is the page) ---------- */
.hdr--simple .hdr__end { margin-left: auto; }
.legal { padding-top: calc(var(--hdr) + clamp(48px, 7vw, 112px)) !important; }
.legal__in { max-width: 1120px; }
.legal h1, .lost h1 { font: 300 clamp(40px, 5.6vw, 84px)/1.02 var(--serif); letter-spacing: -.018em; font-variation-settings: "opsz" 72; margin-top: 18px; max-width: 14ch; text-wrap: balance; }
.legal__meta { margin-top: 22px; font: 500 11.5px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.legal__body { margin-top: clamp(44px, 6vw, 88px); display: grid; gap: clamp(30px, 3.6vw, 48px); }
.legal__body > section { display: grid; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .legal__body > section { grid-template-columns: minmax(200px, 300px) 1fr; column-gap: clamp(32px, 5vw, 80px); } }
.legal__body h2 { font: 400 clamp(22px, 1.9vw, 28px)/1.15 var(--serif); letter-spacing: -.005em; }
.legal__body p, .legal__body li { color: var(--ink-2); max-width: 66ch; }
.legal__body p + p, .legal__body ul + p, .legal__body p + ul { margin-top: 14px; }
.legal__body ul { display: grid; gap: 12px; }
.legal__body li { padding-left: 22px; position: relative; }
.legal__body li::before { content: ""; position: absolute; left: 0; top: .8em; width: 10px; height: 1px; background: var(--gold); }
.legal__body strong { color: var(--ink); font-weight: 500; }
.legal a, .lost a:not(.btn) { color: var(--green-btn); text-underline-offset: 3px; }
.legal__note { margin-top: clamp(48px, 6vw, 88px); padding: 20px 22px; border-radius: 16px; background: var(--paper-2); font-size: 15px; color: var(--ink-2); max-width: 74ch; }
.legal__note strong { color: var(--ink); font-weight: 600; }
.ftr--simple .ftr__grid { border-top: 0; padding-top: 0; }
.ftr--simple a { color: inherit; }
.lost { min-height: 100svh; display: grid; align-content: center; justify-items: start; padding-top: calc(var(--hdr) + 48px) !important; }
.lost__mark { width: clamp(88px, 10vw, 132px); height: auto; aspect-ratio: 1180 / 1600; color: var(--gold); margin-bottom: clamp(26px, 3vw, 40px); }
.lost__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.lost__alt { margin-top: 22px; font-size: 15px; }
.fld input[aria-invalid="true"] { border-color: #a3361c; box-shadow: 0 0 0 1px #a3361c; }
.consent input[aria-invalid="true"] { outline: 2px solid #a3361c; outline-offset: 2px; }

/* Guard: no animation start state (the team ring's roles start outside the ring) may widen the page.
   clip, not hidden: it makes no scroll container, so sticky and pinned sections keep working. */
body { overflow-x: clip; }
.team { overflow-x: clip; }
.hdr__back .short { display: none; }
@media (max-width: 479px) { .hdr__back { padding: 10px 16px; min-height: 40px; } .hdr__back .long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .hdr__back .short { display: inline; } }
