/*
  Palette comes from the periodic acid-Schiff stain used on kidney biopsies:
  --pas is the magenta of basement membranes, --hx is the violet of nuclei.
*/
:root {
  --ink: #111014;
  --paper: #ffffff;
  --tint: #fbeef3;
  --pas: #c4186c;
  --hx: #35298a;
  --muted: #5b5961;
  --hair: rgba(17, 16, 20, 0.18);
  --oro: #d9541e;
  --tri: #1b8a8f;
  --ash: #9a98a0;
  --display: "Archivo", "Arial Narrow", "Helvetica Neue", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --pad: clamp(16px, 4vw, 56px);
  --navh: 56px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--navh); }
body { margin: 0; font-family: var(--display); font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
::selection { background: var(--pas); color: #fff; }
a { color: inherit; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--pas); outline-offset: 3px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

h1, h2, h3, .big { font-family: var(--display); font-stretch: 62%; font-variation-settings: "wdth" 62; font-weight: 800; text-transform: uppercase; line-height: 0.9; letter-spacing: -0.005em; margin: 0; }
h2 { font-size: clamp(2.6rem, 7vw, 6rem); margin-bottom: clamp(28px, 4vw, 56px); text-wrap: balance; }
h3 { font-size: 1.7rem; line-height: 1; }
.label, .head, .fig, .tabs, .mt, .nav nav, .menu, .btn, .textlink, .timeline b, .pubs .n, .pubs .jr, .stat span, footer, .where, .theme i { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto 0; height: var(--navh); z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--pad); background: var(--paper); border-bottom: 1px solid var(--ink); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-stretch: 62%; font-variation-settings: "wdth" 62; font-weight: 800; font-size: 1.5rem; text-transform: uppercase; }
.brand i { width: 14px; height: 14px; background: var(--pas); border-radius: 50%; box-shadow: inset 0 0 0 3px var(--pas), inset 0 0 0 6px #fff; }
.nav nav { display: flex; gap: clamp(16px, 2.6vw, 36px); }
.nav nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav nav a:hover { border-color: var(--pas); }
.menu { display: none; background: none; border: 1px solid var(--ink); padding: 8px 12px; cursor: pointer; color: inherit; }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding-top: var(--navh); display: flex; align-items: flex-end; overflow: hidden; }
.slide { position: absolute; top: var(--navh); right: 0; bottom: 0; width: 62%; }
#field { width: 100%; height: 100%; display: block; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 30%); mask-image: linear-gradient(to right, transparent 0, #000 30%); }
.fig { position: absolute; right: var(--pad); bottom: 18px; margin: 0; max-width: 34ch; background: var(--paper); padding: 8px 10px; border: 1px solid var(--ink); text-transform: none; letter-spacing: 0; line-height: 1.4; }
.hero-text { position: relative; padding: 0 var(--pad) clamp(28px, 5vw, 64px); max-width: 780px; }
.label { color: var(--pas); margin-bottom: 18px; }
.hero h1 { font-size: clamp(4rem, 10.5vw, 12rem); line-height: 0.82; max-width: 5.3em; }
.hero h1 em { font-style: normal; color: var(--pas); }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.3rem); max-width: 40ch; margin: 28px 0; font-weight: 450; }
.cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.btn { display: inline-block; background: var(--ink); color: #fff; padding: 15px 20px; text-decoration: none; transition: background .15s; }
.btn:hover { background: var(--pas); }
.textlink { display: inline-block; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--pas); }
.textlink:hover { color: var(--pas); }

/* Stats */
.stats { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.stat { padding: 22px var(--pad) 20px; border-left: 1px solid var(--ink); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-stretch: 62%; font-variation-settings: "wdth" 62; font-weight: 800; font-size: clamp(3.4rem, 8vw, 7rem); line-height: 0.85; }
.stat span { display: block; margin-top: 12px; color: var(--muted); max-width: 26ch; }

/* Sections */
.sec { padding: clamp(56px, 8vw, 112px) var(--pad); border-bottom: 1px solid var(--ink); }
.head { display: flex; gap: 14px; margin-bottom: clamp(20px, 3vw, 36px); }
.head span:first-child { color: var(--pas); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: start; }
.two h2 { margin-bottom: 0; }
.prose { max-width: 60ch; color: var(--muted); }
.prose p:first-child { color: var(--ink); font-size: 1.3rem; line-height: 1.4; font-weight: 500; }

/* Themes */
.themes { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.theme { padding: 22px 24px 8px 0; border-left: 1px solid var(--hair); padding-left: 24px; }
.theme:first-child { border-left: 0; padding-left: 0; }
.theme i { font-style: normal; color: var(--pas); display: block; margin-bottom: 44px; }
.theme h3 { margin-bottom: 14px; font-size: 2rem; }
.theme p { color: var(--muted); font-size: 0.97rem; }

/* Studies */
.tabs { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-bottom: 20px; }
.tab { font: inherit; letter-spacing: inherit; text-transform: inherit; background: none; border: 0; border-bottom: 2px solid transparent; padding: 8px 0; cursor: pointer; color: var(--muted); }
.tab[aria-selected="true"] { color: var(--ink); border-color: var(--pas); }
.tab sup { margin-left: 4px; color: var(--pas); }
.rows { border-top: 1px solid var(--ink); }
.row { display: grid; grid-template-columns: 1.15fr 1.6fr 1fr; gap: clamp(16px, 3vw, 48px); padding: 22px 0; border-bottom: 1px solid var(--hair); align-items: start; transition: background .15s; }
.row:hover { background: var(--tint); }
.row h3 { display: flex; gap: 12px; align-items: flex-start; font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.row h3::before { content: ""; flex: none; width: 12px; height: 12px; margin-top: 0.22em; border-radius: 50%; background: var(--c, var(--pas)); }
.row[data-group="t2d"] { --c: var(--hx); }
.row[data-group="beyond"] { --c: var(--ink); }
.row .ds b { display: block; font-weight: 600; margin-bottom: 4px; }
.row .ds p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.mt { margin: 0; display: grid; gap: 4px; text-transform: none; letter-spacing: 0; }
.mt div { display: grid; grid-template-columns: 64px 1fr; gap: 8px; }
.mt dt { color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.mt dd { margin: 0; }

/* Publication map: one dot per paper on a UMAP. Data comes from pubs.js. */
#pubmap { margin-bottom: clamp(56px, 8vw, 104px); }
.mchips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.mchip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); background: none; border: 1px solid var(--hair); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.mchip i { width: 10px; height: 10px; border-radius: 50%; }
.mchip sup { font-size: 0.9em; vertical-align: baseline; color: var(--muted); }
.mchip:hover { border-color: var(--ink); }
.mchip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.mchip[aria-pressed="true"] sup { color: #fff; opacity: 0.7; }
.mchip[aria-pressed="true"] i { box-shadow: 0 0 0 2px #fff; }
.map-wrap { display: grid; grid-template-columns: minmax(0, 790px) minmax(260px, 1fr); gap: clamp(20px, 3.5vw, 56px); align-items: start; border-top: 1px solid var(--ink); }
.map-plot { position: relative; min-width: 0; }
.map-plot canvas { display: block; width: 100%; cursor: crosshair; touch-action: pan-y; }
.map-time { display: flex; align-items: center; gap: 14px; padding-top: 12px; border-top: 1px solid var(--hair); font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; color: var(--muted); }
.map-time input { flex: 1; min-width: 0; accent-color: var(--pas); cursor: pointer; }
.map-tip { position: absolute; z-index: 3; width: max-content; max-width: min(300px, 80%); padding: 10px 12px; background: var(--paper); border: 1px solid var(--ink); pointer-events: none; font-size: 0.86rem; font-weight: 600; line-height: 1.3; }
.map-tip span { display: block; margin-top: 6px; font-family: var(--mono); font-size: 0.68rem; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.map-card { padding-top: 22px; max-width: 540px; }
.map-read { margin: 0 0 22px; padding-bottom: 18px; border-bottom: 1px solid var(--hair); }
.map-read b { display: block; font-stretch: 62%; font-variation-settings: "wdth" 62; font-weight: 800; font-size: clamp(3.4rem, 6vw, 5.4rem); line-height: 0.85; }
.map-read span { display: block; margin-top: 10px; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.map-card .label { margin-bottom: 10px; }
.map-card .mtitle { font-size: 1.2rem; font-weight: 600; line-height: 1.25; margin: 0 0 10px; }
.map-card .au { font-size: 0.9rem; color: var(--muted); margin: 0 0 14px; }
.map-card .mtags { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 22px; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; }
.map-card .mtags span { display: inline-flex; align-items: center; gap: 6px; }
.map-card .mtags i { width: 8px; height: 8px; border-radius: 50%; }
/* The abstract sits in a box of fixed height, so the panel does not jump as the reader moves between dots. */
.map-card .mabs { height: 380px; overflow-y: auto; overscroll-behavior: contain; margin: 0 0 22px; padding: 14px 14px 30px 0; border-top: 1px solid var(--hair); font-size: 0.9rem; line-height: 1.5; -webkit-mask-image: linear-gradient(#000 calc(100% - 30px), transparent); mask-image: linear-gradient(#000 calc(100% - 30px), transparent); }
.map-card .mabs:focus-visible { outline: 1px solid var(--pas); outline-offset: 2px; }
.map-card .mabs p { margin: 0 0 10px; }
.map-card .mabs b { margin-right: 4px; font-family: var(--mono); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pas); }
.map-card .mabs .quiet { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.map-card .hint { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 18px 0 0; }

/* Publications */
.pubs { list-style: none; margin: 0 0 32px; padding: 0; border-top: 1px solid var(--ink); }
.pubs a { display: grid; grid-template-columns: 48px 1fr 220px; gap: clamp(12px, 2vw, 32px); padding: 22px 0; border-bottom: 1px solid var(--hair); text-decoration: none; align-items: baseline; }
.pubs .n { color: var(--pas); }
.pubs .ti { font-size: clamp(1.15rem, 1.9vw, 1.6rem); font-weight: 600; line-height: 1.2; }
.pubs a:hover .ti { text-decoration: underline; text-decoration-color: var(--pas); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.pubs .au { display: block; font-size: 0.88rem; font-weight: 400; color: var(--muted); margin-top: 8px; }
.pubs .jr { text-align: right; line-height: 1.5; }
.pubs .jr b { display: block; font-weight: 500; color: var(--muted); }

/* News: one story at a time under the lens. The slide tray below runs like a reel. */
.tray-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px 32px; margin-bottom: clamp(24px, 3.5vw, 44px); }
.tray-head h2 { margin: 0; }
.tray-ctl { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; }
.tray-ctl span { color: var(--muted); margin-right: 10px; }
.tray-ctl button { width: 46px; height: 46px; border: 1px solid var(--ink); background: none; color: inherit; font: inherit; font-size: 1.15rem; cursor: pointer; transition: background .15s, color .15s; }
.tray-ctl button.wide { width: 76px; font-size: inherit; letter-spacing: inherit; text-transform: inherit; }
.tray-ctl button:hover { background: var(--pas); border-color: var(--pas); color: #fff; }
.stage { display: grid; grid-template-columns: minmax(200px, 34%) 1fr; gap: clamp(24px, 4.5vw, 72px); align-items: center; }
.lens { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1; background: var(--ink); color: #fff; display: grid; place-items: center; overflow: hidden; }
.field { position: relative; width: 84%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--tint); }
.field canvas { position: absolute; left: -8%; top: -8%; width: 116%; height: 116%; transform: translate(var(--px, 0%), var(--py, 0%)); transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .4s; }
.field::before, .field::after { content: ""; position: absolute; z-index: 1; background: rgba(17, 16, 20, 0.28); pointer-events: none; }
.field::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.field::after { top: 50%; left: 0; right: 0; height: 1px; }
.stage.rack .field canvas { filter: blur(16px); transform: scale(1.16); }
.an { position: absolute; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; }
.an.tl { left: 12px; top: 12px; }
.an.tr { right: 12px; top: 12px; color: #ff8fc4; }
.an.bl { left: 12px; bottom: 12px; text-transform: none; }
.an.bl i { display: block; width: 52px; height: 2px; background: #fff; margin-bottom: 6px; }
.an.bl b { font-weight: 400; }
.an.br { right: 12px; bottom: 12px; }
.story { display: flex; flex-direction: column; justify-content: center; transition: opacity .32s, filter .32s; }
.stage.rack .story { opacity: 0; filter: blur(8px); }
.story a { display: block; text-decoration: none; }
.story strong { display: block; font-stretch: 62%; font-variation-settings: "wdth" 62; font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 3.8vw, 4rem); line-height: 0.92; text-wrap: balance; margin-bottom: clamp(14px, 1.6vw, 22px); transition: color .15s; }
.story a .sum { display: block; max-width: 58ch; color: var(--muted); font-size: 1.02rem; line-height: 1.5; margin-bottom: clamp(18px, 2.2vw, 28px); }
.story a .go { display: inline-block; background: var(--ink); color: #fff; padding: 15px 20px; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; transition: background .15s; }
.story a:hover strong { color: var(--pas); }
.story a:hover .go { background: var(--pas); }
.tray { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); overflow-x: auto; scrollbar-width: none; margin-top: clamp(24px, 3.5vw, 44px); border: 1px solid var(--ink); }
.tray::-webkit-scrollbar { display: none; }
.glass { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; min-height: 112px; padding: 18px 14px 12px; text-align: left; font: inherit; color: var(--muted); background: none; border: 0; border-left: 1px solid var(--ink); cursor: pointer; transition: background .2s, color .2s; }
.glass:first-child { border-left: 0; }
.glass em, .glass small { font-family: var(--mono); font-size: 0.7rem; font-style: normal; letter-spacing: 0.06em; text-transform: uppercase; }
.glass b { font-stretch: 62%; font-variation-settings: "wdth" 62; font-weight: 800; font-size: 1.3rem; line-height: 0.95; text-transform: uppercase; color: var(--ink); }
.glass i { position: absolute; left: 0; top: 0; height: 5px; width: 0; background: var(--pas); }
.glass:hover, .glass[aria-selected="true"] { background: var(--tint); color: var(--ink); }
.glass[aria-selected="true"] em { color: var(--pas); }
.glass[aria-selected="true"] i { width: 100%; }
.tray.play .glass[aria-selected="true"] i { animation: reel 7s linear forwards; }
.tray.play.hold .glass[aria-selected="true"] i { animation-play-state: paused; }
@keyframes reel { from { width: 0; } to { width: 100%; } }
.fig2 { font-family: var(--mono); font-size: 0.74rem; line-height: 1.4; color: var(--muted); margin: 14px 0 0; max-width: 64ch; }

/* People */
.scope { max-width: 62ch; font-size: 1.3rem; line-height: 1.4; font-weight: 500; margin: 0 0 clamp(36px, 5vw, 64px); }
.team-link { margin: 2px 0 6px; }
.pi { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.portrait { aspect-ratio: 1; background: var(--pas); color: #fff; display: grid; place-items: center; font-stretch: 62%; font-variation-settings: "wdth" 62; font-weight: 800; font-size: 9rem; line-height: 1; overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 30%; }
.pi h2 { font-size: clamp(2.6rem, 6vw, 5rem); margin-bottom: 24px; }
.roles { list-style: none; margin: 0 0 28px; padding: 16px 0 0; border-top: 1px solid var(--ink); }
.roles li { padding: 3px 0; font-weight: 500; line-height: 1.4; }
.roles li.incoming { font-style: italic; color: var(--pas); }
.roles li:not(.incoming) + li.incoming { margin-top: 12px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); margin-top: clamp(40px, 6vw, 80px); }
.sec h3 { margin: 0 0 14px; }
.sec .collab, #teamBlock { margin-top: 0; }
#teamBlock, .split + h3, #teamBlock + h3 { margin-top: clamp(40px, 6vw, 80px); }
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.timeline li { display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--hair); font-size: 0.97rem; }
.timeline b { font-weight: 500; color: var(--pas); padding-top: 3px; }
.team-group h4 { font-family: var(--mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 22px 0 8px; }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); column-gap: 32px; border-top: 1px solid var(--hair); }
.member { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--hair); }
.member img, .member i { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; filter: grayscale(1); transition: filter .2s; }
.member i { display: grid; place-items: center; background: var(--tint); color: var(--pas); font-style: normal; font-weight: 700; font-size: 0.85rem; }
.member:hover img { filter: none; }
.member b { display: block; font-size: 0.93rem; font-weight: 600; line-height: 1.25; }
.member span { display: block; font-size: 0.8rem; line-height: 1.3; color: var(--muted); }
.collab { font-stretch: 62%; font-variation-settings: "wdth" 62; font-weight: 700; text-transform: uppercase; font-size: clamp(1.35rem, 2.5vw, 2.1rem); line-height: 1.12; margin: 0; border-top: 1px solid var(--ink); padding-top: 18px; }
.team.leads { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); border-top-color: var(--ink); }
.team.leads .member { grid-template-columns: 132px 1fr; gap: 18px; padding: 18px 0; }
.team.leads .member img, .team.leads .member i { width: 132px; height: 132px; }
.team.leads .member b { font-stretch: 62%; font-variation-settings: "wdth" 62; font-weight: 800; text-transform: uppercase; font-size: 1.65rem; line-height: 0.98; margin-bottom: 8px; }
.team.leads .member span { font-size: 0.9rem; line-height: 1.4; }
.collab span { white-space: nowrap; }
.collab em { font-style: italic; font-weight: 500; color: var(--pas); text-transform: none; font-stretch: 100%; font-variation-settings: "wdth" 100; font-size: 0.6em; white-space: nowrap; }
.collab i { font-style: normal; color: var(--pas); margin: 0 0.3em; }

/* Contact */
.join { background: var(--pas); color: #fff; padding: clamp(56px, 8vw, 112px) var(--pad); }
.join .head span:first-child { color: #fff; opacity: 0.7; }
.join h2 { font-size: clamp(4.5rem, 14vw, 13rem); line-height: 0.8; margin-bottom: 28px; }
.join p { max-width: 46ch; font-size: 1.15rem; font-weight: 450; }
.mail { display: inline-block; margin-top: 12px; font-stretch: 62%; font-variation-settings: "wdth" 62; font-weight: 800; font-size: clamp(2rem, 5vw, 4rem); line-height: 1; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; word-break: break-all; }
.mail:hover { color: var(--ink); }
.mail.plain { word-break: normal; }
.where { border-top: 1px solid #fff; padding-top: 16px; text-transform: none; letter-spacing: 0; font-size: 0.86rem; line-height: 1.7; align-self: end; }
address { font-style: normal; margin-bottom: 18px; }
.where ul { list-style: none; margin: 0; padding: 0; }
footer { background: var(--ink); color: #fff; padding: 18px var(--pad); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 980px) {
  .themes { grid-template-columns: 1fr 1fr; }
  .theme:nth-child(3) { border-left: 0; padding-left: 0; }
  .theme:nth-child(n+3) { border-top: 1px solid var(--hair); }
  .two, .pi, .split { grid-template-columns: 1fr; }
  .map-wrap { grid-template-columns: 1fr; }
  .map-card { min-height: 0; max-width: none; }
  .map-card .mabs { height: 300px; overscroll-behavior: auto; }
  .portrait { max-width: 260px; }
  .row { grid-template-columns: 1fr; gap: 12px; }
  .pubs a { grid-template-columns: 36px 1fr; }
  .pubs .jr { grid-column: 2; text-align: left; }
  .pubs .jr b { display: inline; margin-left: 10px; }
}
@media (max-width: 720px) {
  .menu { display: block; }
  .nav nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px var(--pad) 16px; background: var(--paper); border-bottom: 1px solid var(--ink); display: none; }
  .nav nav.open { display: flex; }
  .nav nav a { padding: 12px 0; font-size: 0.9rem; }
  .hero { display: block; min-height: 0; }
  .slide { position: relative; top: 0; width: 100%; height: 44svh; border-bottom: 1px solid var(--ink); }
  #field { -webkit-mask-image: none; mask-image: none; }
  .fig { left: var(--pad); right: var(--pad); bottom: 10px; max-width: none; }
  .hero-text { padding-top: 28px; }
  .hero h1 { font-size: 17.5vw; }
  .join h2 { font-size: 24vw; }
  .stats { grid-auto-flow: row; }
  .stat { display: flex; align-items: baseline; gap: 16px; border-left: 0; border-top: 1px solid var(--ink); padding: 14px var(--pad) 12px; }
  .stat:first-child { border-top: 0; }
  .stat b { min-width: 2.1em; }
  .stat span { margin-top: 0; }
  .team.leads .member { grid-template-columns: 96px 1fr; gap: 14px; }
  .team.leads .member img, .team.leads .member i { width: 96px; height: 96px; }
  .team.leads .member b { font-size: 1.4rem; }
  .stage { grid-template-columns: 1fr; }
  .lens { max-width: none; }
  .themes { grid-template-columns: 1fr; }
  .theme, .theme:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid var(--hair); }
  .theme:first-child { border-top: 0; }
  .theme i { margin-bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .field canvas, .story { transition: none; }
}
