/* ---------- SELF-HOSTED FONTS ---------- */
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/instrumentsans-400-normal-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/instrumentsans-400-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/instrumentsans-500-normal-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/instrumentsans-500-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/instrumentsans-600-normal-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/instrumentsans-600-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('fonts/instrumentserif-400-italic-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('fonts/instrumentserif-400-italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/instrumentserif-400-normal-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/instrumentserif-400-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/jetbrainsmono-400-normal-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/jetbrainsmono-400-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/jetbrainsmono-500-normal-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/jetbrainsmono-500-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- TOKENS ---------- */
:root {
  /* paper palette (default) — high contrast */
  --paper: #f6f1e2;
  --paper-2: #ece5d0;
  --paper-3: #ddd5c0;
  --ink: #07060a;
  --ink-2: #232024;
  --ink-mute: #5a5448;
  --rule: #1a1815;
  --rule-soft: #b8af96;
  --sage: #4a5a4a;
  --terra: #a40000;
  --navy: #14305a;
  --accent: var(--terra);

  --grain: 0.05;
  --density: 1;
  --motion: 1;

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Instrument Sans", "Helvetica Neue", sans-serif;
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, monospace;
}

[data-theme="dark"] {
  --paper: #12110f;
  --paper-2: #1b1914;
  --paper-3: #26231d;
  --ink: #f6f1e2;
  --ink-2: #d9d2bd;
  --ink-mute: #8a8270;
  --rule: #f6f1e2;
  --rule-soft: #2a2620;
  --grain: 0.07;
  --accent: #a40000;
}

[data-palette="sage"] {
  --paper: #eaeee2;
  --paper-2: #dbe2ce;
  --paper-3: #cad4b8;
  --ink: #0e140e;
  --rule: #0e140e;
  --rule-soft: #b6c2a5;
  --accent: #a40000;
  --terra: #a40000;
}
[data-palette="ink"] {
  --paper: #f7f4ec;
  --paper-2: #ebe6d5;
  --paper-3: #ddd6c4;
  --ink: #050505;
  --rule: #050505;
  --rule-soft: #a89e89;
  --accent: #1f3fa8;
  --terra: #1f3fa8;
}

html.loading-lang body { opacity: 0; }

/* ---------- RESET ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 600ms ease, color 600ms ease;
}

/* paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: var(--grain);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.6 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}
[data-theme="dark"] body::before { mix-blend-mode: screen; }

a { color: inherit; text-decoration: none; }

/* ---------- LAYOUT ---------- */
.frame {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }

.section {
  padding-block: calc(72px * var(--density));
  position: relative;
}

/* section marker — small caps + number */
.section-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: baseline;
  border-top: 2px solid var(--ink);
  padding-top: 16px;
  margin-bottom: 40px;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.section-head .num { font-weight: 500; }
.section-head .title {
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  margin: 0;
}
.section-head .meta { color: var(--ink-2); }

/* ---------- TYPE ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.025em;
}
.display em { font-style: normal; color: var(--accent); }

.lede {
  font-family: var(--serif);
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.22;
  letter-spacing: -0.012em;
  font-style: normal;
  color: var(--ink);
}

.mono { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.04em; }
.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -0.015em;
}

p { max-width: 64ch; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--paper) 85%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule-soft);
}
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px 0;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 14px; font-weight: 600; letter-spacing: 0.06em; }
.brand .glyph {
  width: 22px; height: 22px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  position: relative;
}
.brand .glyph::after {
  content: ""; position: absolute; inset: 4px;
  background: var(--ink); border-radius: 50%;
  animation: breath calc(6s / var(--motion, 1)) ease-in-out infinite;
}
.nav-links { display: flex; gap: 7px; font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 0.05em; }
.nav-links a {
  position: relative;
  padding: 9px 16px;
  border-radius: 99px;
  color: var(--paper);
  border: 1px solid transparent;
  transition: transform 180ms ease, filter 180ms ease, outline-offset 180ms ease;
  white-space: nowrap;
  outline: 1.5px solid transparent;
  outline-offset: 0;
}
.nav-links a:hover { filter: brightness(1.08) saturate(1.05); transform: translateY(-1px); }
.nav-links a.active { outline-color: var(--ink); outline-offset: 3px; }

/* per-item palette — each pill its own warmth */
.nav-links a:nth-child(1) { background: #07060a; }
.nav-links a:nth-child(2) { background: #a40000; }
.nav-links a:nth-child(3) { background: #14305a; }
.nav-links a:nth-child(4) { background: #4a5a4a; }
.nav-links a:nth-child(5) { background: #d4a83a; color: #07060a; }
.nav-links a:nth-child(6) { background: #6b4a6e; }
.nav-links a:nth-child(7) { background: #2d4f3a; }

[data-theme="dark"] .nav-links a.active { outline-color: var(--ink); }
[data-palette="ink"] .nav-links a:nth-child(2) { background: #1f3fa8; }
[data-palette="ink"] .nav-links a:nth-child(5) { background: #c9c1ac; color: #050505; }
[data-palette="sage"] .nav-links a:nth-child(4) { background: #3d4a3d; }

.nav-right { display: flex; gap: 14px; justify-content: flex-end; align-items: center; font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--ink); }
.icon-btn {
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink);
  width: 28px; height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 200ms ease;
}
.icon-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* lang toggle */
.lang-toggle { display: flex; gap: 2px; align-items: center; }
.lang-btn {
  background: transparent;
  border: 1px solid var(--rule-soft);
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 3px 7px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 150ms ease;
  line-height: 1;
}
.lang-btn:hover { border-color: var(--ink); color: var(--ink); }
.lang-btn.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* live clock */
.live-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 6px; vertical-align: middle; animation: breath calc(3s / var(--motion, 1)) ease-in-out infinite; }

@keyframes breath {
  0%, 100% { transform: scale(0.85); opacity: 0.55; }
  50% { transform: scale(1.15); opacity: 1; }
}

/* ---------- HERO ---------- */
.hero {
  padding-top: clamp(80px, 12vh, 140px);
  padding-bottom: clamp(60px, 9vh, 120px);
  position: relative;
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: clamp(40px, 5vw, 72px);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0.06em;
}
.hero-meta span { display: block; }
.hero-meta strong { color: var(--ink); font-weight: 700; display: block; margin-top: 6px; font-size: 15px; }

.hero-title {
  font-size: clamp(64px, 13vw, 220px);
}
.hero-title .line-1 { display: block; }
.hero-title .line-2 { display: block; text-align: right; padding-right: 4vw; }
.hero-title .line-3 { display: block; padding-left: 12vw; }

.hero-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-top: clamp(32px, 4vw, 56px);
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  align-items: start;
}
.hero-bottom .col p { max-width: 36ch; }
.hero-bottom .lede { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.18; }

/* hero stats list — replaces decorative rings, dots reference former ring sizes */
.hero-stats {
  list-style: none;
  display: flex; flex-direction: column;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.hero-stats li {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.hero-stats li:first-child { padding-top: 0; }
.hero-stats li:last-child { border-bottom: 0; padding-bottom: 0; }
.hero-stats .dot {
  width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid var(--ink);
  justify-self: center;
}
.hero-stats .dot-1 { width: 14px; height: 14px; }
.hero-stats .dot-2 { width: 10px; height: 10px; }
.hero-stats .dot-3 { width: 7px; height: 7px; background: var(--ink); }
.hero-stats .dot-now {
  width: 9px; height: 9px;
  background: var(--accent); border-color: var(--accent);
  animation: breath calc(3s / var(--motion, 1)) ease-in-out infinite;
}
.hero-stats .lbl { color: var(--ink-2); text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; }
.hero-stats .num { font-family: var(--serif); font-size: 26px; line-height: 1; letter-spacing: -0.01em; color: var(--ink); }

/* ---------- FEATURED STUDY ---------- */
.featured {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.featured-left .stat-big {
  font-family: var(--serif);
  font-size: clamp(120px, 18vw, 260px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--accent);
  font-style: normal;
}
.featured-left .stat-label { font-family: var(--mono); font-size: 12px; color: var(--ink-mute); letter-spacing: 0.06em; margin-top: 8px; }
.featured-right h3 { font-size: clamp(40px, 4.4vw, 64px); margin-bottom: 24px; }
.featured-right .body { font-size: 19px; line-height: 1.55; color: var(--ink); margin-bottom: 24px; font-weight: 500; }
.featured-right .body sup { color: var(--accent); font-family: var(--mono); font-size: 11px; font-weight: 700; padding-left: 2px; }
.cite-block {
  border-top: 1.5px solid var(--rule);
  padding-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 16px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}
.cite-block strong { color: var(--ink); font-weight: 700; display: block; margin-top: 6px; font-size: 14px; }

/* ---------- RESEARCH GRID ---------- */
.filter-row {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 24px;
  align-items: center;
}
.filter-row .label { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: 0.1em; text-transform: uppercase; margin-right: 12px; }
.chip {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  padding: 8px 16px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 180ms ease;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.research-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.research-grid .card {
  grid-column: span 4;
  background: var(--paper);
  padding: 22px 22px 22px;
  display: flex; flex-direction: column;
  gap: 14px;
  transition: background 220ms ease;
  cursor: pointer;
  position: relative;
}
.research-grid .card:hover { background: var(--paper-2); }
.research-grid .card .top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: 0.06em; }
.research-grid .card h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 30px; line-height: 1.05; letter-spacing: -0.018em;
  flex: 1;
}
.research-grid .card h3 em { font-style: normal; color: var(--accent); }
.research-grid .card .authors { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--ink-2); }
.research-grid .card .footer { display: flex; justify-content: space-between; align-items: end; gap: 16px; font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--ink); }
.research-grid .card .footer .stat-explain { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.research-grid .card .footer .stat-explain b { font-weight: 700; }
.research-grid .card .footer .stat-explain em { font-style: normal; color: var(--ink-mute); }
.research-grid .card .footer .stat-explain small { font-family: var(--mono); font-size: 11.5px; font-weight: 500; line-height: 1.5; letter-spacing: 0.02em; color: var(--ink-2); text-transform: none; max-width: 52ch; }
.research-grid .card .arrow { font-size: 18px; color: var(--ink); transition: transform 200ms ease; }
.research-grid .card:hover .arrow { transform: translate(4px, -4px); }

/* asymmetric tweaks */
.research-grid .card.wide { grid-column: span 8; }
.research-grid .card.tall h3 { font-size: 36px; }
.research-grid .card.dark { background: var(--ink); color: var(--paper); }
.research-grid .card.dark .top, .research-grid .card.dark .authors, .research-grid .card.dark .footer { color: color-mix(in oklab, var(--paper) 60%, transparent); }
.research-grid .card.dark .arrow { color: var(--paper); }
.research-grid .card.dark h3 em {
  color: #ff7a7a;
  text-decoration: underline;
  text-decoration-color: #ff7a7a;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
.research-grid .card.dark .footer .stat-explain b { color: var(--paper); }
.research-grid .card.dark .footer .stat-explain em { color: color-mix(in oklab, var(--paper) 55%, transparent); }
.research-grid .card.dark .footer .stat-explain small { color: color-mix(in oklab, var(--paper) 70%, transparent); }

/* ---------- PODCAST ---------- */
.podcast-wrap {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 5vw, 64px);
}
.player {
  background: var(--ink);
  color: var(--paper);
  padding: 36px 32px;
  border-radius: 2px;
  position: sticky;
  top: 90px;
  align-self: start;
}
[data-theme="dark"] .player { background: var(--paper-3); color: var(--ink); }
.player .ep-num { font-family: var(--mono); font-size: 13px; opacity: 0.75; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 22px; }
.player .ep-title { font-family: var(--serif); font-size: 44px; line-height: 1.04; margin-bottom: 10px; letter-spacing: -0.018em; }
.player .ep-title em { font-style: normal; color: var(--terra); }
.player .ep-guest { font-family: var(--mono); font-size: 13px; font-weight: 500; opacity: 0.85; margin-bottom: 32px; letter-spacing: 0.04em; }

.waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 56px;
  margin-bottom: 18px;
}
.waveform .bar {
  flex: 1;
  height: var(--h, 50%);
  background: color-mix(in oklab, currentColor 30%, transparent);
  border-radius: 1px;
  transition: background 200ms ease;
}
.waveform .bar.played { background: var(--terra); }
.player.playing .waveform .bar.played { animation: barPulse 1.2s ease-in-out infinite; }
@keyframes barPulse {
  0%, 100% { transform: scaleY(0.95); }
  50% { transform: scaleY(1.05); }
}
.player-controls { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.player .time { font-family: var(--mono); font-size: 13px; font-weight: 600; opacity: 0.85; font-variant-numeric: tabular-nums; }
.play-btn {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--paper); color: var(--ink);
  border: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 150ms ease;
}
.play-btn:hover { transform: scale(1.05); }
.play-btn svg { width: 18px; height: 18px; }

.player .meta-row { display: flex; gap: 18px; margin-top: 24px; padding-top: 18px; border-top: 1px solid color-mix(in oklab, currentColor 18%, transparent); font-family: var(--mono); font-size: 13px; font-weight: 500; opacity: 0.85; letter-spacing: 0.04em; }
.player .meta-row strong { color: currentColor; opacity: 1; font-weight: 700; display: block; margin-top: 6px; font-size: 14px; }

.episode-list { display: flex; flex-direction: column; list-style: none; }
.episode {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 20px;
  width: 100%;
  padding: 24px 0;
  border: 0;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: padding 220ms ease;
  align-items: start;
}
.episode:hover { padding-left: 8px; }
.episode-list li:first-child .episode { padding-top: 0; }
.episode .ep-no { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: 0.06em; padding-top: 4px; }
.episode .ep-h {
  font-family: var(--serif);
  font-size: 26px; line-height: 1.12;
  letter-spacing: -0.015em;
}
.episode .ep-h em { font-style: normal; color: var(--accent); }
.episode .ep-sub { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--ink-2); margin-top: 8px; letter-spacing: 0.04em; }
.episode .ep-dur { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--ink); padding-top: 4px; }
.episode.now-playing .ep-h { color: var(--accent); }
.episode.now-playing .ep-no::before { content: "▶ "; color: var(--accent); }

/* ---------- DOCUMENTS ---------- */
.docs-table {
  border-top: 2px solid var(--ink);
}
.doc-row {
  display: grid;
  grid-template-columns: 60px 5fr 2fr 1fr 1fr 60px;
  gap: 20px;
  padding: 22px 4px;
  border-bottom: 1.5px solid var(--rule);
  align-items: center;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 200ms ease, padding 220ms ease;
}
.doc-row:hover { background: var(--paper-2); padding-left: 12px; padding-right: 12px; }
.doc-row.header { color: var(--ink-2); pointer-events: none; padding-bottom: 14px; padding-top: 14px; text-transform: uppercase; font-size: 12px; letter-spacing: 0.14em; }
.doc-row.header:hover { background: transparent; padding-left: 4px; padding-right: 4px; }
.doc-row .doc-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.015em;
  text-transform: none;
}
.doc-row .doc-title em { font-style: normal; color: var(--accent); }
.doc-row .pill {
  display: inline-block;
  padding: 5px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.doc-row .arrow { color: var(--ink); font-size: 18px; transition: transform 200ms ease; }
.doc-row:hover .arrow { transform: translate(4px, -4px); }

/* ---------- GLOSSARY ---------- */
.glossary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.term {
  background: var(--paper);
  padding: 32px 32px 36px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
}
.term .t-no { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: 0.06em; }
.term .t-word {
  font-family: var(--serif);
  font-size: 40px; line-height: 1; letter-spacing: -0.018em;
  margin-bottom: 6px;
}
.term .t-word em { font-style: normal; color: var(--accent); }
.term .t-ipa { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--ink-2); margin-bottom: 16px; }
.term .t-def { font-size: 17px; line-height: 1.5; color: var(--ink); font-weight: 500; }
.term .t-def sup { color: var(--accent); font-family: var(--mono); font-size: 11px; font-weight: 700; }

/* ---------- MANIFESTO ---------- */
.manifesto {
  display: grid;
  grid-template-columns: 1fr 11fr;
  gap: 40px;
}
.manifesto-num {
  font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--ink);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.manifesto-body {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 60px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 24ch;
}
.manifesto-body em { font-style: normal; color: var(--accent); }
.manifesto-body p + p { margin-top: 0.6em; }

/* ---------- NEWSLETTER ---------- */
.newsletter {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(60px, 8vw, 100px) clamp(32px, 5vw, 80px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
[data-theme="dark"] .newsletter { background: var(--paper-3); color: var(--ink); }
.newsletter h2 {
  font-family: var(--serif);
  font-size: clamp(48px, 5.8vw, 88px);
  line-height: 0.98; letter-spacing: -0.022em;
}
.newsletter h2 em { font-style: normal; color: var(--terra); }
.newsletter .nl-form {
  display: flex;
  border-bottom: 2px solid currentColor;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
  margin-bottom: 16px;
}
.newsletter input {
  flex: 1;
  background: transparent;
  border: none;
  color: inherit;
  font-family: var(--serif);
  font-size: 26px;
  font-style: normal;
  padding: 4px 0;
  outline: none;
}
.newsletter input::placeholder { color: color-mix(in oklab, currentColor 50%, transparent); }
.newsletter button.submit {
  background: transparent;
  border: 1.5px solid currentColor;
  color: inherit;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 11px 20px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 200ms ease;
}
.newsletter button.submit:hover { background: currentColor; color: var(--ink); }
[data-theme="dark"] .newsletter button.submit:hover { color: var(--paper); }
.newsletter .nl-note { font-family: var(--mono); font-size: 13px; font-weight: 500; opacity: 0.75; letter-spacing: 0.04em; }

/* ---------- FOOTER ---------- */
.footer {
  padding-block: 56px;
  border-top: 1px solid var(--rule);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 64px;
}
.footer-grid h4 { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); margin-bottom: 20px; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; font-family: var(--mono); font-size: 14px; font-weight: 600; }
.footer-grid ul a:hover { color: var(--accent); }
.footer-grid .colophon { font-family: var(--serif); font-style: normal; font-size: 22px; line-height: 1.3; color: var(--ink); max-width: 32ch; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--ink-2);
  letter-spacing: 0.05em;
  border-top: 1.5px solid var(--rule);
  padding-top: 24px;
}

/* ---------- TWEAKS PANEL ---------- */
.tweaks-toggle {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 60;
  background: var(--ink); color: var(--paper);
  border: none;
  padding: 12px 18px;
  border-radius: 99px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tweaks-toggle .live-dot { background: var(--terra); }

.tweaks-panel {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 65;
  width: 280px;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 22px 22px 24px;
  display: none;
  font-family: var(--mono);
  box-shadow: 8px 8px 0 var(--ink);
}
.tweaks-panel.open { display: block; }
.tweaks-panel h5 { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; }
.tweaks-panel h5 button { background: transparent; border: none; cursor: pointer; font-family: inherit; color: var(--ink); font-size: 14px; }
.tweak-group { margin-bottom: 16px; }
.tweak-group label { display: block; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 8px; }
.tweak-options { display: flex; gap: 6px; flex-wrap: wrap; }
.tweak-options button {
  font-family: inherit;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink-2);
  padding: 5px 10px;
  cursor: pointer;
  transition: all 180ms ease;
}
.tweak-options button.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.swatch-row { display: flex; gap: 8px; }
.swatch {
  width: 36px; height: 36px;
  border: 1px solid var(--rule);
  cursor: pointer;
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr;
  overflow: hidden;
  transition: transform 150ms ease;
}
.swatch.active { outline: 2px solid var(--ink); outline-offset: 2px; }
.swatch:hover { transform: scale(1.05); }
.swatch i { display: block; }

/* ---------- DENSITY ---------- */
[data-density="loose"] { --density: 1.4; }
[data-density="tight"] { --density: 0.7; }
[data-motion="off"] { --motion: 0.0001; }
[data-motion="off"] * { animation-duration: 0s !important; transition-duration: 0s !important; }

/* ---------- RESPONSIVE ---------- */
/* ============ PER-SECTION COLOR DISTRIBUTION ============ */
/* matches the navbar pill order so each section "carries" its own pill color */
#bu-hafta { --accent: #a40000; }     /* terra   — pill 02 */
#arastirmalar { --accent: #14305a; } /* navy    — pill 03 */
#podcast { --accent: #3a4a3a; }      /* sage    — pill 04 */
#belgeler { --accent: #8a6614; }     /* ochre   — pill 05 */
#sozluk { --accent: #5a3a5e; }       /* plum    — pill 06 */
#manifesto { --accent: #1f3a2a; }    /* forest  — pill 07 */

/* turn the section number into a filled pill that echoes the nav badge */
.section-head .num {
  display: inline-block;
  background: var(--accent);
  color: #f6f1e2;
  padding: 7px 14px;
  border-radius: 99px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
[data-palette="ink"] #bu-hafta { --accent: #1f3fa8; }
[data-palette="ink"] #arastirmalar { --accent: #0a2280; }
[data-palette="ink"] #podcast { --accent: #1a1a1a; }
[data-palette="ink"] #belgeler { --accent: #5e4a14; }
[data-palette="ink"] #sozluk { --accent: #3a2a4a; }
[data-palette="ink"] #manifesto { --accent: #14302a; }
[data-palette="sage"] #bu-hafta { --accent: #a40000; }
[data-palette="sage"] #arastirmalar { --accent: #1a2a4a; }
[data-palette="sage"] #podcast { --accent: #2a3a2a; }
[data-palette="sage"] #belgeler { --accent: #6e5010; }
[data-palette="sage"] #sozluk { --accent: #4a2a4e; }
[data-palette="sage"] #manifesto { --accent: #16301f; }


@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav-inner { grid-template-columns: 1fr auto; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 8px;
    padding: 18px clamp(20px, 4vw, 56px) 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--rule-soft);
    box-shadow: 0 16px 28px -18px rgba(0,0,0,0.5);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease, transform 200ms ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { display: block; text-align: center; padding: 12px 16px; }
  .hero-meta { grid-template-columns: 1fr 1fr; gap: 16px 24px; }
  .hero-title .line-2, .hero-title .line-3 { padding: 0; text-align: left; }
  .hero-bottom, .featured, .podcast-wrap, .newsletter, .footer-grid { grid-template-columns: 1fr; }
  .research-grid .card, .research-grid .card.wide { grid-column: span 12; }
  .glossary { grid-template-columns: 1fr; }
  .doc-row { grid-template-columns: 40px 1fr 80px 40px; }
  .doc-row .doc-journal, .doc-row .doc-year { display: none; }
  .cite-block { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; align-items: flex-start; }
  .icon-btn { width: 40px; height: 40px; }
  .lang-btn { padding: 8px 14px; font-size: 13px; }
}

/* ==================================================================
   ACCESSIBILITY, REVEAL & COMPONENTS (production hardening)
   ================================================================== */

/* skip link */
.skip-link {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 6px;
  transition: top 160ms ease;
}
.skip-link:focus { top: 12px; }

/* visible focus everywhere */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}
.nav-links a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }

/* reveal animation — gated by .js so no-JS users still see content */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1100ms ease, transform 1100ms ease;
  will-change: opacity, transform;
}
.js [data-reveal].revealed { opacity: 1; transform: none; }

/* filter hide */
.research-grid .card.is-hidden { display: none; }
.filter-count {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  margin-left: auto;
  text-transform: uppercase;
}

/* mobile nav toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  padding: 0 11px;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* hero disclaimer */
.disclaimer {
  margin-top: clamp(28px, 4vw, 48px);
  padding: 14px 18px;
  border: 1px solid var(--rule-soft);
  border-left: 3px solid var(--accent);
  border-radius: 2px;
  background: var(--paper-2);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-2);
  letter-spacing: 0.02em;
  max-width: 70ch;
}

/* featured study extras */
.stat-caveat {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-mute);
  letter-spacing: 0.03em;
  max-width: 46ch;
}
.stat-caveat em { font-style: normal; color: var(--ink-2); font-weight: 700; }
.stat-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
}
.stat-strong { color: var(--ink); }
.source-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 3px;
}
.source-link .arrow { transition: transform 180ms ease; }
.source-link:hover .arrow { transform: translate(3px, -3px); }

/* research card DOI line */
.research-grid .card {
  text-decoration: none;
  color: inherit;
}
.card-doi {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  word-break: break-word;
}
.research-grid .card.dark .card-doi { color: color-mix(in oklab, var(--paper) 55%, transparent); }

/* podcast preview note + episode button focus */
.player-note {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.7;
}
.time-end { margin-left: auto; }
.episode .ep-main { display: block; }

/* about section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.about-block {
  background: var(--paper);
  padding: 32px;
}
.about-block h3 {
  font-size: 28px;
  margin-bottom: 14px;
}
.about-block p { font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.about-block a { color: var(--accent); border-bottom: 1px solid currentColor; }
.about-muted { color: var(--ink-mute); font-size: 13px; }

/* references */
.refs {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 20px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-2);
  letter-spacing: 0.02em;
  max-width: 100ch;
}
.refs .ref-no { color: var(--accent); font-weight: 700; }
.refs .ref-em { color: var(--ink); }
.refs a { color: var(--accent); border-bottom: 1px solid currentColor; }
.note-line {
  margin-top: 32px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
}
.note-line-tight { margin-top: 22px; font-size: 12px; }

/* ---------- TÜRKÇE ÖZET / AÇILIR PANELLER ---------- */
.research-grid .card { cursor: default; }
.research-grid .card:hover { background: var(--paper-2); }

.card-summary { margin-top: auto; }
.card-summary > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 14px;
  border: 1.5px solid currentColor;
  border-radius: 99px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: fit-content;
  transition: background 160ms ease, color 160ms ease;
}
.card-summary > summary::-webkit-details-marker { display: none; }
.card-summary > summary:hover { background: var(--ink); color: var(--paper); }
.research-grid .card.dark .card-summary > summary:hover { background: var(--paper); color: var(--ink); }
.sum-chev {
  width: 9px; height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-1px,-1px);
  transition: transform 200ms ease;
}
.card-summary[open] > summary .sum-chev { transform: rotate(-135deg); }
.summary-body {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--rule-soft);
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.55;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}
.summary-body p { margin-bottom: 10px; max-width: 64ch; }
.summary-body p strong { color: var(--accent); font-weight: 700; }
.research-grid .card.dark .summary-body { color: color-mix(in oklab, var(--paper) 88%, transparent); }
.research-grid .card.dark .summary-body p strong { color: #ff9d9d; }
.summary-body .source-link { margin-top: 12px; font-size: 12px; }
.research-grid .card.dark .summary-body .source-link { color: #ff9d9d; }
.featured-summary { margin-top: 22px; }
.featured-summary > summary { color: var(--accent); }

/* belgeler — açılır */
.doc-item { border-bottom: 1.5px solid var(--rule); }
.doc-item > summary {
  list-style: none;
  cursor: pointer;
}
.doc-item > summary::-webkit-details-marker { display: none; }
.doc-item > summary.doc-row { border-bottom: 0; }
.doc-item > summary.doc-row:hover { background: var(--paper-2); padding-left: 12px; padding-right: 12px; }
.doc-chev {
  justify-self: end;
  width: 9px; height: 9px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
  transition: transform 200ms ease;
}
.doc-item[open] > summary .doc-chev { transform: rotate(-135deg); }
.doc-summary {
  padding: 4px 4px 26px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--ink-2);
  text-transform: none;
  letter-spacing: 0;
  max-width: 92ch;
}
.doc-summary p { margin-bottom: 10px; }
.doc-summary p strong { color: var(--accent); font-weight: 700; }
.doc-summary .source-link { margin-top: 10px; font-size: 12px; }
.doc-item[open] > summary.doc-row { background: var(--paper-2); }

/* podcast — Spotify-backed */
.player-link { display: block; text-decoration: none; transition: transform 200ms ease; }
.player-link:hover { transform: translateY(-2px); }
.spotify-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 4px;
  padding: 13px 22px;
  border-radius: 99px;
  background: #1db954;
  color: #07120a;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.player-link:hover .spotify-btn { filter: brightness(1.06); }
.spotify-btn .arrow { transition: transform 180ms ease; }
.player-link:hover .spotify-btn .arrow { transform: translate(3px, -3px); }

.episode-list .ep-group {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 28px 0 4px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--rule);
}
.episode-list .ep-group:first-child { margin-top: 0; }
.episode-list ul { list-style: none; }
a.episode { text-decoration: none; color: inherit; }
a.episode:hover { background: var(--paper-2); padding-left: 8px; }
.episode .ep-dur { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.episode .ep-dur .arrow { color: var(--accent); }

/* newsletter disabled state */
.newsletter input:disabled,
.newsletter button.submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.newsletter button.submit:disabled:hover { background: transparent; color: inherit; }
.nl-lede { margin-top: 18px; opacity: 0.75; max-width: 42ch; }

/* small layout utilities (replace inline styles) */
.nudge-b { margin-bottom: 14px; }
.nudge-t { margin-top: 14px; }
.section-paper2 { background: var(--paper-2); }
.section-head-strong { border-color: var(--ink); }
.section-tight { padding-block: calc(44px * var(--density)); }
.section-flush { padding-block: 0; }
.frame-flush { padding: 0; }
.manifesto-gap { margin-top: 64px; }
.eyebrow-soft { color: inherit; opacity: 0.7; }
.footer-info { color: var(--ink-mute); line-height: 1.5; }
.footer-typeface { font-family: var(--serif); font-style: normal; color: var(--accent); }
.long-wrap { overflow-wrap: anywhere; }

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- RESPONSIVE OVERRIDES (must follow component rules) ---------- */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .refs { grid-template-columns: auto 1fr; }
  .refs span:nth-child(even) { overflow-wrap: anywhere; word-break: break-word; }
  .stat-grid { grid-template-columns: 1fr; }
  .cite-block { grid-template-columns: 1fr 1fr; }
  .about-block { padding: 24px; }
  .player { position: static; }
}

/* ---------- ARTICLES (§07) ---------- */
.hero-stats .dot-art { width: 11px; height: 11px; border-color: var(--terra); background: color-mix(in oklab, var(--terra) 40%, transparent); }
.nav-links a:nth-child(8) { background: #1e3a5f; }

.articles-list { display: flex; flex-direction: column; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.article-full { background: var(--paper); padding: clamp(28px, 4vw, 52px); }
.article-full:hover { background: var(--paper); }

.article-header { margin-bottom: clamp(22px, 3vw, 38px); }
.article-tag-row { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; }
.article-num { opacity: 0.5; }
.article-read { opacity: 0.5; }

.article-title { font-family: var(--serif); font-size: clamp(26px, 3.6vw, 50px); line-height: 1.06; letter-spacing: -0.018em; margin-bottom: 14px; }
.article-title em { font-style: normal; color: var(--accent); }
.article-lede { font-size: 18px; line-height: 1.62; color: var(--ink-2); max-width: 64ch; }

.article-grid { display: grid; grid-template-columns: 1fr 360px; gap: clamp(24px, 4vw, 52px); align-items: start; }
.article-body p { line-height: 1.72; max-width: 64ch; margin-bottom: 18px; color: var(--ink-2); }
.article-body p em { color: var(--accent); font-style: italic; }
.article-body p strong { color: var(--ink); font-weight: 700; }

.article-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin: 28px 0 16px; }
.article-stat { background: var(--paper); padding: 18px 14px; }
.article-stat-num { font-family: var(--serif); font-size: clamp(24px, 2.8vw, 38px); line-height: 1; letter-spacing: -0.02em; color: var(--terra); margin-bottom: 6px; }
.article-stat-label { font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.03em; color: var(--ink-2); line-height: 1.45; }

.article-figure { position: sticky; top: 90px; }
.article-figure figcaption { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 10px; }
.article-infographic { background: var(--paper-2); padding: 20px; border: 1px solid var(--rule-soft); }
.article-svg { width: 100%; height: auto; display: block; }
.article-cite { font-family: var(--mono); font-size: 11.5px; font-weight: 500; color: var(--ink-mute); opacity: 0.75; }

html[lang="en"] .svg-tr { display: none; }
html[lang="tr"] .svg-en { display: none; }

@media (max-width: 980px) {
  .article-grid { grid-template-columns: 1fr; }
  .article-figure { position: static; margin-top: 32px; }
}
@media (max-width: 620px) {
  .article-stats { grid-template-columns: 1fr; }
  .article-full { padding: 24px 18px; }
}

.physics-word {
  display: inline-block;
  position: relative;
  will-change: transform;
  cursor: pointer;
  transition: none !important;
}
