/* ==========================================================================
   Dai Shi — personal website
   Plain CSS, no build step. Colours are tokens on :root; dark mode redefines them.
   ========================================================================== */

:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-2: #f4f2ec;
  --text: #1b1e23;
  --muted: #555c68;
  --faint: #656c78;
  --line: #e4e0d7;
  --line-strong: #cfc9bc;
  --accent: #1d4b80;
  --accent-hover: #143a66;
  --accent-soft: #e9eff7;
  --accent-ink: #163d6b;
  --award: #8a4b00;
  --award-soft: #fbefdc;
  --review: #5b4a8a;
  --review-soft: #efecf8;
  --focus: #2f6fd0;
  --shadow: 0 1px 2px rgba(20, 24, 31, 0.04), 0 4px 16px rgba(20, 24, 31, 0.05);

  --font-serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --measure: 68ch;
  --page: 1040px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 10px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1116;
    --surface: #151a21;
    --surface-2: #1a2028;
    --text: #e7e9ec;
    --muted: #aab1bc;
    --faint: #8d95a1;
    --line: #252c36;
    --line-strong: #364050;
    --accent: #8db6ea;
    --accent-hover: #b0cdf2;
    --accent-soft: #18263a;
    --accent-ink: #b7d1f3;
    --award: #f0bb6b;
    --award-soft: #2e2416;
    --review: #c3b5f0;
    --review-soft: #241f36;
    --focus: #8db6ea;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.25);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0e1116;
  --surface: #151a21;
  --surface-2: #1a2028;
  --text: #e7e9ec;
  --muted: #aab1bc;
  --faint: #8d95a1;
  --line: #252c36;
  --line-strong: #364050;
  --accent: #8db6ea;
  --accent-hover: #b0cdf2;
  --accent-soft: #18263a;
  --accent-ink: #b7d1f3;
  --award: #f0bb6b;
  --award-soft: #2e2416;
  --review: #c3b5f0;
  --review-soft: #241f36;
  --focus: #8db6ea;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.25);
  color-scheme: dark;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.65;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
a:hover { color: var(--accent-hover); text-decoration-color: currentColor; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
}

p { margin: 0 0 1em; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 12px; top: -48px;
  background: var(--surface);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  z-index: 100;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }

.wrap {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 60px;
}

.brand {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.brand:hover { color: var(--accent); }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 8px;
}
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a.is-active { color: var(--text); }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  flex: none;
}
.icon-btn:hover { color: var(--text); border-color: var(--line-strong); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}

.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle { display: none; }

@media (max-width: 820px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 60px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 10px 4px; font-size: 1rem; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
}

/* ---------- Hero ---------- */

.hero {
  padding: clamp(36px, 7vw, 76px) 0 clamp(28px, 5vw, 48px);
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 248px;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 14px;
}

.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.hero h1 .alt { color: var(--faint); font-weight: 400; }

.hero .role {
  font-size: 1.08rem;
  color: var(--muted);
  margin-bottom: 22px;
}
.hero .role strong { color: var(--text); font-weight: 600; }

.hero .lede {
  max-width: var(--measure);
  font-size: 1.04rem;
}

.portrait {
  margin: 6px 0 0;
}
.portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow);
  background: var(--surface-2);
}
.portrait figcaption {
  margin-top: 12px;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.5;
}
.portrait figcaption a { color: inherit; }

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.links a:hover { border-color: var(--line-strong); background: var(--surface-2); color: var(--text); }
.links a.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.links a.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
:root[data-theme="dark"] .links a.primary { color: #0e1116; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .links a.primary { color: #0e1116; } }
.links svg { width: 16px; height: 16px; flex: none; }

@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 20px; }
  .portrait { order: -1; width: 112px; margin: 0; }
  .portrait img { border-radius: 12px; }
  .portrait figcaption { display: none; }
  /* On phones, put contact links and the availability note before the longer bio. */
  .hero-text { display: flex; flex-direction: column; }
  .hero-text .lede { order: 1; margin-top: 24px; }
  .hero-text .links { margin-top: 4px; }
  .availability { margin-top: 18px; }
}

/* ---------- Open-to-roles banner ---------- */

.availability {
  margin-top: 28px;
  max-width: var(--measure);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--line));
  background: var(--accent-soft);
  border-radius: var(--radius);
  font-size: 0.96rem;
}
.availability .dot {
  flex: none;
  width: 9px; height: 9px;
  margin-top: 8px;
  border-radius: 50%;
  background: #2e9d63;
  box-shadow: 0 0 0 4px color-mix(in srgb, #2e9d63 22%, transparent);
}
.availability p { margin: 0; }
.availability strong { color: var(--accent-ink); }

/* ---------- Sections ---------- */

.section {
  padding: clamp(40px, 6vw, 64px) 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.section-head h2 { font-size: clamp(1.55rem, 3vw, 1.9rem); }
.section-head .aside { color: var(--muted); font-size: 0.92rem; }

/* ---------- Featured video ---------- */

.video-feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.video-text h2 { font-size: clamp(1.55rem, 3vw, 1.9rem); margin-bottom: 12px; }
.video-text p { color: var(--muted); }
.video-text p a { color: var(--accent); }
.video-text .links { margin-top: 18px; }

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #0b1020;
  box-shadow: var(--shadow);
}
.video-frame iframe,
.yt-facade,
.yt-facade img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.yt-facade { display: block; }
.yt-facade img { object-fit: cover; transition: transform 0.4s ease, filter 0.2s ease; }
.yt-facade:hover img { transform: scale(1.02); filter: brightness(1.08); }
.yt-facade .play {
  position: absolute;
  left: 16px; bottom: 16px;
  width: 60px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(15, 18, 25, 0.78);
  color: #fff;
  transition: background 0.15s ease;
}
.yt-facade .play svg { width: 24px; height: 24px; }
.yt-facade:hover .play,
.yt-facade:focus-visible .play { background: #d6332a; }
.yt-facade:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }

@media (max-width: 860px) {
  .video-feature { grid-template-columns: 1fr; }
  .video-frame { order: -1; }
}

/* ---------- Research themes ---------- */

.themes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.theme {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
}
.theme h3 { font-size: 1.18rem; margin-bottom: 8px; }
.theme p { color: var(--muted); font-size: 0.95rem; margin-bottom: 14px; }
.theme .theme-papers {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.theme .theme-papers a {
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 3px 9px;
  border-radius: 6px;
}
.theme .theme-papers a:hover { background: color-mix(in srgb, var(--accent) 18%, var(--accent-soft)); }
.theme .chip-note { font-weight: 400; color: var(--muted); font-size: 0.74rem; }
.theme .see-all {
  margin-top: 14px;
  font-size: 0.86rem;
  font-weight: 500;
  background: none;
  border: 0;
  padding: 0;
  color: var(--accent);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.theme .see-all:hover { text-decoration: underline; }
@media (max-width: 760px) { .themes { grid-template-columns: 1fr; } }

/* ---------- News ---------- */

.news {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 820px;
}
.news li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
}
.news li:last-child { border-bottom: 0; }
.news time {
  font-variant-numeric: tabular-nums;
  color: var(--faint);
  font-size: 0.9rem;
  font-weight: 500;
  padding-top: 1px;
}
.news .item { font-size: 0.98rem; }
.news li.is-hidden { display: none; }
@media (max-width: 520px) {
  .news li { grid-template-columns: 1fr; gap: 2px; }
}

.text-btn {
  margin-top: 14px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 14px;
  font: 500 0.9rem var(--font-sans);
  color: var(--text);
  cursor: pointer;
}
.text-btn:hover { border-color: var(--line-strong); background: var(--surface-2); }

/* ---------- Publications ---------- */

.pub-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-bottom: 8px;
}

.segmented {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
}
.segmented button {
  font: 500 0.88rem var(--font-sans);
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 7px;
  padding: 6px 14px;
  cursor: pointer;
}
.segmented button[aria-pressed="true"] {
  background: var(--surface);
  color: var(--accent-ink);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip {
  font: 500 0.84rem var(--font-sans);
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  cursor: pointer;
}
.chip:hover { color: var(--text); border-color: var(--line-strong); }
.chip[aria-pressed="true"] {
  color: var(--accent-ink);
  background: var(--accent-soft);
  border-color: var(--accent);
}

.pub-meta-line {
  font-size: 0.86rem;
  color: var(--faint);
  margin: 10px 0 0;
}
.pub-meta-line .star { color: var(--text); }

.pub-group { margin-top: 30px; }
.pub-group > h3 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}

.pubs { list-style: none; margin: 0; padding: 0; }

.pub {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.pub:last-child { border-bottom: 0; }
.pub:target, .pub.is-flash {
  animation: flash 1.6s ease;
}
@keyframes flash {
  0%, 30% { background: var(--accent-soft); }
  100% { background: transparent; }
}

.pub .venue {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding-top: 2px;
}
.badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.3;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--line);
  max-width: 100%;
}
.badge.award { background: var(--award-soft); color: var(--award); border-color: color-mix(in srgb, var(--award) 25%, transparent); }
.badge.review { background: var(--review-soft); color: var(--review); border-color: color-mix(in srgb, var(--review) 25%, transparent); }
.badge.workshop { background: transparent; border-style: dashed; border-color: var(--line-strong); color: var(--muted); }

.pub-body { min-width: 0; }
.pub .title {
  font-family: var(--font-serif);
  font-size: 1.07rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 4px;
  color: var(--text);
}
.pub .title a { color: inherit; text-decoration: none; }
.pub .title a:hover { color: var(--accent); text-decoration: underline; text-decoration-color: currentColor; }

.pub .authors { font-size: 0.92rem; color: var(--muted); margin: 0 0 3px; }
.pub .authors .me { color: var(--text); font-weight: 600; }
.pub .venue-full { font-size: 0.88rem; color: var(--faint); font-style: italic; margin: 0; }
.pub .tldr { font-size: 0.92rem; color: var(--muted); margin: 8px 0 0; max-width: var(--measure); }

.pub .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.pub .actions a, .pub .actions button {
  font: 500 0.8rem var(--font-sans);
  color: var(--accent);
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
  border-radius: 6px;
  padding: 2px 9px;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.6;
}
.pub .actions a:hover, .pub .actions button:hover { background: var(--accent-soft); color: var(--accent-ink); }

.bibtex {
  position: relative;
  margin: 10px 0 0;
  display: none;
}
.bibtex.is-open { display: block; }
.bibtex pre {
  margin: 0;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: 0.78rem/1.55 var(--font-mono);
  color: var(--text);
  overflow-x: auto;
  white-space: pre;
}
.bibtex .copy {
  position: absolute;
  top: 8px; right: 8px;
  font: 500 0.76rem var(--font-sans);
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.empty-state { color: var(--muted); padding: 24px 0; }

@media (max-width: 640px) {
  .pub { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .pub .venue { flex-direction: row; flex-wrap: wrap; }
}

/* ---------- Experience / education ---------- */

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 56px);
}
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }

.col-title {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 14px;
}

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  position: relative;
  padding: 0 0 20px 22px;
  border-left: 1px solid var(--line-strong);
}
.timeline li:last-child { padding-bottom: 0; border-left-color: transparent; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -5px; top: 7px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
}
.timeline .when {
  font-size: 0.84rem;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.timeline .what { font-weight: 600; margin: 1px 0 0; line-height: 1.45; }
.timeline .where { color: var(--muted); font-size: 0.94rem; margin: 0; }

.skills { margin: 0; }
.skills div { margin-bottom: 12px; }
.skills dt { font-weight: 600; font-size: 0.94rem; }
.skills dd { margin: 2px 0 0; color: var(--muted); font-size: 0.93rem; }

/* ---------- Service ---------- */

.plain-list { margin: 0; padding: 0; list-style: none; }
.plain-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.plain-list li:last-child { border-bottom: 0; }
.plain-list .label { font-weight: 600; }
.plain-list .sub { display: block; color: var(--muted); font-size: 0.93rem; }

/* ---------- Contact / footer ---------- */

.contact-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(20px, 4vw, 32px);
}
.contact-card h2 { font-size: clamp(1.4rem, 3vw, 1.75rem); margin-bottom: 6px; }
.contact-card p { margin: 0; color: var(--muted); max-width: 56ch; }
.contact-card .links { margin: 0; }

.site-footer {
  padding: 28px 0 40px;
  color: var(--faint);
  font-size: 0.86rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
}
.site-footer a { color: inherit; }

.noscript-note {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Print ---------- */

@media print {
  :root, :root[data-theme], :root:not([data-theme="light"]) {
    color-scheme: light;
    --bg: #fff; --surface: #fff; --surface-2: #fff; --text: #000; --muted: #333; --faint: #555;
    --line: #ccc; --line-strong: #999; --accent: #000; --accent-hover: #000; --accent-ink: #000; --accent-soft: #fff;
    --award: #000; --award-soft: #fff; --review: #000; --review-soft: #fff;
  }
  body { font-size: 11pt; }
  .site-header, .theme-toggle, .menu-toggle, .pub-controls, .pub .actions, .text-btn, .theme .see-all, .skip-link,
  .section-head .aside, .site-footer a[href="#top"] { display: none !important; }
  .news li.is-hidden { display: grid; }
  .section { padding: 18px 0; }
  .theme, .timeline li, .plain-list li, .pub, .video-feature { break-inside: avoid; }
  .video-frame .play { display: none; }
  h2, h3 { break-after: avoid; }
  a { color: #000; text-decoration: none; }
  .links a.primary { background: none !important; color: #000 !important; border-color: #000 !important; }
  .portrait img { box-shadow: none; }
}
