:root {
  --bg: #070b14;
  --bg-elev: #0d1424;
  --panel: #111a2e;
  --line: rgba(148, 178, 220, 0.12);
  --ink: #e8eef8;
  --muted: #8b9bb4;
  --dim: #5c6d86;
  --cyan: #5ce1e6;
  --cyan-dim: rgba(92, 225, 230, 0.14);
  --amber: #f0b45a;
  --ff-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --ff-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --ff-mono: "IBM Plex Mono", ui-monospace, monospace;
  --max: 760px;
  --wide: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

.wrap { width: min(var(--wide), calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(7, 11, 20, 0.78);
  border-bottom: 1px solid var(--line);
}
.top-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  width: min(var(--wide), calc(100% - 40px));
  margin: 0 auto;
}
.brand {
  display: flex; align-items: baseline; gap: 10px;
  color: var(--ink); text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  font-family: var(--ff-mono);
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--cyan); font-weight: 500;
}
.brand-name {
  font-family: var(--ff-display);
  font-size: 22px; font-weight: 600; letter-spacing: -0.02em;
}
.nav { display: flex; gap: 22px; font-size: 14px; }
.nav a { color: var(--muted); }
.nav a:hover, .nav a.active { color: var(--ink); text-decoration: none; }

/* Hero */
.hero { padding: 36px 0 8px; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-mono);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cyan); font-weight: 500; margin-bottom: 16px;
}
.kicker::before {
  content: ""; width: 22px; height: 1px; background: var(--cyan);
}
.hero h1 {
  font-family: var(--ff-display);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.03em;
  max-width: 18ch;
}
.dek {
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
  max-width: 46ch;
}
.meta {
  margin-top: 18px;
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  color: var(--dim);
  font-size: 13px;
  font-family: var(--ff-mono);
  letter-spacing: 0.04em;
}

.cover {
  margin: 32px auto 0;
  width: min(var(--wide), calc(100% - 40px));
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  aspect-ratio: 16 / 9;
}
.cover img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* Article */
.article { padding: 56px 0 80px; }
.article h2 {
  font-family: var(--ff-display);
  font-size: 28px; font-weight: 600; letter-spacing: -0.02em;
  margin: 48px 0 18px;
}
.article h3 {
  font-size: 15px; font-weight: 600; letter-spacing: 0.01em;
  margin: 0 0 8px;
}
.lede {
  font-size: 19px; color: var(--muted); margin-bottom: 28px;
}

.pick {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px 20px;
  margin: 14px 0;
}
.pick-num {
  font-family: var(--ff-mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 8px;
}
.pick p { color: var(--muted); font-size: 15.5px; }
.pick p + p { margin-top: 8px; }
.sources { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.source {
  font-size: 12px;
  font-family: var(--ff-mono);
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid rgba(92, 225, 230, 0.18);
  border-radius: 999px;
  padding: 4px 10px;
  text-decoration: none;
}
.source:hover { background: rgba(92, 225, 230, 0.22); text-decoration: none; }

.watch {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.watch:last-child { border-bottom: 0; }
.watch dt {
  font-family: var(--ff-mono);
  font-size: 12px; letter-spacing: 0.04em;
  color: var(--amber);
  padding-top: 3px;
}
.watch dd { color: var(--muted); font-size: 15px; }
.watch dd a { word-break: break-word; }

/* Archive */
.archive-hero { padding: 48px 0 8px; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  padding: 28px 0 80px;
}
.card {
  display: block;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(92, 225, 230, 0.35);
  text-decoration: none;
}
.card-cover { aspect-ratio: 16 / 9; background: var(--panel); }
.card-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-body { padding: 18px 18px 20px; }
.card-date {
  font-family: var(--ff-mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cyan);
}
.card h2 {
  font-family: var(--ff-display);
  font-size: 22px; font-weight: 600; letter-spacing: -0.02em;
  margin: 8px 0 8px; line-height: 1.25;
}
.card p { color: var(--muted); font-size: 14.5px; }

/* Footer */
.foot {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--dim);
  font-size: 13px;
}
.foot-inner {
  width: min(var(--wide), calc(100% - 40px));
  margin: 0 auto;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.foot a { color: var(--muted); }

@media (max-width: 640px) {
  .watch { grid-template-columns: 1fr; gap: 4px; }
  .hero h1 { max-width: none; }
  .nav { gap: 14px; font-size: 13px; }
}
