/* ============================================================================
   InTuneOT clinic site: sections added on top of the Antigravity base (style.css)
   Arc of the page: light (Cathy, clinic) -> dark (the day, the wait)
                    -> bright (the platform) -> sunrise (the punchline) -> linen (who we are).
   ============================================================================ */

:root {
  --night: #0E1820;
  --night-ink: #F4F0E8;
  --night-soft: #B4BEC3;
  --amber: #F0A85C;
  --bright: #FFFAF0;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

a:focus-visible, .btn:focus-visible, .compare__scroll:focus-visible {
  outline: 3px solid var(--sc-accent-amber);
  outline-offset: 3px;
}

em { font-style: italic; }

/* ---------- nav and hero ---------- */
.site-nav__container { max-width: min(calc(100% - 32px), 980px); }
.hero-top-block { max-width: 1240px; }
.hero-title { text-wrap: balance; }
.hero-top-block::before {
  content: ""; position: absolute; inset: -34px -12px; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(20, 26, 23, 0.5) 0%, rgba(20, 26, 23, 0.25) 45%, transparent 72%);
  filter: blur(10px); pointer-events: none;
}

/* ---------- shared section scaffolding ---------- */
.sec { padding: var(--space-2xl) var(--space-md); scroll-margin-top: 80px; }
.wrap { max-width: 1140px; margin: 0 auto; width: 100%; }
.sec-head { margin-bottom: var(--space-xl); }
.display-title em { color: var(--sc-accent); font-weight: 500; }
.body-text { font-size: 1.05rem; color: var(--sc-ink-soft); line-height: 1.65; max-width: 60ch; }
.lead-text + .body-text, .body-text + .body-text { margin-top: var(--space-sm); }

/* A short pause on each page, so it is clear where to stop and read (pages.js measures
   --pin-top). The extra scroll must be a spacer INSIDE the wrapper's content box: a sticky
   box cannot travel into its parent's padding, so padding here would only show as a gap. */
.motion-ok .hold::after { content: ""; display: block; height: 30vh; }
.motion-ok .hold > section {
  position: sticky; top: var(--pin-top, 0px);
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
}

.status {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 7px 14px 7px 12px; border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
}
.status i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.kicker {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sc-accent);
}
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.status--soon { background: rgba(217, 126, 38, 0.14); color: #8A4B0C; }
.status--soon i { background: transparent; border: 2px dashed #C46D19; width: 11px; height: 11px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 600; text-decoration: none;
  padding: 12px 26px; border-radius: var(--radius-full);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--clinic { background: var(--sc-accent); color: #fff; box-shadow: 0 6px 18px rgba(58, 105, 83, 0.28); }
.btn--clinic:hover { background: var(--sc-accent-hover); }
.btn--ghost { color: var(--sc-ink); border: 1.5px solid rgba(28, 36, 33, 0.25); }
.btn--ghost:hover { border-color: var(--sc-ink); }
.btn--soon { background: var(--amber); color: #1C2421; white-space: nowrap; }
.btn--soon:hover { background: #F6BC7C; }
.inline-actions { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-md); }

/* Working note for Cathy's review; comes out when she has answered. */
mark.confirm {
  background: #FFF0BF; color: #5B4300;
  padding: 0.08em 0.3em; border-radius: 3px;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}

/* ---------- 2 · Cathy ---------- */
/* A reading page: wide, large type, a plain photograph (no frame, shadow or label). */
.sec-cathy { background: var(--sc-canvas); padding-top: clamp(92px, 12vh, 128px); padding-bottom: clamp(36px, 6vh, 72px); }
.sec-cathy .wrap { max-width: 1340px; }
.cathy-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(2.5rem, 5vw, 5.5rem); align-items: center; }
.cathy-portrait { margin: 0; }
.cathy-portrait img {
  display: block; width: 100%; aspect-ratio: 4 / 5; max-height: 74vh; object-fit: cover;
  object-position: 50% 30%; border-radius: 4px;
}
.sec-cathy .display-title { max-width: none; font-size: clamp(2.5rem, 4.4vw, 4rem); line-height: 1.05; }
.sec-cathy .display-title em { display: block; margin-top: 0.22em; font-size: 0.64em; line-height: 1.2; text-wrap: balance; }
.cathy-quote { margin-top: var(--space-sm); font-family: var(--sc-font-display); font-size: clamp(1.3rem, 1.9vw, 1.75rem); font-style: italic; line-height: 1.3; color: #A3520F; }
.cathy-quote cite { margin-left: 0.6em; font-family: var(--sc-font-text); font-style: normal; font-size: 0.5em; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sc-ink-muted); white-space: nowrap; }
.sec-cathy .lead-text { margin-top: var(--space-md); font-size: clamp(1.25rem, 1.7vw, 1.55rem); line-height: 1.5; color: var(--sc-ink); max-width: 36em; }
.sec-cathy .body-text { font-size: clamp(1.1rem, 1.35vw, 1.28rem); line-height: 1.6; max-width: 40em; }

/* ---------- 3 · scrub film cards: these are there to be read, so they are large ---------- */
.scrub-card { max-width: min(620px, 46vw); padding: clamp(1.5rem, 2.6vw, 2.5rem); }
.scrub-card__title { font-size: clamp(1.8rem, 2.9vw, 2.6rem); line-height: 1.12; margin-bottom: 10px; }
.scrub-card__slogan { font-size: clamp(1.2rem, 1.7vw, 1.5rem); line-height: 1.35; margin-bottom: 12px; color: #F1ECE3; }
.scrub-card__desc { font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.5; color: #EDE8DF; }
.scrub-card--s3 { top: auto; bottom: 12%; }
.scrub-card--s4 { max-width: min(700px, 60vw); }

/* ---------- 4 · the clinic: two quiet, typographic pages ----------
   No cards, shadows, icons or badges. One grid (two equal columns), hairlines, type. */
.clinic { --rule: rgba(28, 36, 33, 0.14); background: var(--sc-canvas); padding-top: clamp(96px, 13vh, 150px); padding-bottom: clamp(48px, 8vh, 96px); }
.clinic__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--space-xl); align-items: end; padding-bottom: clamp(28px, 5vh, 56px); }
.clinic__title { margin-top: var(--space-sm); font-family: var(--sc-font-display); font-size: clamp(2.5rem, 4.7vw, 4.1rem); font-weight: 500; line-height: 1.02; letter-spacing: -0.03em; color: var(--sc-ink); }
.clinic__title em { display: block; font-weight: 400; color: var(--sc-accent); }
.clinic__intro { font-size: clamp(1.1rem, 1.45vw, 1.3rem); line-height: 1.5; color: var(--sc-ink-soft); max-width: 34ch; padding-bottom: 0.35em; }

.offer { list-style: none; border-bottom: 1px solid var(--rule); }
.offer__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--space-xl); align-items: baseline; padding: clamp(18px, 3.2vh, 32px) 0; border-top: 1px solid var(--rule); }
.offer__row h3 { font-family: var(--sc-font-display); font-size: clamp(1.4rem, 2.1vw, 1.85rem); font-weight: 500; line-height: 1.15; letter-spacing: -0.015em; color: var(--sc-ink); }
.offer__row p { font-size: 1.05rem; line-height: 1.6; color: var(--sc-ink-soft); max-width: 52ch; }

.clinic--voice { background: var(--sc-surface-warm); }
.voice { margin: 0; }
.voice blockquote p { font-family: var(--sc-font-display); font-size: clamp(1.55rem, 2.9vw, 2.55rem); font-weight: 400; line-height: 1.26; letter-spacing: -0.018em; color: var(--sc-ink); max-width: 27em; text-indent: -0.42em; text-wrap: pretty; }
.voice figcaption { display: flex; align-items: center; gap: 14px; margin-top: var(--space-md); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sc-ink-muted); }
.voice figcaption::before { content: ""; width: 36px; height: 1px; background: currentColor; }

.enquiry { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: var(--space-xl); margin-top: clamp(36px, 7vh, 84px); padding-top: clamp(24px, 4vh, 40px); border-top: 1px solid var(--rule); }
.enquiry__head h3 { font-family: var(--sc-font-display); font-size: clamp(1.4rem, 2.1vw, 1.85rem); font-weight: 500; line-height: 1.15; letter-spacing: -0.015em; }
.enquiry__head .btn { margin-top: var(--space-md); }
.enquiry__steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--space-lg); }
.enquiry__steps li { counter-increment: step; }
.enquiry__steps li::before { content: counter(step); display: block; margin-bottom: 10px; font-family: var(--sc-font-display); font-size: 1.5rem; font-weight: 500; line-height: 1; color: var(--sc-accent); }
.enquiry__steps p { font-size: 1rem; line-height: 1.55; color: var(--sc-ink-soft); }

/* ---------- 5 · the day (signature move) ----------
   Default = static, readable, night-themed (no JS / reduced motion).
   .day--live (added by day.js) = pinned stage driven by the scroll. */
.day { background: var(--night); color: var(--night-ink); --day-bg: var(--night); --day-ink: var(--night-ink); --day-soft: var(--night-soft); --day-accent: var(--amber); }
.day__stage { position: relative; padding: var(--space-2xl) var(--space-md); }
.day__inner { max-width: 1140px; margin: 0 auto; }

.day__head h2 { font-family: var(--sc-font-display); letter-spacing: -0.02em; line-height: 1.05; }
.day__head h2 span { display: block; font-size: clamp(1.4rem, 2.5vw, 2.2rem); font-weight: 500; color: var(--day-soft); }
.day__head h2 em { display: block; margin-top: 4px; font-size: clamp(2.4rem, 5.2vw, 4.6rem); font-weight: 700; color: var(--day-accent); }
.day__head p { margin-top: 6px; max-width: 46ch; font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.45; color: var(--day-soft); }
.day__head p strong { font-weight: 700; color: var(--day-ink); }
.day__head .day__meet { margin-top: var(--space-md); font-family: var(--sc-font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; line-height: 1.1; color: var(--day-ink); }

.day__clock { display: none; }
.day__sun { display: none; }
.day__moments { list-style: none; display: grid; gap: var(--space-md); margin-top: var(--space-lg); max-width: 680px; }
.day__moment time { font-family: var(--sc-font-display); font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 600; font-variant-numeric: tabular-nums; color: var(--day-accent); }
.day__moment p { font-size: clamp(1.2rem, 1.9vw, 1.7rem); line-height: 1.35; margin-top: 2px; }

.day__finale { max-width: 1140px; margin: var(--space-xl) auto 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-lg); align-items: center; }
.day__photo { width: 100%; border-radius: var(--radius-lg); display: block; }
.day__finale-copy h3 { font-family: var(--sc-font-display); font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 600; line-height: 1.1; color: #fff; }
.day__screen { display: block; margin-top: var(--space-sm); max-width: 100%; height: auto; border-radius: 14px; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5); }
.day__question { margin-top: var(--space-sm); font-family: var(--sc-font-display); font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.4; color: #EDE8DE; }
.day__answers { display: block; }
.day__question em { display: inline-block; margin-top: 8px; font-size: clamp(1.75rem, 3.3vw, 3.1rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.01em; color: var(--amber); }

.day--live { height: 1130vh; background: var(--day-bg); color: var(--day-ink); }
/* the intro lines appear once, in order, and stay (day.js adds .is-on) */
.day--live .day__head .s { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s ease; }
.day--live .day__head .s.is-on { opacity: 1; transform: none; }
.day--live .day__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  padding: clamp(142px, 16vh, 170px) var(--space-md) 24px;
  display: flex; flex-direction: column; justify-content: center;
}
.day--live .day__inner { width: 100%; opacity: calc(1 - var(--fin, 0)); }
.day--live .day__head { transition: opacity 0.9s ease; }
.day--live .day__body { opacity: 0; transition: opacity 0.9s ease; }
.day--live.is-running .day__body { opacity: 1; }
.day--live .day__body { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: var(--space-xl); align-items: center; margin-top: var(--space-md); }
.day--live .day__clock {
  display: block; font-family: var(--sc-font-display); font-weight: 600;
  font-size: clamp(4rem, 11.5vw, 10rem); line-height: 0.9; letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums; color: var(--day-ink);
}
.day--live .day__moments { margin-top: 0; gap: clamp(14px, 2.4vh, 24px); }
.day--live .day__moment { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; padding-left: 20px; border-left: 3px solid transparent; }
.day--live .day__moment.is-past { opacity: 0.42; transform: none; }
.day--live .day__moment.is-on { opacity: 1; transform: none; border-left-color: var(--day-accent); }
.day--live .day__sun {
  display: block; position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%;
  background: var(--day-sun, #E8A33D); box-shadow: 0 0 0 10px var(--day-halo, rgba(232, 163, 61, 0.18));
  will-change: transform; z-index: 1; transition: opacity 0.9s ease;
}

/* 23:00: only the clock and that moment stay */
.day--live.is-solo .day__head,
.day--live.is-solo .day__sun,
.day--live.is-solo .day__moment.is-past { opacity: 0; }

/* ...and what is left dissolves into Macy (scroll-linked through --fin) */
.day--live .day__finale {
  position: absolute; inset: 0; margin: 0; max-width: none; display: block;
  opacity: var(--fin, 0); pointer-events: none; z-index: 3; background: var(--night);
}
.day--live.is-finale .day__finale { pointer-events: auto; }
.day--live .day__shade { position: absolute; inset: 0; opacity: calc(1 - var(--pout, 0)); }
.day--live .day__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 40%; border-radius: 0; }
.day--live .day__shade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 24, 32, 0.96) 0%, rgba(14, 24, 32, 0.82) 34%, rgba(14, 24, 32, 0.1) 68%); }
.day--live .day__finale-copy h3 { opacity: calc(1 - var(--out, 0)); }
.day--live .day__finale-copy {
  position: absolute; z-index: 2;
  top: clamp(96px, 13vh, 132px);
  left: max(var(--space-md), calc((100vw - 1140px) / 2));
  width: min(44vw, 560px);
}
.day--live .day__screen { max-height: 29vh; max-height: 29svh; width: auto; opacity: 0; transform: translateY(16px); transition: opacity 0.8s ease, transform 0.8s ease; }
.day--live .day__question { opacity: 0; transform: translateY(16px); transition: opacity 0.8s ease, transform 0.8s ease; }
.day--live.is-f2 .day__screen { opacity: calc(1 - var(--out, 0)); transform: none; }
.day--live.is-f3 .day__question { opacity: 1; transform: none; }
.day--live .day__answers { opacity: calc(1 - var(--aout, 0)); }
.day--live .day__question em { white-space: nowrap; opacity: calc(1 - var(--qout, 0)); }

/* ---------- 6 · the wait (still night) ---------- */
.day__wait { padding: var(--space-2xl) var(--space-md); color: var(--night-ink); }
.day--live .day__wait {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  display: flex; align-items: center;
  padding: clamp(88px, 12vh, 128px) var(--space-md) var(--space-md);
  opacity: 0; transition: opacity 0.6s ease;
}
.day--live.is-wait .day__wait { opacity: 1; pointer-events: auto; }
.day--live .w { opacity: 0; transform: translateY(14px); transition: opacity 0.9s ease, transform 0.9s ease; }
.day--live .w.is-on { opacity: 1; transform: none; }
.wait-title span, .wait-title em { display: block; }
.wait-title { font-family: var(--sc-font-display); font-size: clamp(1.7rem, 3.3vw, 3rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.wait-title em { font-weight: 500; color: var(--amber); }

.quad { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(16px, 3.5vh, 44px); }
.q:nth-child(n+3) { border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.q { padding: clamp(12px, 2.6vh, 30px) var(--space-md) clamp(12px, 2.6vh, 30px) 0; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.q:nth-child(even) { padding-left: var(--space-md); padding-right: 0; border-left: 1px solid rgba(255, 255, 255, 0.16); }
.q--team { background: rgba(255, 255, 255, 0.045); padding-right: var(--space-md) !important; }
.q__label { font-size: clamp(0.95rem, 1.2vw, 1.1rem); color: var(--night-soft); max-width: 34ch; }
.q__num { font-family: var(--sc-font-display); font-size: clamp(2.2rem, min(6.2vw, 10vh), 5.4rem); font-weight: 600; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin-top: 8px; color: #9ED6BC; }
.q__num small { font-size: 0.3em; font-weight: 500; letter-spacing: 0; margin-left: 0.35em; color: var(--night-soft); }
.q__num--hot { color: var(--amber); }
.q__punch { margin-top: 8px; font-family: var(--sc-font-display); font-style: italic; font-weight: 500; font-size: clamp(1.3rem, 2.3vw, 2rem); line-height: 1.2; color: var(--amber); }

.wait-end { margin-top: clamp(16px, 3.5vh, 40px); font-family: var(--sc-font-display); font-size: clamp(1.3rem, 2.5vw, 2.2rem); line-height: 1.25; }
.wait-end em { display: block; color: #9ED6BC; font-weight: 600; }
.day__wait .source { margin-top: var(--space-sm); font-size: 0.78rem; color: #7F8B90; max-width: 90ch; line-height: 1.5; }

/* ---------- 7 · bridge the gap: night turns to morning on this page ----------
   Default (no JS / reduced motion) = a plain bright page. */
.bridge { background: var(--bright); scroll-margin-top: 0; }
.bridge__stage { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: clamp(110px, 15vh, 150px) var(--space-md) var(--space-xl); }
.bridge .display-title { max-width: 18ch; font-size: clamp(2.4rem, 5.2vw, 4.6rem); line-height: 1.06; }
.bridge .display-title em { display: block; margin-top: 0.14em; font-size: 0.74em; line-height: 1.15; color: #B4611A; }
.bridge .lead-text { margin-top: var(--space-md); }
.bridge .display-title, .bridge .display-title em, .bridge .lead-text, .bridge .status { transition: color 0.7s ease, background-color 0.7s ease; }

.bridge--live { height: 260vh; background: var(--sky, var(--night)); }
.bridge--live .bridge__stage { position: sticky; top: 0; height: 100vh; height: 100svh; }
.bridge--live.is-deep .display-title { color: var(--night-ink); }
.bridge--live.is-deep .display-title em { color: var(--amber); }
.bridge--live.is-deep .lead-text { color: #D5DBDD; }
.bridge--live.is-deep .status--soon { background: rgba(240, 168, 92, 0.18); color: #F6C691; }
.bridge--live.is-deep .status--soon i { border-color: var(--amber); }

/* ---------- 8 · ask, understand, connect (bright) ---------- */
.sec-platform { background: var(--bright); padding-top: var(--space-lg); }
.sec-platform .step:first-child { border-top: 0; }

.step { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--space-xl); align-items: center; padding: var(--space-lg) 0; border-top: 1px solid rgba(28, 36, 33, 0.1); }
.step--flip .step__copy { order: 2; }
.step__copy h3 { font-family: var(--sc-font-display); font-size: clamp(3.2rem, 7vw, 6rem); font-weight: 600; line-height: 0.95; letter-spacing: -0.035em; color: #C46D19; margin-bottom: var(--space-sm); }
.step--understand .step__copy h3 { color: var(--sc-accent); }
.step--connect .step__copy h3 { color: var(--sc-accent-sky); }
.step__copy p { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--sc-ink); max-width: 30ch; }
.step__copy .step__detail { margin-top: var(--space-xs); font-size: 1rem; color: var(--sc-ink-soft); line-height: 1.6; max-width: 38ch; }
.step__shot { margin: 0; }
.step__shot img { display: block; width: 100%; height: auto; background: #fff; border-radius: var(--radius-lg); padding: clamp(10px, 2vw, 26px); box-shadow: 0 24px 60px rgba(120, 80, 20, 0.14); border: 1px solid rgba(28, 36, 33, 0.06); }

.compare { margin-top: var(--space-lg); padding-top: var(--space-xl); border-top: 1px solid rgba(28, 36, 33, 0.1); }
.compare h3 { font-family: var(--sc-font-display); font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 600; margin-bottom: var(--space-md); }
.compare__scroll { overflow-x: auto; border-radius: var(--radius-md); }
.compare table { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; font-size: 1rem; }
.compare thead th { text-align: center; font-weight: 600; color: var(--sc-ink-soft); padding: 12px 10px; font-size: 0.88rem; vertical-align: bottom; }
.compare tbody th { text-align: left; font-weight: 500; padding: 16px 16px 16px 0; color: var(--sc-ink); border-top: 1px solid rgba(28, 36, 33, 0.1); }
.compare td { text-align: center; padding: 12px 10px; border-top: 1px solid rgba(28, 36, 33, 0.1); line-height: 0; }
.compare td::before { content: ""; display: inline-block; width: 26px; height: 26px; background: center / contain no-repeat; vertical-align: middle; }
.compare td.y::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E9E62' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5L19.5 6.5'/%3E%3C/svg%3E"); }
.compare td.n::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D3362B' stroke-width='4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }
.compare td.p::before { width: 20px; height: 4px; border-radius: 2px; background: #E8912F; }
.compare .ours { background: rgba(232, 145, 47, 0.12); }
.compare thead .ours { color: var(--sc-ink); font-weight: 700; font-size: 0.95rem; border-radius: 14px 14px 0 0; }
.compare tbody tr:last-child .ours { border-radius: 0 0 14px 14px; }

/* ---------- 9 · the next morning: the punchline of the explainer ----------
   Default (no JS / reduced motion) = a plain static page: the words over a risen sun.
   .dawn--live (pages.js) = a pinned parallax scene driven by the scroll, three planes:
     front  the sun (solid, so it hides what is behind it)
     mid    "This time, with someone to ask."
     far    07:40 and "A new day."
   The sun rises; the two lines rise with it, from behind it, the far one first. The
   waiting list then appears once and stays. At the end the sky and sun brighten into
   the linen of the page after. Planes are moved by transform only, never transitioned. */
.dawn { position: relative; scroll-margin-top: 0; text-align: center; background: var(--sc-canvas); }
.dawn__stage {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: clamp(92px, 12vh, 128px) var(--space-md) var(--space-lg);
}
.dawn__sky {
  position: absolute; inset: 0; z-index: 0; opacity: var(--sky-o, 1);
  background: linear-gradient(180deg, var(--bright) 0%, #FDF3DF 28%, #F8E6C6 62%, #F3D2A2 100%);
}
.dawn__sun {
  position: absolute; z-index: 0; left: 50%; top: 58%;
  width: min(130vmin, 1300px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #FFF0CC 0%, #FBD592 34%, #F6BE6E 100%);
  box-shadow: 0 0 140px 30px rgba(246, 190, 110, 0.4);
  transform: translateX(-50%);
}
.dawn__title, .dawn__join { position: relative; z-index: 1; }
.dawn__title { font-family: var(--sc-font-display); font-size: clamp(2.8rem, min(7vw, 13vh), 6rem); font-weight: 700; line-height: 1.02; letter-spacing: -0.03em; color: var(--sc-ink); }
.dawn__far, .dawn__mid { display: block; }
.dawn__clock { display: block; margin-bottom: 0.25em; font-size: 0.35em; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: 0.04em; line-height: 1.02; color: #A3520F; }
.dawn__mid { margin-top: 0.2em; font-size: 0.62em; font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; color: #2C5241; }
.dawn__join { margin-top: clamp(28px, 6vh, 60px); }
.dawn__open { font-family: var(--sc-font-display); font-style: italic; font-size: clamp(1.3rem, 2vw, 1.75rem); color: var(--sc-ink); }
.dawn__join .btn { margin-top: var(--space-sm); font-size: 1.1rem; padding: 15px 34px; background: var(--sc-ink); color: #fff; }
.dawn__join .btn:hover { background: #2C3833; }
.dawn__small { margin: var(--space-sm) auto 0; max-width: 54ch; font-size: 0.92rem; line-height: 1.5; color: #3F3828; }
.dawn__small + .dawn__small { margin-top: 4px; font-size: 0.8rem; color: #5C5340; }

.dawn--live { height: 330vh; }
.dawn--live .dawn__stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: block; padding: 0; }
.dawn--live .dawn__title { position: static; }   /* its two lines are placed in the stage, one plane each */
.dawn--live .dawn__far, .dawn--live .dawn__mid {
  position: absolute; left: 50%; width: max-content; max-width: calc(100% - 2 * var(--space-md));
  margin: 0; will-change: transform;
}
.dawn--live .dawn__far { top: 15vh; top: 15svh; z-index: 1; transform: translate3d(-50%, var(--far-y, 130vh), 0); }
.dawn--live .dawn__mid { top: calc(15vh + 2.6em); top: calc(15svh + 2.6em); z-index: 2; transform: translate3d(-50%, var(--mid-y, 130vh), 0); }
.dawn--live .dawn__sun { top: 0; z-index: 3; opacity: var(--sun-o, 1); will-change: transform; transform: translate3d(-50%, var(--sun-y, 130vh), 0); }
.dawn--live .dawn__join {
  position: absolute; left: var(--space-md); right: var(--space-md); top: 64vh; top: 64svh; margin: 0; z-index: 4;
  opacity: 0; pointer-events: none; transition: opacity 0.9s ease;
}
.dawn--live.is-joined .dawn__join { opacity: 1; pointer-events: auto; }

/* ---------- 10 · who we are, and the last word: the final screen ---------- */
body { position: relative; }
.sec-about {
  background: var(--sc-canvas);
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: clamp(88px, 12vh, 130px);
  padding-bottom: calc(var(--foot-h, 76px) + var(--space-sm));
}
.about-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--space-xl); align-items: center; }
.about-photo { margin: 0; }
.about-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; max-height: 62vh; object-fit: cover; border-radius: var(--radius-md); }
.about-copy .display-title { font-size: clamp(1.9rem, 3.1vw, 2.9rem); line-height: 1.1; font-weight: 600; }
.about-copy .body-text { margin-top: var(--space-sm); }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); margin-top: var(--space-md); padding-top: var(--space-md); border-top: 1px solid rgba(28, 36, 33, 0.14); }
.people h3 { font-family: var(--sc-font-display); font-size: 1.3rem; font-weight: 600; margin-bottom: 6px; }
.people p { font-size: 0.97rem; color: var(--sc-ink-soft); line-height: 1.55; }

.closing { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--space-xl); align-items: center; margin-top: clamp(28px, 6vh, 64px); padding-top: clamp(20px, 3.5vh, 36px); border-top: 1px solid rgba(28, 36, 33, 0.14); scroll-margin-top: 40vh; }
.closing__actions { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.closing__actions .btn { font-size: 1.08rem; padding: 14px 30px; }
.closing__note { font-size: 0.92rem; line-height: 1.55; color: var(--sc-ink-soft); max-width: 62ch; }
.closing__note a { display: block; margin-bottom: 2px; font-size: 1.05rem; font-weight: 600; color: #2C5241; }

/* The footer: one slim line at the bottom of that last screen. */
.site-footer {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-md);
  padding: 12px var(--space-md) 14px; background: none; border: 0;
  font-size: 0.74rem; line-height: 1.45; color: var(--sc-ink-muted);
}
.site-footer p { margin: 0; }
.site-footer__scope { max-width: 84ch; }
.site-footer__legal { flex: none; white-space: nowrap; }

/* ---------- responsive ---------- */
@media (min-width: 901px) {
  .wait-title em { white-space: nowrap; }
}

@media (max-width: 900px) {
  .cathy-grid, .about-grid, .step, .day__finale { grid-template-columns: minmax(0, 1fr); }
  .cathy-portrait { max-width: 380px; }
  .cathy-quote cite { display: block; margin: 6px 0 0; font-size: 0.72rem; }
  .clinic__head, .offer__row, .enquiry { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-sm); }
  .offer__row { row-gap: 8px; }
  .clinic__intro { max-width: none; }
  .enquiry__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-sm); }
  .enquiry__head .btn { margin-top: 0; }
  .about-photo img { max-height: 44vh; }
  .site-footer { flex-direction: column; gap: 4px; }
  .site-footer__legal { white-space: normal; }
  .sec-about { padding-bottom: calc(var(--foot-h, 130px) + var(--space-sm)); }
  .closing { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-sm); }
  .step--flip .step__copy { order: 0; }
  .step { gap: var(--space-md); }
  .step__copy p, .step__copy .step__detail { max-width: none; }
  .scrub-card--s4 { left: 4%; right: 4%; bottom: 10%; max-width: none; transform: translateY(20px); text-align: left; }
  .scrub-card--s4.scrub-card--active { transform: none; }
  .scrub-card { max-width: none; padding: 20px; }
  .scrub-card__title { font-size: 1.6rem; }
  .scrub-card__slogan { font-size: 1.12rem; }
  .scrub-card__desc { font-size: 1.05rem; }

  .day--live .day__stage { padding-top: 150px; justify-content: flex-start; }
  .day--live .day__body { grid-template-columns: minmax(0, 1fr); gap: var(--space-sm); margin-top: var(--space-sm); }
  .day--live .day__clock { font-size: clamp(3.6rem, 19vw, 6rem); }
  .day--live .day__moments { position: relative; min-height: 170px; display: block; }
  .day--live .day__moment { position: absolute; left: 0; right: 0; }
  .day--live .day__moment.is-past { opacity: 0; }

  .day--live .day__photo { inset: auto 0 0 0; height: 46%; object-position: 64% 30%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 34%); mask-image: linear-gradient(to bottom, transparent 0%, #000 34%); }
  .day--live .day__finale-copy { top: 86px; left: var(--space-md); right: var(--space-md); width: auto; }
  .day--live .day__screen { max-height: 20vh; max-height: 20svh; }
  .day--live .day__question em { white-space: normal; }
  .day--live .day__shade::after { background: none; }
  .day--live .day__moments { min-height: 190px; }

  .day--live .day__wait { padding-top: 84px; align-items: flex-start; }
  .q { padding-right: 10px; }
  .q:nth-child(even) { padding-left: 12px; }
  .q--team { padding-right: 10px !important; }
  .q__label { font-size: 0.8rem; line-height: 1.3; }
  .q__num { font-size: clamp(1.9rem, 9.5vw, 3rem); }
  .q__punch { font-size: 1.15rem; }
  .day__wait .source { font-size: 0.66rem; line-height: 1.35; }
}

@media (max-width: 600px) {
  .compare table { min-width: 560px; font-size: 0.9rem; }
  .compare tbody th, .compare thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--bright); width: 132px; min-width: 132px; padding-right: 10px; }
  .inline-actions .btn, .enquiry__head .btn, .closing__actions .btn { width: 100%; }
  .enquiry__steps, .people { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-sm); }
  .enquiry__steps li { display: grid; grid-template-columns: 1.6rem 1fr; column-gap: 10px; align-items: baseline; }
  .enquiry__steps li::before { margin-bottom: 0; }
  .motion-ok .hold::after { height: 22vh; }
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover { transform: none; }
}
