/* =============================================================================
   PAGE: CASE STUDY  (projects/<slug>/index.html)
   Reads like a well-set article: white page, one centred 680px column,
   a sans for headings and UI (DM Sans), a serif for reading (Source Serif 4),
   one plum accent (#913175). Everything important sits above the fold:

     topic chips · title (≤ 3 lines) · subtitle · byline · facts row
     story (sections) · Up next

   Wide screens get a column of short dashes at the right edge as the contents
   (hover to read the labels); phones get a "Sections" button instead.
   Chrome is built by js/pages/case-study.js; the article is plain HTML.
   ============================================================================= */

/* ---- Page tokens (scoped, so the rest of the site keeps its comic voice) -- */
.cs-page {
  --f-heading: var(--f-body);
  --f-accent:  var(--f-body);
  --f-label:   var(--f-body);
  --f-read:    "Source Serif 4", Charter, "Iowan Old Style", Georgia, serif;

  --cs-bg:       #ffffff;
  --cs-text:     #242424;
  --cs-muted:    #6b6b6b;
  --cs-line:     #ececec;
  --cs-line-2:   #dcdcdc;
  --cs-soft:     #f7f7f7;   /* placeholders, chip fill, quiet boxes */
  --cs-accent:   #913175;   /* plum: progress, numbers, active marks, buttons */
  --cs-accent-2: #7a2862;   /* plum, pressed / hover */
  --cs-tint:     #f8eef5;   /* plum wash: callouts, active rows */
  --cs-radius:   12px;
  --cs-measure:  680px;
  --bar-h:       56px;

  background: var(--cs-bg);
  color: var(--cs-text);
  font-size: 1rem;
}

html:has(.cs-page) { scroll-padding-top: calc(var(--bar-h) + 24px); }

.cs-page ::selection { background: var(--cs-tint); color: var(--cs-text); }

/* ---- Top bar: progress line on top, back · title · résumé ------------- */
.cs-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgb(255 255 255 / 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--cs-line);
  transition: transform 260ms var(--e-out);
}

/* Slides away on scroll down; the progress line stays (it sits on top) */
.cs-bar.is-hidden { transform: translateY(calc(-100% + 4px)); }

.cs-bar__progress { height: 4px; background: var(--cs-tint); }

.cs-bar__progress span {
  display: block;
  height: 100%;
  background: var(--cs-accent);
  transform: scaleX(var(--read, 0));
  transform-origin: left;
}

.cs-bar__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--bar-h);
  padding: 0 var(--gutter);
}

.cs-bar__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  margin-right: auto;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cs-muted);
  white-space: nowrap;
}

.cs-bar__back svg { transition: translate var(--d-mid) var(--e-out); }
.cs-bar__back:hover { color: var(--cs-text); }
.cs-bar__back:hover svg { translate: -3px 0; }

.cs-bar__title {
  overflow: hidden;
  font-size: 0.9rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0;
  transition: opacity var(--d-mid);
}

/* The project name fades in once the title has scrolled away */
.cs-page.is-past-hero .cs-bar__title { opacity: 1; }

.cs-bar__cta {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-left: auto;
  padding: 0 16px;
  background: var(--cs-accent);
  color: #fff;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color var(--d-fast);
}

.cs-bar__cta:hover { background: var(--cs-accent-2); }

/* ---- Hero: chips · title · subtitle · byline · facts ------------------ */
.cs-hero { padding: clamp(28px, 5vw, 48px) var(--gutter) 0; }
.cs-hero__inner { max-width: var(--cs-measure); margin: auto; }

/* Product mark above the title (the app's own icon) */
.cs-hero__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.cs-hero__brand img { flex: none; width: 48px; height: 48px; border-radius: 12px; }

/* Marks unfinished content so it never ships by accident. Delete with the copy. */
.cs-draft {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cs-muted);
}

.cs-draft::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d98a1c;
}

/* Topic chips */
.cs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.cs-chips li {
  padding: 6px 14px;
  background: var(--cs-bg);
  border: 1px solid var(--cs-line-2);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.2;
}

/* Title: bold, tight, kept within 3 lines */
.cs-hero__title {
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.028em;
  text-wrap: pretty;   /* use the full column; only avoid a lonely last word */
}

.cs-hero__lede {
  margin-top: 14px;
  font: 400 clamp(1.1rem, 1.02rem + 0.35vw, 1.3rem)/1.5 var(--f-read);
  color: var(--cs-muted);
}

/* Byline */
.cs-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

/* Round avatar: the full head and shoulders on a soft plum wash, no outline */
.cs-byline__photo {
  flex: none;
  width: 48px;
  height: 48px;
  background: var(--cs-tint) 50% 29% / 165% auto no-repeat;   /* zoomed in on the face */
  border-radius: 50%;
}

.cs-byline__name { font-size: 0.95rem; font-weight: 700; }

.cs-byline__meta {
  margin-top: 2px;
  font-size: 0.88rem;
  color: var(--cs-muted);
}

/* Facts: one tidy row of label over value, each on a single line */
.cs-facts {
  margin-top: 26px;
  padding: 16px 0;
  border-block: 1px solid var(--cs-line);
}

.cs-facts__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 14px 20px;
  margin: 0;
}

.cs-facts__list dt {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--cs-muted);
}

.cs-facts__list dd {
  margin: 2px 0 0;
  overflow: hidden;
  font-size: 0.98rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---- Article: one centred column ---------------------------------------- */
.cs-layout { padding: clamp(36px, 5vw, 56px) var(--gutter) clamp(72px, 10vw, 120px); }

.cs-article {
  max-width: var(--cs-measure);
  margin: auto;
  font: 400 clamp(1.1rem, 1.04rem + 0.25vw, 1.25rem)/1.6 var(--f-read);
  letter-spacing: -0.003em;
}

.cs-article > section + section { margin-top: clamp(52px, 7vw, 80px); }

/* Section heading */
.cs-article h2 {
  margin-bottom: 14px;
  font: 700 clamp(1.45rem, 1.25rem + 0.9vw, 1.9rem)/1.22 var(--f-body);
  letter-spacing: -0.02em;
  text-wrap: pretty;   /* fill each line; only avoid a lonely last word */
}

.cs-article h3 {
  margin: 32px 0 6px;
  font: 700 1.15rem/1.35 var(--f-body);
  letter-spacing: -0.01em;
}

.cs-article p + p,
.cs-article p + ul,
.cs-article p + ol { margin-top: 1.1em; }

.cs-article ul:not([class]),
.cs-article ol:not([class]) { margin-top: 0.75em; padding-left: 1.3em; }

.cs-article ul:not([class]) { list-style: disc; }
.cs-article ol:not([class]) { list-style: decimal; }
.cs-article li + li { margin-top: 0.4em; }
.cs-article li::marker { color: var(--cs-muted); }

.cs-article a:not([class]) {
  color: var(--cs-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* Blocks get room above and below */
.cs-article > section > * + :is(figure, .cs-split, .cs-quote, .cs-stats, .cs-cards, .cs-callout, .cs-hook) { margin-top: 28px; }
.cs-article > section > :is(figure, .cs-split, .cs-quote, .cs-stats, .cs-cards, .cs-callout) + * { margin-top: 28px; }

/* ---- Story blocks ------------------------------------------------------ */

/* TL;DR box */
.cs-article > .cs-callout { margin-bottom: clamp(40px, 6vw, 64px); }   /* a note at the top of the article */

.cs-callout {
  padding: 18px 22px;
  background: var(--cs-tint);
  border-left: 3px solid var(--cs-accent);
  border-radius: 0 var(--cs-radius) var(--cs-radius) 0;
}

.cs-callout b {
  display: block;
  margin-bottom: 4px;
  font: 800 0.75rem/1.3 var(--f-body);
  letter-spacing: 0.08em;
  color: var(--cs-accent);
}

/* Hook line that opens a decision story */
.cs-hook {
  font-size: 1.15em;
  font-style: italic;
  line-height: 1.5;
  color: var(--cs-text);
}

/* Figures: real screens or a placeholder that says what goes there */
.cs-figure { margin: 0; }
.cs-article > section > .cs-figure--phone { max-width: 320px; margin-inline: auto; }   /* one phone screen on its own */

.cs-figure__media {
  display: block;
  width: 100%;
  aspect-ratio: var(--ratio, 16 / 9);
  object-fit: cover;
  background: var(--cs-soft);
  border: 1px solid var(--cs-line);
  border-radius: 8px;
}

.cs-ph {
  display: grid;
  place-items: center;
  padding: 24px;
  border-style: dashed;
  border-color: var(--cs-line-2);
  color: var(--cs-muted);
  font: 500 0.9rem/1.45 var(--f-body);
  text-align: center;
}

.cs-figure figcaption {
  margin-top: 10px;
  font: 400 0.9rem/1.5 var(--f-body);
  color: var(--cs-muted);
  text-align: center;
}

/* Image widths, like Medium: column (default) · wide (outset) · full (edge to edge).
   Put .cs-wide or .cs-full on a figure or .cs-split that sits directly in a section. */
.cs-layout { overflow-x: clip; }   /* full-bleed images never cause sideways scroll */

.cs-article > section > .cs-wide {
  --w: min(1080px, 100vw - 2 * var(--gutter));
  width: var(--w);
  max-width: none;
  margin-inline: calc((100% - var(--w)) / 2);
}

/* Explainer video at the top of the article: as large as the screen allows,
   while staying fully visible in one viewport (16:9 plus its caption). */
.cs-article .cs-video {
  --w: min(1600px, 100vw - 2 * var(--gutter), (100vh - 110px) * 16 / 9);
  width: var(--w);
  max-width: none;
  margin-inline: calc((100% - var(--w)) / 2);
}
.cs-article > .cs-video { margin-bottom: clamp(56px, 8vw, 96px); }   /* hero video */

/* A big 16:9 image (banner, slide), sized like the hero video: text stays in the
   centre column, the picture goes as wide as the screen allows. */
.cs-article > section > .cs-big,
.cs-article > .cs-big {
  --w: min(1600px, 100vw - 2 * var(--gutter), (100vh - 110px) * 16 / 9);
  width: var(--w);
  max-width: none;
  margin-inline: calc((100% - var(--w)) / 2);
}
.cs-big figcaption { max-width: var(--cs-measure); margin-inline: auto; }
.cs-article > .cs-big { margin-bottom: clamp(48px, 7vw, 88px); }   /* hero image at the top of the article */

/* A row of buttons at the end of a section */
.cs-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* A small comparison table, kept inside the text column and scrollable on phones */
.cs-table-wrap { overflow-x: auto; margin-top: 24px; }
.cs-table { width: 100%; min-width: 460px; border-collapse: collapse; font: 400 0.95rem/1.45 var(--f-body); }
.cs-table :is(th, td) { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--cs-line); }
.cs-table thead th { font-size: 0.8rem; font-weight: 700; color: var(--cs-muted); }
.cs-table tbody th { font-weight: 700; color: var(--cs-text); white-space: nowrap; }
.cs-table td:last-child { font-weight: 600; color: var(--cs-accent); }

/* A social post embed (X, LinkedIn), centred in the column */
.cs-embed { display: flex; justify-content: center; }
.cs-embed > * { max-width: 100%; }
.cs-article .cs-video figcaption { max-width: var(--cs-measure); margin-inline: auto; }

.cs-article > section > .cs-full {
  width: 100vw;
  max-width: none;
  margin-inline: calc(50% - 50vw);
}
.cs-full .cs-figure__media { border-radius: 0; border-inline: 0; }
.cs-full figcaption { padding-inline: var(--gutter); }

/* Showcase strip: phone screens side by side on a soft panel (use inside a wide figure) */
.cs-strip {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 2vw, 28px);
  padding: clamp(18px, 4vw, 56px);
  background: var(--cs-soft);
  border-radius: 12px;
}
.cs-strip > .cs-figure__media { flex: 0 1 280px; min-width: 0; }

.cs-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

/* User quote */
.cs-quote {
  margin-inline: 0;
  padding-left: 20px;
  border-left: 3px solid var(--cs-text);
  font-size: 1.15em;
  font-style: italic;
  line-height: 1.5;
}

.cs-quote cite {
  display: block;
  margin-top: 8px;
  font: 500 0.85rem/1.4 var(--f-body);
  font-style: normal;
  color: var(--cs-muted);
}

/* Numbers that matter */
.cs-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.cs-stats li {
  padding: 16px 18px;
  border: 1px solid var(--cs-line);
  border-radius: var(--cs-radius);
  font: 500 0.9rem/1.4 var(--f-body);
  color: var(--cs-muted);
}

.cs-stats b {
  display: block;
  margin-bottom: 4px;
  font: 800 clamp(1.7rem, 1.4rem + 1vw, 2.2rem)/1.1 var(--f-body);
  letter-spacing: -0.02em;
  color: var(--cs-accent);
}

/* Insight / feature cards */
.cs-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  counter-reset: cs-card;
}

.cs-cards li {
  counter-increment: cs-card;
  padding: 18px;
  border: 1px solid var(--cs-line);
  border-radius: var(--cs-radius);
  font: 400 0.95rem/1.55 var(--f-body);
  color: var(--cs-muted);
}

.cs-cards li::before {
  content: counter(cs-card, decimal-leading-zero);
  display: block;
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cs-accent);
}

.cs-article .cs-cards h3 { margin: 0 0 4px; font-size: 1rem; color: var(--cs-text); }

/* Stacked: one full-width row per card, number on the left (for longer card text) */
.cs-cards--stack { grid-template-columns: 1fr; }
.cs-cards--stack li { display: grid; grid-template-columns: 34px 1fr; column-gap: 8px; }
.cs-cards--stack li::before { grid-row: span 2; margin: 2px 0 0; }

/* Pain points: a soft red cross marks each one as something going wrong */
.cs-article .cs-points {
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--cs-line);
}

.cs-article .cs-points li {
  position: relative;
  margin: 0;
  padding: 15px 0 15px 40px;
  border-bottom: 1px solid var(--cs-line);
  font-size: 0.96em;
  line-height: 1.5;
}

.cs-article .cs-points li::marker { content: ""; }

.cs-article .cs-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4443a' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M8.5 8.5l7 7M15.5 8.5l-7 7'/%3E%3C/svg%3E") center / 100% no-repeat,
    #fbeceb;
}

/* Positive variant: plum tick instead of the red cross (what we did, what you get) */
.cs-article .cs-points--check li::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23913175' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.5 12.5l3 3 6-6.5'/%3E%3C/svg%3E") center / 100% no-repeat,
    var(--cs-tint);
}

.cs-article .cs-points strong { display: block; margin-bottom: 2px; font: 700 1rem/1.4 var(--f-body); color: var(--cs-text); }

/* Decision story steps: Before · Decision · After · Result */
.cs-article .cs-step {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 36px 0 8px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--cs-accent);
}

.cs-article .cs-step::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--cs-line);
}

/* ---- Contents rail: short dashes at the right edge ---------------------- */
.cs-rail {
  position: fixed;
  top: 50%;
  right: clamp(16px, 2.5vw, 40px);
  z-index: 30;
  translate: 0 -50%;
}

.cs-rail ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 10px 10px;
  list-style: none;
  border-radius: var(--cs-radius);
  transition: background-color var(--d-mid), box-shadow var(--d-mid);
}

.cs-rail a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-height: 26px;
}

.cs-rail__dash {
  flex: none;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: #d4d4d4;
  transition: width var(--d-mid) var(--e-out), background-color var(--d-fast);
}

.cs-rail a:hover .cs-rail__dash { background: var(--cs-muted); }
.cs-rail a.is-active .cs-rail__dash { width: 26px; background: var(--cs-accent); }

/* Only the current section's name shows at rest; hover or focus opens them all */
.cs-rail__label {
  max-width: 0;
  overflow: hidden;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--cs-muted);
  white-space: nowrap;
  opacity: 0;
  transition: opacity var(--d-fast), max-width var(--d-mid) var(--e-out);
}

.cs-rail a:hover .cs-rail__label { color: var(--cs-text); }
.cs-rail a.is-active .cs-rail__label { max-width: 200px; color: var(--cs-accent); font-weight: 700; opacity: 1; }

.cs-rail:is(:hover, :focus-within) ol {
  background: var(--cs-bg);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.06), 0 12px 32px -12px rgb(0 0 0 / 0.22);
}

.cs-rail:is(:hover, :focus-within) .cs-rail__label { max-width: 200px; padding-left: 8px; opacity: 1; }

/* ---- Up next ----------------------------------------------------------- */
.cs-next {
  padding: clamp(48px, 7vw, 80px) var(--gutter);
  background: var(--cs-soft);
  border-top: 1px solid var(--cs-line);
}

.cs-next__inner { max-width: 820px; margin: auto; }

.cs-next__label {
  margin-bottom: 18px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cs-muted);
}

.cs-next .reel--list { --list-surface: #fff; }

.cs-next__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 28px;
  font-weight: 600;
}

.cs-next__actions a { color: var(--cs-accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* ---- Smaller screens: "Sections" button instead of the rail -------------- */
.cs-jump { display: none; }

@media (max-width: 1100px) {
  .cs-rail { display: none; }

  .cs-jump {
    position: fixed;
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 45;
    display: block;
  }

  .cs-jump__button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    background: var(--cs-accent);
    color: #fff;
    border-radius: 999px;
    box-shadow: 0 8px 24px -8px rgb(145 49 117 / 0.55);
    font-size: 0.9rem;
    font-weight: 700;
  }

  .cs-jump__panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 10px);
    width: min(300px, calc(100vw - 32px));
    max-height: 60vh;
    overflow: auto;
    padding: 8px;
    background: var(--cs-bg);
    border: 1px solid var(--cs-line);
    border-radius: var(--cs-radius);
    box-shadow: 0 16px 40px -12px rgb(0 0 0 / 0.3);
  }

  .cs-jump__panel ol { margin: 0; padding: 0; list-style: none; }

  .cs-jump__panel a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--cs-muted);
  }

  .cs-jump__panel a:hover { background: var(--cs-soft); }
  .cs-jump__panel a.is-active { background: var(--cs-tint); color: var(--cs-accent); font-weight: 700; }
}

@media (max-width: 640px) {
  .cs-bar__title { display: none; }
  .cs-facts__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-split { gap: 10px; }
}

/* =============================================================================
   SPOTLIGHT: the section a reader must not miss (product decisions).
   <section class="cs-spotlight"> gets a soft plum band wider than the text,
   and sits as a normal entry in the contents. Inside it, ol.cs-decisions holds one card per decision:
     li > .cs-decisions__no + h3 (the call, one line, serif)
        + dl > div > dt (Why / Instead of / What it changed) + dd (one line)
        + optional figure > img.cs-figure__media
   ============================================================================= */
.cs-article > section.cs-spotlight {
  --band: min(1080px, 100vw - 2 * var(--gutter));
  position: relative;
  isolation: isolate;
  padding-block: clamp(40px, 6vw, 72px);
}
.cs-article > section.cs-spotlight::before {
  content: "";
  position: absolute;
  inset: 0 calc((100% - var(--band)) / 2);
  z-index: -1;
  border-radius: clamp(18px, 3vw, 32px);
  background: var(--cs-tint);
}
.cs-article .cs-spotlight h2 { font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.35rem); }
.cs-spotlight__lede { color: var(--cs-muted); }

.cs-decisions {
  --dw: min(880px, var(--band) - 2 * clamp(14px, 3vw, 40px));
  display: grid;
  gap: clamp(14px, 2vw, 20px);
  width: var(--dw);
  margin: 28px calc((100% - var(--dw)) / 2) 0;
  padding: 0;
  list-style: none;
}
.cs-decisions > li {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid #efdbe8;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 1px 2px rgb(145 49 117 / 0.05), 0 14px 34px -24px rgb(145 49 117 / 0.4);
}
.cs-decisions__no {
  display: block;
  margin-bottom: 6px;
  font: 500 0.9rem/1.2 var(--f-body);
  color: var(--cs-accent);
}
.cs-article .cs-decisions h3 {
  margin: 0;
  font: 600 clamp(1.4rem, 1.15rem + 1vw, 1.9rem)/1.22 var(--f-read);
  letter-spacing: -0.01em;
  color: var(--cs-text);
  text-wrap: balance;
}
.cs-decisions dl { display: grid; gap: 10px; margin: 18px 0 0; padding-top: 16px; border-top: 1px dashed #ead3e2; }
.cs-decisions dl > div { display: grid; grid-template-columns: 136px 1fr; gap: 14px; align-items: baseline; }
.cs-decisions dt {
  font: 500 0.92rem/1.4 var(--f-body);
  color: var(--cs-muted);
}
.cs-decisions dd { margin: 0; font: 400 1.05rem/1.5 var(--f-read); color: var(--cs-text); }
.cs-decisions dl > div:last-child dt { color: var(--cs-accent); }
.cs-decisions figure { margin: 20px 0 0; }
.cs-decisions figure img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--cs-line); }


@media (max-width: 760px) {
  /* On a phone the band is as wide as the text column, so the content needs its own inner padding */
  .cs-article > section.cs-spotlight { padding-inline: clamp(18px, 5vw, 28px); }
  .cs-decisions { width: auto; margin-inline: 0; }
}
@media (max-width: 640px) {
  .cs-decisions dl > div { grid-template-columns: 1fr; gap: 2px; }
}
