/* Variant 5 — Swiss International Typographic Style */

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

:root {
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --bg-ink: #050505;
  --ink: #050505;
  --ink-soft: #171717;
  --ink-mid: #2c2c2c;
  --ink-mute: #4a4a4a;
  --ink-faint: #8a8a8a;
  --line: #050505;
  --line-mid: rgba(5,5,5,0.55);
  --line-soft: #ececec;
  --accent: #15803d;
  --accent-deep: #0f5132;
  --accent-tint: #e7f3ec;
  --accent-bright: #16a34a;
  --gutter: 24px;
  --baseline: 24px;
  --container-pad: 32px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
  :root { --hair: 0.5px; }
}
:root { --hair: 1px; }

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 17.5px;
  line-height: 27px;
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: "ss01", "cv11";
  -webkit-text-size-adjust: 100%;
}

a { color: var(--ink); text-decoration: none; transition: color .12s ease, border-color .12s ease; }
a:hover { color: var(--accent); }
a.under { border-bottom: var(--hair) solid var(--line-mid); }
a.under:hover { border-bottom-color: var(--accent); }

img { max-width: 100%; display: block; }

em, i { font-style: italic; }
strong, b { font-weight: 600; }

/* ─────────── Grid ─────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
}

.shell {
  max-width: min(1720px, 94vw);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ─────────── Navigation — black bar matching the .coda footer ─────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  border-bottom: var(--hair) solid var(--accent);
  color: #ffffff;
}
.nav-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 0 14px 0;
  min-height: 84px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: -0.005em;
  color: #ffffff;
  flex-shrink: 0;
  position: relative;
}
.nav-brand:hover { color: #ffffff; }

.nav-brand .aura-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.32);
  display: block;
  flex-shrink: 0;
  margin-left: 0;
}
.nav-brand .nb-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
  margin-left: 0;
}

.nav-brand .bsub {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em;
  margin-top: 4px;
  text-transform: uppercase;
}
.nav-brand .bsub b { color: rgba(255,255,255,0.85); font-weight: 600; }
.nav-brand .wm-logo {
  height: 11px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  margin-left: 2px;
  opacity: 0.92;
}
.nav-links {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0;
  font-size: 12.5px;
  line-height: 16px;
}

/* AURA Lab logo — top-right wordmark slot, non-square */
.nav-aura {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding-left: 20px;
  margin-left: 4px;
  border-left: var(--hair) solid rgba(255,255,255,0.18);
}
.nav-aura img {
  height: 66px;
  /* lock width to prevent a one-frame flash from the SVG's intrinsic 468x132
     dimensions before decode (468 / 132 * 66 = ~234px). 1.5× the previous 156×44. */
  width: 234px;
  aspect-ratio: 468 / 132;
  display: block;
  opacity: 0.96;
  transition: opacity .15s ease;
}
.nav-aura:hover img { opacity: 1; }

/* ARES — "now building" mark, sits to the right of the AURA wordmark. */
.nav-ares {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 52px;
  padding-left: 16px;
  margin-left: 4px;
  border-left: var(--hair) solid rgba(255,255,255,0.18);
  color: #ffffff;
  text-decoration: none;
}
.nav-ares .ares-mark {
  width: 30px;
  height: 30px;
  display: block;
  flex-shrink: 0;
  transition: transform .15s ease;
}
.nav-ares:hover .ares-mark { transform: rotate(6deg); }
.nav-ares .ares-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-ares .ares-wm {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #ffffff;
}
.nav-ares .ares-status {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #E66A3C;
  margin-top: 3px;
}
.nav-links a {
  padding: 0 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.78);
  border-right: var(--hair) solid rgba(255,255,255,0.14);
  position: relative;
  transition: color .12s ease;
}
.nav-links a:hover { color: var(--accent-bright); }
.nav-links a:last-child { border-right: none; padding-right: 0; }
.nav-links a.active {
  font-weight: 600;
  color: var(--accent-bright);
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: -17px;
  height: var(--hair);
  background: var(--accent-bright);
}

/* ─────────── Section base ─────────── */
section { padding: 88px 0; border-bottom: var(--hair) solid var(--line); }
section:last-of-type { border-bottom: none; }

/* Hero fills the first screen so the section rule lands at the fold
   (instead of cutting through with the next section peeking under).
   Content is vertically centered so the info distributes evenly above
   and below — well-balanced first impression. Full-width preserved.

   Scoped to viewports where the hero ACTUALLY fits the fold; on
   smaller/shorter screens the hero is naturally content-driven and
   exceeds the viewport regardless. Applying the stretch there would
   only paint dead green space below the content — better to leave the
   section at its natural padding and let it scroll. */
@media (min-width: 1180px) and (min-height: 760px) {
  section.hero {
    min-height: calc(100vh - 85px);
    min-height: calc(100dvh - 85px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 56px;
    padding-bottom: 56px;
  }
}

.row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
}

.caption {
  font-size: 11px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.caption-num {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.h1 {
  font-size: clamp(40px, 4.8vw, 68px);
  line-height: 0.98;
  font-weight: 200;
  letter-spacing: -0.028em;
  color: var(--ink);
}
.h1 b, .h1 strong { font-weight: 600; color: var(--ink); }
.h1 .acc { color: var(--accent); font-weight: 300; }

.h2 {
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.08;
  font-weight: 300;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.h2 b, .h2 strong { font-weight: 600; }

.h3 {
  font-size: 23px;
  line-height: 32px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.lead {
  font-size: 21px;
  line-height: 32px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.lead b { font-weight: 600; }

.body { font-size: 17.5px; line-height: 27px; color: var(--ink); }
.body p + p { margin-top: 26px; }
.body b { font-weight: 600; }

.meta { font-size: 11px; line-height: 16px; color: var(--ink-mute); letter-spacing: 0.04em; text-transform: uppercase; }

/* ─────────── Hero — Index ─────────── */
/* Tuned so the entire hero (bio + socials + essentials + journey + timeline)
   lives above the fold at ≥1280×800. */
.hero {
  padding-top: 36px;
  padding-bottom: 28px;
}
/* The hero row drops the 12-col grid in favor of a 2-col proportional
   split (text : map = 1.3 : 1). Both columns grow into the space that
   was previously eaten by the .label-col (now removed from the HTML). */
.hero .hero-row {
  grid-template-columns: 1.3fr 1fr;
  column-gap: 48px;
  align-items: start;
}
.hero .main-col {
  grid-column: 1;
}
.hero .info-col {
  grid-column: 2;
}
/* Legacy label-col rule, retained in case any other page still emits it. */
.hero .label-col { grid-column: 1 / span 1; padding-top: 4px; }
.hero .h1 {
  font-size: clamp(34px, 4vw, 64px);
  line-height: 1.02;
  margin-bottom: 18px;
}
.hero .status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 28px;
  padding: 7px 14px 7px 12px;
  background: var(--ink);
}
.hero .status .dot {
  width: 7px; height: 7px; background: var(--accent-bright); border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(22,163,74,0.6);
  animation: pulse-ring 2.2s cubic-bezier(0.66,0,0,1) infinite;
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(22,163,74,0.6); }
  70%  { box-shadow: 0 0 0 6px rgba(22,163,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); }
}
.hero .role {
  font-size: 14px;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
  margin-bottom: 18px;
  padding-top: 12px;
  border-top: var(--hair) solid var(--line-soft);
}
.hero .role b { color: var(--ink); font-weight: 600; }
.hero .bio {
  font-size: 16px;
  line-height: 25px;
  color: var(--ink);
  max-width: 78ch;
  margin-bottom: 0;
}
.hero .bio b { font-weight: 600; }

.info-block {
  font-size: 13px;
  line-height: 20px;
}
.info-block .ib-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  column-gap: 12px;
  padding: 10px 0;
  border-bottom: var(--hair) solid var(--line-soft);
}
.info-block .ib-row:first-child { border-top: var(--hair) solid var(--line); padding-top: 14px; }
.info-block .ib-row:last-child { border-bottom: none; }
.info-block .ib-k {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  font-weight: 500;
}
.info-block .ib-v { color: var(--ink); }
.info-block .ib-v a { text-decoration: underline; text-decoration-color: var(--line-soft); text-underline-offset: 3px; }
.info-block .ib-v a:hover { text-decoration-color: var(--accent); }

.portrait {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #ffffff;
  margin-bottom: 16px;
  border: var(--hair) solid var(--line);
  display: grid;
  place-items: center;
  padding: 18px 16px;
}
.portrait img { width: 100%; height: 100%; object-fit: contain; filter: none; }

.journey-map {
  position: relative;
  width: 100%;
  aspect-ratio: 480 / 310;
  background:
    radial-gradient(circle at 30% 30%, rgba(21,128,61,0.04) 0%, transparent 55%),
    var(--bg);
  border: none;
  overflow: hidden;
  margin-bottom: 0;
}
.journey-map .jm-tag {
  position: absolute;
  top: 10px; left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 2;
}
.journey-map .jm-tag i { width: 11px; height: 11px; color: var(--accent-bright); }
.journey-map svg { width: 100%; height: 100%; display: block; }

/* Essentials panel — sits under the (horizontal) socials row */
.essentials {
  margin: 0;
  padding: 0;
  border: var(--hair) solid var(--line);
}
/* Above-the-fold compaction for the hero essentials panel */
.hero .essentials .es-row { padding: 10px 18px; column-gap: 18px; }
.hero .essentials .es-k   { font-size: 11px; }
.hero .essentials .es-v   { font-size: 14px; line-height: 1.45; }
.essentials .es-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  column-gap: 16px;
  align-items: baseline;
  padding: 9px 16px;
  border-bottom: var(--hair) solid var(--line-soft);
}
.essentials .es-row:last-child { border-bottom: none; }
.essentials .es-k {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0;
}
.essentials .es-v {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.essentials .es-v b { color: var(--ink); font-weight: 600; }
.essentials .es-v a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
  text-decoration: none;
  transition: color .15s ease, border-color .15s ease;
}
.essentials .es-v a:hover { color: var(--accent); border-color: var(--accent); }
.essentials .es-faint { color: var(--ink-faint); }
.essentials .es-v-tight {
  font-size: 12.5px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.essentials .es-lev {
  display: inline-block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 1px 4px;
  margin-right: 5px;
  border: 1px solid currentColor;
  vertical-align: 1px;
}
.essentials .es-lev-ug  { color: var(--accent); }
.essentials .es-lev-mix { color: #b8862a; }
.essentials .es-lev-gr  { color: var(--ink); }
.essentials .es-icon { width: 12px; height: 12px; color: var(--ink-faint); }

/* Recruiting row — animated pulse */
.essentials .es-row--alert {
  background: linear-gradient(90deg, rgba(22,163,74,0.06), transparent 60%);
}
.essentials .es-row--alert .es-k { color: var(--accent); }
.essentials .es-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 0 0 rgba(22,163,74,0.6);
  animation: es-pulse 2s ease-out infinite;
}
@keyframes es-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(22,163,74,0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(22,163,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); }
}
.essentials .es-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 4px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent) !important;
  border-bottom: 1px solid var(--accent) !important;
  padding-bottom: 1px;
  transition: gap .15s ease;
}
.essentials .es-cta:hover { gap: 6px; }
.essentials .es-cta .es-icon { color: var(--accent); width: 11px; height: 11px; }

/* Academic journey stops — horizontal timeline beneath the journey map */
.journey-stops {
  position: relative;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 0;
  padding: 26px 14px 16px;
  margin: 0 0 16px;
  border: none;
  background: var(--bg);
}
/* Horizontal rail spanning all three stops */
.journey-stops::before {
  content: "";
  position: absolute;
  top: 34px;
  left: calc(14px + 16.67%);
  right: calc(14px + 16.67%);
  height: 1px;
  background: rgba(5,5,5,0.18);
}
.journey-stops .js-stop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 6px;
}
.journey-stops .js-rail {
  display: block;
  height: 16px;
  margin-bottom: 4px;
}
.journey-stops .js-dot {
  position: relative;
  z-index: 1;
  display: block;
  width: 11px;
  height: 11px;
  margin: 2px auto 0;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--ink);
  box-shadow: 0 0 0 3px var(--bg);
}
.journey-stops .js-stop.is-current .js-dot {
  background: var(--accent-bright);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px rgba(22,163,74,0.18);
}
.journey-stops .js-years {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  margin-bottom: 6px;
  white-space: nowrap;
}
.journey-stops .js-stop.is-current .js-years em {
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
}
.journey-stops .js-place {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.005em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  margin-bottom: 4px;
}
.journey-stops .js-flag {
  display: inline-block;
  font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  font-size: 12.5px;
  line-height: 1;
  letter-spacing: 0;
}
.journey-stops .js-meta {
  font-size: 11px;
  line-height: 1.4;
  color: var(--ink-mute);
}
.journey-stops .js-meta b { color: var(--ink-soft); font-weight: 600; }

/* Mobile: collapse the horizontal rail into stacked rows */
@media (max-width: 720px) {
  .journey-stops { grid-template-columns: 1fr; padding: 16px 16px 12px; }
  .journey-stops::before { display: none; }
  .journey-stops .js-stop {
    flex-direction: row;
    align-items: baseline;
    text-align: left;
    gap: 10px;
    padding: 10px 0;
    border-bottom: var(--hair) solid var(--line-soft);
  }
  .journey-stops .js-stop:last-child { border-bottom: none; }
  .journey-stops .js-rail { display: none; }
  .journey-stops .js-years,
  .journey-stops .js-place,
  .journey-stops .js-meta { margin-bottom: 0; }
}

.socials-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 32px;
  border-top: var(--hair) solid var(--line);
  border-bottom: var(--hair) solid var(--line);
}
.socials-row a {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 12px 16px;
  border-right: var(--hair) solid var(--line-soft);
  color: var(--ink);
}
.socials-row a:hover { color: var(--accent); }
.socials-row a:last-child { border-right: none; }

/* Above-the-fold compaction for the hero socials row */
.hero .socials-row { margin-top: 18px; }
.hero .socials-row a { padding: 10px 14px; font-size: 11.5px; letter-spacing: 0.05em; }
/* Sit the essentials panel tight against the bio */
.hero .essentials { margin-top: 18px; }

/* Full-width socials strip at the bottom of the hero, spanning all 12 cols */
.hero .row > .hero-socials-foot {
  grid-column: 1 / -1;
  margin-top: 32px;
  padding-top: 18px;
  border-top: var(--hair) solid var(--line);
  justify-content: flex-start;
}
.hero .row > .hero-socials-foot a {
  padding: 12px 18px;
  font-size: 12px;
  letter-spacing: 0.06em;
}

/* ─────────── Stat row ─────────── */
.statbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: var(--hair) solid var(--line);
  border-bottom: var(--hair) solid var(--line);
  margin-top: 64px;
}
.statbar .cell {
  padding: 28px 24px;
  border-right: var(--hair) solid var(--line);
}
.statbar .cell:last-child { border-right: none; }
.statbar .cell .k {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 16px;
}
.statbar .cell .v {
  font-size: 78px;
  line-height: 1;
  font-weight: 200;
  letter-spacing: -0.038em;
  color: var(--ink);
  font-feature-settings: "tnum", "ss01";
}
.statbar .cell .v small {
  font-size: 22px;
  font-weight: 300;
  color: var(--ink-faint);
  margin-left: 4px;
  letter-spacing: 0;
}

/* ─────────── Section head ─────────── */
.sec-head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  margin-bottom: 56px;
}
.sec-head .sh-label {
  grid-column: 1 / span 1;
  padding-top: 8px;
}
.sec-head .sh-num {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  display: block;
}
.sec-head .sh-cap {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  margin-top: 6px;
}
.sec-head .sh-h {
  grid-column: 2 / span 7;
}
.sec-head .sh-sub {
  grid-column: 2 / span 9;
  margin-top: 16px;
  font-size: 16px;
  line-height: 24px;
  color: var(--ink-mute);
  max-width: 70ch;
}
.sec-head .sh-sub b { color: var(--ink); font-weight: 600; }
.sec-head .sh-sub a { text-decoration: underline; text-decoration-color: var(--line-soft); text-underline-offset: 3px; }

/* ─────────── Research / Themes ─────────── */
.theme-table {
  border-top: var(--hair) solid var(--line);
}
.theme-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  padding: 32px 0;
  border-bottom: var(--hair) solid var(--line);
}
.theme-row .tr-letter {
  grid-column: 1 / span 1;
  font-size: 48px;
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--accent);
}
.theme-row .tr-tag {
  grid-column: 2 / span 2;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-top: 8px;
}
.theme-row .tr-title {
  grid-column: 4 / span 5;
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.theme-row .tr-desc {
  grid-column: 9 / span 4;
  font-size: 14px;
  line-height: 22px;
  color: var(--ink-mute);
}
.theme-row .tr-tags {
  grid-column: 4 / span 8;
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
  margin-top: 16px;
}
.theme-row .tr-tags span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  padding: 4px 0;
  border-top: var(--hair) solid var(--line-soft);
  min-width: 110px;
}

/* ─────────── News list ─────────── */
/* ─────────── Timeline (vertical spine, alternating cards) ─────────── */
.timeline {
  --spine-x: 50%;
  --kind-color: var(--accent);
  --kind-tint: var(--accent-tint);
  position: relative;
  padding: 56px 0 80px;
  margin-top: 24px;
}
.tl-spine {
  position: absolute;
  top: 0;
  bottom: 64px;
  left: var(--spine-x);
  width: 1px;
  background:
    linear-gradient(
      to bottom,
      transparent 0,
      rgba(5,5,5,0.22) 32px,
      rgba(5,5,5,0.22) calc(100% - 32px),
      transparent 100%
    );
  pointer-events: none;
}
.tl-spine::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
}
.tl-year {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}
.tl-year-num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--ink);
  background: var(--bg);
  padding: 6px 14px;
  border: 1px solid var(--ink);
  z-index: 2;
}

.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  align-items: center;
  margin: 0;
  padding: 14px 0;
}

/* Kind tints (color carried via data-kind on the article) */
.tl-item[data-kind="paper"]  { --kind-color: #15803d; --kind-tint: #e7f3ec; }
.tl-item[data-kind="grant"]  { --kind-color: #b8862a; --kind-tint: #fdf3d9; }
.tl-item[data-kind="talk"]   { --kind-color: #1e3a8a; --kind-tint: #eef2ff; }
.tl-item[data-kind="column"] { --kind-color: #6b1d10; --kind-tint: #fde8e0; }
.tl-item[data-kind="award"]  { --kind-color: #6b1d10; --kind-tint: #fde8e0; }

/* Spine node (dot + month chip) */
.tl-node {
  grid-column: 2 / 3;
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 2;
}
/* Legacy per-item dot: applied to the old vertical-spine layout where
   each .tl-node had its own pseudo-element. Skipped in the horizontal
   group layout (which uses a single <span class="tl-dot"> on the
   shared group node instead). */
.timeline:not(.timeline--horiz) .tl-node::before {
  content: "";
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--kind-color);
  box-shadow: 0 0 0 4px var(--bg);
  transition: transform .18s ease, box-shadow .18s ease;
}
.tl-month {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  background: var(--bg);
  padding: 2px 6px;
}

/* Card */
.tl-card {
  position: relative;
  display: block;
  padding: 18px 22px;
  border: 1px solid var(--line-soft);
  background: var(--bg);
  text-decoration: none;
  color: inherit;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.tl-card::before {
  /* Kind-tinted left bar */
  content: "";
  position: absolute;
  top: -1px;
  bottom: -1px;
  width: 3px;
  background: var(--kind-color);
}
.tl-item.side-left .tl-card { grid-column: 1 / 2; margin-right: 24px; }
.tl-item.side-left .tl-card::before { right: -1px; left: auto; }
.tl-item.side-right .tl-card { grid-column: 3 / 4; margin-left: 24px; }
.tl-item.side-right .tl-card::before { left: -1px; right: auto; }

/* Horizontal connector stub from card edge to spine */
.tl-item .tl-card::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 24px;
  height: 1px;
  background: var(--kind-color);
  opacity: 0.55;
}
.tl-item.side-left .tl-card::after { right: -24px; }
.tl-item.side-right .tl-card::after { left: -24px; }

/* Card content */
.tl-stamp {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 8px;
}
.tl-stamp-m { color: var(--kind-color); }
.tl-stamp-y { color: var(--ink-faint); }

.tl-kind {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kind-color);
  background: var(--kind-tint);
  padding: 4px 8px;
  margin-bottom: 10px;
}
.tl-kind .b-icon { width: 12px; height: 12px; }
.tl-title {
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 6px;
  letter-spacing: -0.005em;
}
.tl-meta {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-mute);
}
.tl-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color .18s ease, border-color .18s ease, gap .18s ease;
}
.tl-cta .b-icon { width: 12px; height: 12px; transition: transform .18s ease; }

/* Hover */
.tl-card:hover {
  border-color: var(--kind-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(5,5,5,0.06), 0 2px 4px rgba(5,5,5,0.04);
}
.tl-card:hover .tl-cta {
  color: var(--kind-color);
  border-color: var(--kind-color);
  gap: 7px;
}
.tl-card:hover .tl-cta .b-icon { transform: translate(2px, -2px); }
.tl-item:hover .tl-node::before {
  transform: scale(1.25);
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px var(--kind-tint);
}

/* End cap + archive link */
.tl-end {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
  z-index: 2;
}
.tl-end-cap {
  width: 9px;
  height: 9px;
  background: var(--ink);
  border-radius: 50%;
}
.tl-archive {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 2px;
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease;
}
.tl-archive:hover { color: var(--accent); border-color: var(--accent); }

/* ─────────── Horizontal variant (lab feed) ─────────── */
.timeline--horiz {
  padding: 40px 0 24px;
  margin-top: 24px;
}
.timeline--horiz .tl-spine { display: none; }
.timeline--horiz .tl-year {
  justify-content: flex-start;
  margin-bottom: 22px;
}
.timeline--horiz .tl-track {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 28px 4px 12px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(5,5,5,0.18) transparent;
}
.timeline--horiz .tl-track::-webkit-scrollbar { height: 8px; }
.timeline--horiz .tl-track::-webkit-scrollbar-thumb { background: rgba(5,5,5,0.18); border-radius: 4px; }
.timeline--horiz .tl-track::-webkit-scrollbar-track { background: transparent; }

/* Horizontal rail across the track — runs through the center of all
   group dots (which sit at the top of each .tl-group column). */
.timeline--horiz .tl-track::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 30px;
  right: 30px;
  height: 2px;
  background: linear-gradient(90deg, rgba(5,5,5,0) 0%, rgba(5,5,5,0.25) 8%, rgba(5,5,5,0.25) 92%, rgba(5,5,5,0) 100%);
  z-index: 0;
}

/* Month group — one shared node (dot + month label) parents N cards that
   fan out beneath it like a binary tree. Replaces the prior 1:1
   month:card layout where every card repeated its own month label. */
.timeline--horiz .tl-group {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  scroll-snap-align: start;
}
.timeline--horiz .tl-group .tl-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  align-self: center;
  position: relative;
  z-index: 2;
}
.timeline--horiz .tl-group .tl-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--ink);
  box-shadow: 0 0 0 5px var(--bg), 0 4px 10px -4px rgba(0,0,0,0.25);
  display: block;
  position: relative;
}
.timeline--horiz .tl-group .tl-dot::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--accent-bright, #22c55e) 0%, var(--accent-deep, #15803d) 100%);
}
.timeline--horiz .tl-group:hover .tl-dot {
  transform: scale(1.12);
  transition: transform .18s ease, border-color .18s ease;
  border-color: var(--accent-deep, #15803d);
}
.timeline--horiz .tl-month {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  background: var(--bg);
  padding: 2px 6px;
}

/* Fanout — vertical line from node, horizontal bar across cards, then a
   vertical stub down to each card's top. For a single-card group the
   horizontal bar collapses to just the vertical drop. */
.timeline--horiz .tl-fanout {
  position: relative;
  height: 22px;
  margin: 0;
}
.timeline--horiz .tl-fanout::before {
  /* drop line from node down to horizontal bar */
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 12px;
  background: rgba(5,5,5,0.32);
  transform: translateX(-50%);
}
.timeline--horiz .tl-fanout::after {
  /* horizontal branching bar across all child cards (width set inline by
     the parent .tl-cards layout via a CSS variable) */
  content: "";
  position: absolute;
  top: 12px;
  left: var(--fan-left, 50%);
  right: var(--fan-right, 50%);
  height: 1px;
  background: rgba(5,5,5,0.32);
}
.timeline--horiz .tl-cards {
  display: flex;
  gap: 18px;
  position: relative;
}
.timeline--horiz .tl-cards .tl-item {
  flex: 0 0 270px;
  width: 270px;
  display: block;
  grid-template-columns: none;
  align-items: stretch;
  position: relative;
  padding: 0;
  margin: 0;
}
.timeline--horiz .tl-cards .tl-item::before {
  /* vertical stub from card top up to the fanout's horizontal bar */
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 1px;
  height: 10px;
  background: var(--kind-color, rgba(5,5,5,0.32));
  opacity: 0.65;
  transform: translateX(-50%);
  z-index: 0;
}
/* For a single-card group, drop the horizontal bar entirely — fanout
   becomes a clean straight line from node to card. */
.timeline--horiz .tl-group:has(.tl-cards > .tl-item:only-child) .tl-fanout::before {
  height: 22px;
}
.timeline--horiz .tl-group:has(.tl-cards > .tl-item:only-child) .tl-fanout::after {
  display: none;
}
.timeline--horiz .tl-group:has(.tl-cards > .tl-item:only-child) .tl-cards .tl-item::before {
  display: none;
}

/* Width of the horizontal bar = (cards × 270px) + (gaps × 18px). Set per
   group via CSS variable on .tl-cards using its width directly. The bar
   spans from the leftmost card's center to the rightmost card's center. */
.timeline--horiz .tl-cards {
  /* set --bar-pad on the fanout = half-card-width, so bar ends align with
     the centers of the first/last cards rather than card edges. */
}
.timeline--horiz .tl-group .tl-fanout {
  /* by default the bar spans card-center to card-center (270/2 = 135px
     inset on each side). */
  --fan-left: 135px;
  --fan-right: 135px;
}
.timeline--horiz .tl-group:has(.tl-cards > .tl-item:only-child) .tl-fanout {
  --fan-left: 50%;
  --fan-right: 50%;
}

/* Card spans full item width, sits below rail — fixed size, all uniform */
.timeline--horiz .tl-card {
  margin: 0 !important;
  width: 100%;
  height: 260px !important;
  min-height: 260px !important;
  max-height: 260px !important;
  box-sizing: border-box !important;
  position: relative;
  overflow: hidden !important;
  padding: 16px 18px 14px;
  background:
    linear-gradient(135deg, transparent 0%, transparent 60%, color-mix(in srgb, var(--kind-color) 5%, transparent) 100%),
    var(--bg);
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
/* Kind-tinted bar becomes a top bar instead of a left bar */
.timeline--horiz .tl-card::before {
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: auto;
  width: auto;
  height: 3px;
  z-index: 1;
}
/* Connector stub becomes a vertical line up to the rail */
.timeline--horiz .tl-card::after {
  top: -14px;
  bottom: auto;
  left: 50% !important;
  right: auto !important;
  width: 1px;
  height: 14px;
  transform: translateX(-50%);
  background: var(--kind-color);
  opacity: 0.55;
}

/* Giant watermark month — drawn via the card's own ::before slot is taken,
   so we use a separate background-image trick via an extra layer */
.timeline--horiz .tl-card[data-month] {
  background-image: none;
}
.timeline--horiz .tl-card[data-month]::before {
  /* keep the top kind-bar as the primary ::before, defined elsewhere */
}
/* Use an extra absolutely-positioned span injected via attr() — fall back to ::marker hack */
.timeline--horiz .tl-card[data-month] {
  position: relative;
}
.timeline--horiz .tl-card .tl-watermark { display: none; }

/* Cool month chip in the top-right of each card. Replaces the giant
   watermark — small, kind-color-keyed, monospaced. */
.timeline--horiz .tl-card .tl-month-chip {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--kind-color);
  background: color-mix(in srgb, var(--kind-color) 10%, var(--bg));
  border: 1px solid color-mix(in srgb, var(--kind-color) 35%, transparent);
  padding: 4px 8px 3px;
  border-radius: 999px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.timeline--horiz .tl-card .tl-month-chip::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--kind-color);
  display: inline-block;
}
.timeline--horiz .tl-card:hover .tl-month-chip {
  background: color-mix(in srgb, var(--kind-color) 18%, var(--bg));
  border-color: color-mix(in srgb, var(--kind-color) 55%, transparent);
}
/* Bottom kind-color accent bar mirrors the top — frames the card */
.timeline--horiz .tl-card .tl-stamp {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

/* Title clamps to 3 lines so cards stay uniform */
.timeline--horiz .tl-title {
  font-size: 13.5px;
  margin: 6px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.timeline--horiz .tl-kind {
  position: relative;
  z-index: 2;
  align-self: flex-start;
}
.timeline--horiz .tl-meta {
  font-size: 11.5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.timeline--horiz .tl-cta {
  margin-top: auto;
  padding-top: 12px;
  position: relative;
  z-index: 2;
}
/* Stronger hover — kind-tinted glow */
.timeline--horiz .tl-card:hover {
  box-shadow:
    0 10px 30px color-mix(in srgb, var(--kind-color) 18%, transparent),
    0 2px 6px rgba(5,5,5,0.05);
  transform: translateY(-3px);
}

/* End cap as the last flex item */
.timeline--horiz .tl-end {
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  margin-top: 0;
  padding-top: 4px;
  min-width: 140px;
}

/* Mobile: collapse to single-column, spine pinned to the left */
@media (max-width: 720px) {
  .timeline--horiz .tl-track {
    flex-direction: column;
    overflow-x: visible;
  }
  .timeline--horiz .tl-track::before { display: none; }
  .timeline--horiz .tl-item { flex: 1 1 auto; }
  .timeline--horiz .tl-card::before { left: -1px; right: auto; top: -1px; bottom: -1px; width: 3px; height: auto; }
  .timeline--horiz .tl-card::after { display: none; }
}
@media (max-width: 720px) {
  .timeline { --spine-x: 22px; padding: 40px 0 56px; }
  .tl-item {
    grid-template-columns: 44px 1fr;
    padding: 10px 0;
  }
  .tl-node { grid-column: 1 / 2; justify-self: center; }
  .tl-item.side-left .tl-card,
  .tl-item.side-right .tl-card {
    grid-column: 2 / 3;
    margin: 0;
  }
  .tl-item.side-left .tl-card::before,
  .tl-item.side-right .tl-card::before {
    left: -1px;
    right: auto;
  }
  .tl-item.side-left .tl-card::after,
  .tl-item.side-right .tl-card::after {
    left: -22px;
    right: auto;
  }
  .tl-year { justify-content: flex-start; padding-left: 8px; }
}

/* ─────────── Publication table ─────────── */
.pubtable {
  border-top: var(--hair) solid var(--line);
}
.pub-yhead {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  padding: 40px 0 16px;
  border-bottom: var(--hair) solid var(--line);
  align-items: baseline;
}
.pub-yhead .pyh-num {
  grid-column: 1 / span 1;
  font-size: 56px;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.pub-yhead .pyh-rule {
  grid-column: 2 / span 9;
  height: 1px;
  background: var(--line-soft);
  align-self: center;
}
.pub-yhead .pyh-count {
  grid-column: 11 / span 2;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  text-align: right;
}

.pubrow {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  padding: 20px 0;
  border-bottom: var(--hair) solid var(--line-soft);
  align-items: baseline;
}
.pubrow:hover { background: var(--bg-soft); }
.pubrow .p-year {
  grid-column: 1 / span 1;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
}
.pubrow .p-venue {
  grid-column: 2 / span 1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.pubrow .p-title {
  grid-column: 3 / span 7;
  font-size: 15px;
  line-height: 22px;
  font-weight: 500;
  color: var(--ink);
}
.pubrow .p-title em { color: var(--ink-faint); }
.pubrow .p-authors {
  grid-column: 3 / span 7;
  font-size: 12px;
  line-height: 18px;
  color: var(--ink-mute);
  margin-top: 4px;
}
.pubrow .p-authors b { color: var(--ink); font-weight: 600; }
.pubrow .p-detail {
  grid-column: 3 / span 7;
  font-size: 11px;
  line-height: 16px;
  color: var(--ink-faint);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pubrow .p-links {
  grid-column: 10 / span 3;
  text-align: right;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.pubrow .p-links a {
  display: inline-block;
  padding: 0 0 0 14px;
  margin-left: 6px;
  border-left: var(--hair) solid var(--line-soft);
  text-decoration: underline;
  text-decoration-color: var(--line-soft);
  text-underline-offset: 3px;
}
.pubrow .p-links a:first-of-type { border-left: none; padding-left: 0; margin-left: 0; }
.pubrow .p-links a:hover { color: var(--accent); }
.pubrow .p-award {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: var(--hair) solid var(--accent);
  padding: 2px 6px;
  margin-bottom: 4px;
}

/* Filter bar */
.filterbar {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  border-top: var(--hair) solid var(--line);
  border-bottom: var(--hair) solid var(--line);
  padding: 16px 0;
  margin-bottom: 40px;
}
.filterbar .fb-label {
  grid-column: 1 / span 1;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  align-self: center;
}
.filterbar .fb-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.filterbar .fb-group.years { grid-column: 2 / span 7; }
.filterbar .fb-group.types { grid-column: 9 / span 4; justify-content: flex-end; }
.filterbar button {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 6px 14px;
  cursor: pointer;
  border-right: var(--hair) solid var(--line-soft);
}
.filterbar button:last-child { border-right: none; }
.filterbar button.active {
  color: var(--accent);
  font-weight: 700;
}
.filterbar button:hover { color: var(--ink); }
.filterbar button .ct {
  display: inline-block;
  margin-left: 6px;
  font-weight: 400;
  color: var(--ink-faint);
}

.verify-stamp {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border: var(--hair) solid var(--line);
  padding: 4px 10px;
  margin-bottom: 24px;
}

/* ─────────── Lab project card ─────────── */
.project {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  border-top: var(--hair) solid var(--line);
  padding: 40px 0;
}
.project + .project { border-top: none; border-top: var(--hair) solid var(--line-soft); }
.project .pj-side {
  grid-column: 1 / span 3;
}
.project .pj-amount {
  font-size: 40px;
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.project .pj-program {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  margin-top: 8px;
}
.project .pj-logo {
  margin-top: 16px;
  height: 48px;
  width: 48px;
}
.project .pj-logo img { height: 100%; width: auto; }
.project .pj-detail { grid-column: 4 / span 9; }
.project .pj-status {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: var(--hair) solid var(--accent);
  padding: 3px 8px;
  display: inline-block;
  margin-bottom: 16px;
}
.project .pj-title {
  font-size: 22px;
  line-height: 30px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.project .pj-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: var(--hair) solid var(--line);
  border-bottom: var(--hair) solid var(--line);
  margin-bottom: 20px;
}
.project .pj-meta .mm {
  padding: 12px 16px 12px 0;
  border-right: var(--hair) solid var(--line-soft);
}
.project .pj-meta .mm:last-child { border-right: none; }
.project .pj-meta .mm-k {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
}
.project .pj-meta .mm-v {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-top: 4px;
}
.project .pj-desc {
  font-size: 14px;
  line-height: 22px;
  color: var(--ink-mute);
  max-width: 70ch;
}
.project .pj-desc a { color: var(--accent); text-decoration: underline; }

/* ─────────── Member / student grid ─────────── */
.member-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: var(--gutter);
  row-gap: 40px;
  border-top: var(--hair) solid var(--line);
  padding-top: 32px;
}
.member {
  display: block;
  color: var(--ink);
}
.member .m-photo {
  aspect-ratio: 1 / 1;
  background: var(--bg-soft);
  border: var(--hair) solid var(--line);
  overflow: hidden;
  margin-bottom: 16px;
}
.member .m-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.08);
}
.member .m-photo.placeholder {
  display: grid;
  place-items: center;
  font-size: 52px;
  font-weight: 300;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.member .m-name {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.member .m-role {
  font-size: 13px;
  color: var(--ink-mute);
  margin-top: 4px;
  line-height: 18px;
}
.member .m-note {
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 8px;
}
.member:hover .m-name { color: var(--accent); }

.role-divider {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  margin: 64px 0 24px;
  align-items: baseline;
}
.role-divider .rd-cap {
  grid-column: 1 / span 2;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.role-divider .rd-h {
  grid-column: 3 / span 7;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.role-divider .rd-meta {
  grid-column: 10 / span 3;
  text-align: right;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
}

/* ─────────── Director (lab) ─────────── */
.director {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  border-top: var(--hair) solid var(--line);
  border-bottom: var(--hair) solid var(--line);
  padding: 40px 0;
  margin-bottom: 64px;
}
.director .dir-photo {
  grid-column: 1 / span 3;
}
.director .dir-photo .frame {
  aspect-ratio: 1 / 1;
  border: var(--hair) solid var(--line);
  overflow: hidden;
  background: var(--bg-soft);
}
.director .dir-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.05); }
.director .dir-info { grid-column: 4 / span 9; }
.director .dir-info h3 {
  font-size: 36px;
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.director .dir-role {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  margin-top: 12px;
}
.director .dir-bio {
  font-size: 15px;
  line-height: 24px;
  color: var(--ink);
  margin-top: 20px;
  max-width: 70ch;
}
.director .dir-bio em { font-style: italic; }
.director .dir-links {
  margin-top: 24px;
  display: flex;
  gap: 0;
  border-top: var(--hair) solid var(--line-soft);
  border-bottom: var(--hair) solid var(--line-soft);
}
.director .dir-links a {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
  padding: 12px 18px;
  border-right: var(--hair) solid var(--line-soft);
}
.director .dir-links a:last-child { border-right: none; }
.director .dir-links a:hover { color: var(--accent); }

/* ─────────── Awards grid ─────────── */
.awards-table {
  border-top: var(--hair) solid var(--line);
}
.award-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  padding: 28px 0;
  border-bottom: var(--hair) solid var(--line-soft);
}
.award-row .ar-type {
  grid-column: 1 / span 2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.award-row .ar-title {
  grid-column: 3 / span 6;
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.award-row .ar-paper {
  grid-column: 3 / span 6;
  font-size: 13px;
  line-height: 20px;
  color: var(--ink-mute);
  margin-top: 6px;
}
.award-row .ar-paper b { color: var(--ink); }
.award-row .ar-venue {
  grid-column: 9 / span 4;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  text-transform: uppercase;
  text-align: right;
}

/* ─────────── Course grid ─────────── */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: var(--gutter);
  border-top: var(--hair) solid var(--line);
}
.course {
  border-right: var(--hair) solid var(--line-soft);
  padding: 32px 24px 32px 0;
}
.course:last-child { border-right: none; padding-right: 0; }
.course .c-code {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.course .c-level {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 4px;
  padding-bottom: 12px;
  border-bottom: var(--hair) solid var(--line-soft);
}
.course .c-sem {
  font-size: 13px;
  letter-spacing: 0.04em;
  margin-top: 20px;
  font-weight: 500;
}
.course .c-h {
  font-size: 22px;
  line-height: 28px;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin-top: 16px;
}
.course .c-d {
  font-size: 14px;
  line-height: 22px;
  color: var(--ink-mute);
  margin-top: 16px;
}
.course .c-tags {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
  padding-top: 14px;
  border-top: var(--hair) solid var(--line-soft);
}
.course .c-tags span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  font-weight: 500;
}

/* ─────────── Service ─────────── */
.svc-block {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  padding: 40px 0;
  border-top: var(--hair) solid var(--line);
}
.svc-block .sb-label {
  grid-column: 1 / span 2;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.svc-block .sb-content {
  grid-column: 3 / span 10;
}
.svc-block .sb-h {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.svc-year {
  display: grid;
  grid-template-columns: 100px 1fr;
  column-gap: var(--gutter);
  padding: 16px 0;
  border-top: var(--hair) solid var(--line-soft);
  align-items: baseline;
}
.svc-year .yr {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.svc-year .items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13px;
  color: var(--ink-mute);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.svc-year .items span { white-space: nowrap; }

.svc-list {
  list-style: none;
  border-top: var(--hair) solid var(--line-soft);
}
.svc-list li {
  display: grid;
  grid-template-columns: 1fr 80px;
  column-gap: var(--gutter);
  padding: 14px 0;
  border-bottom: var(--hair) solid var(--line-soft);
  align-items: baseline;
  font-size: 14px;
  line-height: 20px;
}
.svc-list li .l { color: var(--ink); }
.svc-list li .l b { font-weight: 600; }
.svc-list li .l em { color: var(--accent); font-style: normal; font-weight: 600; }
.svc-list li .r {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: right;
}

.editorial {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  border-top: var(--hair) solid var(--line);
  border-bottom: var(--hair) solid var(--line);
  padding: 28px 0;
  margin-bottom: 32px;
}
.editorial .ed-label {
  grid-column: 1 / span 2;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.editorial .ed-h {
  grid-column: 3 / span 6;
  font-size: 18px;
  font-weight: 500;
}
.editorial .ed-meta {
  grid-column: 9 / span 4;
  text-align: right;
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.editorial .ed-meta a { text-decoration: underline; text-underline-offset: 3px; }

/* ─────────── Spotlight intro ─────────── */
.spot-intro {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  padding: 60px 0 40px;
}
.spot-intro .si-pull {
  grid-column: 1 / span 6;
  font-size: 28px;
  line-height: 36px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  border-left: 2px solid var(--accent);
  padding-left: 24px;
}
.spot-intro .si-body {
  grid-column: 8 / span 5;
  font-size: 15px;
  line-height: 24px;
  color: var(--ink-mute);
}
.spot-intro .si-body p + p { margin-top: 16px; }
.spot-intro .si-body b { color: var(--ink); }
.spot-intro .si-body em { font-style: italic; }

/* ─────────── Page hero (smaller pages) ─────────── */
.page-hero {
  padding: 56px 0 36px;
  border-bottom: var(--hair) solid var(--line);
}
.page-hero .ph-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
}
.page-hero .ph-num {
  grid-column: 1 / span 1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding-top: 12px;
}
.page-hero .ph-cap {
  grid-column: 1 / span 1;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-top: 6px;
}
.page-hero .ph-title {
  grid-column: 2 / span 9;
}
.page-hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.04;
  font-weight: 300;
  letter-spacing: -0.025em;
}
.page-hero h1 b { font-weight: 600; }
.page-hero h1 .acc { color: var(--accent); }
.page-hero .ph-sub {
  grid-column: 2 / span 8;
  margin-top: 28px;
  font-size: 16px;
  line-height: 24px;
  color: var(--ink-mute);
  max-width: 65ch;
}
.page-hero .ph-sub b { color: var(--ink); font-weight: 600; }

/* ─────────── Mission block ─────────── */
.mission {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  padding-top: 24px;
}
.mission .m-quote {
  grid-column: 1 / span 5;
  font-size: 26px;
  line-height: 34px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  padding-right: 32px;
  border-right: var(--hair) solid var(--line);
}
.mission .m-body {
  grid-column: 7 / span 6;
  font-size: 15px;
  line-height: 24px;
  color: var(--ink-mute);
}
.mission .m-body p + p { margin-top: 20px; }
.mission .m-body b { color: var(--ink); font-weight: 600; }

/* ─────────── Join section ─────────── */
.join-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
}
.join-grid .j-text { grid-column: 1 / span 7; }
.join-grid .j-text h2 {
  font-size: 40px;
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.join-grid .j-text h2 em { color: var(--accent); font-style: italic; }
.join-grid .j-text p {
  font-size: 16px;
  line-height: 26px;
  margin-top: 24px;
  color: var(--ink-mute);
  max-width: 55ch;
}
.join-grid .j-text p b { color: var(--ink); font-weight: 600; }
.join-grid .j-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: var(--hair) solid var(--line);
  border-bottom: var(--hair) solid var(--line);
}
.join-grid .j-actions a {
  padding: 14px 22px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  border-right: var(--hair) solid var(--line);
  color: var(--ink);
}
.join-grid .j-actions a:first-child { color: var(--accent); }
.join-grid .j-actions a:last-child { border-right: none; }
.join-grid .j-actions a:hover { background: var(--bg-soft); }
.join-grid .j-card {
  grid-column: 9 / span 4;
  border: var(--hair) solid var(--line);
  padding: 32px;
}
.join-grid .j-card h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 16px;
  border-bottom: var(--hair) solid var(--line);
  margin-bottom: 16px;
}
.join-grid .j-card ul { list-style: none; }
.join-grid .j-card li {
  font-size: 13px;
  line-height: 20px;
  padding: 12px 0;
  border-bottom: var(--hair) solid var(--line-soft);
  color: var(--ink);
}
.join-grid .j-card li:last-child { border-bottom: none; }
.join-grid .j-card li em { color: var(--accent); font-style: italic; }

/* ─────────── Footer ─────────── */
footer {
  border-top: var(--hair) solid var(--line);
  padding: 40px 0;
}
.f-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.f-row .f-c {
  grid-column: 1 / span 5;
}
.f-row .f-c a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.f-row .f-l {
  grid-column: 7 / span 6;
  display: flex;
  gap: 24px;
  justify-content: flex-end;
}
.f-row .f-l a { color: var(--ink-mute); }
.f-row .f-l a:hover { color: var(--accent); }

/* ─────────── Utility ─────────── */
.mark-rule {
  height: 1px;
  background: var(--line);
  margin: 64px 0;
}

.smallcaps {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--ink-mute);
}

/* ─────────── Responsive ─────────── */
@media (max-width: 960px) {
  .nav-row { padding: 12px 0; }
  .nav-brand { grid-column: 1 / span 12; }
  .nav-links { grid-column: 1 / span 12; margin-top: 10px; justify-content: flex-start; }
  .nav-links a { padding: 4px 10px 4px 0; border-right: none; }
  .hero { padding-top: 64px; padding-bottom: 48px; }
  .hero .label-col, .hero .main-col, .hero .info-col { grid-column: 1 / span 12; }
  .hero .info-col { border-left: none; padding-left: 0; margin-top: 48px; border-top: var(--hair) solid var(--line); padding-top: 32px; }
  .sec-head .sh-label { grid-column: 1 / span 12; margin-bottom: 12px; }
  .sec-head .sh-h, .sec-head .sh-sub { grid-column: 1 / span 12; }
  .statbar { grid-template-columns: repeat(2, 1fr); }
  .statbar .cell:nth-child(2) { border-right: none; }
  .statbar .cell:nth-child(-n+2) { border-bottom: var(--hair) solid var(--line); }
  .theme-row .tr-letter, .theme-row .tr-tag { grid-column: 1 / span 12; }
  .theme-row .tr-title, .theme-row .tr-desc, .theme-row .tr-tags { grid-column: 1 / span 12; margin-top: 12px; }
  .news-item > * { grid-column: 1 / span 12 !important; padding: 2px 0; }
  .pubrow .p-year, .pubrow .p-venue, .pubrow .p-title, .pubrow .p-authors, .pubrow .p-detail, .pubrow .p-links { grid-column: 1 / span 12; text-align: left; }
  .pubrow .p-links { margin-top: 8px; }
  .pubrow .p-links a:first-of-type { padding-left: 0; }
  .filterbar { display: block; }
  .filterbar .fb-group { margin-top: 8px; }
  .member-grid { grid-template-columns: repeat(2, 1fr); }
  .role-divider > * { grid-column: 1 / span 12 !important; text-align: left !important; }
  .director .dir-photo, .director .dir-info { grid-column: 1 / span 12; }
  .director .dir-photo { max-width: 240px; margin-bottom: 24px; }
  .project .pj-side, .project .pj-detail { grid-column: 1 / span 12; }
  .project .pj-detail { margin-top: 24px; }
  .project .pj-meta { grid-template-columns: repeat(2, 1fr); }
  .award-row > * { grid-column: 1 / span 12 !important; text-align: left !important; margin-top: 4px; }
  .course-grid { grid-template-columns: 1fr; }
  .course { border-right: none; border-bottom: var(--hair) solid var(--line-soft); padding: 24px 0; }
  .svc-block .sb-label, .svc-block .sb-content { grid-column: 1 / span 12; }
  .svc-block .sb-label { margin-bottom: 16px; }
  .editorial > * { grid-column: 1 / span 12 !important; text-align: left !important; margin-top: 4px; }
  .spot-intro .si-pull, .spot-intro .si-body { grid-column: 1 / span 12; }
  .spot-intro .si-body { margin-top: 32px; }
  .mission .m-quote, .mission .m-body { grid-column: 1 / span 12; padding-right: 0; border-right: none; }
  .mission .m-body { margin-top: 24px; }
  .join-grid .j-text, .join-grid .j-card { grid-column: 1 / span 12; }
  .join-grid .j-card { margin-top: 32px; }
  .page-hero .ph-num, .page-hero .ph-cap { grid-column: 1 / span 12; }
  .page-hero .ph-title, .page-hero .ph-sub { grid-column: 1 / span 12; margin-top: 12px; }
  .f-row .f-c, .f-row .f-l { grid-column: 1 / span 12; }
  .f-row .f-l { justify-content: flex-start; margin-top: 12px; flex-wrap: wrap; gap: 14px; }
}

/* ─────────── Icons (lucide), thin-stroke ─────────── */
.icon, [data-lucide] {
  width: 14px;
  height: 14px;
  stroke-width: 1.4;
  vertical-align: -2px;
  display: inline-block;
}
.icon.lg, [data-lucide].lg { width: 16px; height: 16px; stroke-width: 1.3; }
.icon.sm, [data-lucide].sm { width: 12px; height: 12px; stroke-width: 1.5; }
.caption .icon, .sh-cap .icon, .ib-k .icon { color: var(--ink-faint); margin-right: 6px; }
.socials-row a .icon {
  color: #0d1117;
  margin-right: 8px;
  vertical-align: -2px;
  stroke-width: 1.9;
  filter: drop-shadow(0 0 3px rgba(22, 163, 74, 0.45)) drop-shadow(0 0 1px rgba(22, 163, 74, 0.35));
  transition: filter .15s ease, color .15s ease;
}
.socials-row a:hover .icon {
  color: var(--accent);
  filter: drop-shadow(0 0 5px rgba(22, 163, 74, 0.75)) drop-shadow(0 0 2px rgba(22, 163, 74, 0.55));
}
.statbar .cell .k .icon { color: var(--accent); margin-right: 6px; }
.btn-mail .icon, .btn-cv .icon { color: currentColor; margin-right: 8px; }

/* ─────────── Refined nav active link — green underline rule ─────────── */
.nav-links a.active::after { background: var(--accent); height: var(--hair); }

/* ─────────── Now widget — inline current-focus block ─────────── */
.now-widget {
  margin-top: 24px;
  padding: 14px 0 16px 0;
  border-top: var(--hair) solid var(--line);
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink);
}
.now-widget .now-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}
.now-widget .now-head .live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: var(--accent);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.now-widget .now-head .live::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent-bright);
  border-radius: 50%;
  display: inline-block;
  animation: pulse-ring 2.2s cubic-bezier(0.66,0,0,1) infinite;
}
.now-widget .now-line {
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 12px;
  padding: 6px 0;
  border-bottom: var(--hair) solid var(--line-soft);
  font-size: 12.5px;
  line-height: 1.5;
}
.now-widget .now-line:last-child { border-bottom: none; }
.now-widget .now-line .nl-k {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.now-widget .now-line .nl-v { color: var(--ink); }
.now-widget .now-line .nl-v b { font-weight: 600; }
.now-widget .now-stamp {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 10px;
}

/* ─────────── Black footer-band — anchors the page in ink ─────────── */
.coda {
  background: var(--ink);
  color: #ffffff;
  padding: 64px 0 56px;
  margin-top: 0;
  border-top: none;
  border-bottom: none;
}
.coda .shell { color: #fafafa; }
.coda .row { row-gap: 40px; }
.coda .c-brand {
  grid-column: 1 / span 4;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.coda .c-brand .c-sub {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
}
.coda .c-col {
  grid-column-end: span 2;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
}
.coda .c-col h4 {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 12px;
}
.coda .c-col a {
  color: rgba(255,255,255,0.78);
  border-bottom: var(--hair) solid rgba(255,255,255,0.18);
  display: inline-block;
  padding-bottom: 1px;
}
.coda .c-col a:hover { color: #ffffff; border-bottom-color: var(--accent-bright); }
.coda .c-bot {
  grid-column: 1 / span 12;
  margin-top: 32px;
  padding-top: 24px;
  border-top: var(--hair) solid rgba(255,255,255,0.16);
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
}
.coda .c-bot .c-bot-r { color: var(--accent-bright); }

/* ─────────── Spec strip — small key/value badge widget for hero stats ─────────── */
.spec-strip {
  display: inline-flex;
  align-items: stretch;
  border: var(--hair) solid var(--line);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 24px;
}
.spec-strip .ss-cell {
  padding: 6px 12px;
  border-right: var(--hair) solid var(--line);
  color: var(--ink-mute);
  font-weight: 500;
}
.spec-strip .ss-cell:last-child { border-right: none; }
.spec-strip .ss-cell b { color: var(--ink); font-weight: 600; }
.spec-strip .ss-cell.ink {
  background: var(--ink);
  color: rgba(255,255,255,0.6);
}
.spec-strip .ss-cell.ink b { color: var(--accent-bright); }



/* ═══════════════════════════════════════════════════════════════════════
   AWARDS — redesigned page (replaces flat awards-table layout)
   ═══════════════════════════════════════════════════════════════════════ */

/* Cleaner page-hero variant: no left "06 / Honors" label rail,
   title pushed all the way left. Used wherever we want the page-hero
   to look like the rest of the redesigned chrome. */
.page-hero--clean .ph-row { display: block; }
.page-hero--clean .ph-title { grid-column: auto; max-width: 64ch; }
.page-hero--clean .ph-sub { grid-column: auto; max-width: 64ch; margin-top: 22px; }

/* Quick stats strip below the page hero */
.aw-stats { padding: 36px 0 8px; border-bottom: var(--hair) solid var(--line-soft); }
.aw-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 24px;
}
.aw-stat {
  padding: 12px 0 16px;
  border-top: 2px solid var(--accent);
}
.aw-stat-v {
  font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.aw-stat-vu { font-size: 0.55em; font-weight: 400; color: var(--ink-mute); margin-left: 2px; }
.aw-stat-k {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}

/* Featured grant — promote the NSF block visually */
.aw-grant-section { padding: 56px 0; }
.project--featured .pj-side {
  grid-column: 1 / span 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.project--featured .pj-logo--big {
  width: 140px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.project--featured .pj-logo--big img { height: 100%; width: auto; }
.project--featured .pj-amount {
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--ink);
}
.project--featured .pj-program {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 4px;
}
.project--featured .pj-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  padding: 6px 10px;
  background: rgba(22, 163, 74, 0.08);
  border-radius: 4px;
  margin-bottom: 16px;
}
.pj-status-dot {
  width: 7px; height: 7px;
  background: var(--accent-bright);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.6);
  animation: pulse-ring 2.2s cubic-bezier(.66,0,0,1) infinite;
}

/* Paper honors — distinguished papers as cards */
.aw-honors-section { padding: 56px 0; border-top: var(--hair) solid var(--line); }
.aw-honor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 24px;
}
.aw-honor {
  position: relative;
  padding: 28px 24px 24px;
  background: var(--bg);
  border: var(--hair) solid var(--line);
  display: flex;
  flex-direction: column;
  transition: border-color .15s ease, transform .15s ease;
}
.aw-honor:hover {
  border-color: var(--ink-mute);
  transform: translateY(-2px);
}
.aw-honor-medal {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  margin-bottom: 14px;
}
.aw-honor-medal .icon { width: 20px; height: 20px; color: #fff; stroke-width: 1.8; }
.aw-honor--mention .aw-honor-medal { background: var(--ink); }
.aw-honor-kind {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 10px;
}
.aw-honor--mention .aw-honor-kind { color: var(--ink); }
.aw-honor-title {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--ink);
  flex: 1;
}
.aw-honor-authors {
  margin: 0 0 16px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-mute);
}
.aw-honor-authors b { color: var(--ink); font-weight: 600; }
.aw-honor-venue {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 14px;
  border-top: var(--hair) solid var(--line-soft);
}
.aw-honor-venue-tag {
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--ink);
  padding: 4px 8px;
  background: rgba(15, 23, 19, 0.06);
  border-radius: 3px;
}
.aw-honor-where {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* Reviewer service — compact 2x2 grid */
.aw-service-section { padding: 56px 0; border-top: var(--hair) solid var(--line); }
.aw-srv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 24px;
  row-gap: 16px;
}
.aw-srv {
  display: grid;
  grid-template-columns: 28px 1fr;
  column-gap: 16px;
  align-items: start;
  padding: 18px 20px;
  background: var(--bg);
  border: var(--hair) solid var(--line);
  transition: border-color .15s ease;
}
.aw-srv:hover { border-color: var(--ink-mute); }
.aw-srv-icon {
  width: 22px; height: 22px;
  color: var(--accent);
  stroke-width: 1.7;
  margin-top: 2px;
}
.aw-srv-kind {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 4px;
}
.aw-srv-title {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
}
.aw-srv-venue {
  margin-top: 4px;
  font-size: 12px;
  color: var(--ink-mute);
}

/* Defensive icon styling for the moved hero socials strip — guarantees
   icons render with visible color even if a more general rule didn't
   match the new selector. */
.hero-socials-foot a .icon {
  color: var(--ink);
  margin-right: 8px;
  vertical-align: -2px;
  width: 14px; height: 14px;
  stroke-width: 1.8;
}

/* Responsive */
@media (max-width: 960px) {
  .aw-stat-row { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .aw-honor-grid { grid-template-columns: 1fr; }
  .aw-srv-grid { grid-template-columns: 1fr; }
  .project--featured .pj-side { grid-column: 1 / span 12; flex-direction: row; align-items: center; gap: 24px; flex-wrap: wrap; }
}


/* ═══════════════════════════════════════════════════════════════════════
   TEACHING — codelab.sh portal prep
   ═══════════════════════════════════════════════════════════════════════ */

/* codelab.sh banner — sits between the page-hero and the course grid */
/* The dark fills the entire section edge-to-edge; the card inside is
   pure layout. */
.cl-banner {
  background: var(--ink);
  color: rgba(255,255,255,0.92);
  padding: 40px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cl-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(22,163,74,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.cl-banner-card {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  column-gap: 28px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.cl-banner-mark {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  position: relative;
  z-index: 1;
}
.cl-banner-mark .icon {
  width: 28px;
  height: 28px;
  color: var(--accent-bright);
  stroke-width: 1.6;
}
.cl-banner-body { position: relative; z-index: 1; min-width: 0; }
.cl-banner-eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-bright);
  font-weight: 600;
  margin-bottom: 8px;
}
.cl-banner-title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #fff;
}
.cl-banner-link {
  color: var(--accent-bright);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.cl-banner-link .icon { width: 16px; height: 16px; }
.cl-banner-sub {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.7);
  max-width: 72ch;
}
.cl-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: var(--accent-bright);
  color: var(--ink);
  border-radius: 3px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  z-index: 1;
  transition: background .15s ease, transform .15s ease;
}
.cl-banner-cta:hover {
  background: #fff;
  transform: translateY(-1px);
}
.cl-banner-cta .icon { width: 14px; height: 14px; }

/* Courses section */
.cl-courses { padding: 56px 0; }
.cl-course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 24px;
}
.cl-course {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: var(--hair) solid var(--line);
  padding: 26px 24px 0;
  transition: border-color .15s ease, transform .15s ease;
  position: relative;
}
.cl-course:hover {
  border-color: var(--ink-mute);
  transform: translateY(-2px);
}
.cl-course-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}
.cl-course-tags {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cl-lev {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 3px 7px;
  border-radius: 3px;
  border: 1px solid currentColor;
}
.cl-lev-ug { color: var(--accent); }
.cl-lev-gr { color: #1a3a8a; }
.cl-lev-mix {
  color: var(--accent);
  background: rgba(22,163,74,0.08);
  border-color: transparent;
}
.cl-code {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.cl-term {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 500;
  text-align: right;
}
.cl-course-title {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.25;
  color: var(--ink);
}
.cl-course-desc {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-mute);
  flex: 1;
}
.cl-course-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.cl-course-topics span {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  background: rgba(15,23,19,0.05);
  color: var(--ink-mute);
  border-radius: 3px;
}
.cl-course-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 -24px;
  padding: 16px 24px;
  border-top: var(--hair) solid var(--line-soft);
  text-decoration: none;
  background: rgba(15,23,19,0.02);
  transition: background .15s ease;
}
.cl-course-cta:hover { background: rgba(22,163,74,0.06); }
.cl-course-cta-label {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}
.cl-course-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--accent);
  font-weight: 600;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.cl-course-cta-link .icon { width: 13px; height: 13px; }

/* Philosophy section */
.cl-philosophy { padding: 56px 0; border-top: var(--hair) solid var(--line); }
.cl-phi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 32px;
  row-gap: 28px;
}
.cl-phi {
  padding: 20px 0 0;
  border-top: 2px solid var(--ink);
}
.cl-phi-icon {
  width: 22px;
  height: 22px;
  color: var(--accent);
  stroke-width: 1.6;
  margin-bottom: 14px;
}
.cl-phi h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.cl-phi p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-mute);
}

@media (max-width: 960px) {
  .cl-banner-card { grid-template-columns: 1fr; row-gap: 16px; }
  .cl-banner-mark { width: 48px; height: 48px; }
  .cl-banner-cta { justify-self: flex-start; }
  .cl-course-grid { grid-template-columns: 1fr; }
  .cl-phi-grid { grid-template-columns: 1fr; }
}

/* Course offering status — currently-offered vs paused */
.cl-course-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--ink-mute);
}
.cl-status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.cl-status-dot--active {
  background: var(--accent-bright);
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.6);
  animation: pulse-ring 2.2s cubic-bezier(.66,0,0,1) infinite;
}
.cl-status-dot--paused {
  background: var(--ink-faint);
  box-shadow: 0 0 0 2px rgba(0,0,0,0.04);
}
.cl-course--active {
  border-top: 3px solid var(--accent);
}
.cl-course--active .cl-course-status { color: var(--accent); }
.cl-course--paused .cl-course-status { color: var(--ink-faint); }
.cl-course--paused .cl-course-title { color: var(--ink-mute); }
.cl-course--paused .cl-course-cta { opacity: 0.72; }

/* ═══════════════════════════════════════════════════════════════════════
   LAB · Code & Open Source — GitHub org + repo grid
   ═══════════════════════════════════════════════════════════════════════ */

.gh-section { padding: 56px 0; border-top: var(--hair) solid var(--line); }

.gh-org-card {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  column-gap: 24px;
  align-items: center;
  padding: 24px 28px;
  background: var(--ink);
  color: rgba(255,255,255,0.92);
  border-radius: 4px;
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
}
.gh-org-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(22,163,74,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.gh-org-mark {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  position: relative; z-index: 1;
}
.gh-org-mark .icon { width: 28px; height: 28px; color: #fff; stroke-width: 1.6; }
.gh-org-body { position: relative; z-index: 1; }
.gh-org-eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-bright);
  font-weight: 600;
  margin: 0 0 4px;
}
.gh-org-title {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #fff;
}
.gh-org-handle {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  color: var(--accent-bright);
}
.gh-org-sub {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.66);
  max-width: 72ch;
}
.gh-org-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  background: var(--accent-bright);
  color: var(--ink);
  border-radius: 3px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  position: relative; z-index: 1;
  transition: background .15s ease, transform .15s ease;
  white-space: nowrap;
}
.gh-org-cta:hover { background: #fff; transform: translateY(-1px); }
.gh-org-cta .icon { width: 14px; height: 14px; }

.gh-repo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 20px;
  row-gap: 20px;
}
.gh-repo {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: var(--hair) solid var(--line);
  padding: 18px 20px;
  transition: border-color .15s ease, transform .15s ease;
  text-decoration: none;
  color: inherit;
}
.gh-repo:hover {
  border-color: var(--ink-mute);
  transform: translateY(-2px);
}
.gh-repo-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.gh-repo-head .icon { width: 14px; height: 14px; color: var(--ink-mute); stroke-width: 1.8; flex-shrink: 0; }
.gh-repo-name {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  word-break: break-all;
}
.gh-repo-desc {
  margin: 0 0 12px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-mute);
  flex: 1;
}
.gh-repo-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}
.gh-repo-foot span { display: inline-flex; align-items: center; gap: 4px; }
.gh-repo-foot .icon { width: 12px; height: 12px; }

.gh-foot-note {
  margin-top: 28px;
  text-align: center;
  font-size: 12px;
  color: var(--ink-mute);
}
.gh-foot-note a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

@media (max-width: 960px) {
  .gh-org-card { grid-template-columns: 1fr; row-gap: 16px; padding: 20px; }
  .gh-org-cta { justify-self: flex-start; }
  .gh-repo-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════
   CONTACT FAN — fixed corner FAB that fans out 9 contact links
   ═══════════════════════════════════════════════════════════════════════ */

.cfan {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  pointer-events: none;          /* children re-enable */
}
.cfan-fab,
.cfan-item { pointer-events: auto; }

.cfan-fab {
  position: relative;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.12),
    0 1px 2px rgba(0, 0, 0, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: background .15s ease, box-shadow .15s ease;
  font-family: inherit;
}
/* Hover stays subtle — the previous big accent halo + translate was
   bleeding across page navigation and reading like an overlay on the
   next page. */
.cfan-fab:hover {
  background: #1f2a25;
  box-shadow:
    0 3px 10px rgba(0, 0, 0, 0.14),
    0 1px 2px rgba(0, 0, 0, 0.08);
}
.cfan-fab:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}
.cfan[data-open] .cfan-fab {
  background: var(--accent);
  /* No rotation — the closed/open icon swap already signals state. */
}

/* Always-visible "CONTACTS" label — makes the affordance unmistakable.
   Hides itself the moment the fan opens to free space for the items. */
.cfan-fab-label {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--ink);
  color: #fff;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 7px 11px;
  border-radius: 3px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0.94;
  transition: opacity .15s ease, transform .2s ease;
}
.cfan-fab-label::after {
  /* small notch pointing at the FAB */
  content: "";
  position: absolute;
  right: -4px; top: 50%;
  width: 0; height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 4px solid var(--ink);
  transform: translateY(-50%);
}
.cfan[data-open] .cfan-fab-label {
  opacity: 0;
  transform: translateY(-50%) translateX(6px);
}

.cfan-fab-icon { width: 22px; height: 22px; stroke-width: 1.7; position: absolute; transition: opacity .2s ease, transform .2s ease; }
.cfan-fab-icon--open { opacity: 0; transform: rotate(-45deg) scale(0.6); }
.cfan-fab-icon--closed { opacity: 1; }
.cfan[data-open] .cfan-fab-icon--closed { opacity: 0; transform: scale(0.6); }
.cfan[data-open] .cfan-fab-icon--open { opacity: 1; transform: rotate(-45deg) scale(1); }

/* Items container — origin at the FAB center, items absolutely
   positioned along a quarter-arc sweeping up and to the left. */
.cfan-items {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52px;
  height: 52px;
  pointer-events: none;
}

.cfan-item {
  --gap: 12px;         /* gap between items */
  --size: 44px;        /* item diameter */
  --step: calc(var(--size) + var(--gap));
  /* Horizontal offset: items lay out in a row to the LEFT of the FAB.
     i=0 sits closest to the FAB, i=N-1 sits furthest left. */
  --dx: calc((var(--i) + 1) * var(--step));

  position: absolute;
  width: var(--size); height: var(--size);
  right: 4px; bottom: 4px;       /* center the item over the FAB center */
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(15, 23, 19, 0.10);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.06);
  /* Closed state: collapsed onto the FAB, hidden */
  transform: translate(0, 0) scale(0.6);
  opacity: 0;
  pointer-events: none;
  transition:
    transform .35s cubic-bezier(.34,1.56,.64,1),
    opacity   .22s ease,
    background .15s ease,
    color      .15s ease,
    border-color .15s ease;
  transition-delay: calc((var(--n) - var(--i) - 1) * 16ms);
}
.cfan-item .cfan-icon {
  width: 18px; height: 18px;
  stroke-width: 1.7;
  color: currentColor;
}
.cfan-item:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.cfan-item:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

/* Tooltip label — sits ABOVE each item so neighbors don't occlude it in the
   horizontal row layout. */
.cfan-item::after {
  content: attr(data-label);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 3px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
}
.cfan-item:hover::after,
.cfan-item:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Open state — slide horizontally to the left of the FAB */
.cfan[data-open] .cfan-item {
  pointer-events: auto;
  opacity: 1;
  transform: translate(calc(var(--dx) * -1), 0) scale(1);
  transition-delay: calc(var(--i) * 26ms);
}

/* Backdrop dimming when open — subtle, just enough to focus the fan */
.cfan::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  pointer-events: none;
  transition: background .25s ease;
  z-index: -1;
}
.cfan[data-open]::before {
  background: rgba(0, 0, 0, 0.06);
}

@media (prefers-reduced-motion: reduce) {
  .cfan-fab, .cfan-item, .cfan-fab-icon { transition: none; }
  .cfan-item { transition-delay: 0s !important; }
}

@media (max-width: 720px) {
  .cfan { right: 16px; bottom: 16px; }
  .cfan-fab { width: 48px; height: 48px; }
  .cfan-item {
    --size: 36px;
    --gap: 8px;
    width: var(--size); height: var(--size);
  }
  .cfan-item .cfan-icon { width: 15px; height: 15px; }
  /* On phones the persistent label crowds the corner — let the icon
     alone speak. */
  .cfan-fab-label { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   LAB v2 — DOSSIER
   Technical-dossier / research-ops dashboard aesthetic for lab.html.
   All new classes are prefixed `.ldos-` to avoid collisions with existing
   .statbar / .theme-row / .director / .member rules used elsewhere.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --ldos-mono: ui-monospace, "JetBrains Mono", "SF Mono", Consolas, monospace;
}

/* ── shared section rhythm ─────────────────────────────────────────────── */
.ldos-section {
  padding: 72px 0;
  border-top: var(--hair) solid #ececec;
}
.ldos-section:first-of-type { border-top: 0; }

.ldos-sec-head {
  margin-bottom: 40px;
  max-width: 880px;
}
.ldos-sec-num {
  font-family: var(--ldos-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 14px;
}
.ldos-sec-h {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0 0 14px;
  font-weight: 400;
}
.ldos-sec-h b { font-weight: 700; }
.ldos-sec-sub {
  color: var(--ink-mute);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  max-width: 760px;
}

/* ── status pill ───────────────────────────────────────────────────────── */
.ldos-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ldos-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  padding: 3px 8px;
  border: var(--hair) solid var(--accent);
  color: var(--accent-deep);
  background: var(--accent-tint);
  border-radius: 2px;
  text-transform: uppercase;
  line-height: 1;
}
.ldos-pill--mute {
  border-color: #d8d8d8;
  color: var(--ink-mute);
  background: #f3f3f3;
}

/* ═══ § 01 · MANIFEST HEADER ═══════════════════════════════════════════ */
.ldos-manifest {
  padding: 36px 0 60px;
  border-bottom: var(--hair) solid #ececec;
}
.ldos-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: var(--hair) solid #1a1a1a;
  border-bottom: var(--hair) solid #ececec;
  padding: 10px 0;
  margin-bottom: 36px;
}
.ldos-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 18px 4px 0;
  margin-right: 18px;
  border-right: var(--hair) solid #e2e2e2;
  font-family: var(--ldos-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.ldos-meta-item:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.ldos-meta-k {
  color: var(--ink-faint);
  text-transform: uppercase;
}
.ldos-meta-v {
  color: var(--ink);
  font-weight: 500;
}

.ldos-head { max-width: 900px; margin-bottom: 40px; }
.ldos-head-cap {
  font-family: var(--ldos-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.ldos-h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 0 0 22px;
  font-weight: 300;
}
.ldos-h1 b { font-weight: 700; }
.ldos-acc {
  color: var(--accent-deep);
  font-style: italic;
  font-weight: 400;
}
.ldos-lede {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-mid);
  margin: 0;
  max-width: 820px;
}

/* KPI strip */
.ldos-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: var(--hair) solid #1a1a1a;
  background: var(--bg);
}
.ldos-kpi {
  position: relative;
  padding: 20px 22px 18px;
  border-right: var(--hair) solid #e2e2e2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ldos-kpi:last-child { border-right: 0; }
.ldos-kpi::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  opacity: 0;
  transition: opacity .18s ease;
}
.ldos-kpi:hover::before { opacity: 1; }
.ldos-kpi-k {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ldos-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.ldos-kpi-icon {
  width: 13px; height: 13px;
  stroke-width: 1.6;
  color: var(--ink-faint);
}
.ldos-kpi-v {
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 500;
}
.ldos-kpi-v small {
  font-size: 0.55em;
  color: var(--accent-deep);
  font-weight: 500;
  margin-left: 2px;
  vertical-align: super;
}
.ldos-kpi-trim {
  font-family: var(--ldos-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  margin-top: 2px;
}

/* ═══ § 02 · MISSION / BRIEF ═══════════════════════════════════════════ */
.ldos-brief {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  border-top: var(--hair) solid #1a1a1a;
  border-bottom: var(--hair) solid #1a1a1a;
}
.ldos-brief-left,
.ldos-brief-right {
  padding: 28px 28px 32px;
}
.ldos-brief-left {
  border-right: var(--hair) solid #ececec;
  background: var(--bg-soft);
}
.ldos-brief-cap {
  font-family: var(--ldos-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.ldos-brief-quote {
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.32;
  letter-spacing: -0.012em;
  color: var(--ink);
  font-weight: 500;
  margin: 0 0 22px;
  border-left: 2px solid var(--accent);
  padding-left: 18px;
}
.ldos-brief-body p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-mid);
  margin: 0 0 12px;
}
.ldos-brief-body p:last-child { margin-bottom: 0; }

.ldos-ledger {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ldos-ledger-row {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-top: var(--hair) solid #e2e2e2;
}
.ldos-ledger-row:first-child { border-top: 0; padding-top: 4px; }
.ldos-ledger-idx {
  flex: 0 0 auto;
  font-family: var(--ldos-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent-deep);
  padding-top: 3px;
  min-width: 42px;
}
.ldos-ledger-body { flex: 1; }
.ldos-ledger-h {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.008em;
}
.ldos-ledger-d {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-mute);
}

/* ═══ § 03 · INSTRUMENT PANEL (THEMES) ════════════════════════════════ */
.ldos-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: var(--hair) solid #1a1a1a;
}
.ldos-tile {
  position: relative;
  background: var(--bg);
  border-right: var(--hair) solid #ececec;
  border-bottom: var(--hair) solid #ececec;
  display: flex;
  flex-direction: column;
  transition: background .18s ease;
}
.ldos-tile:nth-child(2n) { border-right: 0; }
.ldos-tile:nth-last-child(-n+2) { border-bottom: 0; }
.ldos-tile::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.ldos-tile:hover::before { transform: scaleX(1); }
.ldos-tile:hover { background: var(--bg-soft); }

.ldos-tile-strip {
  font-family: var(--ldos-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  padding: 10px 22px;
  border-bottom: var(--hair) solid #ececec;
  background: #fbfbfb;
  text-transform: uppercase;
}
.ldos-tile-body {
  position: relative;
  padding: 24px 22px 26px;
  flex: 1;
}
.ldos-tile-mono {
  position: absolute;
  top: 14px;
  right: 22px;
  font-family: var(--ldos-mono);
  font-size: 72px;
  line-height: 1;
  color: #f0f0f0;
  font-weight: 700;
  letter-spacing: -0.04em;
  user-select: none;
  pointer-events: none;
}
.ldos-tile-h {
  font-size: 18px;
  line-height: 1.28;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0 84px 12px 0;
  font-weight: 600;
}
.ldos-tile-d {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-mute);
  margin: 0 0 18px;
}
.ldos-tile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ldos-tile-tags span {
  font-family: var(--ldos-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border: var(--hair) solid #e2e2e2;
  color: var(--ink-mid);
  background: #fafafa;
  border-radius: 2px;
}

/* ═══ § 04 · FUNDING LEDGER ════════════════════════════════════════════ */
.ldos-ledger-table {
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.ldos-ledger-head {
  display: grid;
  grid-template-columns: 220px 1fr 240px;
  gap: 24px;
  padding: 10px 0;
  border-bottom: var(--hair) solid #ececec;
  font-family: var(--ldos-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.ldos-fund-row {
  display: grid;
  grid-template-columns: 220px 1fr 240px;
  gap: 24px;
  padding: 28px 0;
  border-bottom: var(--hair) solid #ececec;
  align-items: flex-start;
}
.ldos-fund-row:last-child { border-bottom: 0; }

.ldos-fund-side {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ldos-fund-amount {
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.018em;
  color: var(--ink);
  font-weight: 600;
}
.ldos-fund-program {
  font-family: var(--ldos-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  text-transform: uppercase;
  line-height: 1.4;
}
.ldos-fund-logo {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  width: max-content;
}
.ldos-fund-logo img { height: 56px; width: auto; opacity: 1; display: block; }
.ldos-fund-logo-wm {
  font-family: var(--ldos-mono, ui-monospace, SFMono-Regular, monospace);
  font-size: 10px;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a3d91;
  font-weight: 600;
  max-width: 90px;
}
.ldos-fund-logo-wm b { display: block; font-size: 13px; letter-spacing: 0.04em; color: #0a3d91; }

/* ── § GRANT CARD — premium one-grant dossier ─────────────────────────── */
.ldos-grant-card {
  position: relative;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  border: 1px solid #e2e2e2;
  border-top: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--bg);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 24px 48px -32px rgba(21,128,61,0.18);
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.ldos-grant-card:hover {
  border-color: color-mix(in srgb, var(--accent) 40%, #e2e2e2);
  box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 28px 56px -28px rgba(21,128,61,0.32);
  transform: translateY(-1px);
}
.ldos-grant-card-rail {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 60%, #0a3d91 100%);
  z-index: 2;
}
.ldos-grant-card-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(rgba(21,128,61,0.07) 1px, transparent 1px),
    linear-gradient(135deg, color-mix(in srgb, var(--accent-tint) 60%, transparent) 0%, transparent 55%);
  background-size: 16px 16px, 100% 100%;
  background-position: -1px -1px, 0 0;
  mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%);
}

/* — feature panel — */
.ldos-grant-card-feature {
  position: relative;
  z-index: 1;
  padding: 28px 26px 28px 30px;
  border-right: 1px solid #ececec;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent-tint) 55%, var(--bg)) 0%, var(--bg) 100%);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.ldos-grant-card-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ldos-grant-card-status-tag {
  font-family: var(--ldos-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  padding: 3px 8px;
  border: 1px solid color-mix(in srgb, var(--accent) 50%, #d8d8d8);
  border-radius: 2px;
  color: var(--accent-deep);
  background: rgba(255,255,255,0.6);
}
.ldos-grant-card-amount-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ldos-grant-card-amount-k {
  font-family: var(--ldos-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.ldos-grant-card-amount {
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-weight: 700;
  background: linear-gradient(180deg, var(--ink) 0%, color-mix(in srgb, var(--ink) 70%, var(--accent-deep)) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ldos-grant-card-program {
  font-family: var(--ldos-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  text-transform: uppercase;
  line-height: 1.4;
  margin-top: 2px;
}
.ldos-grant-card-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 12px;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  text-decoration: none;
  width: max-content;
  margin-top: auto;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.ldos-grant-card-logo:hover {
  border-color: #0a3d91;
  box-shadow: 0 4px 12px -6px rgba(10,61,145,0.30);
  transform: translateY(-1px);
}
.ldos-grant-card-logo img { height: 60px; width: auto; display: block; }
.ldos-grant-card-wm {
  font-family: var(--ldos-mono);
  font-size: 9.5px;
  letter-spacing: 0.10em;
  line-height: 1.3;
  color: #0a3d91;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-transform: uppercase;
  max-width: 110px;
}
.ldos-grant-card-wm b {
  font-size: 16px;
  letter-spacing: 0.04em;
  font-weight: 800;
  color: #0a3d91;
}
.ldos-grant-card-wm span { color: #5a6275; font-weight: 500; }

/* — body — */
.ldos-grant-card-body {
  position: relative;
  z-index: 1;
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ldos-grant-card-eyebrow {
  font-family: var(--ldos-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.ldos-grant-card-eyebrow b { color: var(--accent-deep); font-weight: 700; }
.ldos-grant-card-title {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.012em;
  color: var(--ink);
  font-weight: 600;
  margin: 0;
}
.ldos-grant-card-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-mute);
  margin: 0;
}
.ldos-grant-card-desc b { color: var(--ink); font-weight: 600; }
.ldos-grant-card-stats {
  list-style: none;
  margin: 8px 0 0;
  padding: 14px 0 0;
  border-top: 1px dashed #d8d8d8;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.ldos-grant-card-stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 10px;
  border-left: 2px solid color-mix(in srgb, var(--accent) 35%, #e6e6e6);
}
.ldos-grant-card-stats .k {
  font-family: var(--ldos-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.ldos-grant-card-stats .v {
  font-size: 13px;
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 860px) {
  .ldos-grant-card { grid-template-columns: 1fr; }
  .ldos-grant-card-feature { border-right: 0; border-bottom: 1px solid #ececec; }
  .ldos-grant-card-stats { grid-template-columns: repeat(2, 1fr); }
}

.ldos-fund-mid {}
.ldos-fund-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ldos-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  margin-bottom: 10px;
}
.ldos-fund-title {
  font-size: 17px;
  line-height: 1.32;
  letter-spacing: -0.012em;
  color: var(--ink);
  font-weight: 600;
  margin: 0 0 10px;
}
.ldos-fund-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-mute);
  margin: 0;
}
.ldos-fund-desc a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.ldos-fund-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: var(--hair) solid #e2e2e2;
  background: var(--bg-soft);
}
.lm {
  display: grid;
  grid-template-columns: 90px 1fr;
  border-bottom: var(--hair) solid #ececec;
  font-family: var(--ldos-mono);
  font-size: 11px;
}
.lm:last-child { border-bottom: 0; }
.lm-k {
  padding: 7px 10px;
  background: #f3f3f3;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-right: var(--hair) solid #ececec;
}
.lm-v {
  padding: 7px 10px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ═══ § 05 · ROSTER MANIFEST ═══════════════════════════════════════════ */
.ldos-director {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  padding: 28px;
  border: var(--hair) solid #1a1a1a;
  background: var(--bg);
  margin-bottom: 56px;
  position: relative;
}
.ldos-director::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
}
.ldos-dir-photo { position: relative; }
.ldos-frame {
  width: 100%;
  aspect-ratio: 1;
  border: var(--hair) solid #d8d8d8;
  overflow: hidden;
  background: var(--bg-soft);
}
.ldos-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ldos-dir-tag {
  font-family: var(--ldos-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  text-transform: uppercase;
  margin-top: 10px;
  text-align: center;
}

.ldos-dir-info {}
.ldos-dir-cap {
  font-family: var(--ldos-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.ldos-dir-name {
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.018em;
  color: var(--ink);
  font-weight: 600;
  margin: 0 0 6px;
}
.ldos-dir-role {
  font-family: var(--ldos-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.ldos-dir-bio {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-mid);
  margin: 0 0 18px;
  max-width: 720px;
}
.ldos-dir-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: var(--hair) solid #ececec;
  border-bottom: var(--hair) solid #ececec;
}
.ldos-dir-links a {
  font-family: var(--ldos-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 10px 16px;
  border-right: var(--hair) solid #ececec;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.ldos-dir-links a:hover {
  background: var(--accent-tint);
  color: var(--accent-deep);
}
.ldos-dir-links a:last-child { border-right: 0; }

/* Role divider */
.ldos-divider {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0 12px;
  border-top: var(--hair) solid #1a1a1a;
  border-bottom: var(--hair) solid #ececec;
  margin: 0 0 24px;
}
.ldos-div-cap {
  font-family: var(--ldos-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent-deep);
}
.ldos-div-h {
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-weight: 600;
  margin: 0;
  flex: 1;
}
.ldos-div-meta {
  font-family: var(--ldos-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  text-transform: uppercase;
}

/* Roster grid (cards) */
.ldos-roster {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.ldos-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: var(--hair) solid #d8d8d8;
  background: var(--bg);
  padding: 0;
  transition: border-color .18s ease, transform .18s ease;
}
.ldos-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.ldos-card:hover::before { transform: scaleX(1); }
.ldos-card:hover { border-color: #1a1a1a; }
.ldos-card--static:hover::before { transform: scaleX(0); }
.ldos-card--static:hover { border-color: #d8d8d8; }

.ldos-card-strip {
  font-family: var(--ldos-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  padding: 7px 12px;
  border-bottom: var(--hair) solid #ececec;
  background: #fbfbfb;
  text-transform: uppercase;
}
.ldos-card-photo {
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg-soft);
  overflow: hidden;
}
.ldos-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.15);
  transition: filter .25s ease;
}
.ldos-card:hover .ldos-card-photo img { filter: grayscale(0); }
.ldos-card-photo--ph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ldos-mono);
  font-size: 42px;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  font-weight: 500;
  background: #f3f3f3;
}
.ldos-card-name {
  font-size: 14.5px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.008em;
  padding: 12px 12px 4px;
}
.ldos-card-role {
  font-family: var(--ldos-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  text-transform: uppercase;
  padding: 0 12px 10px;
  line-height: 1.4;
}
.ldos-card-note {
  font-family: var(--ldos-mono);
  font-size: 10px;
  letter-spacing: 0.02em;
  color: var(--ink-faint);
  padding: 0 12px 4px;
  line-height: 1.4;
}
.ldos-card-note:last-child { padding-bottom: 12px; }

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .ldos-kpis { grid-template-columns: repeat(2, 1fr); }
  .ldos-kpi:nth-child(2) { border-right: 0; }
  .ldos-kpi:nth-child(1),
  .ldos-kpi:nth-child(2) { border-bottom: var(--hair) solid #e2e2e2; }
  .ldos-ledger-head,
  .ldos-fund-row {
    grid-template-columns: 180px 1fr 220px;
    gap: 18px;
  }
  .ldos-roster { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .ldos-brief { grid-template-columns: 1fr; }
  .ldos-brief-left { border-right: 0; border-bottom: var(--hair) solid #ececec; }
  .ldos-ledger-head { display: none; }
  .ldos-fund-row {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 0;
  }
  .ldos-director {
    grid-template-columns: 1fr;
    padding: 22px;
  }
  .ldos-dir-photo {
    max-width: 180px;
  }
}

@media (max-width: 720px) {
  .ldos-section { padding: 56px 0; }
  .ldos-manifest { padding: 28px 0 44px; }
  .ldos-meta-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 12px 0;
  }
  .ldos-meta-item {
    border-right: 0;
    margin-right: 0;
    padding: 2px 0;
  }
  .ldos-kpis { grid-template-columns: 1fr; }
  .ldos-kpi {
    border-right: 0;
    border-bottom: var(--hair) solid #e2e2e2;
  }
  .ldos-kpi:last-child { border-bottom: 0; }
  .ldos-panel { grid-template-columns: 1fr; }
  .ldos-tile {
    border-right: 0;
    border-bottom: var(--hair) solid #ececec;
  }
  .ldos-tile:last-child { border-bottom: 0; }
  .ldos-tile-mono { font-size: 56px; top: 10px; right: 16px; }
  .ldos-tile-h { margin-right: 64px; }
  .ldos-roster { grid-template-columns: repeat(2, 1fr); }
  .ldos-dir-links a { padding: 9px 12px; font-size: 10.5px; }
  .lm { grid-template-columns: 80px 1fr; }
}

@media (max-width: 460px) {
  .ldos-roster { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   AWARDS v2 — DOSSIER
   Awards-specific additions on top of the .ldos-* dossier vocabulary.
   Two new component families:
     .ldos-aw-register / .ldos-aw-card   — paper honors (3-up)
     .ldos-aw-srv-grid / .ldos-aw-srv    — reviewer service (4-up)
   No new colors — all tokens reuse var(--accent) / var(--ink-*).
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Recognition register: 3 paper honors as dossier cards ─────────────── */
.ldos-aw-register {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: var(--hair) solid #1a1a1a;
  background: var(--bg);
}
.ldos-aw-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-right: var(--hair) solid #ececec;
  transition: background .18s ease;
}
.ldos-aw-card:last-child { border-right: 0; }
.ldos-aw-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.ldos-aw-card:hover::before { transform: scaleX(1); }
.ldos-aw-card:hover { background: var(--bg-soft); }

.ldos-aw-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--ldos-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  padding: 10px 22px;
  border-bottom: var(--hair) solid #ececec;
  background: #fbfbfb;
  text-transform: uppercase;
}
.ldos-aw-idx { color: var(--accent-deep); font-weight: 500; }
.ldos-aw-year { color: var(--ink-faint); }

.ldos-aw-body {
  padding: 22px 22px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.ldos-aw-kind {
  font-family: var(--ldos-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--accent-deep);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.ldos-aw-title {
  font-size: 17px;
  line-height: 1.32;
  letter-spacing: -0.012em;
  color: var(--ink);
  font-weight: 600;
  margin: 0 0 14px;
  flex: 1;
}
.ldos-aw-authors {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-mute);
  margin: 0;
}
.ldos-aw-authors b { color: var(--ink); font-weight: 700; }

.ldos-aw-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 22px 14px;
  border-top: var(--hair) solid #ececec;
  font-family: var(--ldos-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ldos-aw-venue {
  color: var(--ink);
  font-weight: 600;
}
.ldos-aw-where { color: var(--ink-faint); }

/* ── Reviewer service grid: 4 compact tiles ───────────────────────────── */
.ldos-aw-srv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: var(--hair) solid #1a1a1a;
  background: var(--bg);
}
.ldos-aw-srv {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-right: var(--hair) solid #ececec;
  transition: background .18s ease;
}
.ldos-aw-srv:last-child { border-right: 0; }
.ldos-aw-srv::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.ldos-aw-srv:hover::before { transform: scaleX(1); }
.ldos-aw-srv:hover { background: var(--bg-soft); }

.ldos-aw-srv-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ldos-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  padding: 10px 18px;
  border-bottom: var(--hair) solid #ececec;
  background: #fbfbfb;
  text-transform: uppercase;
}
.ldos-aw-srv-icon {
  width: 13px; height: 13px;
  color: var(--accent);
  stroke-width: 1.7;
}
.ldos-aw-srv-body {
  padding: 18px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.ldos-aw-srv-kind {
  font-family: var(--ldos-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--accent-deep);
  font-weight: 600;
  text-transform: uppercase;
}
.ldos-aw-srv-title {
  font-size: 15px;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-weight: 600;
  margin: 0 0 4px;
}
.ldos-aw-srv-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: var(--hair) solid #e2e2e2;
  background: var(--bg-soft);
  margin-top: auto;
}
/* Single mono meta line — replaces the 3-row VENUE/CITY/YEAR grid so each
   reviewer card surfaces exactly one piece of new information (venue +
   location/year). Year is intentionally not repeated when already in the
   venue label (e.g. "FSE 2025"). */
.ldos-aw-srv-line {
  margin-top: auto;
  padding-top: 14px;
  border-top: var(--hair) solid #ececec;
  font-family: ui-monospace, "JetBrains Mono", "SF Mono", Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
/* .lm / .lm-k / .lm-v already defined in LAB v2 — reused here verbatim. */

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .ldos-aw-srv-grid { grid-template-columns: repeat(2, 1fr); }
  .ldos-aw-srv:nth-child(2) { border-right: 0; }
  .ldos-aw-srv:nth-child(1),
  .ldos-aw-srv:nth-child(2) { border-bottom: var(--hair) solid #ececec; }
}
@media (max-width: 860px) {
  .ldos-aw-register { grid-template-columns: 1fr; }
  .ldos-aw-card {
    border-right: 0;
    border-bottom: var(--hair) solid #ececec;
  }
  .ldos-aw-card:last-child { border-bottom: 0; }
}
@media (max-width: 540px) {
  .ldos-aw-srv-grid { grid-template-columns: 1fr; }
  .ldos-aw-srv {
    border-right: 0;
    border-bottom: var(--hair) solid #ececec;
  }
  .ldos-aw-srv:last-child { border-bottom: 0; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SPOTLIGHT v2 — DOSSIER
   Spotlight-specific additions on top of the .ldos-* dossier vocabulary.
   Two small additions:
     .ldos-kpi-v--str            — smaller KPI value font for string-valued tiles
     .ldos-sp-note               — small mono "// note" line under the brief
     .ldos-sp-register / -row    — vertical ledger of authored columns
     .ldos-sp-yhead              — year-group divider strip
   No new colors — all tokens reuse var(--accent) / var(--ink-*).
   ═══════════════════════════════════════════════════════════════════════════ */

/* String-valued KPI tile (e.g. "IEEE Computer", "Tens of thousands") */
.ldos-kpi-v.ldos-kpi-v--str {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.15;
  padding-top: 4px;
}

/* Small mono note under the objectives column */
.ldos-sp-note {
  font-family: var(--ldos-mono);
  font-size: 10.5px;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  margin-top: 22px;
  padding-top: 14px;
  border-top: var(--hair) solid #ececec;
}

/* ── Column register: vertical ledger of authored columns ──────────────── */
.ldos-sp-register {
  border: var(--hair) solid #1a1a1a;
  background: var(--bg);
}

.ldos-sp-yhead {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px 22px;
  background: #fbfbfb;
  border-bottom: var(--hair) solid #ececec;
  border-top: var(--hair) solid #ececec;
}
.ldos-sp-yhead:first-child { border-top: 0; }
.ldos-sp-yhead-num {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.ldos-sp-yhead-rule {
  height: 1px;
  background: #e2e2e2;
}
.ldos-sp-yhead-count {
  font-family: var(--ldos-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.ldos-sp-row {
  position: relative;
  display: grid;
  grid-template-columns: 88px 1fr 220px;
  gap: 22px;
  align-items: start;
  padding: 22px 22px;
  border-bottom: var(--hair) solid #ececec;
  transition: background .18s ease;
}
.ldos-sp-row:last-child { border-bottom: 0; }
.ldos-sp-row::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .25s ease;
}
.ldos-sp-row:hover { background: var(--bg-soft); }
.ldos-sp-row:hover::before { transform: scaleY(1); }

.ldos-sp-idx {
  font-family: var(--ldos-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--accent-deep);
  font-weight: 500;
  text-transform: uppercase;
  padding-top: 4px;
}

.ldos-sp-body { min-width: 0; }
.ldos-sp-title {
  font-size: 16px;
  line-height: 1.32;
  letter-spacing: -0.012em;
  color: var(--ink);
  font-weight: 600;
  margin: 0 0 6px;
}
.ldos-sp-authors {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-mute);
  margin: 0;
}
.ldos-sp-authors b { color: var(--ink); font-weight: 700; }

.ldos-sp-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  text-align: right;
}
.ldos-sp-meta-line {
  font-family: var(--ldos-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.ldos-sp-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ldos-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: border-color .18s ease, color .18s ease;
}
.ldos-sp-read:hover {
  color: var(--accent-bright);
  border-bottom-color: var(--accent-bright);
}
.ldos-sp-read i {
  width: 11px; height: 11px;
  stroke-width: 1.8;
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .ldos-sp-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .ldos-sp-idx { padding-top: 0; }
  .ldos-sp-meta {
    align-items: flex-start;
    text-align: left;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
  }
}
@media (max-width: 540px) {
  .ldos-sp-yhead {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .ldos-sp-yhead-rule { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SERVICE v2 — DOSSIER
   Service-page additions on top of the .ldos-* dossier vocabulary.
   Adds:
     .ldos-sv-pc-table / .ldos-sv-year-row / .ldos-sv-chip   — PC manifest
     .ldos-sv-org-grid (modifier on .ldos-aw-srv-grid)       — chair roles
     .ldos-sv-talks / .ldos-sv-talk / .ldos-sv-keynote-mark  — invited talks
     .ldos-sv-jrn-strip                                       — journals strip
     .ldos-sv-affil                                           — affiliations row
   Reuses .ldos-section / .ldos-sec-head / .ldos-pill / .lm / .ldos-aw-srv*
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── § 02 · Program-committee year manifest ────────────────────────────── */
.ldos-sv-pc-table {
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.ldos-sv-year-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: var(--hair) solid #ececec;
  align-items: flex-start;
}
.ldos-sv-year-row:last-child { border-bottom: 0; }
.ldos-sv-year-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ldos-sv-year-k {
  font-family: var(--ldos-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.ldos-sv-year-v {
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.018em;
  color: var(--ink);
  font-weight: 600;
}
.ldos-sv-year-n {
  font-family: var(--ldos-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--accent-deep);
  text-transform: uppercase;
  margin-top: 2px;
}

.ldos-sv-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.ldos-sv-chip {
  font-family: var(--ldos-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border: var(--hair) solid #d8d8d8;
  color: var(--ink);
  background: var(--bg);
  border-radius: 2px;
  text-transform: uppercase;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
  white-space: nowrap;
}
.ldos-sv-chip:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
  background: var(--accent-tint);
}

/* ── § 02b · Program-committee year CARDS (three-column grid) ─────────── */
.ldos-sv-pc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  border-top: 2px solid var(--ink);
  padding-top: 22px;
}
.ldos-sv-year-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 22px 22px 28px;
  background: linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--accent-tint) 30%, var(--bg)) 100%);
  border: var(--hair) solid #e6e6e6;
  border-radius: 4px;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.ldos-sv-year-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(0,0,0,0.045) 1px, transparent 1px);
  background-size: 14px 14px;
  background-position: -1px -1px;
  opacity: 0.5;
  mask-image: linear-gradient(180deg, transparent 0, #000 24px, #000 78%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 24px, #000 78%, transparent 100%);
}
.ldos-sv-year-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px -16px rgba(21,128,61,0.35);
  transform: translateY(-2px);
}
.ldos-sv-year-card-rail {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
}
.ldos-sv-year-card--early .ldos-sv-year-card-rail {
  background: linear-gradient(180deg, #b0b0b0 0%, #808080 100%);
}
.ldos-sv-year-card--upcoming .ldos-sv-year-card-rail {
  background: linear-gradient(180deg, #6366f1 0%, #4338ca 100%);
}
.ldos-sv-year-card-head {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: end;
}
.ldos-sv-year-card-k {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  font-family: var(--ldos-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.ldos-sv-year-card-v {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  font-size: 42px;
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--ink);
  font-weight: 700;
}
.ldos-sv-year-card-n {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  align-self: end;
  font-family: var(--ldos-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
  padding: 4px 8px;
  background: color-mix(in srgb, var(--accent-tint) 70%, transparent);
  border: var(--hair) solid color-mix(in srgb, var(--accent) 40%, transparent);
  border-radius: 2px;
  white-space: nowrap;
}
.ldos-sv-year-card--early .ldos-sv-year-card-n {
  color: #555;
  background: rgba(0,0,0,0.04);
  border-color: #d8d8d8;
}
.ldos-sv-year-card--upcoming .ldos-sv-year-card-n {
  color: #4338ca;
  background: rgba(99,102,241,0.10);
  border-color: rgba(99,102,241,0.35);
}
.ldos-sv-year-card-list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-content: flex-start;
}
.ldos-sv-year-card-list .ldos-sv-chip {
  background: var(--bg);
}

@media (max-width: 1024px) {
  .ldos-sv-pc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ldos-sv-pc-grid { grid-template-columns: 1fr; }
  .ldos-sv-year-card-v { font-size: 36px; }
}

/* ── § 03 · Organizing / chairs grid ──────────────────────────────────── */
/* Reuses .ldos-aw-srv-grid / .ldos-aw-srv from AWARDS v2. We override the
   strict 4-column rule to a flexible 3-up (then 2-up, then 1-up). */
.ldos-sv-org-grid {
  grid-template-columns: repeat(3, 1fr);
}
.ldos-sv-org-grid .ldos-aw-srv { border-right: var(--hair) solid #ececec; }
.ldos-sv-org-grid .ldos-aw-srv:nth-child(3n) { border-right: 0; }
.ldos-sv-org-grid .ldos-aw-srv:nth-child(n+4) {
  border-top: var(--hair) solid #ececec;
}
.ldos-sv-org-grid .ldos-aw-srv-strip {
  justify-content: flex-start;
}
.ldos-sv-org-year {
  margin-left: auto;
  color: var(--accent-deep);
  font-weight: 500;
}

/* ── § 04 · Invited talks 2x2 grid ────────────────────────────────────── */
.ldos-sv-talks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: var(--hair) solid #1a1a1a;
  background: var(--bg);
}
.ldos-sv-talk {
  position: relative;
  background: var(--bg);
  border-right: var(--hair) solid #ececec;
  border-bottom: var(--hair) solid #ececec;
  display: flex;
  flex-direction: column;
  transition: background .18s ease;
}
.ldos-sv-talk:nth-child(2n) { border-right: 0; }
.ldos-sv-talk:nth-last-child(-n+2) { border-bottom: 0; }
.ldos-sv-talk::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.ldos-sv-talk:hover::before { transform: scaleX(1); }
.ldos-sv-talk:hover { background: var(--bg-soft); }

.ldos-sv-talk--keynote {
  border-left: 2px solid var(--accent);
  background: var(--bg-soft);
}
.ldos-sv-talk--keynote::before {
  transform: scaleX(1);
  background: var(--accent-bright);
  height: 3px;
}

.ldos-sv-talk-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--ldos-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  padding: 10px 22px;
  border-bottom: var(--hair) solid #ececec;
  background: #fbfbfb;
  text-transform: uppercase;
}
.ldos-sv-talk--keynote .ldos-sv-talk-strip { background: var(--accent-tint); }
.ldos-sv-talk-idx { color: var(--accent-deep); font-weight: 500; }

.ldos-sv-talk-body {
  padding: 22px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.ldos-sv-talk-kind {
  font-family: var(--ldos-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--accent-deep);
  font-weight: 600;
  text-transform: uppercase;
}
.ldos-sv-keynote-mark {
  color: var(--accent-bright);
  letter-spacing: 0.2em;
  font-weight: 700;
}
.ldos-sv-talk-title {
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -0.012em;
  color: var(--ink);
  font-weight: 600;
  margin: 0;
  font-family: "Inter Tight", system-ui, sans-serif;
}
.ldos-sv-talk-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-family: var(--ldos-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin-top: auto;
  padding-top: 4px;
}
.ldos-sv-talk-host { color: var(--ink); font-weight: 500; }
.ldos-sv-talk-dot { color: var(--ink-faint); }
.ldos-sv-talk-where { color: var(--ink-faint); }

/* ── § 05 · Journal reviewing strip ───────────────────────────────────── */
.ldos-sv-jrn-strip {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: center;
  padding: 22px 24px;
  border: var(--hair) solid #1a1a1a;
  background: var(--bg);
}
.ldos-sv-jrn-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: var(--hair) solid #ececec;
  padding-right: 24px;
}
.ldos-sv-jrn-k {
  font-family: var(--ldos-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.ldos-sv-jrn-v {
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: -0.012em;
  color: var(--ink);
  font-weight: 600;
}
.ldos-sv-jrn-n {
  font-family: var(--ldos-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--accent-deep);
  text-transform: uppercase;
}

/* ── § 06 · Affiliations row ──────────────────────────────────────────── */
.ldos-sv-affil {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 18px 0;
  border-top: var(--hair) solid #1a1a1a;
  border-bottom: var(--hair) solid #1a1a1a;
  font-family: var(--ldos-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ldos-sv-affil-k {
  color: var(--ink-faint);
  letter-spacing: 0.14em;
  padding-right: 18px;
  border-right: var(--hair) solid #e2e2e2;
}
.ldos-sv-affil-list {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  flex-wrap: wrap;
}
.ldos-sv-affil-item { color: var(--ink); font-weight: 500; }
.ldos-sv-affil-sep { color: var(--ink-faint); }
.ldos-sv-affil-link {
  color: var(--accent-deep);
  text-decoration: none;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border: var(--hair) solid #d8d8d8;
  border-radius: 2px;
  transition: border-color .15s ease, background .15s ease;
}
.ldos-sv-affil-link:hover {
  border-color: var(--accent);
  background: var(--accent-tint);
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .ldos-sv-org-grid { grid-template-columns: repeat(2, 1fr); }
  .ldos-sv-org-grid .ldos-aw-srv { border-right: var(--hair) solid #ececec; }
  .ldos-sv-org-grid .ldos-aw-srv:nth-child(3n) { border-right: var(--hair) solid #ececec; }
  .ldos-sv-org-grid .ldos-aw-srv:nth-child(2n) { border-right: 0; }
  .ldos-sv-org-grid .ldos-aw-srv:nth-child(n+3) {
    border-top: var(--hair) solid #ececec;
  }
}

@media (max-width: 860px) {
  .ldos-sv-year-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .ldos-sv-jrn-strip {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }
  .ldos-sv-jrn-label {
    border-right: 0;
    padding-right: 0;
    border-bottom: var(--hair) solid #ececec;
    padding-bottom: 14px;
  }
}

@media (max-width: 720px) {
  .ldos-sv-org-grid { grid-template-columns: 1fr; }
  .ldos-sv-org-grid .ldos-aw-srv {
    border-right: 0;
    border-bottom: var(--hair) solid #ececec;
  }
  .ldos-sv-org-grid .ldos-aw-srv:last-child { border-bottom: 0; }
  .ldos-sv-org-grid .ldos-aw-srv:nth-child(n+2) {
    border-top: 0;
  }
  .ldos-sv-talks { grid-template-columns: 1fr; }
  .ldos-sv-talk {
    border-right: 0;
    border-bottom: var(--hair) solid #ececec;
  }
  .ldos-sv-talk:last-child { border-bottom: 0; }
}

@media (max-width: 540px) {
  .ldos-sv-affil {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .ldos-sv-affil-k {
    border-right: 0;
    padding-right: 0;
    padding-bottom: 8px;
    border-bottom: var(--hair) solid #e2e2e2;
    width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   NAV DRAWER + RESPONSIVE — Pass A
   Hides the desktop nav-links list at ≤980px and exposes a hamburger
   that slides the same <a> list down as a drawer. ESC closes; tapping
   any link closes. Body gets `.nav-open` while the drawer is showing.
   ═══════════════════════════════════════════════════════════════════════════ */

.nav-toggle {
  display: none;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: transparent;
  border: var(--hair) solid rgba(255,255,255,0.18);
  border-radius: 4px;
  padding: 0;
  cursor: pointer;
  position: relative;
  margin-left: auto;
  transition: background .15s ease, border-color .15s ease;
}
.nav-toggle:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.35); }
.nav-toggle .nav-toggle-bar {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 1px;
  transition: transform .2s ease, opacity .15s ease, top .2s ease;
}
.nav-toggle .nav-toggle-bar:nth-child(1) { top: 14px; }
.nav-toggle .nav-toggle-bar:nth-child(2) { top: 21px; }
.nav-toggle .nav-toggle-bar:nth-child(3) { top: 28px; }
body.nav-open .nav-toggle .nav-toggle-bar:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.nav-open .nav-toggle .nav-toggle-bar:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle .nav-toggle-bar:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-aura { display: none; }
  .nav-row { gap: 12px; padding: 12px 0; min-height: 76px; }
  .nav-brand .nb-text { font-size: 12.5px; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    background: #0a0a0a;
    border-top: var(--hair) solid rgba(255,255,255,0.12);
    border-bottom: var(--hair) solid rgba(255,255,255,0.12);
    padding: 6px 0;
    gap: 0;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .22s ease, opacity .18s ease;
    z-index: 50;
    max-height: calc(100vh - 84px);
    overflow-y: auto;
  }
  body.nav-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    padding: 14px 20px;
    border-right: none;
    border-bottom: var(--hair) solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.86);
    font-size: 14px;
    line-height: 18px;
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a.active { background: rgba(34,197,94,0.08); }
  .nav-links a.active::after { display: none; }
}

@media (max-width: 520px) {
  .nav-brand .aura-mark { width: 44px; height: 44px; }
  .nav-brand .nb-text { font-size: 11.5px; }
  .nav-brand .bsub { font-size: 9.5px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   TIMELINE MOBILE — Pass A
   Flip the horizontal lab feed to a single vertical column at <860px.
   Each .tl-group becomes a stacked block; cards full-width; rail / fanout
   pseudo-elements hidden since they only carry meaning on the horizontal
   layout.
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 860px) {
  .timeline--horiz .tl-track {
    flex-direction: column;
    overflow-x: visible;
    gap: 28px;
    padding: 12px 0 12px;
    scroll-snap-type: none;
  }
  .timeline--horiz .tl-track::before { display: none; }
  .timeline--horiz .tl-group {
    flex: 0 0 auto;
    align-items: stretch;
    width: 100%;
  }
  .timeline--horiz .tl-group .tl-node {
    flex-direction: row;
    align-self: flex-start;
    align-items: center;
    gap: 10px;
    padding: 0 0 6px;
    border-bottom: var(--hair) solid rgba(5,5,5,0.12);
    margin-bottom: 14px;
    width: 100%;
  }
  .timeline--horiz .tl-group .tl-dot {
    box-shadow: none;
    border-color: var(--ink);
  }
  .timeline--horiz .tl-fanout { display: none; }
  .timeline--horiz .tl-cards {
    flex-direction: column;
    gap: 14px;
  }
  .timeline--horiz .tl-cards .tl-item {
    flex: 0 0 auto;
    width: 100%;
  }
  .timeline--horiz .tl-cards .tl-item::before { display: none; }
  .timeline--horiz .tl-end { padding-left: 0; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   LATEST-FROM-THE-LAB feed — month cards in a 3-column grid (replaces the
   horizontal timeline). Same visual language as .ldos-sv-year-card.
   ═══════════════════════════════════════════════════════════════════════════ */

.ldos-feed {
  margin-top: 24px;
}
.ldos-feed-year-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  margin-bottom: 22px;
  background: var(--bg);
}
.ldos-feed-year-k {
  font-family: var(--ldos-mono, ui-monospace, SFMono-Regular, monospace);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.ldos-feed-year-v {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.ldos-feed-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.ldos-feed-month {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 22px 22px 28px;
  background: linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--accent-tint) 25%, var(--bg)) 100%);
  border: var(--hair) solid #e6e6e6;
  border-radius: 4px;
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.ldos-feed-month::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(0,0,0,0.045) 1px, transparent 1px);
  background-size: 14px 14px;
  background-position: -1px -1px;
  opacity: 0.45;
  mask-image: linear-gradient(180deg, transparent 0, #000 24px, #000 78%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 24px, #000 78%, transparent 100%);
}
.ldos-feed-month:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, #e6e6e6);
  box-shadow: 0 8px 24px -16px rgba(21,128,61,0.30);
}
.ldos-feed-month-rail {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
}
.ldos-feed-month[data-month="Jan"] .ldos-feed-month-rail,
.ldos-feed-month[data-month="Mar"] .ldos-feed-month-rail {
  background: linear-gradient(180deg, #6366f1 0%, #4338ca 100%);
}
.ldos-feed-month[data-month="May"] .ldos-feed-month-rail {
  background: linear-gradient(180deg, #f59e0b 0%, #b45309 100%);
}

.ldos-feed-month-head {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: end;
}
.ldos-feed-month-k {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  font-family: var(--ldos-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.ldos-feed-month-v {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  font-size: 38px;
  line-height: 0.95;
  letter-spacing: -0.022em;
  color: var(--ink);
  font-weight: 700;
}
.ldos-feed-month-n {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  align-self: end;
  font-family: var(--ldos-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
  padding: 4px 8px;
  background: color-mix(in srgb, var(--accent-tint) 70%, transparent);
  border: var(--hair) solid color-mix(in srgb, var(--accent) 40%, transparent);
  border-radius: 2px;
  white-space: nowrap;
}

.ldos-feed-month-list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ldos-feed-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto auto;
  column-gap: 10px;
  row-gap: 6px;
  padding: 14px 16px;
  background: var(--bg);
  border: var(--hair) solid #e2e2e2;
  border-radius: 3px;
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.ldos-feed-item:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px -10px rgba(0,0,0,0.25);
}
.ldos-feed-item-tag {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ldos-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: color-mix(in srgb, var(--accent-tint) 70%, transparent);
  border: var(--hair) solid color-mix(in srgb, var(--accent) 35%, transparent);
  padding: 3px 8px;
  border-radius: 2px;
  width: max-content;
}
.ldos-feed-item-tag i { width: 11px; height: 11px; }

.ldos-feed-item[data-kind="grant"] .ldos-feed-item-tag {
  color: #b45309;
  background: rgba(245,158,11,0.10);
  border-color: rgba(245,158,11,0.35);
}
.ldos-feed-item[data-kind="talk"] .ldos-feed-item-tag {
  color: #4338ca;
  background: rgba(99,102,241,0.10);
  border-color: rgba(99,102,241,0.35);
}
.ldos-feed-item[data-kind="column"] .ldos-feed-item-tag {
  color: #be123c;
  background: rgba(190,18,60,0.08);
  border-color: rgba(190,18,60,0.30);
}

.ldos-feed-item-title {
  grid-column: 1 / 3;
  grid-row: 2 / 3;
  font-size: 14.5px;
  line-height: 1.32;
  letter-spacing: -0.005em;
  color: var(--ink);
  font-weight: 600;
  margin: 0;
}
.ldos-feed-item-meta {
  grid-column: 1 / 2;
  grid-row: 3 / 4;
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink-mute);
  margin: 0;
}
.ldos-feed-item-cta {
  grid-column: 2 / 3;
  grid-row: 3 / 4;
  align-self: end;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--ldos-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.ldos-feed-item-cta i { width: 11px; height: 11px; }
.ldos-feed-item:hover .ldos-feed-item-cta { color: var(--accent-deep); }

.ldos-feed-end {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed #d8d8d8;
  display: flex;
  justify-content: flex-end;
}
.ldos-feed-archive {
  font-family: var(--ldos-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.ldos-feed-archive:hover { color: var(--accent-deep); border-bottom-color: var(--accent-deep); }

@media (max-width: 1024px) {
  .ldos-feed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ldos-feed-grid { grid-template-columns: 1fr; }
  .ldos-feed-month-v { font-size: 32px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   COLUMNS READER · INLINE DIALOG
   Native <dialog>-based modal that renders an archived IEEE Computer column
   body inline. Sibling of .ldos-sp-row; reuses --accent, --ldos-mono, --hair.
   Migrated from _design-notes/columns-reader-design.md with corrections
   from _design-notes/columns-reader-responsive-audit.md (Patches 1, 3, 5).
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Dialog shell ─────────────────────────────────────────────────────── */
.ldos-reader { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; }
.ldos-reader:not([open]) { display: none; }
.ldos-reader[open] {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  margin: 0;
  z-index: 300;             /* above .cfan (200) */
}
.ldos-reader::backdrop {
  background: rgba(5,5,5,0.42);
  backdrop-filter: blur(2px);
}
.ldos-reader-scrim {
  position: absolute;
  inset: 0;
  background: rgba(5,5,5,0.42);
  cursor: pointer;
  animation: ldos-reader-fade-in .18s ease both;
}

/* ── Panel ────────────────────────────────────────────────────────────── */
.ldos-reader-shell {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(760px, 100vw);
  background: var(--bg);
  border-left: var(--hair) solid var(--line);
  box-shadow: -24px 0 60px -20px rgba(5,5,5,0.28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: ldos-reader-slide-in .26s cubic-bezier(.2,.7,.2,1) both;
}
.ldos-reader-shell::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
  z-index: 2;
}

/* ── Header bar ───────────────────────────────────────────────────────── */
.ldos-reader-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 22px 12px 28px;
  border-bottom: var(--hair) solid #ececec;
  background: #fbfbfb;
  flex-shrink: 0;
}
.ldos-reader-kind {
  font-family: var(--ldos-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 600;
}
.ldos-reader-x {
  /* Patch 3 (responsive audit) — min tap target 44×44pt at every size. */
  min-width: 44px;
  min-height: 44px;
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: var(--hair) solid #d8d8d8;
  border-radius: 3px;
  cursor: pointer;
  color: var(--ink);
  font-size: 18px; line-height: 1;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
  flex-shrink: 0;
}
.ldos-reader-x:hover { border-color: var(--ink); background: var(--bg-soft); }
.ldos-reader-x:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 2px; }

/* ── Article body ─────────────────────────────────────────────────────── */
.ldos-reader-article {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 28px 44px 56px;
  background-image: radial-gradient(rgba(0,0,0,0.035) 1px, transparent 1px);
  background-size: 14px 14px;
  background-position: -1px -1px;
}
.ldos-reader-title {
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 30px;
  line-height: 1.18;
  letter-spacing: -0.018em;
  color: var(--ink);
  font-weight: 700;
  margin: 0 0 14px;
  max-width: 32ch;
}
.ldos-reader-body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 64ch;
}
.ldos-reader-body p { margin: 0 0 1.1em; }
.ldos-reader-body p:last-child { margin-bottom: 0; }
.ldos-reader-body b, .ldos-reader-body strong { color: var(--ink); font-weight: 600; }
.ldos-reader-body em, .ldos-reader-body i { color: var(--ink); font-style: italic; }

/* ── Motion ───────────────────────────────────────────────────────────── */
@keyframes ldos-reader-slide-in {
  from { transform: translateX(24px); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
@keyframes ldos-reader-fade-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .ldos-reader-shell,
  .ldos-reader-scrim { animation: none; }
}

/* ── Scroll lock (Patches 1 + 3, responsive audit) ────────────────────── */
/* Standard browsers: hidden body overflow while reader-open class is set. */
body.reader-open { overflow: hidden; }
/* iOS Safari: position-fixed lock; JS sets top inline to preserve scrollY. */
body.reader-open-ios { position: fixed; width: 100%; }

/* ═══ Responsive ══════════════════════════════════════════════════════════ */

/* ≤980 — narrower panel, tighter article padding */
@media (max-width: 980px) {
  .ldos-reader-shell { width: min(640px, 100vw); }
  .ldos-reader-article { padding: 24px 32px 48px; }
  .ldos-reader-title { font-size: 26px; }
}

/* ≤640 — bottom-sheet mode */
@media (max-width: 640px) {
  .ldos-reader-shell {
    top: auto;
    left: 0; right: 0; bottom: 0;
    width: 100vw;
    /* dvh stays accurate when iOS URL bar toggles; vh fallback for old WebKit */
    height: 92dvh;
    height: min(92dvh, 92vh);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    border-left: 0;
    border-top: var(--hair) solid var(--line);
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -20px 50px -20px rgba(5,5,5,0.32);
    animation: ldos-reader-slide-up .26s cubic-bezier(.2,.7,.2,1) both;
  }
  .ldos-reader-shell::before {
    top: 0; left: 0; right: 0; bottom: auto;
    width: auto; height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-deep) 100%);
  }
  .ldos-reader-head { padding: 10px 18px 10px; }
  .ldos-reader-article {
    padding: 18px 22px 40px;
    padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
  }
  .ldos-reader-title { font-size: 23px; }
  .ldos-reader-body { font-size: 16px; line-height: 1.62; }

  @keyframes ldos-reader-slide-up {
    from { transform: translateY(28px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
  }
}

/* ≤420 — phone polish; tap target stays ≥44×44 (do NOT shrink .ldos-reader-x) */
@media (max-width: 420px) {
  .ldos-reader-head { padding: 8px 14px 10px; }
  .ldos-reader-kind { font-size: 9.5px; letter-spacing: 0.12em; }
  .ldos-reader-article {
    padding: 14px 18px 36px;
    background-image: none;
  }
  .ldos-reader-title { font-size: 21px; }
}
