@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&family=Syne:wght@600;700;800&display=swap");

:root {
  color-scheme: dark;
  --bg: #10100f;
  --panel: #181816;
  --line: #30302c;
  --text: #f2f0e9;
  --muted: #aaa89e;
  --soft: #cbc9c0;
  --dek: #c5c3ba;
  --amber: #ffb000;
  --tag-border: #755500;
  --nav: #c9c7bd;
  --nav-hover: #24241f;
  --note-bg: #19170e;
  --note-text: #d7d0bc;
  --official-border: #805e00;
  --official-bg: #1f1908;
  --faint: #8f8d85;
  --footer: #929087;
  --footer-link: #d6d3c9;
  --header: rgba(16, 16, 15, 0.96);
  --media-bg: #000;
  --max: 1120px;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f4ec;
  --panel: #fffdf8;
  --line: #e4ddd0;
  --text: #1c1b17;
  --muted: #5f5c55;
  --soft: #3c3a34;
  --dek: #3f3c36;
  --amber: #8a5600;
  --tag-border: #c4922a;
  --nav: #3c3a34;
  --nav-hover: #efe8da;
  --note-bg: #fff4dc;
  --note-text: #3a3220;
  --official-border: #e0b44a;
  --official-bg: #fff8e8;
  --faint: #6b675f;
  --footer: #5f5c55;
  --footer-link: #1c1b17;
  --header: rgba(247, 244, 236, 0.94);
  --media-bg: #111;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 "Space Grotesk", Arial, sans-serif;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--amber); }

.section p a,
.aside p a,
.dek a,
.unofficial a,
.stat a,
.faq p a,
.note a,
.thanks a,
.table a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.top {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--header);
  backdrop-filter: blur(12px);
  z-index: 10;
}

.bar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding-top: 12px;
  padding-bottom: 12px;
  flex-wrap: wrap;
}

.brand {
  font: 700 20px/1 "Syne", sans-serif;
  letter-spacing: -0.7px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand em {
  font-style: normal;
  color: var(--amber);
}

.tag {
  font: 500 10px/1 "DM Mono", monospace;
  letter-spacing: 0.08em;
  color: var(--amber);
  border: 1px solid var(--tag-border);
  padding: 5px 7px;
  text-transform: uppercase;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 640px;
  gap: 2px;
}

.menu a {
  position: relative;
  padding: 8px 9px;
  color: var(--nav);
  font-size: 14px;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 4px;
  height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
}

.menu a.active { color: var(--amber); }
.menu a:hover { background: var(--nav-hover); color: var(--text); }

.navtoggle,
.theme {
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 8px 10px;
  font: 500 12px/1 "DM Mono", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  flex: 0 0 auto;
}

.navtoggle { display: none; }

.theme:hover,
.navtoggle:hover {
  border-color: var(--amber);
  color: var(--amber);
}

main { min-height: calc(100vh - 190px); }

.thanks {
  border-bottom: 1px solid var(--line);
  background: var(--note-bg);
  color: var(--note-text);
  overflow: hidden;
}

.thanks-viewport {
  overflow: hidden;
}

.thanks-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: thanks-scroll var(--thanks-time, 28s) linear infinite;
}

.thanks:hover .thanks-track,
.thanks:focus-within .thanks-track {
  animation-play-state: paused;
}

.thanks-item {
  margin: 0;
  padding: 14px 0;
  font-size: 16px;
  white-space: nowrap;
}

.thanks-item::after {
  content: "✦";
  display: inline-block;
  margin: 0 2.4rem;
  color: var(--amber);
}

.thanks a {
  font-weight: 600;
}

.thanks.is-static .thanks-viewport {
  display: flex;
  justify-content: center;
}

.thanks.is-static .thanks-item {
  white-space: normal;
  text-align: center;
  padding: 14px 18px;
}

.thanks.is-static .thanks-item::after {
  display: none;
}

@keyframes thanks-scroll {
  to { transform: translateX(var(--thanks-shift, -50%)); }
}

.hero {
  padding: 96px 0 64px;
  border-bottom: 1px solid var(--line);
}

html.js .rise {
  opacity: var(--p, 0);
  transform: translateY(calc((1 - var(--p, 0)) * 28px));
}

html.js .rise.side {
  transform: translateX(calc((1 - var(--p, 0)) * -32px));
}

html.js .timeline article.rise::before {
  transform: scale(var(--p, 0));
}

.shortcut,
.official,
.mark,
.menu a,
.menu a::after,
.stat,
.still img,
.clip video,
.shot img {
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.28s ease;
}

.menu a:hover::after,
.menu a.active::after {
  transform: scaleX(1);
}

.shortcut:hover,
.official:hover,
.mark:hover {
  transform: translateX(8px);
}

.stat:hover {
  transform: translateX(6px);
}

.still img:hover,
.clip video:hover,
.shot:hover img {
  transform: scale(1.04);
}

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

  html.js .rise {
    opacity: 1;
    transform: none;
  }
}

.eyebrow {
  font: 500 12px/1 "DM Mono", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 18px;
}

.hero h1 {
  font: 800 clamp(44px, 7vw, 84px) / 0.96 "Syne", sans-serif;
  letter-spacing: -0.06em;
  max-width: 16ch;
  margin: 0;
}

.hero h1 span { color: var(--amber); }

.dek {
  font-size: 20px;
  max-width: 62ch;
  color: var(--dek);
  margin: 28px 0 0;
}

.faces {
  padding: 56px 0 8px;
  border-bottom: 1px solid var(--line);
}

.faces h2 {
  font: 700 28px/1.15 "Syne", sans-serif;
  letter-spacing: -0.04em;
  margin: 0 0 20px;
}

.wall {
  width: min(100%, 860px);
}

.heroes {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.92fr);
  gap: 12px;
  align-items: start;
}

.lead {
  display: grid;
  gap: 10px;
  align-content: start;
}

.minors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-end;
}

.shot {
  margin: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--media-bg);
}

.heroes .shot img {
  display: block;
  width: 100%;
  height: auto;
}

.minors .shot {
  height: 128px;
  width: auto;
  display: flex;
  padding: 0;
}

.minors .shot img {
  display: block;
  height: 100%;
  width: auto;
}

.shot .frame {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  font: inherit;
  color: inherit;
}

.minors .shot .frame {
  width: auto;
  height: 100%;
  display: flex;
}

.shot.focus {
  border-color: var(--tag-border);
}

.shot.feature {
  border-color: var(--amber);
  z-index: 1;
}

.shot:focus-within {
  border-color: var(--amber);
}

.faces-note {
  margin: 14px 0 28px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 14px;
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.9fr);
  gap: 56px;
  padding: 64px 0 80px;
  align-items: start;
}

.section h2,
.aside h2 {
  font: 700 28px/1.15 "Syne", sans-serif;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
}

.section h3 {
  font: 700 18px/1.3 "Space Grotesk", sans-serif;
  margin: 32px 0 8px;
}

.section p,
.section li,
.aside p {
  color: var(--soft);
  max-width: 65ch;
}

.section ul { padding-left: 18px; }
.section li { margin: 8px 0; }

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 36px 0;
}

.note {
  border-left: 3px solid var(--amber);
  padding: 16px 18px;
  background: var(--note-bg);
  color: var(--note-text);
  max-width: 65ch;
  margin-top: 28px;
}

.stat {
  border-top: 2px solid var(--amber);
  padding: 16px 0 18px;
  border-bottom: 1px solid var(--line);
}

.stat strong {
  font: 800 36px/1 "Syne", sans-serif;
  letter-spacing: -0.05em;
  display: block;
}

.stat strong.roll {
  display: flex;
  align-items: flex-start;
  height: 1em;
  overflow: hidden;
}

.reel,
.strip {
  display: block;
}

.strip {
  position: relative;
  top: 0;
}

.reel {
  height: 1em;
  overflow: hidden;
}

.strip span,
.roll-mark {
  display: block;
  height: 1em;
  line-height: 1;
}

.stat small {
  font: 13px/1.4 "DM Mono", monospace;
  color: var(--muted);
}

.links {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.official {
  border: 1px solid var(--official-border);
  background: var(--official-bg);
  padding: 12px 14px;
  display: block;
}

.official b,
.mark b {
  font: 500 11px/1 "DM Mono", monospace;
  color: var(--amber);
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.mark {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 12px 14px;
  display: block;
}

.mark b { color: var(--muted); }

.unofficial {
  font: 12px/1.45 "DM Mono", monospace;
  color: var(--faint);
  letter-spacing: 0.02em;
  max-width: 36ch;
}

.shortcut-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.shortcut {
  display: block;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 18px;
  min-height: 120px;
}

.shortcut:hover {
  border-color: var(--amber);
  color: var(--text);
}

.shortcut b {
  display: block;
  font: 700 20px/1.2 "Syne", sans-serif;
  letter-spacing: -0.04em;
  margin-bottom: 6px;
}

.shortcut span {
  color: var(--muted);
  font-size: 14px;
}

.timeline {
  border-left: 1px solid var(--line);
  margin: 8px 0 0 7px;
  padding-left: 24px;
}

.timeline article {
  position: relative;
  padding: 0 0 28px;
}

.timeline article:before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
  left: -29px;
  top: 7px;
}

.year {
  font: 500 12px/1 "DM Mono", monospace;
  color: var(--amber);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.table th,
.table td {
  padding: 14px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table th {
  font: 500 11px/1.3 "DM Mono", monospace;
  color: var(--amber);
  text-transform: uppercase;
  white-space: nowrap;
  width: 22%;
}

.section h2 .truth,
.table .pct {
  font: 500 13px/1 "DM Mono", monospace;
  letter-spacing: 0.04em;
  color: var(--amber);
  white-space: nowrap;
}

.section h2 .truth {
  margin-left: 10px;
  vertical-align: 4px;
}

.table th.pct,
.table td.pct {
  width: 18%;
}

.table a.official,
.table a.mark { margin: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.table-wrap {
  overflow-x: auto;
  margin: 16px 0 8px;
}

.sub-table th {
  width: auto;
}

.sub-table th:nth-child(1) { width: 18%; }
.sub-table th:nth-child(2) { width: 26%; }
.sub-table th:nth-child(3) { width: 56%; }

.shout-table th:nth-child(1) { width: 32%; }
.shout-table th:nth-child(2) { width: 68%; }

.shout-empty {
  color: var(--muted);
  font-style: italic;
}

@media (max-width: 760px) {
  .sub-table {
    min-width: 640px;
  }
}

.still,
.clip {
  margin: 20px 0 8px;
}

.still img,
.clip video {
  display: block;
  width: min(100%, 320px);
  height: auto;
  border: 1px solid var(--line);
  background: var(--media-bg);
}

.still figcaption,
.clip figcaption {
  margin-top: 10px;
  max-width: 36ch;
  color: var(--muted);
  font-size: 14px;
}

.faq article { margin-bottom: 28px; }

.faq h2 {
  font: 700 20px/1.3 "Space Grotesk", sans-serif;
  letter-spacing: 0;
  margin: 0 0 8px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--footer);
  font-size: 14px;
}

.footrow {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.footlinks {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer a { color: var(--footer-link); }
.footer a:hover { color: var(--amber); }

.credit {
  margin: 12px 0 0;
  font: 500 12px/1.4 "DM Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.credit a {
  color: inherit;
  text-decoration: none;
}

.credit a:hover {
  color: var(--amber);
}

.credit strong {
  color: var(--amber);
  font-weight: 500;
}

.credit span {
  letter-spacing: 0.02em;
  text-transform: none;
}

.form {
  display: grid;
  gap: 16px;
  max-width: 65ch;
}

.form[hidden],
#inbox[hidden] {
  display: none;
}

.form label,
.choice label {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-size: 14px;
}

.form input:not([type="radio"]),
.form textarea {
  font: 16px/1.45 "Space Grotesk", Arial, sans-serif;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 12px 14px;
  width: 100%;
}

.choice {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.choice legend {
  font: 700 18px/1.3 "Space Grotesk", sans-serif;
  margin-bottom: 8px;
}

.choice label {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 12px 14px;
}

.choice input {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--amber);
}

.submit,
.text-button,
.filters button {
  font: 500 12px/1 "DM Mono", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.submit {
  justify-self: start;
  border: 0;
  background: var(--amber);
  color: #1c1b17;
  padding: 12px 16px;
}

.text-button {
  background: none;
  border: 0;
  color: var(--amber);
  padding: 0;
}

.form-status { min-height: 1.4em; color: var(--soft); }

.form-hint {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 65ch;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.filters button {
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 8px 10px;
}

.filters button.active {
  border-color: var(--amber);
  color: var(--amber);
}

.request-card {
  border-top: 1px solid var(--line);
  padding: 18px 0 8px;
}

.request-card h3 { margin-top: 0; }

.request-meta {
  font: 12px/1.4 "DM Mono", monospace;
  color: var(--amber);
}

code {
  font-family: "DM Mono", monospace;
  font-size: 0.92em;
}

body.intro-open,
body.frame-open { overflow: hidden; }

.frameview {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 72px 20px 28px;
  background: rgba(0, 0, 0, 0.94);
}

.frameview[hidden] { display: none; }

.frameview figure {
  margin: 0;
  max-width: min(100%, 1100px);
  display: grid;
  justify-items: center;
  gap: 14px;
}

.frameview img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 150px);
  object-fit: contain;
  background: #000;
}

.frameview figcaption {
  max-width: 62ch;
  margin: 0;
  color: #d6d3c9;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

.frame-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: 1px solid var(--tag-border);
  color: var(--amber);
  padding: 10px 12px;
  font: 500 12px/1 "DM Mono", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.frame-close:hover {
  border-color: var(--amber);
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: #000;
  transition: opacity 0.45s ease;
}

.intro.out {
  opacity: 0;
  pointer-events: none;
}

.intro video {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 100vh;
  background: #000;
}

.intro-skip,
.intro-play {
  font: 500 12px/1 "DM Mono", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.intro-skip {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: 1px solid var(--tag-border);
  color: var(--amber);
  padding: 10px 12px;
}

.intro-skip:hover {
  border-color: var(--amber);
}

.intro-play {
  position: absolute;
  border: 0;
  background: var(--amber);
  color: #1c1b17;
  padding: 14px 18px;
}

.intro-play[hidden] {
  display: none;
}

.inbox-mark {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 30;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
  font: 600 11px/1 "DM Mono", monospace;
  opacity: 0.45;
}

.inbox-mark:hover {
  opacity: 1;
  color: var(--amber);
  border-color: var(--amber);
}

.reply-box {
  width: 100%;
  margin: 8px 0 12px;
  font: 16px/1.45 "Space Grotesk", Arial, sans-serif;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 12px 14px;
}

.own-note {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 16px;
}

.timeline-cta {
  margin-top: 22px;
  display: grid;
  gap: 12px;
  justify-items: start;
}

.career {
  border-top: 1px solid var(--line);
  padding: 48px 0 72px;
  scroll-margin-top: 96px;
}

.career[hidden] { display: none; }

.ix-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.ix-head .eyebrow { margin: 0; }

.ix-where {
  margin: 0;
  color: var(--muted);
  font: 13px/1.4 "DM Mono", monospace;
  flex: 1;
}

.ix-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: 16px;
  padding: 0 2px 8px;
}

.ix-rail::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 4px;
  height: 1px;
  background: var(--line);
}

.ix-year { display: contents; }

.ix-year-btn,
.ix-event {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
}

.ix-year-btn {
  position: relative;
  padding: 18px 8px 0 0;
}

.ix-year-btn::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
  left: 0;
  top: 0;
  transform-origin: center;
}

.ix-year-btn strong,
.ix-event strong {
  display: block;
  font: 700 18px/1.25 "Syne", sans-serif;
  letter-spacing: -0.03em;
  margin-top: 6px;
  transform-origin: left center;
}

.ix-zoom {
  display: inline-block;
  margin-top: 8px;
  font: 500 11px/1 "DM Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
}

.ix-year-btn:hover strong,
.ix-event:hover strong { color: var(--amber); }

.ix-year-btn:focus-visible,
.ix-event:focus-visible,
#view-timeline:focus-visible,
#ix-out:focus-visible {
  outline: 1px solid var(--amber);
  outline-offset: 3px;
}

.ix-rail.is-zoomed .ix-year:not(.is-open) .ix-year-btn { opacity: 0.38; }

.ix-year.is-open .ix-year-btn::before { transform: scale(1.7); }

.ix-year.is-open .ix-year-btn strong { transform: scale(1.06); }

.ix-year.is-open .ix-events { grid-column: 1 / -1; }

.ix-events {
  margin-top: 18px;
  display: grid;
  gap: 14px;
  scroll-margin-top: 96px;
}

.ix-events[hidden],
.ix-detail[hidden] { display: none; }

.ix-stop {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.ix-event strong { font-size: 16px; }

.ix-year.is-reading .ix-event:not(.is-on) { opacity: 0.4; }

.ix-detail {
  margin-top: 12px;
  padding: 16px 16px 6px;
  background: var(--panel);
  border-left: 3px solid var(--amber);
  scroll-margin-top: 96px;
}

.ix-detail p {
  color: var(--soft);
  max-width: 68ch;
  margin: 0 0 12px;
}

.ix-detail h3 {
  font: 500 12px/1 "DM Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 8px 0 12px;
}

.career a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.ix-sources li {
  border-top: 1px solid var(--line);
  padding: 12px 0 14px;
}

.ix-sources a {
  font: 700 16px/1.3 "Syne", sans-serif;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.ix-sources a:hover { text-decoration: underline; }

.ix-kind,
.ix-when {
  display: block;
  font: 12px/1.4 "DM Mono", monospace;
  color: var(--muted);
}

.ix-kind {
  color: var(--amber);
  margin-top: 4px;
}

.ix-sources p {
  margin: 8px 0 0;
  font-size: 15px;
}

.career .note { margin-top: 28px; }

@media (max-width: 1180px) {
  .menu {
    flex-basis: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .wrap { padding: 0 18px; }
  .bar { min-height: 62px; }
  .tag { display: none; }
  .navtoggle { display: block; }
  .menu {
    display: none;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px 12px 16px;
    flex-basis: auto;
    justify-content: flex-start;
  }
  .menu.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .menu a {
    width: auto;
    padding: 12px 8px;
  }
  .hero { padding: 56px 0 40px; }
  .grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 0 56px;
  }
  .shortcut-grid { grid-template-columns: 1fr; }
  .faces { padding: 36px 0 0; }
  .wall { width: 100%; }
  .heroes { grid-template-columns: 1fr; }
  .feature { order: -1; }
  .minors .shot { height: 120px; }
  .footrow { display: block; }
  .footlinks { margin-top: 14px; }
  .career { padding: 36px 0 48px; }
  .ix-head { display: block; }
  .ix-where { margin-top: 10px; }
  #ix-out { margin-top: 12px; }
  .ix-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 22px; }
}


.tl-page { padding-bottom: 72px; }

.tl-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  align-items: center;
  margin-top: 28px;
}

.tl-hero-actions a.submit { text-decoration: none; }

.tl-head-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.tl-layout {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding-top: 28px;
}

.tl-years {
  position: sticky;
  top: var(--tl-stick, 96px);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tl-years button,
.tl-controls select,
.tl-controls input[type="search"] {
  font: 500 13px/1.2 "DM Mono", monospace;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 8px 10px;
}

.tl-years button { text-align: left; cursor: pointer; }
.tl-years button.is-on,
.tl-years button:hover { border-color: var(--amber); color: var(--amber); }

.tl-controls {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.7fr));
  gap: 8px;
  margin-bottom: 10px;
}

.tl-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
  margin: 8px 0 12px;
  color: var(--soft);
  font-size: 14px;
}

.tl-checks label { display: flex; gap: 8px; align-items: center; }

.tl-progress {
  margin: 4px 0 10px;
  padding: 6px 0 8px;
}
.tl-progress-track {
  height: 2px;
  background: var(--line);
}
.tl-progress-track span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--amber);
}
.tl-progress p,
.tl-count {
  margin: 6px 0 0;
  color: var(--muted);
  font: 500 12px/1.4 "DM Mono", monospace;
  letter-spacing: 0.04em;
}
.tl-count { margin-bottom: 22px; }

.tl-spine {
  position: relative;
  padding: 8px 0 12px;
}

.tl-spine::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--amber);
  transform: translateX(-50%);
  z-index: 0;
}

.tl-yearblock { position: relative; }

.tl-yearmark {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin: 6px 0 22px;
  scroll-margin-top: calc(var(--tl-stick, 96px) + 36px);
}

.tl-yearmark span,
.tl-yearjump {
  scroll-margin-top: calc(var(--tl-stick, 96px) + 36px);
}

.tl-yearmark span {
  background: var(--bg);
  border: 1px solid var(--amber);
  color: var(--amber);
  font: 700 13px/1 "DM Mono", monospace;
  letter-spacing: 0.08em;
  padding: 7px 12px;
}

.tl-node {
  --gap: 46px;
  --mark: 14px;
  position: relative;
  z-index: 1;
  width: calc(50% - var(--gap));
  margin: 0 0 28px;
  scroll-margin-top: calc(var(--tl-stick, 96px) + 36px);
}

.tl-node.is-major {
  --gap: 24px;
  --mark: 20px;
}

.tl-node.is-left { margin-right: auto; }
.tl-node.is-right { margin-left: auto; }

.tl-mark {
  position: absolute;
  top: 22px;
  width: var(--mark);
  height: var(--mark);
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--amber);
  box-sizing: border-box;
  z-index: 2;
}

.tl-node.is-major .tl-mark {
  background: var(--amber);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--amber) 22%, transparent);
}

.tl-node.is-left .tl-mark { right: calc((var(--gap) + (var(--mark) / 2)) * -1); }
.tl-node.is-right .tl-mark { left: calc((var(--gap) + (var(--mark) / 2)) * -1); }

.tl-mark::before {
  content: "";
  position: absolute;
  top: 50%;
  height: 2px;
  width: calc(var(--gap) - (var(--mark) / 2));
  background: var(--amber);
  transform: translateY(-50%);
}

.tl-node.is-left .tl-mark::before { right: 100%; }
.tl-node.is-right .tl-mark::before { left: 100%; }

.tl-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 10px 28px color-mix(in srgb, #000 28%, transparent);
}

.tl-node.is-major .tl-card { border-color: var(--tag-border); }
.tl-node.is-snapshot .tl-card { border-style: dashed; }

.tl-body { padding: 16px 16px 14px; }

.tl-date {
  display: block;
  margin-bottom: 6px;
  color: var(--amber);
  font: 500 12px/1.3 "DM Mono", monospace;
  letter-spacing: 0.04em;
}

.tl-node.is-major .tl-date { font-size: 13px; }

.tl-card h3 {
  margin: 0 0 12px;
  font: 700 22px/1.2 "Syne", sans-serif;
  letter-spacing: -0.03em;
}

.tl-node.is-major .tl-card h3 { font-size: 28px; }

.tl-thumb,
.tl-fallback {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--line);
  overflow: hidden;
}

.tl-thumb img,
.tl-still img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #000;
}

.tl-thumb.is-portrait,
.tl-still.is-portrait {
  aspect-ratio: 9 / 16;
  max-height: 440px;
}

.tl-node.is-major .tl-thumb.is-portrait { max-height: 520px; }

.tl-thumb.is-landscape,
.tl-still.is-landscape {
  aspect-ratio: 16 / 9;
  max-height: none;
}

.tl-thumb-label {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: color-mix(in srgb, #000 72%, transparent);
  color: #f2f0e9;
  font: 500 11px/1 "DM Mono", monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 7px;
}

.tl-fallback {
  display: flex;
  aspect-ratio: auto;
  min-height: 0;
  margin: 0;
  padding: 10px 12px;
  background: var(--note-bg);
  color: var(--note-text);
  border-style: dashed;
}

.tl-node.is-reading .tl-card { border-color: var(--amber); }

.tl-fallback span {
  font: 500 11px/1.3 "DM Mono", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tl-fallback strong {
  font: 700 18px/1.2 "Syne", sans-serif;
}

.tl-summary { margin: 12px 0 0; color: var(--soft); }

.tl-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tl-pills span,
.tl-kind {
  border: 1px solid var(--line);
  padding: 3px 6px;
  color: var(--muted);
  font: 500 11px/1 "DM Mono", monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tl-open {
  margin-top: 14px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--amber);
  color: var(--amber);
  font: 500 13px/1 "DM Mono", monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0 0 3px;
  cursor: pointer;
}

.tl-open:focus-visible,
.tl-years button:focus-visible,
.tl-controls select:focus-visible,
.tl-controls input:focus-visible,
.tl-checks input:focus-visible,
.tl-detail a:focus-visible,
.tl-thumb:focus-visible,
.tl-embed iframe:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.tl-detail { padding: 0 16px 16px; }
.tl-detail h4 {
  margin: 16px 0 6px;
  font: 700 15px/1.3 "Syne", sans-serif;
}
.tl-kicker {
  margin: 0;
  color: var(--amber);
  font: 500 12px/1.3 "DM Mono", monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tl-confidence { color: var(--soft); }
.tl-snap, .tl-note, .tl-when, .tl-missing { color: var(--muted); font-size: 14px; }
.tl-related { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.tl-related a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
.tl-sources { margin: 0; padding-left: 18px; }
.tl-sources li { margin: 0 0 12px; }
.tl-sources a, .tl-still a, .tl-source-list a, .tl-thumb { color: var(--amber); }

.tl-media { display: flex; flex-wrap: wrap; gap: 12px; }
.tl-still { margin: 8px 0 0; width: min(100%, 280px); }
.tl-still img { height: auto; border: 1px solid var(--line); }
.tl-still figcaption { margin-top: 8px; color: var(--muted); font-size: 13px; }

.tl-embed iframe {
  display: block;
  width: min(100%, 360px);
  height: auto;
  aspect-ratio: 9 / 16;
  border: 0;
  background: #000;
  margin-top: 8px;
}

.tl-empty {
  border: 1px solid var(--line);
  padding: 22px;
}

.tl-block { margin-top: 56px; }
.tl-block h2 { margin-bottom: 8px; }
.tl-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.tl-columns ul, #tl-overview, #tl-source-list { margin: 0; padding: 0; list-style: none; }
.tl-columns li, #tl-overview li { margin: 0 0 8px; }
.tl-columns a, #tl-overview a { color: inherit; }
.tl-columns a:hover, #tl-overview a:hover { color: var(--amber); }
.tl-columns a span, #tl-overview a span {
  display: block;
  color: var(--amber);
  font: 500 11px/1.3 "DM Mono", monospace;
}

#tl-plot svg { width: 100%; height: auto; display: block; }
#tl-plot circle { fill: var(--amber); }
.tl-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tl-table th, .tl-table td { border-bottom: 1px solid var(--line); text-align: left; padding: 8px 6px; vertical-align: top; }
.tl-table th { color: var(--muted); font: 500 11px/1.3 "DM Mono", monospace; letter-spacing: 0.04em; text-transform: uppercase; }

#tl-views { list-style: none; margin: 0; padding: 0; }
#tl-views li { margin: 0 0 12px; }
#tl-views small { display: block; color: var(--muted); }
.tl-bar {
  display: block;
  margin-top: 4px;
  background: var(--line);
}
.tl-bar b {
  display: block;
  width: var(--w);
  min-width: 8em;
  background: var(--tag-border);
  color: var(--text);
  font: 500 12px/1.6 "DM Mono", monospace;
  font-weight: 500;
  padding: 0 8px;
}

#tl-source-list article { border-top: 1px solid var(--line); padding: 14px 0; }
#tl-gaps { padding-left: 18px; }
#tl-gaps li { margin: 0 0 10px; }

@media (prefers-reduced-motion: reduce) {
  .tl-progress-track span { transition: none; }
}

@media (max-width: 760px) {
  .tl-layout { display: block; }
  .tl-years {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 18px;
  }
  .tl-controls,
  .tl-head-stats,
  .tl-columns { grid-template-columns: 1fr; }

  .tl-spine::before {
    left: 15px;
    transform: none;
  }

  .tl-yearmark { justify-content: flex-start; margin-left: 36px; }

  .tl-node,
  .tl-node.is-major,
  .tl-node.is-left,
  .tl-node.is-right {
    width: auto;
    margin: 0 0 18px 42px;
  }

  .tl-node.is-left .tl-mark,
  .tl-node.is-right .tl-mark,
  .tl-node.is-major.is-left .tl-mark,
  .tl-node.is-major.is-right .tl-mark {
    left: calc(-27px - (var(--mark) / 2));
    right: auto;
  }

  .tl-node.is-left .tl-mark::before,
  .tl-node.is-right .tl-mark::before {
    left: 100%;
    right: auto;
    width: 16px;
  }

  .tl-thumb.is-portrait,
  .tl-node.is-major .tl-thumb.is-portrait { max-height: 460px; }

  .tl-dossier { width: min(100vw - 24px, 640px); }
  .tl-dossier-grid { display: block; }
  .tl-dossier-copy { max-height: none; }
}

.tl-dossier {
  width: min(1040px, calc(100vw - 48px));
  max-height: min(90vh, 920px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--tag-border);
  background: var(--panel);
  color: var(--text);
  box-shadow: 0 24px 70px color-mix(in srgb, #000 45%, transparent);
}

.tl-dossier::backdrop {
  background: color-mix(in srgb, #000 74%, transparent);
}

.tl-dossier-grid {
  display: grid;
  grid-template-columns: minmax(240px, 380px) minmax(0, 1fr);
  max-height: min(90vh, 920px);
}

.tl-dossier-still {
  padding: 18px 0 18px 18px;
  background: #000;
}

.tl-dossier-still .tl-thumb { max-height: min(78vh, 720px); }

.tl-dossier-still .tl-note { margin: 10px 0 0; }

.tl-dossier-copy {
  overflow: auto;
  max-height: min(90vh, 920px);
  padding: 58px 22px 28px;
}

.tl-dossier-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: var(--panel);
  border: 1px solid var(--amber);
  color: var(--amber);
  font: 500 12px/1 "DM Mono", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 10px;
  cursor: pointer;
}

.tl-dossier h2 {
  margin: 8px 0 0;
  font: 700 34px/1.05 "Syne", sans-serif;
  letter-spacing: -0.04em;
}

.tl-dossier h3 {
  margin: 18px 0 6px;
  font: 700 16px/1.3 "Syne", sans-serif;
}

.tl-dossier-close:focus-visible,
.tl-dossier a:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.tl-embed iframe {
  width: min(100%, 360px);
  max-height: 70vh;
}

.fact-page { padding: 28px 0 64px; }

.fact-search { position: relative; }

.fact-field {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 0 12px;
  min-height: 52px;
}

.fact-field:focus-within { border-color: var(--amber); }

.fact-icon {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--amber);
}

.fact-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.fact-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: 16px/1.4 "Space Grotesk", Arial, sans-serif;
  padding: 14px 0;
}

.fact-field input:focus { outline: none; }

.fact-field input:disabled {
  opacity: 0.72;
  cursor: wait;
}

.fact-filters select:disabled,
.fact-reset:disabled {
  opacity: 0.72;
  cursor: wait;
}

.fact-field input:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 4px;
}

.fact-field input::-webkit-search-cancel-button { appearance: none; }

.fact-clear,
.fact-reset,
.fact-empty button {
  font: 500 12px/1 "DM Mono", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  background: none;
  color: var(--amber);
}

.fact-clear {
  border: 0;
  padding: 8px;
}

.fact-kbd {
  font: 500 12px/1 "DM Mono", monospace;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 4px 6px;
}

.fact-suggest {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  top: 52px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.fact-suggest li {
  padding: 10px 14px;
  cursor: pointer;
}

.fact-suggest li[aria-selected="true"],
.fact-suggest li:hover {
  background: var(--official-bg);
}

.fact-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: end;
  margin-top: 12px;
}

.fact-filters label {
  display: grid;
  gap: 6px;
  font: 500 11px/1.2 "DM Mono", monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--amber);
}

.fact-filters select {
  font: 500 13px/1.2 "DM Mono", monospace;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 8px 10px;
  text-transform: none;
  letter-spacing: 0;
}

.fact-reset {
  border: 1px solid var(--line);
  padding: 9px 12px;
}

.fact-clear:focus-visible,
.fact-reset:focus-visible,
.fact-filters select:focus-visible,
.fact-open:focus-visible,
.fact-source a:focus-visible,
.fact-more summary:focus-visible,
.fact-empty button:focus-visible,
.fact-suggest li:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.fact-count {
  margin: 18px 0 8px;
  font: 500 13px/1.4 "DM Mono", monospace;
  color: var(--muted);
}

.fact-results { display: grid; gap: 12px; }

.fact-card {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 16px 16px 14px;
}

.fact-kicker {
  margin: 0 0 6px;
  font: 500 11px/1.3 "DM Mono", monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--amber);
}

.fact-card h2 {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.15;
}

.fact-card p { margin: 0 0 10px; }

.fact-card mark {
  background: var(--official-bg);
  color: inherit;
  padding: 0 0.12em;
}

.fact-source a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fact-source span,
.fact-missing {
  color: var(--muted);
  font-size: 14px;
}

.fact-open {
  display: inline-block;
  margin: 2px 0 8px;
  font: 500 12px/1 "DM Mono", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber);
}

.fact-more summary {
  cursor: pointer;
  color: var(--muted);
  font: 500 12px/1.4 "DM Mono", monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fact-more p { margin-top: 8px; }

.fact-empty {
  border: 1px dashed var(--line);
  padding: 22px 16px;
}

.fact-empty button {
  border: 1px solid var(--line);
  padding: 9px 12px;
}

.fact-empty-missing .fact-empty-hint {
  margin: 12px auto 16px;
  max-width: 36em;
  color: var(--muted);
  font-size: 0.95rem;
}

.fact-report {
  border: 1px solid var(--amber);
  border-radius: 14px;
  padding: 22px 22px 18px;
  background: linear-gradient(165deg, rgba(212, 160, 23, 0.08), transparent 55%);
}

.fact-report-eyebrow {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber);
}

.fact-report-ask {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

.fact-report-ask span { color: var(--text); }

.fact-report-title {
  margin: 0 0 12px;
  font-size: 1.35rem;
  line-height: 1.25;
}

.fact-report-body {
  margin: 0 0 10px;
  line-height: 1.55;
}

.fact-report-meta {
  margin: 14px 0 10px;
  font-size: 0.82rem;
  color: var(--muted);
}

.fact-report-note {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}

.fact-related { margin-top: 20px; }

.fact-list-block { margin-top: 8px; }

.fact-list-heading {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 600;
}

.fact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.fact-list-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  background: var(--panel);
}

.fact-list-title {
  margin: 0 0 6px;
  font-weight: 600;
  font-size: 0.98rem;
}

.fact-list-detail {
  margin: 0 0 8px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--muted);
}

.fact-list-meta {
  margin: 0 0 8px;
  font-size: 0.78rem;
  color: var(--muted);
}

.fact-list-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--amber);
  text-decoration: none;
}

.fact-list-link:hover { text-decoration: underline; }

.fact-browse-lead {
  margin: 0 0 14px;
  color: var(--muted);
  max-width: 40em;
}

.fact-chips {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fact-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--panel);
  color: var(--text);
  font-size: 0.85rem;
  cursor: pointer;
}

.fact-chip:hover { border-color: var(--amber); }

.fact-chip:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

@media (max-width: 760px) {
  .fact-kbd { display: none; }
  .fact-filters { display: grid; }
  .fact-filters label,
  .fact-filters select,
  .fact-reset { width: 100%; }
}
