:root {
  --navy: #13294b;
  --navy-2: #1d3a66;
  --sky: #2f8fd8;
  --sky-soft: #e6f2fc;
  --sun: #f5a623;
  --sun-soft: #fff4dc;
  --green-soft: #e8f6ee;
  --ink: #1b2430;
  --muted: #5b6676;
  --line: #dde3ea;
  --bg: #fbfaf7;
  --card: #ffffff;
  --link: #1a6fb5;
  --red: #d62f2f;
  --red-soft: #fdecec;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8edf3; --muted: #a6b1bf; --line: #2b3646; --bg: #0f1722; --card: #162131;
    --sky-soft: #15314d; --sun-soft: #3a2c10; --green-soft: #13321f; --link: #7cc0f5; --red-soft: #3a1717;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
a { color: var(--link); }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: #fff; padding: 8px; z-index: 10; }

.site-header { background: var(--navy); color: #fff; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.logo { font-weight: 800; font-size: 28px; text-decoration: none; letter-spacing: -0.5px; }
.logo .telly { color: var(--sun); }
.logo .doc { color: #7cc4ff; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-header nav a { color: #dbe7f5; text-decoration: none; font-size: 15px; padding: 4px 0; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: #fff; border-bottom: 2px solid var(--sun); }

.hero { background: linear-gradient(135deg, var(--navy), var(--navy-2) 60%, #22508a); color: #fff; padding: 48px 0 56px; }
.hero h1 { font-size: clamp(30px, 5vw, 48px); line-height: 1.15; margin: 8px 0 16px; max-width: 760px; }
.hero .lede { color: #dbe7f5; max-width: 680px; }
.hero .kicker { color: var(--sun); }
.button { display: inline-block; background: var(--sun); color: #1b2430; font-weight: 700; padding: 11px 20px;
  border-radius: 8px; text-decoration: none; margin: 8px 8px 0 0; }
.button.ghost { background: transparent; color: #fff; border: 1.5px solid #9fc3ea; }

h1 { line-height: 1.2; }
.section-title { margin-top: 40px; }
.kicker { text-transform: uppercase; letter-spacing: 1px; font-size: 13px; font-weight: 700; color: var(--sky); margin: 0; }
.lede { font-size: 19px; }
.muted, .meta, .small { color: var(--muted); }
.small { font-size: 14px; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.card h3 { margin: 6px 0; font-size: 20px; line-height: 1.3; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--link); }
.card p { margin: 6px 0; }
.chips { margin: 8px 0 0; }
.chip { display: inline-block; font-size: 13px; background: var(--sky-soft); border-radius: 999px; padding: 2px 10px; margin: 0 6px 6px 0; }
.empty { background: var(--card); border: 1px dashed var(--line); border-radius: 12px; padding: 24px; color: var(--muted); }

.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 40px auto 48px; }
.pillars div { border-top: 4px solid var(--sun); background: var(--card); padding: 14px 18px; border-radius: 0 0 12px 12px; }
.pillars h3 { margin: 4px 0; }

.story h1 { font-size: clamp(28px, 4.5vw, 40px); margin: 6px 0 10px; }
.story .dek { font-size: 20px; color: var(--muted); margin-top: 0; }
.story { padding-top: 32px; padding-bottom: 48px; }
.box { border-radius: 12px; padding: 4px 20px; margin: 24px 0; }
.box h2 { font-size: 18px; margin: 14px 0 6px; }
.box.means { background: var(--sky-soft); }
.box.cando { background: var(--green-soft); }
.box.tech { background: var(--sun-soft); }
.label, .disclosure { background: var(--sun-soft); padding: 10px 14px; border-radius: 8px; font-size: 15px; }
.evidence { border-left: 4px solid var(--sky); padding-left: 12px; }
.sources h2, .corrections h2 { font-size: 18px; }
.sources li { margin-bottom: 4px; word-break: break-word; }
.ai-note { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }

.prose { padding-top: 32px; padding-bottom: 48px; }
.prose h2 { margin-top: 32px; }
.prose li { margin-bottom: 6px; }
.follow-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; padding: 0; list-style: none; }
.follow-grid li { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px; }

.site-footer { background: var(--navy); color: #c9d6e6; padding: 28px 0; margin-top: 24px; }
.site-footer a { color: #fff; }
.footer-tag { font-weight: 700; color: #fff; }
.follow-links a, .follow-links span { margin-right: 16px; display: inline-block; }
.site-footer .small { color: #a9b8cc; }

/* Newsroom sub-bar */
.subnav { background: var(--navy-2); border-top: 1px solid rgba(255,255,255,.08); }
.subnav .wrap { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.subnav a { color: #c9d9ee; text-decoration: none; font-size: 14px; }
.subnav a:hover { color: #fff; }
.subnav .desk { color: var(--sun); font-weight: 800; text-transform: uppercase; letter-spacing: 1px; font-size: 13px; margin-right: 6px; }

/* News flash ticker */
.ticker { display: flex; align-items: stretch; background: #0b1a33; color: #fff; font-size: 15px; overflow: hidden; }
.flash { flex: none; display: flex; align-items: center; gap: 8px; background: var(--red); padding: 9px 14px;
  font-weight: 800; text-transform: uppercase; letter-spacing: 1px; font-size: 13px; }
.ticker-window { flex: 1; overflow: hidden; display: flex; align-items: center; }
.ticker-move { display: flex; width: max-content; animation: ticker 45s linear infinite; }
.ticker:hover .ticker-move, .ticker:focus-within .ticker-move { animation-play-state: paused; }
.ticker-run { display: flex; align-items: center; white-space: nowrap; padding-left: 16px; }
.ticker-run a, .ticker-run span { color: #fff; text-decoration: none; }
.ticker-run a:hover { color: var(--sun); }
.ticker .sep { color: var(--sun); margin: 0 16px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; display: inline-block; animation: pulse 1.4s ease-in-out infinite; }
.red .dot { background: var(--red); }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-move, .dot { animation: none; }
  .ticker-window { overflow-x: auto; }
  .ticker-run[aria-hidden] { display: none; }
}

/* Breaking */
.hero.slim { padding: 32px 0 36px; }
.hero.slim h1 { font-size: clamp(28px, 4.5vw, 42px); }
.section-title.red, .kicker.red { color: var(--red); display: flex; align-items: center; gap: 10px; }
.breaking-zone { margin-top: 8px; }
.card.breaking { border: 2px solid var(--red); background: var(--red-soft); }
.card.breaking .kicker { color: var(--red); }

/* Front door */
.parts { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin: 32px auto 48px; }
.part { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px; color: var(--ink); text-decoration: none; }
.part h2 { margin: 6px 0; }
.part.live { border-top: 4px solid var(--sun); }
.part.live:hover h2 { color: var(--link); }
.part.soon { border-style: dashed; color: var(--muted); }
.mini { margin: 10px 0 0; padding-left: 18px; font-size: 15px; }

/* Quiet "More news" strip: same motion, softer and slower */
.ticker.quiet { background: var(--card); color: var(--muted); border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; margin: 0 0 16px; }
.quiet-label { flex: none; display: flex; align-items: center; padding: 7px 14px; font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: 1px; color: var(--sky); border-right: 1px solid var(--line); }
.ticker.quiet .ticker-move { animation-duration: 90s; }
.ticker.quiet .ticker-run a, .ticker.quiet .ticker-run span { color: var(--muted); }
.ticker.quiet .ticker-run a:hover { color: var(--link); }
.ticker.quiet .sep { color: var(--line); }

/* Front door: Newsroom is part No. 1 */
.part h2 a { color: inherit; text-decoration: none; }
.part h2 a:hover { color: var(--link); }
.part .slogan { font-size: 19px; font-weight: 700; color: var(--navy-2); margin: 4px 0 8px; }
.num { background: var(--sun); color: #1b2430; border-radius: 6px; padding: 1px 7px; margin-right: 6px; }
@media (prefers-color-scheme: dark) { .part .slogan { color: #9fc3ea; } }
