/* =========================================================================
   PRIMAL — sistemi vizual
   Letër e ngrohtë, bojë pothuajse e zezë, një jeshile natyrale e përmbajtur.
   ========================================================================= */

:root {
  --paper: #f6f4ee;
  --paper-2: #edeae1;
  --paper-3: #dcd8cc;
  --ink: #141614;
  --ink-2: #1e211e;
  --ink-3: #262a26;
  --text-2: #3a3d38;
  --muted: #5f625c;
  --line: #d9d6cc;
  --line-strong: #c9c5b8;
  --green: #2f6b4f;
  --green-light: #8fc7a3;
  --on-dark: #f6f4ee;
  --on-dark-2: #c9ccc4;
  --on-dark-muted: #9ea39a;
  --line-dark: #2e322e;

  --ev-established: #2f6b4f;
  --ev-preliminary: #8fc7a3;
  --ev-mixed: #d4a93c;
  --ev-unsupported: #a5523f;

  --sans: var(--font-sans, 'Schibsted Grotesk'), system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: var(--font-serif, 'Newsreader'), Georgia, 'Times New Roman', serif;
  --mono: var(--font-mono, 'IBM Plex Mono'), ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 24px);
  --section: clamp(56px, 9vw, 96px);
  --radius: 6px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:hover { color: var(--green); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--on-dark); padding: 10px 16px; border-radius: 999px;
}
.skip-link:focus { top: 12px; color: var(--on-dark); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tint { background: var(--paper-2); border-top: 1px solid var(--line); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark a:hover { color: var(--green-light); }
.rule-top { border-top: 1px solid var(--ink); }

/* ---------- Typography ---------- */

.eyebrow {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--green);
}
.section--dark .eyebrow { color: var(--green-light); }

.display {
  font-weight: 800; font-size: clamp(48px, 7vw, 104px);
  line-height: 0.93; letter-spacing: -0.045em;
}
.h1 { font-weight: 800; font-size: clamp(36px, 5vw, 64px); line-height: 1; letter-spacing: -0.04em; }
.h2 { font-weight: 800; font-size: clamp(32px, 4.4vw, 60px); line-height: 1; letter-spacing: -0.04em; }
.h3 { font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.12; letter-spacing: -0.025em; }
.serif-i { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.lede { font-family: var(--serif); font-size: clamp(19px, 1.8vw, 22px); line-height: 1.45; color: var(--text-2); }
.section--dark .lede { color: var(--on-dark-2); }
.small { font-size: 14px; color: var(--muted); }
.section--dark .small { color: var(--on-dark-muted); }

.meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
  font-family: var(--mono); font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--muted);
}
.meta__accent { color: var(--green); font-weight: 500; }
.section--dark .meta { color: var(--on-dark-muted); }
.section--dark .meta__accent { color: var(--green-light); }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line-strong); padding: 2px 7px; border-radius: 3px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}
.section--dark .badge { border-color: #3a3f3a; color: var(--on-dark-muted); }
.badge--sponsored { border-color: #b98a2c; color: #7a5a14; }

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: #24563f; color: #fff; }
.btn--dark { background: var(--ink); color: var(--on-dark); }
.btn--dark:hover { background: #2a2e2a; color: var(--on-dark); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--on-dark); }
.btn--light { background: var(--green-light); color: var(--ink); border: 0; }
.btn--light:hover { background: #a6d4b6; color: var(--ink); }
.btn--small { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.more-link { font-size: 14px; font-weight: 600; padding-block: 12px; display: inline-block; }

.chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px;
  border-radius: 999px; border: 1px solid var(--line-strong); background: transparent;
  font-size: 14px; font-weight: 500; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed='true'], .chip[aria-current='page'] { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.chip-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }

/* ---------- Header ---------- */

.preview-banner {
  background: var(--ink); color: var(--on-dark-2); text-align: center;
  font-family: var(--mono); font-size: 12px; padding: 8px 16px; letter-spacing: 0.02em;
}

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }

.logo { display: inline-flex; align-items: baseline; gap: 3px; text-decoration: none; padding-block: 6px; }
.logo__word { font-weight: 900; font-size: 25px; letter-spacing: 0.06em; color: var(--ink); }
.logo__dot { width: 8px; height: 8px; background: var(--green); display: inline-block; }
.logo:hover .logo__word { color: var(--ink); }
.section--dark .logo__word, .site-footer .logo__word { color: var(--on-dark); }
.site-footer .logo__dot { background: var(--green-light); }

.nav { display: none; gap: 0 26px; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; padding-block: 22px; border-bottom: 2px solid transparent; }
.nav a[aria-current='page'] { border-bottom-color: var(--ink); }
.nav a.nav__news { font-weight: 700; letter-spacing: 0.02em; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink); text-decoration: none; cursor: pointer;
}
.icon-btn:hover { border-color: var(--ink); color: var(--ink); }
.header-subscribe { display: none; }

.mobile-menu { position: relative; }
.mobile-menu > summary { list-style: none; }
.mobile-menu > summary::-webkit-details-marker { display: none; }
.mobile-menu__panel {
  position: fixed; inset: 69px 0 auto 0; background: var(--paper);
  border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px;
  display: flex; flex-direction: column; max-height: calc(100vh - 69px); overflow-y: auto;
  box-shadow: 0 24px 40px -24px rgba(20,22,20,.25);
}
.mobile-menu__panel a {
  text-decoration: none; font-weight: 700; font-size: 24px; letter-spacing: -0.02em;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.mobile-menu__panel .mobile-menu__secondary { font-size: 16px; font-weight: 500; border: 0; padding: 10px 0; }
.mobile-menu__panel .btn { margin-top: 16px; font-size: 16px; }

@media (min-width: 1100px) {
  .nav { display: flex; }
  .mobile-menu { display: none; }
  .header-subscribe { display: inline-flex; }
}

/* ---------- Section header ---------- */

.section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 16px; margin-bottom: clamp(28px, 4vw, 40px);
}
.section-head__text { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.section-head--rule {
  border-top: 1px solid var(--ink); padding-top: 24px; align-items: baseline;
}
.section-head--rule h2 { font-size: 15px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.section-head__num { font-family: var(--mono); font-weight: 400; color: var(--green); margin-right: 12px; }

/* ---------- Media placeholders ---------- */

.media {
  position: relative; background: var(--paper-3); border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: center; justify-content: center; width: 100%;
}
.media--dark { background: var(--ink-2); }
.section--dark .media--dark { background: var(--ink-3); }
.media__label {
  position: absolute; top: 14px; left: 14px; right: 14px;
  font-family: var(--mono); font-size: 12px; color: var(--muted);
}
.media--dark .media__label { color: var(--on-dark-muted); }
.media__duration {
  position: absolute; right: 10px; bottom: 10px; font-family: var(--mono); font-size: 11px;
  background: rgba(20,22,20,.85); color: var(--on-dark); padding: 3px 7px; border-radius: 3px;
}
.play {
  width: 64px; height: 64px; border-radius: 999px; background: var(--paper);
  display: flex; align-items: center; justify-content: center; color: var(--ink);
  transition: transform .2s;
}
.play--lg { width: 84px; height: 84px; }
.play--sm { width: 48px; height: 48px; }
a:hover .play { transform: scale(1.06); }

.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-16x10 { aspect-ratio: 16 / 10; }
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-9x16 { aspect-ratio: 9 / 16; }

/* ---------- Hero ---------- */

.hero { display: grid; gap: clamp(36px, 5vw, 56px); align-items: end; padding-block: clamp(40px, 7vw, 72px); }
@media (min-width: 900px) { .hero { grid-template-columns: 1fr 1fr; } }
.hero__copy { display: flex; flex-direction: column; gap: 26px; }
.hero__feature { display: flex; flex-direction: column; gap: 16px; text-decoration: none; }

/* ---------- Cards ---------- */

.card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; min-width: 0; }
.card__title { font-weight: 700; font-size: 21px; line-height: 1.18; letter-spacing: -0.018em; }
.card__title--lg { font-weight: 800; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.04; letter-spacing: -0.035em; }
.card__title--md { font-size: 26px; line-height: 1.12; }
.card__text { font-family: var(--serif); font-size: 17px; line-height: 1.5; color: var(--text-2); }
.card:hover .card__title { color: var(--green); }
.section--dark .card:hover .card__title { color: var(--green-light); }

.featured-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .featured-grid { grid-template-columns: 2fr 1fr; } }
.featured-side { display: flex; flex-direction: column; gap: 32px; }
.featured-side > * + * { padding-top: 32px; border-top: 1px solid var(--line); }

.grid-3 { display: grid; gap: 32px 24px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-4 { display: grid; gap: 28px 24px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.rail > * { scroll-snap-align: start; flex: 0 0 min(340px, 82vw); }
.rail--shorts > * { flex-basis: min(220px, 56vw); }

/* ---------- Category grid ---------- */

.cat-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  border-top: 1px solid var(--ink); border-left: 1px solid var(--line-strong);
}
.cat-tile {
  padding: 26px 24px 30px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong);
  display: flex; flex-direction: column; gap: 12px; min-height: 210px; text-decoration: none;
  transition: background-color .15s;
}
.cat-tile:hover { background: var(--paper); color: var(--ink); }
.section:not(.section--tint) .cat-tile:hover { background: var(--paper-2); }
.cat-tile__top { display: flex; justify-content: space-between; align-items: center; color: var(--green); }
.cat-tile__num { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.cat-tile__name { margin-top: auto; font-weight: 700; font-size: 24px; letter-spacing: -0.02em; }
.cat-tile__desc { font-size: 15px; line-height: 1.45; color: #4a4d47; }
@media (max-width: 640px) {
  .cat-tile { min-height: 0; padding: 18px 16px 20px; gap: 6px; }
  .cat-tile__top { order: -1; }
  .cat-tile__name { margin-top: 4px; font-size: 20px; }
  .cat-tile__desc { font-size: 14px; }
}

/* ---------- News list ---------- */

.news-layout { display: grid; gap: 40px; }
@media (min-width: 900px) { .news-layout { grid-template-columns: 1fr 2fr; gap: 56px; } }
.news-list { border-top: 1px solid var(--ink); }
.news-row {
  display: grid; grid-template-columns: 1fr; gap: 6px; padding: 20px 0;
  border-bottom: 1px solid var(--line); text-decoration: none;
}
@media (min-width: 640px) { .news-row { grid-template-columns: 120px minmax(0, 1fr); gap: 20px; } }
.news-row__date { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 5px; }
.news-row__title { font-weight: 700; font-size: 21px; line-height: 1.25; letter-spacing: -0.015em; }
.news-row:hover .news-row__title { color: var(--green); }
.news-row__src { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 6px; display: block; }
.news-title-big { font-weight: 900; font-size: clamp(44px, 5vw, 72px); line-height: 0.9; letter-spacing: -0.04em; }

/* ---------- Experts ---------- */

.expert-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.expert-card__name { font-weight: 700; font-size: 20px; }
.expert-card__role { font-size: 14px; line-height: 1.4; color: var(--muted); }
.expert-card--empty .media { background: transparent; border: 1px dashed #8f8b7e; }
.expert-card--empty .expert-card__name { color: var(--muted); }
.initials { font-weight: 800; font-size: 44px; letter-spacing: -0.03em; color: #a9a597; }

/* ---------- Forms ---------- */

.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field .label { font-size: 14px; font-weight: 600; }
.field .hint { font-size: 13px; color: var(--muted); }
.input, .textarea, .select {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 8px;
  border: 1px solid var(--line-strong); background: #fff; font-size: 16px;
}
.textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.input:focus, .textarea:focus, .select:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--green); flex: none; }
.form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-status { font-size: 15px; padding: 14px 16px; border-radius: 8px; }
.form-status:empty { display: none; }
.form-status[data-state='ok'] { background: #e1eee5; color: #1d4a35; }
.form-status[data-state='error'] { background: #f6e3dd; color: #7a2f1f; }
.form-status[data-state='info'] { background: var(--paper-2); color: var(--text-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.newsletter-inline { display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter-inline .input { flex: 1 1 240px; border-radius: 999px; }
.section--dark .input { background: var(--ink-2); border-color: #3a3f3a; color: var(--on-dark); }
.section--dark .input::placeholder { color: var(--on-dark-muted); }
.section--dark .check { color: var(--on-dark-2); }
.section--dark .check a { color: var(--on-dark); }

.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.split--top { align-items: start; }

/* ---------- Evidence ---------- */

.ev-dot { width: 12px; height: 12px; border-radius: 999px; display: inline-block; flex: none; }
.ev-dot--established { background: var(--ev-established); }
.ev-dot--preliminary { background: var(--ev-preliminary); }
.ev-dot--mixed { background: var(--ev-mixed); }
.ev-dot--expert { border: 2px solid var(--muted); }
.ev-dot--unsupported { background: var(--ev-unsupported); }
.ev-dot--pending { background: var(--line-strong); }

.ev-scale { border-top: 1px solid var(--ink); }
.ev-scale__row { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ev-scale__row .ev-dot { margin-top: 5px; }
.ev-scale__label { font-weight: 700; font-size: 17px; display: block; }
.ev-scale__desc { font-size: 14px; color: var(--muted); }

.ev-chip {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px;
  border: 1px solid var(--line-strong); padding: 4px 9px; border-radius: 3px;
}
.ev-chip--pending { border-style: dashed; border-color: #8f8b7e; }

/* ---------- Page header ---------- */

.page-head { padding-block: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--ink); }
.page-head__inner { display: flex; flex-direction: column; gap: 18px; max-width: 860px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Article / prose ---------- */

.article-head { padding-block: clamp(36px, 6vw, 64px) 32px; }
.article-head__inner { max-width: 860px; display: flex; flex-direction: column; gap: 20px; }
.byline {
  display: flex; flex-wrap: wrap; gap: 10px 28px; padding-block: 18px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted);
}
.byline strong { color: var(--ink); font-weight: 600; }
.byline__item { display: flex; flex-direction: column; gap: 2px; }
.byline__label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; }

.article-layout { display: grid; gap: 48px; padding-block: 40px var(--section); }
@media (min-width: 1000px) { .article-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; } }
.article-aside { display: flex; flex-direction: column; gap: 28px; }
@media (min-width: 1000px) { .article-aside__sticky { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 28px; } }

.prose { font-family: var(--serif); font-size: clamp(18px, 1.6vw, 20px); line-height: 1.7; color: #232622; max-width: 700px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--sans); font-weight: 800; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -0.025em; margin-top: 1.8em; color: var(--ink); }
.prose h3 { font-family: var(--sans); font-weight: 700; font-size: 21px; line-height: 1.25; margin-top: 1.5em; color: var(--ink); }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 0.4em; }
.prose a { color: var(--green); text-underline-offset: 3px; }
.prose blockquote { border-left: 0; padding: 4px 0 4px 0; font-size: 1.25em; line-height: 1.4; font-style: italic; }
.prose blockquote footer { font-family: var(--sans); font-style: normal; font-size: 14px; color: var(--muted); margin-top: 10px; }
.callout { font-family: var(--sans); background: var(--paper-2); border-radius: 8px; padding: 20px 22px; font-size: 15px; line-height: 1.55; color: var(--text-2); }
.callout strong { display: block; color: var(--ink); margin-bottom: 4px; font-size: 15px; }
.evidence-block { font-family: var(--sans); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); padding: 18px 0; display: flex; flex-direction: column; gap: 10px; }
.evidence-block__claim { font-weight: 700; font-size: 18px; line-height: 1.35; }
.evidence-block__note { font-size: 14px; color: var(--muted); }

.box { border: 1px solid var(--line); border-radius: 8px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.box__title { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.refs { font-size: 15px; line-height: 1.5; padding-left: 1.2em; display: flex; flex-direction: column; gap: 10px; }
.empty-note { font-size: 15px; color: var(--muted); font-style: italic; font-family: var(--serif); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--paper-2); text-decoration: none; }

.share { display: flex; flex-wrap: wrap; gap: 8px; }

.disclaimer { font-size: 13px; line-height: 1.55; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }

/* ---------- Episode page ---------- */

.player { position: relative; aspect-ratio: 16 / 9; background: var(--ink-2); border-radius: var(--radius); overflow: hidden; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__btn { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border: 0; background: transparent; cursor: pointer; padding: 0; }
.player__btn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player__btn .play { position: relative; }
.player__empty { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; text-align: center; color: var(--on-dark-muted); font-family: var(--mono); font-size: 13px; padding: 24px; }

.chapters { list-style: none; padding: 0; border-top: 1px solid var(--ink); }
.chapters li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.chapters__time { font-family: var(--mono); font-size: 13px; color: var(--green); padding-top: 2px; }
.chapters a { text-decoration: none; }

.takeaways { list-style: none; padding: 0; counter-reset: tk; display: flex; flex-direction: column; }
.takeaways li { counter-increment: tk; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 18px; line-height: 1.4; }
.takeaways li::before { content: counter(tk, decimal-leading-zero); font-family: var(--mono); font-size: 14px; color: var(--green); padding-top: 3px; }

.topics-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 17px; }
.topics-list li { display: flex; gap: 12px; }
.topics-list li::before { content: '—'; color: var(--green); }

.transcript { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.transcript__bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 14px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.transcript__bar .input { min-height: 44px; max-width: 360px; flex: 1 1 220px; }
.transcript__body { max-height: 520px; overflow-y: auto; padding: 8px 20px 20px; }
.transcript__line { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.transcript__line[hidden] { display: none; }
.transcript__speaker { font-weight: 700; font-size: 14px; }
.transcript__text { font-family: var(--serif); font-size: 18px; line-height: 1.6; }
.transcript mark { background: #d9ecdf; color: inherit; padding: 0 2px; border-radius: 2px; }

.platforms { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.platform { border: 1px solid #3a3f3a; border-radius: 999px; padding: 10px 16px; font-size: 14px; color: var(--on-dark); text-decoration: none; }
.platform--off { opacity: .6; }
.platforms--light .platform { border-color: var(--line-strong); color: var(--ink); }

/* ---------- Search ---------- */

.search-box { display: flex; gap: 10px; flex-wrap: wrap; }
.search-box .input { flex: 1 1 280px; font-size: 18px; min-height: 56px; border-radius: 999px; padding-inline: 22px; }
.search-results { border-top: 1px solid var(--ink); margin-top: 32px; }
.search-result { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.search-result__kind { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--green); }
.search-result__title { font-weight: 700; font-size: 21px; display: block; margin-top: 4px; }
.search-result__desc { color: var(--muted); font-size: 15px; display: block; margin-top: 4px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: var(--on-dark-2); }
.site-footer__cols { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); padding-block: 72px 56px; }
.site-footer__col { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.site-footer__col a { color: var(--on-dark); text-decoration: none; padding-block: 6px; }
.site-footer__col a:hover { color: var(--green-light); }
.site-footer__head { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--on-dark-muted); margin-bottom: 8px; }
.site-footer__muted { color: var(--on-dark-muted); padding-block: 6px; }
.site-footer__bottom { border-top: 1px solid var(--line-dark); padding-block: 24px 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px; line-height: 1.55; }

/* ---------- Misc ---------- */

.stack { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; } .gap-32 { gap: 32px; } .gap-48 { gap: 48px; }
.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }
.maxw-640 { max-width: 640px; } .maxw-760 { max-width: 760px; }
.panel { background: var(--paper-2); border-radius: 8px; padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 12px; }
.quote-big { font-family: var(--serif); font-size: clamp(26px, 2.8vw, 38px); line-height: 1.25; letter-spacing: -0.01em; }
.list-plain { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.prose-page { padding-block: 40px var(--section); }
[data-filter-item][hidden] { display: none; }
.empty-state { padding: 40px 0; color: var(--muted); font-family: var(--serif); font-size: 18px; }
