@import url("../fonts/fonts.css?v=3");

/* ============================================================
   GENE WEAVER — design system
   ============================================================ */
:root{
  /* the page black; soft patches of lift sit behind it ("Halo around", at the end of this file) */
  --ink:#05070A;
  --ink-2:#080C12;
  --panel:#0A0F16;      /* a card a step above the page (the Lattice panel, media wells) */
  --surface:#0F1620;
  --surface-2:#151F2B;
  --paper:#F2F4F6;
  --paper-ink:#080C12;

  --line:rgba(255,255,255,.09);
  --line-2:rgba(255,255,255,.16);

  --teal:#0696A1;
  --teal-br:#4FE3EB;
  --violet:#7C5CFF;
  --violet-br:#A98BFF;
  --coral:#FF6A45;

  /* nav — one opaque near-black green, identical in every state, so the bar
     never takes a tint from whatever is scrolling behind it */
  --nav:#121815;
  --nav-edge:rgba(168,206,190,.16);
  --nav-enter:.6s cubic-bezier(.4,0,.2,1);

  --text:#E9EFF4;
  --text-2:#A3B1C0;
  --text-3:#65758A;

  --f-serif:"Newsreader","Iowan Old Style",Georgia,serif;
  --f-sans:"Geist",system-ui,-apple-system,Segoe UI,sans-serif;
  --f-mono:"IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,monospace;

  --pad:clamp(1.25rem,5vw,4rem);
  --maxw:1320px;
  --r:14px;
  --ease:cubic-bezier(.22,1,.36,1);
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--ink);color:var(--text);
  font-family:var(--f-sans);font-size:18px;line-height:1.65;
  font-weight:400;-webkit-font-smoothing:antialiased;overflow-x:hidden;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
::selection{background:var(--teal);color:#fff}

.container{width:100%;max-width:var(--maxw);margin-inline:auto;padding-inline:var(--pad)}
.section{position:relative;padding-block:clamp(3.25rem,6.5vw,5.75rem);z-index:2}
.section--tight{padding-block:clamp(2.25rem,4.5vw,3.75rem)}

/* ---------- section dividers ---------- */
.sep{width:100%;height:1px;border:0;margin:0;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.10) 20%,
    rgba(255,255,255,.10) 80%,transparent)}

/* first block under a page head, opening enough of a gap to read as a break.
   Written as the gap less 15px rather than a shallower clamp: a proportional
   clamp cannot hold a constant offset, and shortening the slope instead would
   take the 15px off at the wide end and almost nothing in the middle. */
.section--lead{padding-top:clamp(33px,calc(6vw - 15px),81px)}
/* The boundary bleed reaches out of the paper block into whatever sits either
   side of it, so these two keep their edge clear. They need not clear the whole
   of --h-max: the ramp's top third sits under .05 alpha, which over the ink is
   nothing, so the reach may overhang the last line's margin by a little without
   anything being read through a lightening ground. Both are written as their
   gap less a fixed amount, for the reason given on --lead above. */
.section--clear-end{padding-bottom:clamp(6rem,12.5vw,11.5rem)}
.section--clear-start{padding-top:clamp(70px,calc(16vw - 60px),172px)}
.section--paper{background:var(--paper);color:var(--paper-ink);padding-block:clamp(3.5rem,7vw,6rem)}
.section--paper .muted{color:#55636F}
.rule{height:1px;background:var(--line);border:0;margin:0}

/* ---------- type ---------- */
.eyebrow{
  font-family:var(--f-mono);font-size:.7rem;font-weight:500;letter-spacing:.22em;
  text-transform:uppercase;color:var(--teal-br);display:flex;align-items:center;gap:.9rem;margin:0 0 1.5rem;
}
.eyebrow::before{content:"";width:clamp(24px,4vw,56px);height:1px;background:currentColor;opacity:.55;flex:none}
.section--paper .eyebrow{color:var(--teal)}

h1,h2,h3,.display{font-family:var(--f-serif);font-weight:300;letter-spacing:-.025em;line-height:1.03;margin:0}
h1,.h1{font-size:clamp(2.9rem,7.4vw,6.4rem)}
h2,.h2{font-size:clamp(2.1rem,4.6vw,4rem);line-height:1.06}
h3,.h3{font-size:clamp(1.3rem,2vw,1.75rem);line-height:1.2}
.h4{font-family:var(--f-sans);font-size:1.02rem;font-weight:600;letter-spacing:-.01em;line-height:1.35;margin:0}
em{font-style:italic;color:var(--teal-br)}
.section--paper em{color:var(--teal)}

.lede{font-size:clamp(1.05rem,1.55vw,1.3rem);line-height:1.6;color:var(--text-2);max-width:62ch;margin:1.6rem 0 0;font-weight:400}
.section--paper .lede{color:#43505C}
p{margin:0 0 1.15rem;color:var(--text-2);font-weight:500}
.section--paper p{color:#43505C}
.muted{color:var(--text-3)}
.mono{font-family:var(--f-mono);font-size:.78rem;letter-spacing:.12em;text-transform:uppercase}

/* ---------- buttons ---------- */
.btn{
  --bg:var(--teal);--fg:#fff;
  display:inline-flex;align-items:center;gap:.55rem;padding:.72rem 1.2rem;border-radius:6px;
  font-family:var(--f-sans);font-size:.875rem;font-weight:500;letter-spacing:.005em;line-height:1.2;
  background:var(--bg);color:var(--fg);border:1px solid transparent;cursor:pointer;
  transition:transform .2s ease,box-shadow .2s ease,background .2s,border-color .2s,color .2s,filter .2s;
}
.btn:hover{transform:translateY(-2px);filter:brightness(1.08);box-shadow:0 6px 14px -8px rgba(0,0,0,.45)}
.btn:active{transform:translateY(0);box-shadow:none;transition-duration:.08s}
.btn--ghost:hover{box-shadow:none}
.btn svg{transition:transform .2s ease}
.btn:hover svg{transform:translateX(2px)}
.btn--ghost{--bg:transparent;--fg:var(--text);border-color:var(--line-2)}
.btn--ghost:hover{border-color:var(--teal-br);color:var(--teal-br)}
.btn--dark{--bg:var(--ink);--fg:#fff}

/* ---------- nav ---------- */
/* One opaque colour, held constant in every state — scrolling changes the
   bar's height and edge, never its hue. Nothing paints through it, so there is
   no backdrop tint to shift as the page moves underneath.
   .nav-enter (set on <html> before first paint) replays the edge of the
   scrolled bar the visitor clicked away from and fades it out. Keyframes rather than a
   class-toggled transition: an animation runs on its own from the moment the
   page is first styled, so nothing hinges on JS firing at the right frame.
   Each keyframe declares only `from` — `to` is the element's own cascade
   value, and with no fill-mode the element is back under the cascade the
   instant it ends. */
.nav{
  position:fixed;inset:0 0 auto;z-index:60;
  background:var(--nav);border-bottom:1px solid transparent;
  transition:border-color .45s var(--ease),box-shadow .45s var(--ease);
}
.nav.is-stuck,.nav.is-open{
  border-bottom-color:var(--nav-edge);box-shadow:0 16px 34px -24px rgba(0,0,0,.85);
}
/* One fixed height at every scroll position — the bar no longer grows back at the top. */
.nav__inner{--navh:77px;display:flex;align-items:center;gap:2rem;height:var(--navh)}
.nav__logo img{height:34px;width:auto}
.nav-enter .nav{animation:navEnterEdge var(--nav-enter)}
@keyframes navEnterEdge{from{border-bottom-color:var(--nav-edge);box-shadow:0 16px 34px -24px rgba(0,0,0,.85)}}
.nav__links{display:flex;gap:.4rem;margin-left:auto;margin-right:-.85rem;align-items:center}
.nav__links a{font-size:.9rem;color:var(--text-2);position:relative;padding:.5rem .85rem;border-radius:9px;
  transition:color .3s,background-color .3s}
.nav__links a::after{content:"";position:absolute;left:.85rem;right:.85rem;bottom:.3rem;height:1.5px;border-radius:2px;
  background:var(--teal-br);transform:scaleX(0);transform-origin:right;transition:transform .45s var(--ease)}
.nav__links a:hover{color:var(--text);background:rgba(255,255,255,.06)}
.nav__links a[aria-current]{color:var(--text)}
.nav__links a:hover::after,.nav__links a[aria-current]::after{transform:scaleX(1);transform-origin:left}
/* Technology dropdown — the trigger wears the same skin as a link; the panel
   opens on hover where there is one, and on click/keyboard via .is-open. */
.nav__group{position:relative}
.nav__trigger{font:inherit;font-size:.9rem;color:var(--text-2);background:none;border:0;cursor:pointer;
  display:flex;align-items:center;gap:.4rem;position:relative;padding:.5rem .85rem;border-radius:9px;
  transition:color .3s,background-color .3s}
.nav__trigger svg{transition:transform .35s var(--ease)}
.nav__trigger::after{content:"";position:absolute;left:.85rem;right:.85rem;bottom:.3rem;height:1.5px;border-radius:2px;
  background:var(--teal-br);transform:scaleX(0);transform-origin:right;transition:transform .45s var(--ease)}
.nav__group.is-open .nav__trigger,.nav__trigger:hover{color:var(--text);background:rgba(255,255,255,.06)}
.nav__group.is-current .nav__trigger{color:var(--text)}
.nav__group.is-current .nav__trigger::after{transform:scaleX(1);transform-origin:left}
.nav__group.is-open .nav__trigger svg{transform:rotate(180deg)}
.nav__menu{position:absolute;top:calc(100% + .55rem);left:0;min-width:12rem;padding:.4rem;
  display:flex;flex-direction:column;gap:.1rem;background:var(--nav);border:1px solid var(--nav-edge);
  border-radius:12px;box-shadow:0 24px 48px -24px rgba(0,0,0,.9);
  opacity:0;visibility:hidden;transform:translateY(-6px);
  transition:opacity .25s var(--ease),transform .35s var(--ease),visibility 0s .35s}
/* bridge the gap so the pointer can travel from trigger to panel */
.nav__menu::before{content:"";position:absolute;left:0;right:0;bottom:100%;height:.6rem}
.nav__group.is-open .nav__menu{opacity:1;visibility:visible;transform:none;transition-delay:0s}
@media(hover:hover){
  .nav__group:hover .nav__menu{opacity:1;visibility:visible;transform:none;transition-delay:0s}
  .nav__group:hover .nav__trigger{color:var(--text);background:rgba(255,255,255,.06)}
  .nav__group:hover .nav__trigger svg{transform:rotate(180deg)}
}
.nav__links .nav__menu a::after{display:none}
.nav__links .nav__menu a[aria-current]{color:var(--teal-br)}
/* Phone menu button (shown ≤720px): a 44px ring in the bar's own edge colour, like the footer's
   social links, holding two 1.5px bars drawn in CSS (the inline SVG is hidden). Open, the bars
   cross into an × and the ring takes the teal. */
.nav__burger{display:none;position:relative;flex:none;margin-left:auto;width:44px;height:44px;padding:0;
  background:transparent;border:1px solid var(--nav-edge);border-radius:50%;color:var(--text);cursor:pointer;
  -webkit-tap-highlight-color:transparent;transition:border-color .35s var(--ease),color .35s var(--ease),background-color .35s var(--ease)}
.nav__burger svg{display:none}
.nav__burger::before,.nav__burger::after{content:"";position:absolute;left:calc(50% - 9px);top:calc(50% - .75px);
  width:18px;height:1.5px;border-radius:1px;background:currentColor;transition:transform .45s var(--ease)}
.nav__burger::before{transform:translateY(-3.5px)}
.nav__burger::after{transform:translateY(3.5px)}
.nav__burger:active{background:rgba(255,255,255,.05)}
.nav__burger:focus-visible{outline:2px solid var(--teal-br);outline-offset:3px}
.nav.is-open .nav__burger{border-color:rgba(79,227,235,.5);color:var(--teal-br)}
.nav.is-open .nav__burger::before{transform:rotate(45deg)}
.nav.is-open .nav__burger::after{transform:rotate(-45deg)}
/* Desktop nav. The rules above are the base the mobile drawer (≤720px) builds on; on desktop the
   links are set in Geist as small tracked capitals, with no pill behind them — just a 1px rule
   under the word, faint on hover and teal for the page you're on. The rule stops short of the
   trailing letter-space (and, on Technology, the chevron). The Technology dropdown hangs straight
   off the bar's bottom edge in the bar's colour, boxed on all four sides so its top border lies
   along the bar's own bottom line, and unrolls downward. Its rows start .85rem in (the trigger's
   padding) so their text lines up under "Technology". */
@media(min-width:721px){
  .nav__links{gap:.25rem}
  .nav__links a,.nav__trigger{background:none!important;border-radius:0}
  .nav__links>a,.nav__trigger,.nav__menu a{--ls:.1em;font-family:var(--f-sans);font-size:.74rem;font-weight:500;
    letter-spacing:var(--ls);text-transform:uppercase}
  .nav__links>a,.nav__trigger{display:flex;align-items:center;gap:.55rem}
  .nav__links>a::after,.nav__trigger::after{left:.85rem;right:calc(.85rem + var(--ls));bottom:.2rem;
    height:1px;border-radius:0;transform:none;background:var(--text);opacity:0;transition:opacity .25s}
  .nav__trigger::after{right:calc(.85rem + 10px + .55rem + var(--ls))}
  .nav__links>a:hover::after,.nav__trigger:hover::after,
  .nav__group:hover .nav__trigger::after,.nav__group.is-open .nav__trigger::after{opacity:.4}
  .nav__links>a[aria-current]::after,.nav__group.is-current .nav__trigger::after{background:var(--teal-br);opacity:1}

  .nav__menu{top:calc(50% + var(--navh) / 2);min-width:13rem;gap:0;padding:.35rem 0 .6rem;
    border-radius:0 0 3px 3px;box-shadow:0 30px 40px -30px rgba(0,0,0,.95);
    opacity:1;transform:none;clip-path:inset(0 0 100% 0);
    transition:clip-path .4s var(--ease),visibility 0s .4s}
  .nav__group.is-open .nav__menu{clip-path:inset(0 -60px -60px -60px);transition-delay:0s}
  @media(hover:hover){
    .nav__group:hover .nav__menu{clip-path:inset(0 -60px -60px -60px);transition-delay:0s}
  }
  /* the hover bridge from trigger down to the panel hangs off the trigger, so it is exactly as wide
     as "Technology" and never sits under the next link */
  .nav__menu::before{display:none}
  .nav__trigger::before{content:"";position:absolute;left:0;right:0;top:100%;height:calc(var(--navh) / 2)}
  .nav__links .nav__menu a{padding:.75rem .85rem;color:var(--text-2);
    text-decoration:underline 1px;text-underline-offset:.5em;text-decoration-color:transparent;
    transition:color .25s,text-decoration-color .25s}
  .nav__links .nav__menu a:hover{color:var(--text);text-decoration-color:rgba(233,239,244,.4)}
  .nav__links .nav__menu a[aria-current]{color:var(--text);text-decoration-color:var(--teal-br)}
}

/* ---------- hero ---------- */
/* Hero height drives both the centred text block and the canvas helix (cy = 0.64h),
   so changing it moves headline and animation together. */
.hero{position:relative;min-height:80svh;display:flex;align-items:center;padding-top:var(--navh,86px);overflow:hidden;z-index:2}
.hero__canvas{position:absolute;inset:0;width:100%;height:100%;z-index:0}
.hero::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:radial-gradient(115% 80% at 78% 42%,transparent 30%,color-mix(in srgb,var(--ink) 72%,transparent) 72%,var(--ink) 100%)}
.hero__inner{position:relative;z-index:2;width:100%;padding-block:clamp(3rem,9vh,7rem)}
.hero h1{max-width:15ch}
.hero h1 .ln{display:block;overflow:hidden}
.hero h1 .ln>span{display:block;transform:translateY(105%);transition:transform 1.05s var(--ease)}
.hero.is-in h1 .ln>span{transform:none}
.hero__actions{display:flex;gap:.9rem;flex-wrap:wrap;margin-top:2.6rem}
/* Assembly → labels → 360° turn, stopping on the labelled pose. Absolutely placed so the
   hero keeps the height of its text; the frame is square and the labels run nearly edge to edge. */
.hero__inner{z-index:3}
.hero__copy{max-width:min(40rem,48%)}
/* --base is the size of the molecule's square; --wide stretches the frame for the no-zoom cut,
   whose canvas is 1360×1280 at the same scale, keeping the molecule the same size and centre. */
.hero__media{--wide:1.0625;--base:min(47.3vw,calc((100svh - var(--navh,86px)) * .87),720px);
  position:absolute;z-index:2;margin:0;aspect-ratio:var(--wide);pointer-events:none;
  width:calc(var(--base) * var(--wide));
  right:calc(max(-2vw,calc((100vw - 1480px) / 2)) - var(--base) * (var(--wide) - 1) / 2);
  top:calc(50% + var(--navh,86px) / 2);transform:translateY(-50%)}
.hero__media img,.hero__media video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
/* the still is only for browsers that cannot show the transparent video, and reduced motion */
.hero__media img{opacity:0}
.hero__media[data-still] img{opacity:1;transition:opacity 1s var(--ease) .3s}
/* Intron Complex: the system's name, set above the complex once it has assembled
   (site.js sets data-done when the complex has assembled; the still fallback shows it straight away).
   The width keeps the lettering the size the earlier name had (38% at viewBox width 7958; this one is 12357). */
.hero__media .hero__name{inset:auto;left:50%;top:1.5%;width:59%;height:auto;
  opacity:0;transform:translate(-50%,.6rem);filter:drop-shadow(0 0 18px rgba(79,227,235,.18));
  transition:opacity 1.4s var(--ease),transform 1.4s var(--ease)}
.hero__media[data-done] .hero__name,.hero__media[data-still] .hero__name{opacity:1;transform:translate(-50%,0)}
/* callout text set by the page over a lines-only cut (data-labels): the video's own 1360×1280 canvas */
.hero__media .hero__labels{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;
  font-optical-sizing:none}
@media(max-width:1000px){
  .hero{flex-direction:column;align-items:stretch}
  .hero__copy{max-width:none}
  .hero__media{position:relative;right:auto;top:auto;transform:none;
    --base:min(490px,calc(100% - 2 * var(--pad)));width:min(calc(var(--base) * var(--wide)),100%);margin:-1.5rem auto 1rem}
}

/* The home hero now meets the light band directly: give the band's bleed clear dark
   ground to rise over, and pull the (vertically centred) molecule back up by half of it. */
.hero--to-band{--settle:clamp(3.5rem,8vw,7rem);padding-bottom:var(--settle)}
.hero--to-band .hero__media{top:calc(50% + var(--navh,86px) / 2 - var(--settle) / 2)}
@media(max-width:1000px){.hero--to-band{--settle:clamp(2rem,6vw,3.5rem)}
  .hero--to-band .hero__media{top:auto}}

/* ---------- statement (kept for the archived all-dark home) ---------- */
.statement__row{--gap:clamp(2.5rem,7vw,7rem);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);
  gap:var(--gap);align-items:start;padding-block:clamp(1rem,3vw,2.75rem)}
.statement{font-family:var(--f-serif);font-weight:300;font-size:clamp(1.8rem,3.7vw,3.1rem);
  line-height:1.16;letter-spacing:-.025em;max-width:18ch;margin:0}
.statement em{font-style:italic;color:inherit}
.statement .dim{color:#51B6BD}
/* a touch brighter than the site's text tokens (--text #E9EFF4, --text-2 #A3B1C0) */
.statement{color:#F5F8FA}
/* the aside sits on a quiet dark card, a step up from the page, with a fine keyline inset from its
   edge; the card's padding is taken back with negative margins, so the text keeps its old position
   and measure and the row keeps its old height */
.statement__aside{--cp:clamp(1.5rem,2.6vw,2.4rem);--cx:clamp(1.2rem,2.4vw,2rem);
  position:relative;padding:var(--cp);border-radius:var(--r);
  margin:calc(.45rem - var(--cp) - 1px) calc(-1 * var(--cp) - 1px) calc(-1 * var(--cp) - 1px) calc(var(--cx) - var(--cp) - 1px);
  /* the outer frame keeps its original dark colours; only the panel inside the inner rule is see-through */
  border:1px solid #1D242B;background:rgba(27,32,33,.5) padding-box;box-shadow:inset 0 0 0 6px #0F161D;
  outline:1px solid #2A3139;outline-offset:-8px}
.statement__aside p{color:#BCC8D3}
/* the divider between the two columns, spanning the text (not the card) */
.statement__aside::after{content:"";position:absolute;top:var(--cp);bottom:var(--cp);width:1px;
  left:calc(var(--cp) - var(--cx) - var(--gap) / 2);background:linear-gradient(var(--teal-br),transparent)}
.statement__aside p:last-child{margin-bottom:0}
/* The statement's star field (site.js). The section sits a layer below the hero so the canvas can
   reach up under it: the hero's vignette then dims both sets of stars alike and the two read as one
   field. Faded in at the top and out again before the paper wash rises from the foot. */
.section--stars{z-index:1}
.starfield{--reach:clamp(140px,22vh,260px);position:absolute;left:0;top:calc(-1 * var(--reach));z-index:-1;
  width:100%;height:calc(100% + var(--reach));pointer-events:none;
  -webkit-mask-image:linear-gradient(transparent,#000 var(--reach),#000 calc(100% - clamp(4rem,9vw,8rem)),transparent);
          mask-image:linear-gradient(transparent,#000 var(--reach),#000 calc(100% - clamp(4rem,9vw,8rem)),transparent)}

/* ---------- generic grid ---------- */
.split{display:grid;grid-template-columns:repeat(12,1fr);gap:clamp(2rem,4vw,4.5rem);align-items:start}
.split>.col-5{grid-column:span 5}
.split>.col-6{grid-column:span 6}
.split>.col-7{grid-column:span 7}
.sticky{position:sticky;top:calc(var(--navh,86px) + 2.5rem)}

/* ---------- mechanism widget ---------- */
.mech{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:clamp(2rem,4vw,4.5rem);align-items:start}
.mech__col{display:flex;flex-direction:column;min-width:0;gap:1.6rem}
.mech__heading h2{font-size:clamp(1.9rem,3.3vw,2.9rem)}
.mech__heading .eyebrow{margin-bottom:1.1rem}
.mech__standfirst{font-family:var(--f-serif);font-weight:300;font-size:clamp(1.2rem,1.7vw,1.45rem);
  line-height:1.35;letter-spacing:-.01em;max-width:32ch;margin:.75rem 0 0}
.mech__lede{margin:1.2rem 0 0;max-width:48ch;font-size:1.05rem;line-height:1.6}
.mech__stage{position:relative;background:radial-gradient(ellipse at 52% 44%,#122B30 0%,#0D191F 46%,#0B1219 80%);
  border:1px solid var(--line);border-radius:var(--r);overflow:hidden;color:var(--text)}
.mech__stage svg{width:100%;height:auto;display:block}
.mech__toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.35rem 0;
  font:400 .62rem/1.5 var(--f-mono);letter-spacing:.12em;text-transform:uppercase;color:#A4BABD}
.mech__playback{display:flex;align-items:center;gap:.7rem;flex:none;color:#7F9C9F}
.mech__toggle{display:grid;place-items:center;width:28px;height:28px;border:1px solid #34494E;border-radius:50%;
  background:transparent;color:#C9DEDF;cursor:pointer}
.mech__toggle:hover{background:#233A40;color:#fff}
.mech__toggle svg{width:10px;height:10px}
.mech__toggle .mech__play{display:none}
.mech__toggle[aria-pressed="true"] .mech__pause{display:none}
.mech__toggle[aria-pressed="true"] .mech__play{display:block}
.mech__legend{display:flex;justify-content:center;flex-wrap:wrap;gap:.55rem 1.25rem;padding:0 1rem 1.1rem;
  color:#A4BABD;font-size:.7rem;line-height:1.4}
.mech__legend span{display:inline-flex;align-items:center;gap:.45rem}
.mech__legend i{width:13px;height:3px;border-radius:2px;background:#88ADB3}
.mech__legend .mech__key--protein{height:9px;background:#2C6B69;border:1px solid #65B7AE;border-radius:3px}
.mech__legend .mech__key--rna{background:#BBA1F2}
.mech__legend .mech__key--new{background:#4FE3EB}
.mech__caption{padding:.9rem 1.35rem;border-top:1px solid rgba(164,186,189,.15);color:#C9DEDF;
  font-size:.8rem;line-height:1.5;min-height:3.3rem}
.mech__steps{border-top:1px solid var(--line)}
.mech__step{position:relative;border:0;border-bottom:1px solid var(--line);padding:1rem 0;cursor:pointer;
  display:grid;grid-template-columns:24px 1fr;column-gap:.8rem;align-items:start;
  opacity:.58;transition:opacity .45s var(--ease);background:none;text-align:left;color:inherit;font:inherit;width:100%}
.mech__step:hover{opacity:.85}
.mech__step.is-active{opacity:1}
.mech__step:focus-visible,.mech__toggle:focus-visible{outline:2px solid var(--teal);outline-offset:5px}
.mech__num{font-family:var(--f-mono);font-size:.68rem;letter-spacing:.1em;color:var(--teal-br);padding-top:.24rem;transition:color .4s}
.mech__description{display:block;margin:0;font-size:.94rem;line-height:1.65;color:var(--text-2);max-height:0;overflow:hidden;opacity:0;
  transition:max-height .6s var(--ease),opacity .45s var(--ease),margin .6s var(--ease)}
.mech__step.is-active .mech__description{max-height:var(--description-height,18rem);opacity:1;margin-top:.55rem}
.mech__bar{position:absolute;bottom:-1px;left:0;right:0;height:1px;transform:scaleX(0);transform-origin:left;opacity:0}
.mech__step.is-active .mech__bar{opacity:1;background:var(--teal-br);animation:mechbar var(--dur,7s) linear forwards}
.mech.is-paused .mech__bar{animation-play-state:paused}
@keyframes mechbar{to{transform:scaleX(1)}}
/* the step bar, just below the diagram panel (in .mech__view with it): four plain segments, the
   current step's lit; each is a button that jumps to its step (the step's name is its aria-label).
   The padding gives a finger-sized target around the thin bar. */
.mech__progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem;margin:.35rem 0 0}
.mech__seg{all:unset;box-sizing:border-box;cursor:pointer;display:block;padding:.6rem 0;min-width:0;
  -webkit-tap-highlight-color:transparent}
.mech__seg-track{display:block;height:3px;border-radius:2px;background:#22363B;transition:background-color .35s var(--ease)}
.mech__seg.is-active .mech__seg-track{background:var(--teal-br)}
.mech__seg:focus-visible{outline:2px solid var(--teal);outline-offset:2px;border-radius:3px}
@media(hover:hover){.mech__seg:not(.is-active):hover .mech__seg-track{background:#3A555B}}
@media(max-width:720px){.mech__progress{gap:.4rem}}

/* ---------- compare widget ---------- */
.compare{border:1px solid var(--line);border-radius:var(--r);overflow:hidden;background:var(--surface)}
.compare__tabs{display:flex;flex-wrap:wrap;border-bottom:1px solid var(--line);background:var(--panel)}
.compare__tab{flex:1 1 200px;padding:1.15rem 1.3rem;background:none;border:0;border-right:1px solid var(--line);
  color:var(--text-3);font:inherit;font-size:.85rem;text-align:left;cursor:pointer;position:relative;transition:color .35s,background .35s}
.compare__tab:last-child{border-right:0}
.compare__tab:hover{color:var(--text-2);background:rgba(255,255,255,.02)}
.compare__tab.is-active{color:var(--text);background:var(--surface)}
.compare__tab.is-active::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--teal-br)}
.compare__body{display:grid;grid-template-columns:1fr 1fr;gap:0}
.compare__side{padding:clamp(1.5rem,3vw,2.6rem)}
.compare__side+.compare__side{border-left:1px solid var(--line);background:linear-gradient(180deg,rgba(6,150,161,.05),transparent)}
.compare__tag{font-family:var(--f-mono);font-size:.62rem;letter-spacing:.18em;text-transform:uppercase;margin-bottom:1rem;
  display:inline-flex;align-items:center;gap:.5rem}
.compare__tag--bad{color:var(--coral)}
.compare__tag--good{color:var(--teal-br)}
.compare__tag i{width:6px;height:6px;border-radius:50%;background:currentColor;box-shadow:0 0 12px currentColor}
.compare__viz{width:100%;height:120px;margin-bottom:1.2rem;display:block;overflow:visible}
.compare__side p{font-size:.95rem;margin:0}

/* ---------- cards ---------- */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem}
.card{position:relative;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;background:var(--surface);
  display:flex;flex-direction:column;transition:border-color .45s var(--ease),transform .55s var(--ease)}
.card:hover{border-color:var(--line-2);transform:translateY(-5px)}
.card__media{position:relative;aspect-ratio:16/11;overflow:hidden;background:var(--panel)}
/* the picture holds still on hover (its zoom removed 2026-11-26); the card's own lift stays */
.card__media img{width:100%;height:100%;object-fit:cover;filter:saturate(.85) contrast(1.05)}
.card__media::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,color-mix(in srgb,var(--ink) 85%,transparent))}
.card__body{padding:1.6rem 1.5rem 1.8rem;flex:1;display:flex;flex-direction:column}
.card__kicker{font-family:var(--f-mono);font-size:.62rem;letter-spacing:.18em;text-transform:uppercase;color:var(--teal-br);margin-bottom:.9rem}
.card__body p{font-size:.93rem;margin:.7rem 0 0}
.card__more{margin-top:auto;padding-top:1.4rem;font-size:.84rem;color:var(--teal-br);display:inline-flex;align-items:center;gap:.5rem}

/* ---------- team ---------- */
.team{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1px;background:var(--line);border:1px solid var(--line)}
.member{background:var(--ink);padding:0;position:relative;overflow:hidden;transition:background .4s}
.member:hover{background:var(--surface)}
.member__img{aspect-ratio:1/1;overflow:hidden;background:var(--panel)}
.member__img img{width:100%;height:100%;object-fit:cover;filter:grayscale(1) contrast(1.06);transition:filter .6s var(--ease),transform 1s var(--ease)}
.member:hover .member__img img{filter:grayscale(0) contrast(1);transform:scale(1.05)}
.member__body{padding:1.1rem 1.15rem 1.4rem}
.member__name{font-family:var(--f-sans);font-size:.95rem;font-weight:600;margin:0}
.member__role{font-family:var(--f-mono);font-size:.62rem;letter-spacing:.13em;text-transform:uppercase;color:var(--teal-br);margin-top:.45rem}
.member__bio{font-size:.83rem;color:var(--text-3);margin:.75rem 0 0;line-height:1.55}

/* ---------- posts ---------- */
.post{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:clamp(1.5rem,3vw,3rem);
  padding-block:clamp(2rem,4vw,3.2rem);border-top:1px solid var(--line);align-items:center}
.post__media{aspect-ratio:16/10;overflow:hidden;border-radius:10px;background:var(--panel)}
.post__media img{width:100%;height:100%;object-fit:cover;transition:transform 1.1s var(--ease)}
.post:hover .post__media img{transform:scale(1.05)}
.post__date{font-family:var(--f-mono);font-size:.66rem;letter-spacing:.16em;text-transform:uppercase;color:var(--text-3);margin-bottom:.9rem}

/* ---------- CTA + footer ---------- */
.cta{position:relative;overflow:hidden;border-radius:var(--r);border:1px solid rgba(79,227,235,.16);
  background:var(--panel);padding:clamp(2.5rem,6vw,5rem)}
/* a dot grid that fades in toward the right, and registration marks in two corners */
.cta__grid{position:absolute;inset:0;pointer-events:none;
  background-image:radial-gradient(circle,rgba(79,227,235,.22) 1px,transparent 1.5px);background-size:22px 22px;
  -webkit-mask-image:linear-gradient(105deg,transparent 30%,#000 85%);mask-image:linear-gradient(105deg,transparent 30%,#000 85%)}
.cta::before,.cta::after{content:"";position:absolute;width:22px;height:22px;pointer-events:none;border:0 solid var(--teal-br);opacity:.8}
.cta::before{top:14px;left:14px;border-top-width:1px;border-left-width:1px}
.cta::after{bottom:14px;right:14px;border-bottom-width:1px;border-right-width:1px}
.footer{border-top:1px solid var(--line);padding-block:clamp(3rem,6vw,4.5rem);position:relative;z-index:2}
.footer__grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.4fr;gap:2.5rem}
.footer h4,.footer__h{font-family:var(--f-mono);font-size:.64rem;letter-spacing:.18em;text-transform:uppercase;color:var(--text-3);margin:0 0 1.1rem;font-weight:500}
.footer a{color:var(--text-2);font-size:.9rem;display:block;padding-block:.32rem;transition:color .3s}
.footer a:hover{color:var(--teal-br)}
.footer__bottom{display:flex;justify-content:space-between;gap:1.5rem;flex-wrap:wrap;
  margin-top:3.5rem;padding-top:1.8rem;border-top:1px solid var(--line);font-size:.8rem;color:var(--text-3)}
.social{display:flex;gap:.6rem;margin-top:1.2rem}
.social a{width:38px;height:38px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;
  transition:border-color .35s,color .35s,transform .35s var(--ease)}
.social a:hover{border-color:var(--teal-br);color:var(--teal-br);transform:translateY(-3px)}

/* ---------- form ---------- */
.field{margin-bottom:1.3rem}
.field label{display:block;font-family:var(--f-sans);font-size:.92rem;font-weight:600;letter-spacing:-.005em;color:var(--text);margin-bottom:.5rem}
.field input,.field textarea,.field select{
  width:100%;padding:.95rem 1.05rem;background:rgba(255,255,255,.03);color:var(--text);
  border:1px solid var(--line);border-radius:9px;font:inherit;font-size:.95rem;transition:border-color .3s,background .3s}
.field input:focus,.field textarea:focus,.field select:focus{outline:0;border-color:var(--teal-br);background:rgba(79,227,235,.05)}
/* below 16px iOS zooms the page in on focus and leaves it zoomed, the heading cut off at the sides:
   phones turned landscape are wider than the 720px rule that sets 16px, so touch screens get it too */
@media(pointer:coarse){.field input,.field textarea,.field select{font-size:16px}}
.field textarea{min-height:150px;resize:vertical}
/* contact: the form in its own bordered box, fields set a shade below it */
.form-box{position:relative;border:1px solid var(--line-2);border-radius:var(--r);background:var(--panel);padding:clamp(1.5rem,3.2vw,2.6rem);
  transition:border-color .45s var(--ease)}
.form-box .field :is(input,textarea,select){background:var(--ink);border-color:var(--line-2)}
.form-box .field :is(input,textarea,select):hover{border-color:rgba(255,255,255,.26)}
.form-box .field :is(input,textarea,select):focus{background:var(--ink);box-shadow:0 0 0 3px rgba(79,227,235,.12)}
/* contact: the News page's side rails (.news-page above), here as a single quiet grey line rather
   than the teal > violet > coral run (settled 2026-12-01) */
html.page-contact .news-page::before,html.page-contact .news-page::after{
  background:linear-gradient(to bottom,transparent,rgba(255,255,255,.14) 10%,rgba(255,255,255,.14) 90%,transparent)}
/* contact: the site's own "Halo around" patches (body, above), laid back over the News ground and
   the haze below, at their usual strength (settled 2026-12-01 from the contact design switch).
   On body::after, under every section (they sit at z-index 2). */
html.page-contact body{position:relative}
html.page-contact body::after{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background-image:
    radial-gradient(46vw 520px at 8% 18%,rgba(38,52,70,var(--ha1)),rgba(38,52,70,0) 70%),
    radial-gradient(38vw 460px at 88% 52%,rgba(34,48,64,var(--ha2)),rgba(34,48,64,0) 70%),
    radial-gradient(30vw 380px at 46% 88%,rgba(40,54,72,var(--ha3)),rgba(40,54,72,0) 70%),
    radial-gradient(34vw 440px at 74% 12%,rgba(30,44,60,var(--ha4)),rgba(30,44,60,0) 70%),
    radial-gradient(42vw 500px at 22% 64%,rgba(36,50,68,var(--ha5)),rgba(36,50,68,0) 70%);
  background-size:100% 1700px,100% 1700px,100% 1700px,100% 2650px,100% 2650px;background-repeat:repeat-y}
/* contact: a faint diagonal haze of cool white from the top right, fading toward the bottom left, to
   lift the page a little (settled 2026-12-01 from the contact design switch: "Diagonal", "Soft").
   On body::before, under every section (they sit at z-index 2) and over the News ground. */
html.page-contact body::before{
  content:"";position:absolute;left:0;right:0;top:0;height:1200px;z-index:0;pointer-events:none;
  background:linear-gradient(222deg,rgba(196,210,228,.042) 0%,rgba(196,210,228,.015) 28%,rgba(196,210,228,0) 52%)}

/* contact: the send button sits bottom right; "Sending…" and any error read on the left, level with it */
.form-actions{display:flex;align-items:center;justify-content:space-between;gap:1rem 1.5rem;margin-top:.4rem}
.form-actions [role="status"]{flex:1;min-width:0;margin:0;text-transform:none;letter-spacing:.04em;line-height:1.55}
.form-actions .btn{flex:none;margin-left:auto}

/* ---------- Contact form: sent state ---------- */
.form-box form[hidden],.form-sent[hidden]{display:none}
.form-box.is-sent{
  display:flex;flex-direction:column;justify-content:center;
  border-color:color-mix(in srgb,var(--teal-br) 26%,var(--line-2));
  background-image:radial-gradient(70% 48% at 50% 24%,color-mix(in srgb,var(--teal-br) 7%,transparent),transparent 74%);
}
.form-sent{
  display:flex;flex-direction:column;align-items:center;text-align:center;
  padding:clamp(1.25rem,3vw,2.5rem) clamp(.5rem,2vw,1.5rem);
  animation:formSentIn .5s var(--ease) both;
}
.form-sent__mark{
  width:64px;height:64px;margin-bottom:1.6rem;flex:none;
  filter:drop-shadow(0 0 16px color-mix(in srgb,var(--teal-br) 22%,transparent));
}
.form-sent__halo{
  fill:color-mix(in srgb,var(--teal-br) 6%,transparent);
  stroke:color-mix(in srgb,var(--teal-br) 16%,transparent);stroke-width:1.4;
  animation:formSentHalo .55s var(--ease) .1s both;
}
.form-sent__ring{
  stroke:var(--teal-br);stroke-width:1.75;stroke-linecap:round;
  stroke-dasharray:172;stroke-dashoffset:172;
  animation:formSentRing .44s cubic-bezier(.4,0,.2,1) .06s both;
}
.form-sent__tick{
  stroke:var(--teal-br);stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round;
  stroke-dasharray:36;stroke-dashoffset:36;
  animation:formSentTick .3s var(--ease) .42s both;
}
.form-sent__eyebrow{justify-content:center;gap:.75rem;margin:0 0 .9rem}
.form-sent__eyebrow::before,.form-sent__eyebrow::after{
  content:"";width:22px;height:1px;background:currentColor;opacity:.45;flex:none;
}
.form-sent__title{
  font-family:var(--f-serif);font-weight:300;font-size:clamp(1.7rem,3vw,2.35rem);
  line-height:1.12;letter-spacing:-.02em;color:var(--text);
  margin:0 0 1rem;max-width:min(22ch,100%);overflow-wrap:anywhere;
  scroll-margin-top:calc(var(--navh,86px) + 2rem);
}
.form-sent__title:focus{outline:none}
.form-sent__title:focus-visible{outline:2px solid var(--teal-br);outline-offset:6px;border-radius:4px}
.form-sent__copy{
  margin:0;max-width:40ch;font-size:.98rem;line-height:1.65;color:var(--text-2);font-weight:400;
}
.form-sent__email{color:var(--text);font-weight:500;overflow-wrap:anywhere}
.form-sent__again{
  margin-top:2.1rem;padding:.35rem .5rem;border:0;background:none;cursor:pointer;
  font-family:var(--f-sans);font-size:.84rem;font-weight:500;letter-spacing:.005em;color:var(--text-2);
  text-decoration:underline 1px;text-underline-offset:.32em;text-decoration-color:var(--line-2);
  opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity .6s var(--ease),visibility 0s .6s,color .25s,text-decoration-color .25s;
}
.form-sent__again.is-ready{
  opacity:1;visibility:visible;pointer-events:auto;
  transition:opacity .6s var(--ease),visibility 0s,color .25s,text-decoration-color .25s;
}
.form-sent__again:hover{color:var(--teal-br);text-decoration-color:var(--teal-br)}
.form-sent__again:focus-visible{outline:2px solid var(--teal-br);outline-offset:4px;border-radius:4px}
@keyframes formSentIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@keyframes formSentHalo{from{opacity:0}to{opacity:1}}
@keyframes formSentRing{0%{stroke-dashoffset:172;opacity:0}2%{opacity:1}100%{stroke-dashoffset:0;opacity:1}}
@keyframes formSentTick{0%{stroke-dashoffset:36;opacity:0}2%{opacity:1}100%{stroke-dashoffset:0;opacity:1}}
@media(max-width:720px){
  .form-sent{padding:1.25rem .35rem}
  .form-sent__mark{width:56px;height:56px;margin-bottom:1.35rem}
  .form-sent__copy{font-size:.94rem}
  .form-sent__again{margin-top:1.75rem}
}
@media(prefers-reduced-motion:reduce){
  .form-sent,.form-sent__halo,.form-sent__ring,.form-sent__tick{animation:none!important;opacity:1!important;transform:none!important;stroke-dashoffset:0!important}
  .form-sent__again{transition:none!important}
}

/* ---------- reveal ---------- */
.reveal{opacity:0;transform:translateY(26px);transition:opacity 1s var(--ease),transform 1s var(--ease)}
.reveal.is-in{opacity:1;transform:none}
.reveal[data-d="1"]{transition-delay:.09s}.reveal[data-d="2"]{transition-delay:.18s}
.reveal[data-d="3"]{transition-delay:.27s}.reveal[data-d="4"]{transition-delay:.36s}

/* ---------- responsive ---------- */
@media(max-width:1000px){
  .split>.col-5,.split>.col-6,.split>.col-7{grid-column:1/-1}
  .statement__row{grid-template-columns:1fr;align-items:start}
  .statement{max-width:22ch}
  .statement__aside{--cp:clamp(1.25rem,5vw,2rem);margin:0}
  .statement__aside::after{display:none}
  .footer__grid{grid-template-columns:1fr 1fr}
  .post{grid-template-columns:1fr}
  .sticky{position:static}
}
@media(max-width:720px){
  .mech{grid-template-columns:1fr;gap:2.25rem}
  .mech__col{gap:1.25rem}
  .mech__toolbar{padding:.8rem 1rem 0;font-size:.54rem;letter-spacing:.08em}
  .mech__legend{column-gap:.8rem;font-size:.65rem}
  .mech__caption{padding:.8rem 1rem;min-height:4rem}
  body{font-size:16px}
  /* The menu panel hangs from the bar's bottom edge (the bar's own line stays as its top rule) and
     unrolls downward, as the desktop dropdown does; closed, it is hidden from focus as well as
     from view. The page behind is dimmed while it is open (.nav::before), and a tap there
     closes it (site.js). */
  .nav__links{position:fixed;inset:calc(var(--navh,86px) + 1px) 0 auto;flex-direction:column;gap:0;align-items:stretch;
    max-height:calc(100svh - var(--navh,86px) - 1px);overflow-y:auto;overscroll-behavior:contain;
    background:var(--nav);border-bottom:1px solid var(--nav-edge);box-shadow:0 30px 40px -30px rgba(0,0,0,.95);
    padding:.4rem var(--pad) 1.4rem;margin-left:0;margin-right:0;
    clip-path:inset(0 0 100% 0);visibility:hidden;
    transition:clip-path .45s var(--ease),visibility 0s .45s}
  .nav.is-open .nav__links{clip-path:inset(0 0 -80px 0);visibility:visible;transition-delay:0s}
  .nav::before{content:"";position:fixed;inset:var(--navh,77px) 0 0;background:rgba(3,5,8,.62);
    opacity:0;visibility:hidden;pointer-events:none;transition:opacity .4s var(--ease),visibility 0s .4s}
  .nav.is-open::before{opacity:1;visibility:visible;pointer-events:auto;transition-delay:0s}
  /* rows settle in one after another as the panel opens */
  .nav__links>*{opacity:0;transform:translateY(-6px);transition:opacity .25s var(--ease),transform .45s var(--ease)}
  .nav.is-open .nav__links>*{opacity:1;transform:none}
  .nav.is-open .nav__links>:nth-child(2){transition-delay:.04s}
  .nav.is-open .nav__links>:nth-child(3){transition-delay:.08s}
  .nav.is-open .nav__links>:nth-child(4){transition-delay:.12s}
  .nav.is-open .nav__links>:nth-child(5){transition-delay:.16s}
  .nav__links a{display:flex;align-items:center;min-height:3.35rem;padding:0;border-radius:0;
    border-bottom:1px solid var(--line);font-size:1.02rem;font-weight:500;letter-spacing:-.005em;color:var(--text-2)}
  .nav__links>a:last-child{border-bottom:0}
  .nav__links a:hover{background:none;color:var(--text)}
  /* the page you're on: brighter text led by a short upright teal bar on the left, in place of the underline */
  .nav__links a{transition:padding-left .35s var(--ease),color .25s var(--ease)}
  .nav__links a[aria-current]{padding-left:1rem}
  .nav__links a::after,.nav__links .nav__menu a::after{display:block;left:0;right:auto;top:calc(50% - .6rem);bottom:auto;
    width:2px;height:1.2rem;border-radius:1px;transform:scaleY(0);transform-origin:center;transition:transform .35s var(--ease)}
  .nav__links a[aria-current]::after,.nav__links .nav__menu a[aria-current]::after{transform:scaleY(1)}
  .nav__links a:not([aria-current]):hover::after{transform:scaleY(0)}
  /* mobile: the dropdown flattens into a labelled, always-open sub-list */
  .nav__trigger{width:100%;padding:1.15rem 0 .3rem;border-radius:0;font-family:var(--f-mono);font-size:.62rem;
    letter-spacing:.2em;text-transform:uppercase;color:var(--text-3);pointer-events:none}
  .nav__trigger svg,.nav__trigger::after{display:none}
  .nav__menu{position:static;opacity:1;visibility:inherit;transform:none;clip-path:none;min-width:0;padding:0;
    background:none;border:0;border-radius:0;box-shadow:none;gap:0}
  .nav__menu::before{display:none}
  .nav__links .nav__menu a{padding-left:1rem}
  .nav__links .nav__menu a::after{left:1rem}
  .nav__links .nav__menu a[aria-current]{color:var(--text);padding-left:2rem}
  .nav__group.is-open .nav__trigger,.nav__trigger:hover{background:none}
  .nav__burger{display:block}
  .compare__body{grid-template-columns:1fr}
  .compare__side+.compare__side{border-left:0;border-top:1px solid var(--line)}
  .footer__grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
  .reveal{opacity:1;transform:none}
  .hero h1 .ln>span{transform:none}
}

/* ============================================================
   MECHANISM SVG — one continuous scene, states driven by [data-step]
   ============================================================ */
.mech__diagram text{font-family:var(--f-sans);font-size:13px;letter-spacing:.02em;fill:#A4BABD}
.mx-envelope{fill:url(#mx-protein-fill);stroke:url(#mx-protein-edge);stroke-width:1.4}
.mx-fold,.mx-pocket{fill:none;stroke:#70B9AE;stroke-width:1.2;opacity:.25;stroke-linecap:round}
.mx-pocket{stroke-dasharray:3 5;opacity:.22}
.mx-protein{transform:scale(.672);transform-origin:324px 190px}
.mx-annotation path{fill:none;stroke:#789C9F;stroke-width:1;opacity:.65}
.mx-annotation circle{fill:#80CEC1}
.mx-protein-label text{fill:#A4D0C7}
.mx-rna-label text{fill:#C6B3E8}
.mx-rna-label path{stroke:#BBA1F2}
.mx-rna-label circle{fill:#BBA1F2}
.mx-dna{fill:none;stroke:#91B8BD;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}
.mx-dna--back{stroke:#557D86;stroke-width:3}
.mx-rung{stroke:#759DA6;stroke-width:1.3;opacity:.45;stroke-linecap:round}
.mx-helix-shadow{fill:none;stroke:#0E1C23;stroke-width:7;stroke-linecap:round}
.mx-helix-front{stroke:url(#mx-dna-light);stroke-width:3.8}
.mech__diagram .mx-dna-label{font-size:12px;fill:#7E9CA4}
.mx-core-pairs,.mx-top-intact,.mx-bottom-intact{transition:opacity .45s var(--ease)}
.mx-bottom-primer{opacity:0;transition:opacity .45s var(--ease)}
.mx-recognition{opacity:0;transition:opacity .55s var(--ease)}
.mx-footprint{fill:none;stroke:#65B7AE;stroke-width:1;opacity:.8}
.mech__diagram .mx-footprint-label{fill:#A4D0C7}
.mx-loop-pair{fill:none;stroke:#D8C2FF;stroke-width:1.5;stroke-dasharray:2 2;stroke-linecap:round;opacity:.9}
.mx-rna-strand,.mx-rna-halo{fill:none;stroke:url(#mx-rna-color);stroke-width:3.8;stroke-linecap:round;stroke-linejoin:round}
.mx-rna-halo{stroke-width:8;opacity:.1;filter:url(#mx-soft-glow)}
.mx-rna-pairs{fill:none;stroke:#BBA1F2;stroke-width:1.3;opacity:.5}
.mx-lariat{opacity:0;transition:opacity .45s var(--ease)}
.mx-lariat-tail{fill:none;stroke:#BBA1F2;stroke-width:3.8;stroke-linecap:round}
.mx-lariat circle{fill:#D8C2FF}
.mx-junctions,.mx-join-note,.mx-primer,.mx-synthesis{opacity:0;transition:opacity .45s var(--ease)}
.mx-junction{fill:#D8C2FF;stroke:#1B3037;stroke-width:2}
.mx-junction-halo{fill:none;stroke:#BBA1F2;stroke-width:1;opacity:.5;transform-box:fill-box;transform-origin:center}
.mx-join-note path{stroke:#BBA1F2}
.mech__diagram .mx-join-note text{fill:#C6B3E8}
.mx-primer circle{fill:#F1CE8E;stroke:#15292D;stroke-width:2}
.mx-primer-leader{fill:none;stroke:#F1CE8E;stroke-width:1;opacity:.7}
.mech__diagram .mx-primer text{fill:#F1CE8E}
.mx-new-dna,.mx-new-dna-halo,.mx-hybrid-rna{fill:none;stroke:#4FE3EB;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}
.mx-hybrid-rna{stroke:#BBA1F2}
.mx-new-dna-halo{stroke-width:9;opacity:.15;filter:url(#mx-soft-glow)}
.mx-new-pairs{fill:none;stroke:#4FE3EB;stroke-width:1.3;opacity:.5}
.mx-hybrid-front{fill:none;stroke:url(#mx-dna-light);stroke-width:3.8;stroke-linecap:round;stroke-linejoin:round}
.mx-hybrid-front--rna{stroke:#D8C2FF}
.mx-hybrid-front--dna{stroke:#98F8EE}
.mx-writer{fill:#E4FFFF;stroke:#4FE3EB;stroke-width:1.5}
.mx-final-helix,.mx-hybrid-label,.mx-writer-label{opacity:0}
.mech__diagram .mx-writer-label text{fill:#A4D0C7;font-size:12px}
.mx-writer-label path{stroke:#80CEC1}
.mx-direction{fill:none;stroke:#4FE3EB;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round;opacity:.8}
.mech__diagram .mx-synthesis text{fill:#4FE3EB}

/* Recognise — the RNA lariat is poised above the closed DNA. */
.mech__stage[data-step="1"] .mx-recognition{opacity:1}
.mech__stage[data-step="1"] .mx-lariat{opacity:1}
/* Join — both RNA junctions appear as the upper strand is replaced. */
.mech__stage:not([data-step="1"]) .mx-top-intact,
.mech__stage:not([data-step="1"]) .mx-core-pairs{opacity:0}
.mech__stage:not([data-step="1"]) .mx-junctions{opacity:1}
.mech__stage[data-step="2"] .mx-join-note{opacity:1}
.mech__stage[data-step="2"] .mx-junction-halo{animation:joinPulse 1.6s var(--ease) infinite}
@keyframes joinPulse{0%,100%{transform:scale(1);opacity:.55}50%{transform:scale(1.3);opacity:.15}}
/* Prime — a single nick exposes the primer on the opposite strand. */
.mech__stage:is([data-step="3"],[data-step="4"]) .mx-bottom-intact{opacity:0}
.mech__stage:is([data-step="3"],[data-step="4"]) .mx-bottom-primer,
.mech__stage:is([data-step="3"],[data-step="4"]) .mx-primer{opacity:1}
/* Synthesise — new DNA grows from the primer along the template. */
.mech__stage[data-step="4"] .mx-synthesis{opacity:1}
.mech.is-paused .mx-junction-halo{animation-play-state:paused}
@media(max-width:720px){
  .mech__diagram text{font-size:16px}
  .mech__diagram .mx-dna-label{font-size:15px}
}
@media(prefers-reduced-motion:reduce){.mx-junction-halo{animation:none!important}}

/* ---------- compare viz ---------- */
.compare__viz text.vz-t{font-family:var(--f-mono);font-size:9px;letter-spacing:.13em;fill:var(--text-3)}
.vz-pulse{animation:vzPulse 2.2s var(--ease) infinite;animation-delay:calc(var(--i,0)*.11s);transform-box:fill-box;transform-origin:center}
@keyframes vzPulse{0%,100%{opacity:.45;transform:scale(1)}50%{opacity:1;transform:scale(1.35)}}
.vz-drift{animation:vzDrift 2.6s var(--ease) infinite alternate;animation-delay:calc(var(--i,0)*.13s)}
@keyframes vzDrift{from{transform:translate(0,0)}to{transform:translate(7px,-4px)}}
.vz-grow{transform-box:fill-box;transform-origin:left center;animation:vzGrow 1s var(--ease) both}
@keyframes vzGrow{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@media(prefers-reduced-motion:reduce){.vz-pulse,.vz-drift{animation:none!important}}

/* ---------- page head + prose ---------- */
.pagehead{padding-top:calc(var(--navh,86px) + clamp(4rem,10vw,8rem));padding-bottom:clamp(2.5rem,6vw,5rem);position:relative;z-index:2}
.pagehead h1{max-width:16ch}
.pagehead__grid{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr);
  gap:clamp(2rem,5vw,4.5rem);align-items:center}
.pagehead__img{width:100%;aspect-ratio:1/1;object-fit:cover;
  border-radius:var(--r);border:1px solid var(--line);filter:saturate(.9)}
@media(max-width:900px){
  .pagehead__grid{grid-template-columns:1fr}
  .pagehead__img{aspect-ratio:4/3;margin-top:clamp(2rem,5vw,3rem)}
}
/* contact: a shorter header so the form starts within the first screen */
.pagehead--compact{padding-top:calc(var(--navh,86px) + clamp(2rem,5vw,3.5rem));padding-bottom:clamp(1rem,2.5vw,2rem)}
/* "We'd love to hear from you." fits one line only from ~386px; narrower (360/375 phones) it stranded
   "you." on a line of its own, as if cut off. Balanced, it breaks "We'd love to / hear from you." */
.pagehead--compact h1{font-size:clamp(2.2rem,4.4vw,3.6rem);max-width:none;text-wrap:balance;overflow-wrap:break-word}
.pagehead--compact .lede{margin-top:1rem;font-size:clamp(1rem,1.3vw,1.12rem)}
.pagehead--compact + .section{padding-top:clamp(1.5rem,3vw,2.5rem)}
.banner{width:100%;aspect-ratio:21/9;object-fit:cover;border-radius:var(--r);border:1px solid var(--line);filter:saturate(.9)}
.figure{margin:clamp(2rem,3.5vw,3rem) 0 0}
.figure img{width:100%;border-radius:var(--r);border:1px solid var(--line);filter:saturate(.92)}
.figure--sq img{aspect-ratio:1/1;object-fit:cover}
.figure--wide img{aspect-ratio:16/9;object-fit:cover}
.figure figcaption{display:flex;align-items:flex-start;gap:.7rem;margin-top:.85rem;
  font-family:var(--f-mono);font-size:.62rem;letter-spacing:.16em;text-transform:uppercase;color:var(--text-3)}
/* sits on the first line's centre, so a caption that wraps keeps its rule level
   with the text rather than floating to the middle of the block */
.figure figcaption::before{content:"";width:16px;height:1px;margin-top:.8em;background:currentColor;opacity:.6;flex:none}
.section--paper .figure img{border-color:rgba(0,0,0,.12)}
.section--paper .figure figcaption{color:#55636F}
.prose{max-width:70ch}
.prose p{font-size:1.03rem;line-height:1.75}
.prose h2{font-size:clamp(1.6rem,2.6vw,2.2rem);margin:2.8rem 0 1.1rem}
.prose ul{padding-left:1.1rem;margin:0 0 1.4rem}
.prose li{color:var(--text-2);margin-bottom:.6rem;line-height:1.7}
.section--paper .prose li{color:#43505C}
.prose li::marker{color:var(--teal)}
.pill{display:inline-flex;align-items:center;gap:.5rem;border:1px solid var(--line);border-radius:999px;
  padding:.42rem .9rem;font-family:var(--f-mono);font-size:.63rem;letter-spacing:.16em;text-transform:uppercase;color:var(--text-3)}
.limits{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1px;background:var(--line);border:1px solid var(--line);margin-top:2.5rem}
.limits>div{background:var(--ink);padding:1.6rem 1.4rem}
.limits .n{font-family:var(--f-mono);font-size:.66rem;letter-spacing:.16em;color:var(--coral);margin-bottom:.8rem}
.section--paper .limits{background:rgba(0,0,0,.1);border-color:rgba(0,0,0,.12)}
.section--paper .pill{border-color:rgba(0,0,0,.2);color:#55636F}
.section--paper .limits>div{background:var(--paper)}

/* ============================================================
   BOUNDARY BLEED — ink <-> paper, driven by scroll
   ============================================================ */
/* Nothing here is baked into the page. --k comes from site.js and is 0 until
   the edge a band belongs to comes up off the bottom of the screen, so the
   paper is not a fixed strip waiting to scroll past: it seeps out of the
   boundary as you come down on it, and draws back if you scroll away. With no
   JS (or under reduced motion) --k stays 0 and the sections meet on a clean
   edge, which is the layout these bands were added to soften.
   scaleY from the boundary rather than an animated height: it compresses the
   whole ramp proportionally, runs on the compositor, and costs no layout.
   The alpha profile is deliberately back-loaded — half the reach sits under
   .12 — so what travels up the dark reads as light coming off an edge rather
   than a bank of fog. */
:root{
  --bleed:rgba(6,150,161,0) 0%,rgba(6,150,161,.05) 34%,rgba(30,132,146,.12) 52%,
    rgba(120,170,180,.26) 68%,rgba(186,206,214,.52) 82%,rgba(226,233,237,.82) 92%,
    var(--paper) 100%;
}
.wash{
  --h-max:clamp(105px,14.5vw,215px);
  position:absolute;left:0;right:0;height:var(--h-max);
  z-index:-1;pointer-events:none;will-change:transform;
}
/* the 1px sits outside the scale, so the join stays covered at every --k */
.wash--in{bottom:100%;transform-origin:bottom;background:linear-gradient(to bottom,var(--bleed));
  transform:translateY(1px) scaleY(var(--k,0))}
.wash--out{top:100%;transform-origin:top;background:linear-gradient(to top,var(--bleed));
  transform:translateY(-1px) scaleY(var(--k,0))}

/* ============================================================
   THE SYSTEM — stills lifted from the cryo-EM model, shown as
   a plain index of the complex's regions (no scroll animation).
   ============================================================ */
.structure__hero{margin:0;position:relative}
.structure__hero::before{ /* the emitter glow the complex stands on */
  content:"";position:absolute;left:50%;bottom:6%;width:min(80%,520px);aspect-ratio:3/1;
  transform:translateX(-50%);pointer-events:none;
  background:radial-gradient(closest-side,rgba(79,227,235,.11),rgba(6,150,161,.03) 60%,transparent)}
.structure__hero img{position:relative;width:100%;height:auto}

/* ---- the film: a click-to-load YouTube player in a viewfinder frame ---- */
.film{margin:0;position:relative}

/* the film, with the page's headline beside it */
/* kept low: it follows Inside the complex closely */
.film-section{padding-top:clamp(1rem,2.5vw,2.25rem)}
.film-section__grid{display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);
  gap:clamp(2rem,4vw,3.75rem);align-items:center}
/* the film reaches past the container's right edge (to 32px off the window,
   at most 120px over) so it gets the room without squeezing the copy column */
@media(min-width:901px){
  .film-section__grid .film{margin-right:calc(-1 * min(120px, var(--pad) + (100vw - min(100vw, var(--maxw))) / 2 - 32px))}
}
.film-section__copy h2{max-width:12ch;font-size:clamp(2.2rem,3.6vw,3.6rem)}
/* the line that starts the film; its arrow points at the frame (down, once the frame drops below) */
.film-section__cue{display:block;max-width:30ch;margin-top:clamp(1.25rem,2.4vw,1.9rem);
  font-size:clamp(1rem,1.25vw,1.12rem);line-height:1.45;color:var(--text-2);transition:color .3s var(--ease)}
.film-section__cue span{background:linear-gradient(currentColor,currentColor) 0 100%/0 1px no-repeat;
  transition:background-size .5s var(--ease)}
.film-section__cue svg{display:inline-block;vertical-align:-.28em;margin-left:.5rem;width:20px;height:20px;stroke:var(--teal-br);stroke-width:1.5;stroke-linecap:round;
  stroke-linejoin:round;transition:transform .4s var(--ease)}
.film-section__cue:hover{color:var(--text)}
.film-section__cue:hover span{background-size:100% 1px}
.film-section__cue:hover svg{transform:translateX(4px)}
@media(max-width:900px){
  .film-section__grid{grid-template-columns:1fr;gap:1.75rem}
  .film-section__copy h2 br{display:none}
  .film-section__cue svg{rotate:90deg}
}
.film::before{ /* ambient spill in the film's own magenta/violet, so the frame sits in light */
  content:"";position:absolute;inset:-3% -2% 8%;z-index:-1;pointer-events:none;filter:blur(70px);opacity:.7;
  background:radial-gradient(60% 70% at 62% 40%,rgba(226,92,170,.55),transparent 70%),
             radial-gradient(55% 60% at 22% 72%,rgba(124,92,255,.55),transparent 70%),
             radial-gradient(40% 50% at 50% 100%,rgba(79,227,235,.25),transparent 70%)}
.film__frame{position:relative;aspect-ratio:16/9;border-radius:var(--r);
  background:#07090D;border:1px solid var(--line-2);box-shadow:0 30px 90px -30px rgba(0,0,0,.9)}
.film__stage,.film__poster,.film__shield{position:absolute;inset:0;width:100%;height:100%;border:0;
  border-radius:inherit;overflow:hidden;display:block}
.film__stage{background:#000}
.film__stage iframe{width:100%;height:100%;border:0;display:block}
/* the poster stays over the player until it is actually playing, so YouTube's
   start-up title card never shows; it comes back when the film ends */
.film__poster{z-index:2;transition:opacity .6s var(--ease)}
.film.is-on .film__poster{opacity:0;pointer-events:none}
/* a transparent layer over the player: YouTube never sees the pointer, so its
   hover bar and overlays stay hidden; a click here pauses and resumes */
.film__shield{z-index:1;display:none;padding:0;cursor:pointer;background:transparent;-webkit-tap-highlight-color:transparent}
.film.is-on .film__shield{display:block}
/* paused: a soft vignette rather than a flat tint, so the frame still reads */
.film__shield::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:0;transition:opacity .45s var(--ease);
  background:radial-gradient(ellipse at 50% 50%,rgba(5,7,10,.18) 0%,rgba(5,7,10,.5) 55%,rgba(5,7,10,.78) 100%)}
.film.is-paused .film__shield::before{opacity:1}
/* the control: a smoked-glass disc with a hairline rim, a lit top edge and a
   soft drop shadow; icons are drawn centred on their own geometry (the play
   triangle's centroid sits on the disc's centre), so no nudging margins */
.film__shield .film__play{width:clamp(60px,5vw,76px);translate:-50% -50%;opacity:0;
  background:rgba(12,15,20,.42);border:1px solid rgba(255,255,255,.26);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 14px 40px -10px rgba(0,0,0,.7);
  backdrop-filter:blur(16px) saturate(1.5);-webkit-backdrop-filter:blur(16px) saturate(1.5);
  transition:opacity .35s var(--ease),background .35s var(--ease),border-color .35s var(--ease),
    box-shadow .35s var(--ease),scale .45s var(--ease)}
.film__shield .film__play svg{width:46%;margin:0;filter:drop-shadow(0 1px 2px rgba(0,0,0,.35))}
/* while paused, a hairline ring around the disc shows how far through the film is */
.film__shield .film__play::before{animation:none;opacity:0;inset:-7px;border:0;
  background:conic-gradient(var(--teal-br) calc(var(--p,0) * 360deg),rgba(255,255,255,.16) 0);
  -webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 2px),#000 calc(100% - 1.5px));
          mask:radial-gradient(farthest-side,transparent calc(100% - 2px),#000 calc(100% - 1.5px));
  transition:opacity .35s var(--ease)}
.film.is-paused .film__shield .film__play::before{opacity:1}
.film__icon-pause{display:none}
.film.is-playing .film__icon-play{display:none}
.film.is-playing .film__icon-pause{display:block}
.film.is-paused .film__shield .film__play,.film__shield:focus-visible .film__play{opacity:1}
@media(hover:hover){
  .film.is-playing .film__shield:hover .film__play{opacity:.9}
  .film__shield:hover .film__play{background:rgba(6,150,161,.55);border-color:rgba(79,227,235,.7);scale:1.06;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 0 0 6px rgba(79,227,235,.1),0 14px 40px -10px rgba(0,0,0,.7)}
}
.film__shield:active .film__play{scale:.96}
.film__shield:focus-visible{outline:2px solid var(--teal-br);outline-offset:4px}
/* on each toggle: resuming flashes the pause glyph and lets it dissolve outward;
   pausing settles the play glyph in with a small spring */
.film.is-playing.is-bump .film__shield .film__play{animation:filmBezel .7s var(--ease)}
.film.is-paused.is-bump .film__shield .film__play{animation:filmSettle .45s var(--ease)}
@keyframes filmBezel{0%{opacity:1;scale:1}100%{opacity:0;scale:1.35}}
@keyframes filmSettle{0%{scale:.84}60%{scale:1.04}100%{scale:1}}
@media(prefers-reduced-motion:reduce){.film.is-bump .film__shield .film__play{animation:none}}
/* if the browser refuses to start it, hand over to YouTube's own player */
.film.is-native .film__poster,.film.is-native .film__shield,.film.is-native .film__scrub{display:none}
/* YouTube's own player, on top of everything in the frame so its play button and controls take the taps */
.film.is-native .film__stage{z-index:4}
/* the seek bar: a tall, invisible hit strip along the bottom edge (above the
   shield) holding the thin progress line; click or drag anywhere on it to seek,
   arrow keys step 5 s. The line thickens and grows a thumb while in use. */
.film__scrub{position:absolute;left:0;right:0;bottom:0;z-index:3;height:2.6rem;padding:0 1.1rem;
  display:none;cursor:pointer;touch-action:none;-webkit-tap-highlight-color:transparent;
  border-radius:0 0 var(--r) var(--r);background:linear-gradient(to top,rgba(5,7,10,.55),transparent);
  opacity:.75;transition:opacity .35s var(--ease)}
.film.is-on .film__scrub{display:block}
.film__scrub:hover,.film__scrub:focus-visible,.film.is-scrubbing .film__scrub,.film.is-paused .film__scrub{opacity:1}
.film__scrub:focus-visible{outline:2px solid var(--teal-br);outline-offset:-2px}
.film__progress{position:absolute;left:1.1rem;right:1.1rem;bottom:.9rem;height:2px;border-radius:2px;
  background:rgba(255,255,255,.18);transition:height .2s var(--ease)}
.film__progress>i{position:absolute;inset:0;border-radius:inherit;background:var(--teal-br);
  transform-origin:left;transform:scaleX(var(--p,0))}
.film__progress>b{position:absolute;top:50%;left:calc(var(--p,0) * 100%);width:12px;height:12px;border-radius:50%;
  background:#fff;box-shadow:0 0 0 3px rgba(79,227,235,.35);translate:-50% -50%;scale:0;transition:scale .2s var(--ease)}
.film__scrub:hover .film__progress,.film__scrub:focus-visible .film__progress,.film.is-scrubbing .film__progress{height:4px}
.film__scrub:hover .film__progress>b,.film__scrub:focus-visible .film__progress>b,.film.is-scrubbing .film__progress>b{scale:1}
/* the readout rides above the thumb, held clear of the frame's edges */
.film__time{position:absolute;bottom:calc(100% + .7rem);left:clamp(2.6rem,calc(var(--p,0) * 100%),calc(100% - 2.6rem));
  translate:-50% 0;padding:.35em .55em;border-radius:3px;background:rgba(5,7,10,.72);white-space:nowrap;font:500 .62rem/1 var(--f-mono);letter-spacing:.12em;
  color:#fff;text-shadow:0 1px 8px rgba(0,0,0,.7);opacity:0;transition:opacity .25s var(--ease);pointer-events:none}
.film__scrub:hover .film__time,.film__scrub:focus-visible .film__time,.film.is-scrubbing .film__time,.film.is-paused .film__time{opacity:1}
@media(hover:none){.film__progress{height:4px}}
.film.is-loading .film__poster .film__play::before{animation-duration:1s}
.film__poster img{width:100%;height:100%;object-fit:cover;transition:transform 1.2s var(--ease),filter .6s var(--ease);
  filter:saturate(.95) brightness(.82)}
.film__poster::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(ellipse at center,transparent 40%,rgba(5,7,10,.55) 100%),
             linear-gradient(to top,rgba(5,7,10,.5),transparent 35%)}
.film__play{position:absolute;left:50%;top:50%;z-index:1;width:clamp(58px,5.5vw,80px);aspect-ratio:1;
  translate:-50% -62%;border-radius:50%;display:grid;place-items:center;
  background:rgba(5,7,10,.35);border:1px solid rgba(255,255,255,.55);
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  transition:background .4s var(--ease),border-color .4s var(--ease),scale .5s var(--ease)}
.film__play::before{ /* slow sonar ring */
  content:"";position:absolute;inset:-1px;border-radius:50%;border:1px solid var(--teal-br);
  animation:filmPing 2.8s var(--ease) infinite}
.film__play svg{width:40%;fill:#fff}
.film__cta{position:absolute;left:50%;top:50%;z-index:1;translate:-50% calc(clamp(58px,5.5vw,80px) * .38 + .7rem);
  font:500 .62rem/1 var(--f-mono);letter-spacing:.2em;text-transform:uppercase;color:#fff;white-space:nowrap;
  text-shadow:0 1px 12px rgba(0,0,0,.6)}
.film__cta span{color:var(--teal-br);margin-left:.6em}
.film__poster:hover img,.film__poster:focus-visible img{transform:scale(1.035);filter:saturate(1.05) brightness(.95)}
.film__poster:hover .film__play,.film__poster:focus-visible .film__play{background:var(--teal);border-color:var(--teal-br);scale:1.06}
.film__poster:focus-visible{outline:2px solid var(--teal-br);outline-offset:4px}
@keyframes filmPing{0%{opacity:.8;scale:1}70%,100%{opacity:0;scale:1.55}}
/* viewfinder brackets just outside the frame */
.film__corner{position:absolute;width:18px;height:18px;pointer-events:none;border:0 solid var(--teal-br);opacity:.75}
.film__corner--tl{left:-10px;top:-10px;border-left-width:1px;border-top-width:1px}
.film__corner--tr{right:-10px;top:-10px;border-right-width:1px;border-top-width:1px}
.film__corner--bl{left:-10px;bottom:-10px;border-left-width:1px;border-bottom-width:1px}
.film__corner--br{right:-10px;bottom:-10px;border-right-width:1px;border-bottom-width:1px}
.film.is-on .film__corner{opacity:.35}
@media(max-width:900px){.film{margin-top:clamp(2rem,5vw,3rem)}}
@media(max-width:600px){
  .film__corner,.film__cta{display:none}
  .film__poster .film__play{translate:-50% -50%}
}
@media(prefers-reduced-motion:reduce){.film__play::before{animation:none;opacity:0}}
.structure__meta{margin:1.9rem 0 0}
.structure__intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);
  gap:clamp(1.4rem,4vw,4rem);align-items:start;margin-bottom:clamp(2.2rem,4.5vw,3.5rem)}
.structure__intro h2{max-width:13ch}
.structure__intro p:last-child{margin-bottom:0}
/* The four steps and the film (.mech) sit inside "Inside the complex": the heading runs on one line
   across the top, the steps on the left and the film on the right. The standfirst and "What happens
   at the target site" give way to "Four steps, one machine". (Settled 2026-11-26 over the Classic
   layout, where they had a paper band of their own below.) */
.structure__intro:has(>.mech){display:block}
.structure__intro:has(>.mech) h2{max-width:none;white-space:nowrap;margin-bottom:clamp(1.6rem,3vw,2.6rem)}
.structure__intro:has(>.mech)>div:not(.mech){display:none}
.structure__intro .mech{grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);
  grid-template-rows:auto 1fr;column-gap:clamp(1.6rem,4vw,4rem);row-gap:1.6rem;margin:0}
.structure__intro .mech__col{display:contents}
.structure__intro .mech__col:first-child .mech__heading{display:none}
.structure__intro .mech__col:last-child .mech__heading{grid-column:1;grid-row:1}
.structure__intro .mech__steps{grid-column:1;grid-row:2;align-self:start}
.structure__intro .mech__view{grid-column:2;grid-row:1/3;align-self:start;min-width:0}
@media(max-width:900px){
  .structure__intro:has(>.mech) h2{white-space:normal}
  .structure__intro .mech{grid-template-columns:1fr;grid-template-rows:none}
  .structure__intro .mech__col:last-child .mech__heading,
  .structure__intro .mech__view,
  .structure__intro .mech__steps{grid-column:1;grid-row:auto}
  .structure__intro .mech__col:last-child .mech__heading{order:-1}
}
/* four parts in two groups: three the protein carries, and the RNA's own reading of the target.
   Each group is named over a bracket that spans its cards, keyed to the molecule's colour in the render. */
.structure{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:clamp(1.1rem,2.2vw,2rem);
  row-gap:clamp(1rem,1.8vw,1.4rem)}
.structure__group{grid-row:1;grid-column:1/4;position:relative;margin:0;padding:0 0 .85rem;
  font-family:var(--f-mono);font-size:.66rem;font-weight:500;letter-spacing:.18em;text-transform:uppercase;color:var(--text-3)}
.structure__key{color:var(--text);margin-right:.35em}
.structure__key::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:.7rem;
  vertical-align:.08em;background:var(--key);box-shadow:0 0 12px color-mix(in srgb,var(--key) 60%,transparent)}
.structure__group::after{content:"";position:absolute;left:0;right:0;bottom:0;height:7px;
  border:1px solid color-mix(in srgb,var(--key) 45%,transparent);border-bottom:0;border-radius:3px 3px 0 0}
.structure__group--rna{grid-column:4}
.structure__part{grid-row:2}
.structure__part figure{margin:0 0 1.05rem;border-radius:var(--r);overflow:hidden;border:1px solid var(--line);
  background:radial-gradient(ellipse at 50% 42%,#10212A 0%,#0A121A 62%,#070C12 100%)}
.structure__part img{display:block;width:100%;height:auto}
.structure__part h3{margin-bottom:.5rem}
.structure__part p{margin:0;font-size:.92rem;line-height:1.6}
/* Each named piece is set in the colour it is rendered in, so the word and the thing in the
   picture above it are tied together. Colours are the render palette (hologram_build/molecule.py):
   dbd ice blue, clasp/finger pink, en amber, rt cyan, rna violet, dna green. */
.structure__part .key{font-weight:600;color:var(--key,inherit)}
.key--hth{--key:#9CC8FF}   /* protein_dbd — the helix-turn-helix */
.key--finger{--key:#FFA9DC} /* protein_clasp — the beta finger */
.key--en{--key:#FFB547}    /* protein_en — the nicking endonuclease */
.key--rt{--key:#4FE3EB}    /* protein_rt — the reverse transcriptase */
.key--rna{--key:#C3B2FF}   /* the intron RNA */
/* Only the protein's own domains and the RNA are keyed; the target DNA is deliberately not,
   so each caption colours the one piece the render is actually about. */
@media(max-width:1150px){
  .structure{grid-template-columns:repeat(3,minmax(0,1fr))}
  .structure__intro{grid-template-columns:1fr;gap:1.2rem}
  .structure__group,.structure__part{grid-row:auto}
  .structure__group{grid-column:1/-1}
  .structure__group--rna{margin-top:clamp(1rem,3vw,1.75rem)}
}
@media(max-width:720px){.structure{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:430px){.structure{grid-template-columns:1fr;row-gap:1.6rem}}

/* ============================================================
   WARM PAPER — About's origin block and the home page's light band
   ============================================================ */
/* A warm off-white (#F3F2EE), halfway between the site's cool white and a cream; the blend
   stops are mixed halfway too. --bleed is redeclared here: declared on :root it resolves
   against the root --paper, so it would still fade to white. */
.paper--warm{--paper:#F3F2EE;
  --bleed:rgba(6,150,161,0) 0%,rgba(6,150,161,.05) 34%,rgba(57,130,132,.12) 52%,
    rgba(140,171,166,.26) 68%,rgba(199,208,203,.52) 82%,rgba(232,234,230,.82) 92%,
    var(--paper) 100%}

/* ============================================================
   ABOUT — origin. Two columns that stagger: the heading and the first
   chapter run down the left; the multichannel photo heads the right
   column with the second chapter under it, so the photo never pushes
   the whole story down. Three voices only: the serif openers, one size
   of plain prose, the mono eyebrow. On a phone it all stacks, the
   photo under the heading.
   ============================================================ */
.origin__head{display:grid;grid-template-columns:minmax(0,1fr);gap:1.6rem;margin-bottom:clamp(1.8rem,3.4vw,2.8rem)}
.origin__tags{display:flex;align-items:center;margin-bottom:1.2rem}
.origin__tags .eyebrow{margin:0}
.figure--origin{margin:0}
/* a wide 2:1 crop keeps the photo full-column but shorter than 16:9 */
.figure--origin img{height:auto;aspect-ratio:2/1;object-fit:cover;object-position:50% 64%}
.origin__body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  column-gap:clamp(2.5rem,5vw,4.5rem);align-items:start}
.origin__story{min-width:0}
.origin__story p{font-size:clamp(1.06rem,.92rem + .3vw,1.2rem);line-height:1.66;font-weight:400;margin-bottom:1.1em}
.origin__story p:last-child{margin-bottom:0}
/* Key names and claims stand out of the prose in a firmer weight. */
.section--paper .origin__story strong{font-weight:500;color:inherit}
.section--paper .origin__story :is(.origin__lead,.origin__sub){font-family:var(--f-serif);font-weight:450;letter-spacing:-.015em;
  font-size:clamp(1.35rem,1.9vw,1.7rem);line-height:1.25;color:var(--paper-ink);margin:0 0 1.1rem}
@media(min-width:861px){
  .origin{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    column-gap:clamp(2.5rem,5vw,4.5rem);row-gap:clamp(1.8rem,3vw,2.6rem);align-items:start}
  .origin__head,.origin__body{display:contents}
  .origin__head>div{grid-column:1;grid-row:1;align-self:end}
  .figure--origin{grid-column:2;grid-row:1 / span 2}
  .origin__story:first-child{grid-column:1;grid-row:2 / span 2}
  .origin__story:last-child{grid-column:2;grid-row:3}
}
@media(max-width:860px){
  .origin__body{grid-template-columns:minmax(0,1fr)}
  .origin__story+.origin__story{margin-top:clamp(2.2rem,6vw,3rem)}
  .figure--origin{max-width:640px}
  .figure--origin img{aspect-ratio:16/9;object-position:50% 62%}
}

/* ============================================================
   LIGHT BAND (home) — Platform + Why it matters on one warm-paper
   band, blended into the dark either side like About's origin
   block. The mechanism stage and the compare widget stay dark:
   they read as dark cards on the band.
   ============================================================ */
.paper-band{position:relative;z-index:2;padding-block:0;--band-line:rgba(8,12,18,.14)}
.paper-band :is(h2,h3,.h4){color:var(--paper-ink)}
.paper-band p,.paper-band .lede,.paper-band .mech__description{color:#43505C}
.paper-band :is(em,.eyebrow,.mech__num){color:var(--teal)}
.paper-band .mech__steps,.paper-band .mech__step{border-color:var(--band-line)}
.paper-band .mech__step.is-active .mech__bar{background:var(--teal)}
.paper-band .sep{background:linear-gradient(90deg,transparent,var(--band-line) 20%,var(--band-line) 80%,transparent)}
/* the dark cards keep the site's own dark-ground colours inside */
.paper-band .compare{border-color:transparent;box-shadow:0 24px 50px -30px rgba(0,0,0,.45)}
.paper-band .compare :is(p,h3,.h4){color:var(--text-2)}
.paper-band .compare em{color:var(--teal-br)}
.paper-band .mech__stage{border-color:transparent;box-shadow:0 24px 50px -30px rgba(0,0,0,.45)}
.paper-band .card__more{color:#1f7a72}
/* the band's headline accent, so the mechanism headings match the section opener */
.paper-band .mech__heading h2 em{color:#347f72}
.paper-band .mech__standfirst{color:var(--paper-ink)}
.paper-band .mech__standfirst em{color:#347f72}

/* ============================================================
   ABOUT — the problem. The statement holds the left column and
   the three limits stack beside it, each on its own rule, so the
   whole section reads across rather than running down the page.
   ============================================================ */
.problem__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(2rem,5vw,5rem);align-items:start}
.problem__statement{font-family:var(--f-serif);font-weight:300;letter-spacing:-.025em;
  font-size:clamp(1.8rem,3.1vw,2.7rem);line-height:1.14;margin:0;color:var(--text);max-width:19ch}
.problem__statement em{font-style:italic;color:var(--teal-br)}
/* The limits column: a coral tag, the three limits, then the line that closes them. The tag uses
   the same marker as the home page's "today's tools" comparisons, so coral reads the same
   everywhere: a limit of the existing tools, never one of ours. */
.problem__limits{min-width:0}
.problem__tag{font-family:var(--f-mono);font-size:.72rem;font-weight:500;letter-spacing:.18em;
  line-height:1;text-transform:uppercase;color:var(--coral);
  display:inline-flex;align-items:center;gap:.6rem;margin:0 0 clamp(1rem,1.8vw,1.5rem)}
.problem__tag i{width:6px;height:6px;border-radius:50%;background:currentColor;
  box-shadow:0 0 12px currentColor;flex:none}
.problem__close{margin:clamp(1.6rem,3vw,2.4rem) 0 0;max-width:38ch;
  font-size:clamp(1.05rem,1.4vw,1.22rem);line-height:1.55;color:var(--text-2)}
.problem__close span{color:var(--text)}
.problem__list{list-style:none;margin:0;padding:0;display:grid;gap:0}
.problem__item{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);
  align-items:center;gap:clamp(1rem,2vw,1.8rem);
  padding:clamp(1.1rem,2vw,1.6rem) 0;border-top:1px solid var(--line)}
.problem__item:last-child{border-bottom:1px solid var(--line)}
/* each item's own length of coral along its rule, drawn in as it arrives */
.problem__item::before{content:"";position:absolute;left:0;right:0;top:-1px;height:1px;
  background:var(--coral);transform:scaleX(0);transform-origin:left;
  transition:transform 1.1s var(--ease) .15s}
.problem__item.is-in::before{transform:scaleX(1)}
.problem__n{font-family:var(--f-mono);font-size:clamp(2rem,3.4vw,3rem);
  font-weight:300;line-height:1;letter-spacing:-.04em;
  color:transparent;-webkit-text-stroke:1px rgba(255,106,69,.55);
  transition:-webkit-text-stroke-color .5s var(--ease),color .5s var(--ease)}
.problem__item h3{margin:0;font-size:1.08rem;max-width:20ch}
@media(hover:hover){
  .problem__item:hover .problem__n{color:rgba(255,106,69,.14);-webkit-text-stroke-color:var(--coral)}
}
/* The statement sits on a stack of rounded tiles to lift it off the black: an indigo block, a
   violet tile behind its bottom-left, a green one behind its top-right, and a coral chip — the
   coral of the three limits — over its right edge. The chip stays in the block's padding, never
   under the text. Side by side, most of the block's padding is taken back out with negative
   margins, so the section grows by only --tgive of it and the block spreads the rest into the
   section's own top and bottom space; it's also pulled left into the gutter, as far as the tile
   behind it leaves room for, and in from the right, to stand clear of the list. */
.problem__intro{
  --tpad:clamp(1.8rem,3.6vw,3.2rem);
  --to:clamp(14px,1.8vw,26px);             /* the step a tile sits off the block */
  --tw:clamp(40px,5vw,72px);               /* the chip */
  --tgive:.6;                              /* share of the padding the section grows by (0-1) */
  position:relative;isolation:isolate;padding:var(--tpad)}
.problem__intro>p{position:relative;z-index:2}
.problem__intro .problem__close{color:#C1C7DD}
.tiles{position:absolute;inset:0;pointer-events:none}
.tiles i{position:absolute;border-radius:12px}
.tiles__main{inset:0;background:#1B2348;z-index:0}
.tiles__back{width:56%;aspect-ratio:1;left:calc(var(--to) * -1);bottom:calc(var(--to) * -1);background:#3A2C80;z-index:-1}
.tiles__back2{width:38%;aspect-ratio:1;right:calc(var(--to) * -1);top:calc(var(--to) * -1);background:#17604F;z-index:-1}
.tiles i.tiles__chip{width:var(--tw);aspect-ratio:1;right:calc(var(--tw) / -2);bottom:28%;background:var(--coral);border-radius:7px;z-index:1}
@media(min-width:861px){
  .problem__intro{
    margin-top:calc(var(--tpad) * (var(--tgive) - 1));margin-bottom:calc(var(--tpad) * (var(--tgive) - 1));
    margin-left:calc(-1 * min(var(--tpad),max(0px,max(var(--pad),(100vw - var(--maxw)) / 2 + var(--pad)) - var(--to) * 1.6 - 14px)));
    margin-right:clamp(12px,3vw,48px)}
}
@media(max-width:860px){
  .problem__grid{grid-template-columns:1fr;gap:clamp(1.8rem,5vw,2.6rem)}
  .tiles i.tiles__chip{right:-12px}
  .problem__item::before{transition-delay:0s}
  .problem__n{font-size:1.9rem}
}

/* ============================================================
   THE SCIENCE — the Intron Complex assembling. The home hero's original
   20 s cut (protein, RNA, DNA, name, 360° turn) on a star field,
   with a small card pointing to the preprint beneath the title.
   ============================================================ */
.assembly{padding-top:calc(var(--navh,86px) + clamp(1.5rem,4vw,3.25rem));padding-bottom:clamp(1.5rem,4vw,3rem);overflow:clip}
.assembly__grid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
  grid-template-areas:"head media" "paper media";column-gap:clamp(2rem,5vw,5rem);align-content:start}
.assembly__head{grid-area:head;align-self:start;padding-top:clamp(.5rem,5vh,3.5rem);padding-bottom:clamp(1.6rem,3vw,2.5rem)}
.assembly__head h1{font-size:clamp(2.4rem,5.4vw,5.5rem);white-space:nowrap}
.assembly__head .lede{max-width:36ch;margin-top:1.2rem;font-size:clamp(1rem,1.3vw,1.15rem)}

/* the render's own 1360×1280 canvas; the molecule sits a little left of centre and below it */
.assembly__media{grid-area:media;align-self:center;position:relative;margin:0 calc(-1 * clamp(0px,3vw,48px)) 0 0;aspect-ratio:1360/1280;isolation:isolate}
.assembly__media>:is(.assembly__still,video){position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.assembly__still{opacity:0}
.assembly__media[data-still] .assembly__still{opacity:1;transition:opacity 1s var(--ease) .3s}
.assembly__media .hero__labels{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;font-optical-sizing:none}
.assembly__name{position:absolute;left:50%;top:1.5%;width:52.8%;height:auto;opacity:0;transform:translate(-50%,.6rem);
  filter:drop-shadow(0 0 18px rgba(79,227,235,.18));transition:opacity 1.4s var(--ease),transform 1.4s var(--ease)}
.assembly__media:is([data-done],[data-still]) .assembly__name{opacity:1;transform:translate(-50%,0)}
/* the ground it assembles on: a slow light behind the complex, and the faint rings of an instrument's
   field of view that brighten once it is whole */
.assembly__media::before{content:"";position:absolute;inset:6% 8% 4% 4%;z-index:-2;pointer-events:none;border-radius:50%;
  background:radial-gradient(closest-side,rgba(6,150,161,.16),rgba(124,92,255,.05) 55%,transparent);
  animation:asmBreathe 9s ease-in-out infinite alternate}
.assembly__orbit{position:absolute;left:46%;top:53%;width:96%;aspect-ratio:1;z-index:-1;pointer-events:none;
  transform:translate(-50%,-50%);border-radius:50%;opacity:.55;transition:opacity 2s var(--ease);
  background:repeating-radial-gradient(circle,transparent 0 calc(16.5% - 1px),rgba(164,206,212,.13) calc(16.5% - 1px) 16.5%);
  -webkit-mask-image:radial-gradient(closest-side,#000 40%,transparent 100%);
          mask-image:radial-gradient(closest-side,#000 40%,transparent 100%)}
.assembly__orbit::after{content:"";position:absolute;inset:0;border-radius:50%;
  background:linear-gradient(90deg,transparent calc(50% - .5px),rgba(164,206,212,.09) 0 calc(50% + .5px),transparent 0),
             linear-gradient(transparent calc(50% - .5px),rgba(164,206,212,.09) 0 calc(50% + .5px),transparent 0)}
.assembly__orbit::before{content:"";position:absolute;inset:0;border-radius:50%;opacity:0;transition:opacity 2s var(--ease);
  background:conic-gradient(from 0deg,transparent 0 86%,rgba(79,227,235,.16) 99.6%,transparent)}
.assembly__media:is([data-done],[data-still]) .assembly__orbit{opacity:1}
.assembly__media[data-done] .assembly__orbit::before{opacity:1}
@media(prefers-reduced-motion:no-preference){.assembly__orbit::before{animation:asmSweep 10s linear infinite}}
@keyframes asmSweep{to{transform:rotate(1turn)}}
@keyframes asmBreathe{to{opacity:.6;transform:scale(.96)}}

/* the preprint — a plain reference under the lede, set like a citation */
.assembly__paper{grid-area:paper;align-self:start;max-width:30rem}
.preprint{display:grid;gap:.35rem;
  padding-top:1.1rem;border-top:1px solid var(--line);color:inherit;text-decoration:none}
.preprint__tag{font-family:var(--f-mono);font-size:.62rem;font-weight:500;letter-spacing:.16em;text-transform:uppercase;color:var(--text-3)}
.preprint__title{font-family:var(--f-serif);font-weight:300;font-size:1.45rem;line-height:1.3;letter-spacing:-.01em;color:var(--text);
  background:linear-gradient(currentColor,currentColor) 0 100%/0 1px no-repeat;transition:background-size .5s var(--ease)}
.preprint__body{font-size:.97rem;line-height:1.6;color:var(--text-2)}
/* the call to action is set as a .btn (home-page hero), lifting when anywhere on the card is hovered */
.preprint__cta{justify-self:start;display:inline-flex;align-items:center;gap:.55rem;margin-top:.85rem;
  padding:.72rem 1.2rem;border-radius:6px;background:var(--teal);color:#fff;
  font-size:.875rem;font-weight:500;letter-spacing:.005em;line-height:1.2;
  transition:transform .2s ease,box-shadow .2s ease,filter .2s}
.preprint__cta svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;
  transition:transform .2s ease}
.preprint:hover .preprint__cta{transform:translateY(-2px);filter:brightness(1.08);box-shadow:0 6px 14px -8px rgba(0,0,0,.45)}
.preprint:active .preprint__cta{transform:translateY(0);box-shadow:none;transition-duration:.08s}
.preprint:hover .preprint__cta svg{transform:translateX(2px)}
.preprint:focus-visible{outline:2px solid var(--teal);outline-offset:5px}

/* the targets it has been pointed at — a plain spec table, no ornament */
.targets{margin-top:1.5rem;padding-top:1.2rem;border-top:1px solid var(--line)}
.targets__claim{font-size:1.29rem;line-height:1.5;color:var(--text);margin:0 0 1.1rem;max-width:42ch;font-weight:600}
.targets__lead{font-size:1.02rem;line-height:1.55;color:var(--text-2);margin:0 0 .6rem;max-width:42ch}
.targets__list{list-style:none;margin:0;padding:0}
.targets__list li{display:flex;align-items:baseline;justify-content:space-between;gap:1.2rem;
  padding:.62rem 0;border-bottom:1px solid var(--line)}
.targets__item{display:grid!important;grid-template-columns:minmax(0,1fr);justify-content:stretch;
  align-items:stretch;gap:.7rem}
.targets__row{display:flex;width:100%;align-items:baseline;justify-content:space-between;gap:1.2rem}
.targets__grant{justify-self:end;display:inline-flex;align-items:center;gap:.5rem;padding:.42rem .8rem;
  border:1px solid var(--line);border-radius:3px;font-family:var(--f-mono);font-size:.6rem;font-weight:500;
  letter-spacing:.14em;text-transform:uppercase;color:var(--text-2);text-decoration:none;
  transition:border-color .35s var(--ease),color .35s var(--ease)}
.targets__grant svg{width:13px;height:13px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;
  transition:transform .35s var(--ease)}
.targets__grant:hover{border-color:color-mix(in srgb,var(--teal-br) 42%,transparent);color:var(--text)}
.targets__grant:hover svg{transform:translateX(3px)}
.targets__grant:focus-visible{outline:2px solid var(--teal);outline-offset:4px}
.targets__name{font-size:1.22rem;font-weight:650;color:var(--text);letter-spacing:-.012em}
.targets__for{font-size:.95rem;color:var(--text-2);text-align:right;white-space:nowrap}
.targets__note{font-size:.88rem;line-height:1.55;color:var(--text-3);margin:.85rem 0 0;max-width:42ch}

/* narrow: the target rows stack rather than squeeze, now the type is larger */
@media(max-width:560px){
  .targets__list li,.targets__row{flex-direction:column;align-items:flex-start;gap:.15rem}
  .targets__for{text-align:left;white-space:normal}
}

@media(max-width:900px){
  .assembly__grid{grid-template-columns:1fr;grid-template-areas:"head" "media" "paper"}
  .assembly__head{padding-top:0;padding-bottom:0}
  /* "The Intron Complex" is wider than a small phone: let it break there */
  .assembly__head h1{white-space:normal;text-wrap:balance}
  .assembly__paper{max-width:none}
  .assembly__media{margin:.5rem auto 1.5rem;width:min(100%,560px)}
}

/* ---------- news (blog.html) — a lead story set large, then a card grid ---------- */
.news-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem .9rem;font-family:var(--f-mono);font-size:.66rem;
  font-weight:500;letter-spacing:.16em;text-transform:uppercase;color:var(--text-3)}
.news-tag{--tag:var(--teal-br);display:inline-flex;align-items:center;gap:.5rem;padding:.4rem .75rem .4rem .65rem;border-radius:999px;
  border:1px solid color-mix(in srgb,var(--tag) 38%,transparent);background:color-mix(in srgb,var(--tag) 8%,transparent);
  color:var(--tag);letter-spacing:.14em}
.news-tag::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;box-shadow:0 0 8px currentColor}
.news-tag--partner{--tag:#A592FF}
.news-tag--funding{--tag:#8FD9B6}

.news-feature{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);border:1px solid var(--line);border-radius:18px;
  overflow:hidden;background:var(--panel)}
/* the picture's well: a soft teal glow with a violet corner, kept low (cut to about a third of
   its first strength, 2026-11-26) so the molecule leads */
.news-feature__media{position:relative;display:block;aspect-ratio:1/1;overflow:hidden;
  background:radial-gradient(62% 58% at 50% 46%,rgba(6,150,161,.1),rgba(6,150,161,0) 72%),
    radial-gradient(40% 40% at 78% 82%,rgba(124,92,255,.06),transparent 70%),linear-gradient(160deg,#0F1B24,#080C12 70%)}
/* the picture holds still: no zoom on hover (removed 2026-11-26) */
.news-feature__media img{position:absolute;inset:7%;width:86%;height:86%;object-fit:contain;
  filter:drop-shadow(0 18px 30px rgba(0,0,0,.38))}
.news-feature__caption{position:absolute;left:1.25rem;bottom:1.1rem;font-family:var(--f-mono);font-size:.62rem;letter-spacing:.18em;
  text-transform:uppercase;color:rgba(233,239,244,.55)}
.news-feature__body{display:flex;flex-direction:column;justify-content:center;padding:clamp(1.75rem,4.5vw,4rem)}
.news-feature__title{font-size:clamp(1.9rem,3.2vw,2.8rem);line-height:1.06;letter-spacing:-.02em;color:var(--text);
  margin:1.4rem 0 1.1rem;max-width:18ch}
.news-feature__body p{font-size:1rem;line-height:1.65;color:var(--text-2);margin:0;max-width:50ch}
.news-feature__actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:2.1rem}

.news-section-head{display:flex;align-items:center;gap:1.1rem;margin:clamp(3.5rem,7vw,5.5rem) 0 1.75rem;
  font-family:var(--f-mono);font-size:.7rem;font-weight:500;letter-spacing:.22em;text-transform:uppercase;color:var(--text-3)}
.news-section-head::after{content:"";flex:1;height:1px;background:var(--line)}

.news-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(1.25rem,2.5vw,2rem)}
.news-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--panel);
  color:inherit;text-decoration:none;transition:border-color .3s,transform .5s var(--ease),box-shadow .5s var(--ease)}
.news-card:hover{border-color:var(--line-2);transform:translateY(-4px);box-shadow:0 28px 44px -30px rgba(0,0,0,.8)}
/* Floating in: the card's own transition (quick, for the hover lift) would otherwise override
   .reveal's, so its opacity snapped on while the rise ran fast — a pop, not a float. The rise is
   an animation instead, at .reveal's pace and stagger, and lets go when done so the hover still
   answers quickly. */
.news-card.reveal.is-in{animation:newsIn 1s var(--ease) backwards}
.news-card.reveal.is-in[data-d="1"]{animation-delay:.09s}
.news-card.reveal.is-in[data-d="2"]{animation-delay:.18s}
@keyframes newsIn{from{opacity:0;transform:translateY(26px)}}
.news-card:focus-visible{outline:2px solid var(--teal-br);outline-offset:4px}
/* the press illustrations are square on cream: show them whole on a matching cream well */
.news-card__media{aspect-ratio:16/9;overflow:hidden;background:#EEECDF}
.news-card__media img{width:100%;height:100%;object-fit:contain;transition:transform 1.1s var(--ease)}
.news-card:hover .news-card__media img{transform:scale(1.04)}
.news-card__body{display:flex;flex-direction:column;flex:1;padding:clamp(1.3rem,2.6vw,1.9rem)}
.news-card__title{font-family:var(--f-serif);font-weight:300;font-size:clamp(1.3rem,1.9vw,1.6rem);line-height:1.18;letter-spacing:-.01em;
  color:var(--text);margin:1.1rem 0 .75rem}
.news-card__body p{font-size:.92rem;line-height:1.6;color:var(--text-2);margin:0}
.news-card:hover .card__more svg{transform:translateX(3px)}
.news-card .card__more svg{transition:transform .3s var(--ease)}

/* the page border: a line down each margin, halfway out from the content, from the top of the page
   to the footer, shading from teal through violet to a touch of coral and fading at both ends
   (settled 2026-11-26 over plain, double, ruled, dotted and helix lines) */
.news-page{position:relative;display:block}
.news-page::before,.news-page::after{
  --x:calc(max(var(--pad),(100% - var(--maxw)) / 2 + var(--pad)) * .5);
  content:"";position:absolute;top:0;bottom:0;width:1px;pointer-events:none;z-index:0;
  background:linear-gradient(to bottom,rgba(79,227,235,0),rgba(79,227,235,.4) 12%,rgba(169,139,255,.38) 55%,
    rgba(255,106,69,.3) 88%,rgba(255,106,69,0))}
.news-page::before{left:var(--x);transform:translateX(-50%)}
.news-page::after{right:var(--x);transform:translateX(50%)}

@media(max-width:860px){
  .news-page::before,.news-page::after{display:none}
  .news-feature{grid-template-columns:1fr}
  .news-feature__media{aspect-ratio:4/3}
  .news-grid{grid-template-columns:1fr}
}

/* ---------- "Halo around" — the site's background ----------
   The black, with soft patches of lift scattered down the page behind everything for a sense of
   depth. Two tiles of different heights repeat down the body, so the patches don't fall into an
   obvious pattern. Each patch's strength is a variable (--ha1..5) so a page can turn one down: the
   first (top left) is kept faint, as it sits behind the opening copy. */
body{
  --ha1:.2;--ha2:.38;--ha3:.32;--ha4:.36;--ha5:.34;
  background-color:var(--ink);
  background-image:
    radial-gradient(46vw 520px at 8% 18%,rgba(38,52,70,var(--ha1)),rgba(38,52,70,0) 70%),
    radial-gradient(38vw 460px at 88% 52%,rgba(34,48,64,var(--ha2)),rgba(34,48,64,0) 70%),
    radial-gradient(30vw 380px at 46% 88%,rgba(40,54,72,var(--ha3)),rgba(40,54,72,0) 70%),
    radial-gradient(34vw 440px at 74% 12%,rgba(30,44,60,var(--ha4)),rgba(30,44,60,0) 70%),
    radial-gradient(42vw 500px at 22% 64%,rgba(36,50,68,var(--ha5)),rgba(36,50,68,0) 70%);
  background-size:100% 1700px,100% 1700px,100% 1700px,100% 2650px,100% 2650px;
  background-repeat:repeat-y}
/* The Science: placed by hand (positions from the top of the page, at desktop width). Nothing
   behind the Intron Complex at the top right; the patch below it on the right turned well down;
   the one at the bottom left of Inside the complex eased a little. Patches under the light band
   are left out. */
body:has(#intron-complex){
  background-repeat:no-repeat;background-size:auto;
  background-image:
    radial-gradient(46vw 520px at 8% 306px,rgba(38,52,70,.2),rgba(38,52,70,0) 70%),
    radial-gradient(38vw 460px at 88% 884px,rgba(34,48,64,.12),rgba(34,48,64,0) 70%),
    radial-gradient(30vw 380px at 46% 1496px,rgba(40,54,72,.32),rgba(40,54,72,0) 70%),
    radial-gradient(42vw 500px at 22% 1696px,rgba(36,50,68,.24),rgba(36,50,68,0) 70%),
    radial-gradient(46vw 520px at 8% 2006px,rgba(38,52,70,.2),rgba(38,52,70,0) 70%),
    radial-gradient(46vw 520px at 8% 3706px,rgba(38,52,70,.2),rgba(38,52,70,0) 70%),
    radial-gradient(38vw 460px at 88% 4284px,rgba(34,48,64,.12),rgba(34,48,64,0) 70%),
    radial-gradient(42vw 500px at 22% 4346px,rgba(36,50,68,.34),rgba(36,50,68,0) 70%)}

/* About: placed by hand (positions from the top of the page, at desktop width) so single patches
   can move. Opening dark band (0-1380px): faint top left, top right, the one beside the problem list
   moved to its bottom left and eased, and one hung just off the bottom-right corner. Team section:
   all eased, the bottom-right one most. Then the closing panel and footer as before. Patches under
   the light origin band are left out. Everything below that band sits 49px higher than it was first
   placed, to match the origin block's height with its photo and staggered columns. */
body:has(#team){
  background-repeat:no-repeat;background-size:auto;
  background-image:
    radial-gradient(46vw 520px at 8% 306px,rgba(38,52,70,.2),rgba(38,52,70,0) 70%),
    radial-gradient(34vw 440px at 74% 318px,rgba(30,44,60,.36),rgba(30,44,60,0) 70%),
    radial-gradient(38vw 440px at 10% 1230px,rgba(34,48,64,.28),rgba(34,48,64,0) 70%),
    radial-gradient(38vw 450px at 101% 1408px,rgba(34,48,64,.46),rgba(34,48,64,0) 70%),
    radial-gradient(38vw 460px at 88% 2535px,rgba(34,48,64,.22),rgba(34,48,64,0) 70%),
    radial-gradient(34vw 440px at 74% 2919px,rgba(30,44,60,.22),rgba(30,44,60,0) 70%),
    radial-gradient(30vw 380px at 46% 3147px,rgba(40,54,72,.19),rgba(40,54,72,0) 70%),
    radial-gradient(46vw 520px at 8% 3657px,rgba(38,52,70,.12),rgba(38,52,70,0) 70%),
    radial-gradient(38vw 460px at 88% 4235px,rgba(34,48,64,.1),rgba(34,48,64,0) 70%),
    radial-gradient(42vw 500px at 22% 4297px,rgba(36,50,68,.2),rgba(36,50,68,0) 70%),
    radial-gradient(30vw 380px at 46% 4847px,rgba(40,54,72,.32),rgba(40,54,72,0) 70%),
    radial-gradient(46vw 520px at 8% 5357px,rgba(38,52,70,.2),rgba(38,52,70,0) 70%),
    radial-gradient(34vw 440px at 74% 5569px,rgba(30,44,60,.36),rgba(30,44,60,0) 70%)}

/* News: every patch eased for now */
body:has(.news){--ha1:.11;--ha2:.2;--ha3:.17;--ha4:.19;--ha5:.18}

/* Home: placed by hand instead of the repeating tiles. */
body:has(.hero){background-image:none}
/* the hero darkens its own edges (.hero::after above), so its patches ride on top of that
   vignette: just a very faint one bottom right — the top stays plain black */
.hero::after{
  background:
    radial-gradient(34vw 340px at 90% 94%,rgba(34,48,64,.14),rgba(34,48,64,0) 70%),
    radial-gradient(115% 80% at 78% 42%,transparent 30%,color-mix(in srgb,var(--ink) 72%,transparent) 72%,var(--ink) 100%)}
/* Applications: a single faint patch, bottom right */
#applications::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(36vw 380px at 88% 86%,rgba(34,48,64,.2),rgba(34,48,64,0) 70%)}

/* ============================================================
   PHONES (≤720px, the nav's breakpoint). Kept last so they win
   over the page-by-page patches above; nothing here reaches a
   wider screen except .cards__dots staying hidden.
   ============================================================ */
.cards__dots,.cards__arrow{display:none}
.cards__frame{position:relative}
@media(max-width:720px){
  /* Home hero, stacked: the headline first, then the complex (its assembly still plays in the first
     screen), then the helix, which site.js draws through the room left under the complex
     (--helix-slot), then the copy. .hero__inner and .hero__copy step aside (display:contents) so the
     headline, the complex and the copy can interleave as the hero's own flex items. The complex runs
     edge to edge, with its callouts set 1.3x the render's size (--label-scale, read by site.js). */
  .hero{--helix-slot:1;min-height:0}
  .hero__inner,.hero__copy{display:contents}
  .hero h1,.hero .lede,.hero__actions{position:relative;z-index:3;padding-inline:var(--pad)}
  .hero h1{order:1;margin-top:2rem}
  .hero__media{order:2;width:100%;margin:1.75rem 0 clamp(7.5rem,36vw,9.5rem);--label-scale:1.3}
  .hero .lede{order:3}
  .hero__actions{order:4}
  .hero--to-band .hero__media{top:auto}
  /* the headline's lines run on as words allow (two lines at phone widths) rather than one per line */
  .hero h1{max-width:none;font-size:clamp(2.2rem,9.3vw,2.75rem);line-height:1.06}
  .hero h1 .ln{display:inline-block;vertical-align:top}
  .hero .lede{margin-top:0}
  .hero__actions{margin-top:1.8rem}
  /* the vignette centred on the stacked hero, so the helix isn't dimmed toward one side */
  .hero::after{background:radial-gradient(140% 70% at 50% 45%,transparent 40%,color-mix(in srgb,var(--ink) 60%,transparent) 80%,var(--ink) 100%)}

  /* the mission's tiles start out flung past the right edge (impact.css) and widened the page
     until they flew in; clip sideways only, so the band's washes still reach above and below it */
  .paper-band{overflow-x:clip}

  /* every .split collapses to one column: twelve tracks and their gaps are wider than a phone */
  .split{grid-template-columns:minmax(0,1fr)}
  .split>*{grid-column:1/-1}

  /* Applications: the cards become one sideways strip that snaps card by card, each 85% wide so
     the next one shows at the edge; dots under it (site.js) mark the card in view. */
  .cards{display:flex;gap:.85rem;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;
    margin-inline:calc(-1 * var(--pad));padding-inline:var(--pad);scroll-padding-inline:var(--pad);
    scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .cards::-webkit-scrollbar{display:none}
  .cards>.card{flex:0 0 85%;scroll-snap-align:start;scroll-snap-stop:always}
  .cards>.card:hover{transform:none}
  .card__media{aspect-ratio:16/10}
  .card__body{padding:1.3rem 1.25rem 1.5rem}
  .cards__dots{display:flex;justify-content:center;gap:.25rem;margin-top:1rem}
  .cards__dots button{width:28px;height:28px;padding:0;border:0;background:none;cursor:pointer;
    display:grid;place-items:center;-webkit-tap-highlight-color:transparent}
  .cards__dots button::before{content:"";width:6px;height:6px;border-radius:3px;background:var(--line-2);
    transition:width .35s var(--ease),background-color .35s var(--ease)}
  .cards__dots button[aria-current]::before{width:20px;background:var(--teal-br)}
  .cards__dots button:focus-visible{outline:2px solid var(--teal-br);outline-offset:-4px;border-radius:8px}
  /* the previous / next arrows (site.js): the phone menu button's 44px outlined circle, on a dark
     glass fill so they read over the pictures, centred on the first card's picture (--arrow-y);
     the one with nowhere to go fades out */
  .cards__arrow{display:grid;place-items:center;position:absolute;z-index:2;top:var(--arrow-y,40%);width:44px;height:44px;
    margin-top:-22px;padding:0;border:1px solid rgba(233,238,242,.28);border-radius:50%;color:var(--text);cursor:pointer;
    background:rgba(5,7,10,.58);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
    box-shadow:0 6px 18px -8px rgba(0,0,0,.7);-webkit-tap-highlight-color:transparent;
    transition:opacity .3s var(--ease),border-color .3s var(--ease),background-color .3s var(--ease),scale .15s ease}
  .cards__arrow svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
  .cards__arrow--prev{left:calc(6px - var(--pad))}   /* a few px in from the screen edge */
  .cards__arrow--next{right:calc(6px - var(--pad))}
  .cards__arrow--next svg{transform:scaleX(-1)}
  .cards__arrow:active{scale:.94;background:rgba(6,150,161,.45);border-color:rgba(79,227,235,.6)}
  .cards__arrow:focus-visible{outline:2px solid var(--teal-br);outline-offset:3px}
  .cards__arrow:disabled{opacity:0;pointer-events:none}
  /* arrows only on the Science page's "Inside the complex" strip; the Applications strips swipe with dots alone */
  .cards__frame:not(:has(>.structure)) .cards__arrow{display:none}
  /* a strip that fades in as one (the home page's) brings its arrows in with it */
  .cards__frame:has(>.reveal:not(.is-in)) .cards__arrow{opacity:0}

  /* The Science, "Inside the complex": the four parts become the same sideways strip, with the same
     dots (site.js). It stays a grid, so each group's name and bracket still sit over its own cards:
     the protein's over the first three, the RNA's over the fourth. The protein's name holds to the
     left edge while its three cards pass under it (sticky), so it is not scrolled away after card one. */
  .structure{grid-template-columns:none;grid-template-rows:auto auto;grid-auto-flow:column;grid-auto-columns:85%;
    column-gap:.85rem;row-gap:1rem;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;
    margin-inline:calc(-1 * var(--pad));padding-inline:var(--pad);scroll-padding-inline:var(--pad);
    scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .structure::-webkit-scrollbar{display:none}
  .structure__group{grid-row:1;grid-column:1/4;margin-top:0}
  .structure__group--rna{grid-column:4}
  .structure__part{grid-row:2;scroll-snap-align:start;scroll-snap-stop:always}
  .structure__label{position:sticky;left:0;display:inline-block;max-width:calc((100vw - 2 * var(--pad)) * .85)}

  /* The Science: the ARIA grant link starts under its row's text, on the same left edge */
  .targets__grant{justify-self:start}

  /* Contact form: one column, roomy full-width fields, 16px text so iOS doesn't zoom on focus,
     and a full-width send button */
  .form-box{padding:1.35rem 1.15rem 1.5rem}
  .field{margin-bottom:1.1rem}
  .field label{font-size:.88rem;margin-bottom:.4rem}
  .field input,.field textarea,.field select{font-size:16px;padding:.8rem .9rem;min-height:48px}
  .field textarea{min-height:140px}
  .form-box .btn[type="submit"]{width:100%;justify-content:center;padding-block:.95rem;font-size:.95rem}
  .form-actions{flex-direction:column-reverse;align-items:stretch;gap:0}
  .form-actions .btn{margin-left:0}
  .form-box [role="status"]{margin-top:1rem}
  .form-box [role="status"]:empty{margin:0}

  /* About, team: three to a row, photos and type scaled to fit; the one-line bios are left out
     here, as at this width they would run to ten lines a person */
  /* the hairlines between people are drawn by each person's outline rather than by the grid's
     ground showing through its gaps, so the empty places in a short last row stay page-dark */
  .team{grid-template-columns:repeat(3,minmax(0,1fr));background:none;border:0}
  .member{outline:1px solid var(--line)}
  .member__body{padding:.6rem .5rem .8rem}
  .member__name{font-size:.78rem;line-height:1.25;letter-spacing:-.005em}
  .member__role{font-size:.52rem;letter-spacing:.08em;line-height:1.45;margin-top:.3rem}
  .member__bio{display:none}
}
