@charset "UTF-8";
/* ============================================================
   Oncobiotix — brand stylesheet
   Palette from the corporate deck: crimson #B11E2E + deep navy.
   Type: Newsreader (display serif) · Hanken Grotesk (grotesque)
         · IBM Plex Mono (technical labels & figures)
   ============================================================ */

:root {
  color-scheme: light;

  /* neutrals — cool, navy-biased (chosen, not defaulted) */
  --ink:        #0d1c2e;   /* headings */
  --ink-2:      #22344a;   /* strong body */
  --body:       #4b5b6e;   /* body text */
  --muted:      #5c6b7d;   /* captions — WCAG AA (≥4.9:1 on tints) */
  --bg:         #f8f9fb;   /* page ground */
  --surface:    #ffffff;
  --surface-2:  #f1f4f8;   /* tinted panels */
  --line:       #e4e8ee;
  --line-2:     #d3dae3;

  /* brand */
  --navy:       #0b273f;   /* dark bands / hero */
  --navy-2:     #0f3050;
  --navy-3:     #16324b;
  --crimson:    #b11e2e;   /* THE accent */
  --crimson-2:  #931826;   /* hover / deeper */
  --crimson-ink:#8f1826;
  --rose:       #fbeaec;   /* soft crimson tint */
  --rose-2:     #f6dcdf;

  /* signal accents — used sparingly, never as the brand accent */
  --amber:      #986410;
  --green:      #157a52;

  /* on-dark */
  --d-ink:      #f3f7fb;
  --d-body:     #b3c2d1;
  --d-muted:    #8195a9;
  --d-line:     rgba(255,255,255,.14);
  --d-crimson:  #e86a72;   /* brightened for dark grounds — AA on navy */
  --d-crimson-hi: #e2515d; /* punchier accent for large display only */

  /* type */
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono:  "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(13,28,46,.04), 0 12px 32px -18px rgba(13,28,46,.22);
  --shadow-soft: 0 1px 2px rgba(13,28,46,.05), 0 20px 50px -30px rgba(13,28,46,.28);
}

/* ---------- reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--crimson-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

::selection { background: var(--rose-2); color: var(--crimson-2); }

:focus-visible {
  outline: 2px solid var(--crimson);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- type scale ---------- */
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; font-weight: 600; }

.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.display em { font-style: italic; color: var(--crimson); }

h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.35rem, 5.2vw, 4rem); letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 3.6vw, 2.7rem); letter-spacing: -0.015em; text-wrap: balance; }
h3 { font-family: var(--sans); font-weight: 700; font-size: 1.16rem; letter-spacing: -0.01em; }
p { text-wrap: pretty; }

/* eyebrow / scientific label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--crimson);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--crimson);
  opacity: .55;
}
.eyebrow.on-dark { color: var(--d-crimson); }
.eyebrow.on-dark::before { background: var(--d-crimson); }
.eyebrow.plain::before { display: none; }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.measure { max-width: 62ch; }
.measure-tight { max-width: 46ch; }

.section { padding-block: clamp(64px, 9vw, 128px); }
.section--tint { background: var(--surface); border-block: 1px solid var(--line); }
.section--panel { background: var(--surface-2); border-block: 1px solid var(--line); }
.section--navy { background: var(--navy); color: var(--d-body); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head .lede { margin-top: 18px; }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--ink-2); }
.section--navy .lede { color: var(--d-body); }
.kicker-h2 { margin-top: 14px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248,249,251,.82);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(248,249,251,.94); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 82px; }

.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand:hover { text-decoration: none; }
.brand svg { width: 48px; height: 48px; }
.brand .word {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 2.1rem;
  letter-spacing: -0.026em;
  color: var(--crimson);
}
.brand .word b { color: var(--ink); font-weight: 800; }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  color: var(--ink-2);
  font-size: 0.95rem; font-weight: 500;
  padding: 8px 13px; border-radius: 8px;
  transition: color .18s, background .18s;
}
.nav-links a:hover { color: var(--crimson-ink); background: var(--surface-2); text-decoration: none; }
.nav-links a.active { color: var(--crimson-ink); }
.nav-cta {
  margin-left: 8px;
  background: var(--ink) !important; color: #fff !important;
  padding: 9px 17px !important; border-radius: 999px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--crimson) !important; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; margin-right: -10px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
.nav-toggle span + span { margin-top: 5px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-weight: 600; font-size: 0.98rem;
  padding: 13px 24px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .2s, border-color .2s, color .2s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }

.btn--solid { background: var(--crimson); color: #fff; }
.btn--solid:hover { background: var(--crimson-2); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--navy-2); }
.btn--ghost { border-color: var(--line-2); color: var(--ink-2); background: var(--surface); }
.btn--ghost:hover { border-color: var(--ink-2); color: var(--ink); }
.btn--on-navy { background: #fff; color: var(--navy); }
.btn--on-navy:hover { background: var(--rose); color: var(--crimson-2); }
.btn--ghost-navy { border-color: rgba(255,255,255,.28); color: #fff; }
.btn--ghost-navy:hover { border-color: #fff; background: rgba(255,255,255,.06); }

.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--d-body); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(90% 90% at 88% 0%, rgba(177,30,46,.22) 0, transparent 55%),
    radial-gradient(70% 90% at 12% 100%, rgba(20,60,90,.55) 0, transparent 60%),
    linear-gradient(158deg, #0b273f 0%, #0d2c47 55%, #0a2135 100%);
}
.hero-svg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: .9; pointer-events: none; }
.hero-inner { padding-block: clamp(84px, 13vw, 168px); max-width: 900px; }
.hero h1 { color: #fff; margin-top: 22px; }
.hero h1 em { font-style: italic; color: var(--d-crimson-hi); }
.hero .lede { color: var(--d-body); margin-top: 26px; max-width: 60ch; }
.hero--sub .hero-inner { padding-block: clamp(70px, 10vw, 120px); max-width: 820px; }

/* ---------- stat row ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 3vw, 34px); }
.stats--3 { grid-template-columns: repeat(3, 1fr); }
.stat { border-top: 2px solid var(--crimson); padding-top: 16px; }
.section--navy .stat { border-top-color: var(--d-crimson); }
.stat .num {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.1rem, 4vw, 3rem); line-height: 1;
  color: var(--ink); letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.section--navy .stat .num { color: #fff; }
.stat .num small { font-size: 0.5em; font-family: var(--sans); font-weight: 600; color: var(--muted); letter-spacing: 0; }
.stat .label { margin-top: 12px; font-size: 0.92rem; color: var(--body); }
.section--navy .stat .label { color: var(--d-muted); }
.stat .src { display: block; margin-top: 6px; font-family: var(--mono); font-size: 0.7rem; color: var(--muted); letter-spacing: .02em; }

/* ---------- generic grids & cards ---------- */
.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.section--tint .card, .section--panel .card { background: var(--surface); }
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: var(--line-2); }
.card h3 { margin-bottom: 10px; color: var(--ink); }
.card p { font-size: 0.99rem; }
.card .card-num { font-family: var(--mono); font-size: 0.76rem; color: var(--crimson); letter-spacing: .1em; }

.card-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--rose); color: var(--crimson);
}
.card-icon svg { width: 24px; height: 24px; }

.tag {
  display: inline-block; font-family: var(--mono);
  font-size: 0.7rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--crimson); background: var(--rose);
  padding: 5px 11px; border-radius: 999px;
}
.tag.navy { color: var(--navy); background: var(--surface-2); }
.tag.green { color: var(--green); background: #e6f2ec; }
.tag.amber { color: var(--amber); background: #f6efe2; }
.tag.ghost { color: var(--d-body); background: rgba(255,255,255,.08); }

/* ---------- feature rows (split) ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
.split--reverse .split-media { order: -1; }
.split .lede + p { margin-top: 16px; }
.prose > p + p { margin-top: 16px; }
.prose p { color: var(--body); }

/* list with crimson ticks */
.ticks { list-style: none; display: grid; gap: 14px; margin-top: 22px; }
.ticks li { position: relative; padding-left: 34px; color: var(--ink-2); }
.ticks li strong { color: var(--ink); font-weight: 700; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--rose) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b11e2e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* neutral limitation list (drawbacks — not endorsements) */
.limits { list-style: none; display: grid; gap: 14px; margin-top: 22px; }
.limits li { position: relative; padding-left: 28px; color: var(--body); }
.limits li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 12px; height: 2px; background: var(--muted); border-radius: 2px; }

/* ---------- mechanism diagram ---------- */
.moa {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--surface); box-shadow: var(--shadow);
}
.moa-step { padding: clamp(22px, 2.4vw, 30px); position: relative; border-right: 1px solid var(--line); }
.moa-step:last-child { border-right: 0; }
.moa-step .step-n {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: .12em;
  color: var(--crimson); margin-bottom: 16px;
}
.moa-glyph { width: 52px; height: 52px; color: var(--navy); margin-bottom: 16px; }
.moa-step h3 { font-size: 1.02rem; margin-bottom: 8px; }
.moa-step p { font-size: 0.9rem; color: var(--body); }
.moa-step::after {
  content: ""; position: absolute; top: 50%; right: -9px; z-index: 2;
  width: 16px; height: 16px; transform: translateY(-50%) rotate(45deg);
  background: var(--surface); border-right: 1px solid var(--line); border-top: 1px solid var(--line);
}
.moa-step:last-child::after { display: none; }

/* ---------- comparison / differentiation ---------- */
.compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 22px); }
.compare .col { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; background: var(--surface); }
.compare .col.is-us { border-color: var(--crimson); box-shadow: 0 0 0 1px var(--crimson), var(--shadow); }
.compare .col h3 { margin-bottom: 4px; }
.compare .col .sub { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.compare .col.is-us .sub { color: var(--crimson); }
.compare ul { list-style: none; display: grid; gap: 12px; }
.compare li { position: relative; padding-left: 28px; font-size: .93rem; color: var(--ink-2); }
.compare li::before { position: absolute; left: 0; top: 1px; font-size: .95rem; }
.compare li.y::before { content: "✓"; color: var(--green); font-weight: 700; }
.compare li.n::before { content: "✕"; color: var(--muted); }

/* ---------- pipeline ---------- */
/* The pipeline table is wider than a phone, so it scrolls sideways, and nothing
   about a clipped right edge says so. Three cues, because one is not enough:
   an explicit "swipe" line above the table, a persistent slim scrollbar, and a
   shadow at whichever edge still has content behind it.

   The shadow lives on .pipe-frame, NOT on the scroller. The classic
   background-attachment:local trick paints the gradient on the scroll
   container, where `table.pipe { background: var(--surface) }` covers it
   completely — it renders nothing. So the fades are overlay pseudo-elements on
   a static wrapper, and main.js sets --fade-l / --fade-r from scrollLeft so an
   edge that has reached the end stops claiming there is more. With no JS both
   default to 1: a cue at each edge is a harmless over-statement, a missing one
   is not. Shadow, not a fade-to-white, so it reads the same over the white body
   rows and the grey header row. */
.pipe-frame {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--surface);
}
.pipe-frame::before,
.pipe-frame::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 26px;
  pointer-events: none;
  z-index: 1;
  transition: opacity .18s ease;
}
.pipe-frame::before {
  left: 0;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  background: linear-gradient(to right, rgba(13,28,46,.17), rgba(13,28,46,0));
  opacity: var(--fade-l, 1);
}
.pipe-frame::after {
  right: 0;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  background: linear-gradient(to left, rgba(13,28,46,.17), rgba(13,28,46,0));
  opacity: var(--fade-r, 1);
}

.pipe-scroll {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  scrollbar-width: thin;
  scrollbar-color: #b9c6d4 transparent;
}
.pipe-scroll::-webkit-scrollbar { height: 9px; }
.pipe-scroll::-webkit-scrollbar-track { background: transparent; }
.pipe-scroll::-webkit-scrollbar-thumb { background: #b9c6d4; border-radius: 999px; }
/* the scroller is focusable so it can be scrolled from the keyboard (WCAG 2.1.1) */
.pipe-scroll:focus-visible { outline: 2px solid var(--crimson); outline-offset: 3px; }

/* Explicit swipe cue. Shown from measured overflow, not a guessed breakpoint —
   the table's own width moves whenever a column does, so any hard-coded px
   breakpoint drifts out of step and leaves a window that scrolls silently.
   main.js adds .needed when it really overflows and .spent once you have
   scrolled — by then you know. (Like the rest of the site's motion, this needs
   JS; without it both edges stay shadowed and the scrollbar still shows.) */
.pipe-hint { display: none; }
.pipe-hint.needed {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 12px;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-2);
  transition: opacity .25s ease;
}
.pipe-hint .arr {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--crimson); color: #fff;
  font-size: .8rem; line-height: 1;
}
.pipe-hint.needed.spent { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .pipe-hint.needed .arr { animation: nudge 1.9s ease-in-out infinite; }
}
@keyframes nudge { 0%,100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
table.pipe { width: 100%; min-width: 760px; border-collapse: collapse; background: var(--surface); }
table.pipe th, table.pipe td { text-align: left; padding: 20px 22px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.pipe thead th {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); font-weight: 500; background: var(--surface-2);
}
table.pipe tbody tr:last-child td { border-bottom: 0; }
.pipe .prog { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.pipe .prog small { display: block; font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; margin-top: 3px; }
.pipe .ind { font-weight: 600; color: var(--ink-2); }
.pipe .ind small { display:block; color: var(--muted); font-weight: 400; font-size: .85rem; margin-top: 2px;}
.bar { position: relative; height: 9px; border-radius: 999px; background: var(--surface-2); min-width: 330px; overflow: hidden; }
.bar > i { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: linear-gradient(90deg, var(--crimson), #d0435a); }
.bar-scale { display: grid; grid-template-columns: repeat(4,1fr); font-family: var(--mono); font-size: .62rem; letter-spacing: .04em; color: var(--muted); margin-top: 7px; text-transform: uppercase; min-width: 330px; }
.bar-scale span { white-space: nowrap; }
.bar-scale span:nth-child(n+2) { text-align: center; }
.bar-scale span:last-child { text-align: right; }

/* ---------- timeline (milestones) ---------- */
.milestones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 8px; }
.ms { position: relative; padding: 26px 22px 8px; border-top: 2px solid var(--line); }
.ms::before { content:""; position:absolute; top:-7px; left:22px; width:12px; height:12px; border-radius:50%; background: var(--surface); border:2px solid var(--crimson); }
.ms.done::before { background: var(--crimson); }
.ms .yr { font-family: var(--mono); font-size: .72rem; letter-spacing:.1em; color: var(--crimson); }
.ms h3 { font-size: 1rem; margin: 8px 0 6px; }
.ms p { font-size: .88rem; }

/* ---------- publications ---------- */
.pub-group { border-top: 1px solid var(--line); padding-top: 30px; margin-top: 30px; }
.pub-group:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.pub-group > .g-head { display: flex; gap: 16px; align-items: baseline; margin-bottom: 6px; }
.pub-group .g-n { font-family: var(--mono); font-size: .8rem; color: var(--crimson); }
.pub-group h3 { font-size: 1.22rem; }
.pub-group .g-note { color: var(--body); margin: 8px 0 24px; max-width: 70ch; font-size: .98rem; }
.pub { display: grid; grid-template-columns: 92px 1fr; gap: 20px; padding: 16px 0; border-top: 1px dashed var(--line); }
.pub:first-of-type { border-top: 0; }
.pub .yr { font-family: var(--mono); font-size: .82rem; color: var(--muted); padding-top: 3px; }
.pub .t { font-family: var(--serif); font-size: 1.08rem; color: var(--ink); line-height: 1.3; }
.pub .meta { margin-top: 5px; font-size: .9rem; color: var(--body); }
.pub .meta .j { font-style: italic; }
.pub .meta a { font-family: var(--mono); font-size: .78rem; color: var(--crimson-ink); }

/* ---------- team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 36px); }
.member .portrait {
  border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5;
  background: var(--navy-3); border: 1px solid var(--line); margin-bottom: 20px;
}
.member .portrait img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { font-size: 1.16rem; margin-bottom: 2px; }
.member .role { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--crimson); margin-bottom: 14px; }
.member p { font-size: .94rem; }
.member .cred { margin-top: 12px; font-size: .84rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }

/* ---------- cta band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--navy); color: var(--d-body); border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px); }
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band .lede { color: var(--d-body); margin-top: 16px; max-width: 52ch; }
.cta-band-svg { position: absolute; right: -40px; top: -40px; width: 360px; opacity: .5; pointer-events: none; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 3vw, 40px); }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; background: var(--surface); box-shadow: var(--shadow); }
.contact-card .eyebrow { margin-bottom: 16px; }
.contact-card .email { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.7rem); color: var(--crimson-ink); word-break: break-word; }
.contact-card .email:hover { color: var(--crimson-2); }
.contact-card p { margin-top: 12px; font-size: .96rem; }
.locations { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 6px; }
.loc .city { font-weight: 700; color: var(--ink); }
.loc .k { font-family: var(--mono); font-size: .7rem; letter-spacing:.1em; text-transform: uppercase; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: var(--d-muted); padding-block: clamp(48px, 6vw, 72px) 40px; font-size: .92rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-brand { max-width: 320px; }
.footer-brand .brand .word { color: #fff; }
.footer-brand .brand .word b { color: #fff; }
.footer-brand p { margin-top: 16px; color: var(--d-muted); font-size: .9rem; }
.footer-nav { display: flex; gap: clamp(36px, 6vw, 72px); }
.footer-col h4 { color: #fff; font-family: var(--sans); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: var(--d-body); font-size: .92rem; }
.footer-col a:hover { color: #fff; }
.footer-legal { margin-top: clamp(40px, 5vw, 60px); padding-top: 26px; border-top: 1px solid var(--d-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; color: #869ab0; font-size: .8rem; line-height: 1.7; }
.footer-legal a { color: #9fb1c4; }

/* ---------- a11y utility ---------- */
.sr-only {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 8px;
  font-weight: 600; font-size: .9rem; transition: top .18s;
}
.skip-link:focus { top: 12px; text-decoration: none; }

/* ---------- hero load cascade ---------- */
.hero-cascade > * { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .hero-cascade > * { opacity: 0; transform: translateY(16px); animation: rise .72s cubic-bezier(.22,1,.36,1) forwards; }
  .hero-cascade > *:nth-child(1) { animation-delay: .06s; }
  .hero-cascade > *:nth-child(2) { animation-delay: .14s; }
  .hero-cascade > *:nth-child(3) { animation-delay: .24s; }
  .hero-cascade > *:nth-child(4) { animation-delay: .34s; }
}
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- preclinical schematic figures ----------
   Three homologated panels: identical frame, plot area, type scale and
   palette, so the row reads as one set. Deliberately carry no axis values,
   no n and no p-values -- they show the SHAPE of each claim, not a result.
   Real figures live in the data room (see CLAUDE.md content rules). */
.pcf { margin: 0 0 16px; }
.pcf-svg {
  display: block; width: 100%; height: auto;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
}

/* ---------- stepped mechanism player ----------
   The scene animates its viewBox between stages instead of laying the whole
   cascade out at one width. Nothing is clipped and no horizontal scrollbar is
   needed: each stage zooms in, so labels stay legible down to phone width. */
.moa-fig { margin: 0; }
.moa-stage {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); box-shadow: var(--shadow);
  padding: clamp(12px, 2.2vw, 26px);
}
.moa-svg2 { display: block; width: 100%; height: auto; }
/* only dimmed once JS takes over — without it the whole scene shows */
.moa-svg2.stepped [data-s] { opacity: .13; }
.moa-svg2.stepped [data-s].on { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .moa-svg2.stepped [data-s] { transition: opacity .45s ease; }
}

.moa-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.moa-tab {
  font-family: var(--mono); font-size: .71rem; letter-spacing: .08em;
  text-transform: uppercase; padding: 9px 14px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--surface); color: var(--muted); cursor: pointer;
  transition: color .18s, border-color .18s, background .18s;
}
.moa-tab:hover { color: var(--crimson-ink); border-color: var(--crimson); }
.moa-tab[aria-selected="true"] { background: var(--crimson); border-color: var(--crimson); color: #fff; }
.moa-tab--all { margin-left: auto; }

/* reserve height so changing captions do not shift the page */
.moa-cap { margin-top: 18px; max-width: 74ch; color: var(--body); min-height: 4.6em; }
@media (max-width: 620px) {
  .moa-tab--all { margin-left: 0; }
  .moa-cap { min-height: 7em; }
}

/* ---------- animated mechanism diagram ---------- */
@media (prefers-reduced-motion: no-preference) {
  .moa-svg .anim { opacity: 0; transition: opacity .5s ease; transition-delay: var(--sd, 0s); }
  .moa-svg.play .anim { opacity: 1; }
}

/* stacked mechanism steps (inside sticky right column) */
.moa--stack { grid-template-columns: 1fr; }
.moa--stack .moa-step { border-right: 0; border-bottom: 1px solid var(--line); }
.moa--stack .moa-step:last-child { border-bottom: 0; }
.moa--stack .moa-step::after { display: none; }
.moa--stack .moa-step { display: grid; grid-template-columns: auto 1fr; gap: 4px 20px; align-items: baseline; }
.moa--stack .moa-step .step-n { grid-row: 1 / span 3; margin-bottom: 0; padding-top: 2px; }
.moa--stack .moa-step h3 { grid-column: 2; }
.moa--stack .moa-step p { grid-column: 2; }

/* ---------- sticky mechanism layout (Science) ---------- */
.mech { display: grid; grid-template-columns: minmax(260px, 360px) 1fr; gap: clamp(30px, 5vw, 68px); align-items: start; }
.mech-aside { position: sticky; top: 96px; }
.mech-main { min-width: 0; display: grid; gap: 28px; }
@media (max-width: 900px) {
  .mech { grid-template-columns: 1fr; }
  .mech-aside { position: static; top: auto; }
}

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  /* 3-stat groups stack rather than leave an orphan on a 2-col row */
  .stats--3 { grid-template-columns: 1fr; }
  .moa { grid-template-columns: repeat(2, 1fr); }
  .moa-step:nth-child(2)::after { display: none; }
  .moa-step:nth-child(1), .moa-step:nth-child(2) { border-bottom: 1px solid var(--line); }
  .milestones { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .grid-3, .grid-2, .split, .team-grid, .compare, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .nav-links {
    position: absolute; top: 82px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 12px; border-radius: 8px; }
  .nav-cta { margin: 8px 0 0; text-align: center; }
  .nav-toggle { display: block; }
  .team-grid { max-width: 420px; }
  .footer-top { flex-direction: column; gap: 34px; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .stats--3 { grid-template-columns: 1fr; }
  .moa { grid-template-columns: 1fr; }
  .moa-step { border-right: 0; border-bottom: 1px solid var(--line); }
  .moa-step::after { display: none !important; }
  .milestones { grid-template-columns: 1fr; }
}
