/* meetyuli.com: shared styles.
   Cream is the ground everywhere. Ink and grey carry the words; sage and gold are
   accents only (neither is dark enough to read as text on cream); forest is used sparingly. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  color-scheme: light only;
  /* the yuli palette, and nothing else */
  --cream:  #FDF8EE;   /* ground */
  --ink:    #1A1A1A;   /* body and headings */
  --grey:   #666666;   /* captions and secondary text */
  --sage:   #88A18A;   /* wordmark, rules, dots, frames: too light for text on cream */
  --gold:   #DFC484;   /* light and emphasis marks: decorative only */
  --forest: #1E3D2F;   /* accents, links, buttons, sparingly (darker forest, Cher 2026-10-07) */
  --hair:   color-mix(in srgb, var(--sage) 45%, transparent);
  --font: 'Nunito', 'Quicksand', system-ui, sans-serif;
  --gutter: 16px;
}

html { scroll-behavior: smooth; }
/* clip, not hidden: hidden would turn the body into a scroll box */
body { font-family: var(--font); font-weight: 300; background: var(--cream); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: clip; padding-inline: var(--gutter); }
::selection { background: color-mix(in srgb, var(--gold) 55%, transparent); }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; border-radius: 3px; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { min-height: 44px; display: inline-flex; align-items: center; position: absolute; left: 1rem; top: -4rem; z-index: 10; padding: 0.7rem 1.2rem; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 0.9rem; font-weight: 400; text-decoration: none; }
.skip-link:focus { top: 1rem; }
.skip-link:focus-visible { outline-color: var(--ink); }

/* full-bleed bands break out of the body gutter */
.bleed { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }

/* ── header: cream, editorial, no big button ── */
.site-header { display: flex; align-items: center; gap: 1.5rem; max-width: 1120px; margin: 0 auto; padding-block: 1.25rem; border-bottom: 1px solid var(--hair); }
.site-header a { text-decoration: none; }
.site-header .wordmark { font-size: 1.9rem; letter-spacing: 0.16em; margin-right: auto; }
.nav-menu { display: flex; align-items: center; gap: 0.25rem 1.1rem; }
.nav-menu a { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.9rem; color: var(--ink); border-bottom: 1px solid transparent; transition: color 200ms ease, border-color 200ms ease; }
.nav-menu a:hover { color: var(--grey); }
.nav-menu a[aria-current="page"] { color: var(--grey); border-bottom-color: var(--gold); }
.nav-cta { display: inline-flex; align-items: center; min-height: 40px; padding: 0 1rem; border: 1px solid var(--forest); border-radius: 999px; font-size: 0.88rem; font-weight: 400; color: var(--forest); white-space: nowrap; transition: background-color 200ms ease, color 200ms ease; }
.nav-cta:hover { background: var(--forest); color: var(--cream); }
@media (max-width: 960px) {
  .site-header { flex-wrap: wrap; row-gap: 0.25rem; padding-block: 1rem 0.25rem; }
  .nav-menu { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; gap: 1.1rem; mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .nav-menu::-webkit-scrollbar { display: none; }
  .nav-menu a { white-space: nowrap; }
}
.wordmark { font-weight: 300; color: var(--sage); line-height: 1; }
.tagline { display: block; font-size: 0.9rem; color: var(--grey); }

/* ── shared section grammar ── */
.eyebrow { font-size: 0.78rem; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); }
.sec { max-width: 1040px; margin: 0 auto; padding-block: clamp(4.5rem, 10vw, 7.5rem); }
.sec h2 { margin-top: 0.9rem; max-width: 24ch; font-weight: 300; font-size: clamp(1.8rem, 4vw, 2.75rem); line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; }
.sec-band { position: relative; }
.text-link { display: inline-flex; align-self: flex-start; width: fit-content; align-items: center; gap: 0.4rem; min-height: 44px; font-size: 0.95rem; font-weight: 400; color: var(--forest); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--gold) 70%, transparent); }
.text-link::after { content: '→'; transition: transform 200ms ease; }
.text-link:hover::after { transform: translateX(3px); }

/* the point of light: a soft gold glow around a cream core */
.light { position: absolute; width: 90px; height: 90px; margin: -45px 0 0 -45px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, var(--cream) 0 9%, color-mix(in srgb, var(--gold) 80%, transparent) 20%, color-mix(in srgb, var(--gold) 22%, transparent) 55%, transparent 100%); }

/* ── 02 hero ── */
.hero { max-width: 1120px; margin: 0 auto; min-height: min(86vh, 820px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; gap: 2rem; padding-block: clamp(4rem, 10vh, 7rem); }
.hero h1 { margin-top: 1.25rem; font-weight: 300; font-size: clamp(2rem, 4.6vw, 3.5rem); line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; }
.hero-second { margin-top: 1.25rem; font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.3; font-style: italic; color: var(--forest); text-wrap: balance; }
.hero-thesis { margin-top: 2rem; padding-left: 1rem; border-left: 2px solid var(--gold); font-size: 1.1rem; line-height: 1.55; color: var(--ink); max-width: 46ch; }
.hero-def { margin-top: 1rem; max-width: 52ch; font-size: 1rem; line-height: 1.75; color: var(--grey); text-wrap: pretty; }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.75rem; }
.hero-copy > * { opacity: 0; transform: translateY(12px); }
.js .hero-copy > * { animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }
.js .hero-copy .eyebrow { animation-delay: 0.1s; }
.js .hero-copy h1 { animation-delay: 0.2s; }
.js .hero-copy .hero-second { animation-delay: 0.35s; }
.js .hero-copy .hero-thesis { animation-delay: 0.5s; }
.js .hero-copy .hero-actions { animation-delay: 0.65s; }
html:not(.js) .hero-copy > * { opacity: 1; transform: translateY(0); }
.hero-field { position: relative; align-self: stretch; min-height: 320px; }
.light-home { left: 72%; top: 34%; opacity: 0.55; transform: scale(0.8); }
.light-travel { left: 18%; top: 78%; transform: scale(0.35); opacity: 0.7; }
.js .light-travel { animation: travel 7s cubic-bezier(0.45, 0, 0.2, 1) 0.8s both, hover 5s ease-in-out 7.8s infinite; }
.js .light-home { animation: answer 2.4s ease-out 6s both; }
@keyframes travel {
  0%   { left: 18%; top: 78%; transform: scale(0.25); opacity: 0.4; }
  45%  { left: 40%; top: 50%; transform: scale(0.45); opacity: 0.85; }
  100% { left: 60%; top: 40%; transform: scale(0.6); opacity: 1; }
}
@keyframes hover { 0%, 100% { translate: 0 0; } 50% { translate: 4px -6px; } }
@keyframes answer { from { opacity: 0.35; transform: scale(0.7); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 1rem; }
  .hero-field { order: -1; min-height: 160px; }
}

/* ── home: what yuli is ── */
.intro { margin: clamp(3rem, 7vw, 5rem) auto; padding: clamp(3rem, 7vw, 5rem) clamp(2rem, 5vw, 4rem); background: color-mix(in srgb, var(--sage) 8%, transparent); border-radius: 24px; border: 1px solid color-mix(in srgb, var(--sage) 20%, transparent); display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 960px; }
.intro h2.eyebrow { margin: 0; max-width: none; font-size: 0.78rem; letter-spacing: 0.16em; line-height: 1.4; }
.what-def { margin-top: 1rem; max-width: 36ch; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.35; text-wrap: pretty; }
.what-line { margin-top: 1.25rem; font-size: 1.1rem; color: var(--forest); }
.intro .text-link { margin-top: 1.5rem; }

/* ── subpages built from the home sections ── */
.page h1 { margin-top: 0.9rem; max-width: 24ch; font-weight: 300; font-size: clamp(2rem, 4.6vw, 3rem); line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; }
.sec-wrap { border-top: 1px solid var(--hair); }
.sec-wrap > .sec { padding-block: clamp(4rem, 9vw, 6.5rem); }
.next-page { max-width: 1040px; margin: 0 auto; padding-block: 1rem clamp(4rem, 8vw, 6rem); border-top: 1px solid var(--hair); }
.clinical-intro { padding-bottom: clamp(2.5rem, 6vw, 3.5rem); margin-bottom: clamp(2.5rem, 6vw, 3.5rem); border-bottom: 1px solid var(--hair); }
.clinical-intro h1 { margin-top: 0.6rem; font-weight: 300; font-size: clamp(1.9rem, 4.4vw, 2.75rem); line-height: 1.15; text-wrap: balance; }

/* ── the problem ── */
.problem-body { margin-top: 2rem; display: grid; gap: 0.35rem; font-size: 1.1rem; line-height: 1.6; }
.problem-body .problem-turn { margin-top: 1.25rem; max-width: 40ch; font-size: clamp(1.2rem, 2.2vw, 1.4rem); line-height: 1.45; color: var(--forest); }
.voices { position: relative; margin: clamp(3rem, 7vw, 4.5rem) auto 0; max-width: 820px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3.5rem, 9vw, 6rem) clamp(6rem, 18vw, 12rem); }
.voices p { font-size: clamp(1.1rem, 2.2vw, 1.4rem); line-height: 1.4; font-style: italic; color: var(--grey); }
.voices p:nth-child(odd) { text-align: right; }
.voices-point { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 10px color-mix(in srgb, var(--gold) 22%, transparent), 0 0 40px 18px color-mix(in srgb, var(--gold) 30%, transparent); }
.problem-close { margin: clamp(3rem, 7vw, 4.5rem) auto 0; max-width: 34ch; text-align: center; font-size: clamp(1.3rem, 2.6vw, 1.7rem); line-height: 1.4; text-wrap: balance; }
@media (max-width: 640px) {
  .voices { grid-template-columns: 1fr; gap: 1.25rem; padding-top: 3rem; }
  .voices p, .voices p:nth-child(odd) { text-align: center; }
  .voices-point { top: 0; margin-top: 0; }
}

/* ── the thesis ── */
.thesis-grid { margin-top: 2.5rem; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.thesis-copy p { font-size: 1.05rem; line-height: 1.75; color: var(--grey); }
.thesis-copy .thesis-idea { margin-top: 1rem; font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.45; color: var(--ink); text-wrap: pretty; }
.thesis-copy .thesis-path { margin-top: 1.5rem; font-size: 1.15rem; color: var(--forest); }
.progress { list-style: none; display: grid; justify-items: center; text-align: center; }
.progress li { font-size: 1.05rem; color: var(--grey); padding: 0.55rem 1.1rem 0; }
.progress li.arrive { margin-top: 0.9rem; padding: 0.55rem 1.1rem; }
.progress li:not(:last-child)::after { content: ''; display: block; width: 1px; height: 30px; margin: 0.9rem auto 0; background: linear-gradient(var(--hair), var(--sage)); }
.progress li.arrive { color: var(--forest); font-weight: 400; border: 1px solid color-mix(in srgb, var(--gold) 70%, transparent); border-radius: 999px; background: var(--cream); box-shadow: 0 0 30px color-mix(in srgb, var(--gold) 30%, transparent); }
@media (max-width: 760px) { .thesis-grid { grid-template-columns: 1fr; } }

/* ── how it works ── */
.how-steps { list-style: none; margin-top: 3rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); position: relative; }
.how-steps::before { content: ''; position: absolute; left: 22px; right: calc(33% - 22px); top: 22px; height: 1px; background: var(--hair); }
.how-step { position: relative; }
.node { position: relative; z-index: 1; display: block; width: 44px; height: 44px; border-radius: 50%; background: var(--cream); border: 1px solid var(--sage); transition: background-color 900ms ease, box-shadow 900ms ease, border-color 900ms ease; }
.node::after { content: ''; position: absolute; inset: 14px; border-radius: 50%; background: var(--sage); opacity: 0.5; transition: background-color 900ms ease, opacity 900ms ease; }
.how-step.lit .node, html:not(.js) .node { background: var(--cream); border-color: var(--gold); box-shadow: 0 0 0 6px color-mix(in srgb, var(--gold) 22%, transparent), 0 0 36px 10px color-mix(in srgb, var(--gold) 45%, transparent); }
.how-step.lit .node::after, html:not(.js) .node::after { background: var(--gold); opacity: 1; }
.how-step .num { display: block; margin-top: 1.5rem; font-size: 0.85rem; letter-spacing: 0.12em; color: var(--grey); }
.how-step h3 { margin-top: 0.4rem; font-weight: 400; font-size: 1.25rem; line-height: 1.3; }
.how-step p { margin-top: 0.6rem; font-size: 1rem; line-height: 1.7; color: var(--grey); }
.how-close { margin-top: clamp(3rem, 6vw, 4rem); font-size: clamp(1.2rem, 2.4vw, 1.55rem); color: var(--forest); }
@media (max-width: 760px) {
  .how-steps { grid-template-columns: 1fr; gap: 2.25rem; }
  .how-steps::before { left: 22px; right: auto; top: 22px; bottom: 22px; width: 1px; height: auto; }
  .how-step { padding-left: 64px; }
  .node { position: absolute; left: 0; top: 0; }
  .how-step .num { margin-top: 0.6rem; }
}

/* ── child agency ── */
.agency-body { margin-top: 1.5rem; max-width: 56ch; font-size: 1.1rem; line-height: 1.7; color: var(--grey); }
.principles { list-style: none; margin-top: 2.75rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--hair); }
.principles li { padding: 1.4rem 1.5rem 1.4rem 0; font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.45; border-bottom: 1px solid var(--hair); }
.principles li:nth-child(odd) { padding-right: 2rem; }
.agency-line { margin-top: clamp(3rem, 7vw, 4.5rem); padding-left: 1.25rem; border-left: 3px solid var(--gold); font-size: clamp(1.8rem, 4.4vw, 3rem); line-height: 1.15; letter-spacing: -0.01em; color: var(--forest); text-wrap: balance; }
@media (max-width: 640px) { .principles { grid-template-columns: 1fr; } }

/* ── 07 boundaries: restrained ── */
.nevers { list-style: none; margin-top: 2.5rem; border-top: 1px solid var(--hair); }
.nevers li { padding-block: 1.15rem; font-size: clamp(1.15rem, 2.4vw, 1.5rem); line-height: 1.35; border-bottom: 1px solid var(--hair); }
.bounds-close { margin-top: 2.5rem; font-size: 1.15rem; line-height: 1.7; color: var(--grey); }

/* ── 08 evidence ── */
.evidence { border-top: 1px solid var(--hair); }
.evidence-intro { margin-top: 1.25rem; max-width: 58ch; font-size: 1.1rem; line-height: 1.7; color: var(--grey); }
.evidence-grid { margin-top: 3rem; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.2fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.evidence-big b { display: block; font-weight: 300; font-size: clamp(4.5rem, 11vw, 7.5rem); line-height: 0.95; letter-spacing: -0.03em; color: var(--forest); font-variant-numeric: tabular-nums; }
.evidence-big span { display: block; margin-top: 0.6rem; font-size: 1rem; color: var(--grey); }
.evidence-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.ev-card { padding: 1.4rem 1.4rem 1.6rem; border-radius: 12px; background: var(--cream); border: 1px solid var(--hair); }
.ev-card b { display: block; font-weight: 300; font-size: 2.6rem; line-height: 1; color: var(--forest); font-variant-numeric: tabular-nums; }
.ev-card span { display: block; margin-top: 0.8rem; font-size: 0.93rem; line-height: 1.6; color: var(--grey); }
.evidence-note { margin-top: 2rem; max-width: 62ch; font-size: 0.95rem; line-height: 1.65; color: var(--grey); }
.evidence-note span { display: block; margin-top: 0.5rem; font-size: 0.8rem; font-style: italic; }
@media (max-width: 900px) { .evidence-grid, .evidence-cards { grid-template-columns: 1fr; } }

/* ── 10 the clinical build ── */
.clinical { border-top: 1px solid var(--hair); }
.clinical-statement { margin-top: 1.75rem; max-width: 26ch; font-size: clamp(1.6rem, 3.6vw, 2.4rem); line-height: 1.25; color: var(--forest); text-wrap: balance; }
.clinical-body { margin-top: 1.75rem; max-width: 58ch; font-size: 1.05rem; line-height: 1.75; color: var(--grey); }
.clinical .text-link { margin-top: 1.25rem; }

/* ── 12 founder: one portrait, plenty of room ── */
.founder { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 7vw, 6rem); align-items: center; border-top: 1px solid var(--hair); }
.founder-photo img { width: 100%; height: auto; max-width: 380px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 4px; }
.founder h2 { max-width: 22ch; font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.founder h2 span { display: block; color: var(--forest); font-style: italic; }
.founder-copy p:not(.eyebrow) { margin-top: 1.25rem; max-width: 58ch; font-size: 1rem; line-height: 1.75; color: var(--grey); }
.founder .text-link { margin-top: 1rem; }
@media (max-width: 760px) { .founder { grid-template-columns: 1fr; } .founder-photo img { max-width: 260px; } }

/* ── 13 current stage ── */
.stage { border-top: 1px solid var(--hair); }
.stage-facts { list-style: none; margin-top: 2.25rem; display: grid; gap: 0.9rem; max-width: 60ch; }
.stage-facts li { position: relative; padding-left: 1.6rem; font-size: 1.08rem; line-height: 1.6; }
.stage-facts li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); }
.stage-close { margin-top: 2.25rem; font-size: 1.15rem; font-style: italic; color: var(--forest); }

/* ── 14 final cta ── */
.connect { position: relative; text-align: center; padding-top: clamp(7rem, 12vw, 9rem); border-top: 1px solid var(--hair); }
.connect .light-solo { left: 50%; top: clamp(2.5rem, 5vw, 3.5rem); }
.js .connect .light-solo { animation: hover 5s ease-in-out infinite; }
.connect h2 { margin-inline: auto; }
.connect > p { margin: 1.25rem auto 0; max-width: 46ch; font-size: 1.15rem; line-height: 1.6; color: var(--grey); text-wrap: balance; }
.connect .cta { margin-top: 2rem; }
.contact-panel { max-width: 640px; margin-inline: auto; text-align: left; }
.contact-panel > summary { display: flex; width: fit-content; margin-inline: auto; list-style: none; }
.contact-panel > summary::-webkit-details-marker { display: none; }
.contact-panel .signup { padding: clamp(1.25rem, 4vw, 2rem); border: 1px solid var(--hair); border-radius: 16px; background: color-mix(in srgb, var(--sage) 8%, var(--cream)); }
.contact-panel .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 540px) { .contact-panel .fields { grid-template-columns: minmax(0, 1fr); } }
.pathways { list-style: none; margin-top: 1.75rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem 1.75rem; }
.pathways a { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.95rem; color: var(--grey); text-decoration: none; border-bottom: 1px solid var(--hair); }
.pathways a:hover { color: var(--forest); border-color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  .js .light-travel { animation: none; left: 60%; top: 40%; transform: scale(0.6); opacity: 1; }
  .js .light-home { animation: none; opacity: 1; transform: none; }
  .js .connect .light-solo { animation: none; }
}


/* ── the three windows, drawn on cream ── */
.paths-wrap { max-width: 1040px; margin: 0 auto; padding-block: clamp(3rem, 7vw, 5rem); border-top: 1px solid var(--hair); }
.paths-wrap h2 { text-align: center; font-weight: 300; font-size: clamp(1.5rem, 3vw, 2rem); text-wrap: balance; }
.paths { max-width: 920px; margin: 2.75rem auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 4vw, 3rem); }
.path { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.35rem; text-decoration: none; padding: 2rem 1.5rem; border-radius: 20px; border: 1px solid transparent; transition: all 400ms ease; }
.who { margin-top: 0.9rem; font-size: 1.1rem; font-weight: 400; color: var(--ink); border-bottom: 1px solid transparent; transition: border-color 400ms ease, color 400ms ease; }
.path:hover, .path:focus-visible { background: color-mix(in srgb, var(--sage) 8%, transparent); border-color: color-mix(in srgb, var(--sage) 25%, transparent); transform: translateY(-4px); }
.path:hover .who, .path:focus-visible .who { color: var(--forest); border-color: var(--gold); }
.what { font-size: 0.9rem; line-height: 1.45; color: var(--grey); max-width: 22ch; }
.window { position: relative; width: 140px; height: 176px; }
.window svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.window .frame { fill: none; stroke: var(--sage); stroke-width: 2; }
.window .mullion { stroke: var(--sage); stroke-width: 1.4; }
.window .sill { stroke: var(--sage); stroke-width: 3; stroke-linecap: round; }
.window .pane { position: absolute; left: 11px; right: 11px; top: 11px; bottom: 21px; border-radius: 60px 60px 2px 2px;
  background: radial-gradient(120% 90% at 50% 80%, color-mix(in srgb, var(--gold) 70%, transparent) 0%, color-mix(in srgb, var(--gold) 18%, transparent) 60%, transparent 100%);
  opacity: 0.25; transition: opacity 900ms ease; }
.path:hover .window .pane, .path:focus-visible .window .pane { opacity: 1; }
.window .spill { position: absolute; left: -30%; right: -30%; bottom: -30px; height: 70px; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--gold) 35%, transparent), transparent); opacity: 0; transition: opacity 900ms ease; }
.path:hover .window .spill, .path:focus-visible .window .spill { opacity: 1; }
@media (max-width: 640px) { .paths { grid-template-columns: 1fr; gap: 2.75rem; } }

/* fireflies on the sills: a glowing dot with faint wings, moved by script */
.fly { position: absolute; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; pointer-events: none; will-change: transform; }
.fly i { position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(closest-side, var(--cream) 0 14%, color-mix(in srgb, var(--gold) 80%, transparent) 32%, transparent 100%); opacity: var(--glow, 0.8); }
.fly b { position: absolute; left: 50%; top: 50%; width: 5px; height: 7px; margin: -3px 0 0 -2.5px; border-radius: 50%; background: var(--gold); }
.fly b::before, .fly b::after { content: ''; position: absolute; top: -4px; width: 7px; height: 4px; border: 0.8px solid color-mix(in srgb, var(--gold) 70%, transparent); border-radius: 50%; }
.fly b::before { right: 3px; transform: rotate(35deg); }
.fly b::after { left: 3px; transform: rotate(-35deg); }

.cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 1.6rem; border: 0; border-radius: 999px; background: var(--forest); color: var(--cream); font: inherit; font-size: 0.95rem; font-weight: 500; text-decoration: none; cursor: pointer; transition: all 300ms ease; box-shadow: 0 2px 8px color-mix(in srgb, var(--forest) 25%, transparent); }
.cta:hover { background: var(--ink); box-shadow: 0 6px 16px color-mix(in srgb, var(--ink) 25%, transparent); transform: translateY(-1px); }

/* ── forms: the three audience sign-ups and the mailing list ── */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup input, .signup select, .signup textarea, .list-form input {
  width: 100%; min-height: 44px; padding: 0.7rem 0.9rem; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--cream); border: 1px solid var(--grey); border-radius: 8px; }
.signup textarea { resize: vertical; line-height: 1.6; }
.signup ::placeholder, .list-form ::placeholder { color: var(--grey); }
.form-privacy { margin-top: 1rem; font-size: 0.82rem; line-height: 1.6; color: var(--grey); }

.form-page { max-width: 640px; margin: 0 auto; padding-block: clamp(3.5rem, 9vw, 6rem) clamp(4rem, 9vw, 6rem); }
.form-page h1 { font-weight: 300; font-size: clamp(1.9rem, 4.6vw, 2.8rem); line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; }
.form-intro { margin-top: 1rem; font-size: 1.05rem; line-height: 1.7; color: var(--grey); text-wrap: pretty; }
.form-intro a, .thanks .back { color: var(--forest); text-underline-offset: 3px; }
.thanks .back { display: inline-block; margin-top: 1.5rem; padding-block: 0.6rem; }
.signup { margin-top: 2.25rem; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field.is-full { grid-column: 1 / -1; }
.field label { font-size: 0.92rem; font-weight: 400; color: var(--ink); }
.field .optional { font-weight: 300; color: var(--grey); }
.form-note { margin-top: 1rem; font-size: 0.85rem; font-style: italic; line-height: 1.6; color: var(--grey); }
.signup .cta { margin-top: 1.5rem; }

/* clinicians: the advisor role description above the form */
.role-page { max-width: 820px; margin: 0 auto; padding-block: clamp(3rem, 8vw, 5rem) clamp(4rem, 9vw, 6rem); }
.role-page h3 { font-weight: 400; font-size: 1.02rem; line-height: 1.4; color: var(--ink); }
.role-page strong { font-weight: 400; color: var(--ink); }
.role .mark { flex-shrink: 0; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; }
.role .mark svg { width: 14px; height: 14px; }

.role-hero .eyebrow { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); }
.role-hero h1, .role-title { margin-top: 0.5rem; font-weight: 300; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); }
.role-lede { margin-top: 1.25rem; padding-left: 1rem; border-left: 3px solid var(--gold); font-size: clamp(1.2rem, 2.6vw, 1.5rem); line-height: 1.45; text-wrap: pretty; }
.role-intro { margin-top: 1.25rem; max-width: 62ch; font-size: 1.02rem; line-height: 1.75; color: var(--grey); text-wrap: pretty; }
.glance { list-style: none; margin-top: 2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.9rem; }
.glance li { padding: 1.1rem 1.2rem 1.2rem; border-radius: 12px; background: var(--cream); border: 1px solid var(--hair); }
.glance b { display: block; font-weight: 300; font-size: 1.5rem; line-height: 1.15; color: var(--forest); }
.glance span { display: block; margin-top: 0.4rem; font-size: 0.88rem; line-height: 1.5; color: var(--grey); }
.role-hero .cta { margin-top: 1.75rem; }

.block { margin-top: clamp(3rem, 7vw, 4.5rem); }
.block h2, .role-start h2 { font-weight: 300; font-size: clamp(1.45rem, 3vw, 1.85rem); line-height: 1.2; color: var(--ink); }
.block h2::after, .role-start h2::after { content: ''; display: block; width: 40px; height: 2px; margin-top: 0.7rem; background: var(--gold); }
.block > p { margin-top: 1rem; max-width: 66ch; font-size: 1rem; line-height: 1.75; text-wrap: pretty; }

.today { margin-top: 1.5rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
.today-stat { padding: 1.4rem 1.5rem; border-radius: 12px; border: 1px solid var(--hair); border-top: 3px solid var(--gold); }
.today-stat b { display: block; font-weight: 300; font-size: 2.8rem; line-height: 1; color: var(--forest); font-variant-numeric: tabular-nums; }
.today-stat span { display: block; margin-top: 0.75rem; font-size: 0.92rem; line-height: 1.6; color: var(--ink); }
.today-stat small { display: block; margin-top: 0.75rem; font-size: 0.78rem; font-style: italic; line-height: 1.5; color: var(--grey); }
.today-facts { list-style: none; display: grid; gap: 1rem; align-content: start; }
.today-facts li { padding: 1.1rem 1.2rem; border-radius: 12px; background: var(--cream); border: 1px solid var(--hair); font-size: 0.95rem; line-height: 1.65; }
@media (max-width: 640px) { .today { grid-template-columns: 1fr; } }

.steps { list-style: none; counter-reset: step; margin-top: 1.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; position: relative; padding: 1.2rem 1.25rem 1.3rem 3.6rem; border-radius: 12px; background: var(--cream); border: 1px solid var(--hair); }
.steps li::before { content: counter(step); position: absolute; left: 1.15rem; top: 1.1rem; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: color-mix(in srgb, var(--gold) 35%, transparent); color: var(--forest); font-size: 0.9rem; font-weight: 400; }
.steps p, .timeline p, .nots p { margin-top: 0.35rem; font-size: 0.95rem; line-height: 1.65; color: var(--grey); }

.areas { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.areas > div { padding: 1.2rem 1.25rem; border-radius: 12px; background: var(--cream); border: 1px solid var(--hair); border-top: 3px solid var(--sage); }
.areas dt { font-weight: 400; font-size: 1rem; line-height: 1.4; }
.areas dd { margin-top: 0.5rem; font-size: 0.93rem; line-height: 1.65; color: var(--grey); }

.nots { list-style: none; margin-top: 1.5rem; display: grid; gap: 0.9rem; }
.nots li { display: flex; gap: 0.9rem; align-items: flex-start; padding: 1.1rem 1.2rem; border-radius: 12px; border: 1px dashed color-mix(in srgb, var(--sage) 60%, transparent); }
.nots .mark { background: color-mix(in srgb, var(--grey) 14%, transparent); color: var(--grey); }

.timeline { list-style: none; margin-top: 1.5rem; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 1.5rem 2rem; border-left: 2px solid var(--hair); margin-left: 7px; }
.timeline li:last-child { padding-bottom: 0; border-left-color: transparent; }
.timeline li::before { content: ''; position: absolute; left: -9px; top: 0.2rem; width: 16px; height: 16px; border-radius: 50%; background: var(--cream); border: 2px solid var(--forest); }

.terms { margin-top: 1.5rem; border-top: 1px solid var(--hair); }
.terms > div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1rem; padding-block: 1rem; border-bottom: 1px solid var(--hair); }
.terms dt { font-weight: 400; font-size: 0.98rem; line-height: 1.6; color: var(--grey); }
.terms dd { font-size: 0.95rem; line-height: 1.65; color: var(--grey); }
@media (max-width: 560px) { .terms > div { grid-template-columns: 1fr; gap: 0.3rem; } }

.checks { list-style: none; margin-top: 1.5rem; display: grid; gap: 0.85rem; }
.checks li { display: flex; gap: 0.8rem; align-items: flex-start; font-size: 1rem; line-height: 1.65; }
.checks .mark { margin-top: 0.05rem; background: color-mix(in srgb, var(--sage) 22%, transparent); color: var(--forest); }

.role-start { margin-top: clamp(3.5rem, 8vw, 5rem); padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 16px; background: var(--cream); border: 1px solid var(--hair); scroll-margin-top: 1.5rem; }
.role-start .form-intro { margin-top: 1rem; }
.role-start .signup { margin-top: 1.75rem; }

.list-row { display: flex; gap: 0.6rem; }
.list-row input { flex: 1; min-width: 0; }
.list-row .cta { flex-shrink: 0; }
@media (max-width: 480px) { .list-row { flex-direction: column; } .signup .cta { width: 100%; } }

.site-footer { margin-top: 2rem; padding-block: 3.5rem 2.5rem; border-top: 1px solid var(--hair); }
.foot-in { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 0.8fr 1fr 1.6fr; gap: 2rem; }
.site-footer .wordmark { font-size: 1.6rem; line-height: 1.2; letter-spacing: 0.18em; }
.site-footer .tagline { margin-top: 0.5rem; font-size: 0.85rem; font-style: italic; }
.site-footer ul { list-style: none; }
.site-footer li a, .foot-mail { display: inline-flex; align-items: center; min-height: 40px; font-size: 0.9rem; color: var(--ink); text-decoration: none; }
.site-footer li a:hover { color: var(--grey); }
.foot-mail { margin-top: 0.5rem; color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.foot-label { display: block; margin-bottom: 0.6rem; font-size: 0.92rem; font-weight: 400; }
.foot-list .form-privacy { font-size: 0.75rem; }
.site-footer small { display: block; max-width: 1120px; margin: 2.5rem auto 0; font-size: 0.8rem; color: var(--grey); }
@media (max-width: 900px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-brand, .foot-list { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* investors and about: small additions to the role-page grammar */
.checks.plain li { position: relative; display: block; padding-left: 1.4rem; }
.checks.plain li::before { content: ''; position: absolute; left: 0; top: 0.65em; width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }
.about-cher { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(1.5rem, 5vw, 3rem); align-items: start; }
.about-cher .founder-photo img { width: 100%; height: auto; max-width: 300px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 4px; }
.about-cher h2 span { display: block; color: var(--forest); font-style: italic; }
.about-cher p { margin-top: 1rem; font-size: 1rem; line-height: 1.75; color: var(--grey); }
@media (max-width: 640px) { .about-cher { grid-template-columns: 1fr; } }
.role .clinical-statement { margin-top: 1.25rem; max-width: 30ch; font-size: clamp(1.3rem, 2.8vw, 1.75rem); line-height: 1.35; color: var(--forest); }

/* ── investors: the long-form thesis page ──
   Sage marks the adult, gold marks the child's telling, a dotted line always means waiting. */
.iv { max-width: 1080px; margin: 0 auto; }
.iv h3 { font-weight: 300; }
.iv-hero { display: flex; flex-direction: column; gap: 1.5rem; padding-block: clamp(3.5rem, 9vw, 6.5rem) 1rem; }
.iv-hero h1 { font-weight: 300; font-size: clamp(2.4rem, 6.4vw, 4.8rem); line-height: 1.04; letter-spacing: -0.012em; max-width: 15ch; text-wrap: balance; }
.iv-lede { max-width: 60ch; font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.55; }
.iv-status { display: flex; flex-wrap: wrap; gap: 0.5rem 0.75rem; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--forest); }
.iv-status span { display: inline-flex; align-items: center; gap: 0.75rem; }
.iv-status span:not(:last-child)::after { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.iv-bridge { display: flex; align-items: center; gap: clamp(1.5rem, 6vw, 4rem); margin-top: clamp(1rem, 3vw, 2.25rem); }
.iv-span { flex: 1; height: 1px; background: var(--sage); position: relative; }
.iv-light { flex: none; display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px color-mix(in srgb, var(--gold) 30%, transparent), 0 0 30px 12px color-mix(in srgb, var(--gold) 55%, transparent); }

.iv-sec { display: flex; flex-direction: column; gap: 1.6rem; padding-block: clamp(3.25rem, 7vw, 5.5rem); border-top: 1px solid var(--hair); }
.iv-hero + .iv-sec { border-top: 0; }
.iv-h { font-weight: 300; font-size: clamp(1.85rem, 4.2vw, 3.2rem); line-height: 1.1; letter-spacing: -0.01em; max-width: 22ch; text-wrap: balance; }
.iv-note { max-width: 70ch; font-size: 0.9rem; line-height: 1.55; color: var(--grey); }
.iv-paths { gap: clamp(2.5rem, 6vw, 4.25rem); }
.iv-head { display: flex; flex-direction: column; gap: 1.6rem; }
.iv-path { display: flex; flex-direction: column; gap: 1rem; }
.iv-dep { display: inline-block; margin-left: 0.6rem; padding: 0.1rem 0.6rem; border: 1px solid var(--grey); border-radius: 999px; letter-spacing: 0.1em; color: var(--ink); }
.iv-a .iv-dep { border-color: var(--sage); color: var(--forest); }

/* tracks: one shared grid so both paths end in the same column */
.iv-track { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)) minmax(0, 1.5fr); margin-top: 1.75rem; }
.iv-cell { grid-row: 1; grid-column: var(--col); position: relative; min-width: 0; border-top: 2px solid var(--grey); padding: 1.1rem 1rem 0 0; display: flex; flex-direction: column; align-items: flex-start; gap: 0.3rem; }
.iv-cell h3 { font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.25; color: var(--ink); text-wrap: balance; }
.iv-tag { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); }
.iv-mk { position: absolute; left: 0; top: -7px; width: 12px; height: 12px; border-radius: 50%; background: var(--cream); border: 2px solid var(--grey); }
.iv-start .iv-mk { background: var(--ink); border-color: var(--ink); }
.iv-a .iv-cell { border-top-color: var(--sage); }
.iv-a .iv-mk { border-color: var(--sage); }
.iv-a .iv-start .iv-mk { background: var(--ink); border-color: var(--ink); }
.iv-b .iv-cell:not(.iv-start) .iv-mk { top: -13px; width: 4px; height: 24px; border-radius: 2px; border: 0; background: var(--ink); }
.iv-cell.iv-gap { border-top: 2px dotted var(--grey); }
.iv-wait { font-size: 0.88rem; font-style: italic; color: var(--grey); }
.iv-cell.iv-end { border-top-color: transparent; padding: 0; }
.iv-endbox { width: 100%; margin-top: -1.5rem; padding: 0.9rem 1rem 1rem; border-radius: 6px; display: flex; flex-direction: column; align-items: flex-start; gap: 0.3rem; background: var(--cream); }
.iv-a .iv-endbox { border: 1px dashed var(--sage); }
.iv-a .iv-endbox h3 { color: var(--grey); }
.iv-b .iv-endbox { border: 2px solid var(--ink); }
.iv-b .iv-endbox h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); color: var(--ink); }
.iv-b .iv-endbox p:not(.iv-tag) { font-size: 0.95rem; line-height: 1.4; color: var(--grey); }
.iv-cost .iv-track { margin-top: 1rem; }
.iv-cost .iv-cell { border-top-color: var(--ink); }
.iv-cost .iv-cell.iv-gap { border-top: 2px dotted var(--grey); }
.iv-cost .iv-cell.iv-end { padding: 1.1rem 0 0; border-top: 2px solid var(--ink); }
.iv-cost .iv-end .iv-mk { background: var(--ink); border-color: var(--ink); }

/* the thesis */
.iv-thesis { display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(1.5rem, 3.6vw, 2.5rem); padding-block: clamp(6rem, 14vw, 11rem); border-top: 1px solid var(--hair); }
.iv-thesis h2 { font-weight: 300; font-size: clamp(2.1rem, 6vw, 4.6rem); line-height: 1.06; letter-spacing: -0.012em; }
.iv-thesis h2 span { display: block; }
.iv-fix { font-size: clamp(1.5rem, 3.6vw, 2.6rem); line-height: 1.15; color: var(--forest); }
.iv-handoff { margin-top: clamp(0.5rem, 3vw, 2rem); font-size: clamp(1.85rem, 4.2vw, 3.2rem); line-height: 1.1; color: var(--forest); }

/* path C: the door */
.iv-door { --tagw: 230px; border-top: 1px solid var(--gold); }
.iv-steps { list-style: none; display: flex; flex-direction: column; margin-top: 0.9rem; }
.iv-step { position: relative; display: grid; grid-template-columns: minmax(0, var(--tagw)) minmax(0, 1fr); column-gap: 56px; padding-bottom: 2.9rem; }
.iv-step::before { content: ''; position: absolute; left: calc(var(--tagw) + 27px); top: 14px; bottom: 4px; width: 2px; background: var(--gold); }
.iv-step::after { content: ''; position: absolute; left: calc(var(--tagw) + 22px); top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px color-mix(in srgb, var(--gold) 30%, transparent); }
.iv-partial::after { background: var(--cream); border: 2px solid var(--gold); box-shadow: none; }
.iv-adult::before { background: var(--sage); }
.iv-adult::after { background: var(--forest); box-shadow: 0 0 0 5px color-mix(in srgb, var(--sage) 35%, transparent); }
.iv-dtag { padding-top: 0.3rem; text-align: right; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); }
.iv-adult .iv-dtag { color: var(--forest); }
.iv-dbody { display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.iv-dbody h3 { font-size: clamp(1.4rem, 2.7vw, 1.95rem); line-height: 1.18; color: var(--ink); max-width: 26ch; text-wrap: balance; }
.iv-dbody p { max-width: 56ch; font-size: clamp(1.05rem, 1.7vw, 1.2rem); }
.iv-seen { padding-bottom: 0; }
.iv-seen::before { display: none; }
.iv-seen::after { top: clamp(16px, 2.6vw, 30px); box-shadow: 0 0 0 7px color-mix(in srgb, var(--gold) 30%, transparent), 0 0 34px 14px color-mix(in srgb, var(--gold) 55%, transparent); }
.iv-seen .iv-dtag { padding-top: clamp(0.8rem, 2.4vw, 1.7rem); }
.iv-seen h3 { font-size: clamp(2.5rem, 6.4vw, 4.75rem); line-height: 1.04; letter-spacing: -0.012em; }

/* the category gap */
.iv-research { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; max-width: 980px; }
.iv-research li { border-top: 1px solid var(--hair); padding-block: 0.8rem; font-size: 0.95rem; line-height: 1.55; min-width: 0; }
.iv-research b { display: block; margin-bottom: 0.2rem; font-weight: 400; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--forest); }
.iv-twoline { display: flex; flex-direction: column; gap: 0.4rem; padding-top: clamp(0.6rem, 2.4vw, 1.75rem); }
.iv-compare { width: 100%; max-width: 860px; border-collapse: collapse; }
.iv-compare th { width: 50%; padding: 0 1rem 0.75rem 0; text-align: left; font-weight: 400; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); }
.iv-compare th + th { color: var(--forest); }
.iv-compare td { padding: 0.75rem 1rem 0.75rem 0; border-top: 1px solid var(--hair); vertical-align: top; font-size: clamp(1.1rem, 2.1vw, 1.5rem); line-height: 1.25; color: var(--grey); }
.iv-compare td + td { color: var(--ink); }
.iv-compare td + td::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 0.75rem; border-radius: 50%; background: var(--gold); vertical-align: 0.14em; }
.iv-feature { display: flex; flex-direction: column; gap: 0.6rem; padding-top: clamp(1.4rem, 3.2vw, 2.1rem); border-top: 1px solid var(--gold); }
.iv-feature p { max-width: 32ch; font-size: clamp(1.4rem, 2.9vw, 2.1rem); line-height: 1.22; text-wrap: balance; }
.iv-feature .iv-turn { color: var(--forest); }

/* why yuli is different */
.iv-lead { font-weight: 300; font-size: clamp(1.6rem, 3.5vw, 2.6rem); line-height: 1.14; letter-spacing: -0.008em; max-width: 30ch; text-wrap: balance; }
.iv-lead em { display: block; margin-top: 0.18em; font-style: normal; color: var(--forest); }
.iv-g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75rem 2rem; }
.iv-item { display: flex; flex-direction: column; gap: 0.5rem; padding-top: 1rem; border-top: 1px solid var(--sage); min-width: 0; }
.iv-item b { font-weight: 400; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--forest); }
.iv-item p { font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.32; }
.iv-closer { font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.3; font-style: italic; color: var(--forest); text-wrap: balance; }

/* early clinical signal */
.iv-sample { font-size: clamp(1.1rem, 1.9vw, 1.3rem); line-height: 1.4; color: var(--forest); }
.iv-figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem 2.25rem; }
.iv-fig { display: flex; flex-direction: column; gap: 0.4rem; padding-top: 1rem; border-top: 1px solid var(--grey); min-width: 0; }
.iv-n { font-size: clamp(2.75rem, 5.6vw, 3.9rem); line-height: 1; font-variant-numeric: tabular-nums; }
.iv-fig p { max-width: 34ch; font-size: 0.97rem; line-height: 1.5; }
.iv-qual { display: flex; flex-direction: column; gap: 0.4rem; max-width: 720px; padding: 1.1rem 1.25rem; border: 1px solid var(--sage); border-radius: 6px; }
.iv-qual strong { font-weight: 400; font-size: clamp(1.25rem, 2.2vw, 1.55rem); line-height: 1.25; }

/* founder */
.iv-founder { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 1.75rem 3.5rem; align-items: start; }
.iv-and { margin-top: 0.6rem; font-size: clamp(1.4rem, 2.8vw, 2rem); line-height: 1.2; font-style: italic; color: var(--forest); }
.iv-founder-copy { display: flex; flex-direction: column; gap: 1.1rem; }
.iv-founder-copy > p:first-child { font-size: 1.05rem; line-height: 1.7; }
.iv-cred { padding-top: 0.9rem; border-top: 1px solid var(--hair); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--forest); }

/* current stage: a solid panel for today, an open one for what comes next */
.iv-stage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.iv-st { display: flex; flex-direction: column; gap: 0.75rem; min-width: 0; padding: 1.6rem 1.75rem 1.25rem; border-radius: 8px; }
.iv-st h3 { font-weight: 400; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); }
.iv-st ul, .iv-st ol { list-style: none; }
.iv-st li { position: relative; display: flex; align-items: baseline; gap: 0.9rem; padding-block: 0.6rem; font-size: clamp(1.1rem, 1.9vw, 1.35rem); line-height: 1.3; }
.iv-today { border: 1px solid var(--grey); }
.iv-today li + li { border-top: 1px solid var(--hair); }
.iv-today li::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); transform: translateY(-2px); }
.iv-today .iv-key { font-weight: 400; }
.iv-next { border: 1px dashed var(--sage); }
.iv-next h3 { color: var(--forest); }
.iv-next li { padding-left: 2rem; }
.iv-next li::before { content: ''; position: absolute; left: 0; top: 1.05rem; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--sage); background: var(--cream); }
.iv-next li:not(:last-child)::after { content: ''; position: absolute; left: 5px; top: 1.95rem; bottom: -0.95rem; width: 2px; background: var(--sage); }
.iv-next li:last-child::before { border-color: var(--gold); background: var(--gold); box-shadow: 0 0 0 5px color-mix(in srgb, var(--gold) 30%, transparent); }
.iv-num { font-size: 0.75rem; letter-spacing: 0.14em; color: var(--forest); font-variant-numeric: tabular-nums; }
.iv-ask { max-width: 52ch; padding-left: 1rem; border-left: 3px solid var(--gold); font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.45; }

/* closing */
.iv-closing { padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.iv-closing .iv-h { max-width: 16ch; font-size: clamp(2.1rem, 5.4vw, 4.1rem); }
.iv-way { font-size: clamp(1.25rem, 2.3vw, 1.6rem); line-height: 1.3; color: var(--forest); }
.iv + .site-footer, .iv .role-start { margin-bottom: clamp(3rem, 6vw, 4.5rem); }

@media (max-width: 880px) {
  .iv-track { display: block; margin-top: 0.4rem; }
  .iv-cell, .iv-cost .iv-cell.iv-end { border-top: 0; border-left: 2px solid var(--grey); padding: 0 0 1.4rem 1.5rem; }
  .iv-a .iv-cell { border-left-color: var(--sage); }
  .iv-cost .iv-cell { border-left-color: var(--ink); }
  .iv-mk, .iv-start .iv-mk { left: -7px; top: 3px; }
  .iv-b .iv-cell:not(.iv-start) .iv-mk { left: -13px; top: 9px; width: 24px; height: 4px; }
  .iv-cell.iv-gap, .iv-cost .iv-cell.iv-gap { border-top: 0; border-left: 2px dotted var(--grey); }
  .iv-cell.iv-end, .iv-cost .iv-cell.iv-end { border-left-color: transparent; padding-bottom: 0; }
  .iv-endbox { margin-top: 0; }
  .iv-sp { display: none; }
  .iv-door { --tagw: 0px; }
  .iv-step { grid-template-columns: minmax(0, 1fr); row-gap: 0.25rem; padding-left: 2rem; padding-bottom: 2.4rem; }
  .iv-step::before { left: 5px; }
  .iv-step::after { left: 0; }
  .iv-dtag { text-align: left; padding-top: 0.2rem; }
  .iv-seen .iv-dtag { padding-top: 0; }
  .iv-seen::after { top: 6px; }
  .iv-g4, .iv-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .iv-founder { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .iv-research, .iv-g4, .iv-figs, .iv-stage { grid-template-columns: minmax(0, 1fr); }
  .iv-compare th, .iv-compare td { padding-right: 0.6rem; }
}

/* clinicians: the role sections fold open on tap, closed by default */
.fold { border-top: 1px solid var(--hair); }
.role .fold { margin-top: 0; }
.role .fold:last-of-type { border-bottom: 1px solid var(--hair); }
.role-hero + .fold { margin-top: clamp(2.5rem, 6vw, 3.5rem); }
.fold summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; padding-block: 1.25rem; cursor: pointer; list-style: none; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary h2 { margin: 0; }
.fold summary h2::after { display: none; }
.fold summary:hover h2 { color: var(--forest); }
.fold-icon { position: relative; flex: none; width: 28px; height: 28px; border: 1px solid var(--sage); border-radius: 50%; transition: background-color 200ms ease; }
.fold-icon::before, .fold-icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -0.75px 0 0 -6px; background: var(--forest); transition: transform 250ms ease; }
.fold-icon::after { transform: rotate(90deg); }
.fold[open] .fold-icon { background: color-mix(in srgb, var(--gold) 35%, transparent); }
.fold[open] .fold-icon::after { transform: rotate(0deg); }
.fold-body { padding-bottom: 2rem; }
.fold-body > :first-child { margin-top: 0; }
@media (prefers-reduced-motion: reduce) { .fold-icon::after { transition: none; } }

/* investors: the jump bar, and a few deeper moments so the page is not one flat stack */
.iv-toc { position: sticky; top: 0; z-index: 5; display: flex; gap: 0.25rem 1.5rem; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 0.4rem var(--gutter); background: var(--cream); border-block: 1px solid var(--hair); }
.iv-toc::-webkit-scrollbar { display: none; }
.iv-toc a { display: inline-flex; align-items: center; min-height: 40px; white-space: nowrap; font-size: 0.88rem; color: var(--grey); text-decoration: none; border-bottom: 2px solid transparent; transition: color 200ms ease, border-color 200ms ease; }
.iv-toc a:hover { color: var(--ink); }
.iv-toc a[aria-current] { color: var(--forest); border-bottom-color: var(--gold); }
.iv-toc a[href="#start"] { margin-left: auto; color: var(--forest); }
.iv [id] { scroll-margin-top: 64px; }
.iv-toc + .iv-sec { border-top: 0; }

/* the thesis: the one forest band */
.iv-thesis { margin-inline: calc(50% - 50vw); padding-inline: calc(50vw - 50%); background: var(--forest); border-top: 0; color: var(--cream); }
.iv-thesis h2 { color: var(--cream); }
.iv-thesis .iv-fix { color: var(--gold); }
.iv-thesis + .iv-sec { border-top: 0; }

/* sage cards */
.iv-item { padding: 1.25rem 1.25rem 1.4rem; border-top: 0; border-radius: 12px; background: color-mix(in srgb, var(--sage) 16%, transparent); }
.iv-fig { padding: 1.25rem 1.25rem 1.4rem; border-top: 0; border-radius: 12px; background: color-mix(in srgb, var(--sage) 16%, transparent); }
.iv-n { color: var(--forest); }
.iv-qual { border: 0; border-left: 3px solid var(--gold); border-radius: 0; padding-block: 0.4rem; }
.iv-compare td + td, .iv-compare th + th { padding-left: 1rem; background: color-mix(in srgb, var(--sage) 16%, transparent); }
.iv-compare thead th + th { border-radius: 10px 10px 0 0; padding-top: 0.75rem; }
.iv-compare tbody tr:last-child td + td { border-radius: 0 0 10px 10px; }
.iv-research li { padding: 0.9rem 0; }

/* founder: one portrait */
.iv-founder { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); align-items: center; }
.iv-portrait img { width: 100%; max-width: 340px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 12px; }
.iv-bio { font-size: 1.05rem; line-height: 1.7; }
@media (max-width: 880px) { .iv-founder { grid-template-columns: minmax(0, 1fr); } .iv-portrait img { max-width: 240px; } }
/* investors: sections are set apart by space, bands and cards, not rules */
.iv-sec { border-top: 0; }
.iv-door { border-top: 0; }
.iv-toc { border-top: 0; }
/* investors: lint pass — looser display leading, room under stacked tags, shorter measures */
.iv-lead { line-height: 1.25; }
.iv-feature p { line-height: 1.32; }
.iv-sample { max-width: 60ch; }
.form-privacy { max-width: 70ch; }
@media (max-width: 880px) { .iv-step { row-gap: 0.6rem; } }

/* audit pass */
.site-header .wordmark { display: inline-flex; align-items: center; min-height: 44px; }          /* a full tap target */
.how-step h2.step-title { margin-top: 0.4rem; max-width: none; font-weight: 400; font-size: 1.25rem; line-height: 1.3; letter-spacing: 0; }
.iv-tag, .iv-research b, .iv-dtag { font-size: 0.75rem; }                                        /* nothing under 12px */
.fold-body p, .fold-body li, .nots p, .terms dd { max-width: 68ch; }                              /* readable measure inside panels */
.form-note { max-width: 70ch; }
.iv-hero h1 { line-height: 1.08; }
.page > .sec-wrap:first-child { border-top: 0; }                                            /* no second rule under the header */
