/* ===========================================================
   Polish Succession — Editorial Article
   Main / Hero section
   =========================================================== */

:root {
  --bg:            #111111;
  --red:           #CC0000;
  --blue:          #005F8F;
  --ink:           #111111;
  --white:         #FFFFFF;
  --muted:         #888880;
  --deck:          rgba(255, 255, 255, 0.82);
  --meta:          rgba(255, 255, 255, 0.55);
  --meta-soft:     rgba(255, 255, 255, 0.35);
  --line:          rgba(255, 255, 255, 0.14);
  --line-soft:     rgba(255, 255, 255, 0.08);

  --font-serif:    "Playfair Display", "Georgia", "Times New Roman", serif;
  --font-sans:     "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
                   Roboto, Helvetica, Arial, sans-serif;

  --max-width:     1280px;
  --gutter:        clamp(24px, 5vw, 72px);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===========================================================
   SITE MASTHEAD — appears on every article in the series
   =========================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(17, 17, 17, 0.88);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-sans);
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 56px);
}

/* --- Brand / wordmark --- */

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.site-header__brand:hover { opacity: 0.78; }

.site-header__brand:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 6px;
}

.site-header__mark {
  width: 12px;
  height: 12px;
  background: var(--red);
  display: inline-block;
  flex-shrink: 0;
}

.site-header__wordmark {
  white-space: nowrap;
}

/* --- Series navigation --- */

.site-header__series {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--meta);
  min-width: 0;
}

.site-header__series-label {
  font-weight: 500;
  color: var(--white);
  white-space: nowrap;
}

.site-header__series-rule {
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
  display: inline-block;
  flex-shrink: 0;
}

.site-header__episodes {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header__ep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 28px;
  padding: 0 6px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  border: 1px solid transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.site-header__ep:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
}

.site-header__ep:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.site-header__ep.is-active {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.site-header__ep.is-active:hover {
  color: var(--white);
  border-color: var(--red);
}

.site-header__ep.is-upcoming {
  color: rgba(255, 255, 255, 0.22);
  cursor: default;
}

.site-header__ep.is-upcoming:hover {
  color: rgba(255, 255, 255, 0.22);
  border-color: transparent;
}

/* --- Responsive --- */

/* --- Language switcher --- */

.site-header__lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-header__lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 24px;
  padding: 0 6px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  border: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-header__lang-btn:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
}

.site-header__lang-btn:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.site-header__lang-btn.is-active {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
}

.site-header__lang-sep {
  color: rgba(255, 255, 255, 0.22);
}

@media (max-width: 880px) {
  .site-header__series-label,
  .site-header__series-rule {
    display: none;
  }
}

@media (max-width: 560px) {
  .site-header__inner {
    padding: 11px var(--gutter);
    gap: 12px;
  }

  .site-header__wordmark {
    font-size: 10px;
    letter-spacing: 0.2em;
  }

  .site-header__mark {
    width: 10px;
    height: 10px;
  }

  .site-header__ep {
    min-width: 24px;
    height: 24px;
    padding: 0 4px;
    font-size: 9.5px;
  }

  .site-header__lang {
    font-size: 10px;
    letter-spacing: 0.16em;
  }

  .site-header__lang-btn {
    min-width: 24px;
    height: 22px;
    padding: 0 4px;
  }
}

@media (max-width: 380px) {
  .site-header__brand {
    gap: 8px;
  }

  .site-header__wordmark {
    /* trim to a compact mark on narrowest screens */
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ===========================================================
   HERO
   =========================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  padding: clamp(24px, 4vw, 48px) var(--gutter) clamp(40px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  background: var(--bg);
  overflow: hidden;
}

/* subtle radial glow for depth — stays professional, not decorative */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 15% 35%,
      rgba(204, 0, 0, 0.05),
      transparent 60%
    ),
    radial-gradient(
      ellipse 60% 50% at 85% 85%,
      rgba(255, 255, 255, 0.025),
      transparent 60%
    );
  pointer-events: none;
  z-index: 0;
}

.hero__frame {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* --- Top bar ------------------------------------------------ */

.hero__topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: clamp(16px, 2vw, 24px);
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--meta);
}

.hero__pub {
  color: var(--white);
  font-weight: 600;
}

/* --- Main content block ------------------------------------- */

.hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 9vh, 140px) 0 clamp(40px, 6vh, 80px);
  max-width: 1120px;
}

/* --- Kicker tags -------------------------------------------- */

.hero__kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(28px, 4vw, 44px);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
}

.hero__kicker-sep {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--red);
  border-radius: 50%;
  opacity: 0.9;
}

/* --- Headline ----------------------------------------------- */

.hero__headline {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-size: clamp(56px, 10.5vw, 168px);
  margin-bottom: clamp(32px, 4vw, 52px);
}

.hero__headline-line {
  display: block;
}

.hero__headline--primary {
  color: var(--white);
}

.hero__headline--secondary {
  color: var(--muted);
  font-style: italic;
  font-weight: 500;
  margin-top: clamp(4px, 0.5vw, 10px);
}

/* --- Deck / standfirst -------------------------------------- */

.hero__deck {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(19px, 1.9vw, 26px);
  line-height: 1.5;
  color: var(--deck);
  max-width: 760px;
  margin-bottom: clamp(48px, 6vw, 80px);
}

/* --- Byline ------------------------------------------------- */

.hero__byline {
  max-width: 760px;
}

.hero__byline-rule {
  width: 56px;
  height: 1px;
  background: var(--red);
  margin-bottom: 18px;
}

.hero__byline-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--meta);
}

.hero__byline-label {
  color: var(--meta-soft);
  font-weight: 400;
}

.hero__byline-author {
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.16em;
}

.hero__byline-sep {
  color: var(--meta-soft);
  letter-spacing: 0;
}

.hero__byline-series {
  color: var(--meta);
}

.hero__byline-date {
  color: var(--meta);
}

/* --- Scroll hint -------------------------------------------- */

.hero__scroll {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: clamp(24px, 3vw, 40px);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--meta-soft);
}

.hero__scroll-line {
  flex: 1;
  max-width: 220px;
  height: 1px;
  background: linear-gradient(
    to right,
    var(--line) 0%,
    transparent 100%
  );
}

/* ===========================================================
   ARTICLE — Lead + Table of Contents (white section)
   =========================================================== */

.article {
  background: var(--white);
  color: #111111;
  padding: clamp(80px, 12vh, 160px) var(--gutter);
}

.article__frame {
  max-width: 820px;
  margin: 0 auto;
}

.article__block + .article__block {
  margin-top: 0;
}

/* --- Small red section label ----------------- */

.article__label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(28px, 4.5vh, 48px);
}

.article__label-rule {
  width: 42px;
  height: 1px;
  background: var(--red);
  flex-shrink: 0;
}

.article__label-text {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red);
}

/* --- Lead body ------------------------------- */

.article__lead-body {
  font-family: var(--font-serif);
}

.article__lead-p {
  font-size: clamp(19px, 1.55vw, 24px);
  line-height: 1.55;
  color: #111111;
  margin-bottom: clamp(20px, 3vh, 30px);
  letter-spacing: -0.005em;
}

.article__lead-p--opener::after {
  /* clears the drop cap float cleanly after opener */
  content: "";
  display: table;
  clear: both;
}

.article__lead-p em {
  font-style: italic;
  color: #1a1a1a;
}

.article__dropcap {
  float: left;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(58px, 6.4vw, 86px);
  line-height: 0.82;
  color: var(--red);
  padding: 6px 14px 0 0;
  margin-top: 4px;
}

.article__lead-dialogue {
  position: relative;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(20px, 1.75vw, 26px);
  line-height: 1.45;
  color: #111;
  padding-left: clamp(20px, 2.5vw, 32px);
  border-left: 2px solid var(--red);
  margin-bottom: clamp(22px, 3vh, 32px);
}

.article__lead-p--closer {
  font-weight: 500;
  margin-top: clamp(24px, 3.5vh, 36px);
  margin-bottom: 0;
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.45;
}

.article__lead-accent {
  color: var(--red);
  font-weight: 600;
  white-space: nowrap;
}

/* --- Ornamental separator -------------------- */

.article__ornament {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: clamp(56px, 9vh, 104px) 0;
}

.article__ornament span {
  width: 4px;
  height: 4px;
  background: #111111;
  border-radius: 50%;
  opacity: 0.35;
}

.article__ornament span:nth-child(2) {
  background: var(--red);
  opacity: 1;
  width: 5px;
  height: 5px;
}

/* --- Table of Contents — editorial magazine style ----- */

.article__toc {
  list-style: none;
  padding: 0;
  margin: clamp(24px, 3vh, 32px) 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(40px, 5.5vw, 80px);
  row-gap: clamp(28px, 4vh, 40px);
}

.article__toc-item {
  padding: 0;
  border: none;
  background: none;
}

.article__toc-link {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.article__toc-link:hover,
.article__toc-link:focus-visible {
  transform: translateX(3px);
}

.article__toc-link:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 6px;
}

.article__toc-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0;
}

.article__toc-tag::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--red);
  flex-shrink: 0;
  transition: width 0.3s ease;
}

.article__toc-link:hover .article__toc-tag::before,
.article__toc-link:focus-visible .article__toc-tag::before {
  width: 36px;
}

.article__toc-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.012em;
  margin: 0;
  transition: color 0.25s ease;
}

.article__toc-link:hover .article__toc-title,
.article__toc-link:focus-visible .article__toc-title {
  color: var(--red);
}

.article__toc-dek {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(13.5px, 1.05vw, 15.5px);
  line-height: 1.45;
  color: rgba(17, 17, 17, 0.55);
  margin: 0;
  max-width: 38ch;
}

/* ===========================================================
   STATS — Red panel (contained, inside article column)
   mirrors the blue Key Data panel in Chapter I
   =========================================================== */

.stats {
  background: var(--red);
  color: var(--white);
  margin-top: clamp(56px, 8vh, 88px);
  padding: clamp(36px, 5vh, 56px) clamp(28px, 4vw, 52px);
}

.stats__grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  /* no gap, no lines — division by negative space only */
  gap: clamp(28px, 4vh, 44px) clamp(24px, 4vw, 48px);
}

.stats__cell {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
}

.stats__number {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: clamp(10px, 1.6vh, 16px);
  font-feature-settings: "lnum" 1;
}

.stats__unit {
  font-weight: 400;
  font-size: 0.62em;
  letter-spacing: -0.01em;
  margin-left: 0.04em;
  opacity: 0.92;
}

.stats__unit--stack {
  display: block;
  font-size: 0.32em;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  margin-top: 8px;
  margin-left: 0;
  opacity: 0.88;
}

.stats__rule {
  width: 24px;
  height: 1px;
  background: var(--white);
  opacity: 0.45;
  margin-bottom: clamp(10px, 1.4vh, 16px);
}

.stats__desc {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(13px, 0.95vw, 16px);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.88);
  max-width: 28ch;
}

.stats__source {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-top: clamp(10px, 1.4vh, 16px);
}

/* ===========================================================
   ARTICLE BRIDGE — continuation paragraphs after the stats,
   bridging into the historical timeline.
   =========================================================== */

.article__bridge {
  margin-top: clamp(48px, 7vh, 80px);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.6vh, 30px);
}

.article__bridge-p {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.55;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin: 0;
}

.article__bridge-p strong {
  font-weight: 600;
  color: var(--ink);
}

.article__bridge-accent {
  color: var(--red);
  font-weight: 600;
}

/* ===========================================================
   HISTORY TIMELINE — horizontal rail of years (1989 → 2030)
   Editorial timeline component (distinct from the
   Chapter V quarterly timeline).
   =========================================================== */

.history {
  margin-top: clamp(56px, 9vh, 96px);
}

.history__label {
  margin-bottom: clamp(28px, 4vh, 44px);
}

.history__rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  column-gap: clamp(14px, 1.8vw, 28px);
  position: relative;
}

/* Continuous blue rail line spanning between the first and last dots */
.history__rail::before {
  content: "";
  position: absolute;
  top: 5.5px; /* aligns with vertical center of 11px dot */
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--blue);
  opacity: 0.55;
  z-index: 0;
}

.history__node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding-top: 0;
}

.history__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--blue);
  position: relative;
  z-index: 1;
  margin-bottom: clamp(18px, 2.6vh, 26px);
  box-shadow: 0 0 0 4px var(--white); /* "punches through" the rail line */
}

/* Future / horizon node — hollow circle */
.history__node--future .history__dot {
  background: var(--white);
  border: 1.5px solid var(--blue);
  width: 11px;
  height: 11px;
}

.history__year {
  display: block;
  font-family: var(--font-serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(20px, 1.95vw, 30px);
  line-height: 1;
  color: var(--blue);
  letter-spacing: -0.01em;
  margin-bottom: clamp(10px, 1.4vh, 14px);
}

.history__heading {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(13.5px, 1.05vw, 16px);
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin: 0 0 clamp(6px, 0.9vh, 10px);
  max-width: 18ch;
  /* Reserve room for up to 3 lines so body text aligns across all columns */
  min-height: calc(3 * 1.25em);
}

.history__body {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(12.5px, 0.95vw, 14px);
  line-height: 1.5;
  color: rgba(17, 17, 17, 0.58);
  margin: 0;
  max-width: 24ch;
}

.history__node--future .history__body {
  color: rgba(17, 17, 17, 0.58);
  font-weight: 400;
  font-style: italic;
}

/* ===========================================================
   CHAPTER — article continuation (white section)
   =========================================================== */

.chapter {
  background: var(--white);
  color: #111111;
  padding: clamp(80px, 12vh, 160px) var(--gutter);
}

.chapter__frame {
  max-width: 820px;
  margin: 0 auto;
}

.chapter__header {
  margin-bottom: clamp(40px, 6vh, 64px);
}

.chapter__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(36px, 5.2vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #111111;
  margin-top: clamp(18px, 2.4vh, 28px);
  max-width: 18ch;
  scroll-margin-top: clamp(96px, 14vh, 140px);
}

#next-steps-section {
  scroll-margin-top: clamp(96px, 14vh, 140px);
}

.chapter__body {
  font-family: var(--font-serif);
}

.chapter__p {
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.6;
  color: #1a1a1a;
  margin-bottom: clamp(22px, 3vh, 32px);
  letter-spacing: -0.005em;
}

.chapter__p--opener::after {
  content: "";
  display: table;
  clear: both;
}

.chapter__p em {
  font-style: italic;
  font-weight: 500;
  color: #111;
}

.chapter__accent {
  color: var(--red);
  font-weight: 600;
}

.chapter__dropcap {
  float: left;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(54px, 6vw, 80px);
  line-height: 0.82;
  color: var(--red);
  padding: 6px 12px 0 0;
  margin-top: 4px;
}

/* --- Key data block (blue panel) ----------------------- */

.keydata {
  background: var(--blue);
  color: var(--white);
  margin-top: clamp(56px, 8vh, 88px);
  padding: clamp(36px, 5vh, 56px) clamp(28px, 4vw, 52px);
}

.keydata__label {
  margin-bottom: clamp(20px, 3vh, 32px);
}

.keydata__label .article__label-text {
  font-size: 10px;
  letter-spacing: 0.26em;
  color: var(--white);
}

.keydata__label .article__label-rule {
  background: var(--white);
  opacity: 0.6;
}

.keydata__list {
  margin: 0;
  padding: 0;
}

.keydata__row {
  display: grid;
  grid-template-columns: clamp(110px, 14vw, 160px) 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: baseline;
  padding: clamp(18px, 2.4vh, 24px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.keydata__row:first-child {
  padding-top: 0;
}

.keydata__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.keydata__num {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.02em;
  margin: 0;
  font-feature-settings: "lnum" 1;
}

.keydata__unit {
  font-size: 0.58em;
  font-weight: 400;
  margin-left: 0.04em;
  opacity: 0.85;
}

.keydata__unit--k {
  font-style: italic;
  font-size: 0.54em;
  margin-left: 0.02em;
}

.keydata__desc {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
}

/* --- Editorial bar chart ------------------------------- */

.chart {
  margin: clamp(56px, 8vh, 88px) 0 0;
  padding-top: clamp(28px, 4vh, 40px);
  border-top: 1px solid rgba(17, 17, 17, 0.15);
}

.chart__caption {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: clamp(28px, 4vh, 40px);
}

.chart__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(19px, 1.55vw, 24px);
  line-height: 1.3;
  color: #111;
  letter-spacing: -0.01em;
  margin: 0;
}

.chart__source {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
}

.chart__rows {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.6vh, 26px);
}

.chart__row {
  display: grid;
  grid-template-columns: clamp(170px, 28%, 260px) 1fr clamp(72px, 8vw, 104px);
  gap: clamp(14px, 1.8vw, 24px);
  align-items: center;
}

.chart__label {
  font-family: var(--font-serif);
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 400;
  color: #111;
  line-height: 1.3;
}

.chart__bar {
  position: relative;
  height: 5px;
  background: rgba(17, 17, 17, 0.08);
  overflow: visible;
}

.chart__bar-fill {
  height: 100%;
  background: var(--red);
  position: relative;
}

.chart__bar-fill--open {
  /* the last 8% of the fill softly fades to signal "more than" */
  background: linear-gradient(
    to right,
    var(--red) 88%,
    rgba(204, 0, 0, 0.35) 100%
  );
}

/* Row-level colour variants — keeps bar fill and value in sync */
.chart__row--blue .chart__bar-fill { background: var(--blue); }
.chart__row--blue .chart__value    { color: var(--blue); }

.chart__row--black .chart__bar-fill { background: var(--ink); }
.chart__row--black .chart__value    { color: var(--ink); }

.chart__value {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(22px, 2.1vw, 30px);
  color: var(--red);
  line-height: 1;
  text-align: right;
  font-feature-settings: "lnum" 1;
  letter-spacing: -0.01em;
}

.chart__value-unit {
  font-size: 0.58em;
  font-weight: 400;
  margin-left: 0.04em;
  opacity: 0.9;
}

/* --- Pull-quote ---------------------------------------- */

.pullquote {
  position: relative;
  margin: clamp(56px, 8vh, 96px) 0 0;
  padding: clamp(40px, 5vh, 56px) 0 clamp(28px, 4vh, 36px);
  border-top: 1px solid rgba(17, 17, 17, 0.15);
  border-bottom: 1px solid rgba(17, 17, 17, 0.15);
}

.pullquote__mark {
  position: absolute;
  top: clamp(14px, 2vh, 22px);
  left: 0;
  font-family: var(--font-serif);
  font-size: clamp(96px, 10vw, 152px);
  color: var(--red);
  line-height: 0.8;
  font-weight: 700;
  opacity: 0.96;
}

.pullquote__text {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.4;
  color: #111;
  margin: 0 0 clamp(22px, 3vh, 30px);
  padding-left: clamp(72px, 10vw, 140px);
  padding-top: clamp(8px, 1.2vh, 14px);
  letter-spacing: -0.005em;
  max-width: 780px;
}

.pullquote__cite {
  display: block;
  padding-left: clamp(72px, 10vw, 140px);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  font-style: normal;
}

/* --- Duel — two opposing panels -------------------------- */

.duel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(4px, 0.4vw, 6px);
  margin: clamp(48px, 7vh, 80px) 0;
}

.duel__panel {
  padding: clamp(28px, 4vh, 44px) clamp(22px, 3vw, 40px);
  color: var(--white);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.duel__panel--red  { background: var(--red); }
.duel__panel--blue { background: var(--blue); }

.duel__label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.82;
  margin-bottom: clamp(22px, 3.2vh, 32px);
}

.duel__number {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(44px, 5.2vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: clamp(14px, 2vh, 20px);
  font-feature-settings: "lnum" 1;
}

.duel__unit {
  font-size: 0.54em;
  font-weight: 400;
  opacity: 0.9;
  margin-left: 0.04em;
}

.duel__desc {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  max-width: 30ch;
  margin: 0;
}

.duel__source {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-top: auto;
  padding-top: clamp(16px, 2.4vh, 24px);
}

/* --- Module — Myth vs. Reality (side-by-side) ------------ */

.module {
  margin-top: clamp(56px, 8vh, 88px);
  padding-top: clamp(28px, 4vh, 40px);
  border-top: 1px solid rgba(17, 17, 17, 0.15);
}

.module__label {
  margin-bottom: clamp(28px, 4vh, 40px);
}

.module__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.module__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
}

.module__row:last-child {
  border-bottom: none;
}

.module__side {
  padding: clamp(24px, 3.4vh, 36px) clamp(20px, 2.6vw, 32px);
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.9vh, 20px);
  position: relative;
}

.module__side--myth {
  background: rgba(204, 0, 0, 0.035);
  border-right: 1px solid rgba(204, 0, 0, 0.18);
  padding-left: clamp(20px, 2.6vw, 32px);
}

.module__side--myth::before {
  /* slim red tag-rule along the inside of the myth column */
  content: "";
  position: absolute;
  top: clamp(24px, 3.4vh, 36px);
  bottom: clamp(24px, 3.4vh, 36px);
  left: 0;
  width: 2px;
  background: var(--red);
}

.module__side--reality {
  background: rgba(0, 95, 143, 0.045);
  border-left: 1px solid rgba(0, 95, 143, 0.22);
  position: relative;
}

.module__side--reality::before {
  /* slim blue tag-rule along the inside of the reality column */
  content: "";
  position: absolute;
  top: clamp(24px, 3.4vh, 36px);
  bottom: clamp(24px, 3.4vh, 36px);
  right: 0;
  width: 2px;
  background: var(--blue);
}

.module__tag {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.module__tag::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

.module__tag--myth {
  color: var(--red);
}

.module__tag--reality {
  color: var(--blue);
}

.module__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(16.5px, 1.35vw, 20px);
  line-height: 1.45;
  color: #1a1a1a;
  margin: 0;
}

.module__answer {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
}

.module__answer .chapter__accent {
  color: inherit;
  font-weight: 700;
}

/* --- Four Gaps — hover-to-reveal cards ------------------ */

.gaps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(10px, 1.2vw, 16px);
  margin: clamp(40px, 6vh, 64px) 0 clamp(48px, 7vh, 72px);
}

.gap {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(17, 17, 17, 0.12);
  padding: clamp(24px, 3.2vh, 34px) clamp(22px, 3vw, 34px);
  cursor: pointer;
  transition:
    border-color 0.35s ease,
    background-color 0.35s ease;
  outline: none;
}

.gap:hover,
.gap:focus-visible {
  border-color: var(--red);
  background-color: rgba(204, 0, 0, 0.025);
}

.gap__head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: clamp(14px, 2vw, 22px);
}

.gap__title {
  font-family: var(--font-sans);
  font-size: clamp(13px, 1.05vw, 15px);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #111;
  line-height: 1.2;
  margin: 0;
}

.gap__hint {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 300;
  color: rgba(17, 17, 17, 0.35);
  line-height: 1;
  transition: transform 0.35s ease, color 0.35s ease;
  justify-self: end;
}

.gap:hover .gap__hint,
.gap:focus-visible .gap__hint {
  color: var(--red);
  transform: rotate(45deg);
}

/* Animatable collapse using grid-template-rows */
.gap__reveal {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.gap__reveal-inner {
  overflow: hidden;
}

.gap__desc {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.55;
  color: #1a1a1a;
  margin: 0;
  padding-top: clamp(16px, 2.4vh, 22px);
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.3s ease 0.1s,
    transform 0.35s ease 0.1s;
}

.gap:hover .gap__reveal,
.gap:focus-visible .gap__reveal,
.gap:focus-within .gap__reveal {
  grid-template-rows: 1fr;
}

.gap:hover .gap__desc,
.gap:focus-visible .gap__desc,
.gap:focus-within .gap__desc {
  opacity: 1;
  transform: translateY(0);
}

/* Touch-first devices: always show description */
@media (hover: none) {
  .gap__reveal         { grid-template-rows: 1fr; }
  .gap__desc           { opacity: 1; transform: none; }
  .gap__hint           { display: none; }
}

/* --- Warning signs list --------------------------------- */

.flags-block {
  margin: clamp(40px, 6vh, 64px) 0;
  padding: clamp(28px, 4vh, 36px) 0;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
}

.flags__caption {
  font-family: var(--font-serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.3;
  color: #111;
  margin: 0 0 clamp(22px, 3vh, 28px);
}

.flags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.4vh, 14px);
}

.flags__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(14px, 1.8vw, 20px);
  align-items: flex-start;
}

.flags__mark {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 9px;
  position: relative;
}

.flags__mark::before,
.flags__mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--red);
  transform-origin: center;
}

.flags__mark::before { transform: translateY(-50%) rotate(45deg); }
.flags__mark::after  { transform: translateY(-50%) rotate(-45deg); }

.flags__text {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.5;
  color: #111;
  margin: 0;
}

/* --- Scenarios — two comparison panels ------------------ */

.scenarios {
  margin-top: clamp(48px, 7vh, 72px);
  padding-top: clamp(28px, 4vh, 40px);
  border-top: 1px solid rgba(17, 17, 17, 0.15);
}

.scenarios__label {
  margin-bottom: 10px;
}

.scenarios__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.35;
  color: #111;
  margin: 0 0 clamp(28px, 4vh, 36px);
  max-width: 640px;
}

.scenarios__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 1.4vw, 20px);
}

.scenarios__panel {
  padding: clamp(24px, 3.5vh, 36px) clamp(20px, 2.8vw, 32px);
  border-top: 3px solid;
  position: relative;
}

.scenarios__panel--bad {
  background: rgba(204, 0, 0, 0.035);
  border-color: var(--red);
}

.scenarios__panel--good {
  background: rgba(0, 95, 143, 0.045);
  border-color: var(--blue);
}

.scenarios__heading {
  display: flex;
  align-items: baseline;
  gap: clamp(10px, 1.4vw, 16px);
  margin-bottom: clamp(22px, 3vh, 30px);
}

.scenarios__letter {
  font-family: var(--font-serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(28px, 2.8vw, 38px);
  line-height: 1;
}

.scenarios__heading-text {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  line-height: 1.3;
}

.scenarios__panel--bad .scenarios__letter,
.scenarios__panel--bad .scenarios__heading-text   { color: var(--red); }

.scenarios__panel--good .scenarios__letter,
.scenarios__panel--good .scenarios__heading-text  { color: var(--blue); }

.scenarios__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.scenarios__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(14px, 1.6vw, 18px);
  align-items: flex-start;
  padding: clamp(12px, 1.8vh, 16px) 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.scenarios__item:first-child { padding-top: 0; }
.scenarios__item:last-child  { border-bottom: none; padding-bottom: 0; }

.scenarios__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.scenarios__panel--bad  .scenarios__icon { color: var(--red); }
.scenarios__panel--good .scenarios__icon { color: var(--blue); }

.scenarios__text {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.45;
  color: #111;
  margin: 0;
}

/* --- Author pull-quote (signature style) ---------------- */

.author-quote {
  margin: clamp(48px, 7vh, 80px) 0;
  padding: clamp(32px, 4.5vh, 48px) 0 clamp(28px, 4vh, 40px);
  position: relative;
  text-align: center;
}

.author-quote::before {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: var(--red);
  margin: 0 auto clamp(24px, 3.5vh, 36px);
}

.author-quote__text {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 2.3vw, 34px);
  line-height: 1.3;
  color: #111;
  margin: 0 auto clamp(20px, 3vh, 28px);
  max-width: 680px;
  letter-spacing: -0.01em;
}

.author-quote__cite {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--red);
  font-style: normal;
}

.author-quote__name {
  color: var(--red);
}

.author-quote__sep {
  color: rgba(204, 0, 0, 0.4);
  letter-spacing: 0;
}

.author-quote__series {
  color: rgba(17, 17, 17, 0.55);
}

/* --- Timeline — 12-Month Plan --------------------------- */

.timeline {
  margin: clamp(56px, 8vh, 88px) 0;
  padding-top: clamp(28px, 4vh, 40px);
  border-top: 1px solid rgba(17, 17, 17, 0.15);
}

.timeline__label {
  margin-bottom: 10px;
}

.timeline__caption {
  font-family: var(--font-serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.3;
  color: #111;
  margin: 0 0 clamp(28px, 4vh, 40px);
}

.timeline__grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
}

.timeline__item {
  position: relative;
  padding-top: clamp(22px, 2.8vh, 30px);
  border-top: 1px solid rgba(17, 17, 17, 0.18);
}

.timeline__item::before {
  /* blue marker "dot" sitting on the top rule */
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--blue);
  border-radius: 50%;
}

.timeline__quarter {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-style: normal;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1;
  color: var(--ink);
  letter-spacing: 0.01em;
  font-feature-settings: "lnum" 1, "tnum" 1;
  margin-bottom: clamp(12px, 1.6vh, 16px);
}

.timeline__step-title {
  font-family: var(--font-sans);
  font-size: clamp(11px, 0.95vw, 13px);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #111;
  line-height: 1.3;
  margin: 0 0 clamp(12px, 1.8vh, 16px);
  /* Reserve room for up to 2 lines so descriptions align across all columns */
  min-height: calc(2 * 1.3em);
}

.timeline__desc {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.5;
  color: #1a1a1a;
  margin: 0;
}

/* --- Three steps for next week -------------------------- */

.next-steps {
  margin-top: clamp(56px, 8vh, 88px);
  padding-top: clamp(28px, 4vh, 40px);
  border-top: 1px solid rgba(17, 17, 17, 0.15);
}

.next-steps__intro {
  font-family: var(--font-serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.3;
  color: #111;
  margin: 0 0 clamp(14px, 2vh, 18px);
  letter-spacing: -0.01em;
}

.next-steps__label {
  margin-bottom: clamp(28px, 4vh, 40px);
}

.next-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(204, 0, 0, 0.18);
  margin-top: clamp(20px, 3vh, 28px);
}

.next-steps__card {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.6vh, 16px);
  padding: clamp(24px, 3.4vh, 34px) clamp(22px, 2.4vw, 30px);
  border-right: 1px solid rgba(204, 0, 0, 0.18);
  position: relative;
}

.next-steps__card:first-child { padding-left: 0; }
.next-steps__card:last-child  { padding-right: 0; border-right: none; }

.next-steps__rule {
  display: block;
  width: clamp(28px, 3vw, 40px);
  height: 2px;
  background: var(--ink);
  margin-bottom: clamp(4px, 0.6vh, 8px);
  transform-origin: left center;
}

.next-steps__lead {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.32;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}

.next-steps__detail {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.55;
  color: rgba(17, 17, 17, 0.58);
  margin: auto 0 0;
}

/* ===========================================================
   CONCLUSION — final section
   =========================================================== */

.conclusion {
  background: var(--white);
  color: #111111;
  padding: clamp(80px, 12vh, 160px) var(--gutter);
  border-top: 1px solid rgba(17, 17, 17, 0.1);
}

.conclusion__frame {
  max-width: 960px;
  margin: 0 auto;
}

.conclusion__header {
  margin-bottom: clamp(40px, 6vh, 64px);
  max-width: 820px;
}

.conclusion__label {
  margin-bottom: clamp(18px, 2.4vh, 28px);
}

.conclusion__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(44px, 6vw, 92px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: #111111;
  margin: 0;
  max-width: 16ch;
}

.conclusion__body {
  max-width: 820px;
  margin-bottom: clamp(56px, 8vh, 88px);
}

/* --- Fridge cards (3-card closer) ----------------------- */

.fridge {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.4vw, 20px);
  padding-top: clamp(28px, 4vh, 40px);
  border-top: 1px solid rgba(17, 17, 17, 0.15);
}

.fridge__card {
  background: var(--white);
  border: 1px solid rgba(17, 17, 17, 0.12);
  padding: clamp(24px, 3.2vh, 32px) clamp(22px, 2.6vw, 28px);
  display: flex;
  flex-direction: column;
}

.fridge__card--data {
  background: rgba(0, 95, 143, 0.04);
  border-color: rgba(0, 95, 143, 0.25);
}

.fridge__tag {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  line-height: 1.3;
  margin-bottom: clamp(18px, 2.6vh, 24px);
}

.fridge__tag--red  { color: var(--red); }
.fridge__tag--blue { color: var(--blue); }

/* Quote card */
.fridge__quote {
  margin: 0 0 clamp(16px, 2.2vh, 20px);
  padding: 0;
}

.fridge__quote-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.35;
  color: #111;
  margin: 0;
  letter-spacing: -0.005em;
}

.fridge__note {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.5;
  color: rgba(17, 17, 17, 0.75);
  margin: auto 0 0;
}

/* Data card */
.fridge__stat {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.2vh, 12px);
  margin-bottom: clamp(16px, 2.2vh, 20px);
}

.fridge__stat-num {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(42px, 4.6vw, 64px);
  line-height: 0.95;
  color: var(--blue);
  letter-spacing: -0.02em;
  font-feature-settings: "lnum" 1;
}

.fridge__stat-unit {
  font-size: 0.58em;
  font-weight: 400;
  opacity: 0.85;
  margin-left: 0.04em;
}

.fridge__stat-label {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.35;
  color: #111;
  max-width: 24ch;
}

/* Tool card — three pillars */
.fridge__tool-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.3;
  color: #111;
  margin: 0 0 clamp(18px, 2.6vh, 22px);
  letter-spacing: -0.005em;
}

.fridge__pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  counter-reset: pillar;
}

.fridge__pillar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: clamp(12px, 1.8vh, 14px) 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
  counter-increment: pillar;
  align-items: baseline;
}

.fridge__pillar:first-child { padding-top: 0; }
.fridge__pillar:last-child  { border-bottom: none; padding-bottom: 0; }

.fridge__pillar::before {
  content: counter(pillar, decimal-leading-zero);
  font-family: var(--font-serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--red);
  line-height: 1;
  min-width: 2ch;
}

.fridge__pillar-name {
  font-family: var(--font-sans);
  font-size: clamp(11px, 0.95vw, 13px);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #111;
  line-height: 1.3;
  grid-column: 2;
}

.fridge__pillar-desc {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.45;
  color: rgba(17, 17, 17, 0.75);
  grid-column: 2;
  margin-top: 4px;
}

/* ===========================================================
   Desktop — lock to a single viewport height
   =========================================================== */

@media (min-width: 900px) {
  .hero {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    padding-top: clamp(20px, 3vh, 36px);
    padding-bottom: clamp(20px, 3vh, 36px);
  }

  .hero__content {
    padding: clamp(16px, 3vh, 40px) 0 clamp(12px, 2.5vh, 32px);
    justify-content: center;
  }

  .hero__kicker {
    margin-bottom: clamp(16px, 3vh, 36px);
  }

  .hero__headline {
    /* cap by width AND height so it never pushes content off-screen */
    font-size: clamp(56px, min(8.5vw, 13vh), 148px);
    margin-bottom: clamp(20px, 3vh, 40px);
  }

  .hero__deck {
    font-size: clamp(17px, min(1.55vw, 2.3vh), 22px);
    line-height: 1.45;
    margin-bottom: clamp(24px, 4vh, 56px);
  }

  .hero__byline-rule {
    margin-bottom: 14px;
  }

  .hero__byline-meta {
    font-size: clamp(10px, 1.25vh, 12px);
  }

  .hero__scroll {
    padding-top: clamp(12px, 2vh, 24px);
  }
}

/* ===========================================================
   Responsive refinements
   =========================================================== */

@media (max-width: 720px) {
  .hero__topbar {
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .hero__headline--secondary {
    padding-left: 0;
  }

  .hero__byline-meta {
    font-size: 10px;
    letter-spacing: 0.16em;
  }

  .article {
    padding: clamp(64px, 10vh, 96px) var(--gutter);
  }

  .article__toc {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .article__toc-link {
    gap: 6px;
  }

  .article__toc-tag {
    font-size: 9.5px;
    letter-spacing: 0.24em;
    gap: 8px;
  }

  .article__toc-tag::before {
    width: 16px;
  }

  .article__toc-link:hover .article__toc-tag::before,
  .article__toc-link:focus-visible .article__toc-tag::before {
    width: 24px;
  }

  .article__toc-dek {
    max-width: 100%;
  }

  /* --- Bridge paragraphs ---------------------------------- */
  .article__bridge-p {
    font-size: clamp(16px, 4.5vw, 19px);
    line-height: 1.55;
  }

  /* --- History timeline: collapse to vertical rail -------- */
  .history__rail {
    grid-template-columns: 1fr;
    row-gap: clamp(28px, 4vh, 36px);
    padding-left: 28px;
  }

  .history__rail::before {
    /* vertical line on the left */
    top: 6px;
    bottom: 6px;
    left: 5px;
    right: auto;
    width: 1px;
    height: auto;
  }

  .history__node {
    align-items: flex-start;
    text-align: left;
  }

  .history__dot {
    position: absolute;
    top: 4px;
    left: -28px;
    margin-bottom: 0;
  }

  .history__year {
    margin-bottom: 8px;
    font-size: clamp(20px, 5.5vw, 26px);
  }

  .history__heading,
  .history__body {
    max-width: 100%;
  }

  .history__heading {
    font-size: clamp(15px, 4.2vw, 17px);
    /* Single-column rail — no need to reserve 3 lines */
    min-height: 0;
  }

  .history__body {
    font-size: clamp(13.5px, 3.9vw, 15px);
  }

  .article__dropcap {
    font-size: 56px;
    padding-right: 10px;
  }

  .stats {
    padding: clamp(28px, 4.5vh, 40px) clamp(20px, 4vw, 32px);
  }

  .stats__grid {
    gap: clamp(24px, 4vh, 32px) clamp(16px, 4vw, 24px);
  }

  .stats__number {
    font-size: clamp(38px, 10vw, 56px);
  }

  .stats__desc {
    font-size: clamp(11px, 2.5vw, 13px);
  }

  .stats__source {
    font-size: 8px;
    letter-spacing: 0.22em;
  }

  .chapter {
    padding: clamp(64px, 10vh, 96px) var(--gutter);
  }

  .chapter__dropcap {
    font-size: 52px;
    padding-right: 10px;
  }

  .keydata__row {
    grid-template-columns: auto 1fr;
    gap: 18px;
  }

  .keydata__num {
    min-width: 90px;
  }

  .chart__row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "label value"
      "bar   bar";
    row-gap: 10px;
    column-gap: 16px;
  }

  .chart__label {
    grid-area: label;
  }

  .chart__value {
    grid-area: value;
    font-size: 22px;
  }

  .chart__bar {
    grid-area: bar;
  }

  .pullquote__mark {
    font-size: 72px;
    top: 10px;
  }

  .pullquote__text,
  .pullquote__cite {
    padding-left: 48px;
  }

  .duel {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .duel__panel {
    min-height: auto;
  }

  .module__row {
    grid-template-columns: 1fr;
  }

  .module__side--myth {
    border-right: none;
    border-bottom: 1px solid rgba(204, 0, 0, 0.18);
  }

  .module__side--reality {
    border-left: none;
  }

  .module__side {
    padding: clamp(20px, 3vh, 28px) clamp(18px, 4vw, 22px);
  }

  .module__side--myth {
    padding-left: clamp(18px, 4vw, 22px);
  }

  .module__side--myth::before {
    top: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: 2px;
  }

  .module__side--reality::before {
    top: auto;
    bottom: 0;
    left: 0;
    right: auto;
    width: 100%;
    height: 2px;
  }

  .gaps {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .gap__head {
    gap: 14px;
  }

  .scenarios__grid {
    grid-template-columns: 1fr;
  }

  .timeline__grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(20px, 3vh, 28px) clamp(14px, 2vw, 20px);
  }

  .next-steps__grid {
    grid-template-columns: 1fr;
    border-top: none;
  }

  .next-steps__card {
    border-right: none;
    border-bottom: 1px solid rgba(204, 0, 0, 0.18);
    padding: clamp(22px, 3vh, 28px) 0;
  }

  .next-steps__card:first-child {
    padding-top: clamp(22px, 3vh, 28px);
    border-top: 1px solid rgba(204, 0, 0, 0.18);
  }

  .next-steps__card:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .conclusion {
    padding: clamp(64px, 10vh, 96px) var(--gutter);
  }

  .fridge {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .author-quote__cite {
    flex-direction: column;
    gap: 6px;
  }

  .author-quote__sep {
    display: none;
  }

  /* --- Article 2: fears + archetype + episode-nav --- */
  .fears__item {
    grid-template-columns: auto 1fr;
    gap: 16px clamp(16px, 4vw, 22px);
    padding: clamp(20px, 3vh, 28px) 0;
  }

  .fears__num {
    font-size: clamp(28px, 8vw, 38px);
  }

  .episode-nav__direction {
    font-size: 10px;
    letter-spacing: 0.24em;
    gap: 10px;
  }

  .episode-nav__title {
    font-size: clamp(20px, 5vw, 26px);
  }
}

@media (max-width: 480px) {
  .timeline__grid {
    grid-template-columns: 1fr;
  }

  /* Single column — no need to reserve 2 lines for cross-column alignment */
  .timeline__step-title {
    min-height: 0;
  }
}

@media (max-width: 480px) {
  .hero__topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .hero__kicker {
    gap: 10px;
    letter-spacing: 0.22em;
  }
}

/* ===========================================================
   ARTICLE 2 — Additional editorial components
   Built on top of the existing component library.
   =========================================================== */

/* --- Reading-time chip in the byline --------------------- */

.hero__byline-read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--meta);
}

.hero__byline-icon {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  flex-shrink: 0;
}

/* --- Archetype cards (extends .gap with an icon) --------- */

.archetype__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: clamp(14px, 2vh, 18px);
  color: var(--red);
  transition: color 0.35s ease, transform 0.35s ease;
}

.archetype__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.gap:hover .archetype__icon,
.gap:focus-visible .archetype__icon,
.gap:focus-within .archetype__icon {
  transform: scale(1.06);
}

.archetype__motto {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.45;
  color: var(--red);
  margin: clamp(14px, 2vh, 18px) 0 0;
  padding-top: clamp(14px, 2vh, 18px);
  border-top: 1px solid rgba(204, 0, 0, 0.18);
}

/* --- Fears — vertical numbered list ---------------------- */

.fears-block {
  margin: clamp(40px, 6vh, 64px) 0 clamp(48px, 7vh, 72px);
}

.fears-block__caption {
  font-family: var(--font-sans);
  font-size: clamp(11px, 0.95vw, 13px);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 clamp(20px, 3vh, 28px);
}

.fears {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(17, 17, 17, 0.15);
}

.fears__item {
  display: grid;
  grid-template-columns: clamp(64px, 10vw, 110px) 1fr;
  gap: clamp(20px, 3vw, 36px);
  align-items: baseline;
  padding: clamp(24px, 3.5vh, 36px) 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
}

.fears__num {
  font-family: var(--font-serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(34px, 3.8vw, 54px);
  line-height: 1;
  color: var(--red);
  letter-spacing: -0.02em;
  font-feature-settings: "lnum" 1;
}

.fears__body {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.5vh, 14px);
}

.fears__title {
  font-family: var(--font-sans);
  font-size: clamp(13px, 1.05vw, 15px);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #111;
  line-height: 1.3;
  margin: 0;
}

.fears__desc {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.55;
  color: #1a1a1a;
  margin: 0;
}

.fears__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.45;
  color: rgba(17, 17, 17, 0.62);
  border-left: 2px solid var(--red);
  padding-left: clamp(16px, 2vw, 22px);
  margin: clamp(4px, 0.6vh, 8px) 0 0;
}

/* --- Scenarios — quote intro variant (Chapter IV) ------- */

.scenarios__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.4;
  color: #111;
  margin: 0 0 clamp(20px, 3vh, 26px);
  padding-bottom: clamp(20px, 3vh, 26px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
  letter-spacing: -0.005em;
}

.scenarios__panel--bad .scenarios__quote {
  color: var(--red);
}

.scenarios__panel--good .scenarios__quote {
  color: var(--blue);
}

/* Closing paragraph beneath a scenarios component */
.scenarios__close {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: #1a1a1a;
  margin: clamp(28px, 4vh, 40px) 0 0;
  letter-spacing: -0.005em;
}

/* --- Timeline: 3-column variant for Chapter V ----------- */

.timeline__grid--three {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 720px) {
  .timeline__grid--three {
    grid-template-columns: 1fr;
  }
}

/* --- Numbered question cards for Chapter VI ------------- */

.next-steps__num {
  display: block;
  font-family: var(--font-serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  color: var(--red);
  letter-spacing: -0.01em;
  font-feature-settings: "lnum" 1;
  margin-bottom: clamp(8px, 1.2vh, 12px);
}

/* --- Previous-Episode link in the footer ---------------- */

.episode-nav {
  max-width: 1040px;
  margin: 0 auto clamp(56px, 8vh, 88px);
  padding-bottom: clamp(36px, 5vh, 48px);
  border-bottom: 1px solid var(--line-soft);
}

.episode-nav__link {
  display: inline-flex;
  flex-direction: column;
  gap: clamp(10px, 1.4vh, 14px);
  text-decoration: none;
  color: inherit;
  transition: gap 0.3s ease;
}

.episode-nav__direction {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
}

.episode-nav__arrow {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  display: inline-block;
  transition: transform 0.3s ease;
}

.episode-nav__title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.episode-nav__link:hover .episode-nav__title {
  color: var(--white);
}

.episode-nav__link:hover .episode-nav__arrow {
  transform: translateX(-6px);
}

/* ===========================================================
   FOOTER — Next Episode teaser + publication metadata
   Black bookend mirroring the hero at the top.
   =========================================================== */

.site-footer {
  position: relative;
  background: var(--bg);
  color: var(--white);
  padding: clamp(80px, 14vh, 160px) var(--gutter) clamp(36px, 6vh, 56px);
  border-top: 1px solid var(--line-soft);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(80px, 12vw, 160px);
  height: 2px;
  background: var(--red);
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ---------- Next Episode teaser ---------- */

.next-episode {
  max-width: 1040px;
  margin: 0 auto;
}

.next-episode__label {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: clamp(36px, 5vh, 52px);
}

.next-episode__label-rule {
  width: 56px;
  height: 1px;
  background: var(--red);
  flex-shrink: 0;
}

.next-episode__label-text {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
}

.next-episode__body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.next-episode__index {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(88px, 10vw, 168px);
  line-height: 0.85;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.08);
  user-select: none;
  position: relative;
  top: -12px;
}

.next-episode__content {
  max-width: 720px;
}

.next-episode__hook {
  font-family: var(--font-serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0 0 clamp(18px, 2.4vh, 26px);
  max-width: 16ch;
}

.next-episode__subtitle {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(19px, 1.6vw, 24px);
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 clamp(22px, 3vh, 30px);
  letter-spacing: -0.005em;
  max-width: 640px;
}

.next-episode__desc {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
  margin: 0 0 clamp(36px, 5vh, 52px);
  max-width: 580px;
}

.next-episode__cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  padding: 18px 4px;
  position: relative;
  transition: color 0.3s ease, gap 0.3s ease;
}

.next-episode__cta::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  transition: background-color 0.3s ease, right 0.4s ease;
}

.next-episode__cta:hover {
  color: var(--red);
  gap: 22px;
}

.next-episode__cta:hover::before {
  background: var(--red);
}

.next-episode__cta-arrow {
  font-size: 18px;
  line-height: 1;
  transition: transform 0.3s ease;
  display: inline-block;
}

.next-episode__cta:hover .next-episode__cta-arrow {
  transform: translateX(6px);
}

/* ---------- Publication metadata ---------- */

.site-footer__meta {
  max-width: 1040px;
  margin: clamp(72px, 10vh, 120px) auto 0;
  padding-top: clamp(32px, 5vh, 44px);
  border-top: 1px solid var(--line-soft);
}

.site-footer__meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 32px;
}

.site-footer__author,
.site-footer__issue {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.site-footer__name {
  color: var(--white);
  font-weight: 600;
}

.site-footer__dash,
.site-footer__sep {
  color: rgba(255, 255, 255, 0.28);
}

.site-footer__episode {
  color: var(--red);
  font-weight: 600;
}

/* ---------- Tablet ---------- */

@media (max-width: 900px) {
  .next-episode__body {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .next-episode__index {
    top: 0;
    margin-bottom: -20px;
    font-size: clamp(72px, 18vw, 120px);
  }
}

/* ---------- Mobile ---------- */

@media (max-width: 720px) {
  .site-footer {
    padding-top: clamp(64px, 10vh, 96px);
  }

  .next-episode__label {
    gap: 12px;
    margin-bottom: 28px;
  }

  .next-episode__label-rule {
    width: 32px;
  }

  .next-episode__label-text {
    font-size: 10px;
    letter-spacing: 0.24em;
  }

  .next-episode__hook {
    max-width: 100%;
  }

  .site-footer__meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .next-episode__cta {
    font-size: 11px;
    letter-spacing: 0.22em;
  }

  .site-footer__author,
  .site-footer__issue {
    font-size: 10px;
    letter-spacing: 0.2em;
    gap: 8px;
  }
}

/* ===========================================================
   READING PROGRESS RING
   Fixed bottom-right. Tracks scroll progress as a red arc,
   doubles as "back to top" button.
   =========================================================== */

.progress-ring {
  position: fixed;
  bottom: clamp(18px, 2.4vw, 28px);
  right: clamp(18px, 2.4vw, 28px);
  width: 56px;
  height: 56px;
  padding: 0;
  border: none;
  background: var(--white);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  box-shadow:
    0 2px 6px rgba(17, 17, 17, 0.08),
    0 12px 32px rgba(17, 17, 17, 0.14);
  opacity: 0;
  transform: translateY(14px) scale(0.9);
  pointer-events: none;
  transition:
    opacity 0.45s ease,
    transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s ease,
    color 0.25s ease;
  z-index: 100;
  -webkit-tap-highlight-color: transparent;
}

.progress-ring.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.progress-ring:hover {
  transform: translateY(-2px) scale(1.04);
  color: var(--red);
  box-shadow:
    0 4px 10px rgba(17, 17, 17, 0.1),
    0 18px 40px rgba(204, 0, 0, 0.22);
}

.progress-ring:active {
  transform: translateY(0) scale(0.97);
  transition-duration: 0.15s;
}

.progress-ring:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px var(--white),
    0 0 0 4px var(--red),
    0 12px 32px rgba(17, 17, 17, 0.16);
}

.progress-ring__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.progress-ring__tick {
  stroke: rgba(17, 17, 17, 0.16);
  stroke-width: 1.4;
  stroke-linecap: butt;
  vector-effect: non-scaling-stroke;
  transition: stroke 0.2s ease, stroke-width 0.2s ease;
}

.progress-ring__tick.is-active {
  stroke: var(--red);
  stroke-width: 1.6;
}

.progress-ring.is-complete .progress-ring__tick.is-active {
  stroke-width: 1.9;
}

.progress-ring__value {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.01em;
  color: currentColor;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.progress-ring__num {
  display: inline-block;
}

.progress-ring__unit {
  display: inline-block;
  font-size: 9px;
  font-weight: 500;
  margin-left: 1px;
  color: rgba(17, 17, 17, 0.45);
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
}

.progress-ring:hover .progress-ring__unit {
  color: var(--red);
}

/* Mobile: slightly smaller, tighter to the edge */
@media (max-width: 720px) {
  .progress-ring {
    width: 48px;
    height: 48px;
    bottom: 14px;
    right: 14px;
    box-shadow:
      0 2px 5px rgba(17, 17, 17, 0.1),
      0 8px 22px rgba(17, 17, 17, 0.14);
  }

  .progress-ring__value {
    font-size: 11px;
  }

  .progress-ring__unit {
    font-size: 8px;
  }
}

/* Respect motion preferences */
@media (prefers-reduced-motion: reduce) {
  .progress-ring,
  .progress-ring__fill,
  .progress-ring__value {
    transition: opacity 0.2s ease;
  }

  .progress-ring {
    transform: none;
  }

  .progress-ring.is-visible {
    transform: none;
  }
}

/* ===========================================================
   ANIMATIONS — editorial entrance + scroll reveals
   - Hero fades up element-by-element on page load
   - Major content blocks fade up as they enter viewport
   - Chart bars grow from zero when their row reveals
   - Section labels' red rule draws in
   - All animations gated behind .js (no flash without JS)
     and disabled under prefers-reduced-motion
   =========================================================== */

@media (prefers-reduced-motion: no-preference) {

  /* --- Hero entrance (page-load animation) --- */
  .js .hero__topbar,
  .js .hero__kicker,
  .js .hero__headline-line,
  .js .hero__deck,
  .js .hero__byline,
  .js .hero__scroll {
    opacity: 0;
    transform: translateY(20px);
    transition:
      opacity 0.95s cubic-bezier(0.22, 0.61, 0.36, 1),
      transform 0.95s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: opacity, transform;
  }

  .js.is-loaded .hero__topbar  { opacity: 1; transform: none; transition-delay: 0.10s; }
  .js.is-loaded .hero__kicker  { opacity: 1; transform: none; transition-delay: 0.30s; }
  .js.is-loaded .hero__headline-line:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.45s; }
  .js.is-loaded .hero__headline-line:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.60s; }
  .js.is-loaded .hero__deck    { opacity: 1; transform: none; transition-delay: 0.85s; }
  .js.is-loaded .hero__byline  { opacity: 1; transform: none; transition-delay: 1.00s; }
  .js.is-loaded .hero__scroll  { opacity: 1; transform: none; transition-delay: 1.20s; }

  /* --- Reveal base (used by IntersectionObserver) --- */
  .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
      opacity 0.85s cubic-bezier(0.22, 0.61, 0.36, 1),
      transform 0.85s cubic-bezier(0.22, 0.61, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
  }

  .reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
  }

  /* Drop caps add a tiny scale-in on top of the parent reveal */
  .reveal .article__dropcap,
  .reveal .chapter__dropcap {
    transform: scale(0.86);
    transform-origin: left top;
    opacity: 0;
    transition:
      opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 0.25s,
      transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 0.25s;
  }

  .reveal.is-revealed .article__dropcap,
  .reveal.is-revealed .chapter__dropcap {
    transform: scale(1);
    opacity: 1;
  }

  /* Section label: small red rule draws in horizontally */
  .reveal .article__label-rule,
  .reveal .next-steps__rule {
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) 0.15s;
  }

  .reveal.is-revealed .article__label-rule,
  .reveal.is-revealed .next-steps__rule {
    transform: scaleX(1);
  }

  /* --- Chart bars: grow from 0 width when revealed --- */
  .chart__bar-fill {
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform 1.4s cubic-bezier(0.22, 0.61, 0.36, 1) 0.15s;
  }

  .chart__row.is-revealed .chart__bar-fill {
    transform: scaleX(1);
  }

  /* History timeline: dot pulse + sequential reveal already
     handled via .reveal + --reveal-delay stagger.
     Slight scale-in for the dot on top of the parent reveal. */
  .reveal .history__dot {
    transform: scale(0);
    transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.25s;
  }

  .reveal.is-revealed .history__dot {
    transform: scale(1);
  }

  /* Gap cards: subtle hover lift refinement */
  .gap {
    transition:
      border-color 0.35s ease,
      background-color 0.35s ease,
      transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  }

  .gap:hover,
  .gap:focus-visible {
    transform: translateY(-2px);
  }

  /* Fridge cards: small hover lift */
  .fridge__card {
    transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
                box-shadow 0.4s ease;
  }

  .fridge__card:hover {
    transform: translateY(-3px);
  }

  /* Module rows: subtle highlight on hover (myth side intensifies) */
  .module__side--myth {
    transition: background-color 0.4s ease;
  }

  .module__row:hover .module__side--myth {
    background-color: rgba(204, 0, 0, 0.06);
  }
}

/* --- Reduced motion: instant reveal, no entrance animation --- */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-revealed,
  .reveal .article__dropcap,
  .reveal .chapter__dropcap,
  .reveal .article__label-rule,
  .reveal .next-steps__rule,
  .reveal .history__dot,
  .chart__bar-fill,
  .chart__row.is-revealed .chart__bar-fill {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .js .hero__topbar,
  .js .hero__kicker,
  .js .hero__headline-line,
  .js .hero__deck,
  .js .hero__byline,
  .js .hero__scroll {
    opacity: 1;
    transform: none;
  }
}
