@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/inter-700.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/inter-800.woff2") format("woff2");
}

:root {
  --navy: #0b1f3a;
  --deep: #06122a;
  --glow: #12305a;
  --cyan: #22d3ee;
  --cyan-ink: #0891b2;
  --white: #ffffff;
  --slate: #64748b;
  --slate-2: #94a3b8;
  --line: #e7edf4;
  --paper: #f5f7fb;
  --card: #ffffff;
  --ink: #0b1f3a;
  --blue: #2563eb;
  --live: #ef4444;
  --shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
  --radius: 18px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-weight: 500;
  line-height: 1.5;
}
a { color: inherit; }
img, svg { display: block; }
button, input { font: inherit; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--navy);
  color: white;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: 0 0 auto;
}
.brand img { width: 34px; height: 34px; }
.brand strong {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.04em;
}
.nav {
  display: flex;
  gap: 16px;
  margin-left: 8px;
  font-weight: 600;
  font-size: 14px;
}
.nav a { text-decoration: none; color: #334155; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--cyan-ink); }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.search-open, .icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
}
.search-open:hover, .icon-btn:hover { background: #eef3f8; }
.subscribe {
  background: var(--blue);
  color: white;
  text-decoration: none;
  font-weight: 700;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 14px;
}
.subscribe:hover { filter: brightness(1.05); }
.search-bar { padding: 0 0 14px; }
.search-bar input {
  width: min(420px, 100%);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: white;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.75fr);
  gap: 28px;
  padding: 28px 0 8px;
  align-items: stretch;
}
.player {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: var(--deep);
  color: white;
  box-shadow: var(--shadow);
}
.player.wide { aspect-ratio: 16 / 9; width: 100%; }
.player.tall { aspect-ratio: 9 / 16; width: 100%; }
.player .poster, .player .poster svg { width: 100%; height: 100%; position: absolute; inset: 0; }
.player .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 18, 42, 0.88) 0%, rgba(6, 18, 42, 0.55) 48%, rgba(6, 18, 42, 0.15) 100%);
}
.player-copy { position: relative; z-index: 1; display: block; padding: 28px 28px 84px; max-width: 620px; color: white; text-decoration: none; }
.live, .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--live);
  color: white;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  border-radius: 999px;
  padding: 6px 10px;
}
.live i, .dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: white;
  display: inline-block;
}
.player h1, .player h2 {
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  margin: 16px 0 10px;
}
.player .dek { margin: 0; color: #e2e8f0; font-size: 18px; max-width: 36ch; }
.controls {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.play {
  width: 42px;
  height: 42px;
  border-radius: 99px;
  border: 0;
  background: white;
  color: var(--navy);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.scrub { flex: 1; height: 4px; background: rgba(255,255,255,0.35); border-radius: 99px; position: relative; }
.scrub span { position: absolute; left: 0; top: 0; bottom: 0; width: 18%; background: var(--cyan); border-radius: 99px; }
.scrub span::after {
  content: "";
  position: absolute;
  right: -6px;
  top: -4px;
  width: 12px;
  height: 12px;
  background: var(--cyan);
  border-radius: 99px;
}
.controls time { font-variant-numeric: tabular-nums; font-size: 13px; font-weight: 700; }
.controls .ghost {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: white;
  opacity: 0.7;
}
.pending {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 64px;
  margin: 0;
  background: rgba(6, 18, 42, 0.88);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
}
.pending a { color: var(--cyan); }
.show-note { color: var(--slate); margin: 10px 0 0; max-width: 70ch; }
.home { padding-bottom: 36px; }
.shorts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.shorts.wrap { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.short { color: inherit; text-decoration: none; }
.short-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  background: var(--deep);
  box-shadow: var(--shadow);
}
.short-frame svg { width: 100%; height: 100%; display: block; }
.pillar-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 7px; z-index: 1; }
.short .pillar {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.short h3 { margin: 4px 0 0; font-size: 15px; letter-spacing: -0.02em; line-height: 1.25; }
.date-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.date-row a, .section-head > a {
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}
.section-head > a { color: var(--cyan-ink); }
.pillar-jump a { background: var(--navy); border-color: transparent; color: white; }
.story-layout {
  display: grid;
  grid-template-columns: minmax(200px, 300px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.archive-day { margin-bottom: 22px; }
.page h1 { margin: 0 0 8px; letter-spacing: -0.04em; }
.story-head .dek { font-size: 18px; margin-top: 0; }
.side-intro h2 {
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 8px 0 12px;
  font-weight: 800;
}
.eyebrow {
  color: var(--cyan-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.side-intro p { color: #475569; margin: 0 0 18px; }
.promise {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--cyan-ink);
  font-weight: 800;
}
.promise .bolt {
  width: 42px;
  height: 42px;
  border-radius: 99px;
  background: var(--navy);
  color: var(--cyan);
  display: grid;
  place-items: center;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 28px 0 14px;
}
.section-head h2 { margin: 0; font-size: 22px; letter-spacing: -0.03em; }
.section-head span, .quiet { color: var(--slate); font-size: 14px; }

.week-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: start;
  padding-bottom: 28px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.cards.today { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-bottom: 8px; }
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(11,31,58,0.02);
  display: grid;
  grid-template-rows: 96px auto;
  min-height: 168px;
}
.card:hover { border-color: #cbd5e1; }
.thumb { position: relative; background: var(--navy); }
.thumb svg { width: 100%; height: 100%; }
.dur {
  position: absolute;
  right: 6px;
  bottom: 6px;
  background: rgba(6, 18, 42, 0.78);
  color: white;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  padding: 2px 5px;
}
.card-body { padding: 10px 12px 12px; }
.card-body .pillar {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.card h3 { margin: 4px 0; font-size: 15px; letter-spacing: -0.02em; line-height: 1.25; }
.card p { margin: 0; color: var(--slate); font-size: 13px; }

.panel, .feed, .deeper, .prose, .sources {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.feed { padding: 8px 8px 12px; }
.feed header, .deeper header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 10px 6px;
}
.feed header h2, .deeper header h2 { margin: 0; font-size: 16px; }
.feed header span { color: var(--cyan-ink); font-size: 13px; font-weight: 700; }
.feed a.row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 8px;
  text-decoration: none;
  padding: 10px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.feed a.row time { color: var(--slate); font-size: 12px; font-weight: 700; }
.feed a.row strong { font-weight: 600; }
.pip { width: 8px; height: 8px; border-radius: 99px; background: var(--live); margin-top: 6px; }
.more { display: inline-block; margin: 8px 10px 0; color: var(--cyan-ink); font-weight: 700; font-size: 14px; }

.deeper { padding: 8px; }
.deeper a.course {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  border-top: 1px solid var(--line);
  padding: 12px 8px;
}
.deeper a.course:first-of-type { border-top: 0; }
.deeper h3 { margin: 0; font-size: 15px; }
.deeper p { margin: 2px 0 0; color: var(--slate); font-size: 13px; }
.deeper .go { color: var(--cyan-ink); font-size: 13px; font-weight: 700; }
.tile {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #f8fafc;
  border: 1px solid var(--line);
}
.full-courses {
  display: flex;
  justify-content: flex-end;
  padding: 8px 8px 4px;
  font-size: 13px;
}
.full-courses a { color: var(--slate); font-weight: 700; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 22px 0 32px;
  color: var(--slate);
  font-size: 14px;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline; }
.site-footer a { color: var(--cyan-ink); font-weight: 700; }
.site-footer .tag { color: var(--slate-2); }

.page { padding: 28px 0 48px; }
.pillar-hero {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}
.pillar-hero .mark {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--navy);
}
.pillar-hero h1 { margin: 0; font-size: 36px; letter-spacing: -0.04em; }
.pillar-hero p { margin: 4px 0 0; color: var(--slate); }
.story-list { display: grid; gap: 12px; }
.story-list a {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
}
.story-list h2 { margin: 12px 0 4px; font-size: 20px; }
.story-list p { margin: 0 12px 12px 0; color: var(--slate); }

.story-head { margin-bottom: 16px; }
.crumbs { color: var(--slate); font-size: 14px; }
.crumbs a { color: var(--cyan-ink); font-weight: 700; text-decoration: none; }
.story-head h1 { font-size: clamp(32px, 4vw, 46px); letter-spacing: -0.04em; margin: 10px 0; line-height: 1.08; }
.meta { color: var(--slate); font-size: 14px; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.7fr); gap: 18px; }
.prose, .sources { padding: 18px 20px 8px; }
.prose h2, .sources h2 { margin: 0 0 8px; font-size: 18px; }
.script { font-size: 18px; line-height: 1.55; font-weight: 500; }
.claim { border-top: 1px solid var(--line); padding: 12px 0; }
.claim p { margin: 0 0 6px; }
.claim a { color: var(--cyan-ink); font-size: 13px; font-weight: 700; }
.source { border-top: 1px solid var(--line); padding: 12px 0; }
.source a { font-weight: 700; color: var(--navy); }
.source p { margin: 4px 0 0; color: var(--slate); font-size: 13px; }
.story-player { margin-bottom: 16px; }
.story-player .player-copy { display: none; }
.note {
  background: #f8fafc;
  border-radius: 12px;
  padding: 12px;
  color: #334155;
  font-size: 14px;
}

@media (max-width: 980px) {
  .nav { display: none; }
  .hero-grid, .week-layout, .story-grid, .story-layout, .story-list a { grid-template-columns: 1fr; }
  .cards, .cards.today { grid-template-columns: 1fr 1fr; }
  .shorts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .story-player { max-width: 280px; }
}
@media (max-width: 640px) {
  .wrap { width: min(1180px, calc(100% - 24px)); }
  .cards, .cards.today { grid-template-columns: 1fr; }
  .shorts, .shorts.wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.player .real-video { display: none; }
.player.has-video .real-video { display: block; position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; background: #000; object-fit: contain; }
.player.has-video .controls, .player.has-video .shade, .player.has-video .player-copy { display: none; }
