/* ==========================================================================
   Lionbio, "The Lab" variant, light edition.
   The brand stylesheet (white pages, slate-blue gradient on dark surfaces,
   teal accents) carries the site. This file adds the scroll-driven sequence,
   which runs on the brand's dark gradient, and the page layouts around it.
   ========================================================================== */
body { font-size: 18px; line-height: 1.5; }
@media (max-width: 860px) { body { font-size: 16px; } }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.anchor { position: relative; top: -72px; height: 0; }
.on-dark h2 .muted { color: var(--on-dark-dim); }

/* ==========================================================================
   Hero: the company and its first program. Text left, the brand particle right.
   ========================================================================== */
.hero-v { position: relative; background: var(--grad-dark); color: #fff; overflow: hidden; min-height: 92vh; display: flex; align-items: center; }
.hero-v::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 40%, rgba(255,255,255,0.10), transparent 55%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 60px; position: relative; z-index: 1; }
.hero-text { position: relative; z-index: 2; max-width: 620px; }
.hero-text h1 { font-family: var(--heading); font-weight: 300; font-size: clamp(38px, 5.2vw, 74px); line-height: 1.02; letter-spacing: -0.03em; }
.hero-text h1 .line2 { display: block; margin-top: 12px; font-size: 0.56em; color: var(--seafoam); font-weight: 300; letter-spacing: -0.02em; line-height: 1.12; }
.hero-lede { margin-top: 24px; font-size: 18px; line-height: 1.55; color: var(--on-dark-muted); max-width: 540px; }
.hero-status { margin-top: 18px; font-size: 12px; color: var(--seafoam); letter-spacing: .04em; }
.hero-text .ctas { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-contact { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--on-dark-muted); padding: 13px 6px; }
.hero-contact:hover { color: #fff; }
.hero-model { position: relative; height: min(70vh, 640px); min-height: 360px; }
.hero-model canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-model-cap { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); color: var(--on-dark-dim); font-size: 10px; white-space: nowrap; }
@media (max-width: 860px) {
  .hero-v { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 10px; padding-top: calc(var(--nav-h) + 28px); padding-bottom: 30px; }
  .hero-text h1 { font-size: clamp(34px, 10vw, 46px); }
  .hero-lede { font-size: 16px; }
  .hero-model { height: 52vh; min-height: 300px; order: 2; }
}

/* introduction before the sequence */
.intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.intro-grid h2 { font-size: clamp(28px, 3.2vw, 44px); margin-top: 16px; }
.intro-text p { font-size: 18px; color: var(--muted); max-width: 520px; }
.intro-text p.intro-cap { margin-top: 18px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.skip-link { display: inline-block; margin-top: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-ink); border-bottom: 1px solid var(--line-2); padding-bottom: 3px; }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; gap: 18px; } .intro-text p { font-size: 16px; } }

/* ==========================================================================
   The sequence: five stages on the brand gradient, driven by scroll
   ========================================================================== */
.lab { position: relative; height: 560vh; }
.lab-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--grad-dark); color: #fff; }
.lab-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .12; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.lab-stage .dots { opacity: .5; -webkit-mask-image: radial-gradient(ellipse at 0% 100%, #000 0%, transparent 55%); mask-image: radial-gradient(ellipse at 0% 100%, #000 0%, transparent 55%); }
#gl, .lab-stage #core { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
#gl:active { cursor: grabbing; }
html.lab-static-mode .lab { display: none; }

/* HUD frame: captions low-left, labels with leaders, a schematic note */
.hud { position: absolute; inset: 0; pointer-events: none; z-index: 3; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--on-dark-dim); }
.hud::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(28,34,43,.85) 0%, rgba(28,34,43,.45) 26%, rgba(28,34,43,0) 50%); }
.hud-copy { position: absolute; left: var(--gutter); bottom: 72px; max-width: 460px; display: grid; }
.hud-copy > div { grid-area: 1 / 1; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s; }
.hud-copy > div.on { opacity: 1; transform: none; }
.hud-copy .k { color: var(--seafoam); font-size: 11px; }
.hud-copy h3 { margin-top: 10px; font-family: var(--heading); font-weight: 400; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -0.02em; text-transform: none; color: #fff; text-shadow: 0 1px 18px rgba(28,34,43,.8); }
.hud-copy p { margin-top: 12px; font-family: var(--heading); font-size: clamp(20px, 2vw, 26px); line-height: 1.3; letter-spacing: -0.015em; text-transform: none; color: #fff; max-width: 480px; text-shadow: 0 1px 18px rgba(28,34,43,.8); }
.hud-copy .status { display: inline-block; margin-top: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--black); background: var(--seafoam); padding: 6px 9px; border-radius: 3px; }
.hud-copy .note { display: block; margin-top: 10px; font-family: var(--mono); font-size: 10.5px; color: var(--on-dark-dim); letter-spacing: .04em; text-transform: uppercase; }
.hud-copy .drag-hint { color: var(--seafoam); }
.is-fallback .drag-hint { display: none; }
.hud-labels { position: absolute; inset: 0; }
.hud-leaders { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hud-leaders line { stroke: rgba(214,236,239,.55); stroke-width: 1; }
.hud-leaders circle { fill: var(--seafoam); }
.hud-label { position: absolute; left: 0; top: 0; padding: 8px 10px; border: 1px solid rgba(214,236,239,.28); background: rgba(28,34,43,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: var(--seafoam); white-space: nowrap; opacity: 0; transition: opacity .35s; will-change: transform; text-transform: none; letter-spacing: 0; font-family: var(--sans); font-size: 13px; line-height: 1.25; }
.hud-label b { font-weight: 500; color: #fff; display: block; }
.hud-label small { display: block; margin-top: 2px; font-family: var(--sans); font-size: 11.5px; color: var(--on-dark-dim); }
.hud-label.on { opacity: 1; }
.hud-label.zone { border: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; font-family: var(--heading); font-size: 24px; letter-spacing: -0.01em; color: #fff; padding: 0; text-shadow: 0 1px 14px rgba(28,34,43,.8); }
.hud-label.zone small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; color: var(--seafoam); margin-top: 2px; }
.hud-foot { position: absolute; right: var(--gutter); bottom: 22px; color: var(--on-dark-dim); font-size: 10px; max-width: 46%; text-align: right; }
@media (max-width: 860px) {
  .lab { height: 520vh; }
  .hud-copy { bottom: 54px; max-width: calc(100% - 32px); }
  .hud-copy h3 { font-size: 22px; }
  .hud-copy p { font-size: 18px; }
  .hud-copy .status { font-size: 10px; }
  .hud-label { font-size: 12px; padding: 6px 8px; }
  .hud-label.zone { font-size: 17px; }
  .hud-foot { left: var(--gutter); right: var(--gutter); bottom: 12px; max-width: none; text-align: left; font-size: 9.5px; }
  .hud::before { background: linear-gradient(to top, rgba(28,34,43,.9) 0%, rgba(28,34,43,.55) 34%, rgba(28,34,43,0) 60%); }
}
@media (prefers-reduced-motion: reduce) { .hud-copy > div, .hud-label { transition: none; } }

/* static fallback: the same five stages, as a list on the gradient */
.lab-static { display: none; background: var(--grad-dark); color: #fff; padding: clamp(60px, 8vw, 110px) 0; }
html.lab-static-mode .lab-static { display: block; }
.stages { list-style: none; display: grid; gap: 40px; }
.stages li { display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: center; padding-bottom: 40px; border-bottom: 1px solid var(--on-dark-line); }
.stages svg { width: 100%; height: auto; }
.stages .k { color: var(--seafoam); font-size: 11px; }
.stages h3 { margin-top: 8px; font-size: 26px; }
.stages p { margin-top: 10px; font-family: var(--heading); font-size: 22px; color: #fff; }
.stages .status { display: inline-block; margin-top: 10px; font-size: 11px; color: var(--black); background: var(--seafoam); padding: 6px 9px; border-radius: 3px; }
.stages .note { display: block; margin-top: 10px; font-size: 10.5px; color: var(--on-dark-dim); }
@media (max-width: 600px) { .stages li { grid-template-columns: 1fr; } .stages svg { max-width: 220px; } }

/* ==========================================================================
   Home: device explorations, two previews, lineage and team, contact
   ========================================================================== */
.concept-intro { display: grid; grid-template-columns: minmax(0, 620px) 1fr; gap: 24px; align-items: end; margin-bottom: 28px; }
.concept-intro p { font-size: 18px; color: var(--muted); }
.concept-label { font-size: 11px; letter-spacing: .06em; color: var(--muted); background: var(--n100); padding: 7px 10px; border-radius: 3px; display: inline-block; }
.concept-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.concept-row figure, .family-row figure { margin: 0; position: relative; border-radius: 12px; overflow: hidden; background: var(--n100); aspect-ratio: 5 / 4; }
.concept-row img, .family-row img { width: 100%; height: 100%; object-fit: cover; display: block; }
.concept-row figcaption, .family-row figcaption { position: absolute; left: 12px; bottom: 12px; font-size: 10.5px; letter-spacing: .05em; color: #fff; background: rgba(15,15,15,.55); padding: 6px 9px; border-radius: 3px; }
.concept-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 24px; }
@media (max-width: 860px) { .concept-intro { grid-template-columns: 1fr; } .concept-intro p { font-size: 16px; } .concept-row { grid-template-columns: 1fr 1fr; } .concept-row figure:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; } }

.previews { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.preview h2 { font-size: clamp(26px, 2.8vw, 38px); margin-top: 16px; }
.preview p { margin-top: 16px; font-size: 17px; color: var(--muted); max-width: 520px; }
.preview .btn { margin-top: 24px; }
@media (max-width: 860px) { .previews { grid-template-columns: 1fr; gap: 40px; } .preview p { font-size: 16px; } }

.lineage { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.lineage h2 { font-size: clamp(30px, 3.4vw, 48px); }
.lineage p { margin-top: 22px; max-width: 440px; font-size: 16px; color: var(--muted); }
.logos.lineage-logos { display: flex; flex-wrap: wrap; gap: 22px 36px; align-items: center; justify-content: flex-start; }
.logos.lineage-logos img { max-height: 44px; max-width: 180px; }
.logos.lineage-logos img.tall { max-height: 66px; }
.people-scroll { display: flex; gap: 16px; margin-top: 48px; padding: 36px 0 12px; border-top: 1px solid var(--line); overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.people-scroll::-webkit-scrollbar { display: none; }
.people-scroll a { flex: 0 0 220px; scroll-snap-align: start; display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 10px 16px; transition: transform .25s, border-color .25s; }
.people-scroll a:hover { transform: translateY(-4px); border-color: var(--teal); }
.people-scroll img { width: 100%; aspect-ratio: 4 / 5; border-radius: 8px; object-fit: cover; object-position: 50% 25%; }
.people-scroll b { display: block; margin-top: 14px; padding: 0 6px; font-family: var(--heading); font-weight: 400; font-size: 20px; letter-spacing: -0.01em; }
.people-scroll span { display: block; margin-top: 4px; padding: 0 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-ink); }
@media (max-width: 860px) { .people-scroll a { flex-basis: 170px; } .people-scroll b { font-size: 17px; } }
.people-foot { margin-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.people-foot .mono { color: var(--dim); }
@media (max-width: 860px) { .lineage { grid-template-columns: 1fr; gap: 28px; } }

.contact { border-top: 1px solid var(--line); }
.contact h2 { font-size: clamp(32px, 4vw, 56px); margin-top: 16px; }
.contact p { margin-top: 18px; font-size: 18px; color: var(--muted); }

/* closing block with the brand particle (research page) */
.cta-block.cta-play { min-height: 80vh; display: flex; align-items: center; justify-content: center; }
.cta-play #core { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; }
.cta-play .wrap { position: relative; z-index: 1; pointer-events: none; }
.cta-play .wrap .ctas a { pointer-events: auto; }
.cta-play h2 { text-shadow: 0 2px 30px rgba(28,34,43,.6); }
.cta-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); color: var(--on-dark-dim); font-size: 10px; pointer-events: none; }
.refs li { color: var(--muted); }

/* ==========================================================================
   Vision
   ========================================================================== */
.story-grid { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.portrait-lg { width: 100%; max-width: 260px; aspect-ratio: 1; border-radius: 14px; object-fit: cover; object-position: 50% 30%; }
.story-text p { font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 640px; }
.story-text p + p { margin-top: 18px; }
.sig { margin-top: 20px; color: var(--accent-ink); font-size: 12px; }
.page-head .sub p { max-width: 640px; }
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.split h2 { font-size: clamp(28px, 3.4vw, 46px); margin-top: 16px; }
.split-text p { font-size: 18px; color: var(--muted); max-width: 560px; }
.split-text p + p { margin-top: 14px; }
.family-row { display: grid; gap: 14px; margin-top: 40px; }
.family-row.four { grid-template-columns: repeat(4, 1fr); }
.family-row figure { aspect-ratio: 4 / 5; }
.family-foot { margin-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
@media (max-width: 860px) { .story-grid { grid-template-columns: 1fr; gap: 24px; } .story-text p { font-size: 16px; } .split { grid-template-columns: 1fr; gap: 18px; } .split-text p { font-size: 16px; } .family-row.four { grid-template-columns: 1fr 1fr; } }

.platform-intro { font-size: 18px; color: var(--muted); max-width: 640px; }
.platform-label { color: var(--dim); font-size: 11px; margin: 28px 0 12px; }
.prow.current { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; margin-top: 28px; padding: 20px 20px; border-radius: var(--radius); background: var(--seafoam); }
.prow.current h3 { font-size: 22px; }
.prow.current .mono { display: block; margin-top: 6px; color: var(--accent-ink); font-size: 11px; }
.prow.current p { color: var(--slate); font-size: 16px; }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 1100px) { .pgrid { grid-template-columns: 1fr 1fr; } }
.pcard { background: var(--mist); border-radius: var(--radius); padding: 22px 24px; }
.pcard h3 { font-size: 22px; }
.pcard .mono { display: block; margin-top: 6px; color: var(--accent-ink); font-size: 11px; }
.pcard p { margin-top: 12px; color: var(--muted); font-size: 16px; }
.pcard details { margin-top: 10px; }
.pcard summary { cursor: pointer; list-style: none; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-ink); }
.pcard summary::-webkit-details-marker { display: none; }
.pcard details p { margin-top: 8px; font-size: 14.5px; }
.pcard details a { color: var(--accent-ink); border-bottom: 1px solid var(--line-2); }
@media (max-width: 760px) { .pgrid { grid-template-columns: 1fr; } .prow.current { grid-template-columns: 1fr; gap: 10px; } }
.closing { text-align: center; padding: clamp(80px, 10vw, 140px) 0; }
.closing h2 { margin: 0 auto; }
.closing .ctas { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Team: one bio per person, clamped, with a Read more toggle
   ========================================================================== */
.unit { scroll-margin-top: 96px; }
.unit-body h3 { font-size: 22px; }
.unit-body .link { display: inline-block; margin: 10px 0 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-ink); }
.unit-body .bio { color: var(--muted); font-size: 15px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.unit.open .unit-body .bio { display: block; -webkit-line-clamp: unset; overflow: visible; }
.unit-body .more { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--n200); appearance: none; background: none; border-left: 0; border-right: 0; border-bottom: 0; width: 100%; display: flex; justify-content: space-between; cursor: pointer; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.unit-body .more:hover { color: var(--text); }
.unit-body .more .plus { transition: transform .25s; }
.unit.open .unit-body .more .plus { transform: rotate(45deg); }
.unit.no-more .unit-body .more { display: none; }

/* ==========================================================================
   Revision 2 (26 October 2026): combined consumer/design block, status lines in
   sentence case, the updates form, the privacy page, Vision layouts, captions
   ========================================================================== */
.hero-status { font-family: var(--sans); font-size: 14px; text-transform: none; letter-spacing: 0; color: rgba(255,255,255,.82); }
.hero-model-cap { font-family: var(--sans); font-size: 12px; text-transform: none; letter-spacing: 0; color: rgba(255,255,255,.7); }
.status-line { font-size: 14px; line-height: 1.5; color: var(--slate); max-width: 560px; }
.consumer-text .status-line, .intro-text .status-line { margin-top: 16px; }
.consumer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px; align-items: start; }
.consumer-text h2 { font-size: clamp(30px, 3.6vw, 50px); margin-top: 16px; }
.consumer-text p { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 520px; }
.consumer-text .btn { margin-top: 26px; }
.consumer-concepts .concept-row figure { aspect-ratio: 4 / 5; }
.concept-row figcaption { font-family: var(--sans); font-size: 12px; text-transform: none; letter-spacing: 0; }
.consumer-concepts .status-line { margin-top: 14px; }
@media (max-width: 860px) { .consumer-grid { grid-template-columns: 1fr; gap: 24px; } .consumer-text p { font-size: 16px; } .consumer-concepts .concept-row figure { aspect-ratio: 1; } .consumer-concepts .concept-row figure:last-child { aspect-ratio: 16 / 9; } }
.intro { padding-bottom: clamp(40px, 6vw, 80px); }
.intro-text p { font-size: 18px; }

/* captions: one legible at a time; outgoing fades first, incoming after */
.hud-copy > div { transition: opacity .22s, transform .22s; }
.hud-copy > div.on { transition: opacity .35s .22s, transform .35s .22s; }
.hud-copy .k { font-family: var(--mono); }
.hud-foot { font-family: var(--sans); font-size: 13px; text-transform: none; letter-spacing: 0; color: rgba(255,255,255,.78); max-width: 40%; }
.stages .note { font-family: var(--sans); font-size: 13px; text-transform: none; letter-spacing: 0; color: rgba(255,255,255,.72); }
.stages .k { font-family: var(--mono); }
.lab-static .stages p { font-size: 20px; }
@media (max-width: 860px) { .hud-foot { font-size: 12px; max-width: none; } }

/* team and provenance on Home */
.provenance-logos { display: grid; gap: 22px; }
.logo-group { display: grid; gap: 10px; }
.logo-cap { font-size: 13px; color: var(--dim); }
.logo-group img.tall { max-height: 56px; width: auto; filter: grayscale(1); opacity: .75; }
.people-scroll.compact { margin-top: 40px; padding-top: 30px; }
.people-scroll.compact a { flex-basis: 170px; padding: 8px 8px 12px; }
.people-scroll.compact b { font-size: 17px; margin-top: 10px; }
.people-scroll.compact span { font-size: 10.5px; }
@media (max-width: 860px) { .people-scroll.compact a { flex-basis: 150px; } }

/* updates form */
.updates-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.updates h2 { font-size: clamp(30px, 3.6vw, 50px); margin-top: 16px; }
.updates-lede { margin-top: 16px; font-size: 18px; color: var(--muted); max-width: 480px; }
.updates-contact { margin-top: 22px; font-size: 15px; color: var(--muted); }
.updates-form label { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.updates-row { display: flex; gap: 10px; flex-wrap: wrap; }
.updates-row input { flex: 1 1 260px; min-width: 0; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 3px; background: var(--white); color: var(--text); }
.updates-row input:focus { outline: 2px solid var(--teal); outline-offset: 2px; border-color: var(--teal); }
.updates-row input[aria-invalid="true"] { border-color: #b3261e; }
.updates-msg { margin-top: 10px; font-size: 14px; min-height: 1.2em; color: var(--slate); }
.updates-msg.error { color: #8f1d17; }
.updates-msg.ok { color: var(--accent-ink); }
.updates-note { margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--slate); max-width: 520px; }
.updates-note a { color: var(--accent-ink); border-bottom: 1px solid var(--line-2); }
@media (max-width: 860px) { .updates-grid { grid-template-columns: 1fr; gap: 24px; } .updates-lede { font-size: 16px; } }

/* privacy page */
.legal-text { max-width: 720px; }
.legal-text h2 { font-size: 24px; margin-top: 34px; }
.legal-text h2:first-child { margin-top: 0; }
.legal-text p { margin-top: 12px; color: var(--muted); font-size: 17px; }

/* Vision layouts */
.sub-h { margin-top: 28px; font-size: 22px; }
.split-text .status-line { margin-top: 18px; }
.split-text h3 + p { margin-top: 12px; }
.design-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.design-grid h2 { font-size: clamp(30px, 3.6vw, 50px); margin-top: 16px; }
.design-grid p { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 520px; }
.design-figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; max-height: 560px; background: var(--n100); }
.design-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.design-figure figcaption { position: absolute; left: 12px; bottom: 12px; font-size: 12px; color: #fff; background: rgba(15,15,15,.55); padding: 6px 9px; border-radius: 3px; }
.story-text .label { margin-bottom: 14px; }
.story-text h2 { font-size: clamp(28px, 3.4vw, 46px); margin-bottom: 18px; }
.cta-hint { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 12px; }
@media (max-width: 860px) { .design-grid { grid-template-columns: 1fr; gap: 24px; } .design-grid p { font-size: 16px; } }
/* page-head sub paragraph can carry two sentences of thesis on Vision */
.page-head .sub p { max-width: 720px; }
.family-row figcaption { font-family: var(--sans); font-size: 12px; text-transform: none; letter-spacing: 0; }
/* hero particle: drag to spin; a small caption for the easter egg */
.hero-model { cursor: grab; }
.hero-model.dragging { cursor: grabbing; }
.core-egg { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: min(100%, 420px); padding: 8px 12px; border-radius: 4px; background: rgba(28,34,43,.72); color: var(--seafoam); font-size: 14px; line-height: 1.4; text-align: center; opacity: 0; transition: opacity .4s; pointer-events: none; }
.core-egg.on { opacity: 1; }
.hero-model-hint { position: absolute; left: 50%; top: 8px; transform: translateX(-50%); font-size: 12px; color: rgba(255,255,255,.6); white-space: nowrap; pointer-events: none; }
@media (max-width: 860px) { .core-egg { font-size: 12px; white-space: normal; text-align: center; width: calc(100% - 32px); } }
/* hero particle: the turn counter */
.hero-model-hint { display: none; }
.core-count { position: absolute; left: 50%; top: 6px; transform: translateX(-50%); font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: rgba(255,255,255,.72); pointer-events: none; }
/* partners: one row of logos, linked where the site is known */
.partners { display: grid; gap: 14px; align-content: center; }
.partners .logos a, .partners .logos .logo-plain { display: inline-flex; align-items: center; }
.partners .logos a:hover img { filter: none; opacity: 1; }
.cta-hint { display: none; }
/* Vision: the peptide toggles reuse the Research accordion look */
.platform-label { margin: 40px 0 12px; font-size: 14px; color: var(--slate); }
.acc { display: grid; gap: 8px; }
.acc details { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-family: var(--heading); font-size: 19px; letter-spacing: -0.02em; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary em { font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-ink); margin-left: auto; }
.acc summary .plus { font-family: var(--mono); font-size: 14px; color: var(--accent-ink); transition: transform .25s; }
.acc details[open] summary .plus { transform: rotate(45deg); }
.acc .acc-body { padding: 0 0 18px; color: var(--muted); font-size: 15px; line-height: 1.5; max-width: 760px; }
.acc .acc-body p + p { margin-top: 8px; }
.acc .acc-body a { color: var(--accent-ink); }
@media (max-width: 600px) { .acc summary { flex-wrap: wrap; } .acc summary em { margin-left: 0; width: 100%; } }
/* Vision: metabolic section stacks its text under the heading; tighter gap into the founder note */
.platform-sec h2 { margin-top: 16px; font-size: clamp(30px, 3.6vw, 50px); }
.stack-text { max-width: 760px; margin-top: 22px; }
.stack-text p { font-size: 18px; color: var(--muted); }
.stack-text p + p { margin-top: 14px; }
.stack-text .sub-h { margin-top: 28px; }
.stack-text .status-line { margin-top: 18px; }
.platform-sec { padding-bottom: clamp(48px, 6vw, 90px); }
.platform-sec .platform-label { margin-top: 36px; }
.story.sec { padding: clamp(64px, 8vw, 110px) 0; }

/* ==========================================================================
   Formatting pass (26 October): section rhythm, button spacing, counter placement,
   form alignment, wider Vision text
   ========================================================================== */
.sec { padding: clamp(64px, 8vw, 110px) 0; }
.sec.bordered { border-top: 1px solid var(--line); }
.hero-text .ctas { margin-top: 36px; }
.split-text .btn, .consumer-text .btn, .lineage .btn, .preview .btn { margin-top: 30px; }
.split-text p + .btn { margin-top: 30px; }
.core-count { top: auto; bottom: 34px; font-size: 14px; }
.updates-grid { align-items: center; }
.stack-text { max-width: 920px; }
.stack-text p { max-width: 920px; }
.platform-sec h2 { max-width: 920px; }
.team-group { padding: 56px 0 24px; }
.people-scroll.compact a { flex-basis: 196px; }
.people-scroll.compact span { font-size: 10px; white-space: normal; line-height: 1.35; }
.refs { padding: 8px 0 28px; }
.research { padding-bottom: 0; }
.research .rsec:last-child { padding-bottom: 40px; }

/* ==========================================================================
   Revision 4 (28 October 2026): design QA after the copy edit. Updates block
   without the form, Vision sub-heading, page-head measure, partner groups,
   one h2 size for section heads, section alternation, privacy column, captions
   ========================================================================== */
/* page heads: one column of lede text, about 70 characters at the largest size */
.page-head .sub > div { max-width: 720px; }
.page-head .sub > div p + p { margin-top: 14px; }
.page-head .sub p.status-line { margin-top: 18px; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.82); max-width: 720px; }

/* home hero: the stage line sits under the lede, plainly secondary */
.hero-status { margin-top: 16px; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.82); }
.hero-model-cap { color: rgba(255,255,255,.78); }
.core-count { bottom: 36px; }
@media (max-width: 860px) { .hero-grid { gap: 16px; } .hero-model-cap { white-space: normal; text-align: center; width: calc(100% - 32px); } }

/* section heads: one size and one label gap on every white or mist section */
.intro-grid h2, .split h2, .consumer-text h2, .lineage h2, .updates h2, .design-grid h2, .platform-sec h2, .story-text h2, #join h2 { font-size: clamp(30px, 3.6vw, 50px); margin-top: 16px; }
.story-text .label { margin-bottom: 0; }
.story-text h2 { margin-bottom: 0; }
.story-text h2 + p { margin-top: 18px; }
.story-text .btn { margin-top: 30px; }
.lineage p { font-size: 18px; max-width: 520px; margin-top: 18px; }
@media (max-width: 860px) { .lineage p { font-size: 16px; } }
#join .sec-head { margin-bottom: 24px; }

/* partners: two labelled groups, same baseline for the captions, logos on one scale */
.partners { gap: 28px; align-content: center; }
.logo-group { gap: 12px; }
.logo-cap { font-size: 14px; line-height: 1.4; color: var(--slate); }
.logos.lineage-logos { gap: 18px 32px; }
.logos.lineage-logos img { max-height: 34px; max-width: 150px; }
.logos.lineage-logos img.tall { max-height: 60px; }
@media (max-width: 860px) {
  .logos.lineage-logos { gap: 16px 24px; }
  .logos.lineage-logos img { max-height: 30px; max-width: 132px; }
  .logos.lineage-logos img.tall { max-height: 56px; }
}

/* updates block: button, two notes, then the contact line; centred against the left column */
.updates-grid { align-items: center; }
.updates-cta { display: grid; gap: 12px; justify-items: start; align-content: center; max-width: 560px; }
.updates-cta .btn { margin: 0 0 4px; }
.updates-cta .updates-note { margin: 0; font-size: 14px; line-height: 1.5; color: var(--slate); max-width: 540px; }
.updates-cta .updates-contact { margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--muted); }
@media (max-width: 860px) {
  .updates-grid { gap: 28px; }
  .updates-cta { gap: 10px; }
  .updates-cta .btn { margin-bottom: 6px; }
  .updates-cta .updates-note { font-size: 13.5px; }
}

/* Vision thesis: the second heading reads as a sub-heading of the first */
.platform-sec .stack-text h2.sub-h { margin-top: 40px; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; letter-spacing: -0.02em; max-width: 760px; }
.stack-text .sub-h + p { margin-top: 12px; }

/* privacy: the legal column lines up with the page head instead of floating in the middle */
.wrap.legal-text { max-width: var(--max); }
.legal-text h2, .legal-text p { max-width: 720px; }
.legal-text h2 { margin-top: 40px; }
.legal-text h2:first-child { margin-top: 0; }
/* sequence on phones: a little more room between the caption and the schematic note */
@media (max-width: 860px) { .hud-copy { bottom: 66px; } }
