/* Layout idea: one dense front page, banner headline over three link columns, wire strip below. */
:root {
  --bg: #fbfbf8;
  --ink: #15181c;
  --muted: #5b636d;
  --link: #0b3fa8;
  --visited: #6a3d9a;
  --alert: #c4161c;
  --rule: #d5d8dc;
  --font-display: ui-monospace, Menlo, monospace;
  --font-body: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101317; --ink: #e8eaed; --muted: #98a1ac; --link: #8db4ff;
    --visited: #c3a2ee; --alert: #ff6b6f; --rule: #2b3038; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #101317; --ink: #e8eaed; --muted: #98a1ac; --link: #8db4ff;
  --visited: #c3a2ee; --alert: #ff6b6f; --rule: #2b3038; color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 15px/1.35 var(--font-body); }
a { color: var(--link); text-decoration: none; }
a:visited { color: var(--visited); }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--alert); outline-offset: 2px; }
.page { max-width: 1100px; margin: 0 auto; padding: 14px 16px 40px; }

.top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap;
  font: 12px var(--font-display); color: var(--muted); border-bottom: 1px solid var(--rule); padding-bottom: 8px; }
.top nav { display: flex; gap: 14px; flex-wrap: wrap; }

.mast { text-align: center; padding: 18px 0 6px; }
.mast h1 { margin: 0; font: 600 clamp(34px, 8vw, 64px)/1 var(--font-display); letter-spacing: -0.03em; }
.mast h1 span { color: var(--alert); }
.mast p { margin: 6px 0 0; font: 12px var(--font-display); color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }

.banner { text-align: center; padding: 18px 8px 20px; }
.banner a { display: inline-block; max-width: 22em; color: var(--alert); font: 700 clamp(24px, 5.2vw, 44px)/1.08 var(--font-body);
  text-transform: uppercase; text-wrap: balance; }
.banner a:visited { color: var(--alert); }
.banner small { display: block; margin-top: 8px; font: 12px var(--font-display); color: var(--muted); }

.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; border-top: 3px solid var(--ink); padding-top: 14px; }
.col h2 { margin: 0 0 8px; font: 600 12px var(--font-display); text-transform: uppercase; letter-spacing: .1em;
  color: var(--muted); border-bottom: 1px solid var(--rule); padding-bottom: 4px; }
.col ul { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.col li a { font-weight: 600; }
.col li .src { display: block; font: 11px var(--font-display); color: var(--muted); }
.col li.hot a { color: var(--alert); }

.wire { margin-top: 8px; border-top: 3px solid var(--ink); padding-top: 12px; display: grid; grid-template-columns: 2fr 1fr; gap: 28px; }
.wire h2 { margin: 0 0 8px; font: 600 12px var(--font-display); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.wire ol { list-style: none; margin: 0; padding: 0; }
.wire li { display: grid; grid-template-columns: 64px 1fr; gap: 10px; padding: 5px 0; border-bottom: 1px dotted var(--rule); font-size: 14px; }
.wire time { font: 12px var(--font-display); color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 2px; }
.cal li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px dotted var(--rule); font-size: 14px; }
.cal span { font: 12px var(--font-display); color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }

.foot { margin-top: 28px; border-top: 1px solid var(--rule); padding-top: 10px; font: 12px var(--font-display); color: var(--muted); }
.sample { color: var(--alert); font-weight: 600; }

@media (max-width: 780px) {
  .cols, .wire { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) { a { transition: color .15s; } }
.wire .src { font: 11px var(--font-display); color: var(--muted); margin-left: 8px; }
.cal { list-style: none; margin: 0; padding: 0; }

.sponsor { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 0 auto 18px; }
.sponsor[hidden] { display: none; }
.sponsor .label { font: 11px var(--font-display); color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.sponsor img { display: block; width: auto; height: auto; max-width: 100%; max-height: 120px; border: 1px solid var(--rule); }
.foot-links { display: flex; gap: 14px; margin-top: 8px; }
.foot-links a { color: var(--muted); }
.prose { max-width: 68ch; margin: 0 auto; padding: 8px 0 24px; }
.prose h1 { font: 600 clamp(26px, 6vw, 38px)/1.1 var(--font-display); letter-spacing: -0.02em; margin: 18px 0 14px; }
.prose h2 { font: 600 13px var(--font-display); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); border-bottom: 1px solid var(--rule); padding-bottom: 4px; margin: 28px 0 10px; }
.prose p, .prose li { line-height: 1.55; }
.prose ul { padding-left: 20px; }
