:root {
  --ink: #14211d;
  --ink-2: #263c35;
  --paper: #f5f2e9;
  --paper-2: #ebe6d9;
  --white: #fffdf7;
  --lime: #cbef72;
  --lime-dark: #9bc43d;
  --orange: #f08a62;
  --line: rgba(20, 33, 29, 0.18);
  --muted: #617069;
  --shadow: 0 24px 80px rgba(20, 33, 29, 0.12);
  --radius: 22px;
  --shell: min(1180px, calc(100vw - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }
.narrow { max-width: 760px; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 99; padding: 10px 14px; background: var(--lime); }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(245, 242, 233, 0.1);
  color: var(--paper);
  background: rgba(20, 33, 29, 0.96);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 18px; text-decoration: none; letter-spacing: -0.02em; }
.brand strong { font-weight: 760; }
.brand-mark { width: 27px; height: 27px; display: block; flex-shrink: 0; border-radius: 7px; }
nav { display: flex; gap: 28px; font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; }
nav a { color: inherit; text-decoration: none; opacity: 0.78; }
nav a:hover { opacity: 1; }

.eyebrow { margin: 0 0 14px; color: var(--muted); font-size: 11px; font-weight: 760; letter-spacing: 0.16em; line-height: 1.3; text-transform: uppercase; }
.live { color: #b5c4bd; }
.live span { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(203, 239, 114, 0.12); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; color: var(--ink); background: var(--lime); border-radius: 999px; font-size: 13px; font-weight: 750; text-decoration: none; }
.button:hover { background: #dcfa91; transform: translateY(-1px); }
.arrow-link { font-size: 13px; font-weight: 720; text-decoration: none; }
.arrow-link span { color: var(--lime-dark); }
.feed-actions { display: flex; align-items: center; gap: 11px; }
.copy-feed-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  background: rgba(255, 253, 247, 0.72);
  font: inherit;
  font-size: 12px;
  font-weight: 720;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.copy-feed-button:hover { border-color: rgba(20, 33, 29, 0.35); background: var(--paper-2); transform: translateY(-1px); }
.copy-feed-button:focus-visible { outline: 3px solid rgba(155, 196, 61, 0.42); outline-offset: 2px; }
.copy-feed-icons { display: grid; width: 16px; height: 16px; place-items: center; }
.copy-feed-icons svg { grid-area: 1 / 1; width: 16px; height: 16px; }
.copy-feed-success-icon { display: none; }
.copy-feed-button[data-copy-state="copied"] { border-color: var(--lime-dark); color: var(--ink); background: var(--lime); }
.copy-feed-button[data-copy-state="copied"] .copy-feed-icon { display: none; }
.copy-feed-button[data-copy-state="copied"] .copy-feed-success-icon { display: block; }
.copy-feed-button[data-copy-state="error"] { border-color: var(--orange); }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

.hero { position: relative; overflow: hidden; padding: 110px 0 120px; color: var(--paper); background: var(--ink); }
.hero::before { content: ""; position: absolute; right: -12vw; bottom: -35vw; width: 70vw; height: 70vw; border: 1px solid rgba(203, 239, 114, 0.18); border-radius: 50%; box-shadow: inset 0 0 0 9vw rgba(203, 239, 114, 0.025), inset 0 0 0 18vw rgba(203, 239, 114, 0.025); }
.hero::after { content: ""; position: absolute; right: 9%; top: 80px; width: 74px; height: 170px; border: 1px solid rgba(203, 239, 114, 0.4); border-radius: 13px; background: linear-gradient(to top, var(--lime) 0 62%, transparent 62%); box-shadow: 0 0 70px rgba(203, 239, 114, 0.11); transform: rotate(7deg); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.65fr 0.75fr; gap: 80px; align-items: end; }
.hero h1 { max-width: 820px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(58px, 8.2vw, 110px); font-weight: 400; letter-spacing: -0.065em; line-height: 0.9; }
.hero-copy { max-width: 410px; padding-bottom: 8px; }
.hero-copy p { margin: 0 0 30px; color: #cad4cf; font-size: 18px; line-height: 1.65; }

.latest-section { padding: 84px 0; background: var(--paper-2); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 30px; }
.section-heading > span, .section-heading > p { max-width: 470px; margin: 0; color: var(--muted); font-size: 14px; }
.section-heading-support { max-width: 470px; }
.section-heading-support > p { margin: 0; color: var(--muted); font-size: 14px; }
.section-heading-support .feed-actions { justify-content: flex-end; margin-top: 16px; }
.section-heading h2 { margin: 4px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 5vw, 56px); font-weight: 400; letter-spacing: -0.045em; line-height: 1; }
.episode-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 253, 247, 0.54); }
.episode-card.featured { display: grid; grid-template-columns: 0.7fr 1.6fr 0.9fr; gap: 46px; align-items: center; min-height: 285px; padding: 50px; background: var(--white); box-shadow: var(--shadow); }
.episode-card-top { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; color: var(--muted); font-size: 13px; }
.series-pill { display: inline-flex; padding: 6px 10px; color: var(--ink); background: var(--lime); border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.episode-card h2, .episode-card h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -0.035em; line-height: 1.08; }
.episode-card h2 { font-size: clamp(38px, 5.2vw, 66px); }
.episode-card h3 { margin-top: 32px; font-size: 31px; }
.episode-card h2 a, .episode-card h3 a { text-decoration: none; }
.episode-card > p { margin: 16px 0 0; color: var(--muted); }
.episode-card.featured > p { margin: 0; font-size: 17px; }
.episode-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; color: var(--muted); font-size: 13px; }
.episode-card.featured .episode-card-bottom { flex-direction: column; align-items: flex-start; margin: 0; }

.series-section, .archive-section { padding: 96px 0; }
.series-list { border-top: 1px solid var(--line); }
.series-card { display: grid; grid-template-columns: 64px 1fr auto; gap: 25px; align-items: center; padding: 27px 8px; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding 160ms ease, background 160ms ease; }
.series-card:hover { padding-inline: 18px; background: rgba(255, 253, 247, 0.6); }
.series-glyph { display: grid; place-items: center; width: 54px; height: 54px; color: var(--paper); background: var(--ink); border-radius: 16px; font-family: Georgia, serif; font-size: 27px; }
.series-card strong { display: block; font-size: 20px; }
.series-card small { display: block; max-width: 710px; margin-top: 4px; color: var(--muted); line-height: 1.45; }
.series-count { min-width: 105px; text-align: right; font-size: 14px; font-weight: 700; }
.series-count small { font-weight: 500; }
.archive-section { background: var(--white); }
.episode-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.company-hero { padding: 90px 0; color: var(--paper); background: var(--ink); }
.company-hero-grid { display: grid; grid-template-columns: 150px 1fr 260px; gap: 50px; align-items: center; }
.company-monogram { display: grid; place-items: center; width: 140px; height: 140px; border: 1px solid rgba(203, 239, 114, 0.5); border-radius: 34px; font-family: Georgia, serif; font-size: 70px; background: linear-gradient(145deg, rgba(203, 239, 114, 0.18), rgba(203, 239, 114, 0.03)); }
.company-hero h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(56px, 7vw, 88px); font-weight: 400; letter-spacing: -0.055em; line-height: 0.95; }
.company-hero p:not(.eyebrow) { max-width: 650px; margin: 25px 0 0; color: #bdcac4; font-size: 18px; }
.series-stats { margin: 0; border-top: 1px solid rgba(245, 242, 233, 0.18); }
.series-stats div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(245, 242, 233, 0.18); }
.series-stats dt { color: #aab9b2; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; }
.series-stats dd { margin: 0; font-weight: 700; }

.episode-hero { padding: 72px 0 80px; color: var(--paper); background: var(--ink); }
.episode-hero-grid { display: grid; grid-template-columns: 180px 1fr 150px; gap: 55px; align-items: start; }
.episode-kicker { display: flex; flex-direction: column; gap: 8px; color: #aebcb5; font-size: 13px; }
.episode-kicker a { color: var(--lime); font-weight: 750; text-decoration: none; }
.episode-title h1 { max-width: 790px; margin: 0; font-family: Georgia, serif; font-size: clamp(54px, 7vw, 92px); font-weight: 400; letter-spacing: -0.06em; line-height: 0.92; }
.episode-title > p:last-child { max-width: 720px; margin: 28px 0 0; color: #c2cec8; font-size: 19px; }
.episode-meta { display: flex; flex-direction: column; gap: 0; border-top: 1px solid rgba(245, 242, 233, 0.2); }
.episode-meta span { display: flex; align-items: baseline; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(245, 242, 233, 0.2); color: #aebcb5; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.episode-meta strong { color: var(--paper); font-size: 18px; letter-spacing: 0; }
.episode-layout { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 80px; justify-content: center; padding-block: 72px 110px; }
.episode-sidebar { display: flex; flex-direction: column; gap: 45px; }
.tracker { margin: 0; border-top: 1px solid var(--line); }
.tracker div { display: grid; grid-template-columns: 1fr auto; gap: 4px 15px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.tracker dt { color: var(--muted); font-size: 12px; }
.tracker dd { margin: 0; font-size: 14px; font-weight: 760; text-align: right; }
.tracker small { grid-column: 1 / -1; color: var(--muted); font-size: 11px; }
.evidence-key { padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: var(--paper-2); }
.evidence-key p:not(.eyebrow) { margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.evidence-key strong { color: var(--ink); }
.episode-main { min-width: 0; }
.audio-card { display: grid; grid-template-columns: 1fr 1.3fr; gap: 25px; align-items: center; margin-bottom: 48px; padding: 24px; color: var(--paper); background: var(--ink); border-radius: 18px; }
.audio-card .eyebrow { color: #aebcb5; margin-bottom: 4px; }
.audio-card strong, .audio-card small { display: block; }
.audio-card small { color: #aebcb5; }
.audio-card audio { width: 100%; }
.content-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 30px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.content-heading p { margin: 0; }
.content-heading p:last-child { color: var(--muted); font-size: 12px; }
.source-ledger { margin-bottom: 60px; }
.source-ledger ol { margin: 0; padding: 0; list-style: none; }
.source-ledger li { display: grid; grid-template-columns: 38px 1fr; gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.source-number { color: var(--muted); font-family: ui-monospace, monospace; font-size: 11px; }
.source-ledger a { font-weight: 720; text-decoration: none; }
.source-ledger p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.evidence-tag { display: inline-flex; margin-left: 8px; padding: 3px 7px; border-radius: 999px; font-size: 9px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; vertical-align: 2px; background: var(--paper-2); }
.evidence-tag.company-claim { background: #ffe2d5; }
.evidence-tag.confirmed-primary { background: #dff3ac; }
.evidence-tag.inference, .evidence-tag.unknown { background: #e7e4dc; }
.spoken-script { margin-top: 20px; }
.prose { font-family: Georgia, "Times New Roman", serif; font-size: 20px; line-height: 1.8; }
.prose > p:first-child { font-size: 25px; line-height: 1.55; }
.prose h2 { margin: 55px 0 16px; font-family: ui-sans-serif, system-ui, sans-serif; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.prose h3 { margin-top: 42px; font-size: 28px; line-height: 1.2; }
.prose a { text-decoration-color: var(--lime-dark); }
.prose blockquote { margin: 35px 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--lime-dark); color: var(--ink-2); }
.watch-card { margin-top: 58px; padding: 30px; border-radius: 20px; background: var(--lime); }
.watch-card ol { margin: 0; padding-left: 22px; }
.watch-card li { padding: 7px 0 7px 8px; }
.standing-disclosure { margin: 22px 0 0; color: var(--muted); font-size: 11px; }

.brief-latest-section { background: linear-gradient(135deg, var(--paper-2), #edf5d0); }
.brief-card { border-color: rgba(79, 101, 30, 0.28); }
.brief-card.featured { box-shadow: 0 26px 70px rgba(58, 73, 28, 0.14); }
.brief-card .series-pill { color: var(--ink); background: var(--lime); }
.brief-archive-hero .company-monogram { color: var(--ink); background: var(--lime); }
.brief-episode-hero { background: linear-gradient(135deg, var(--ink), #263c32); }
.brief-audio-card { background: linear-gradient(135deg, var(--ink), #314a3e); }
.brief-coverage { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.brief-coverage li { display: grid; gap: 4px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.brief-coverage strong { font-size: 13px; }
.brief-coverage strong a { text-decoration-color: var(--lime-dark); }
.brief-coverage small { color: var(--muted); font-size: 11px; line-height: 1.35; }
.coverage-status { width: fit-content; padding: 3px 7px; border-radius: 999px; color: var(--ink); background: #dfeec0; font-size: 9px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.coverage-status.stale { background: #ffe2b8; }
.coverage-status.unavailable { background: #e7e4dc; }

.method-hero { padding: 105px 0 70px; color: var(--paper); background: var(--ink); }
.method-hero h1, .not-found h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(52px, 7vw, 84px); font-weight: 400; letter-spacing: -0.055em; line-height: 0.98; }
.lede { color: #c3cec9; font-size: 20px; }
.method-body { padding: 80px 0 110px; }
.method-body .prose > p:first-child { font-size: 20px; }
.not-found { min-height: 70vh; display: grid; align-items: center; padding: 90px 0; }
.not-found p:not(.eyebrow) { margin: 24px 0 32px; color: var(--muted); font-size: 18px; }

.site-footer { padding: 58px 0; color: #bdc9c3; background: #0e1714; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 60px; }
.site-footer .brand { color: var(--paper); }
.site-footer .brand-mark { color: var(--paper); }
.site-footer p { max-width: 300px; margin: 14px 0 0; font-size: 13px; }
.site-footer .eyebrow { color: var(--lime); }

@media (max-width: 900px) {
  .hero-grid, .company-hero-grid, .episode-hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 85px 0; }
  .hero::after { opacity: 0.35; }
  .hero-copy { max-width: 590px; }
  .episode-card.featured { grid-template-columns: 1fr; gap: 24px; padding: 34px; }
  .episode-card.featured .episode-card-bottom { flex-direction: row; align-items: center; }
  .company-monogram { width: 90px; height: 90px; border-radius: 24px; font-size: 45px; }
  .company-hero-grid { grid-template-columns: 90px 1fr; }
  .series-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); }
  .series-stats div { display: block; }
  .series-stats dd { margin-top: 4px; }
  .episode-hero-grid { gap: 30px; }
  .episode-kicker { flex-direction: row; gap: 20px; }
  .episode-meta { flex-direction: row; }
  .episode-meta span { flex: 1; display: block; }
  .episode-meta strong { display: block; }
  .episode-layout { grid-template-columns: 1fr; gap: 45px; }
  .episode-sidebar { display: grid; grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --shell: min(100% - 28px, 1180px); }
  nav { gap: 15px; font-size: 11px; }
  .header-inner { min-height: 62px; }
  .hero { padding: 68px 0 76px; }
  .hero h1 { font-size: 58px; }
  .hero-copy p { font-size: 16px; }
  .latest-section, .series-section, .archive-section { padding: 64px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .section-heading-support .feed-actions { justify-content: flex-start; }
  .feed-actions { flex-wrap: wrap; }
  .episode-grid { grid-template-columns: 1fr; }
  .series-card { grid-template-columns: 52px 1fr; }
  .series-count { display: none; }
  .company-hero { padding: 60px 0; }
  .company-hero-grid { grid-template-columns: 1fr; gap: 25px; }
  .series-stats { grid-column: auto; }
  .episode-hero { padding: 55px 0; }
  .episode-title h1 { font-size: 56px; }
  .episode-title > p:last-child { font-size: 16px; }
  .episode-meta span { font-size: 9px; }
  .episode-meta strong { font-size: 15px; }
  .episode-layout { padding-block: 48px 80px; }
  .episode-sidebar { grid-template-columns: 1fr; }
  .audio-card { grid-template-columns: 1fr; }
  .content-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .source-ledger li { grid-template-columns: 30px 1fr; }
  .evidence-tag { display: table; margin: 7px 0 0; }
  .prose { font-size: 18px; }
  .prose > p:first-child { font-size: 21px; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-grid > div:first-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
