/* UiTiOt Research Group site. Plain CSS, no build step. */

:root {
  /* Logo colors: blue #0d47a1 and orange #ff5a24. */
  --brand: #0d47a1;
  --brand-deep: #0a3880;
  --brand-bright: #1976d2;
  --accent: #ff5a24;
  --accent-text: #c2410c;
  --ink: #0b2a5b;
  --text: #1c2b3b;
  --muted: #4a5d75;
  --paper: #ffffff;
  --wash: #eef4fd;
  --wash-warm: #fff4ee;
  --line: #d9e4f3;
  --line-strong: #a9bfe0;
  --link: #0d47a1;
  --link-hover: #c2410c;

  --c-dt: #1565c0;
  --c-edge: #0891b2;
  --c-wireless: #ff5a24;
  --c-qsec: #d97706;

  --font-display: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;

  --measure: 66ch;
  --wrap: 1120px;
  --gutter: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--font-display); color: var(--ink); font-weight: 600; line-height: 1.25; margin: 0; }
h1 { font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -0.025em; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.05rem); letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; }
li { margin: 0; }

.container { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 4px; }
.skip-link:focus { left: 8px; color: #fff; }

/* ------------------------------------------------------------ Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 50; }
.site-header::before, .site-footer::before { content: ""; display: block; height: 4px; background: linear-gradient(90deg, var(--accent) 0 38%, var(--brand) 38% 100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; padding-block: 6px; }
.brand-logo { display: block; height: 38px; width: auto; }
.site-nav ul { list-style: none; display: flex; gap: 6px; }
.site-nav a { display: block; padding: 8px 12px; color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.97rem; border-radius: 6px; }
.site-nav a:hover { background: var(--wash); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--accent); border-radius: 0; }
.nav-toggle { display: none; font: inherit; font-weight: 500; background: none; border: 1px solid var(--brand); border-radius: 6px; padding: 8px 14px; color: var(--ink); cursor: pointer; }

/* ------------------------------------------------------------ Buttons */
.button { display: inline-block; font-weight: 600; font-size: 1rem; text-decoration: none; padding: 12px 22px; border-radius: 6px; border: 1.5px solid var(--brand); background: var(--brand); color: #fff; }
.button:hover { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }
.button-quiet { background: #fff; border-color: var(--accent); color: var(--accent-text); }
.button-quiet:hover { background: var(--wash-warm); border-color: var(--accent-text); color: var(--accent-text); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ------------------------------------------------------------ Hero */
.hero { padding-block: clamp(48px, 8vw, 96px); border-bottom: 1px solid var(--line);
  background:
    radial-gradient(640px 380px at 88% 16%, rgba(25, 118, 210, 0.16), transparent 70%),
    radial-gradient(560px 340px at 96% 94%, rgba(255, 90, 36, 0.14), transparent 70%),
    radial-gradient(480px 300px at 4% 100%, rgba(255, 90, 36, 0.07), transparent 70%),
    linear-gradient(180deg, #e8f1fd 0%, #ffffff 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero h1 { max-width: 17ch; }
.hero-lead { font-size: 1.2rem; color: var(--text); max-width: 46ch; margin-top: 24px; }
.hero-affil { color: var(--muted); font-size: 0.97rem; margin-top: 20px; margin-bottom: 0; }

/* ------------------------------------------------------------ Home graph: four areas */
.graph { width: 100%; height: auto; display: block; overflow: visible; }
.graph-links line { stroke: #9db8de; stroke-width: 1.5; stroke-dasharray: 3 7; transition: stroke 0.25s, stroke-width 0.25s, opacity 0.25s;
  animation: flow 18s linear infinite, g-fade 0.9s ease 0.25s backwards; }
@keyframes flow { to { stroke-dashoffset: -100; } }
@keyframes g-fade { from { opacity: 0; } to { opacity: 1; } }

/* Core */
.graph-hub { transform-box: fill-box; transform-origin: center; animation: hub-pop 0.9s cubic-bezier(0.2, 0.9, 0.3, 1.25) both; }
@keyframes hub-pop { from { opacity: 0; transform: scale(0.55); } to { opacity: 1; transform: scale(1); } }
.graph-hub .hub-core { fill: var(--brand); }
.graph-hub .hub-ring { fill: none; stroke: var(--accent); stroke-width: 3; }
.graph-hub text { fill: #fff; font-family: var(--font-display); font-size: 15px; font-weight: 600; }
.graph-hub .hub-pulse { fill: none; stroke: var(--accent); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center;
  animation: hub-pulse 3.6s ease-out 1.2s infinite; }
.graph-hub .hub-pulse-2 { animation-delay: 3s; }
@keyframes hub-pulse { 0% { opacity: 0.55; transform: scale(1.1); } 100% { opacity: 0; transform: scale(1.75); } }

.graph-orbit { animation: g-fade 1s ease 0.9s backwards; }
.orbit-track { fill: none; stroke: #b9cdea; stroke-width: 1.2; stroke-dasharray: 2 6; }
.orbit-spin { transform-box: view-box; transform-origin: 280px 225px; animation: spin 36s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.od { stroke: #fff; stroke-width: 2; }
.od-dt { fill: var(--c-dt); } .od-edge { fill: var(--c-edge); } .od-wireless { fill: var(--c-wireless); } .od-qsec { fill: var(--c-qsec); }

/* Data packets */
.pk circle:first-of-type { opacity: 0.22; }
.pk { opacity: 0; }
.pk-dt { fill: var(--c-dt); } .pk-edge { fill: var(--c-edge); } .pk-wireless { fill: var(--c-wireless); } .pk-qsec { fill: var(--c-qsec); }

/* Area cards */
.node-enter { animation: node-in 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: calc(0.35s + var(--i) * 0.16s); }
@keyframes node-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.node-float { animation: bob 6.5s ease-in-out infinite; animation-delay: calc(var(--i) * -1.6s); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.graph-node { cursor: pointer; transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.25s; }
.graph-node rect { fill: var(--paper); stroke: var(--c); stroke-width: 2.5; transition: fill 0.2s, stroke-width 0.2s; }
.graph-node:hover, .graph-node:focus-visible { transform: translateY(-4px); filter: drop-shadow(0 10px 14px rgba(11, 42, 91, 0.16)); }
.graph-node:hover rect, .graph-node:focus-visible rect { fill: var(--wash); stroke-width: 3.5; }
.graph-node:focus-visible { outline: none; }
.graph-node:focus-visible rect { stroke-width: 4; }
.graph-node text { fill: var(--ink); font-family: var(--font-display); font-size: 15px; font-weight: 600; }

.node-badge { transform-box: fill-box; transform-origin: center; animation: badge-pop 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.5) both; animation-delay: calc(0.75s + var(--i) * 0.16s); transition: transform 0.25s; }
@keyframes badge-pop { from { opacity: 0; transform: scale(0.3); } to { opacity: 1; transform: scale(1); } }
.graph-node:hover .node-badge, .graph-node:focus-visible .node-badge { transform: scale(1.12); }
.graph-node .badge { fill: var(--tint); stroke: var(--c); stroke-width: 2.5; }
.graph-node .icon { color: var(--ic); pointer-events: none; overflow: visible; }
.badge-ripple { fill: none; stroke: var(--c); stroke-width: 2; opacity: 0; pointer-events: none; transform-box: fill-box; transform-origin: center;
  animation: ripple 3.8s ease-out infinite; animation-delay: calc(1.6s + var(--ri, 0) * 0.9s); }
@keyframes ripple { 0% { opacity: 0.6; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.7); } }
.node-dt .badge-ripple { --ri: 0; } .node-edge .badge-ripple { --ri: 1; } .node-wireless .badge-ripple { --ri: 2; } .node-qsec .badge-ripple { --ri: 3; }

.node-dt { --c: var(--c-dt); --tint: #e1ecfa; --ic: #0d47a1; }
.node-edge { --c: var(--c-edge); --tint: #ddf2f7; --ic: #0b6f87; }
.node-wireless { --c: var(--c-wireless); --tint: #ffe8de; --ic: #d63f0a; }
.node-qsec { --c: var(--c-qsec); --tint: #fdefd9; --ic: #b45309; }

/* Icon micro-animations */
.sig { animation: blink 2.4s ease-in-out infinite; } .sig.s2 { animation-delay: -0.5s; }
@keyframes blink { 0%, 100% { opacity: 1; } 45% { opacity: 0.2; } }
.ed { transform-box: fill-box; transform-origin: center; animation: dot 1.8s ease-in-out infinite; }
.ed.e2 { animation-delay: 0.3s; } .ed.e3 { animation-delay: 0.6s; }
@keyframes dot { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.6); opacity: 0.45; } }
.wv { animation: blink 2.2s ease-in-out infinite; } .wv.w1 { animation-delay: 0s; } .wv.w2 { animation-delay: 0.45s; }
.wc { transform-box: fill-box; transform-origin: center; animation: dot 2.2s ease-in-out infinite; }
.qorbit { transform-box: view-box; transform-origin: 12px 11.5px; animation: spin 10s linear infinite; }

/* Scroll reveal on the home page (classes are added by main.js, so nothing is hidden without JavaScript) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); transition-delay: var(--rd, 0s); }
.reveal.in { opacity: 1; transform: none; }
.hero-grid > div:first-child > * { animation: rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) backwards; }
.hero-grid > div:first-child > :nth-child(2) { animation-delay: 0.12s; }
.hero-grid > div:first-child > :nth-child(3) { animation-delay: 0.24s; }
.hero-grid > div:first-child > :nth-child(4) { animation-delay: 0.36s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* Hovering an area lights up its links and dims the rest */
.graph[data-hl] .graph-links line { opacity: 0.25; }
.graph[data-hl="dt"] .l-dt, .graph[data-hl="edge"] .l-edge, .graph[data-hl="wireless"] .l-wireless, .graph[data-hl="qsec"] .l-qsec { opacity: 1; stroke-width: 2.6; }
.graph[data-hl="dt"] .l-dt { stroke: var(--c-dt); } .graph[data-hl="edge"] .l-edge { stroke: var(--c-edge); }
.graph[data-hl="wireless"] .l-wireless { stroke: var(--c-wireless); } .graph[data-hl="qsec"] .l-qsec { stroke: var(--c-qsec); }

/* ------------------------------------------------------------ Sections */
.section-head h2::after, .page-head h1::after { content: ""; display: block; width: 52px; height: 4px; margin-top: 16px; border-radius: 2px; background: var(--accent); }
.section { padding-block: clamp(48px, 7vw, 84px); }
.section + .section { border-top: 1px solid var(--line); }
.section-alt { background: var(--wash); }
.section-head { max-width: var(--measure); margin-bottom: 40px; }
.section-head p { color: var(--muted); margin-top: 14px; margin-bottom: 0; }
.section-more { margin-top: 32px; margin-bottom: 0; }

.page-head { padding-block: clamp(44px, 6vw, 72px) 8px; }
.page-head .lead { font-size: 1.15rem; color: var(--muted); max-width: var(--measure); margin-top: 18px; margin-bottom: 0; }

/* ------------------------------------------------------------ Pillars */
.pillar-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.pillar-row { display: flex; flex-direction: column; gap: 16px; padding: 22px 22px 26px; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--c); border-radius: 12px; box-shadow: 0 6px 20px rgba(13, 71, 161, 0.07); }
.pillar-row h3 { font-size: 1.25rem; }
.pillar-row h3 a { color: var(--ink); text-decoration: none; }
.pillar-row h3 a:hover { text-decoration: underline; text-decoration-color: var(--c); text-underline-offset: 5px; text-decoration-thickness: 2px; }
.pillar-row p { max-width: none; margin-bottom: 12px; }
.pillar-figure { display: flex; align-items: center; justify-content: center; margin-top: 12px; aspect-ratio: 2 / 1; padding: 10px; background: var(--mat); border: 1px solid var(--line); border-top: 3px solid var(--c); border-radius: 10px; overflow: hidden; transition: box-shadow 0.15s, transform 0.15s; }
.pillar-figure img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; border-radius: 6px; background: #fff; box-shadow: 0 2px 8px rgba(11, 42, 91, 0.12); }
.pillar-figure:hover { box-shadow: 0 10px 24px rgba(13, 71, 161, 0.16); transform: translateY(-2px); }
.pillar-topics { color: var(--muted); font-size: 0.95rem; margin-bottom: 0 !important; }
.pillar-dt { --c: var(--c-dt); --mat: #eef4fc; }
.pillar-edge { --c: var(--c-edge); --mat: #ecf7fa; }
.pillar-wireless { --c: var(--c-wireless); --mat: #fff3ec; }
.pillar-qsec { --c: var(--c-qsec); --mat: #fff6e8; }

.area-section { padding-block: 56px; border-top: 1px solid var(--line); border-left: 4px solid var(--c); padding-left: clamp(20px, 3vw, 32px); margin-top: 40px; }
.area-section:first-of-type { margin-top: 24px; }
.area-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(32px, 6vw, 72px); margin-top: 20px; }
.area-grid h3 { font-size: 1.1rem; margin-bottom: 12px; }
.bullets { list-style: none; }
.bullets li { padding: 8px 0 8px 20px; position: relative; border-bottom: 1px solid var(--line); }
.bullets li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 8px; height: 8px; background: var(--c); border-radius: 50%; }
.area-section .lead-text { max-width: var(--measure); font-size: 1.1rem; margin-top: 16px; margin-bottom: 0; }

/* ------------------------------------------------------------ Research figure */
.research-figure { margin: 36px 0 0; padding: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 30px rgba(13, 71, 161, 0.10); }
.research-figure img { display: block; width: 100%; height: auto; border-radius: 6px; }
.research-figure figcaption { padding: 10px 6px 2px; color: var(--muted); font-size: 0.93rem; }

/* ------------------------------------------------------------ Publications */
.pub-list { list-style: none; }
.pub { padding-block: 22px; border-bottom: 1px solid var(--line); max-width: 78ch; }
.pub:first-child { border-top: 1px solid var(--line); }
.pub-authors { color: var(--muted); font-size: 0.95rem; margin-bottom: 4px; }
.pub-title { font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; line-height: 1.4; margin-bottom: 6px; }
.pub-venue { margin-bottom: 4px; font-size: 0.98rem; }
.pub-note { display: inline-block; margin: 2px 0 6px; padding: 1px 10px; border-left: 3px solid var(--accent); font-size: 0.92rem; font-weight: 500; color: var(--ink); background: var(--wash); }
.pub-links { margin: 6px 0 0; display: flex; gap: 18px; font-size: 0.95rem; font-weight: 500; }
.pub-areas { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 0.85rem; color: var(--muted); }
.pub-areas .area::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; background: var(--muted); }
.area-dt::before { background: var(--c-dt) !important; }
.area-edge::before { background: var(--c-edge) !important; }
.area-wireless::before { background: var(--c-wireless) !important; }
.area-qsec::before { background: var(--c-qsec) !important; }

.filters { display: grid; gap: 18px; margin-bottom: 36px; padding: 22px; background: var(--wash); border: 1px solid var(--line); border-radius: 8px; }
.filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.filter-label { font-weight: 600; font-size: 0.95rem; color: var(--ink); min-width: 84px; }
.chip { font: inherit; font-size: 0.93rem; font-weight: 500; background: var(--paper); border: 1px solid var(--line-strong); color: var(--text); padding: 6px 14px; border-radius: 999px; cursor: pointer; }
.chip:hover { border-color: var(--brand); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.search { font: inherit; width: min(100%, 420px); padding: 9px 14px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--paper); color: var(--text); }
.result-count { color: var(--muted); font-size: 0.95rem; margin: 0; }
.pub-group { margin-top: 48px; }
.pub-group h2 { font-size: 1.6rem; margin-bottom: 18px; }
.pub-group[hidden], .pub[hidden] { display: none; }
.empty { padding: 28px 0; color: var(--muted); }

/* ------------------------------------------------------------ News */
.news-list { list-style: none; border-top: 1px solid var(--line); }
.news-item { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 8px 28px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.news-date { font-weight: 600; color: var(--accent-text); font-size: 0.97rem; }
.news-item p { margin: 0; max-width: 72ch; }

/* ------------------------------------------------------------ People */
/* People cards: a round portrait that rises above the top edge of the card.
   A photo is added with `photo:` in _data/people.yml; without it a branded placeholder shows. */
.lead-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 64px; }
.team-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 28px; margin-top: 64px; }
.pcard { --d: 150px; --rise: 36px; position: relative; display: grid; grid-template-columns: var(--d) minmax(0, 1fr); gap: 0 26px; align-items: center;
  padding: 24px 28px 24px 26px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 2px 4px rgba(11, 42, 91, 0.04), 0 10px 24px rgba(11, 42, 91, 0.05); transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s; }
.pcard:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 4px 8px rgba(11, 42, 91, 0.05), 0 18px 34px rgba(11, 42, 91, 0.12); }
.pcard::before { content: ""; position: absolute; left: 26px; right: 28px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--accent) 0 var(--d), var(--brand-bright) var(--d) 100%); opacity: 0; transition: opacity 0.25s; }
.pcard:hover::before { opacity: 1; }
.pc-photo { position: relative; z-index: 1; width: var(--d); height: var(--d); margin-top: calc(var(--rise) * -1); align-self: start; border-radius: 50%; overflow: hidden;
  border: 5px solid var(--paper); box-sizing: border-box; box-shadow: 0 8px 20px rgba(11, 42, 91, 0.18), 0 0 0 1px var(--line);
  background: radial-gradient(120% 90% at 100% 100%, rgba(255, 90, 36, 0.20), transparent 62%), linear-gradient(160deg, #f4f8fe 0%, #cfe0f7 100%);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }
.pcard:hover .pc-photo { transform: scale(1.04); }
.pc-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.pc-ph { display: block; position: absolute; left: 50%; bottom: 0; width: 84%; height: auto; transform: translateX(-50%); fill: #8fb0dd; }
.pc-head { min-width: 0; padding-block: 6px; }
.pc-label { margin: 0 0 6px; color: var(--link); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; }
.pc-head h3 { font-size: 1.25rem; line-height: 1.3; margin: 0 0 8px; color: var(--ink); }
.pc-role { margin: 0; color: var(--text); font-size: 0.95rem; line-height: 1.55; }
.pc-link { display: inline-block; margin-top: 12px; color: var(--link); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; border-bottom: 2px solid #b9d0f2; padding-bottom: 1px; }
.pc-link:hover { color: var(--link-hover); border-bottom-color: var(--accent); }
.pcard-member { --d: 132px; --rise: 30px; min-height: calc(var(--d) - var(--rise) + 28px); }
.pcard-member .pc-head h3 { font-size: 1.15rem; margin-bottom: 4px; }
.pcard-member .pc-role { color: var(--muted); font-size: 0.9rem; }
.pcard-lead { --d: 176px; --rise: 48px; align-items: start; padding-top: 28px; }
.pcard-lead .pc-head { padding-top: 4px; }
.pc-details { grid-column: 1 / -1; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.pc-details .person-meta { margin: 0 0 10px; }
.pc-details > :last-child { margin-bottom: 0; }
.person-meta { color: var(--muted); font-size: 0.95rem; }
.person-recognition { color: var(--accent-text); font-weight: 500; }
.roster { list-style: none; border-top: 1px solid var(--line); }
.roster li { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 4px 36px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.roster .who { font-weight: 600; color: var(--ink); }
.roster .what { color: var(--text); margin: 0; }
.roster .when { color: var(--muted); font-size: 0.92rem; }
.roster-sub { font-weight: 400; color: var(--muted); font-size: 0.93rem; display: block; }
.people-block + .people-block { margin-top: 56px; }
.people-block h2 { font-size: 1.6rem; margin-bottom: 8px; }
.people-block .note { color: var(--muted); margin-bottom: 20px; max-width: var(--measure); }

/* People: research-force stats and PhD pathway note */
.force-eyebrow { margin: 0 0 8px; font-family: ui-monospace, "IBM Plex Mono", SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.86rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-text); }
.force h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); color: var(--brand); margin-bottom: 0; }
.stat-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.stat { display: flex; align-items: center; gap: 14px; height: 100%; padding: 20px 22px; border-radius: 16px; background: var(--wash); color: var(--brand); text-decoration: none; transition: transform 0.25s, box-shadow 0.25s; }
.stat:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(11, 42, 91, 0.12); color: var(--brand); }
.stat-icon { flex: none; width: 34px; height: 34px; fill: currentColor; color: var(--brand-bright); }
.stat-num { font-size: clamp(2.3rem, 3.8vw, 3.3rem); font-weight: 700; line-height: 1; letter-spacing: -0.02em; color: var(--brand-bright); font-variant-numeric: tabular-nums; }
.stat-label { font-size: 1rem; line-height: 1.3; color: var(--brand); }
.stat-alumni { background: #fcf3ee; color: var(--accent-text); }
.stat-alumni:hover { color: var(--accent-text); }
.stat-alumni .stat-icon, .stat-alumni .stat-num, .stat-alumni .stat-label { color: var(--accent-text); }
.pathway { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 0 0 8px; padding: 12px 16px; max-width: var(--measure); background: var(--wash); border-left: 4px solid var(--accent); border-radius: 10px; color: var(--text); }
.pathway-tag { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); }
@media (max-width: 900px) { .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .stat { padding: 16px; gap: 10px; } .stat-icon { width: 26px; height: 26px; } .stat-num { font-size: 2.1rem; } .stat-label { font-size: 0.9rem; } }
@media (prefers-reduced-motion: reduce) { .stat { transition: none; } .stat:hover { transform: none; } }

/* ------------------------------------------------------------ Projects */
.project { padding-block: 32px; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(200px, 300px) minmax(0, 1fr); gap: 12px 48px; }
.project:last-child { border-bottom: 1px solid var(--line); }
.project .meta { color: var(--muted); font-size: 0.95rem; margin: 6px 0 0; }
.project p { max-width: var(--measure); }
.project-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.project ul { list-style: none; margin-top: 8px; }
.project li { padding: 2px 0; }

/* ------------------------------------------------------------ Join / prose */
.prose { max-width: var(--measure); }
.prose h2 { font-size: 1.5rem; margin: 44px 0 14px; }
.prose ul { margin: 0 0 1rem 1.2rem; list-style: disc; }
.prose li { padding: 2px 0; }
.callout { margin-top: 40px; }
.callout p:last-child { margin-bottom: 0; }

.cta-band { background: linear-gradient(120deg, #0a3880 0%, #0d47a1 55%, #1976d2 100%); color: #eaf2ff; border-bottom: 4px solid var(--accent); padding-block: clamp(44px, 6vw, 72px); }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 56ch; margin-top: 14px; }
.cta-band .button { background: #fff; color: var(--brand); border-color: #fff; }
.cta-band .button:hover { background: var(--wash-warm); color: var(--accent-text); }
.cta-band .button-quiet { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.cta-band .button-quiet:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(32px, 6vw, 72px); }
.compact-list { list-style: none; border-top: 1px solid var(--line); }
.compact-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.compact-list .sub { display: block; color: var(--muted); font-size: 0.93rem; }

/* ------------------------------------------------------------ Contact cards */
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; }
.contact-card { border-top: 3px solid var(--accent); padding-top: 14px; font-size: 0.97rem; }
.contact-card h3 { font-size: 1.25rem; margin-bottom: 2px; }
.contact-card p { margin: 0 0 6px; }
.contact-card .c-title { color: var(--muted); margin-bottom: 8px; }

/* ------------------------------------------------------------ Footer */
.site-footer { background: var(--wash); color: var(--text); font-size: 0.95rem; }
.site-footer .footer-grid { padding-top: 48px; }
.footer-logo { display: block; height: 44px; width: auto; margin-bottom: 14px; }
.site-footer a { color: var(--link); }
.footer-grid { display: grid; grid-template-columns: 1fr 1.9fr; gap: 32px 56px; }
.footer-name { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--ink); margin-bottom: 8px; }
.footer-head { color: var(--ink); font-weight: 600; margin: 20px 0 6px; }
.footer-links { list-style: none; }
.footer-links li { padding: 2px 0; }
.footer-base { margin-top: 40px; padding-block: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; }
.footer-base p { margin: 0; }

/* ------------------------------------------------------------ Responsive */
@media (max-width: 900px) {
  .hero-grid, .area-grid, .split, .lead-people, .footer-grid, .contact-cards { grid-template-columns: 1fr; }
  .hero h1 { max-width: 20ch; }
  .pillar-row, .project, .roster li { grid-template-columns: 1fr; }
  .pillar-list { grid-template-columns: 1fr; }
  .graph { max-width: 520px; margin-inline: auto; }
}
@media (max-width: 860px) {
  .lead-people, .team-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .pcard, .pcard-lead, .pcard-member { --d: 112px; --rise: 28px; gap: 0 18px; padding: 20px 18px; }
  .pcard-lead { --d: 120px; }
  .pillar-figure { aspect-ratio: 16 / 10; }
  .pillar-row { padding: 18px 16px 22px; }
}
@media (max-width: 520px) {
  .graph-node text { font-size: 18px; }
  .graph-hub text { font-size: 17px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { padding: 12px 4px; border-radius: 0; }
  .site-nav a[aria-current="page"] { box-shadow: none; color: var(--link); }
  .brand-logo { height: 34px; }
  .header-inner { min-height: 60px; }
  .news-item { grid-template-columns: 1fr; }
  .filter-label { min-width: 100%; }
}
/* News ticker (home page) */
.ticker { background: var(--wash); border-bottom: 1px solid var(--line); }
.ticker-inner { display: flex; align-items: center; gap: 16px; min-height: 48px; }
.ticker-label { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: var(--accent-text); color: #fff; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; text-decoration: none; }
.ticker-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: ticker-pulse 1.6s ease-in-out infinite; }
.ticker-label:hover { background: var(--brand); color: #fff; }
.ticker-viewport { flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.ticker-track { display: flex; width: max-content; animation: ticker-scroll var(--ticker-duration, 90s) linear infinite; will-change: transform; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; flex: none; }
.ticker-item { display: inline-flex; align-items: baseline; gap: 10px; flex: none; white-space: nowrap; padding-right: 56px;
  color: var(--ink); text-decoration: none; font-size: 0.95rem; position: relative; }
.ticker-item::after { content: ""; position: absolute; right: 24px; top: 50%; width: 8px; height: 8px; margin-top: -4px;
  border-radius: 50%; background: var(--accent); }
.ticker-item:hover .ticker-text { color: var(--link-hover); text-decoration: underline; }
.ticker-date { font-weight: 600; color: var(--brand); font-size: 0.85rem; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ticker-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@media (max-width: 560px) {
  .ticker-inner { gap: 10px; min-height: 44px; }
  .ticker-label { padding: 5px 10px; font-size: 0.72rem; }
  .ticker-item { font-size: 0.9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; width: auto; }
  .ticker-viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .ticker-group[aria-hidden="true"] { display: none; }
  .ticker-label::before { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .graph-links line, .graph-hub, .graph-hub .hub-pulse, .graph-orbit, .orbit-spin, .node-enter, .node-float, .node-badge,
  .badge-ripple, .sig, .ed, .wv, .wc, .qorbit, .hero-grid > div:first-child > * { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hub-pulse, .badge-ripple, .graph-packets { display: none; }
  * { transition: none !important; }
}
@media print {
  .site-header, .filters, .cta-band, .nav-toggle, .ticker { display: none; }
  body { font-size: 11pt; }
}
