/* ==============================================================
   Vellum — scrollytelling story template
   ============================================================== */

:root {
  --bg-light: #fbfaf7;
  --fg-light: #1b1b1d;
  --muted-light: #66646b;
  --bg-dark: #111113;
  --fg-dark: #f5f3ee;
  --muted-dark: #b5b2ab;
  --rule: #1b1b1d;

  /* brand (Vellum logo) */
  --brand: #186078;
  --brand-2: #48c0d8;

  /* department accent: fill colour, text colour on light, text on fill */
  --accent: var(--brand);
  --accent-text: var(--brand);
  --on-accent: #fff;
  --accent-bg: #1f2a24;
  --accent-fg: #f5f3ee;

  --display: Fraunces, Georgia, serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: Barlow, system-ui, -apple-system, "Segoe UI", sans-serif;

  --measure: 42rem;          /* body text column width */
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 56px;
  --fade: 600ms ease;
}

/* ---------- department colours (from the print edition) ---------- */
.dept--contents   { --accent: #189ce4; --accent-text: #0f76b0; --on-accent: #fff; }
.dept--sentiment  { --accent: #186078; --accent-text: #186078; --on-accent: #fff; }
.dept--main       { --accent: #6c3090; --accent-text: #6c3090; --on-accent: #fff; }
.dept--special    { --accent: #6ccc30; --accent-text: #3f8a14; --on-accent: #10240a; }
.dept--green      { --accent: #0ca854; --accent-text: #08833f; --on-accent: #fff; }
.dept--health     { --accent: #303c90; --accent-text: #303c90; --on-accent: #fff; }
.dept--political  { --accent: #2a2a2e; --accent-text: #2a2a2e; --on-accent: #fff; }
.dept--trade      { --accent: #c0a800; --accent-text: #7d6d00; --on-accent: #1b1700; }
.dept--parliament { --accent: #900c60; --accent-text: #900c60; --on-accent: #fff; }
.dept--pulse      { --accent: #c07854; --accent-text: #9a5431; --on-accent: #fff; }
.dept--who        { --accent: #30c0b4; --accent-text: #16867d; --on-accent: #06201e; }

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--bg-light);
  color: var(--fg-light);
  font-family: var(--serif);
  font-size: clamp(1.0625rem, 0.95rem + 0.35vw, 1.1875rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
p { margin: 0 0 1.25em; }
a { color: inherit; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--fg-light); color: var(--bg-light); padding: 8px 12px;
}
.skip-link:focus { left: 8px; }

.nowrap { white-space: nowrap; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- themes ---------- */
.theme-light { background: var(--bg-light); color: var(--fg-light); --muted: var(--muted-light); }
.theme-dark  { background: var(--bg-dark);  color: var(--fg-dark);  --muted: var(--muted-dark); }
.theme-accent { background: var(--accent-bg); color: var(--accent-fg); --muted: var(--muted-dark); }
.theme-fill  { background: var(--accent); color: var(--on-accent); --muted: currentColor; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  background: rgb(17 17 19 / 0.86);
  backdrop-filter: blur(8px);
  color: var(--fg-dark);
  font-family: var(--sans);
  font-size: 0.875rem;
}
.site-header__inner {
  height: 100%;
  display: flex; align-items: center; gap: 1.25rem;
  padding: 0 var(--gutter);
}
.site-header__brand { display: flex; align-items: center; gap: 0.4rem; color: inherit; text-decoration: none; white-space: nowrap; }
.site-header__brand img { height: 22px; width: auto; }
.site-header__brand strong { font-family: var(--display); font-weight: 800; font-size: 1.25rem; color: var(--brand-2); letter-spacing: -0.01em; }
.site-header__brand span { font-weight: 300; font-size: 1.05rem; padding-top: 0.2rem; }
.site-header__title { opacity: 0.7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-header__current {
  font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.75rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  border-left: 3px solid var(--accent); padding-left: 0.6rem;
}

/* contents menu */
.menu { margin-left: auto; position: relative; }
.menu__button {
  font: inherit; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.75rem;
  color: inherit; background: transparent; border: 1px solid rgb(255 255 255 / 0.35);
  border-radius: 999px; padding: 0.45rem 0.9rem; cursor: pointer;
}
.menu__button:hover, .menu__button[aria-expanded="true"] { background: rgb(255 255 255 / 0.12); }
.menu__panel {
  position: absolute; right: 0; top: calc(100% + 10px);
  width: min(22rem, calc(100vw - 2 * var(--gutter)));
  max-height: calc(100vh - var(--header-h) - 24px); overflow: auto;
  background: #fff; color: var(--fg-light);
  border-radius: 12px; box-shadow: 0 16px 40px rgb(0 0 0 / 0.3);
  padding: 0.5rem; margin: 0; list-style: none;
}
.menu__panel[hidden] { display: none; }
.menu__panel a {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.6rem 0.7rem; border-radius: 8px; text-decoration: none; line-height: 1.3;
}
.menu__panel a:hover, .menu__panel a.is-current { background: #f0eee9; }
.menu__panel a::before {
  content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--dot, var(--brand));
}

.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; }
.progress__bar {
  display: block; height: 100%; width: 100%;
  background: var(--accent); transform-origin: left; transform: scaleX(0);
  transition: background-color 300ms ease;
}

@media (max-width: 720px) {
  .site-header__title, .site-header__current { display: none; }
}

/* ---------- shared type ---------- */
.section { position: relative; }

.kicker {
  font-family: var(--sans); font-weight: 600;
  font-size: 0.8125rem; letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-heading {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  line-height: 1.15;
  margin: 0 0 1.25rem;
}
.dropcap::first-letter {
  float: left;
  font-family: var(--display); font-weight: 800;
  font-size: 4.3em; line-height: 0.8;
  padding: 0.05em 0.1em 0 0;
  color: var(--accent-text);
}
.theme-dark .dropcap::first-letter { color: inherit; }

.pullquote { margin: 2.25rem 0; padding: 0.25rem 0 0.25rem 1.25rem; border-left: 4px solid var(--accent); }
.pullquote p { font-family: var(--display); font-weight: 600; font-size: 1.3em; line-height: 1.35; margin-bottom: 0.6rem; }
.pullquote cite { font-family: var(--sans); font-size: 0.8125rem; font-style: normal; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

figcaption {
  font-family: var(--sans); font-size: 0.8125rem; line-height: 1.45;
  color: var(--muted);
  margin-top: 0.6rem;
}

.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--accent); color: var(--on-accent);
  font-family: var(--display); font-weight: 700; font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem);
  line-height: 1.2; padding: 0.35rem 0.9rem 0.35rem 0.45rem;
  margin: 0 0 1.25rem;
}
.badge svg { flex: none; width: 1.5em; height: 1.5em; }

.source {
  font-family: var(--sans); font-size: 0.8125rem; letter-spacing: 0.04em;
  color: var(--muted);
}

/* ---------- 1/7. title section ---------- */
.title {
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: calc(var(--header-h) + 4rem) var(--gutter) 5rem;
}
.title--half { min-height: max(60vh, 520px); }
.title--full { min-height: 100vh; min-height: 100svh; align-items: flex-end; }

.title__media, .banner__media { position: absolute; inset: 0; }
.title__media img, .banner__media img { width: 100%; height: 100%; object-fit: cover; }
.title__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgb(0 0 0 / 0.35), rgb(0 0 0 / 0.7));
}
.title__content { position: relative; max-width: 56rem; }
.title__heading {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.25rem, 1.2rem + 4.5vw, 5rem);
  line-height: 1.02; letter-spacing: -0.01em;
  margin: 0 0 1.5rem;
}
.title--full .title__heading:last-child { margin: 0; }
.title__standfirst { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.4rem); line-height: 1.5; font-style: italic; }
.title__standfirst:last-child { margin-bottom: 0; }
.byline { font-family: var(--sans); font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; margin: 0; }

.scroll-cue {
  position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%);
  font-family: var(--sans); font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.75;
}
.scroll-cue::after { content: ""; display: block; width: 1px; height: 28px; margin: 0.5rem auto 0; background: currentColor; animation: cue 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0%,100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }

/* cover masthead */
.masthead { margin: 0 0 2.5rem; line-height: 0.9; }
.masthead strong {
  display: block;
  font-family: var(--display); font-weight: 900; letter-spacing: -0.03em;
  font-size: clamp(4rem, 2rem + 10vw, 9.5rem); color: var(--brand-2);
}
.masthead img { width: clamp(15rem, 8rem + 32vw, 36rem); height: auto; margin: 1.25rem auto 0; }
.masthead span {
  display: block; margin-top: 1rem;
  font-family: var(--sans); font-weight: 300; letter-spacing: 0.35em; text-transform: uppercase;
  font-size: clamp(1rem, 0.8rem + 1vw, 1.6rem);
}
.cover-lead { border-top: 1px solid rgb(255 255 255 / 0.4); padding-top: 2rem; }
.cover-lead a { text-decoration: none; }
.cover-lead a:hover .title__heading { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.cover-lead .title__heading { font-size: clamp(1.75rem, 1rem + 3vw, 3.25rem); margin-bottom: 1rem; }

/* ---------- 4. text over media (banner) ---------- */
.banner {
  min-height: 33vh;
  display: flex; align-items: center; justify-content: center;
  padding: 5rem var(--gutter);
  overflow: hidden; text-align: center;
}
.banner__heading {
  position: relative;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.75rem, 1rem + 3.5vw, 3.75rem);
  margin: 0;
}

/* ---------- department header (print-style section tab) ---------- */
.dept-head {
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2.5rem;
  background: var(--bg-light);
  text-align: center;
  scroll-margin-top: 0;
}
.dept-head__inner {
  position: relative; max-width: 72rem; margin: 0 auto;
  border-top: 5px solid var(--rule);
  padding-top: 1rem;
}
.dept-head__inner::before {
  content: ""; position: absolute; left: 0; right: 0; top: 1rem; height: 5.5rem;
  background: repeating-linear-gradient(135deg, var(--accent) 0 1.5px, transparent 1.5px 9px);
}
.dept-head__tab {
  position: relative; display: inline-block;
  min-width: min(34rem, 100%);
  background: var(--bg-light);
  border-radius: 0 0 28px 28px;
}
.dept-head__name {
  display: block; padding: 0.4rem 2rem 0.6rem;
  font-family: var(--display); font-weight: 800; letter-spacing: -0.01em;
  font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4rem); line-height: 1.05;
  color: var(--accent-text); margin: 0;
}
.dept-head__name--long { font-size: clamp(1.6rem, 1rem + 2.4vw, 2.75rem); padding-top: 1rem; }
.dept-head__date {
  display: block;
  background: var(--accent); color: var(--on-accent);
  border-radius: 0 0 28px 28px;
  font-family: var(--sans); font-weight: 300; font-size: 0.875rem; letter-spacing: 0.04em;
  padding: 0.45rem 1.5rem;
}
.dept-head__date b { font-weight: 700; }

/* ---------- article head (badge + headline + lede, optional figure) ---------- */
.article-head { padding: 1rem var(--gutter) clamp(2.5rem, 6vw, 4.5rem); }
.article-head__inner {
  max-width: 72rem; margin: 0 auto;
  display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
}
.article-head__inner--solo { grid-template-columns: minmax(0, 1fr); max-width: 52rem; }
.article-head__headline {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.9rem, 1.1rem + 3vw, 3.5rem); line-height: 1.08;
  color: var(--accent-text); margin: 0 0 1.25rem;
}
.article-head__lede { font-size: 1.1em; }
.article-head__lede:last-child { margin-bottom: 0; }
.article-head figure img { width: 100%; }
@media (max-width: 860px) {
  .article-head__inner { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- scrollmation shared ---------- */
.sm-stage { position: relative; }
.sm-media {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity var(--fade);
}
.sm-media.is-active { opacity: 1; }
.sm-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 2/3/8. two-column scrollmation ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.two-col--text-right .two-col__text { order: 2; }
.two-col__text {
  padding: 30vh var(--gutter);
  display: flex; flex-direction: column; align-items: center;
}
.two-col__text .sm-step {
  width: 100%; max-width: var(--measure);
  padding: 8vh 0;
}
.two-col__text .sm-step + .sm-step { margin-top: 20vh; }
.two-col__media .sm-stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
}
.two-col__media .sm-media figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0;
  padding: 2.5rem 1.25rem 1rem;
  background: linear-gradient(transparent, rgb(0 0 0 / 0.7));
  color: #eee;
}
.two-col__media .sm-media--contain { background: #fff; }
.two-col__media .sm-media--contain img { object-fit: contain; object-position: bottom center; padding-top: var(--header-h); }

/* mobile: pinned image fills the screen, text scrolls over in cards */
@media (max-width: 860px) {
  .two-col { display: block; }
  .two-col__media { position: absolute; inset: 0; }
  .two-col__text { position: relative; z-index: 1; padding: 60vh var(--gutter) 40vh; }
  .two-col__text .sm-step {
    background: var(--bg-light); color: var(--fg-light);
    padding: 1.5rem; box-shadow: 0 8px 30px rgb(0 0 0 / 0.25);
  }
  .two-col__text .sm-step + .sm-step { margin-top: 60vh; }
  .two-col__media .sm-media figcaption { display: none; }
  .two-col__media .sm-media--contain img { object-fit: cover; object-position: top center; padding-top: var(--header-h); }
}

/* ---------- 5/9. background scrollmation ---------- */
.bg-sm__stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
}
.bg-sm__stage::after { /* overlay for legibility */
  content: ""; position: absolute; inset: 0;
  background: rgb(0 0 0 / 0.25);
}
.bg-sm__stage figcaption {
  position: absolute; right: var(--gutter); bottom: 1rem; z-index: 1;
  max-width: 24rem; margin: 0; text-align: right; color: #ddd;
}
.bg-sm__steps {
  position: relative; z-index: 2;
  margin-top: -100vh; margin-top: -100svh;
  padding: 70vh var(--gutter) 60vh;
}
.bg-sm__card {
  max-width: 36rem;
  background: rgb(17 17 19 / 0.86);
  backdrop-filter: blur(4px);
  padding: clamp(1.25rem, 3vw, 2.5rem);
}
.bg-sm__card + .bg-sm__card { margin-top: 80vh; }
.bg-sm__card p:last-child, .bg-sm__card ul:last-child { margin-bottom: 0; }
.bg-sm__card .article-head__headline { color: inherit; font-size: clamp(1.6rem, 1.1rem + 2vw, 2.5rem); }

/* ---------- 6/10. text section ---------- */
.text { padding: clamp(3rem, 8vw, 6rem) var(--gutter); }
.text__column { max-width: var(--measure); margin: 0 auto; }
.text__column > h3, .bg-sm__card h3 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem); line-height: 1.2;
  color: var(--accent-text); margin: 2.75rem 0 1rem;
}
.bg-sm__card h3 { color: inherit; margin-top: 0; }
.text__column > h3:first-child { margin-top: 0; }
.article-head + .text { padding-top: 0; }
.inline-media { margin: 2.5rem 0; }
.inline-media--wide { margin-left: calc(50% - min(50vw - var(--gutter), 36rem)); margin-right: calc(50% - min(50vw - var(--gutter), 36rem)); }
.inline-media--wide img { width: 100%; }
.credits { font-family: var(--sans); font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid currentColor; }

/* lists with bold lead-ins */
.key-list { margin: 0 0 1.5rem; padding: 0; list-style: none; }
.key-list li { position: relative; padding-left: 1.5rem; margin-bottom: 0.9rem; }
.key-list li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 0.55rem; height: 0.55rem; background: var(--accent); border-radius: 2px;
}
.key-list strong { font-family: var(--sans); font-weight: 700; }

/* stat tiles */
.stats {
  display: grid; gap: 1rem; margin: 1.5rem 0 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr));
}
.stat { border-top: 4px solid var(--accent); padding-top: 0.75rem; }
.stat__value { display: block; font-family: var(--display); font-weight: 800; font-size: 2.75rem; line-height: 1; color: var(--accent-text); }
.stat__label { display: block; font-family: var(--sans); font-size: 0.9rem; line-height: 1.35; margin-top: 0.4rem; }

/* data tables */
.table-wrap { margin: 1.75rem 0 2.25rem; overflow-x: auto; }
.data-table {
  width: 100%; border-collapse: collapse;
  font-family: var(--sans); font-size: 0.95rem; line-height: 1.4;
}
.data-table caption { caption-side: bottom; text-align: left; padding-top: 0.6rem; font-size: 0.8125rem; color: var(--muted); }
.data-table th, .data-table td { padding: 0.65rem 0.75rem; text-align: left; vertical-align: top; border-bottom: 1px solid #dddad3; }
.data-table thead th { background: var(--accent); color: var(--on-accent); font-weight: 600; }
.data-table tbody th { min-width: 9rem; }
.data-table td.num, .data-table th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) {
  .data-table { font-size: 0.875rem; }
  .data-table th, .data-table td { padding: 0.55rem 0.4rem; }
  .data-table tbody th { min-width: 7rem; }
}
.data-table tfoot td { font-weight: 700; border-top: 2px solid var(--fg-light); }

/* formula */
.formula {
  margin: 1.5rem 0; padding: 1.1rem 1.25rem;
  border: 1px solid rgb(255 255 255 / 0.3); border-left: 4px solid var(--accent);
  font-family: var(--sans); font-size: 1.05rem; line-height: 1.6;
}
.formula b { font-weight: 700; }
.formula span { white-space: nowrap; }

/* ---------- contents ---------- */
.contents { padding: clamp(3rem, 8vw, 6rem) var(--gutter); }
.contents__inner { max-width: 72rem; margin: 0 auto; }
.contents__heading {
  font-family: var(--display); font-weight: 800; font-size: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  color: var(--accent-text); margin: 0 0 2rem; line-height: 1;
}
.contents__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0 clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr));
}
.contents__list a {
  display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; align-items: center;
  padding: 1rem 0; border-bottom: 2px solid var(--accent); text-decoration: none;
}
.contents__num { font-family: var(--display); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--accent-text); }
.contents__text { font-family: var(--sans); font-size: 0.9rem; line-height: 1.35; text-transform: uppercase; letter-spacing: 0.02em; }
.contents__text b { display: block; font-weight: 700; color: var(--dot, inherit); }
.contents__list a:hover .contents__text { text-decoration: underline; }

/* ---------- round-up cards ---------- */
.roundup { padding: 0 var(--gutter) clamp(3rem, 8vw, 6rem); }
.roundup__grid {
  max-width: 72rem; margin: 0 auto;
  display: grid; gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
}
.roundup__card { display: flex; flex-direction: column; border-top: 4px solid var(--accent); padding-top: 1rem; }
.roundup__card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 1rem; }
.roundup__country {
  align-self: flex-start;
  font-family: var(--sans); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--accent); color: var(--on-accent); padding: 0.2rem 0.6rem; margin-bottom: 0.75rem;
}
.roundup__card h3 { font-family: var(--display); font-weight: 700; font-size: 1.35rem; line-height: 1.2; margin: 0 0 0.75rem; }
.roundup__card p { font-size: 0.95rem; line-height: 1.6; }
.roundup__card .source { margin-top: auto; margin-bottom: 0; }

/* ---------- parliamentary sittings ---------- */
.sittings { padding: clamp(3rem, 8vw, 5rem) var(--gutter); }
.sittings__inner { max-width: 52rem; margin: 0 auto; }
.sittings__note { font-size: 1.1em; }
.sittings h3 { font-family: var(--display); font-weight: 800; font-size: 2rem; margin: 2rem 0 1rem; }
.sitting { border-top: 1px solid rgb(255 255 255 / 0.4); }
.sitting:last-of-type { border-bottom: 1px solid rgb(255 255 255 / 0.4); }
.sitting summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem 0; font-family: var(--sans); font-weight: 600; font-size: 1.1rem;
}
.sitting summary::-webkit-details-marker { display: none; }
.sitting summary::after { content: "+"; font-size: 1.6rem; line-height: 1; font-weight: 300; }
.sitting[open] summary::after { content: "–"; }
.sitting summary span { font-weight: 300; opacity: 0.85; }
.sitting__body { padding-bottom: 1.5rem; }
.sitting h4 { font-family: var(--sans); font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 1.25rem 0 0.5rem; }
.sitting ol { margin: 0; padding-left: 1.4rem; font-size: 0.95rem; line-height: 1.55; }
.sitting li { margin-bottom: 0.5rem; }

/* ---------- 11. related stories ---------- */
.related { padding: clamp(3rem, 8vw, 6rem) var(--gutter); }
.related__heading { font-family: var(--sans); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.04em; margin: 0 0 2rem; }
.related__grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  grid-auto-rows: 200px;
}
.related__card--tall { grid-row: span 2; }
.related__card {
  position: relative; overflow: hidden;
  color: #fff; text-decoration: none;
  font-family: var(--sans); font-weight: 600; font-size: 1rem; line-height: 1.3;
}
.related__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.related__card:hover img { transform: scale(1.04); }
.related__card span { position: absolute; inset: auto 0 0 0; padding: 2.5rem 1rem 1rem; background: linear-gradient(transparent, rgb(0 0 0 / 0.8)); }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-dark); color: var(--muted-dark); font-family: var(--sans); font-size: 0.8125rem; line-height: 1.6; padding: 3rem var(--gutter); }
.site-footer__inner { max-width: 72rem; margin: 0 auto; }
.site-footer__logo { width: 9rem; height: auto; margin-bottom: 1.75rem; }
.site-footer h2 { font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-dark); margin: 0 0 0.75rem; }
.site-footer p { margin: 0 0 1rem; max-width: 60rem; }
.site-footer a { color: var(--brand-2); }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms ease, transform 700ms ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sm-media, .js .reveal { transition: none; }
  .js .reveal { opacity: 1; transform: none; }
  .scroll-cue::after { animation: none; }
}
