/* The 48 Threads of Connection · shared stylesheet (extracted from content.html) */

/* ─── Reset & Base (carried over from index.html) ───────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:             #0b0c10;
  --surface:        #111318;
  --accent:         #c8a96e;
  --accent-dim:     #8a6f42;
  --text-primary:   #f0ece4;
  --text-secondary: #9a9490;
  --thread:         rgba(200, 169, 110, 0.55);
  --thread-glow:    rgba(200, 169, 110, 0.12);
  --rule:           rgba(200, 169, 110, 0.22);
  --display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  color-scheme: dark;
}

html { scroll-padding-top: 1.5rem; }

html, body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(200, 169, 110, 0.28); color: var(--text-primary); }
a { color: inherit; }
[hidden] { display: none !important; }

/* ─── Threads behind the hero ───────────────────────────────────── */
.threads {
  position: absolute;
  top: 0; left: 50%;
  width: max(100%, 75rem);
  height: 30rem;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 35%, #000 0%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 35%, #000 0%, transparent 100%);
  opacity: 0.85;
}
.threads line { stroke: var(--accent); stroke-width: 0.7; }

/* ─── Canvas background + overlay ───────────────────────────────── */
#thread-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.7;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 55% at 50% 30%, transparent 25%, var(--bg) 100%),
    linear-gradient(to bottom, rgba(11,12,16,0.25) 0%, rgba(11,12,16,0.82) 60%, var(--bg) 100%);
  pointer-events: none;
}

/* ─── Top bar (from the episode page) ───────────────────────────── */
.bar {
  position: relative; z-index: 2;
  max-width: 60rem; margin: 0 auto;
  padding: 1.4rem 1.25rem 0;
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.wordmark {
  font-family: var(--display);
  font-size: 1rem; font-weight: 400; letter-spacing: -0.01em;
  text-decoration: none; color: var(--text-primary);
}
.wordmark span { color: var(--accent); }
.crumbs {
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-secondary);
}
.crumbs a { text-decoration: none; }
.crumbs a:hover, .crumbs a:focus-visible { color: var(--accent); outline: none; }
.crumbs b { font-weight: 500; color: var(--accent); }

/* ─── Page layout ───────────────────────────────────────────────── */
.page {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
  padding-block: 4rem 4rem;
  padding-inline: 1.25rem;
}

/* ─── Hero ──────────────────────────────────────────────────────── */
.hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 4.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.8rem;
  animation: fadeUp 0.9s ease both;
}
.eyebrow::before, .eyebrow::after {
  content: '';
  display: block;
  width: 2.5rem;
  height: 1px;
  background: var(--accent-dim);
  flex-shrink: 0;
}

.title {
  font-family: var(--display);
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 16ch;
  text-wrap: balance;
  animation: fadeUp 1s ease 0.15s both;
}

.subtitle {
  font-family: var(--display);
  font-size: clamp(1.5rem, 4.4vw, 2.4rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 20ch;
  text-wrap: balance;
  animation: fadeUp 1s ease 0.15s both;
}
.subtitle em {
  font-style: normal;
  font-weight: 600;
  background: linear-gradient(135deg, #e8d5a8 0%, #c8a96e 50%, #9a7040 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.thread-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.2rem auto;
  width: min(28rem, 90%);
  animation: fadeUp 1s ease 0.3s both;
}
.thread-divider span {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent-dim), transparent);
}
.thread-divider svg { flex-shrink: 0; color: var(--accent); }

.tagline {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 46ch;
  text-wrap: balance;
  animation: fadeUp 1s ease 0.45s both;
}
.tagline strong { color: var(--text-primary); font-weight: 400; }

/* ─── Sections ──────────────────────────────────────────────────── */
.sections { display: flex; flex-direction: column; gap: 4rem; }
section { display: flex; flex-direction: column; gap: 1.1rem; }

.label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.label::before {
  content: '';
  display: block;
  width: 1.6rem;
  height: 1px;
  background: var(--accent-dim);
}

h2 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 3.4vw, 2.05rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p { max-width: 62ch; }
.muted { color: var(--text-secondary); }

sup {
  font-size: 0.65em;
  line-height: 0;
  vertical-align: super;
  color: var(--accent);
  font-weight: 400;
}
sup a { color: inherit; text-decoration: none; }

/* ─── Principles list ───────────────────────────────────────────── */
.principles { list-style: none; display: flex; flex-direction: column; margin-block: 0.2rem; }
.principles li {
  display: grid; grid-template-columns: 2.6rem 1fr; column-gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
}
.principles li:last-child { border-bottom: 1px solid var(--rule); }
.principles .n {
  font-family: var(--display); font-size: 1.3rem; font-weight: 300; line-height: 1.35;
  color: var(--accent);
}

/* ─── Beams index ───────────────────────────────────────────────── */
.beams {
  list-style: none;
  display: grid;
  grid-template-columns: max-content 1fr max-content;
  column-gap: 1rem;
  row-gap: 0.55rem;
  align-items: center;
  margin-block: 0.4rem 0.2rem;
  max-width: 36rem;
}
.beams li { display: contents; }
.beams a { text-decoration: none; }
.beams .thread {
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.beams a:hover, .beams a:focus-visible { color: var(--accent); outline: none; }
.beams .line {
  height: 1px;
  background: linear-gradient(to right, var(--accent-dim), transparent);
  opacity: 0.8;
}
.beams .image { font-size: 0.95rem; color: var(--text-secondary); white-space: nowrap; }

/* ─── Quotation ─────────────────────────────────────────────────── */
.anchor { padding-left: 1.4rem; border-left: 1px solid var(--accent-dim); margin-block: 0.4rem; }
.anchor blockquote {
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.8vw, 1.5rem); font-weight: 300; line-height: 1.4; letter-spacing: -0.01em;
  text-wrap: pretty;
}

/* ─── Buttons ───────────────────────────────────────────────────── */
.btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  border: 1px solid var(--accent-dim);
  border-radius: 100px;
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(200, 169, 110, 0.06);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover, .btn:focus-visible {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  outline: none;
}
.btn:focus-visible { box-shadow: 0 0 0 3px var(--thread-glow); }

/* ─── Onward: back and forward links (from the episode page) ────── */
.onward { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.neighbours { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--rule); }
.neighbours a { text-decoration: none; display: block; }
.neighbours a:last-child { text-align: right; }
.neighbours .k { display: block; font-size: 0.62rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-secondary); }
.neighbours .v { font-family: var(--display); font-size: 1.12rem; font-weight: 500; letter-spacing: -0.01em; transition: color 0.2s; }
.neighbours a:hover .v, .neighbours a:focus-visible .v { color: var(--accent); }
.neighbours a:focus-visible { outline: none; }

/* ─── Notes & footer ────────────────────────────────────────────── */
.notes {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.notes p { max-width: none; }

footer {
  position: relative;
  z-index: 2;
  padding: 1.5rem 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  text-align: center;
}
footer a {
  color: var(--accent-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
footer a:hover { color: var(--accent); border-color: var(--accent-dim); }

/* ─── Cookie consent (carried over from index.html) ─────────────── */
.consent {
  position: fixed;
  left: 50%;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 10;
  width: min(40rem, calc(100% - 2rem));
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--rule);
  border-radius: 1rem;
  background: rgba(17, 19, 24, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  font-size: 0.86rem;
  line-height: 1.55;
}
.consent p { max-width: none; }

.consent-head {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.consent-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.consent .btn { padding: 0.65rem 1.3rem; font-size: 0.72rem; }

.btn-ghost { background: transparent; border-color: var(--rule); color: var(--text-secondary); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: rgba(200,169,110,0.08); color: var(--accent); border-color: var(--accent-dim); }

.btn-text {
  background: none;
  border: 0;
  padding: 0.65rem 0.4rem;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  cursor: pointer;
  margin-left: auto;
}
.btn-text:hover, .btn-text:focus-visible { color: var(--accent); outline: none; }

.consent-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--rule);
}

.opt {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 1rem;
  align-items: center;
  padding: 0.55rem 0;
}
.opt-name { grid-column: 1; grid-row: 1; font-weight: 400; }
.opt-desc { grid-column: 1; grid-row: 2; font-size: 0.78rem; color: var(--text-secondary); }
.opt-always { grid-column: 2; grid-row: 1 / span 2; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-dim); }

.switch { grid-column: 2; grid-row: 1 / span 2; position: relative; width: 2.6rem; height: 1.5rem; flex-shrink: 0; }
.switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.switch span {
  position: absolute;
  inset: 0;
  border-radius: 100px;
  border: 1px solid var(--accent-dim);
  background: rgba(11, 12, 16, 0.85);
  transition: background 0.2s, border-color 0.2s;
  pointer-events: none;
}
.switch span::after {
  content: '';
  position: absolute;
  top: 0.2rem;
  left: 0.2rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--text-secondary);
  transition: transform 0.2s, background 0.2s;
}
.switch input:checked + span { background: rgba(200,169,110,0.22); border-color: var(--accent); }
.switch input:checked + span::after { transform: translateX(1.1rem); background: var(--accent); }
.switch input:focus-visible + span { box-shadow: 0 0 0 3px var(--thread-glow); }

/* ─── Keyframes ─────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .eyebrow, .title, .subtitle, .thread-divider, .tagline { animation: none; }
}

/* ─── Responsive ────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .page { padding-block: 3rem 3rem; }
  .eyebrow::before, .eyebrow::after { width: 1.2rem; }
  .beams { grid-template-columns: max-content 1fr; }
  .beams .image { grid-column: 1 / -1; margin-top: -0.35rem; margin-bottom: 0.3rem; white-space: normal; }
  .beams .line { display: none; }
  .consent { padding: 1.1rem 1.1rem; }
  .consent .btn { flex: 1 1 auto; }
  .btn-text { margin-left: 0; }
}

/* ════════════════════════════════════════════════════════════════════
   Home page (index) additions
   ════════════════════════════════════════════════════════════════════ */

/* ─── Utilities ─────────────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ─── Hero: larger subtitle on the home page ────────────────────── */
.subtitle-lg {
  font-size: clamp(2rem, 7vw, 3.8rem);
  line-height: 1.05;
  max-width: 16ch;
}

.lead {
  font-family: var(--display);
  font-size: 1.22rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-primary);
}

/* ─── Axes list ─────────────────────────────────────────────────── */
.axes {
  list-style: none;
  display: grid;
  grid-template-columns: max-content 1fr max-content;
  column-gap: 1rem;
  row-gap: 0.55rem;
  align-items: center;
  margin-block: 0.4rem 0.6rem;
  max-width: 36rem;
}
.axes li { display: contents; }
.axes .thread {
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.axes .line {
  height: 1px;
  background: linear-gradient(to right, var(--accent-dim), transparent);
  opacity: 0.8;
}
.axes .restraint { font-size: 0.95rem; color: var(--text-secondary); white-space: nowrap; }

/* ─── Dash list ("not on offer", preview links) ─────────────────── */
.not {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-width: 62ch;
}
.not li {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0.6rem;
  align-items: baseline;
}
.not li::before {
  content: '';
  display: block;
  width: 0.7rem;
  height: 1px;
  background: var(--accent-dim);
  transform: translateY(-0.35em);
}
.not li a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.not li a:hover, .not li a:focus-visible { border-color: var(--accent-dim); outline: none; }

/* ─── Contact card + newsletter sign-up ─────────────────────────── */
.contact {
  margin-top: 0.5rem;
  padding: 2.4rem 2rem;
  border: 1px solid var(--rule);
  border-radius: 1.25rem;
  background: rgba(17, 19, 24, 0.72);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.signup { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 0.4rem; }
.signup input {
  flex: 1 1 14rem;
  min-width: 0;
  padding: 0.85rem 1.3rem;
  border: 1px solid var(--accent-dim);
  border-radius: 100px;
  background: rgba(11, 12, 16, 0.85);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.signup input::placeholder { color: var(--text-secondary); }
.signup input:focus-visible { border-color: var(--accent); box-shadow: 0 0 0 3px var(--thread-glow); }

.signup .btn { position: relative; overflow: hidden; }
.signup .btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(200,169,110,0.14) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: shimmer 3s ease 2s infinite;
  pointer-events: none;
}

.fine { font-size: 0.78rem; letter-spacing: 0.04em; color: var(--text-secondary); }

/* ─── Links in the notes ────────────────────────────────────────── */
.notes a {
  color: var(--accent-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.notes a:hover, .notes a:focus-visible { color: var(--accent); border-color: var(--accent-dim); outline: none; }

@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

@media (prefers-reduced-motion: reduce) {
  .signup .btn::after { animation: none; }
}

@media (max-width: 480px) {
  .contact { padding: 1.8rem 1.25rem; }
  .axes { grid-template-columns: max-content 1fr; }
  .axes .restraint { grid-column: 1 / -1; margin-top: -0.35rem; margin-bottom: 0.3rem; }
  .axes .line { display: none; }
}

/* ════════════════════════════════════════════════════════════════════
   Episode page additions
   ════════════════════════════════════════════════════════════════════ */

/* ─── Draft ribbon: shown when <body data-status="draft"> ───────── */
.ribbon {
  display: none;
  position: relative; z-index: 2;
  max-width: 42rem; margin: 1.2rem auto 0; padding: 0 1.25rem;
  font-size: 0.72rem; letter-spacing: 0.04em; color: var(--text-secondary); text-align: center;
}
body[data-status="draft"] .ribbon { display: block; }
.ribbon span { border: 1px dashed var(--accent-dim); border-radius: 100px; padding: 0.3rem 0.9rem; display: inline-block; }

/* ─── Hero: working title + facts strip ─────────────────────────── */
.working {
  margin-top: 0.9rem;
  font-family: var(--display);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 600; letter-spacing: -0.01em; line-height: 1.2;
  background: linear-gradient(135deg, #e8d5a8 0%, #c8a96e 50%, #9a7040 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--accent);
}

.facts {
  list-style: none;
  margin-top: 2.4rem;
  display: grid; grid-template-columns: repeat(4, auto); justify-content: center;
  column-gap: 2.2rem; row-gap: 1rem;
  text-align: left;
}
.facts .k {
  display: block;
  font-size: 0.62rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-secondary);
}
.facts .v { display: block; font-family: var(--display); font-size: 1.05rem; font-weight: 500; letter-spacing: -0.01em; }

/* ─── Key messages ──────────────────────────────────────────────── */
.messages { list-style: none; display: flex; flex-direction: column; margin-top: 0.4rem; }
.messages li {
  display: grid; grid-template-columns: 2.6rem 1fr; column-gap: 1rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--rule);
}
.messages li:last-child { border-bottom: 1px solid var(--rule); }
.messages .n {
  font-family: var(--display); font-size: 1.5rem; font-weight: 300; line-height: 1.2;
  color: var(--accent); font-variant-numeric: tabular-nums;
}
.messages .head { font-family: var(--display); font-size: 1.22rem; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; }
.messages .line { color: var(--text-secondary); margin-top: 0.25rem; }

/* ─── Quotation source ──────────────────────────────────────────── */
.anchor cite { display: block; margin-top: 0.8rem; font-style: normal; font-size: 0.86rem; color: var(--text-secondary); }

/* ─── Episode: three videos ─────────────────────────────────────── */
.episode-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 1.5rem; flex-wrap: wrap; }
.episode-head h2 { margin-top: 1.1rem; }
.videos { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; margin-top: 0.4rem; }
.video {
  display: grid; grid-template-columns: 3.4rem 1fr; column-gap: 1.2rem;
  padding: 1.5rem 1.5rem 1.6rem;
  border: 1px solid var(--rule); border-radius: 1.25rem;
  background: rgba(17, 19, 24, 0.72);
}
.video .n { font-family: var(--display); font-size: 2.4rem; font-weight: 200; line-height: 1; color: var(--accent); }
.video .kind {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.9rem;
  font-size: 0.62rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-secondary);
}
.video .kind b { font-weight: 500; color: var(--accent); }
.video h3 {
  font-family: var(--display); font-size: 1.3rem; font-weight: 500; line-height: 1.25; letter-spacing: -0.01em;
  margin-top: 0.35rem; text-wrap: balance;
}
.video .sum { margin-top: 0.6rem; color: var(--text-secondary); }
.video .listen { margin-top: 0.8rem; font-size: 0.92rem; }
.video .listen b { font-weight: 500; color: var(--accent); letter-spacing: 0.02em; }
.video .act { margin-top: 1.1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; }

/* Video states: data-state="pending" hides the button, shows the note */
.pending-note {
  display: none;
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-secondary);
  border: 1px dashed var(--rule); border-radius: 100px; padding: 0.5rem 1rem;
}
.video[data-state="pending"] .pending-note { display: inline-block; }
.video[data-state="pending"] .btn { display: none; }

.btn svg { flex-shrink: 0; }

/* ─── Meets / presses ───────────────────────────────────────────── */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 0.3rem; }
.pair h3 { font-family: var(--display); font-size: 1.12rem; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 0.4rem; }
.pair > div { padding-top: 1rem; border-top: 1px solid var(--rule); }

/* ─── Question card ─────────────────────────────────────────────── */
.question {
  padding: 2.4rem 2rem;
  border: 1px solid var(--rule); border-radius: 1.25rem;
  background: rgba(17, 19, 24, 0.72);
  text-align: center; align-items: center;
}
.question .q {
  font-family: var(--display);
  font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 400; line-height: 1.35; letter-spacing: -0.01em;
  max-width: 30ch; text-wrap: balance;
}

@media (max-width: 600px) {
  .facts { grid-template-columns: repeat(2, auto); column-gap: 2.5rem; }
  .video { grid-template-columns: 1fr; row-gap: 0.6rem; padding: 1.3rem 1.2rem 1.4rem; }
  .video .n { font-size: 1.8rem; }
  .pair { grid-template-columns: 1fr; gap: 1.4rem; }
  .question { padding: 2rem 1.3rem; }
}

/* ════════════════════════════════════════════════════════════════════
   Episodes index additions
   ════════════════════════════════════════════════════════════════════ */

.episodes { list-style: none; display: flex; flex-direction: column; margin-top: 0.4rem; }
.episodes li { border-top: 1px solid var(--rule); }
.episodes li:last-child { border-bottom: 1px solid var(--rule); }

.ep {
  display: grid;
  grid-template-columns: 2.6rem 1fr max-content;
  column-gap: 1rem;
  align-items: baseline;
  padding: 1rem 0.4rem;
  text-decoration: none;
  transition: background 0.2s;
}
.ep:hover, .ep:focus-visible { background: rgba(200, 169, 110, 0.06); outline: none; }
.ep:focus-visible { box-shadow: 0 0 0 3px var(--thread-glow); }

.ep .n {
  font-family: var(--display); font-size: 1.5rem; font-weight: 300; line-height: 1.2;
  color: var(--accent); font-variant-numeric: tabular-nums;
}
.ep-body { display: flex; flex-direction: column; min-width: 0; }
.ep-thread {
  font-size: 0.62rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-secondary);
}
.ep-concept {
  font-family: var(--display); font-size: 1.22rem; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em;
  transition: color 0.2s;
}
.ep:hover .ep-concept, .ep:focus-visible .ep-concept { color: var(--accent); }
.ep-working { color: var(--text-secondary); }
.ep-axis {
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

@media (max-width: 480px) {
  .ep { grid-template-columns: 2.2rem 1fr; }
  .ep-axis { grid-column: 2; margin-top: 0.3rem; }
}
