/* S3 project page. Planetary palette: night sky, regolith, Mars rust. */
:root {
  --sky-0: #070b16;
  --sky-1: #0b1120;
  --sky-2: #0e1424;
  --sky-3: #141c31;
  --line: #26304a;
  --line-soft: #1c2439;
  --ink: #ece6da;          /* regolith white */
  --ink-2: #bdb6a8;
  --ink-3: #8a8f9e;
  --sand: #e2c391;
  --sand-deep: #b98f55;
  --rust: #d9693b;
  --rust-deep: #a8462150;
  --moon: #b8bfcc;
  --good: #3fb98a;
  --warn: #e0a83a;
  --paper: #f4efe6;
  /* policy identity (validated categorical palette on --sky-2) */
  --pA: #3987e5; --pB: #d95926; --pC: #199e70; --pD: #c98500; --pE: #d55181; --pF: #9085e9;
  --pD2: #008300; /* slot 6; validated in display order A,B,C,D,D2,E,F on --sky-2: all pass, D↔D2 CVD 6.9 (needs secondary encoding: legend, gaps, table) */
  --radius: 10px;
  --maxw: 1120px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0; color: var(--ink); background: var(--sky-1);
  font: 16.5px/1.65 var(--font); -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: var(--sand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: #f1d9ad; }
code, kbd { font: 0.88em var(--mono); background: var(--sky-3); padding: 1px 6px; border-radius: 5px; color: #f0dcb8; }
strong { color: #fff6e6; font-weight: 600; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 8px 12px; background: var(--sand); color: #111; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.wrap { width: min(calc(100% - 32px), var(--maxw)); margin: 0 auto; }
.wrap.text { max-width: 780px; }
.wrap.wide { max-width: 1240px; }

/* ---------- nav ---------- */
.topnav {
  position: sticky; top: 0; z-index: 50; backdrop-filter: blur(10px);
  background: rgba(7, 11, 22, 0.82); border-bottom: 1px solid var(--line-soft);
}
.topnav .wrap { display: flex; align-items: center; gap: 18px; height: 52px; overflow-x: auto; scrollbar-width: none; }
.topnav .wrap::-webkit-scrollbar { display: none; }
.topnav .brand { font: 700 15px var(--display); color: var(--sand); text-decoration: none; white-space: nowrap; letter-spacing: .02em; }
.topnav a.nl { color: var(--ink-2); text-decoration: none; font-size: 13.5px; white-space: nowrap; padding: 4px 0; border-bottom: 2px solid transparent; }
.topnav a.nl:hover, .topnav a.nl.active { color: var(--ink); border-bottom-color: var(--rust); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; padding: 72px 0 40px; text-align: center;
  background:
    radial-gradient(1200px 500px at 50% 120%, rgba(217,105,59,.22), transparent 60%),
    radial-gradient(800px 400px at 85% -10%, rgba(144,133,233,.12), transparent 60%),
    linear-gradient(180deg, var(--sky-0), var(--sky-1));
}
.stars { position: absolute; inset: 0; pointer-events: none; opacity: .7;
  background-image:
    radial-gradient(1px 1px at 10% 20%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 30% 70%, #cfd6ff 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 55% 15%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 40%, #ffe9c9 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 92% 65%, #dfe6ff 50%, transparent 51%),
    radial-gradient(1px 1px at 18% 52%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 43% 33%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 82%, #fff 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 5% 85%, #fff 50%, transparent 51%);
  background-size: 420px 300px;
}
.hero > .wrap { position: relative; }
.eyebrow { font: 600 12.5px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--rust); margin: 0 0 14px; }
.hero h1 { font: 700 clamp(34px, 6vw, 64px)/1.05 var(--display); letter-spacing: -.025em; margin: 0 auto 14px; max-width: 980px; }
.hero h1 .accent { color: var(--sand); }
.hero .sub { max-width: 760px; margin: 0 auto 22px; font-size: clamp(16px, 2.1vw, 19px); color: var(--ink-2); }
.authors { font-size: 18px; margin: 6px 0 2px; }
.authors a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--sand-deep); }
.affil { color: var(--ink-3); font-size: 14.5px; margin: 0; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 18px 0 22px; }
.badge { font: 500 12px var(--mono); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); background: rgba(20,28,49,.6); }
.badge.live { border-color: rgba(224,168,58,.5); color: #f3cf86; }
.links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 9px 18px; border-radius: 999px;
  font: 600 14.5px var(--font); text-decoration: none; cursor: pointer; border: 1px solid var(--line);
  color: var(--ink); background: var(--sky-3); transition: background .15s, border-color .15s;
}
.btn:hover { background: #1b2540; border-color: var(--sand-deep); color: #fff; }
.btn.primary { background: var(--rust); border-color: var(--rust); color: #fff; }
.btn.primary:hover { background: #e57a4c; }
.btn .ic { font: 700 13px var(--mono); }

.hero-media { display: grid; grid-template-columns: 1.55fr 1fr; gap: 14px; margin: 38px auto 0; max-width: 1180px; text-align: left; }
.hero-media .tile { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; }
.hero-media .tile video, .hero-media .tile img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .tag { position: absolute; left: 10px; top: 10px; font: 600 11.5px var(--mono); letter-spacing: .06em; padding: 3px 8px; border-radius: 6px; background: rgba(7,11,22,.78); color: var(--sand); }
.hero-media .stack { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; }
.hero-caption { max-width: 860px; margin: 14px auto 0; color: var(--ink-3); font-size: 14px; }

/* ---------- stat strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 34px auto 0; max-width: 1000px; }
.stat { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; background: rgba(14,20,36,.7); text-align: left; }
.stat .num { font: 700 28px/1.1 var(--display); color: var(--sand); }
.stat .lbl { font-size: 13px; color: var(--ink-2); margin-top: 4px; }

/* ---------- sections ---------- */
section.sec { padding: 72px 0; border-top: 1px solid var(--line-soft); }
section.sec.alt { background: var(--sky-2); }
section.sec.deep { background: linear-gradient(180deg, var(--sky-1), #120f14); }
.sec h2 { font: 700 clamp(26px, 3.6vw, 38px)/1.15 var(--display); margin: 0 0 8px; letter-spacing: -.015em; }
.sec h2 .n { font: 600 14px var(--mono); color: var(--rust); display: block; letter-spacing: .14em; margin-bottom: 8px; }
.sec h3 { font: 600 21px/1.3 var(--display); margin: 34px 0 10px; color: #fff3df; }
.sec h4 { font: 600 16px var(--font); margin: 20px 0 6px; color: var(--sand); }
.lead { font-size: 18.5px; color: var(--ink-2); margin: 6px 0 26px; max-width: 820px; }
.sec p { margin: 0 0 14px; }
.sec ul, .sec ol { padding-left: 22px; margin: 0 0 16px; }
.findings li { margin-bottom: 8px; }
.sec li { margin: 4px 0; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }

.callout { border: 1px solid var(--line); border-left: 4px solid var(--sand); border-radius: 8px; padding: 14px 18px; margin: 18px 0; background: rgba(20,28,49,.55); }
.callout.warn { border-left-color: var(--warn); }
.callout.rust { border-left-color: var(--rust); }
.callout.good { border-left-color: var(--good); }
.callout p:last-child { margin-bottom: 0; }
.callout .t { font: 600 13px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--sand); display: block; margin-bottom: 4px; }
.callout.warn .t { color: var(--warn); }
.callout.rust .t { color: var(--rust); }
.callout.good .t { color: var(--good); }

/* ---------- media ---------- */
figure { margin: 0; }
.fig { margin: 22px 0; }
.fig figcaption, .vid figcaption { color: var(--ink-3); font-size: 14px; margin-top: 10px; line-height: 1.55; }
.fig figcaption strong, .vid figcaption strong { color: var(--ink-2); }
.paper { background: var(--paper); border-radius: var(--radius); padding: 12px; }
.paper img { margin: 0 auto; }
.vid { margin: 22px 0; }
.vid video { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); background: #000; aspect-ratio: 16 / 9; object-fit: cover; }
.vid.wide video { aspect-ratio: 32 / 9; }
.photo img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); object-fit: cover; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.grid2 > *, .grid3 > *, .grid4 > * { margin: 0; min-width: 0; }
.photo.sq img { aspect-ratio: 1 / 1; }
.photo.wide img { aspect-ratio: 16 / 10; }
.photo.tall img { aspect-ratio: 3 / 4; }

.pair-label { display: flex; justify-content: space-around; font: 600 13px var(--mono); color: var(--ink-2); margin-top: 8px; }
.pair-label .bad { color: #f08a65; } .pair-label .ok { color: #6fd3a8; }

/* ---------- tables ---------- */
.tbl-wrap { overflow-x: auto; margin: 18px 0; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
th, td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
th { font: 600 12.5px var(--mono); letter-spacing: .04em; color: var(--sand); background: var(--sky-3); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tbody tr:hover { background: rgba(226,195,145,.05); }
.pill { display: inline-block; font: 600 11px var(--mono); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.pill.done { background: rgba(63,185,138,.14); color: #6fd3a8; border: 1px solid rgba(63,185,138,.4); }
.pill.part { background: rgba(224,168,58,.12); color: #f3cf86; border: 1px solid rgba(224,168,58,.4); }
.pill.todo { background: rgba(138,143,158,.12); color: var(--ink-2); border: 1px solid var(--line); }
.pill.park { background: rgba(217,89,38,.12); color: #f08a65; border: 1px solid rgba(217,89,38,.4); }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 7px; vertical-align: 0; }

/* ---------- equations ---------- */
.eq { font: 16px/1.7 "STIX Two Math", "Cambria Math", "Times New Roman", "DejaVu Serif", "Noto Serif", serif; background: var(--sky-3); border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; margin: 12px 0 16px; overflow-x: auto; color: #fff6e6; text-align: center; }
.eq var { font-style: italic; }
.eq .frac { display: inline-flex; flex-direction: column; vertical-align: middle; text-align: center; margin: 0 3px; }
.eq .frac > span:first-child { border-bottom: 1px solid currentColor; padding: 0 4px; }
.eq .frac > span:last-child { padding: 0 4px; }
.eq-note { font-size: 13.5px; color: var(--ink-3); margin-top: -8px; }

/* ---------- metric cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin: 18px 0; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; background: rgba(20,28,49,.55); }
.card h5 { margin: 0 0 4px; font: 600 15px var(--display); color: #fff3df; }
.card .f { font: 13.5px var(--mono); color: var(--sand); margin: 2px 0 6px; overflow-wrap: anywhere; }
.card p { font-size: 14px; color: var(--ink-2); margin: 0; }

/* ---------- policies ---------- */
.policy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0; }
.pcard { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 14px 18px; background: rgba(20,28,49,.55); position: relative; overflow: hidden; }
.pcard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); }
.pcard .h { display: flex; align-items: baseline; gap: 10px; }
.pcard .letter { font: 700 26px var(--display); color: var(--c); }
.pcard .name { font: 600 15px var(--display); }
.pcard p { font-size: 14px; color: var(--ink-2); margin: 6px 0 8px; }
.pcard .st { font-size: 12.5px; }

/* ---------- charts ---------- */
.chart { border: 1px solid var(--line); border-radius: var(--radius); background: var(--sky-2); padding: 14px 14px 8px; margin: 18px 0; position: relative; }
.chart .ct { font: 600 15px var(--display); margin: 0 4px 2px; }
.chart .cs { font-size: 13px; color: var(--ink-3); margin: 0 4px 8px; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart .legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--ink-2); margin: 2px 4px 8px; }
.chart .legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart .legend i { width: 14px; height: 3px; border-radius: 2px; display: inline-block; }
.chart .legend i.dash { background-image: linear-gradient(90deg, currentColor 60%, transparent 0); background-size: 6px 3px; }
.chart .legend i.box { width: 10px; height: 10px; border-radius: 3px; }
.axis text { fill: var(--ink-3); font: 11.5px var(--font); }
.axis line, .axis path { stroke: var(--line); }
.grid line { stroke: var(--line-soft); }
.lbl-ink { fill: var(--ink-2); font: 12px var(--font); }
.lbl-strong { fill: var(--ink); font: 600 12px var(--font); }
.tip {
  position: absolute; pointer-events: none; z-index: 5; min-width: 150px; padding: 8px 10px; border-radius: 8px;
  background: rgba(7,11,22,.95); border: 1px solid var(--line); font-size: 12.5px; color: var(--ink); line-height: 1.45;
  opacity: 0; transform: translateY(4px); transition: opacity .1s;
}
.tip.on { opacity: 1; transform: none; }
.tip b { color: var(--sand); font-weight: 600; }
.chart-toggle { display: flex; gap: 6px; margin: 0 4px 8px; flex-wrap: wrap; }
.chart-toggle button { font: 600 12px var(--mono); padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink-2); cursor: pointer; }
.chart-toggle button.on { background: var(--sand); color: #1a1407; border-color: var(--sand); }
.chart-toggles { display: flex; flex-wrap: wrap; gap: 0 18px; align-items: flex-start; }
.chart-toggles .chart-toggle { margin-bottom: 8px; }
.chart + .tbl-wrap { margin-top: 12px; }

/* ---------- timeline / lists ---------- */
.steps { counter-reset: s; list-style: none; padding: 0 !important; }
.steps li { counter-increment: s; position: relative; padding: 10px 0 10px 44px; border-bottom: 1px dashed var(--line-soft); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 10px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 700 13px var(--mono); background: var(--sky-3); color: var(--sand); border: 1px solid var(--line); }

.refs { font-size: 14.5px; padding-left: 26px !important; }
.refs li { margin: 7px 0; color: var(--ink-2); }
.refs li::marker { color: var(--rust); font-family: var(--mono); }
.refs .tag { font: 600 10.5px var(--mono); color: var(--ink-3); border: 1px solid var(--line); border-radius: 4px; padding: 0 5px; margin-left: 4px; }

.bib { position: relative; }
.bib pre { margin: 0; padding: 18px 70px 18px 18px; overflow-x: auto; background: var(--sky-3); border: 1px solid var(--line); border-radius: var(--radius); font: 13px/1.6 var(--mono); color: #f0dcb8; }
.bib button { position: absolute; top: 10px; right: 10px; }
.btn.sm { min-height: 30px; padding: 4px 12px; font-size: 12.5px; }

details { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 16px; margin: 12px 0; background: rgba(20,28,49,.45); }
details summary { cursor: pointer; font-weight: 600; color: var(--sand); }
details[open] summary { margin-bottom: 8px; }

footer { padding: 40px 0 56px; background: var(--sky-0); color: var(--ink-3); font-size: 13.5px; text-align: center; border-top: 1px solid var(--line-soft); }
footer p { margin: 4px 0; }
.toast { position: fixed; right: 18px; bottom: 18px; padding: 9px 13px; border-radius: 8px; background: var(--sand); color: #1a1407; font-weight: 600; font-size: 13px; opacity: 0; transform: translateY(8px); transition: .15s; pointer-events: none; z-index: 99; }
.toast.on { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .policy-grid { grid-template-columns: 1fr 1fr; }
  .grid4 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .hero { padding-top: 48px; }
  .hero-media { grid-template-columns: 1fr; }
  .hero-media .stack { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .policy-grid { grid-template-columns: 1fr; }
  section.sec { padding: 54px 0; }
  .vid.wide video { aspect-ratio: 16 / 9; object-fit: contain; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* hero tiles: the video sets the height, photos fill the stack */
.hero-media > .tile { aspect-ratio: 16 / 9; }
.hero-media .stack .tile img { position: absolute; inset: 0; }
@media (max-width: 760px) { .hero-media .stack .tile { aspect-ratio: 4 / 3; } }

/* author links under the name */
.social { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 10px 0 0; font-size: 14px; }
.social a { color: var(--ink-2); text-decoration: none; border-bottom: 1px dotted var(--sand-deep); }
.social a:hover { color: var(--sand); }
.authors sup { color: var(--ink-3); font-size: .6em; margin-left: 1px; } .affil sup { margin-right: 2px; }

/* ---------- project-page layout (SCoCaT-style) ---------- */
.hero h1 { margin-bottom: 10px; }
.hero .sub { font: 500 clamp(17px, 2.3vw, 22px)/1.4 var(--display); color: var(--ink); margin-bottom: 18px; }
.venue { margin: 10px 0 18px; font-weight: 600; font-size: 16px; color: var(--ink-2); }
.affil a { color: var(--ink-2); }
.sec h2 { text-align: center; margin-bottom: 14px; }
.sec .section-intro { max-width: 820px; margin: 0 auto 30px; text-align: center; color: var(--ink-2); font-size: 17px; }
.justified { text-align: justify; }
.justified p { margin: 0 0 14px; }
.note { margin-top: 18px; font-size: 14px; color: var(--ink-3); text-align: center; }
.cap { font-size: 14px; color: var(--ink-3); margin: -6px 0 18px; }
.grid3, .grid4 { margin: 18px 0; }
.photo figcaption, .fig figcaption { color: var(--ink-3); font-size: 13.5px; margin-top: 8px; }
.card .f { margin-bottom: 0; }
footer .copy { color: var(--ink-2); font-weight: 600; }
footer p { max-width: 820px; margin-left: auto; margin-right: auto; }
@media (max-width: 600px) { .justified { text-align: left; } }

/* back-link bar to the main website */
.homebar { position: sticky; top: 0; z-index: 50; background: rgba(7,11,22,.88); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-soft); }
.homebar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 46px; }
.homebar .home { font: 600 14px var(--font); color: var(--sand); text-decoration: none; white-space: nowrap; }
.homebar .home:hover { color: #f1d9ad; text-decoration: underline; }
.homebar .crumb { font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 520px) { .homebar .crumb { display: none; } }

/* lab credit */
.sec .credit { text-align: center; font-size: 13.5px; color: var(--ink-3); margin: -18px auto 26px; max-width: 820px; }

/* media protection (deterrent only) */
img, video { -webkit-user-drag: none; user-drag: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.tile, .photo, .paper, .vid { position: relative; }
.photo::after, .paper::after, .vid::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.vid .pair-label, .vid figcaption, .photo figcaption, .fig figcaption { position: relative; z-index: 2; }
.photo::after { bottom: auto; height: calc(100% - 3em); }
.vid::after { bottom: auto; aspect-ratio: 16 / 9; height: auto; }
.vid.wide::after { aspect-ratio: 32 / 9; }
.hero-media .tile::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.hero-media .tag { z-index: 2; }
.nn { color: var(--ink-3); font-size: 12px; }

/* ---------- visual project blog (2026-11-16) ---------- */
:root { --pD3: #6b8e23; }
.lede { max-width: 820px; margin: 26px auto 0; font-size: 17px; line-height: 1.65; color: var(--ink-2); text-align: left; }
.pcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 22px 0 10px; }
.pcard { border: 1px solid var(--line); border-top: 3px solid var(--pc); border-radius: var(--radius); background: rgba(20,28,49,.55); overflow: hidden; display: flex; flex-direction: column; }
.pcard video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: #000; }
.pcard h4 { margin: 12px 14px 4px; font: 600 16px var(--display); color: #fff3df; display: flex; align-items: center; gap: 8px; }
.pcard h4 i { width: 11px; height: 11px; border-radius: 3px; background: var(--pc); flex: none; }
.pcard p { margin: 0 14px 10px; font-size: 14px; line-height: 1.5; color: var(--ink-2); flex: 1; }
.pcard dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid var(--line-soft); }
.pcard dl div { padding: 8px 6px 10px 12px; }
.pcard dt { font: 600 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.pcard dd { margin: 2px 0 0; font: 600 14px var(--mono); color: var(--ink); white-space: nowrap; }
.pcard dd.bad { color: #f08a65; } .pcard dd.good { color: #6fd3a8; }
.vid.wide83 video { aspect-ratio: 8 / 3; }
.media-text { align-items: center; }
.media-text .fig, .media-text .vid, .media-text .chart { margin: 12px 0; }
.sec h3.first { margin-top: 0; }
.big { font-size: 19px; line-height: 1.5; color: var(--ink); }
.cap { font-size: 13.5px; color: var(--ink-3); line-height: 1.55; }
.credit { font-size: 13.5px; color: var(--ink-3); margin-top: 14px; }
@media (max-width: 1100px) { .pcards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pcards { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .vid.wide83 video { aspect-ratio: 8 / 3; object-fit: contain; } }
.hero-media > .tile .tag { top: auto; bottom: 10px; }  /* video tiles carry their own HUD at the top */
