/* ==========================================================================
   MACBETH ACTIVITY BOARD — "Blood & Iron" theme
   A dark, gothic palette for Shakespeare's Macbeth: candlelit stone,
   old blood, and cold iron. Headings in Cinzel (carved-stone display),
   body copy in EB Garamond (old-folio serif).
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;900&family=EB+Garamond:ital,wght@0,400;0,600;1,400&display=swap");

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

:root {
  /* base surfaces */
  --bg: #0c0a0a;
  --bg-alt: #17110f;
  --bg-alt-2: #1e1512;

  /* ink */
  --ink: #e7ddd0;
  --ink-muted: #b3a89b;
  --ink-faint: #7d7268;

  /* blood-red accent, in the vein (pun intended) of the site's --accent system */
  --accent: #a3262c;
  --accent-bright: #c73838;
  --accent-deep: #4a0e0e;
  --accent-bg: rgba(120, 20, 20, 0.14);
  --accent-border: rgba(163, 38, 44, 0.4);
  --accent-hover-bg: rgba(140, 24, 24, 0.24);
  --accent-glow-strong: rgba(163, 38, 44, 0.45);
  --accent-glow-soft: rgba(163, 38, 44, 0.18);

  /* muted iron gold, used sparingly for dividers / small details */
  --gold: #9c7d3f;

  --font-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-body: "EB Garamond", "Iowan Old Style", Georgia, serif;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background:
    radial-gradient(
      ellipse 60% 40% at 50% 0%,
      rgba(163, 38, 44, 0.1),
      transparent 70%
    ),
    radial-gradient(
      ellipse 80% 50% at 50% 100%,
      rgba(0, 0, 0, 0.6),
      transparent 70%
    ),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.012) 0px,
      rgba(255, 255, 255, 0.012) 1px,
      transparent 1px,
      transparent 3px
    ),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  padding: 2.5rem 1.25rem 4rem;
  gap: 2.5rem;
}

/* ---- back link (mirrors the site's main.css .back-link pill) ---- */

.back-link {
  position: fixed;
  top: 1.5rem;
  left: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-muted);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
  z-index: 10;
}

.back-link:hover {
  color: var(--accent-bright);
  border-color: var(--accent);
  background: var(--accent-bg);
}

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

header {
  width: 100%;
  max-width: 820px;
  text-align: center;
  padding-top: 1.5rem;
}

header h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  text-shadow:
    0 0 18px var(--accent-glow-strong),
    0 0 42px var(--accent-glow-soft);
}

header h1::before,
header h1::after {
  content: "\1F5E1\FE0F"; /* 🗡️ */
  font-size: 0.55em;
  vertical-align: middle;
  margin: 0 0.35em;
  filter: grayscale(0.3) drop-shadow(0 0 6px var(--accent-glow-soft));
}

header .tagline {
  margin-top: 0.85rem;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
}

/* blood-drip divider under the header */
header::after {
  content: "";
  display: block;
  width: min(70%, 420px);
  height: 2px;
  margin: 1.75rem auto 0;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent) 20%,
    var(--accent) 80%,
    transparent
  );
  position: relative;
}

h2 {
  font-family: var(--font-display);
  font-weight: 700;
}

/* ---- link cards on the board's index page (uses main.css-style .cards/.card) ---- */

.cards {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 900px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 280px;
  height: 180px;
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  border-radius: 6px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--accent);
  background: var(--accent-hover-bg);
  box-shadow:
    0 0 24px var(--accent-glow-strong),
    0 0 48px var(--accent-glow-soft);
}

.card:active {
  transform: translateY(-1px) scale(1);
}

.card-icon {
  font-size: 2.4rem;
  margin-bottom: 0.6rem;
}

/* ---- character / song cards (playlist page) ---- */

main,
.board {
  width: 100%;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.character-song-card {
  position: relative;
  background: linear-gradient(180deg, var(--bg-alt), var(--bg-alt-2));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 4px solid var(--accent);
  border-radius: 4px;
  padding: 1.6rem 1.85rem;
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.45),
    inset 0 0 40px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.character-song-card:hover {
  transform: translateY(-3px);
  border-left-color: var(--accent-bright);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.55),
    0 0 28px var(--accent-glow-soft),
    inset 0 0 40px rgba(0, 0, 0, 0.25);
}

.character-song-card h2 {
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin-bottom: 0.9rem;
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
}

.character-song-card h2::before {
  content: "\1F5E1\FE0F"; /* 🗡️ */
  font-size: 0.85em;
  flex-shrink: 0;
}

.character-song-card p {
  color: var(--ink-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.character-song-card p::first-letter {
  font-family: var(--font-display);
  font-size: 1.6em;
  font-weight: 700;
  color: var(--accent-bright);
  padding-right: 0.05em;
}

/* ---- footer ---- */

footer {
  margin-top: 1rem;
  padding-top: 1.5rem;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink-faint);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  width: 100%;
  max-width: 780px;
}

footer a {
  color: var(--ink-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-border);
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

footer a:hover {
  color: var(--accent-bright);
  border-color: var(--accent-bright);
}

/* ==========================================================================
   RESPONSIBILITY CHART — "100 points" stacked meter + evidence cards
   Categorical colour is drawn from the dataviz skill's validated default
   ramp (dark-mode steps), reordered so adjacent slots clear CVD checks:
   red -> violet -> green -> magenta -> yellow. Don't hand-edit these hexes
   without re-running scripts/validate_palette.js.
   ========================================================================== */

.responsibility-board,
.guilt-map {
  --series-1: #e66767; /* red     — Macbeth */
  --series-2: #9085e9; /* violet  — Lady Macbeth */
  --series-3: #008300; /* green   — The Witches */
  --series-4: #d55181; /* magenta — Duncan / Banquo */
  --series-5: #c98500; /* yellow  — Fate & Free Will */
}

.responsibility-board {
  width: 100%;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

/* ---- overview: total badge + stacked meter + legend + table ---- */

.responsibility-overview {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.total-badge {
  align-self: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  padding: 0.4rem 1.1rem;
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  background: var(--accent-bg);
}

.total-badge strong {
  color: var(--ink);
  font-size: 1.1rem;
}

.stack-bar {
  display: flex;
  width: 100%;
  height: 3rem;
  gap: 2px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.stack-segment {
  flex: 0 0 auto;
  width: var(--w, 0%);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--seg);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
  padding: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  cursor: default;
  transition: filter 0.2s ease;
}

.stack-segment:hover {
  filter: brightness(1.12);
}

.legend {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  justify-content: center;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.legend li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.swatch {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 2px;
  background: var(--seg);
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.points-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin-top: 0.25rem;
}

.points-table caption {
  caption-side: top;
  text-align: left;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.5rem;
}

.points-table th,
.points-table td {
  text-align: left;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.points-table th {
  color: var(--ink-faint);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.points-table td.pts,
.points-table th.pts {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.points-table tr:last-child td {
  border-bottom: none;
  font-weight: 700;
  color: var(--ink);
}

/* ---- individual responsibility cards ---- */

.responsibility-cards {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.responsibility-card {
  position: relative;
  background: linear-gradient(180deg, var(--bg-alt), var(--bg-alt-2));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top: 4px solid var(--seg);
  border-radius: 4px;
  padding: 1.6rem 1.85rem 1.85rem;
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.45),
    inset 0 0 40px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.responsibility-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.55),
    0 0 24px rgba(255, 255, 255, 0.05),
    inset 0 0 40px rgba(0, 0, 0, 0.25);
}

.responsibility-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.responsibility-swatch {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--seg);
  flex-shrink: 0;
  box-shadow: 0 0 10px var(--seg);
}

.responsibility-head h2 {
  flex: 1;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.points-badge {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--seg);
  border: 1px solid var(--seg);
  border-radius: 999px;
  padding: 0.25rem 0.85rem;
  white-space: nowrap;
}

.points-badge small {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.72rem;
  color: var(--ink-faint);
}

.responsibility-body h3 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 1.1rem;
  margin-bottom: 0.5rem;
}

.responsibility-body h3:first-child {
  margin-top: 0;
}

.responsibility-body blockquote {
  font-style: italic;
  color: var(--ink);
  border-left: 3px solid var(--seg);
  padding: 0.15rem 0 0.15rem 1rem;
  margin-bottom: 0.6rem;
}

.responsibility-body blockquote cite {
  display: block;
  margin-top: 0.3rem;
  font-style: normal;
  font-size: 0.82rem;
  color: var(--ink-faint);
}

.responsibility-body p {
  color: var(--ink-muted);
  line-height: 1.75;
}

.responsibility-body p.placeholder {
  color: var(--ink-faint);
  font-style: italic;
}

/* ghost "add another" card — a template to duplicate, not a live control */

.responsibility-card.add-more {
  border: 1px dashed var(--accent-border);
  border-top: 1px dashed var(--accent-border);
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  color: var(--ink-faint);
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-align: center;
}

.responsibility-card.add-more:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--accent);
  color: var(--ink-muted);
}

/* ==========================================================================
   NEWS FRONT PAGE — "The Daily Dagger" tabloid
   A parchment sheet laid on the dark board: dark ink, Cinzel headlines,
   blood-red accents. Story in two columns on wide screens, one on phones.
   ========================================================================== */

.newspaper {
  --paper: #efe6d4;
  --paper-ink: #1b1512;
  --paper-muted: #4a3f36;
  --paper-rule: rgba(27, 21, 18, 0.35);
  width: 100%;
  max-width: 900px;
  background:
    radial-gradient(
      ellipse 90% 70% at 50% 40%,
      transparent 60%,
      rgba(120, 90, 50, 0.18)
    ),
    var(--paper);
  color: var(--paper-ink);
  padding: 2rem 2.25rem 1.75rem;
  border-radius: 2px;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.6),
    0 0 60px var(--accent-glow-soft);
  transform: rotate(-0.4deg);
}

.masthead {
  text-align: center;
  border-top: 3px double var(--paper-ink);
  border-bottom: 3px double var(--paper-ink);
  padding: 0.6rem 0 0.5rem;
}

.masthead-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.9rem, 6vw, 3.2rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.1;
}

.dateline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2rem 1.25rem;
  margin-top: 0.4rem;
  font-variant: small-caps;
  font-size: 0.9rem;
  color: var(--paper-muted);
}

.kicker {
  display: inline-block;
  margin-top: 1.4rem;
  padding: 0.15rem 0.6rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.newspaper .headline {
  margin-top: 0.5rem;
  font-weight: 900;
  font-size: clamp(2rem, 6vw, 3.8rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.headline-accent {
  color: var(--accent);
}

.standfirst {
  margin-top: 0.8rem;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.5;
}

.byline {
  margin-top: 0.6rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--paper-rule);
  font-size: 0.9rem;
  font-variant: small-caps;
  color: var(--paper-muted);
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-top: 1.25rem;
}

.news-story p {
  text-align: justify;
  hyphens: auto;
  line-height: 1.6;
  margin-bottom: 0.9rem;
}

.news-story p:first-child::first-letter {
  float: left;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 3.4em;
  line-height: 0.85;
  padding: 0.08em 0.1em 0 0;
  color: var(--accent);
}

.pull-quote {
  margin-top: 0.5rem;
  padding: 1rem 0;
  border-top: 3px solid var(--accent);
  border-bottom: 1px solid var(--paper-rule);
  text-align: center;
}

.pull-quote blockquote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.4;
}

.pull-quote figcaption {
  margin-top: 0.5rem;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--paper-muted);
}

.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.wanted {
  border: 2px dashed var(--paper-ink);
  padding: 0.9rem 1rem;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.45;
}

.wanted-stamp {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.1rem 0.7rem;
  border: 3px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transform: rotate(-4deg);
}

.sidebar-box {
  border-top: 2px solid var(--paper-ink);
  padding-top: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

.sidebar-box h3 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.sidebar-box p + p {
  margin-top: 0.4rem;
}

.classifieds {
  font-size: 0.88rem;
  line-height: 1.35;
}

.continued {
  margin-top: 1.5rem;
  padding-top: 0.6rem;
  border-top: 3px double var(--paper-ink);
  text-align: center;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--paper-muted);
}

@media (min-width: 760px) {
  .news-grid {
    grid-template-columns: 2fr 1fr;
  }

  .news-main {
    padding-right: 1.75rem;
    border-right: 1px solid var(--paper-rule);
  }

  .news-story {
    columns: 2;
    column-gap: 1.5rem;
    column-rule: 1px solid var(--paper-rule);
  }
}

@media (max-width: 520px) {
  .newspaper {
    padding: 1.4rem 1rem 1.25rem;
    transform: none;
  }
}

/* ==========================================================================
   GUILT MAP — four motifs wired to a central "guilt" hub, then a
   timeline of Macbeth's changing state of mind. Motif colours reuse the
   --series-* palette shared with the responsibility chart:
   darkness = violet, hallucinations = green, blood = red, sleep = yellow.
   ========================================================================== */

.guilt-map {
  width: 100%;
  max-width: 960px;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* ---- map: 3x3 grid, cards in the corners, hub in the centre ---- */

.guilt-map-diagram {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 190px 1fr;
  grid-template-areas:
    "tl . tr"
    ". hub ."
    "bl . br";
  gap: 1.5rem 2rem;
  align-items: center;
}

.guilt-connectors {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.guilt-connectors line {
  stroke-width: 2;
  stroke-dasharray: 6 5;
  vector-effect: non-scaling-stroke;
  opacity: 0.85;
}

.motif-tl { grid-area: tl; }
.motif-tr { grid-area: tr; }
.motif-bl { grid-area: bl; }
.motif-br { grid-area: br; }

.motif-card {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, var(--bg-alt), var(--bg-alt-2));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top: 4px solid var(--seg);
  border-radius: 4px;
  padding: 1.35rem 1.5rem 1.5rem;
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.45),
    inset 0 0 40px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.motif-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.55),
    0 0 24px color-mix(in srgb, var(--seg) 35%, transparent),
    inset 0 0 40px rgba(0, 0, 0, 0.25);
}

.motif-card {
  /* series hues are tuned for fills; lift them a touch for text on dark */
  --seg-text: color-mix(in srgb, var(--seg) 70%, #ffffff);
}

.motif-card h2 {
  font-size: 1.3rem;
  color: var(--seg-text);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.motif-icon {
  font-size: 1.1em;
}

.motif-card blockquote {
  font-style: italic;
  color: var(--ink);
  border-left: 3px solid var(--seg);
  padding: 0.15rem 0 0.15rem 1rem;
  margin-bottom: 0.9rem;
  line-height: 1.55;
}

.motif-card blockquote cite {
  display: block;
  margin-top: 0.3rem;
  font-style: normal;
  font-size: 0.82rem;
  color: var(--ink-faint);
}

.motif-card h3 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.35rem;
}

.motif-card p {
  color: var(--ink-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.mind-chip {
  display: inline-block;
  margin-top: 0.9rem;
  padding: 0.2rem 0.75rem;
  border: 1px solid var(--seg);
  border-radius: 999px;
  color: var(--seg-text);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---- the hub ---- */

.guilt-hub {
  grid-area: hub;
  position: relative;
  z-index: 1;
  justify-self: center;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(
    circle at 40% 35%,
    var(--accent-bright),
    var(--accent) 45%,
    var(--accent-deep)
  );
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 30px var(--accent-glow-strong),
    0 0 70px var(--accent-glow-soft);
  animation: hub-pulse 3.2s ease-in-out infinite;
}

.guilt-hub p {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.3;
}

.guilt-hub strong {
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
}

.spoke-label {
  position: absolute;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--ink-muted);
  background: var(--bg);
  padding: 0 0.35rem;
  white-space: nowrap;
}

.spoke-tl { top: 2px; right: 88%; }
.spoke-tr { top: 2px; left: 88%; }
.spoke-bl { bottom: 2px; right: 88%; }
.spoke-br { bottom: 2px; left: 88%; }

@keyframes hub-pulse {
  0%,
  100% {
    box-shadow:
      0 0 30px var(--accent-glow-strong),
      0 0 70px var(--accent-glow-soft);
  }
  50% {
    box-shadow:
      0 0 42px var(--accent-glow-strong),
      0 0 100px var(--accent-glow-strong);
  }
}

@media (prefers-reduced-motion: reduce) {
  .guilt-hub {
    animation: none;
  }
}

/* ---- descent-of-the-mind timeline ---- */

.timeline-title {
  text-align: center;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.mind-timeline {
  list-style: none;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

/* the track: fades from ambition-grey into blood-red */
.mind-timeline::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--ink-faint), var(--accent-bright));
}

.mind-timeline li {
  position: relative;
  text-align: center;
}

.stage-dots {
  display: inline-flex;
  gap: 0.3rem;
  padding: 0 0.4rem;
  background: var(--bg);
  margin-bottom: 0.6rem;
}

.dot {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--seg);
  box-shadow: 0 0 10px var(--seg);
}

.stage-act {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.stage-state {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin: 0.2rem 0 0.4rem;
}

.stage-note {
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.guilt-takeaway {
  text-align: center;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink);
  max-width: 640px;
  align-self: center;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--accent-border);
  border-bottom: 1px solid var(--accent-border);
}

/* ---- phones: hub first, cards stacked, timeline vertical ---- */

@media (max-width: 760px) {
  .guilt-map-diagram {
    grid-template-columns: 1fr;
    grid-template-areas: "hub" "tl" "tr" "bl" "br";
  }

  .guilt-connectors,
  .spoke-label {
    display: none;
  }

  .motif-card {
    border-left: 4px solid var(--seg);
  }

  .mind-timeline {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-left: 2.25rem;
  }

  .mind-timeline::before {
    top: 0.3rem;
    bottom: 0.3rem;
    left: 0.9rem;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--ink-faint), var(--accent-bright));
  }

  .mind-timeline li {
    text-align: left;
  }

  .stage-dots {
    position: absolute;
    left: -2.25rem;
    top: 0;
    flex-direction: column;
    padding: 0.2rem 0.3rem;
  }
}
