/* ============================================================
   IKE WEEKLY | Flagship Stylesheet
   Royal Blue, White, Black
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; color-scheme: dark; }
body {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  background: var(--ink);
  color: var(--paper);
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; }
::selection { background: var(--royal-bright); color: #fff; }
:focus-visible { outline: 2px solid var(--royal-glow); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 10001; background: var(--royal-bright); color: #fff; padding: 10px 14px; font-family: var(--font-mono); font-size: 12px; }
.skip-link:focus { left: 16px; top: 12px; }

/* ---------- Variables ---------- */
:root {
  --royal-deep: #0a1a4a;
  --royal: #1e3a8a;
  --royal-bright: #2f5fed;
  --royal-glow: #5b8def;
  --royal-pale: #c5d4f7;
  --royal-faint: #e8eef9;

  --ink: #050714;
  --ink-2: #0a1024;
  --ink-3: #131a36;
  --ink-4: #1a2244;
  --ink-5: #232c52;

  --paper: #fafafb;
  --paper-2: #f2f2f4;
  --paper-3: #e6e6ea;

  --ash: #8b95b0;
  --ash-2: #5b6580;
  --ash-3: #3b4560;
  --ash-d: #7e88a4;

  --line-d: rgba(255,255,255,0.10);
  --line-d-2: rgba(255,255,255,0.06);
  --line-l: rgba(10,16,40,0.12);

  --shadow-glow: 0 0 80px rgba(47,95,237,0.35);
  --shadow-lift: 0 30px 60px -20px rgba(5,7,20,0.7);
  --shadow-card: 0 20px 50px -20px rgba(5,7,20,0.5);

  --font-display: 'Fraunces', Georgia, serif;
  --font-sans: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --max: 1440px;
  --max-wide: 1600px;
  --max-read: 760px;

  --gold: #C9A84C;
  --gold-soft: rgba(201,168,76,0.35);

  --nav-h: 72px;
  --topics-h: 44px;
  --head-h: calc(var(--nav-h) + var(--topics-h));
  --status-h: 36px;
}

/* ---------- Typography ---------- */
.display { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; line-height: 0.95; }
.mono { font-family: var(--font-mono); }
.eyebrow {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--royal-glow);
}

/* ---------- Layout ---------- */
.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; width: 100%; }
.container-wide { max-width: var(--max-wide); margin: 0 auto; padding: 0 32px; }
.container-read { max-width: var(--max-read); margin: 0 auto; padding: 0 32px; }
section { position: relative; }
.section-pad { padding: 8rem 0; }
@media (max-width: 768px) {
  .container, .container-wide, .container-read { padding: 0 20px; }
  .section-pad { padding: 5rem 0; }
}


/* ---------- Custom Cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  border-radius: 50%; transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), background 0.3s;
  mix-blend-mode: difference; will-change: transform;
}
.cursor-dot { width: 6px; height: 6px; background: var(--paper); }
.cursor-ring { width: 36px; height: 36px; border: 1px solid var(--paper); opacity: 0.5; transition: width 0.3s, height 0.3s, opacity 0.3s, border-color 0.3s; }
.cursor-ring.hover { width: 60px; height: 60px; opacity: 0.8; border-color: var(--royal-glow); }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; background: var(--ink); z-index: 10000;
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  transition: opacity 0.8s var(--ease-out), visibility 0.8s;
}
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-emblem {
  width: 112px; height: 112px; border-radius: 50%; position: relative;
  background: var(--logo) center / cover no-repeat;
  animation: emblemIn 1s var(--ease-out) both;
}
.loader-emblem::before {
  content: ''; position: absolute; inset: -14px; border-radius: 50%;
  border: 1px solid var(--gold-soft); border-top-color: var(--gold);
  animation: orbitSpin 1.4s linear infinite;
}
@keyframes emblemIn { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
@keyframes orbitSpin { to { transform: rotate(360deg); } }
.loader-text {
  margin-top: 32px; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--ash);
}
.loader-counter {
  position: absolute; bottom: 40px; right: 40px; font-family: var(--font-mono);
  font-size: 12px; color: var(--ash); letter-spacing: 0.1em;
}
.loader-status {
  position: absolute; bottom: 40px; left: 40px; font-family: var(--font-mono);
  font-size: 11px; color: var(--royal-glow); letter-spacing: 0.2em; text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
}
.loader-status::before {
  content: ''; width: 6px; height: 6px; background: var(--royal-glow); border-radius: 50%;
  animation: pulse 1.2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ---------- Status Bar ---------- */
.status-bar {
  height: var(--status-h); background: var(--ink-2); border-bottom: 1px solid var(--line-d-2);
  display: flex; align-items: center; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.1em; color: var(--ash); position: relative; z-index: 100;
  overflow: hidden;
}
.status-bar-inner {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  max-width: var(--max-wide); margin: 0 auto; padding: 0 32px; gap: 24px;
}
.status-left, .status-right { display: flex; align-items: center; gap: 18px; }
.status-item { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.status-dot { width: 6px; height: 6px; background: var(--royal-glow); border-radius: 50%; }
.status-strong { color: var(--paper); }
.status-link { color: var(--royal-glow); transition: color 0.2s; }
.status-link:hover { color: var(--paper); }
.pause-btn { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ash); border: 1px solid var(--line-d); border-radius: 100px; padding: 3px 10px; transition: color 0.2s, border-color 0.2s; }
.pause-btn:hover { color: var(--paper); border-color: var(--royal-glow); }
@media (max-width: 1100px) {
  .status-item.hide-md { display: none; }
}
@media (max-width: 768px) {
  .status-bar-inner { padding: 0 16px; gap: 12px; }
  .status-item:not(.essential) { display: none; }
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 90; height: var(--head-h); flex-direction: column; align-items: stretch;
  background: rgba(5, 7, 20, 0.85); backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line-d-2);
  display: flex;
}
.nav-progress {
  position: absolute; bottom: -1px; left: 0; height: 1px; background: var(--royal-bright);
  width: 0; transition: width 0.1s linear;
}
.nav-inner {
  height: var(--nav-h); flex-shrink: 0;
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: var(--max-wide); margin: 0 auto; padding: 0 32px; gap: 32px;
}
.brand { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.brand-logo {
  height: 44px; width: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--logo) center / cover no-repeat;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.14);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.brand:hover .brand-logo { transform: scale(1.06); box-shadow: 0 0 0 1px var(--gold), 0 0 24px rgba(201,168,76,0.35); }
.brand-wordmark {
  font-family: var(--font-display); font-size: 18px; font-weight: 500;
  letter-spacing: -0.01em; color: var(--paper);
}
.brand-wordmark em { font-style: normal; color: var(--ash); font-weight: 300; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-size: 13px; font-weight: 500; color: var(--ash); padding: 8px 14px;
  border-radius: 4px; transition: color 0.2s, background 0.2s; position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--paper); }
.nav-link.active::after {
  content: ''; position: absolute; bottom: 2px; left: 14px; right: 14px; height: 1px; background: var(--royal-glow);
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px;
  background: var(--royal); color: var(--paper); border-radius: 4px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.2s, box-shadow 0.3s;
  border: 1px solid var(--royal-bright);
}
.nav-cta:hover { background: var(--royal-bright); transform: translateY(-1px); box-shadow: 0 8px 24px -8px var(--royal-bright); }
.nav-cta-arrow { transition: transform 0.3s var(--ease-spring); }
@media (max-width: 640px) { .nav-cta { display: none; } }
.nav-cta:hover .nav-cta-arrow { transform: translateX(3px); }

.nav-menu-btn { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; }
.nav-menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--paper); position: relative; }
.nav-menu-btn span::before, .nav-menu-btn span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--paper);
  transition: transform 0.3s var(--ease-out);
}
.nav-menu-btn span::before { top: -6px; } .nav-menu-btn span::after { top: 6px; }
body.menu-open .nav-menu-btn span { background: transparent; }
body.menu-open .nav-menu-btn span::before { transform: rotate(45deg) translate(4px, 4px); }
body.menu-open .nav-menu-btn span::after { transform: rotate(-45deg) translate(4px, -4px); }

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-menu-btn { display: flex; }
  .nav-cta { padding: 8px 14px; font-size: 12px; }
}
@media (max-width: 420px) { .brand-wordmark { font-size: 16px; } .nav-inner { gap: 12px; } }

/* ---------- Mobile Menu ---------- */
.menu-overlay {
  position: fixed; inset: 0; z-index: 80; background: var(--ink);
  display: flex; flex-direction: column; padding: calc(var(--head-h) + var(--status-h)) 32px 32px;
  opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease-out), visibility 0.4s;
  overflow-y: auto;
}
body.menu-open .menu-overlay { opacity: 1; visibility: visible; }
.menu-links { display: flex; flex-direction: column; gap: 4px; margin-top: 24px; }
.menu-link {
  font-family: var(--font-display); font-size: clamp(2rem, 9vw, 3.5rem); font-weight: 400;
  color: var(--paper); padding: 12px 0; border-bottom: 1px solid var(--line-d-2);
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  transition: color 0.2s, padding-left 0.3s var(--ease-out);
}
.menu-link:hover { color: var(--royal-glow); padding-left: 16px; }
.menu-link-num { font-family: var(--font-mono); font-size: 12px; color: var(--ash); font-weight: 400; }
.menu-topics {
  margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line-d-2);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 24px;
}
.menu-topics-label { grid-column: 1 / -1; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ash); margin-bottom: 8px; }
.menu-topic { font-size: 14px; color: var(--ash); padding: 6px 0; transition: color 0.2s; display: flex; align-items: center; gap: 8px; }
.menu-topic:hover { color: var(--paper); }
.menu-topic-num { font-family: var(--font-mono); font-size: 10px; color: var(--royal-glow); }

/* ---------- Page System ---------- */
.page { display: none; }
.page.is-active { display: block; animation: pageIn 0.6s var(--ease-out); }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Hero (Home) ---------- */
.hero {
  position: relative;
  height: calc(100vh - var(--head-h) - var(--status-h));
  height: calc(100svh - var(--head-h) - var(--status-h));
  min-height: 500px;
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  padding: 1.5rem 0 calc(2.5rem + 46px); overflow: hidden;
  background: radial-gradient(ellipse 75% 65% at 50% 45%, #0b1742 0%, #070b20 55%, var(--ink) 100%);
}
.hero-orbits {
  position: absolute; left: 50%; top: 46%; z-index: 0; pointer-events: none;
  width: min(118vh, 135vw); height: min(118vh, 135vw); transform: translate(-50%, -50%);
}
.orbit-spin { transform-origin: 0 0; animation: orbitSpin 240s linear infinite; }
.orbit { fill: none; stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; animation: orbitDraw 2.6s var(--ease-out) 0.3s forwards; }
.orbit.blue { stroke: var(--royal-glow); stroke-opacity: 0.28; }
.orbit.gold { stroke: var(--gold); stroke-opacity: 0.38; }
.orbit-dot { opacity: 0; animation: dotIn 1.2s var(--ease-out) 1.8s forwards; }
.orbit-dot.gold { fill: var(--gold); }
.orbit-dot.blue { fill: var(--royal-glow); }
@keyframes orbitDraw { to { stroke-dashoffset: 0; } }
@keyframes dotIn { to { opacity: 0.7; } }
.hero-glow {
  position: absolute; width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47,95,237,0.25) 0%, transparent 70%);
  top: 46%; left: 50%; transform: translate(-50%, -50%); z-index: 0;
  filter: blur(60px); animation: heroGlow 8s ease-in-out infinite alternate;
}
@keyframes heroGlow { 0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; } 100% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; } }

.hero-content { position: relative; z-index: 5; width: 100%; display: flex; flex-direction: column; align-items: center; }
.hero-meta {
  display: flex; align-items: center; justify-content: center; gap: 12px 32px; margin-bottom: clamp(18px, 3.5vh, 36px); flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ash);
}
.hero-meta-item { display: flex; align-items: center; gap: 8px; }
.hero-meta strong { color: var(--paper); font-weight: 500; }
.hero-meta .live-dot { width: 6px; height: 6px; background: var(--royal-glow); border-radius: 50%; }
@media (max-width: 640px) { .hero-meta { gap: 8px 18px; } .hero-meta-item.optional { display: none; } }

.hero-title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.6rem, min(11.5vw, 12.5vh), 10rem); line-height: 0.92; letter-spacing: -0.035em;
  margin-bottom: clamp(16px, 3vh, 32px); color: var(--paper);
}
.hero-title-line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero-title-line span {
  display: inline-block; transform: translateY(110%); opacity: 0;
  animation: titleReveal 1.2s var(--ease-out) forwards;
}
.hero-title-line:nth-child(2) span { animation-delay: 0.15s; }
.hero-title-line:nth-child(3) span { animation-delay: 0.3s; }
.hero-title em {
  font-style: italic; font-weight: 300; color: var(--royal-glow);
  background: linear-gradient(180deg, var(--royal-glow) 0%, var(--royal-bright) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
@keyframes titleReveal { to { transform: translateY(0); opacity: 1; } }

.hero-sub {
  font-size: clamp(0.98rem, 1.3vw, 1.2rem); line-height: 1.5; max-width: 620px; padding: 0 8px;
  color: var(--ash); margin: 0 auto clamp(20px, 4vh, 40px); text-wrap: balance; opacity: 0; animation: fadeUp 1s var(--ease-out) 0.6s forwards;
}
.hero-sub strong { color: var(--paper); font-weight: 500; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.hero-cta-row { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; opacity: 0; animation: fadeUp 1s var(--ease-out) 0.8s forwards; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.02em; border-radius: 4px;
  transition: all 0.3s var(--ease-out); position: relative; overflow: hidden;
}
.btn-primary { background: var(--royal); color: var(--paper); border: 1px solid var(--royal-bright); }
.btn-primary:hover { background: var(--royal-bright); transform: translateY(-2px); box-shadow: 0 12px 32px -8px var(--royal-bright); }
.btn-ghost { background: transparent; color: var(--paper); border: 1px solid var(--line-d); }
.btn-ghost:hover { border-color: var(--paper); background: rgba(255,255,255,0.04); }
.btn-arrow { transition: transform 0.3s var(--ease-spring); display: inline-block; }
.btn:hover .btn-arrow { transform: translateX(4px); }

.hero-ticker {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 5;
  border-top: 1px solid var(--line-d-2); border-bottom: 1px solid var(--line-d-2);
  background: rgba(5,7,20,0.5); backdrop-filter: blur(10px);
  padding: 14px 0; overflow: hidden;
}
.ticker-track { display: flex; gap: 48px; width: max-content; padding-right: 48px; animation: tickerScroll 70s linear infinite; white-space: nowrap; }
.ticker-item { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 12px; color: var(--ash); }
.ticker-item strong { color: var(--royal-glow); font-weight: 500; letter-spacing: 0.1em; }
.ticker-item span { color: var(--paper); }
.ticker-item time { color: var(--ash-d); }
@keyframes tickerScroll { to { transform: translateX(-50%); } }


/* ---------- Section Headers ---------- */
.section-header { margin-bottom: 4rem; }
.section-header-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.section-num {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em;
  color: var(--royal-glow); text-transform: uppercase; margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.section-title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1; letter-spacing: -0.025em;
  color: var(--paper); max-width: 800px;
}
.section-title em { font-style: italic; color: var(--royal-glow); }
.section-sub {
  font-size: 1rem; color: var(--ash); max-width: 480px; line-height: 1.6; margin-top: 16px;
}
.section-link {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500;
  color: var(--paper); padding-bottom: 4px; border-bottom: 1px solid var(--royal-glow);
  transition: gap 0.3s var(--ease-spring);
}
.section-link:hover { gap: 14px; }

/* ---------- Generated artwork ---------- */
.art { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 0.8s var(--ease-out); }
.art-wrap { position: relative; width: 100%; height: 100%; }

/* ---------- Featured Story ---------- */
.featured {
  padding: 8rem 0; background: var(--paper); color: var(--ink);
  position: relative; overflow: hidden;
}
.featured::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--royal), transparent);
}
.featured .eyebrow, .featured .section-num { color: var(--royal); }
.featured .section-title { color: var(--ink); }
.featured .section-title em { color: var(--royal); }
.featured .section-sub { color: var(--ash-2); }
.featured .section-link { color: var(--ink); border-color: var(--royal); }

.featured-card {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 0;
  background: var(--paper-2); border: 1px solid var(--line-l);
  border-radius: 6px; overflow: hidden; margin-top: 3rem;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
  cursor: pointer;
}
.featured-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.featured-card-image {
  position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--ink-3);
}
.featured-card:hover .art { transform: scale(1.05); }
.featured-card-badge {
  position: absolute; top: 24px; left: 24px; padding: 6px 12px;
  background: var(--royal); color: var(--paper); font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; border-radius: 2px;
  z-index: 2;
}
.featured-card-body { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.featured-card-meta {
  display: flex; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--ash-2);
}
.featured-card-meta strong { color: var(--royal); }
.featured-card-title {
  font-family: var(--font-display); font-weight: 400; font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1.05; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 20px;
  transition: color 0.3s;
}
.featured-card:hover .featured-card-title { color: var(--royal); }
.featured-card-excerpt { font-size: 1.0625rem; line-height: 1.6; color: var(--ash-2); margin-bottom: 32px; }
.featured-card-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid var(--line-l);
}
.featured-card-author { display: flex; align-items: center; gap: 12px; }
.featured-card-avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--royal);
  display: flex; align-items: center; justify-content: center; color: var(--paper);
  font-family: var(--font-display); font-weight: 500; font-size: 13px;
}
.featured-card-author-info { display: flex; flex-direction: column; }
.featured-card-author-name { font-size: 13px; font-weight: 600; color: var(--ink); }
.featured-card-author-role { font-size: 11px; color: var(--ash-2); font-family: var(--font-mono); letter-spacing: 0.05em; }
.featured-card-read {
  font-family: var(--font-mono); font-size: 11px; color: var(--ash-2);
  letter-spacing: 0.1em; text-transform: uppercase;
}

@media (max-width: 900px) {
  .featured-card { grid-template-columns: 1fr; }
  .featured-card-body { padding: 32px 24px; }
}

/* ---------- Latest Grid ---------- */
.latest { padding: 8rem 0; background: var(--ink); position: relative; }
.latest-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 3rem;
}
@media (max-width: 1024px) { .latest-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .latest-grid { grid-template-columns: 1fr; } }

.article-card {
  display: flex; flex-direction: column; gap: 0; cursor: pointer;
  background: var(--ink-2); border: 1px solid var(--line-d-2); border-radius: 6px;
  overflow: hidden; transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
  position: relative;
}
.article-card:hover { transform: translateY(-6px); border-color: var(--royal); box-shadow: var(--shadow-card); }
.article-card-image {
  aspect-ratio: 16/10; overflow: hidden; position: relative; background: var(--ink-3);
}
.article-card:hover .art { transform: scale(1.06); }
.article-card-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5,7,20,0.6));
}
.article-card-num {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  font-family: var(--font-mono); font-size: 10px; color: var(--paper);
  letter-spacing: 0.15em; padding: 4px 8px; background: rgba(5,7,20,0.7);
  backdrop-filter: blur(8px); border-radius: 2px;
}
.article-card-body { padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.article-card-topic {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--royal-glow); display: flex; align-items: center; gap: 8px;
}
.article-card-topic::before { content: ''; width: 6px; height: 6px; background: var(--royal-glow); border-radius: 50%; }
.article-card-title {
  font-family: var(--font-display); font-weight: 400; font-size: 1.375rem; line-height: 1.2;
  letter-spacing: -0.015em; color: var(--paper); transition: color 0.3s;
}
.article-card:hover .article-card-title { color: var(--royal-glow); }
.article-card-excerpt { font-size: 0.875rem; color: var(--ash); line-height: 1.5; flex: 1; }
.article-card-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 16px; border-top: 1px solid var(--line-d-2);
  font-family: var(--font-mono); font-size: 11px; color: var(--ash-d); letter-spacing: 0.05em;
}
.article-card-footer-author { color: var(--paper); }

/* ---------- Eight Frontiers Section ---------- */
.frontiers { padding: 10rem 0; background: var(--ink-2); position: relative; overflow: hidden; }
.frontiers-glow {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47,95,237,0.18) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%); filter: blur(80px);
}
.frontiers-content { position: relative; z-index: 2; }

.frontiers-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-bottom: 5rem;
  align-items: end;
}
@media (max-width: 900px) { .frontiers-intro { grid-template-columns: 1fr; gap: 32px; } }
.frontiers-desc { font-size: 1.125rem; line-height: 1.6; color: var(--ash); }
.frontiers-desc strong { color: var(--paper); font-weight: 500; }
.frontiers-stats { display: flex; gap: 48px; flex-wrap: wrap; }
.frontiers-stat-num {
  font-family: var(--font-display); font-size: 2.5rem; font-weight: 400; color: var(--paper);
  letter-spacing: -0.02em; line-height: 1;
}
.frontiers-stat-num em { color: var(--royal-glow); font-style: normal; }
.frontiers-stat-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--ash); margin-top: 8px;
}

.frontiers-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line-d-2); border: 1px solid var(--line-d-2); border-radius: 6px; overflow: hidden;
}
@media (max-width: 1024px) { .frontiers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .frontiers-grid { grid-template-columns: 1fr; } }

.frontier-cell {
  background: var(--ink-2); padding: 36px 32px; min-height: 280px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  cursor: pointer; position: relative; overflow: hidden;
  transition: background 0.4s var(--ease-out);
}
.frontier-cell::before {
  content: ''; position: absolute; inset: 0; background: var(--royal);
  transform: translateY(100%); transition: transform 0.5s var(--ease-out); z-index: 0;
}
.frontier-cell:hover::before, .frontier-cell:focus-visible::before { transform: translateY(0); }
.frontier-cell > * { position: relative; z-index: 2; }
.frontier-cell:hover { background: transparent; }
.frontier-cell-top { display: flex; align-items: flex-start; justify-content: space-between; }
.frontier-num {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em;
  color: var(--ash); transition: color 0.3s;
}
.frontier-cell:hover .frontier-num { color: var(--royal-pale); }
.frontier-icon {
  width: 48px; height: 48px; color: var(--royal-glow);
  transition: color 0.3s, transform 0.5s var(--ease-spring);
}
.frontier-cell:hover .frontier-icon { color: var(--paper); transform: rotate(-8deg) scale(1.1); }
.frontier-icon svg { width: 100%; height: 100%; }
.frontier-name {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 400;
  letter-spacing: -0.015em; color: var(--paper); line-height: 1.1;
  transition: color 0.3s;
}
.frontier-desc {
  font-size: 0.875rem; color: var(--ash); line-height: 1.5;
  transition: color 0.3s;
}
.frontier-cell:hover .frontier-desc { color: var(--royal-pale); }
.frontier-bottom {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--ash-d); transition: color 0.3s;
}
.frontier-cell:hover .frontier-bottom { color: var(--paper); }
.frontier-arrow {
  width: 24px; height: 24px; border: 1px solid currentColor; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.4s var(--ease-spring);
}
.frontier-cell:hover .frontier-arrow { transform: rotate(-45deg); }

/* ---------- Newsletter Section ---------- */
.newsletter-block {
  padding: 8rem 0; background: var(--ink); position: relative; overflow: hidden;
}
.newsletter-bg {
  position: absolute; inset: 0; z-index: 0; opacity: 0.6;
  background:
    radial-gradient(circle at 20% 50%, rgba(47,95,237,0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(47,95,237,0.12) 0%, transparent 50%);
}
.newsletter-inner {
  position: relative; z-index: 2; max-width: 880px; margin: 0 auto; text-align: center;
  padding: 0 32px;
}
.newsletter-emblem {
  width: 96px; height: 96px; margin: 0 auto 32px; border-radius: 50%; position: relative;
  background: var(--logo) center / cover no-repeat;
}
.newsletter-emblem::before {
  content: ''; position: absolute; inset: -10px; border-radius: 50%;
  border: 1px solid var(--gold-soft); border-top-color: var(--gold);
  animation: orbitSpin 14s linear infinite;
}
.newsletter-eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--royal-glow); margin-bottom: 24px;
}
.newsletter-title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.75rem); line-height: 1.05; letter-spacing: -0.025em;
  color: var(--paper); margin-bottom: 24px;
}
.newsletter-title em { font-style: italic; color: var(--royal-glow); }
.newsletter-desc {
  font-size: 1.0625rem; color: var(--ash); line-height: 1.6; max-width: 580px; margin: 0 auto 40px;
}
.newsletter-form {
  display: flex; gap: 8px; max-width: 520px; margin: 0 auto 24px;
  background: var(--ink-2); border: 1px solid var(--line-d); border-radius: 4px;
  padding: 6px; transition: border-color 0.3s, box-shadow 0.3s;
}
.newsletter-form:focus-within { border-color: var(--royal); box-shadow: 0 0 0 4px rgba(47,95,237,0.15); }
.newsletter-input {
  flex: 1; min-width: 0; background: transparent; border: none; outline: none; color: var(--paper);
  font-size: 15px; padding: 14px 18px; font-family: inherit;
}
.newsletter-input::placeholder { color: var(--ash-d); }
.newsletter-submit {
  background: var(--royal); color: var(--paper); padding: 12px 24px; border-radius: 3px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em; transition: background 0.2s;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
}
.newsletter-submit:hover { background: var(--royal-bright); }
.newsletter-fine {
  font-family: var(--font-mono); font-size: 11px; color: var(--ash-d); letter-spacing: 0.05em; line-height: 1.7;
}
.newsletter-fine strong { color: var(--ash); }
.newsletter-fine a { color: var(--ash); border-bottom: 1px solid var(--line-d); }
.newsletter-perks {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px;
  padding-top: 48px; border-top: 1px solid var(--line-d-2);
}
@media (max-width: 640px) { .newsletter-perks { grid-template-columns: 1fr; } .newsletter-form { flex-wrap: wrap; } .newsletter-submit { flex: 1; justify-content: center; } }
.perk { text-align: left; }
.perk-num {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em;
  color: var(--royal-glow); margin-bottom: 12px;
}
.perk-title { font-family: var(--font-display); font-size: 1.125rem; color: var(--paper); margin-bottom: 8px; }
.perk-desc { font-size: 0.875rem; color: var(--ash); line-height: 1.5; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink-2); border-top: 1px solid var(--line-d-2);
  padding: 5rem 0 2rem; position: relative; overflow: hidden;
}
.footer-mega {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(4rem, 18vw, 18rem); line-height: 0.85; letter-spacing: -0.04em;
  color: var(--ink-3); text-align: center; margin-bottom: 4rem; white-space: nowrap;
  background: linear-gradient(180deg, var(--ink-4) 0%, var(--ink-2) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  user-select: none;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 4rem;
}
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .brand { margin-bottom: 24px; }
.footer-brand-tagline { font-size: 0.9375rem; color: var(--ash); line-height: 1.6; margin-bottom: 24px; max-width: 320px; }
.footer-brand-socials { display: flex; gap: 8px; }
.footer-social {
  width: 36px; height: 36px; border: 1px solid var(--line-d); border-radius: 4px;
  display: flex; align-items: center; justify-content: center; color: var(--ash);
  transition: all 0.3s var(--ease-out);
}
.footer-social:hover { color: var(--paper); border-color: var(--royal); background: var(--royal); transform: translateY(-2px); }
.footer-social svg { width: 16px; height: 16px; }

.footer-col h4 {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--royal-glow); margin-bottom: 20px; font-weight: 500;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.875rem; color: var(--ash); transition: color 0.2s, padding-left 0.3s; }
.footer-col a:hover { color: var(--paper); padding-left: 6px; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px 24px;
  padding-top: 2rem; border-top: 1px solid var(--line-d-2); flex-wrap: wrap;
}
.footer-copy { font-family: var(--font-mono); font-size: 11px; color: var(--ash-d); letter-spacing: 0.05em; line-height: 1.7; }
.footer-copy strong { color: var(--ash); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { font-family: var(--font-mono); font-size: 11px; color: var(--ash-d); letter-spacing: 0.05em; transition: color 0.2s; }
.footer-legal a:hover { color: var(--paper); }
.footer-indep { width: 100%; font-family: var(--font-mono); font-size: 11px; color: var(--ash-d); letter-spacing: 0.03em; }

/* ---------- Page Hero (interior pages) ---------- */
.page-hero {
  padding: 6rem 0 4rem; background: var(--ink); position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line-d-2);
}
.page-hero-glow {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47,95,237,0.15) 0%, transparent 70%);
  top: 50%; right: -200px; transform: translateY(-50%); filter: blur(60px);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero-eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--royal-glow); margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.page-hero-title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.5rem, 7vw, 5.5rem); line-height: 0.95; letter-spacing: -0.03em;
  color: var(--paper); margin-bottom: 24px; max-width: 900px;
}
.page-hero-title em { font-style: italic; color: var(--royal-glow); }
.page-hero-sub {
  font-size: 1.125rem; color: var(--ash); line-height: 1.6; max-width: 640px;
}
.page-hero-meta {
  display: flex; gap: 32px; margin-top: 40px; padding-top: 32px;
  border-top: 1px solid var(--line-d-2); flex-wrap: wrap;
}
.page-hero-stat { display: flex; flex-direction: column; gap: 4px; }
.page-hero-stat-num {
  font-family: var(--font-display); font-size: 1.75rem; font-weight: 400; color: var(--paper);
}
.page-hero-stat-num em { color: var(--royal-glow); font-style: normal; }
.page-hero-stat-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--ash);
}

/* ---------- About Page ---------- */
.about-mission { padding: 8rem 0; background: var(--paper); color: var(--ink); }
.about-mission-grid { display: grid; grid-template-columns: 1fr 1.8fr; gap: 64px; }
@media (max-width: 900px) { .about-mission-grid { grid-template-columns: 1fr; } }
.about-mission-title {
  font-family: var(--font-display); font-weight: 300; font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05; letter-spacing: -0.025em; color: var(--ink);
}
.about-mission-title em { font-style: italic; color: var(--royal); }
.about-mission-body { font-size: 1.0625rem; line-height: 1.7; color: var(--ash-2); }
.about-mission-body p { margin-bottom: 24px; }
.about-mission-body p:first-child::first-letter {
  font-family: var(--font-display); font-size: 4rem; font-weight: 400;
  float: left; line-height: 0.85; padding: 8px 12px 0 0; color: var(--royal);
}
.about-mission-body strong { color: var(--ink); }
.about-mission-body a { color: var(--royal); border-bottom: 1px solid var(--royal); }

.about-principles { padding: 8rem 0; background: var(--ink); }
.principles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-d-2); border: 1px solid var(--line-d-2); border-radius: 6px; overflow: hidden; margin-top: 3rem; }
@media (max-width: 768px) { .principles-grid { grid-template-columns: 1fr; } }
.principle { background: var(--ink-2); padding: 40px; }
.principle-num {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em;
  color: var(--royal-glow); margin-bottom: 16px;
}
.principle-title {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; color: var(--paper);
  margin-bottom: 12px; letter-spacing: -0.015em;
}
.principle-desc { font-size: 0.9375rem; color: var(--ash); line-height: 1.6; }

.about-numbers { padding: 6rem 0; background: var(--ink-2); border-top: 1px solid var(--line-d-2); border-bottom: 1px solid var(--line-d-2); }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 768px) { .numbers-grid { grid-template-columns: repeat(2, 1fr); } }
.number-item { text-align: left; }
.number-num {
  font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 300;
  color: var(--paper); line-height: 1; letter-spacing: -0.03em; margin-bottom: 12px;
}
.number-num em { color: var(--royal-glow); font-style: normal; }
.number-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ash); }

/* ---------- Archive Page ---------- */
.archive-filters {
  padding: 2rem 0; border-bottom: 1px solid var(--line-d-2);
  position: sticky; top: var(--head-h); z-index: 50;
  backdrop-filter: blur(20px); background: rgba(10,16,36,0.92);
}
.archive-filters-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.archive-filter-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ash); }
.archive-chips { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.archive-chip {
  padding: 8px 16px; border: 1px solid var(--line-d); border-radius: 100px;
  font-size: 12px; color: var(--ash); cursor: pointer; transition: all 0.2s;
  font-family: var(--font-mono); letter-spacing: 0.05em;
}
.archive-chip:hover { color: var(--paper); border-color: var(--royal); }
.archive-chip.active { background: var(--royal); color: var(--paper); border-color: var(--royal); }
.archive-search {
  display: flex; align-items: center; gap: 8px; padding: 8px 16px;
  border: 1px solid var(--line-d); border-radius: 4px; background: var(--ink);
}
.archive-search input { background: transparent; border: none; outline: none; color: var(--paper); font-size: 13px; width: 180px; }
.archive-search input::placeholder { color: var(--ash-d); }
.archive-search svg { width: 14px; height: 14px; color: var(--ash); }
@media (max-width: 768px) { .archive-filters { position: static; } }

.archive-list { padding: 4rem 0 8rem; background: var(--ink); }
.archive-item {
  display: grid; grid-template-columns: 80px 1fr 200px 120px 40px; gap: 32px;
  padding: 28px 0; border-bottom: 1px solid var(--line-d-2); align-items: center;
  cursor: pointer; transition: padding 0.3s var(--ease-out), background 0.3s;
}
.archive-item:hover { padding-left: 16px; background: linear-gradient(90deg, rgba(47,95,237,0.04), transparent); }
.archive-item:hover .archive-item-title { color: var(--royal-glow); }
.archive-item-num { font-family: var(--font-mono); font-size: 11px; color: var(--ash-d); letter-spacing: 0.1em; }
.archive-item-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; color: var(--paper); line-height: 1.2; transition: color 0.3s; }
.archive-item-topic { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--royal-glow); }
.archive-item-date { font-family: var(--font-mono); font-size: 12px; color: var(--ash); }
.archive-item-arrow { color: var(--ash); transition: transform 0.3s, color 0.3s; }
.archive-item:hover .archive-item-arrow { transform: translateX(6px); color: var(--royal-glow); }
@media (max-width: 900px) {
  .archive-item { grid-template-columns: 60px 1fr 40px; gap: 16px; }
  .archive-item > .archive-item-topic, .archive-item-date { display: none; }
}

/* ---------- Article Page ---------- */
.article-hero { padding: 5rem 0 3rem; background: var(--ink); position: relative; }
.article-breadcrumb {
  display: flex; align-items: center; gap: 8px; margin-bottom: 32px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ash);
}
.article-breadcrumb a:hover { color: var(--royal-glow); }
.article-breadcrumb span { color: var(--ash-d); }
.article-topic-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px;
  background: rgba(47,95,237,0.1); border: 1px solid var(--royal); border-radius: 100px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--royal-glow); margin-bottom: 24px;
}
.article-topic-tag::before { content: ''; width: 6px; height: 6px; background: var(--royal-glow); border-radius: 50%; }
.article-title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.25rem, 5vw, 4.5rem); line-height: 1; letter-spacing: -0.03em;
  color: var(--paper); margin-bottom: 32px; max-width: 1000px;
}
.article-title em { font-style: italic; color: var(--royal-glow); }
.article-deck {
  font-family: var(--font-display); font-weight: 300; font-size: clamp(1.125rem, 1.8vw, 1.5rem);
  line-height: 1.4; color: var(--ash); max-width: 760px; margin-bottom: 40px;
}
.article-byline {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  padding-top: 32px; border-top: 1px solid var(--line-d-2);
}
.article-author { display: flex; align-items: center; gap: 12px; }
.article-author-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--royal);
  display: flex; align-items: center; justify-content: center; color: var(--paper);
  font-family: var(--font-display); font-weight: 500; font-size: 15px;
}
.article-author-name { font-size: 14px; font-weight: 600; color: var(--paper); }
.article-author-role { font-family: var(--font-mono); font-size: 11px; color: var(--ash); letter-spacing: 0.05em; }
.article-meta-row { display: flex; gap: 12px 24px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 11px; color: var(--ash); letter-spacing: 0.1em; text-transform: uppercase; }
.article-meta-row strong { color: var(--paper); }

.article-feature-image { width: 100%; aspect-ratio: 21/9; overflow: hidden; background: var(--ink-3); margin-bottom: 4rem; position: relative; border-radius: 4px; }
@media (max-width: 700px) { .article-feature-image { aspect-ratio: 16/10; } }

.article-body { padding: 0 0 6rem; background: var(--ink); }
.article-body-inner { max-width: var(--max-read); margin: 0 auto; padding: 0 32px; }
@media (max-width: 768px) { .article-body-inner { padding: 0 20px; } }
.article-body p { font-size: 1.125rem; line-height: 1.75; color: var(--paper); margin-bottom: 24px; }
.article-body .lede-p::first-letter {
  font-family: var(--font-display); font-size: 5.5rem; font-weight: 400;
  float: left; line-height: 0.85; padding: 8px 16px 0 0; color: var(--royal-glow);
}
.article-body h2 {
  font-family: var(--font-display); font-weight: 400; font-size: 1.875rem;
  letter-spacing: -0.02em; color: var(--paper); margin: 48px 0 20px;
}
.article-body h3 {
  font-family: var(--font-display); font-weight: 500; font-size: 1.375rem;
  letter-spacing: -0.015em; color: var(--paper); margin: 32px 0 16px;
}
.article-body blockquote {
  margin: 40px 0; padding: 32px 40px; border-left: 2px solid var(--royal);
  background: var(--ink-2); border-radius: 0 6px 6px 0;
}
.article-body blockquote p {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 300; font-style: italic;
  line-height: 1.4; color: var(--paper); margin: 0;
}
.article-body blockquote cite {
  display: block; margin-top: 16px; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--royal-glow); font-style: normal;
}
.article-body ul, .article-body ol { margin: 24px 0 24px 24px; }
.article-body li { font-size: 1.0625rem; line-height: 1.7; color: var(--paper); margin-bottom: 8px; }
.article-body strong { color: var(--paper); font-weight: 600; }
.article-body em { color: var(--royal-glow); font-style: italic; }
.article-body a { color: var(--royal-glow); border-bottom: 1px solid var(--royal); transition: background 0.2s; word-break: break-word; }
.article-body a:hover { background: rgba(47,95,237,0.1); }
.sources-box { margin: 48px 0 0; padding: 28px 32px; background: var(--ink-2); border: 1px solid var(--line-d-2); border-radius: 6px; }
.sources-box h3 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--royal-glow); margin: 0 0 14px; font-weight: 500; }
.sources-box ol { margin: 0 0 0 20px; }
.sources-box li { font-size: 0.95rem; color: var(--ash); }
.discuss-box { margin: 24px 0 0; padding: 28px 32px; border-radius: 6px; background: linear-gradient(120deg, var(--royal-deep), var(--royal)); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.discuss-box p { margin: 0; font-family: var(--font-display); font-size: 1.25rem; }
.discuss-box .mono { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--royal-pale); display: block; margin-bottom: 6px; }
.discuss-box a.btn { border: 0; background: var(--paper); color: var(--royal); }
.article-note { margin-top: 24px; font-family: var(--font-mono); font-size: 11px; color: var(--ash-d); letter-spacing: 0.04em; line-height: 1.7; }
.article-note a { color: var(--ash); border-bottom: 1px solid var(--line-d); }

.article-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 48px 0; padding-top: 32px; border-top: 1px solid var(--line-d-2); }
.article-tag { padding: 6px 12px; border: 1px solid var(--line-d); border-radius: 100px; font-size: 11px; color: var(--ash); font-family: var(--font-mono); letter-spacing: 0.05em; }

.article-share { display: flex; align-items: center; gap: 16px; margin: 32px 0 0; padding: 24px 0; border-top: 1px solid var(--line-d-2); border-bottom: 1px solid var(--line-d-2); flex-wrap: wrap; }
.article-share-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ash); }
.article-share-buttons { display: flex; gap: 8px; }
.article-share-btn { width: 36px; height: 36px; border: 1px solid var(--line-d); border-radius: 4px; display: flex; align-items: center; justify-content: center; color: var(--ash); transition: all 0.2s; }
.article-share-btn:hover { color: var(--paper); border-color: var(--royal); background: var(--royal); }
.article-share-btn svg { width: 14px; height: 14px; }
.article-share-btn.wide { width: auto; padding: 0 14px; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.article-share-btn.wide svg { width: 16px; height: 16px; }
.footer-social[hidden] { display: none; }
.article-body .article-share-btn { border-bottom: 1px solid var(--line-d); }

.article-related { padding: 6rem 0; background: var(--ink-2); border-top: 1px solid var(--line-d-2); }

/* ---------- Category Page ---------- */
.category-hero { padding: 6rem 0 4rem; background: var(--ink); position: relative; overflow: hidden; border-bottom: 1px solid var(--line-d-2); }
.category-icon-large {
  width: 96px; height: 96px; color: var(--royal-glow); margin-bottom: 32px;
}
.category-icon-large svg { width: 100%; height: 100%; }
.category-grid { padding: 5rem 0 8rem; background: var(--ink); }

/* ---------- Subscribe Page ---------- */
.subscribe-hero { padding: 8rem 0 6rem; background: var(--ink); position: relative; overflow: hidden; }
.subscribe-hero-glow {
  position: absolute; width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47,95,237,0.2) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%); filter: blur(80px);
}
.subscribe-hero-inner { position: relative; z-index: 2; text-align: center; max-width: 760px; margin: 0 auto; padding: 0 32px; }
.subscribe-hero-inner .page-hero-sub { margin: 0 auto; }
.subscribe-form-large {
  display: flex; gap: 8px; max-width: 560px; margin: 40px auto 24px;
  background: var(--ink-2); border: 1px solid var(--line-d); border-radius: 6px; padding: 8px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.subscribe-form-large:focus-within { border-color: var(--royal); box-shadow: 0 0 0 4px rgba(47,95,237,0.15); }
.subscribe-form-large input { flex: 1; min-width: 0; background: transparent; border: none; outline: none; color: var(--paper); font-size: 16px; padding: 14px 18px; }
.subscribe-form-large input::placeholder { color: var(--ash-d); }
.subscribe-form-large button { background: var(--royal); color: var(--paper); padding: 14px 28px; border-radius: 4px; font-size: 14px; font-weight: 600; transition: background 0.2s; white-space: nowrap; }
.subscribe-form-large button:hover { background: var(--royal-bright); }

.subscribe-info { padding: 6rem 0; background: var(--paper); color: var(--ink); }
.subscribe-info .section-num { color: var(--royal); }
.subscribe-info .section-title em { color: var(--royal); }
.subscribe-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .subscribe-info-grid { grid-template-columns: 1fr; } }
.subscribe-info-text p { font-size: 1.0625rem; line-height: 1.7; color: var(--ash-2); margin-bottom: 24px; }
.subscribe-info-text p:first-child::first-letter {
  font-family: var(--font-display); font-size: 4rem; font-weight: 400;
  float: left; line-height: 0.85; padding: 8px 12px 0 0; color: var(--royal);
}
.subscribe-info-text strong { color: var(--ink); }

.subscribe-tiers { padding: 6rem 0; background: var(--ink); }
.tiers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 3rem; }
@media (max-width: 900px) { .tiers-grid { grid-template-columns: 1fr; } }
.tier {
  padding: 40px 32px; background: var(--ink-2); border: 1px solid var(--line-d-2); border-radius: 8px;
  position: relative; transition: transform 0.4s, box-shadow 0.4s;
}
.tier:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.tier-featured { background: var(--royal); color: var(--paper); border-color: var(--royal-bright); }
.tier-featured .tier-name, .tier-featured .tier-price, .tier-featured li { color: var(--paper); }
.tier-featured .tier-desc { color: var(--royal-pale); }
.tier-badge {
  position: absolute; top: -12px; left: 32px; padding: 4px 12px; background: var(--paper);
  color: var(--royal); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; border-radius: 100px;
}
.tier-name { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--royal-glow); margin-bottom: 16px; }
.tier-price { font-family: var(--font-display); font-size: 3rem; font-weight: 300; color: var(--paper); margin-bottom: 8px; line-height: 1; }
.tier-price small { font-size: 1rem; color: var(--ash); font-family: var(--font-sans); }
.tier-featured .tier-price small { color: var(--royal-pale); }
.tier-desc { font-size: 0.9375rem; color: var(--ash); margin-bottom: 32px; line-height: 1.5; }
.tier-features { list-style: none; margin-bottom: 32px; }
.tier-features li { font-size: 0.9375rem; padding: 10px 0; border-bottom: 1px solid var(--line-d-2); display: flex; align-items: flex-start; gap: 12px; color: var(--paper); }
.tier-featured .tier-features li { border-color: rgba(255,255,255,0.2); }
.tier-features li::before { content: '✓'; color: var(--royal-glow); font-weight: 700; }
.tier-featured .tier-features li::before { color: var(--paper); }
.tier-cta { display: block; text-align: center; padding: 14px; border: 1px solid var(--paper); border-radius: 4px; font-size: 13px; font-weight: 600; transition: all 0.2s; }
.tier-cta:hover { background: var(--paper); color: var(--ink); }
.tier-featured .tier-cta { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tier-featured .tier-cta:hover { background: var(--ink-2); border-color: var(--ink-2); }

.subscribe-faq { padding: 6rem 0; background: var(--paper); color: var(--ink); }
.subscribe-faq .section-num { color: var(--royal); }
.subscribe-faq .section-title { color: var(--ink); }
.subscribe-faq .section-title em { color: var(--royal); }
.faq-list { max-width: 800px; margin: 3rem auto 0; }
.faq-item { border-bottom: 1px solid var(--line-l); }
.faq-question {
  width: 100%; text-align: left; padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-display); font-size: 1.125rem; font-weight: 500; color: var(--ink);
  transition: color 0.2s;
}
.faq-question:hover { color: var(--royal); }
.faq-question::after { content: '+'; font-family: var(--font-mono); font-size: 20px; color: var(--royal); transition: transform 0.3s; }
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease-out); }
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner { padding: 0 0 24px; font-size: 1rem; color: var(--ash-2); line-height: 1.6; }
.faq-answer-inner a { color: var(--royal); border-bottom: 1px solid var(--royal); }

/* ---------- Legal Pages ---------- */
.legal-layout { padding: 5rem 0 8rem; background: var(--paper); color: var(--ink); }
.legal-grid { display: grid; grid-template-columns: 240px 1fr; gap: 64px; }
@media (max-width: 900px) { .legal-grid { grid-template-columns: 1fr; } .legal-toc { position: static !important; } }
.legal-toc { position: sticky; top: calc(var(--head-h) + 32px); align-self: start; }
.legal-toc h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--royal); margin-bottom: 20px; font-weight: 500; }
.legal-toc ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 32px;}
.legal-toc a { font-size: 0.875rem; color: var(--ash-2); transition: color 0.2s, padding-left 0.2s; display: block; }
.legal-toc a:hover, .legal-toc a.active { color: var(--royal); padding-left: 8px; }
.legal-content { max-width: 760px; min-width: 0; }
.legal-content h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.75rem; color: var(--ink); margin: 48px 0 16px; letter-spacing: -0.02em; scroll-margin-top: calc(var(--head-h) + 24px); }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; color: var(--ink); margin: 32px 0 12px; }
.legal-content p { font-size: 1rem; line-height: 1.7; color: var(--ash-2); margin-bottom: 16px; }
.legal-content ul, .legal-content ol { margin: 16px 0 16px 24px; }
.legal-content li { font-size: 1rem; line-height: 1.7; color: var(--ash-2); margin-bottom: 8px; }
.legal-content strong { color: var(--ink); }
.legal-content a { color: var(--royal); border-bottom: 1px solid var(--royal); }
.legal-content address { font-style: normal; font-size: 1rem; line-height: 1.7; color: var(--ink); margin: 8px 0 16px; padding: 16px 20px; background: var(--paper-2); border-left: 2px solid var(--royal); }
.legal-table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 0.95rem; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line-l); color: var(--ash-2); }
.legal-table th { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--royal); font-weight: 500; }
.legal-table td:first-child { color: var(--ink); font-weight: 600; }
.table-scroll { overflow-x: auto; }
.legal-updated { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ash-2); margin-bottom: 32px; padding-bottom: 16px; border-bottom: 1px solid var(--line-l); }

/* ---------- Contact Page ---------- */
.contact-grid { padding: 6rem 0; background: var(--ink); }
.contact-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; }
.contact-layout > * { min-width: 0; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .contact-info-block { padding: 20px; } .contact-info-value { font-size: 1.05rem; overflow-wrap: anywhere; } }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 540px) { .contact-form-row { grid-template-columns: 1fr; } }
.contact-field { display: flex; flex-direction: column; gap: 8px; }
.contact-field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ash); }
.contact-field input, .contact-field textarea, .contact-field select {
  background: var(--ink-2); border: 1px solid var(--line-d); border-radius: 4px; padding: 14px 16px;
  color: var(--paper); font-size: 15px; font-family: inherit; outline: none; transition: border-color 0.2s, box-shadow 0.2s; min-width: 0;
}
.contact-field input:focus, .contact-field textarea:focus, .contact-field select:focus { border-color: var(--royal); box-shadow: 0 0 0 3px rgba(47,95,237,0.15); }
.contact-field textarea { min-height: 140px; resize: vertical; }
.contact-submit { align-self: flex-start; margin-top: 16px; }
.contact-consent { font-family: var(--font-mono); font-size: 11px; color: var(--ash-d); line-height: 1.7; letter-spacing: 0.03em; }
.contact-consent a { color: var(--ash); border-bottom: 1px solid var(--line-d); }
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-info-block { padding: 28px; background: var(--ink-2); border: 1px solid var(--line-d-2); border-radius: 6px; }
.contact-info-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--royal-glow); margin-bottom: 12px; }
.contact-info-value { font-family: var(--font-display); font-size: 1.25rem; color: var(--paper); margin-bottom: 8px; word-break: break-word; }
.contact-info-detail { font-size: 0.875rem; color: var(--ash); line-height: 1.6; }

/* ---------- Reveal Animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
[data-reveal].is-revealed { opacity: 1; transform: translateY(0); }
main, .page, footer { overflow-x: clip; }
[data-reveal-left] { opacity: 0; transform: translateX(-40px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
[data-reveal-left].is-revealed { opacity: 1; transform: translateX(0); }
[data-reveal-right] { opacity: 0; transform: translateX(40px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
[data-reveal-right].is-revealed { opacity: 1; transform: translateX(0); }
[data-reveal-scale] { opacity: 0; transform: scale(0.95); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
[data-reveal-scale].is-revealed { opacity: 1; transform: scale(1); }
[data-stagger] > * { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
[data-stagger].is-revealed > * { opacity: 1; transform: translateY(0); }

/* ---------- Misc ---------- */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px; width: 48px; height: 48px;
  background: var(--royal); color: var(--paper); border-radius: 50%; z-index: 80;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all 0.3s var(--ease-out);
  box-shadow: 0 8px 24px -4px rgba(47,95,237,0.5);
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--royal-bright); transform: translateY(-2px); }

.toast {
  position: fixed; bottom: 32px; left: 50%; transform: translate(-50%, 100px);
  background: var(--ink-2); border: 1px solid var(--royal); color: var(--paper);
  padding: 16px 24px; border-radius: 6px; z-index: 9500; max-width: calc(100% - 32px);
  font-size: 14px; display: flex; align-items: center; gap: 12px;
  opacity: 0; transition: all 0.4s var(--ease-spring);
  box-shadow: 0 20px 40px -10px rgba(5,7,20,0.6);
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast::before { content: 'i'; font-family: var(--font-mono); color: var(--royal-glow); font-weight: 700; border: 1px solid var(--royal-glow); border-radius: 50%; width: 18px; height: 18px; display: grid; place-items: center; font-size: 11px; flex-shrink: 0; }

/* ---------- Motion off: the Pause motion button ---------- */
html.still *, html.still *::before, html.still *::after { animation-play-state: paused !important; }
html.still .orbit { animation: none !important; stroke-dashoffset: 0 !important; }
html.still .orbit-dot { animation: none !important; opacity: 0.7 !important; }
html.still .hero-title-line span, html.still .hero-sub, html.still .hero-cta-row { animation: none !important; opacity: 1 !important; transform: none !important; }
html.still .ticker-track { animation: none !important; }
html.still .page.is-active { animation: none !important; opacity: 1 !important; }
html.still [data-reveal], html.still [data-reveal-left], html.still [data-reveal-right], html.still [data-reveal-scale], html.still [data-stagger] > * { opacity: 1 !important; transform: none !important; }
html.still .hero-ticker { overflow-x: auto; }
html.still .cursor-dot, html.still .cursor-ring { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  [data-reveal], [data-reveal-left], [data-reveal-right], [data-reveal-scale], [data-stagger] > * { opacity: 1; transform: none; }
  .ticker-track { animation: none !important; }
  .hero-ticker { overflow-x: auto; }
  .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- Photos and captions ---------- */
.art { object-fit: cover; }
img.art { display: block; background: var(--ink-3); }
.article-figure { margin: 0 0 4rem; }
.article-figure .article-feature-image { margin-bottom: 14px; }
.article-figcaption { font-size: 0.875rem; color: var(--ash); line-height: 1.55; max-width: 980px; }
.article-figcaption .credit { display: block; margin-top: 4px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--ash-d); }
.article-figcaption a { color: inherit; border-bottom: 1px solid var(--line-d); }
.article-figcaption a:hover { color: var(--paper); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: 0.45; }
.hero.has-bg .hero-orbits { opacity: 0.5; }
.hero.has-bg::before { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(5,7,20,0.55) 0%, rgba(5,7,20,0.75) 60%, rgba(5,7,20,0.92) 100%); }
.page-image { margin-top: 48px; border-radius: 6px; overflow: hidden; max-width: 1100px; aspect-ratio: 21 / 9; background: var(--ink-3); }
.page-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.status-item.upper { text-transform: uppercase; }
.contact-status { font-size: 0.9rem; margin-top: 14px; color: var(--ash); min-height: 1.4em; }
.contact-status.ok { color: var(--royal-glow); }
.lower { text-transform: lowercase; }
@media (min-width: 901px) { .featured-card-image { aspect-ratio: auto; min-height: 440px; } }


/* ============================================================
   News layout: topic bar, story tiles, lead story, top stories,
   archive grid, share buttons
   ============================================================ */

/* ---------- Topic bar (second row of the navigation) ---------- */
.topic-bar { height: var(--topics-h); border-top: 1px solid var(--line-d-2); flex-shrink: 0; }
.topic-bar-inner {
  height: 100%; max-width: var(--max-wide); margin: 0 auto; padding: 0 32px;
  display: flex; align-items: stretch; overflow-x: auto; scrollbar-width: none;
}
/* Centered when the links fit; auto margins (not justify-content) keep the first link reachable when they scroll on small screens. */
.topic-bar-inner > .topic-link:first-child { margin-left: auto; }
.topic-bar-inner > .topic-link:last-child { margin-right: auto; }
.topic-bar-inner::-webkit-scrollbar { display: none; }
.topic-link {
  flex-shrink: 0; display: flex; align-items: center; font-size: 13.5px; color: var(--ash); padding: 0 18px; white-space: nowrap; position: relative;
  transition: color 0.2s;
}
/* Links fill the bar's full height (easy to tap); the divider stays a short line. */
.topic-link + .topic-link::before { content: ''; position: absolute; left: 0; top: 50%; height: 16px; margin-top: -8px; width: 1px; background: var(--line-d); }
.topic-link:hover { color: var(--paper); }
.topic-link.active { color: var(--paper); }
.topic-link.active::after { content: ''; position: absolute; left: 18px; right: 18px; bottom: 6px; height: 2px; background: var(--gold); border-radius: 2px; }
@media (max-width: 1360px) { .topic-link { font-size: 13px; padding: 0 14px; } .topic-link.active::after { left: 14px; right: 14px; } }
@media (max-width: 1024px) {
  .topic-bar-inner { padding: 0 20px; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
  .topic-link { font-size: 13px; padding: 0 14px; }
  .topic-link.active::after { left: 14px; right: 14px; }
}
@media (max-width: 768px) { :root { --topics-h: 42px; } }

/* ---------- Story tile ---------- */
.tile-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; margin-top: 2.5rem; }
.tile-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .tile-grid, .tile-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tile { display: flex; flex-direction: column; gap: 14px; cursor: pointer; min-width: 0; }
.tile-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; background: var(--ink-3); box-shadow: 0 0 0 1px var(--line-d-2); }
.tile-img .art { width: 100%; height: 100%; transition: transform 0.6s var(--ease-out); }
.tile:hover .tile-img .art, .tile:focus-visible .tile-img .art { transform: scale(1.05); }
.tile-badge {
  position: absolute; left: 10px; bottom: 10px; z-index: 2; padding: 4px 9px; border-radius: 3px;
  background: var(--gold); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.tile-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tile-topic { font-size: 13px; font-weight: 600; color: var(--royal-glow); }
.tile-title {
  font-family: var(--font-sans); font-weight: 700; font-size: 1.0625rem; line-height: 1.3; letter-spacing: -0.01em;
  color: var(--paper); transition: color 0.2s;
}
.tile:hover .tile-title, .tile:focus-visible .tile-title { color: var(--royal-pale); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.tile-meta { display: flex; gap: 6px; flex-wrap: wrap; font-size: 12.5px; color: var(--ash); }
.tile-meta time { color: var(--gold); }
@media (max-width: 640px) {
  .tile-grid, .tile-grid.three { grid-template-columns: 1fr; gap: 0; margin-top: 1.5rem; }
  .tile { flex-direction: row; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-d-2); }
  .tile-img { width: 120px; flex-shrink: 0; aspect-ratio: 4 / 3; border-radius: 4px; }
  .tile-badge { left: 6px; bottom: 6px; padding: 2px 6px; font-size: 9.5px; }
  .tile-topic { font-size: 12px; }
  .tile-title { font-size: 0.98rem; }
  .tile-meta { font-size: 12px; }
}

/* ---------- Lead story ---------- */
.lead-card {
  --lc-bg: var(--paper-2); --lc-fg: var(--ink); --lc-mut: var(--ash-2); --lc-acc: var(--royal); --lc-line: var(--line-l);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); background: var(--lc-bg);
  border-radius: 8px; overflow: hidden; cursor: pointer; box-shadow: 0 0 0 1px var(--lc-line);
  transition: box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.lead-card.dark { --lc-bg: var(--ink-2); --lc-fg: var(--paper); --lc-mut: var(--ash); --lc-acc: var(--royal-glow); --lc-line: var(--line-d-2); }
.lead-card:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--lc-acc), var(--shadow-card); }
.lead-card-text { padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; gap: 14px; min-width: 0; }
.lead-card-badge {
  align-self: flex-start; padding: 5px 10px; border-radius: 3px; background: var(--gold); color: var(--ink);
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.lead-card-topic { font-size: 14px; font-weight: 600; color: var(--lc-acc); }
.lead-card-title {
  font-family: var(--font-sans); font-weight: 700; font-size: clamp(1.45rem, 2vw, 2rem); line-height: 1.15;
  letter-spacing: -0.02em; color: var(--lc-fg);
}
.lead-card:hover .lead-card-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.lead-card-excerpt { font-size: 1rem; line-height: 1.55; color: var(--lc-mut); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.lead-card-meta { display: flex; gap: 6px; flex-wrap: wrap; font-size: 13px; color: var(--lc-mut); }
.lead-card-meta time { color: var(--gold); font-weight: 600; }
.lead-card-img { position: relative; min-height: 380px; background: var(--ink-3); }
.lead-card-img .art { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 0.8s var(--ease-out); }
.lead-card:hover .lead-card-img .art { transform: scale(1.04); }
.img-credit {
  position: absolute; right: 10px; bottom: 8px; z-index: 2; max-width: 80%; font-size: 11px; color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.85); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 900px) {
  .lead-card { grid-template-columns: 1fr; }
  .lead-card-img { order: -1; min-height: 0; aspect-ratio: 16 / 9; }
  .lead-card-text { padding: 24px 22px 28px; }
}

/* ---------- Home: lead + Top Stories ---------- */
.lead-layout { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 24px; margin-top: 3rem; align-items: stretch; }
.lead-layout #featuredSlot, .lead-layout .lead-card { height: 100%; }
@media (max-width: 1100px) { .lead-layout { grid-template-columns: 1fr; } }
.top-stories { background: var(--paper-2); border-radius: 8px; overflow: hidden; box-shadow: 0 0 0 1px var(--line-l); }
.top-stories-title { background: #0A1628; color: var(--paper); font-family: var(--font-sans); font-weight: 700; font-size: 1.2rem; padding: 16px 20px; letter-spacing: -0.01em; border-bottom: 2px solid var(--gold); }
.top-stories-list { list-style: none; margin: 0; padding: 4px 20px; }
.top-stories-list li + li { border-top: 1px solid var(--line-l); }
.top-story { display: flex; gap: 14px; align-items: center; padding: 14px 0; }
.top-story-img { width: 84px; flex-shrink: 0; aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; background: var(--ink-3); position: relative; }
.top-story-img .art { width: 100%; height: 100%; transition: transform 0.5s var(--ease-out); }
.top-story:hover .top-story-img .art { transform: scale(1.06); }
.top-story-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.top-story-title { font-weight: 700; font-size: 0.95rem; line-height: 1.3; color: var(--ink); }
.top-story:hover .top-story-title { color: var(--royal); text-decoration: underline; text-underline-offset: 3px; }
.top-story-meta { font-size: 12px; color: var(--ash-2); }
.featured { padding: 6rem 0; }
.latest { padding: 6rem 0; }

/* ---------- Frontier cells: latest story ---------- */
.frontier-latest { display: flex; gap: 12px; align-items: center; padding-top: 16px; border-top: 1px solid var(--line-d-2); }
.frontier-latest-img { position: relative; width: 64px; flex-shrink: 0; aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; background: var(--ink-3); }
.frontier-latest-img .art { width: 100%; height: 100%; }
.frontier-latest-text { font-size: 13px; line-height: 1.35; color: var(--paper); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.frontier-latest-label { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
.frontier-latest:hover .frontier-latest-text { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Archive grid ---------- */
.archive-count { font-size: 13px; color: var(--ash); margin-bottom: 20px; }
.archive-group { margin-top: 3.5rem; }
.archive-group-title {
  font-family: var(--font-sans); font-weight: 700; font-size: 1.35rem; color: var(--paper); letter-spacing: -0.01em;
  padding-bottom: 12px; border-bottom: 2px solid var(--gold); display: inline-block;
}
.archive-group .tile-grid { margin-top: 1.75rem; }
.archive-empty { padding: 4rem 0; text-align: center; color: var(--ash); font-size: 15px; }
.category-grid .tile-grid { margin-top: 3rem; }

/* ---------- Share buttons ---------- */
.share-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.share-row.compact { margin-left: auto; }
.share-buttons { display: flex; gap: 10px; }
.share-btn {
  width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink-3); color: var(--paper); border: 1px solid var(--line-d); cursor: pointer;
  transition: transform 0.25s var(--ease-out), background 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.share-btn svg { width: 17px; height: 17px; transition: transform 0.25s var(--ease-out); }
.share-row.compact .share-btn { width: 34px; height: 34px; }
.share-row.compact .share-btn svg { width: 15px; height: 15px; }
/* Same motion on all four: lift, then the icon pops. Brand colors fill in on hover. */
.share-btn:hover, .share-btn:focus-visible { transform: translateY(-3px); border-color: transparent; color: #fff; }
.share-btn:hover svg, .share-btn:focus-visible svg { transform: scale(1.12); }
.share-btn.share-x:hover, .share-btn.share-x:focus-visible { background: #000; box-shadow: -2px -2px 0 rgba(255,255,255,0.55), 2px 2px 0 #000, 0 6px 16px rgba(0,0,0,0.45); }
.share-btn.share-reddit:hover, .share-btn.share-reddit:focus-visible { background: #FF4500; box-shadow: -2px -2px 0 #FF8A50, 2px 2px 0 #C23600, 0 6px 16px rgba(255,69,0,0.35); }
.share-btn.share-instagram:hover, .share-btn.share-instagram:focus-visible { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); box-shadow: 0 6px 16px rgba(214,36,159,0.35); }
.share-btn.share-tiktok:hover, .share-btn.share-tiktok:focus-visible { background: #000; box-shadow: -2px -2px 0 #25F4EE, 2px 2px 0 #FE2C55, 0 6px 16px rgba(0,0,0,0.45); }
@media (prefers-reduced-motion: reduce) { .share-btn, .share-btn svg { transition: none; } .share-btn:hover, .share-btn:hover svg { transform: none; } }
.article-body .share-btn { border-bottom: 1px solid var(--line-d); color: var(--paper); text-decoration: none; }
.article-body .share-btn:hover, .article-body .share-btn:focus-visible { color: #fff; border-bottom-color: transparent; }
.article-share .share-row { width: 100%; }
@media (max-width: 640px) { .share-row.compact { margin-left: 0; width: 100%; } }

/* ============================================================
   PHONE POLISH: even gutters, equal-width buttons, balanced grids,
   comfortable tap targets, and no zoom-on-tap form fields.
   ============================================================ */
.article-body .article-note { font-family: var(--font-mono); font-size: 11.5px; line-height: 1.7; color: var(--ash-d); letter-spacing: 0.04em; margin: 24px 0 0; }
@media (max-width: 768px) {
  /* iOS zooms into any form field under 16px; keep them at 16px. */
  .archive-search input, .contact-field input, .contact-field textarea, .contact-field select, .newsletter-form input { font-size: 16px; }
  /* Archive filters: one swipeable row of chips, full-width search. */
  .archive-filters { padding: 1.25rem 0; }
  .archive-filters-inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .archive-filter-label { display: none; }
  .archive-chips {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
    margin: 0 calc(-1 * var(--gutter, 20px)); padding: 2px var(--gutter, 20px);
  }
  .archive-chips::-webkit-scrollbar { display: none; }
  .archive-chip { flex-shrink: 0; scroll-snap-align: start; padding: 10px 16px; }
  .archive-search { width: 100%; padding: 12px 16px; }
  .archive-search input { width: 100%; flex: 1; }
  .pause-btn { padding: 6px 12px; }
}
@media (max-width: 640px) {
  /* Hero buttons: same width, stacked, centered. */
  .hero-cta-row { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; margin-left: auto; margin-right: auto; gap: 12px; }
  .hero-cta-row .btn { justify-content: center; }
  /* Stat rows: equal columns instead of a ragged wrap. */
  .frontiers-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .frontiers-stat-num { font-size: 2.1rem; }
  .page-hero-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .page-hero-meta:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page-hero-stat-label { letter-spacing: 0.1em; line-height: 1.5; }
  /* Contact: email addresses fit on one line, full-width send button. */
  .contact-info-value { font-size: min(1.25rem, 4.3vw); overflow-wrap: anywhere; word-break: normal; }
  .contact-submit { align-self: stretch; justify-content: center; }
  /* Footer: centered brand, two even link columns, wordmark that fits the screen. */
  .footer { padding-top: 3.5rem; }
  .footer-mega { font-size: 15.5vw; margin-bottom: 2.5rem; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; }
  .footer-brand { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; text-align: center; padding-bottom: 32px; border-bottom: 1px solid var(--line-d-2); }
  .footer-brand-tagline { margin-left: auto; margin-right: auto; }
  .footer-brand-socials { justify-content: center; }
  .footer-social { width: 44px; height: 44px; }
  .footer-col ul { gap: 4px; }
  .footer-col a { display: inline-block; padding: 6px 0; }
  .footer-col a:hover { padding-left: 0; }
  .footer-bottom { flex-direction: column; justify-content: center; text-align: center; }
  .footer-legal { justify-content: center; }
  /* Small text links get a taller tap area without changing how they look. */
  .footer-legal { gap: 4px 18px; }
  .footer-legal a { display: inline-block; padding: 10px 0; }
  /* Community: the numbered points sit under a centered heading, so center them too. */
  .newsletter-perks .perk { text-align: center; }
  /* Story page: compact share row lines up with the byline. */
  .share-row.compact .share-buttons { gap: 12px; }
}

/* ---------- Frontier scenes (category pages) ---------- */
.cat-scene {
  position: absolute; z-index: 1; pointer-events: none; top: 50%; transform: translateY(-50%);
  right: max(24px, calc((100vw - var(--max)) / 2 + 24px)); width: min(40vw, 540px); aspect-ratio: 1;
  opacity: 0; animation: scIn 1.2s var(--ease-out) 0.15s forwards;
}
.cat-scene > svg { width: 100%; height: 100%; overflow: visible; display: block; }
.category-hero .page-hero-content { z-index: 2; }
.category-hero .page-hero-title, .category-hero .page-hero-sub, .category-hero .page-hero-meta,
.page-hero.has-scene .page-hero-title, .page-hero.has-scene .page-hero-sub, .page-hero.has-scene .page-hero-meta { max-width: min(900px, 56vw); }
@keyframes scIn { from { opacity: 0; transform: translateY(-50%) scale(0.94); } to { opacity: 1; transform: translateY(-50%) scale(1); } }
.sc-flow { animation: scFlow linear infinite; }
@keyframes scFlow { to { stroke-dashoffset: -100; } }
.sc-spin { transform-box: view-box; transform-origin: 200px 200px; animation: scSpin var(--d, 30s) linear infinite; }
.sc-spin.rev { animation-direction: reverse; }
@keyframes scSpin { to { transform: rotate(360deg); } }
.sc-pulse { transform-box: fill-box; transform-origin: center; animation: scPulse 3.2s ease-in-out infinite; }
@keyframes scPulse { 0%, 100% { transform: scale(1); opacity: 0.85; } 50% { transform: scale(1.14); opacity: 1; } }
.sc-glowpulse { animation: scGlowPulse 3.6s ease-in-out infinite; }
@keyframes scGlowPulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
.sc-twinkle { animation: scTwinkle 3s ease-in-out infinite; }
@keyframes scTwinkle { 0%, 100% { opacity: 0.15; } 50% { opacity: 1; } }
.sc-ripple { transform-box: view-box; transform-origin: 200px 200px; animation: scRipple 6s ease-out infinite; }
@keyframes scRipple { 0% { transform: scale(0.15); opacity: 0; } 15% { opacity: 0.7; } 100% { transform: scale(1); opacity: 0; } }
.sc-rung { transform-box: fill-box; transform-origin: center; animation: scRung 4s ease-in-out infinite; }
@keyframes scRung { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(-1); } }
.sc-grow { transform-box: fill-box; transform-origin: center bottom; animation: scGrow 4.2s ease-in-out infinite; }
@keyframes scGrow { 0%, 100% { transform: scaleY(0.45); } 50% { transform: scaleY(1); } }
.sc-draw { animation: scDraw 6s ease-in-out infinite; }
@keyframes scDraw { 0% { stroke-dashoffset: 100; } 45%, 72% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -100; } }
.sc-float { animation: scFloat 8s linear infinite; }
@keyframes scFloat { 0% { transform: translateY(30px); opacity: 0; } 20% { opacity: 1; } 85% { opacity: 0.8; } 100% { transform: translateY(-270px); opacity: 0; } }
.sc-blink { animation: scBlink 3s ease-in-out infinite; }
@keyframes scBlink { 0%, 100% { fill: #131a36; } 50% { fill: #2f5fed; } }
.sc-confirm { animation: scConfirm 3s ease-in-out infinite; }
@keyframes scConfirm { 0%, 60%, 100% { fill: #131a36; } 75% { fill: #C9A84C; } }
.sc-drift { animation: scDrift 10s linear infinite; }
@keyframes scDrift { to { transform: translateX(-110px); } }
.sc-spinplanet { animation: scSpinPlanet 9s linear infinite; }
@keyframes scSpinPlanet { to { transform: translateX(-110px); } }
.sc-ring { fill: none; animation: scRing linear infinite; }
@keyframes scRing { to { stroke-dashoffset: -20; } }
@media (prefers-reduced-motion: reduce) { .cat-scene, .cat-scene * { animation: none !important; } .cat-scene { opacity: 1; } }
@media (max-width: 900px) {
  .cat-scene { position: relative; top: auto; right: auto; transform: none; width: min(320px, 80vw); margin: -1rem auto 1.5rem; animation-name: scInStatic; }
  @keyframes scInStatic { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: scale(1); } }
  .category-hero .category-icon-large { display: none; }
  .category-hero .page-hero-title, .category-hero .page-hero-sub, .category-hero .page-hero-meta,
  .page-hero.has-scene .page-hero-title, .page-hero.has-scene .page-hero-sub, .page-hero.has-scene .page-hero-meta { max-width: none; }

}
html.still .cat-scene { animation: none !important; opacity: 1; }

/* Page heroes vary in height, so their scene fits the hero instead of a fixed width. */
.page-hero.has-scene { min-height: 440px; }
.page-hero .page-scene { width: auto; height: min(520px, calc(100% - 32px)); max-width: 40vw; }
.sc-scroll { animation: scScroll linear infinite; }
@keyframes scScroll { to { transform: translateX(var(--x, -80px)); } }
.sc-bob { animation: scBob 4s ease-in-out infinite; }
@keyframes scBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.sc-counter { transform-box: fill-box; transform-origin: center; animation: scSpin 70s linear infinite reverse; }
.sc-pop { transform-box: fill-box; transform-origin: center bottom; animation: scPop 6s ease-in-out infinite; }
@keyframes scPop { 0%, 100% { transform: scale(0.2); opacity: 0; } 10%, 45% { transform: scale(1); opacity: 1; } 55% { transform: scale(0.2); opacity: 0; } }
.sc-typing { animation: scTyping 1.2s ease-in-out infinite; }
@keyframes scTyping { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-5px); opacity: 1; } }
.sc-wave { animation: scWave 2.4s ease-out infinite; }
@keyframes scWave { 0% { opacity: 0; transform: translateY(8px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(-10px); } }
.sc-letter { animation: scLetter 5s ease-in-out infinite; }
@keyframes scLetter { 0%, 100% { transform: translateY(26px); } 40%, 70% { transform: translateY(-14px); } }
.sc-tilt { transform-box: view-box; transform-origin: 200px 152px; animation: scTilt 5s ease-in-out infinite; }
@keyframes scTilt { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
.sc-panL { animation: scPanL 5s ease-in-out infinite; }
@keyframes scPanL { 0%, 100% { transform: translateY(7.8px); } 50% { transform: translateY(-7.8px); } }
.sc-panR { animation: scPanR 5s ease-in-out infinite; }
@keyframes scPanR { 0%, 100% { transform: translateY(-7.8px); } 50% { transform: translateY(7.8px); } }
@media (max-width: 900px) {
  .page-hero.has-scene { min-height: 0; }
  .page-hero .page-scene { width: min(260px, 66vw); height: auto; max-width: none; margin: -1.5rem auto 1rem; }
  .legal-hero .page-scene { width: min(200px, 56vw); }
}

:root{--logo:url("/media/images/ike-weekly-logo.png")}
