/* ===== CONTROL ROOM (case studies) =====
 * A dark section with one pinned screen. Four client stories scroll past on
 * the left; as each reaches the middle of the viewport the screen redraws
 * the same line into that client's chart, swaps the overlays and counts the
 * key number up. Visual language of pakt.si .result-card--full: black glass,
 * glowing brand-gradient frame, a beam of light running round it.
 *
 * Markup: index.html (.cr). Motion: scripts/control-room.js.
 * Without JS, and on phones, every story carries its own small screen
 * (.cr-data); the pinned stage only exists on wide screens with JS.
 */
@property --cr-beam { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

.cr {
  --cr-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --cr-morph: 0.95s;
  --cr-rule: rgb(from var(--color-white) r g b / 0.09);
  --cr-axis-room: 28px; /* space under the plot for the axis labels */
  position: relative;
  padding: var(--space-section-lg) 0 var(--space-section-xl);
  color: rgb(from var(--color-white) r g b / 0.78);
  background:
    radial-gradient(55% 40% at 90% 0%, rgb(from var(--color-primary-deep) r g b / 0.32), transparent 70%),
    radial-gradient(45% 35% at 0% 22%, rgb(from var(--color-secondary) r g b / 0.12), transparent 70%),
    var(--color-surface-dark);
  overflow: clip;
}

/* The hero's line arrives here: a thin brand line on the seam */
.cr::before {
  content: '';
  position: absolute;
  top: 0;
  pointer-events: none;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-secondary) 25%, var(--color-primary) 60%, transparent 100%);
  opacity: 0.7;
}

/* ── Heading ── */
.cr-head { position: relative; }
.cr-overline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: var(--font-size-meta);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-secondary);
}
.cr-overline::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--color-gradient);
}
.cr-title {
  margin-top: 18px;
  max-width: 820px;
  font-size: var(--font-size-h2);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--color-white);
  text-wrap: balance;
}
.cr-lead {
  max-width: 560px;
  margin-top: 22px;
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
}

/* ── Index: the compact result cards from pakt.si, one per story ── */
.cr .results-strip-track {
  margin-top: 56px;
  padding: 0 var(--page-gutter);
}
.cr-index .result-card--compact {
  filter: drop-shadow(0 24px 40px rgb(from var(--color-primary-deep) r g b / 0.28));
}
.cr-index .result-card-body::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--color-gradient);
  scale: 0 1;
  transform-origin: left;
  transition: scale 0.6s var(--cr-ease);
}
.cr-index .result-card--compact.is-active .result-card-body::after { scale: 1 1; }

/* On black, a white card body that waits for its content reads as an empty
   plate, so the whole card rises in with its curve */
.cr-index.js-ready .result-card { opacity: 0; translate: 0 16px; }
.cr-index .result-card.is-in {
  opacity: 1;
  translate: 0 0;
  transition: opacity 0.7s var(--cr-ease) var(--sweep-delay), translate 0.7s var(--cr-ease) var(--sweep-delay), transform 0.5s var(--result-ease);
}

/* These cards do not count (the hero just did), so the "+" comes with the card */
.cr-index.js-ready .result-card-affix--accent { opacity: 1; transform: none; }

/* ── Body: stories left, pinned screen right ── */
.cr-body {
  position: relative;
  max-width: 1320px;
  margin: var(--space-section-sm) auto 0;
  padding: 0 40px;
}
.cr-story + .cr-story { margin-top: 72px; }
.cr-copy { max-width: 460px; }
.cr-step {
  font-family: var(--font-heading);
  font-size: var(--font-size-meta);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgb(from var(--color-white) r g b / 0.45);
}
.cr-step span { color: var(--color-secondary); }
.cr-copy h3 {
  margin-top: 14px;
  font-size: clamp(34px, 3.6vw, 54px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--color-white);
}
.cr-copy p:not(.cr-step) {
  margin-top: 20px;
  font-size: var(--font-size-body-sm);
  line-height: 1.6;
}
.cr-copy p + p:not(.cr-step) { margin-top: 12px; }
.cr-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.cr-channels li {
  padding: 6px 12px;
  border: 1px solid rgb(from var(--color-white) r g b / 0.2);
  font-family: var(--font-heading);
  font-size: var(--font-size-tiny);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-white);
}

/* ── A story's own screen (no JS, phones, and the source the stage copies) ── */
.cr-data {
  position: relative;
  margin-top: 28px;
  padding: 1px;
  background: linear-gradient(120deg, var(--color-secondary), var(--color-primary) 50%, var(--color-primary-deep));
  box-shadow: 0 0 40px rgb(from var(--color-primary) r g b / 0.35);
}
.cr-data > * {
  position: relative;
  background: var(--color-surface-dark);
}
.cr-data-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px 0;
}
.cr-logo img {
  width: auto;
  height: 30px;
  max-width: 140px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
}
.cr-chart-title {
  font-family: var(--font-heading);
  font-size: var(--font-size-tiny);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgb(from var(--color-white) r g b / 0.55);
}
.cr-chart {
  position: relative;
  height: 210px;
  padding: 20px 20px calc(var(--cr-axis-room) + 4px);
}
.cr-chart > .cr-plot,
.cr-chart > .cr-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  width: calc(100% - 40px);
  height: calc(100% - 24px - var(--cr-axis-room));
}
.cr-plot { overflow: visible; }
.cr-data .cr-area { fill: rgb(from var(--color-primary) r g b / 0.22); }
.cr-data .cr-line {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 3;
  stroke-linecap: round;
}
.cr-result {
  display: grid;
  gap: 16px;
  padding: 18px 20px 22px;
  border-top: 1px solid var(--cr-rule);
}

/* Overlay labels on the plot */
.cr-overlay { pointer-events: none; }
.cr-tag {
  position: absolute;
  left: var(--tx);
  top: var(--ty);
  translate: -100% calc(-100% - 14px);
  padding: 5px 10px;
  font-family: var(--font-heading);
  font-size: var(--font-size-caption);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--color-white);
  background: rgb(from var(--color-surface-dark) r g b / 0.72);
  border: 1px solid rgb(from var(--color-white) r g b / 0.22);
}
.cr-tag--below { translate: -100% 14px; }
.cr-tag--start { translate: 0 calc(-100% - 14px); }
.cr-axis {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-family: var(--font-heading);
  font-size: var(--font-size-tiny);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgb(from var(--color-white) r g b / 0.5);
}
.cr-markets {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 60%;
}
.cr-markets li {
  padding: 4px 8px;
  font-family: var(--font-heading);
  font-size: var(--font-size-tiny);
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-white);
  border: 1px solid rgb(from var(--color-secondary) r g b / 0.5);
  background: rgb(from var(--color-secondary) r g b / 0.1);
}
.cr-funnel {
  list-style: none;
  position: absolute;
  right: 0;
  bottom: 6%;
  display: grid;
  gap: 10px;
  width: min(52%, 300px);
  padding: 12px 14px;
  background: rgb(from var(--color-surface-dark) r g b / 0.72);
  border: 1px solid rgb(from var(--color-white) r g b / 0.16);
}
/* Bar width is the real share of the 755.000 impressions (min. 2 px) */
.cr-funnel li {
  font-size: var(--font-size-micro);
  line-height: 1.3;
  white-space: nowrap;
  color: rgb(from var(--color-white) r g b / 0.8);
}
.cr-funnel li::after {
  content: '';
  display: block;
  width: max(2px, var(--w));
  height: 4px;
  margin-top: 5px;
  background: var(--color-gradient);
  transform-origin: left;
}
.cr-funnel strong {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-white);
}

/* Result block */
.cr-eyebrow {
  font-family: var(--font-heading);
  font-size: var(--font-size-tiny);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgb(from var(--color-white) r g b / 0.55);
}
.cr-number {
  margin-top: 8px;
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: var(--color-white);
  text-shadow: 0 0 40px rgb(from var(--color-primary) r g b / 0.55);
}
.cr-value { display: inline-block; text-align: right; }
.is-counting .cr-number { font-variant-numeric: tabular-nums; }
.cr-affix {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}
.cr-label {
  margin-top: 8px;
  font-size: var(--font-size-caption);
  line-height: 1.4;
  color: rgb(from var(--color-white) r g b / 0.75);
}
.cr-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px 18px;
}
.cr-facts strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--color-white);
}
.cr-facts li > span {
  display: block;
  margin-top: 2px;
  font-size: var(--font-size-micro);
  line-height: 1.4;
  color: rgb(from var(--color-white) r g b / 0.6);
}

/* ===== PINNED STAGE (wide screens with JS) ===== */
.cr-stage-wrap { display: none; }

@media (min-width: 1025px) {
  .js .cr-body {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: 72px;
  }
  .js .cr-stories { grid-column: 1; grid-row: 1; }
  .js .cr-story {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 86svh;
    padding-top: 20svh;
  }
  .js .cr-story + .cr-story { margin-top: 0; }
  /* The story stays the accessible source; the stage shows it */
  .js .cr-data {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .js .cr-copy {
    opacity: 0.62;
    transition: opacity 0.6s var(--cr-ease);
  }
  .js .cr-story.is-active .cr-copy { opacity: 1; }

  .js .cr-stage-wrap {
    display: block;
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    position: sticky;
    top: calc(var(--header-height) + 4svh);
    height: min(720px, calc(100svh - var(--header-height) - 8svh));
  }
}

.cr-stage {
  position: relative;
  height: 100%;
  padding: 2px;
}
/* Frame: brand gradient border with glow */
.cr-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, var(--color-secondary), var(--color-primary) 50%, var(--color-primary-deep));
  box-shadow:
    0 0 24px rgb(from var(--color-primary) r g b / 0.55),
    0 0 70px rgb(from var(--color-primary) r g b / 0.3);
}
.cr-glass {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100%;
  overflow: hidden;
  background:
    radial-gradient(70% 90% at 100% 100%, rgb(from var(--color-primary-deep) r g b / 0.45), transparent 60%),
    radial-gradient(50% 70% at 0% 0%, rgb(from var(--color-secondary) r g b / 0.16), transparent 60%),
    var(--color-surface-dark);
  box-shadow: inset 0 1px 0 rgb(from var(--color-white) r g b / 0.14);
}
/* The beam: a bright arc runs round the frame once when the screen first
   lights and once each time it changes client (.is-beam, set by js) */
.cr-glass::after {
  content: '';
  position: absolute;
  inset: -2px;
  z-index: 3;
  padding: 3px;
  background: conic-gradient(from var(--cr-beam), transparent 0 78%, rgb(from var(--color-white) r g b / 0.95) 88%, transparent 96%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  pointer-events: none;
}
.cr-stage.is-beam .cr-glass::after {
  animation: cr-beam 1.8s var(--cr-ease) both;
}
@keyframes cr-beam {
  0% { --cr-beam: 0deg; opacity: 0; }
  10%, 80% { opacity: 1; }
  100% { --cr-beam: 360deg; opacity: 0; }
}

/* Progress ticks along the top edge */
.cr-ticks {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  list-style: none;
}
.cr-ticks li {
  height: 3px;
  background: rgb(from var(--color-white) r g b / 0.12);
  transition: background 0.6s var(--cr-ease);
}
.cr-ticks li.is-done { background: rgb(from var(--color-secondary) r g b / 0.6); }
.cr-ticks li.is-active { background: var(--color-gradient); box-shadow: 0 0 12px var(--color-primary); }

.cr-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 34px 0;
}
.cr-counter {
  font-family: var(--font-heading);
  font-size: var(--font-size-meta);
  font-weight: 600;
  letter-spacing: 0.16em;
  font-variant-numeric: tabular-nums;
  color: rgb(from var(--color-white) r g b / 0.45);
}
.cr-counter span { color: var(--color-white); }

/* Slots: each holds one copied panel per story, stacked in one cell */
.cr-slot { display: grid; }
.cr-slot > .cr-panel { grid-area: 1 / 1; }
.cr-panel {
  opacity: 0;
  translate: 0 10px;
  visibility: hidden;
  transition: opacity 0.35s ease, translate 0.35s ease, visibility 0s linear 0.35s;
}
.cr-panel.is-active {
  opacity: 1;
  translate: 0 0;
  visibility: visible;
  transition: opacity 0.6s var(--cr-ease) 0.25s, translate 0.6s var(--cr-ease) 0.25s, visibility 0s;
}
.cr-slot--head .cr-data-head { padding: 0; gap: 20px; background: none; }
.cr-slot--head .cr-logo img { height: 38px; max-width: 170px; }

/* Screen: the shared line plus the active story's overlay */
.cr-screen {
  position: relative;
  min-height: 0;
  margin: 28px 34px 0;
}
.cr-screen > .cr-plot,
.cr-slot--overlay {
  position: absolute;
  top: 26px;
  left: 0;
  width: 100%;
  height: calc(100% - 26px - var(--cr-axis-room));
}
.cr-slot--overlay .cr-overlay { position: absolute; inset: 0; }
.cr-grid line { stroke: rgb(from var(--color-white) r g b / 0.08); stroke-width: 1; stroke-dasharray: 2 6; }
.cr-stop-start { stop-color: var(--color-secondary); }
.cr-stop-end { stop-color: var(--color-primary); }
.cr-stop-wash { stop-color: var(--color-primary); stop-opacity: 0.42; }
.cr-stop-clear { stop-color: var(--color-primary); stop-opacity: 0; }
.cr-plot--stage .cr-line { fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.cr-plot--stage .cr-glow { fill: none; stroke-width: 10; opacity: 0.6; }
/* The line bends from one client's chart into the next (d is animatable in
   Chromium and Firefox; Safari swaps, and js redraws with a sweep instead). */
.cr-plot--stage path { transition: d var(--cr-morph) var(--cr-ease); }

.cr-peak {
  --py: 0.13;
  position: absolute;
  top: calc(26px + (100% - 26px - var(--cr-axis-room)) * var(--py) - 5px);
  left: calc(100% - 5px);
  width: 10px;
  height: 10px;
  background: var(--color-white);
  box-shadow: 0 0 14px 2px rgb(from var(--color-primary) r g b / 0.9);
  transition: top var(--cr-morph) var(--cr-ease);
}
.cr-peak.is-hit { animation: cr-hit 0.7s ease-out; }
@keyframes cr-hit {
  0% { box-shadow: 0 0 14px 2px rgb(from var(--color-primary) r g b / 0.9); }
  30% { box-shadow: 0 0 26px 10px var(--color-white), 0 0 50px 16px var(--color-primary); }
  100% { box-shadow: 0 0 14px 2px rgb(from var(--color-primary) r g b / 0.9); }
}
/* A spark with a short tail runs along the line; placed by js */
.cr-spark {
  position: absolute;
  inset: 26px 0 var(--cr-axis-room);
  pointer-events: none;
}
.cr-spark i {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 4px;
  margin: -2px;
  border-radius: 50%;
  background: var(--color-secondary);
  opacity: 0;
  will-change: transform, opacity;
}
.cr-spark i:first-child {
  width: 7px;
  height: 7px;
  margin: -3.5px;
  background: var(--color-white);
  box-shadow: 0 0 6px 2px rgb(from var(--color-white) r g b / 0.85), 0 0 18px 6px rgb(from var(--color-primary) r g b / 0.65);
}

/* Overlay pieces arrive after the line has settled; on first sight they
   wait for the line to draw in */
.cr-stage.js-ready:not(.is-in) .cr-slot--overlay { opacity: 0; }
.cr-stage.is-in .cr-slot--overlay { opacity: 1; transition: opacity 0.6s ease 1.5s; }
.cr-slot--overlay .cr-panel.is-active { transition-delay: calc(var(--cr-morph) * 0.6); }
.cr-slot--overlay .cr-markets li {
  opacity: 0.2;
  transition: opacity 0.4s ease;
}
.cr-slot--overlay .is-active .cr-markets li {
  opacity: 1;
  transition-delay: calc(var(--cr-morph) * 0.6 + var(--i, 0) * 0.12s);
}
.cr-slot--overlay .cr-funnel li::after {
  scale: 0 1;
  transition: scale 0.5s var(--cr-ease);
}
.cr-slot--overlay .is-active .cr-funnel li::after {
  scale: 1 1;
  transition: scale 0.8s var(--cr-ease) calc(var(--cr-morph) * 0.6 + var(--i, 0) * 0.15s);
}

/* Result row */
.cr-slot--result { padding: 26px 34px 32px; border-top: 1px solid var(--cr-rule); }
.cr-slot--result .cr-result {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: end;
  gap: 32px;
  padding: 0;
  border: 0;
  background: none;
}
.cr-slot--result .cr-number { font-size: clamp(56px, 5.4vw, 92px); }
.cr-slot--result .cr-label { font-size: var(--font-size-body-sm); }
.cr-slot--result .cr-facts { grid-template-columns: 1fr; gap: 12px; padding-left: 28px; border-left: 1px solid var(--cr-rule); }
.cr-slot--result .cr-facts strong { font-size: 22px; }
.is-counted .cr-number { animation: cr-flash 1.2s ease-out; }
@keyframes cr-flash {
  0% { text-shadow: 0 0 40px rgb(from var(--color-primary) r g b / 0.55); }
  25% { text-shadow: 0 0 30px var(--color-white), 0 0 80px var(--color-primary); }
  100% { text-shadow: 0 0 40px rgb(from var(--color-primary) r g b / 0.55); }
}

/* Entrance: the screen's line draws in left to right the first time it is
   seen; for browsers without d transitions the same sweep redraws each
   client. Armed by js, so without it the chart is simply there. */
.cr-stage.js-ready { opacity: 0; translate: 0 24px; }
.cr-stage.is-in { opacity: 1; translate: 0 0; transition: opacity 0.7s var(--cr-ease), translate 0.9s var(--cr-ease); }
.cr-stage.js-ready .cr-plot--stage { clip-path: inset(-20px 100% -20px -20px); }
.cr-stage.js-ready .cr-peak { scale: 0; }
.cr-stage.is-in .cr-plot--stage {
  clip-path: inset(-20px -20px -20px -20px);
  /* easeOutCubic over 1.6 s, the same curve and time as the count-up */
  transition: clip-path 1.6s cubic-bezier(0.33, 1, 0.68, 1) 0.15s;
}
.cr-stage.is-in .cr-peak { scale: 1; transition: top var(--cr-morph) var(--cr-ease), scale 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.6s; }
.cr-stage.is-redraw .cr-plot--stage { clip-path: inset(-20px 100% -20px -20px); transition: none; }

/* Header over a dark band: white logo and links, dark glass. Background and
   colours swap in one frame, so there is no grey half-way state at the seam. */
.header,
.header .nav-links a { transition: none; }
.header.on-dark.scrolled {
  background: rgb(from var(--color-surface-dark) r g b / 0.7);
  box-shadow: 0 1px 0 rgb(from var(--color-white) r g b / 0.08);
}
.header.on-dark:not(:has(.hamburger.active)) .logo-dark { display: none; }
.header.on-dark:not(:has(.hamburger.active)) .logo-white { display: block; }
.header.on-dark:not(:has(.hamburger.active)) .hamburger span { background: var(--color-white); }
@media (min-width: 1025px) {
  .header.on-dark .nav-links a { color: var(--color-white); }
  .header.on-dark .nav-links a.nav-phone { color: rgb(from var(--color-white) r g b / 0.75); }
  .header.on-dark .nav-links a.btn-nav-contact {
    background: var(--color-white);
    border-color: var(--color-white);
    color: var(--color-heading);
  }
  .header.on-dark .nav-links a.btn-nav-contact:hover {
    background: var(--color-primary-strong);
    border-color: var(--color-primary-strong);
    color: var(--color-white);
  }
}

@media (forced-colors: active) {
  .header.on-dark:not(:has(.hamburger.active)) .logo-dark { display: block; }
  .header.on-dark:not(:has(.hamburger.active)) .logo-white { display: none; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .cr-body { padding: 0 var(--page-gutter); }
  .cr-chart { height: 236px; }
  .cr-funnel { bottom: 0; gap: 6px; padding: 8px 10px; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .cr-story {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 40px;
    align-items: center;
  }
  .cr-data { margin-top: 0; }
}

@media (max-width: 768px) {
  .cr { padding: var(--space-section-sm) 0 var(--space-section-md); }
  .cr-title { font-size: var(--font-size-h2-mobile); line-height: 1.15; }
  .cr-lead { font-size: var(--font-size-body-mobile); }
  /* The hero's result cards already lead into the stories on phones */
  .cr .results-strip-track { display: none; }
  .cr-body { margin-top: 48px; }
  .cr-story + .cr-story { margin-top: 64px; }
  .cr-chart { height: 236px; }
  .cr-funnel { width: 62%; gap: 6px; padding: 8px 10px; bottom: 0; }
  .cr-funnel li { font-size: var(--font-size-tiny); }
  .cr-funnel li::after { margin-top: 3px; height: 3px; }
  .cr-markets { max-width: 100%; gap: 4px; }
  .cr-markets li { padding: 3px 6px; }
  .cr-data-head { flex-wrap: wrap; gap: 8px 14px; }
}

/* ===== ACCESSIBILITY MODES ===== */
@media (prefers-reduced-motion: reduce) {
  .cr-plot--stage path,
  .cr-peak,
  .cr-panel,
  .cr-copy,
  .cr-markets li,
  .cr-funnel li { transition: none !important; }
  .cr-glass::after { animation: none !important; }
  .cr-spark { display: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .cr-tag { background: var(--color-surface-dark); }
}

@media (forced-colors: active) {
  .cr::before, .cr-glass::after, .cr-glow, .cr-area, .cr-spark, .cr-funnel li::after { display: none; }
  .cr-stage::after, .cr-data { background: CanvasText; box-shadow: none; }
  .cr-line, .cr-data .cr-line { stroke: CanvasText; }
  .cr-affix { -webkit-text-fill-color: CanvasText; background: none; }
  .cr-peak { background: CanvasText; box-shadow: none; }
  .cr-ticks li.is-active { background: Highlight; }
  .cr-logo img { filter: none; }
}
