/* scalpprpnow.com — "Clinical editorial"
   Bone paper, ink type, one deep-sea accent (a darker cousin of Dripology's sky blue), hairline rules.
   Fraunces (display) at extreme scale against Instrument Sans (body/UI). Both self-hosted, OFL. */

/* ---------- fonts ---------- */
/* v5: metric-matched local fallbacks so the web-font swap does not re-wrap the hero (no layout jump, any motion setting) */
@font-face { font-family: "Fraunces Fallback"; src: local("Georgia"), local("Times New Roman"); size-adjust: 85%; font-style: normal; }
@font-face { font-family: "Fraunces Fallback"; font-style: italic; src: local("Georgia Italic"), local("Georgia-Italic"), local("Times New Roman Italic"); size-adjust: 85%; }
@font-face { font-family: "Instrument Sans Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 102%; }
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 700;
  font-display: optional;
  src: url("/assets/fonts/fraunces-v38-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 300 700;
  font-display: optional;
  src: url("/assets/fonts/fraunces-v38-latin-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
  src: url("/assets/fonts/instrument-sans-v4-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- tokens ---------- */
:root {
  --paper: #F3EEE6;
  --paper-2: #E9E2D6;
  --paper-3: #DDD4C4;
  --ink: #15171B;
  --ink-2: #2C2F36;
  --mute: #5F636C;
  --err: #9B1C1C;
  --field: #FBF8F3;
  --sea: #1E4B68;
  --sea-2: #2A6487;
  --sky: #BFD9E8;
  --sky-2: #D9E8F1;
  --line: rgba(21, 23, 27, 0.16);
  --line-light: rgba(243, 238, 230, 0.22);
  --display: "Fraunces", "Fraunces Fallback", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Instrument Sans", "Instrument Sans Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --wrap: 1180px;
  --gut: 20px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
ul, ol, dl { margin: 0; padding: 0; }
li { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--sea); outline-offset: 3px; border-radius: 2px; }
.who__col--alt :focus-visible { outline-color: var(--sky); }
[hidden] { display: none !important; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 50; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sea);
  margin-bottom: 18px;
}
.eyebrow--light { color: var(--sky); }
.h2 {
  font-family: var(--display);
  font-variation-settings: "opsz" 120;
  font-weight: 400;
  font-size: clamp(2rem, 1.3rem + 3.3vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 18ch;
  margin-bottom: 28px;
}
.h2 em, .hero__h1 em, .check__title em { font-style: italic; font-weight: 300; }
.h2--xl { font-size: clamp(2.4rem, 1.4rem + 4.6vw, 5.4rem); max-width: 16ch; }
.lede { font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); max-width: 56ch; color: var(--ink-2); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.005em;
  padding: 15px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  transition: transform 0.35s var(--spring), box-shadow 0.35s var(--ease), background 0.25s, color 0.25s;
  white-space: normal;
  text-align: left;
  max-width: 100%;
}
.btn i { font-style: normal; display: inline-block; transition: transform 0.35s var(--spring); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(21, 23, 27, 0.55); background: var(--sea); border-color: var(--sea); }
.btn:hover i { transform: translateX(4px); }
.btn:active { transform: translateY(0); }
.btn--lg { font-size: 16px; padding: 18px 26px; }
.btn--sm { font-size: 14px; padding: 11px 16px; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--paper-2); color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: var(--sky); border-color: var(--sky); color: var(--ink); }
.btn span { min-width: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; }
.link-arrow i { font-style: normal; transition: transform 0.35s var(--spring); }
.link-arrow:hover i { transform: translate(2px, 2px); }
.link-reset { font-size: 14px; color: var(--mute); text-decoration: underline; text-underline-offset: 3px; }
.link-reset:hover { color: var(--ink); }

/* ---------- header ---------- */
.hdr {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "mark book" "seg seg";
  align-items: center;
  gap: 10px 14px;
  width: min(100% - 2 * var(--gut), var(--wrap));
  margin-inline: auto;
  padding: 16px 0 10px;
}
.hdr__mark { grid-area: mark; font-family: var(--display); font-size: 22px; letter-spacing: -0.01em; text-decoration: none; line-height: 1; }
.hdr__mark em { font-style: italic; font-weight: 300; color: var(--sea); }
.hdr__by { grid-area: by; display: none; font-size: 13px; color: var(--mute); margin: 0; }
.hdr__by span { color: var(--ink); font-weight: 600; }
.hdr__book { grid-area: book; }
.seg { grid-area: seg; display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; justify-self: start; }
.seg__btn { padding: 7px 14px; font-size: 13px; font-weight: 600; border-radius: 999px; color: var(--mute); transition: background 0.25s, color 0.25s; min-height: 32px; }
.seg__btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.seg__btn:hover { color: var(--ink); }
.seg__btn[aria-pressed="true"]:hover { color: var(--paper); }

@media (min-width: 760px) {
  .hdr { grid-template-columns: auto auto 1fr auto auto; grid-template-areas: "mark by . seg book"; padding: 22px 0 14px; }
  .hdr__by { display: block; padding-left: 14px; border-left: 1px solid var(--line); line-height: 1.2; }
  .hdr__mark { font-size: 26px; }
}

/* ---------- story stage: site tokens for the shared engine (assets/scroll-stage.css) ----------
   The stage is bone paper; the "dither" colour is ink, so .ink beats are PAPER text on INK (the honest-part inversion).
   Engine tokens are named for a dark stage; here they are mapped the other way round on purpose. */
.story {
  --stage-bg: var(--paper);
  --stage-ink: var(--ink);
  --stage-ink-2: var(--ink-2);
  --stage-ink-dark: var(--paper);          /* text on the ink dither */
  --stage-ink-dark-2: var(--sky-2);
  --stage-accent: var(--sea);
  --stage-accent-dark: var(--sky);         /* the accent on ink (>= 4.5:1) */
  --stage-line: var(--line);
  --stage-line-dark: var(--line-light);
  --stage-fig-bg: var(--paper-2);
  --dither-bg: var(--ink);
  --frame: rgba(21, 23, 27, 0.55);
  --frame-2: rgba(21, 23, 27, 0.7);
  --stage-font: var(--sans);
  --stage-display: var(--display);
  --stage-mono: var(--sans);
  --stage-radius: 18px;
  --stage-wrap: var(--wrap);
  --stage-gutter: var(--gut);
  --beat: 86vh;
  --stage-hero-pad: 26px 0 56px;
  --stage-hero-pad-m: 20px 0 40px;
}
.story .stage { font-family: var(--sans); }
.story .plate.hero { color: var(--ink); }
.story .dither.after-l5 { z-index: 11; }

/* ---------- hero (lives inside the hero plate; also the static-mode hero) ---------- */
.hero {
  position: relative;
  width: min(100% - 2 * var(--gut), var(--wrap));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  isolation: isolate;
}
.story:not(.live) .hero { width: 100%; min-height: calc(100svh - 110px); padding: 0; }
.story.live .hero { min-height: 0; padding: 18px 0 40px; }
.hero__art { position: absolute; inset: -40px 0 0 auto; width: 92%; max-width: 640px; z-index: -1; pointer-events: none; opacity: 0.4; }
.strands { width: 100%; height: 100%; }
.strands path { fill: none; stroke: var(--sea); stroke-width: 1.1; stroke-linecap: round; opacity: 0.75; }
.strands path:nth-child(odd) { stroke: var(--ink); opacity: 0.35; }
/* the sky dot is an HTML element so the engine can measure it as the dive origin (SVG children have no offsetLeft) */
.strand-dot { position: absolute; right: 16%; top: 12%; width: 15.4%; aspect-ratio: 1; border-radius: 50%; background: var(--sky); mix-blend-mode: multiply; }
.hero__copy { position: relative; max-width: 720px; }
.hero__h1 {
  font-family: var(--display);
  font-variation-settings: "opsz" 144;
  font-weight: 400;
  font-size: clamp(2.45rem, 1.2rem + 4.6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.028em;
  margin-bottom: 22px;
}
.hero__h1 em { display: block; font-size: 0.44em; line-height: 1.12; letter-spacing: -0.01em; margin-top: 16px; color: var(--ink-2); max-width: 28ch; }
.hero__sub { font-size: clamp(1.02rem, 0.95rem + 0.4vw, 1.22rem); max-width: 52ch; color: var(--ink-2); margin-bottom: 24px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 18px; }
.hero__fine { font-size: 13px; color: var(--mute); max-width: 60ch; margin: 0; }
.hero__fine strong { color: var(--ink); }

@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; }
  .story:not(.live) .hero { padding: 0; min-height: calc(100vh - 120px); }
  .story.live .hero { padding: 0 0 24px; }
  .hero__art { position: relative; inset: auto; order: 2; width: 100%; max-width: none; height: min(72vh, 700px); opacity: 1; justify-self: end; }
  .hero__copy { order: 1; }
  .hero__copy { max-width: 640px; }
}
@media (max-width: 899px) {
  .story.live .plate.hero { align-items: flex-start; }
  .story.live .hero { padding-top: 10px; }
  .story.live .hero__h1 { margin-bottom: 14px; }
  .story.live .hero__sub { margin-bottom: 16px; }
  .story.live .hero__cta { margin-bottom: 12px; }
  .story.live .hero__fine { font-size: 12.5px; }
}

/* ---------- story stage: plates (original SVG, no photos) ---------- */
.fig { background: var(--paper); }
.fig--rest { background: var(--paper-2); }
.fig__rule path, .fig__rule circle { fill: none; stroke: var(--ink); stroke-opacity: 0.22; stroke-width: 1.5; }
.fig__line path { fill: none; stroke: var(--sea); stroke-width: 2.2; stroke-linecap: round; }
.fig__line circle { fill: var(--sea); }
.fig__tube { fill: var(--paper); stroke: var(--ink); stroke-width: 3; }
.fig__fill { fill: var(--sea); }
.fig__menis { fill: var(--sky); }
.fig__plasma { fill: var(--sky-2); }
.fig__buffy { fill: var(--sea); }
.fig__rbc { fill: var(--ink); }
.fig--spin .fig__tube { stroke-width: 2.5; }
.arc { fill: none; stroke: var(--sea); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc((1 - var(--spin, 0)) * 1px); }
.fig__strands path { fill: none; stroke: var(--sea); stroke-width: 1.6; stroke-linecap: round; opacity: 0.7; }
.fig__strands path:nth-child(odd) { stroke: var(--ink); opacity: 0.35; }
.land circle { fill: var(--sky); mix-blend-mode: multiply; opacity: var(--land, 0); }
.fig--rest .curve { fill: none; stroke: var(--sea); stroke-width: 3; stroke-linecap: round; }
.fig--rest .cfill circle { fill: var(--sea); }
.story:not(.live) .arc, .story:not(.live) .land circle { stroke-dashoffset: 0; opacity: 1; }
.story:not(.live) .fig { background: var(--paper-2); }

/* ---------- story stage: beats in the site's voice ---------- */
.beat .stage-n { font: 600 12px/1.2 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--sea); margin-bottom: 16px; }
.beat h2, .beat h3 { font-family: var(--display); font-variation-settings: "opsz" 120; font-weight: 400; letter-spacing: -0.02em; }
.beat h2 { font-size: clamp(1.85rem, 1.2rem + 2.6vw, 3.4rem); line-height: 1.02; max-width: 14em; }
.beat h3 { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 3rem); line-height: 1.02; }
.beat h2 em, .beat h3 em { font-style: italic; font-weight: 300; }
.beat p { font-size: clamp(0.98rem, 0.9rem + 0.3vw, 1.1rem); color: var(--ink-2); max-width: 34em; }
.beat p + p { margin-top: 12px; }
.beat .beat__note { font-size: clamp(0.92rem, 0.86rem + 0.25vw, 1rem); }
.beat p strong { color: var(--ink); }
.beat.ink p strong { color: var(--paper); }
.beat .beat__fine { font-size: 13px; margin-top: 18px; max-width: 46ch; }
.beat.ink .stage-n { color: var(--sky); }
.beat.ink h2 em { color: var(--sky); }
.beat .beat__xl { font-size: clamp(2.4rem, 1.4rem + 4.6vw, 5.4rem); max-width: 10em; }
.stage-list { margin: 6px 0 18px; }
.stage-list li { font-family: var(--display); font-variation-settings: "opsz" 96; font-size: clamp(1.3rem, 1rem + 1.4vw, 2.1rem); line-height: 1.15; letter-spacing: -0.015em; padding: 8px 0; border-top: 1px solid var(--line-light); }
.beat.ink :focus-visible { outline-color: var(--sky); }
.btn--ghost-light { color: var(--paper); border-color: var(--line-light); }
.btn--ghost-light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); box-shadow: none; }
.story .hint { font: 600 11px/1 var(--sans); letter-spacing: 0.3em; color: var(--mute); }
.story .draft-tag { font: 600 11px/1 var(--sans); letter-spacing: 0.2em; color: var(--mute); }
.stage.lit .draft-tag { color: var(--sky-2); }
/* mid widths (700-1099px): the figure art sits upper-centre, so beats anchor to the bottom like mobile instead of overlapping it */
@media (max-width: 1099px) {
  .story.live .beat.at-l { left: var(--gut); right: var(--gut); top: auto; bottom: 10svh; width: auto; translate: none; }
}
@media (max-width: 699px) {
  .story .hint { display: none; }
  .story.live .beat.at-l { bottom: 9svh; }
  .beat p { font-size: 14.5px; }
  .beat .beat__note { font-size: 13.5px; }
  .beat .stage-n { margin-bottom: 10px; }
  .stage-list li { padding: 5px 0; }
}
/* static layout (reduced motion / no JS / script failure): the engine lays beats out two-column; place the list in the text column */
.story:not(.live) .beat .stage-list { grid-column: 2; margin-top: 0; }
.story:not(.live) .beat.ink .stage-list li { border-top-color: var(--line-light); }
.story:not(.live) .beat .beat__xl { font-size: clamp(2rem, 1.3rem + 3.3vw, 4rem); }
.story:not(.live) .beat p + p { margin-top: 12px; }
@media (max-width: 760px) { .story:not(.live) .beat .stage-list { grid-column: 1; } }

/* ---------- sections ---------- */
section { padding: 72px 0; }
.section__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 36px; }
.section__fine { font-size: 13px; color: var(--mute); margin: 0; max-width: 46ch; }
.section__fine strong { color: var(--ink); }

/* pain */
.pain { border-top: 1px solid var(--line); }
.pain__list { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: 8px; }
.pain__item { display: grid; grid-template-columns: 44px 1fr; align-items: baseline; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.pain__item p { margin: 0; font-family: var(--display); font-variation-settings: "opsz" 48; font-size: clamp(1.2rem, 1rem + 1.1vw, 1.7rem); line-height: 1.2; letter-spacing: -0.012em; }
.pain__n { font-size: 12px; letter-spacing: 0.12em; color: var(--sea); font-weight: 600; }
.pain__close { max-width: 56ch; margin: 28px 0 18px; color: var(--ink-2); }
@media (min-width: 900px) {
  .pain__list { grid-template-columns: 1fr 1fr; column-gap: 48px; }
}

/* check */
.check { background: var(--paper-2); border-top: 1px solid var(--line); }
.check__head { max-width: 720px; margin-bottom: 36px; }
.check__panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 20px 28px;
  box-shadow: 0 30px 60px -40px rgba(21, 23, 27, 0.45);
  position: relative;
  overflow: hidden;
}
.check__progress { display: flex; gap: 0; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.check__progress li { flex: 1; min-width: 0; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); padding: 0 8px 10px 0; position: relative; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 700px) { .check__progress li { font-size: 11px; letter-spacing: 0.12em; } }
@media (max-width: 420px) { .check__progress li { white-space: normal; text-overflow: clip; overflow: visible; line-height: 1.25; padding-right: 6px; letter-spacing: 0.04em; font-size: 9.5px; overflow-wrap: anywhere; } }
.check__progress li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.check__progress li.is-on { color: var(--ink); }
.check__progress li.is-on::after, .check__progress li.is-done::after { transform: scaleX(1); }
.check__progress li.is-done { color: var(--sea); }
.check__q { font-family: var(--display); font-variation-settings: "opsz" 72; font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.3rem); line-height: 1.05; letter-spacing: -0.015em; margin-bottom: 20px; }
.check__opts { display: grid; gap: 10px; }
.opt {
  display: grid;
  text-align: left;
  padding: 16px 18px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  transition: transform 0.35s var(--spring), border-color 0.25s, background 0.25s, box-shadow 0.35s var(--ease);
  min-height: 60px;
}
.opt b { font-weight: 600; font-size: 16px; }
.opt span { font-size: 13px; color: var(--mute); }
.opt:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 12px 24px -16px rgba(21, 23, 27, 0.5); }
.opt.is-picked { border-color: var(--sea); background: var(--sky-2); }
.check__step { animation: stepIn 0.5s var(--ease) both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
/* .site-js is set by site.js itself (html.js comes from stage-boot.js and is withdrawn if the stage engine fails) */
.site-js .check__result { display: none; }
.site-js .check__result.is-on { display: block; animation: stepIn 0.6s var(--ease) both; }
.check__tag { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sea); margin-bottom: 10px; }
.check__title { font-family: var(--display); font-variation-settings: "opsz" 96; font-size: clamp(1.7rem, 1.3rem + 2vw, 2.8rem); line-height: 1.02; letter-spacing: -0.02em; margin-bottom: 14px; max-width: 22ch; }
.check__lead { color: var(--ink-2); max-width: 60ch; margin-bottom: 22px; }
.check__cols { display: grid; gap: 22px; margin-bottom: 26px; }
.check__cols h4 { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.check__cols li { position: relative; padding-left: 18px; margin-bottom: 8px; font-size: 15.5px; line-height: 1.45; }
.check__cols li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 1.5px; background: var(--sea); }
.check__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.check__fine { font-size: 13px; color: var(--mute); margin: 16px 0 0; }
.check__fine strong { color: var(--ink); }
@media (min-width: 700px) {
  .check__panel { padding: 34px 36px 36px; }
  .check__opts { grid-template-columns: 1fr 1fr; }
  .check__cols { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* who */
.who { background: var(--paper-2); }
.who__grid { display: grid; gap: 22px; }
.who__col { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 26px 22px; }
.who__col--alt { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.who__col h3 { font-family: var(--display); font-variation-settings: "opsz" 72; font-size: 1.6rem; letter-spacing: -0.015em; margin-bottom: 16px; }
.who__col li { position: relative; padding-left: 20px; margin-bottom: 12px; line-height: 1.45; }
.who__col li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 9px; height: 1.5px; background: var(--sea); }
.who__col--alt li::before { background: var(--sky); }
.who__fine { font-size: 14px; color: var(--sky-2); margin: 18px 0 0; }
@media (min-width: 860px) { .who__grid { grid-template-columns: 1fr 1fr; gap: 28px; } .who__col { padding: 34px 32px; } }

/* visit */
.visit__list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.visit__step { display: grid; grid-template-columns: 52px 1fr; gap: 10px 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.visit__n { font-size: 12px; letter-spacing: 0.12em; color: var(--sea); font-weight: 600; padding-top: 6px; }
.visit__step h3 { font-family: var(--display); font-variation-settings: "opsz" 72; font-size: 1.7rem; letter-spacing: -0.015em; line-height: 1; margin-bottom: 8px; grid-column: 2; }
.visit__step p { grid-column: 2; margin: 0; color: var(--ink-2); max-width: 60ch; }
@media (min-width: 900px) {
  .visit__list { grid-template-columns: repeat(4, 1fr); border-top: 0; gap: 28px; }
  .visit__step { grid-template-columns: 1fr; border-bottom: 0; border-top: 1.5px solid var(--ink); padding: 16px 0 0; }
  .visit__step h3, .visit__step p { grid-column: 1; }
}

/* faq */
.faq__list { border-top: 1px solid var(--line); max-width: 860px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  cursor: pointer;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 28px;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-family: var(--display);
  font-variation-settings: "opsz" 48;
  font-size: clamp(1.15rem, 1rem + 0.8vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-family: var(--sans); font-size: 24px; color: var(--sea); text-align: center; transition: transform 0.4s var(--spring); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { margin: 0 0 20px; color: var(--ink-2); max-width: 64ch; }

/* locations */
.locs { background: var(--paper-2); }
.locs__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: 22px; }
.locs__status { margin: 0; font-size: 14px; color: var(--mute); min-height: 1em; }
.locs__grid { display: grid; gap: 18px; }
.loc { background: var(--paper); border: 1.5px solid var(--line); border-radius: 18px; padding: 26px 22px; transition: border-color 0.3s, transform 0.4s var(--spring), box-shadow 0.4s var(--ease); position: relative; }
.loc.is-active { border-color: var(--sea); box-shadow: 0 24px 50px -36px rgba(30, 75, 104, 0.6); }
.loc.is-active::before { content: "Selected"; position: absolute; top: 18px; right: 18px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sea); font-weight: 600; }
.loc__kicker { font-size: 13px; color: var(--mute); margin-bottom: 8px; padding-right: 80px; }
.loc__name { font-family: var(--display); font-variation-settings: "opsz" 96; font-size: 2.4rem; line-height: 1; letter-spacing: -0.02em; margin-bottom: 18px; }
.loc__facts { display: grid; grid-template-columns: 72px 1fr; gap: 6px 12px; margin-bottom: 22px; font-size: 15px; }
.loc__facts dt { color: var(--mute); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; padding-top: 3px; }
.loc__facts dd { margin: 0; }
.loc__facts a { text-decoration: none; border-bottom: 1px solid var(--line); }
.loc .btn { margin-right: 16px; margin-bottom: 10px; }
.loc__map { font-size: 14px; text-decoration: none; border-bottom: 1px solid var(--ink); display: inline-block; }
@media (min-width: 760px) { .locs__grid { grid-template-columns: 1fr 1fr; gap: 24px; } .loc { padding: 32px 30px; } }

/* closing */
.close { padding: 96px 0 88px; }
.close .lede { margin-bottom: 8px; }

/* footer */
.ftr { background: var(--paper-3); border-top: 1px solid var(--line); padding: 44px 0 110px; font-size: 13.5px; color: var(--ink-2); }
.ftr__grid { display: grid; gap: 18px 40px; margin-bottom: 26px; }
.ftr strong { color: var(--ink); }
.ftr__fine { color: var(--ink-2); }
.ftr__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; border-top: 1px solid var(--line); padding-top: 16px; }
.ftr__bar a { text-decoration: none; border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .ftr__grid { grid-template-columns: 1fr 1fr; } .ftr { padding-bottom: 44px; } }

/* sticky (mobile) */
.sticky {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 6px 6px 6px;
  box-shadow: 0 18px 40px -20px rgba(21, 23, 27, 0.5);
  transform: translateY(120%);
  transition: transform 0.5s var(--spring);
}
.sticky.is-in { transform: none; }
.sticky.is-in.is-covered { transform: translateY(120%); visibility: hidden; transition: transform 0.3s var(--spring), visibility 0s linear 0.3s; }
.sticky .btn { flex: 1; justify-content: center; }
.sticky__x { width: 40px; height: 40px; border-radius: 50%; font-size: 22px; color: var(--mute); flex: 0 0 40px; }
.sticky__x:hover { background: var(--paper-2); color: var(--ink); }
@media (min-width: 901px) { .sticky { display: none; } }

/* ---------- consult form (dialog + inline) ---------- */
html.is-modal { overflow: hidden; }
.consult {
  border: 0; padding: 0; margin: auto; background: transparent; color: var(--ink);
  width: min(100% - 24px, 580px); max-width: none; max-height: calc(100dvh - 24px); overflow: visible;
}
.consult::backdrop { background: rgba(21, 23, 27, 0.66); }
.consult[open] { animation: cfIn 0.45s var(--ease) both; }
@keyframes cfIn { from { opacity: 0; transform: translateY(14px) scale(0.985); } to { opacity: 1; transform: none; } }
.consult__card { position: relative; background: var(--paper); border-radius: 20px; padding: 28px 22px 22px; max-height: calc(100dvh - 24px); overflow-y: auto; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6); overscroll-behavior: contain; }
.consult__x { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border-radius: 50%; font-size: 26px; line-height: 1; color: var(--ink-2); z-index: 2; }
.consult__x:hover { background: var(--paper-2); color: var(--ink); }
@media (min-width: 640px) { .consult__card { padding: 36px 36px 28px; } }

.cf-mount { margin-top: 26px; }
.cf-mount--closing { margin: 34px 0 6px; }
.cf-mount > .cf, .cf-mount--closing > .cf { background: var(--paper-2); border: 1px solid var(--line); border-radius: 18px; padding: 24px 20px 20px; max-width: 640px; }
.check .cf-mount > .cf { background: var(--paper-2); }
@media (min-width: 640px) { .cf-mount > .cf { padding: 30px 32px 24px; } }

.cf__kicker { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sea); margin: 0 44px 10px 0; }
.cf__h { font-family: var(--display); font-variation-settings: "opsz" 96; font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 12px; }
.cf__h:focus { outline: none; }
.cf__h:focus-visible { outline: 3px solid var(--sea); outline-offset: 4px; }
.cf__sub { color: var(--ink-2); margin: 0 0 16px; max-width: 52ch; }
.cf__seg { display: inline-flex; border: 1.5px solid var(--mute); border-radius: 999px; padding: 3px; gap: 2px; margin-bottom: 14px; }
.cf__seg .seg__btn { color: var(--ink-2); }
.cf__seg .seg__btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.cf__facts { display: grid; grid-template-columns: 64px 1fr; gap: 4px 12px; font-size: 14.5px; margin: 0 0 20px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cf__facts dt { color: var(--ink-2); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; padding-top: 3px; }
.cf__facts dd { margin: 0; }
.cf__facts a { text-decoration: none; border-bottom: 1px solid var(--ink-2); }

.cf__field { margin: 0 0 14px; }
.cf__field label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 5px; }
.cf__field input[type="text"], .cf__field input[type="tel"], .cf__field input[type="email"] {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--field);
  border: 1.5px solid var(--mute); border-radius: 12px; padding: 13px 14px; min-height: 48px;
}
.cf__field input:focus-visible { outline: 3px solid var(--sea); outline-offset: 1px; border-color: var(--ink); }
.cf__field input[aria-invalid="true"] { border-color: var(--err); border-width: 2px; }
.cf__hint { font-size: 13px; color: var(--ink-2); margin: 5px 0 0; }
.cf__err { font-size: 13.5px; color: var(--err); font-weight: 600; margin: 6px 0 0; }
.cf__consent label { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-weight: 400; font-size: 14.5px; line-height: 1.45; margin: 0; cursor: pointer; }
.cf__consent input[type="checkbox"] { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--sea); }
.cf__hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.cf__submit { width: 100%; justify-content: center; margin-top: 4px; font: inherit; font-weight: 600; font-size: 16px; cursor: pointer; }
.cf__submit[disabled] { opacity: 0.65; cursor: progress; transform: none; box-shadow: none; }
.cf__status { margin: 0 0 14px; font-size: 15px; font-weight: 600; border-radius: 12px; }
.cf__status:empty { display: none; margin: 0; }
.cf__status[data-state="loading"] { color: var(--ink-2); font-weight: 500; }
.cf__status[data-state="error"] { color: var(--err); border-left: 3px solid var(--err); padding: 4px 0 4px 12px; border-radius: 0; }
.cf__status[data-state="success"] { color: var(--paper); background: var(--sea); padding: 18px 18px; font-family: var(--display); font-variation-settings: "opsz" 48; font-weight: 400; font-size: 1.3rem; line-height: 1.25; }
.cf__status:focus { outline: none; }
.cf__status:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.cf__help, .cf__after, .cf__alt, .cf__pending > p { font-size: 15px; color: var(--ink-2); margin: 14px 0 0; }
.cf__help { border-left: 3px solid var(--err); padding-left: 12px; }
.cf__help a, .cf__after a, .cf__alt a { font-weight: 600; color: var(--ink); text-underline-offset: 3px; }
.cf__muted { color: var(--ink-2); font-size: 13px; }
.cf__pending { margin-top: 4px; }
.cf__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.cf__fine { font-size: 13px; color: var(--ink-2); margin: 12px 0 0; max-width: 60ch; }
.cf__fine strong { color: var(--ink); }
.cf__fine--disc { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 18px; }

/* ---------- motion ---------- */
.js .hero__in { opacity: 0; transform: translateY(18px); animation: rise 0.9s var(--ease) forwards; }
.js .hero__in[data-i="0"] { animation-delay: 0.05s; }
.js .hero__in[data-i="1"] { animation-delay: 0.15s; }
.js .hero__in[data-i="2"] { animation-delay: 0.3s; }
.js .hero__in[data-i="3"] { animation-delay: 0.42s; }
.js .hero__in[data-i="4"] { animation-delay: 0.55s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.js .strands path { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.2s var(--ease) forwards; }
.js .strands path:nth-child(1) { animation-delay: 0.1s; }
.js .strands path:nth-child(2) { animation-delay: 0.2s; }
.js .strands path:nth-child(3) { animation-delay: 0.3s; }
.js .strands path:nth-child(4) { animation-delay: 0.4s; }
.js .strands path:nth-child(5) { animation-delay: 0.5s; }
.js .strands path:nth-child(6) { animation-delay: 0.6s; }
.js .strands path:nth-child(7) { animation-delay: 0.7s; }
.js .strands path:nth-child(8) { animation-delay: 0.8s; }
.js .strands path:nth-child(9) { animation-delay: 0.9s; }
.js .strands path:nth-child(10) { animation-delay: 1s; }
.js .strands path:nth-child(11) { animation-delay: 1.1s; }
.js .strands path:nth-child(12) { animation-delay: 1.2s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.js .strand-dot { animation: bloom 1.4s var(--spring) 0.6s both; }
@keyframes bloom { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.strands__g { will-change: transform; }
.site-js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.site-js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero__in, .site-js .reveal { opacity: 1; transform: none; animation: none; transition: none; }
  .js .strands path { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
  .js .strand-dot { animation: none; }
  .check__step, .site-js .check__result.is-on { animation: none; }
  .consult[open] { animation: none; }
  .btn, .btn i, .opt, .loc, .sticky, .link-arrow i, .faq__item summary::after, .check__progress li::after { transition: none; }
  .btn:hover, .opt:hover { transform: none; }
}

/* ---------- print: the static shape on white (the engine prints the stage; these cover the site's own filled controls) ---------- */
@media print {
  body { background: #fff; color: #000; }
  .skip, .sticky, .hint, .consult { display: none !important; }
  .btn, .seg__btn[aria-pressed="true"], .who__col--alt, .ftr { background: #fff !important; color: #000 !important; border-color: #000; }
  .who__col--alt li::before { background: #000; }
  .who__fine, .ftr, .ftr__fine { color: #000; }
  .eyebrow, .pain__n, .visit__n, .check__tag, .stage-n { color: #000; }
  .hero__art { opacity: 0.6; }
}

/* request-page fallback: phone lines (v5) */
.cta-tel { font-size: 14px; color: var(--mute); margin: 10px 0 0; max-width: 46ch; }
.cta-tel a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.beat .cta-tel a, .ink .cta-tel a { color: inherit; }
.phones { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; margin-top: 4px; }
.phones .ph a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
html[data-active-city="new-york"] .phones .ph--ny, html:not([data-active-city]) body[data-city="new-york"] .phones .ph--ny { order: -1; }
html[data-active-city="new-york"] .phones .ph--ny a, html:not([data-active-city]) body[data-city="new-york"] .phones .ph--ny a,
html[data-active-city="santa-monica"] .phones .ph--sm a, html:not([data-active-city]) body:not([data-city="new-york"]) .phones .ph--sm a { font-weight: 700; }
.sticky__tel { flex: 0 0 auto; padding: 0 6px; font-weight: 600; font-size: 14px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media print { .sticky__tel { display: none; } }

/* v6: both phones beside every request button (selected/page city first and bold, via the .phones rules above) */
.cta-tel.phones { margin-top: 10px; max-width: 46ch; align-items: baseline; }
.phones--in { display: inline-flex; flex-wrap: wrap; gap: 2px 14px; vertical-align: baseline; margin: 0; }
.phones--in .ph a { font-weight: 600; }
.beat .phones .ph a, .ink .phones .ph a, .beat .phones--in .ph a { color: inherit; }
html[data-active-city="new-york"] .phones--in .ph--ny a, html:not([data-active-city]) body[data-city="new-york"] .phones--in .ph--ny a,
html[data-active-city="santa-monica"] .phones--in .ph--sm a, html:not([data-active-city]) body:not([data-city="new-york"]) .phones--in .ph--sm a { font-weight: 800; }
