/* =========================================================
   The Artist Must Take Sides — Study Companion
   Visual language adapted from The People's Forum
   course deck (The Weapon of Culture, 2026).
   Built by Radical Imagination · CC-BY 4.0
   ========================================================= */

/* ---------- Tokens ---------- */

:root {
  /* Adapted directly from The People's Forum visual system —
     oxblood + red-orange from the Weapon of Culture deck,
     safety-yellow from the Resources & Materials page */
  --oxblood:       #3b0a08;  /* primary background — the burgundy */
  --oxblood-deep:  #2a0604;
  --orange:        #e94b25;  /* the signature red-orange */
  --orange-hot:    #ff4a21;
  --yellow:        #ffe600;  /* the PF resource page yellow */
  --yellow-deep:   #f5d600;
  --ink:           #0a0806;
  --cream:         #f6ecd7;
  --white:         #ffffff;
  --rule:          #5a1410;
  --rule-orange:   rgba(233, 75, 37, 0.45);
  --rule-yellow:   rgba(255, 230, 0, 0.55);

  --font-display:  "Anton", "Oswald", Impact, "Arial Narrow Bold", sans-serif;
  --font-slab:     "Alfa Slab One", "Rockwell", "Roboto Slab", Georgia, serif;
  --font-body:     "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono:     ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --font-italic:   "Open Sans", Georgia, serif;

  --measure:   65ch;
  --gutter:    clamp(16px, 4vw, 48px);
  --section-pad: clamp(48px, 9vw, 140px);

  color-scheme: dark;
}

/* ---------- Reset + base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--oxblood);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; border-bottom: 1px solid rgba(233,75,37,0.4); transition: all 160ms ease; }
a:hover { color: var(--orange-hot); border-bottom-color: var(--orange-hot); }
::selection { background: var(--yellow); color: var(--oxblood); }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400; /* Anton is 400 only */
  line-height: 0.98;
  letter-spacing: 0;
  color: var(--orange);
  text-transform: uppercase;
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(56px, 9vw, 128px); }
h2 { font-size: clamp(36px, 5.5vw, 72px); }
h3 {
  font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: 0.01em;
}
h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--orange);
  line-height: 1.4;
}

p { margin: 0 0 1.1em; max-width: var(--measure); }
strong { color: var(--white); font-weight: 700; }
em { color: var(--white); font-style: italic; }

.eyebrow {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 20px;
  display: inline-block;
}

blockquote {
  margin: 2em 0;
  padding: 0 0 0 28px;
  border-left: 3px solid var(--orange);
  font-family: var(--font-body);
  font-size: 22px;
  line-height: 1.45;
  color: var(--white);
  max-width: var(--measure);
  font-weight: 400;
}
blockquote cite {
  display: block;
  margin-top: 14px;
  font-style: italic;
  font-size: 14px;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.06em;
}

hr {
  border: 0;
  border-top: 1px dotted var(--rule-orange);
  margin: 56px 0;
}

/* ---------- Layout ---------- */

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 880px; }
.section { padding: var(--section-pad) 0; }

/* ---------- Header + Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--oxblood-deep);
  border-bottom: 3px solid var(--orange);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--gutter);
  gap: 24px;
}
.site-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  text-transform: uppercase;
  color: var(--orange);
  letter-spacing: 0.01em;
  border-bottom: 0;
}
.site-title small {
  display: block;
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  margin-top: 2px;
  opacity: 0.7;
}
.site-title:hover { color: var(--orange-hot); }

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.tabs a {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  border-bottom: 2px solid transparent;
  padding: 8px 0;
  opacity: 0.8;
}
.tabs a:hover { opacity: 1; color: var(--orange); }
.tabs a.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
  opacity: 1;
}

@media (max-width: 880px) {
  .site-header__inner { flex-direction: column; align-items: flex-start; }
  .tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .tabs a { white-space: nowrap; padding: 14px 6px; min-height: 44px; display: inline-flex; align-items: center; }
}

/* ---------- Tab panels ---------- */

.panel { display: none; }
.panel.active { display: block; animation: fadeIn 280ms ease both; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Slide-style hero bar
   (matches the "CULTURE IS A BATTLEFIELD" poster slide)
   ============================================ */

.slide-hero {
  background: var(--orange);
  padding: clamp(60px, 11vw, 140px) var(--gutter);
  margin: 0;
  position: relative;
}
.slide-hero__inner { max-width: 1400px; margin: 0 auto; }
.slide-hero__eyebrow {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(11px, 1.4vw, 15px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin: 0 0 22px;
  opacity: 0.85;
}
.slide-hero__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 11vw, 168px);
  line-height: 0.88;
  color: var(--oxblood);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.slide-hero__sub {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(14px, 1.4vw, 17px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin: 28px 0 0;
  opacity: 0.85;
}

/* Poster-strip variant: shown on session heroes */
.poster-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  max-width: 1100px;
  margin: 40px auto 0;
}
.poster-strip__item {
  aspect-ratio: 2/3;
  background: var(--oxblood);
  border: 1px solid var(--oxblood-deep);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--orange);
  text-align: center;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
@media (max-width: 640px) {
  .poster-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Opening hero (the landing title card) ---------- */

.hero {
  background: var(--orange);
  padding: clamp(80px, 14vw, 180px) var(--gutter) clamp(60px, 10vw, 120px);
}
.hero__inner { max-width: 1400px; margin: 0 auto; }
.hero__epigraph {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
  color: var(--oxblood);
  max-width: 34ch;
  margin: 0 0 12px;
}
.hero__attrib {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin: 0 0 52px;
  opacity: 0.9;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(56px, 13vw, 200px);
  line-height: 0.88;
  letter-spacing: -0.005em;
  color: var(--oxblood);
  text-transform: uppercase;
  margin: 0 0 28px;
  max-width: 14ch;
}
.hero__title em {
  font-style: normal;
  color: var(--white);
}
.hero__sub {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(17px, 1.7vw, 22px);
  color: var(--oxblood);
  max-width: 58ch;
  opacity: 0.9;
  margin: 0 0 48px;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 48px;
  padding-top: 28px;
  border-top: 2px solid var(--oxblood);
}
.hero__meta div {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--oxblood);
  opacity: 0.85;
}
.hero__meta div b {
  display: block;
  margin-top: 6px;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  opacity: 1;
}

/* ---------- Session map grid ---------- */

.session-map {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px;
  background: var(--oxblood-deep);
  border: 2px solid var(--oxblood-deep);
  margin: 48px 0;
}
.session-map__cell {
  background: var(--oxblood);
  padding: 32px 28px 36px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: 3px solid transparent;
}
.session-map__cell.live {
  background: var(--orange);
  border-bottom-color: var(--oxblood);
}
.session-map__cell.ghost { opacity: 0.42; }
.session-map__num {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.session-map__cell.live .session-map__num { color: var(--oxblood); opacity: 0.75; }
.session-map__cell.ghost .session-map__num { color: var(--cream); }
.session-map__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1;
  text-transform: uppercase;
  margin: 16px 0 18px;
}
.session-map__cell.live .session-map__title { color: var(--oxblood); }
.session-map__cell.ghost .session-map__title { color: var(--cream); }
.session-map__cta {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.session-map__cell.live a.session-map__cta {
  color: var(--oxblood);
  border-bottom-color: var(--oxblood);
}
.session-map__cell.live a.session-map__cta:hover { color: var(--white); border-bottom-color: var(--white); }
.session-map__cell.ghost .session-map__cta { color: var(--cream); opacity: 0.7; }

/* ---------- Source list ---------- */

.source-list {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  border-top: 2px solid var(--orange);
}
.source-list li { border-bottom: 1px dotted var(--rule-orange); }
.source-list a {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  align-items: baseline;
  gap: 28px;
  padding: 24px 0;
  border-bottom: 0;
  color: var(--cream);
}
.source-list a:hover { background: rgba(233, 75, 37, 0.06); }
.source-list__num {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.02em;
  color: var(--orange);
}
.source-list__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.04;
  color: var(--white);
  text-transform: uppercase;
}
.source-list__author {
  display: block;
  margin-top: 8px;
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  font-size: 15px;
  color: var(--cream);
  opacity: 0.85;
  text-transform: none;
}
.source-list__form {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--orange);
  align-self: center;
}
@media (max-width: 640px) {
  .source-list a { grid-template-columns: 48px 1fr; gap: 14px; }
  .source-list__form { grid-column: 2; margin-top: 10px; }
}

/* ---------- Source deep dive ---------- */

.source {
  max-width: 880px;
  margin: 0 auto;
}
.source__header {
  padding-bottom: 40px;
  border-bottom: 2px dotted var(--rule-orange);
  margin-bottom: 48px;
}
.source__form {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 18px;
}
.source__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 7.5vw, 88px);
  line-height: 0.94;
  color: var(--white);
  text-transform: uppercase;
  margin: 0 0 20px;
}
.source__author {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  color: var(--cream);
  margin: 0;
  max-width: 60ch;
}
.source__meta {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
}
.source__section { margin: 56px 0; }
.source__section h3 { margin-bottom: 18px; }

/* ---------- OPPOSE / PROPOSE
   (this pattern is LITERALLY in the course deck —
    slab serif, all caps, black cards on orange ground)
   ============================================ */

.dialectic {
  margin: 56px 0;
  padding: 52px 40px 56px;
  background: var(--orange);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 56px;
  align-items: start;
  position: relative;
}
.dialectic::before {
  content: "WE MUST NOT JUST…";
  display: block;
  grid-column: 1 / -1;
  position: absolute;
  top: 20px;
  left: 40px;
  font-family: var(--font-slab);
  font-size: clamp(18px, 2vw, 24px);
  color: var(--oxblood);
  letter-spacing: 0.01em;
}
.dialectic__side { padding-top: 60px; }
.dialectic__label {
  font-family: var(--font-slab);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
  color: var(--oxblood);
  margin: 0 0 22px;
  letter-spacing: 0;
}
.dialectic__card {
  background: var(--ink);
  color: var(--white);
  border-radius: 14px;
  padding: 28px 30px;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
}
.dialectic__card p { color: var(--white); margin: 0 0 14px; max-width: none; }
.dialectic__card p:last-child { margin-bottom: 0; }
.dialectic__bridge {
  position: absolute;
  top: 56px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-slab);
  font-size: clamp(18px, 2vw, 24px);
  color: var(--oxblood);
}
@media (max-width: 720px) {
  .dialectic { grid-template-columns: 1fr; gap: 32px; padding: 64px 24px 40px; }
  .dialectic::before { top: 24px; left: 24px; }
  .dialectic__bridge { display: none; }
  .dialectic__side { padding-top: 0; }
}

/* ---------- Passage block ---------- */

.passage {
  margin: 40px 0;
  padding: 32px 34px;
  background: var(--oxblood-deep);
  border-left: 4px solid var(--orange);
}
.passage__text {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.45;
  color: var(--white);
  margin: 0 0 14px;
}
.passage__cite {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0;
}
.passage__commentary {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dotted var(--rule-orange);
  color: var(--cream);
  font-size: 16px;
  line-height: 1.65;
  font-style: normal;
  opacity: 0.95;
}

/* ---------- RI thread block ---------- */

.ri-thread {
  margin: 48px 0;
  padding: 40px 40px 44px;
  background: var(--ink);
  border: 2px solid var(--orange);
  border-radius: 14px;
  position: relative;
}
.ri-thread::before {
  content: "RI THREAD";
  position: absolute;
  top: -14px;
  left: 24px;
  background: var(--orange);
  color: var(--oxblood);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.24em;
  padding: 4px 12px;
  text-transform: uppercase;
}
.ri-thread h3 {
  color: var(--orange);
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 18px;
}
.ri-thread p { color: var(--cream); margin-bottom: 0.9em; max-width: none; }
.ri-thread p:last-child { margin-bottom: 0; }

/* ---------- Further reading ---------- */

.further-reading {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.further-reading li {
  padding: 14px 0;
  border-bottom: 1px dotted var(--rule-orange);
  font-size: 15px;
  line-height: 1.55;
  color: var(--cream);
}
.further-reading li:last-child { border-bottom: 0; }
.further-reading .tag {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--oxblood);
  background: var(--orange);
  padding: 3px 10px;
  margin-right: 12px;
  vertical-align: middle;
  border-radius: 3px;
}

/* ---------- Reflection field ---------- */

.reflect {
  margin: 28px 0;
  padding: 28px 30px;
  background: var(--oxblood-deep);
  border: 1px dotted var(--rule-orange);
  border-radius: 4px;
}
.reflect__prompt {
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.2;
  color: var(--orange);
  text-transform: uppercase;
  margin: 0 0 16px;
  max-width: 54ch;
}
.reflect textarea {
  width: 100%;
  min-height: 130px;
  background: transparent;
  border: 0;
  border-top: 1px dotted var(--rule-orange);
  padding: 18px 0 0;
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--white);
  resize: vertical;
  outline: none;
}
.reflect textarea::placeholder {
  color: var(--cream);
  opacity: 0.4;
  font-style: italic;
}
.reflect__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.55;
}

/* ---------- Prev/Next nav ---------- */

.source-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--oxblood-deep);
  border: 2px solid var(--oxblood-deep);
  margin: 72px 0 0;
}
.source-nav a {
  background: var(--oxblood);
  padding: 28px 30px;
  border-bottom: 0;
  color: var(--cream);
  display: block;
  min-height: 110px;
}
.source-nav a small {
  display: block;
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.source-nav a strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.1;
}
.source-nav a:hover { background: var(--orange); }
.source-nav a:hover strong { color: var(--oxblood); }
.source-nav a:hover small { color: var(--oxblood); opacity: 0.85; }
.source-nav .next { text-align: right; }

/* ---------- Constellation ---------- */

.constellation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.constellation-node {
  padding: 28px 30px;
  background: var(--ink);
  border-radius: 10px;
  border: 2px solid var(--oxblood-deep);
}
.constellation-node h4 {
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
.constellation-node p { font-size: 15px; line-height: 1.55; margin-bottom: 0.6em; color: var(--cream); }
.constellation-node .figs {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px dotted var(--rule-orange);
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--orange);
}

/* ---------- Glossary ---------- */

.gloss-list { list-style: none; padding: 0; margin: 40px 0; }
.gloss-list > li { border-top: 2px solid var(--orange); }
.gloss-list > li:last-child { border-bottom: 2px solid var(--orange); }
.gloss-list details { padding: 22px 0; }
.gloss-list summary {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--white);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
  line-height: 1;
}
.gloss-list summary::-webkit-details-marker { display: none; }
.gloss-list summary::after {
  content: "+";
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 32px;
  margin-left: 20px;
}
.gloss-list details[open] summary::after { content: "—"; }
.gloss-list details[open] summary { color: var(--orange); }
.gloss-list .gloss-body { padding-top: 22px; max-width: var(--measure); }
.gloss-list .gloss-body .tag {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--oxblood);
  background: var(--orange);
  padding: 2px 10px;
  margin-right: 10px;
  border-radius: 3px;
}

/* ---------- Reflections page ---------- */

.reflect-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0 40px;
}
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 14px 26px;
  border: 2px solid var(--orange);
  color: var(--orange);
  background: transparent;
  cursor: pointer;
  border-radius: 0;
  transition: all 160ms ease;
}
.btn:hover { background: var(--orange); color: var(--oxblood); }
.btn.ghost { border-color: var(--rule); color: var(--cream); opacity: 0.85; }
.btn.ghost:hover { background: var(--rule); color: var(--white); }

.reflection-export {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}
.reflection-export .entry {
  padding: 22px 24px;
  background: var(--oxblood-deep);
  border-left: 3px solid var(--orange);
}
.reflection-export .entry h4 {
  font-family: var(--font-italic);
  font-style: italic;
  color: var(--orange);
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 0.2em;
}
.reflection-export .entry em { color: var(--cream); font-style: italic; opacity: 0.85; }
.reflection-export .entry p { margin: 12px 0 0; color: var(--white); font-family: var(--font-body); }
.reflection-export .empty {
  padding: 48px 0;
  text-align: center;
  color: var(--cream);
  font-style: italic;
  opacity: 0.55;
}

/* ---------- Recap / numbered list (deck closer pattern) ---------- */

.recap-banner {
  background: var(--orange);
  padding: 28px var(--gutter);
  margin: 72px 0 0;
}
.recap-banner__inner { max-width: 1200px; margin: 0 auto; }
.recap-banner h2 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  text-transform: uppercase;
}
.recap-list {
  list-style: none;
  padding: 40px var(--gutter) 48px;
  margin: 0;
  background: var(--oxblood);
  counter-reset: item;
}
.recap-list__inner { max-width: 1200px; margin: 0 auto; }
.recap-list li {
  counter-increment: item;
  padding: 22px 0 24px;
  border-bottom: 1px dotted var(--rule-orange);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: baseline;
}
.recap-list li::before {
  content: counter(item) ".";
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--orange);
}
.recap-list li p {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--white);
  margin: 0;
  max-width: 62ch;
}

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

.site-footer {
  padding: 80px var(--gutter) 100px;
  background: var(--oxblood-deep);
  border-top: 3px solid var(--orange);
  color: var(--cream);
  font-size: 14px;
  line-height: 1.65;
}
.site-footer .wrap { max-width: 1200px; }
.site-footer a { color: var(--orange); }
.site-footer .cc {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--oxblood);
  background: var(--orange);
  padding: 3px 10px;
  margin-bottom: 18px;
  display: inline-block;
  border-radius: 3px;
}

/* ---------- Utilities ---------- */

.mono-label {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--orange);
}
.unverified {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--orange);
  padding: 2px 8px;
  margin-left: 8px;
  vertical-align: middle;
  border-radius: 3px;
}

/* Oval-masked portrait (the signature deck motif) */
.portrait-oval {
  display: inline-block;
  width: min(100%, 440px);
  aspect-ratio: 5 / 6;
  background: #1a0302 center/cover no-repeat;
  clip-path: ellipse(48% 48% at 50% 50%);
  filter: grayscale(0.15) contrast(1.05);
  margin: 20px 0;
}
.portrait-oval--right { float: right; margin-left: 28px; max-width: 360px; }

/* ---------- Deck graphic block
   For embedding an actual course deck slide with attribution.
   ============================================ */

.deck-graphic {
  margin: 48px 0;
  position: relative;
}
.deck-graphic__frame {
  background: var(--oxblood-deep);
  padding: 6px;
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.deck-graphic__frame img {
  width: 100%;
  height: auto;
  display: block;
}
.deck-graphic__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--oxblood);
  background: var(--yellow);
  padding: 4px 10px;
  border-radius: 2px;
}
.deck-graphic__caption {
  margin-top: 12px;
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 13px;
  color: var(--cream);
  opacity: 0.75;
  max-width: 60ch;
}
.deck-graphic__caption a { color: var(--yellow); border-bottom-color: rgba(255, 230, 0, 0.4); }
.deck-graphic__caption a:hover { color: var(--yellow-deep); border-bottom-color: var(--yellow-deep); }

/* Small version: used inside source deep-dives or sidebars */
.deck-graphic--sm { max-width: 480px; }

/* ---------- CTA pill — matches the resource page "READ HERE / LISTEN / WATCH" buttons ---------- */

.cta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 10px 22px;
  background: var(--yellow);
  color: var(--oxblood);
  border: 0;
  border-radius: 2px;
  margin: 4px 8px 4px 0;
  transition: background 160ms ease;
}
.cta-pill:hover { background: var(--yellow-deep); color: var(--oxblood); }

.cta-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 24px 0;
}

/* ---------- Yellow recap numbering (overrides the orange default 10% accent move) ---------- */

.recap-list li::before {
  color: var(--yellow);
}

/* ---------- Author portrait image (real photo, oval-masked) ---------- */

.author-portrait {
  display: block;
  width: min(100%, 380px);
  aspect-ratio: 5 / 6;
  object-fit: cover;
  object-position: center top;
  clip-path: ellipse(46% 48% at 50% 50%);
  filter: contrast(1.04) saturate(0.9);
  margin: 0 auto 20px;
  background: var(--oxblood-deep);
}

/* Source header with side-by-side portrait */
.source__header--illustrated {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
@media (max-width: 760px) {
  .source__header--illustrated { grid-template-columns: 1fr; }
}

/* ---------- Full-bleed poster image for session heroes ---------- */

.poster-image {
  margin: 0;
  padding: 0;
  background: var(--orange);
  line-height: 0;
}
.poster-image img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 620px;
  object-fit: cover;
  object-position: center;
}

/* ---------- Print ---------- */

@media print {
  body { background: #fff; color: #000; font-family: Georgia, serif; }
  .site-header, .tabs, .source-nav, .reflect, .site-footer, .poster-strip { display: none; }
  .panel { display: block !important; }
  a { color: #000; border: 0; }
  h1, h2, h3, h4 { color: #000; }
  .dialectic { background: #fff; color: #000; padding: 20px 0; }
  .dialectic__label { color: #000; }
  .dialectic__card { background: #000; color: #fff; }
  .passage, .ri-thread { background: #f2f2f2; color: #000; border-color: #000; }
  .passage__text, .ri-thread p { color: #000; }
}
