/* =============================================================================
   STRATO TECHNOLOGIES — Success Story pages
   Loaded only by success-story-*.html, on top of the main stylesheet.

   Every rule is built from the theme tokens defined in the main stylesheet §1, so this
   sheet needs no counterpart in either light-theme block. The single deliberate
   exception is .platform-screen__diagram (main stylesheet §26), whose dark canvas is
   shared with the index diagrams.

   TABLE OF CONTENTS
   1.  Story hero — breadcrumb, heading, meta grid
   2.  Story sections — header, prose, split layout
   3.  Result stat, callout box, mini stats
   4.  Icon row
   5.  Journey — five-step approach ladder
   6.  Capability & use-case card grids
   7.  Weighted tracks (engineering forecast)
   8.  Process row (engineering forecast)
   9.  Lookup table (maintenance space)
   10. Simulation output (supply chain)
   11. More success stories
   ============================================================================= */

/* =============================================================================
   1. STORY HERO
   Reuses .hero so the dot-grid canvas, overlay and light-theme treatment from
   the main stylesheet all apply — this only shortens it and switches to left alignment.
   ============================================================================= */
.hero--story {
  padding: var(--section-y) 0;
}

/* The index hero is single-column too now, so this only needs the alignment —
   the container's own max-width is deliberately left alone so this hero lines
   up with the index hero and with every other section on the page. */
.hero--story .hero__inner {
  text-align: left;
}

.hero--story .hero__content {
  max-width: 880px;
  margin: 0;
  text-align: left;
}

.hero--story .hero__heading {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  letter-spacing: -0.025em;
  margin-bottom: var(--space-5);
}

.hero--story .hero__subheading {
  max-width: 720px;
  font-size: var(--font-size-lg);
  margin-bottom: 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-xs);
  color: var(--color-text-dim);
  margin-bottom: var(--space-5);
}

.breadcrumb a {
  color: inherit;
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--color-primary-light);
}

.breadcrumb__sep {
  opacity: 0.5;
}

.breadcrumb__current {
  color: var(--color-primary-light);
}

/* Hero meta — client type / service / method / outcome */
.story-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin-top: var(--space-10);
  background: var(--color-border-mid);
  border: 1px solid var(--color-border-mid);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.story-meta__item {
  background: var(--color-bg-surface);
  padding: var(--space-5);
}

.story-meta__label {
  display: block;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  margin-bottom: var(--space-2);
}

.story-meta__value {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-snug);
  color: var(--color-text);
}

.story-meta__value--accent {
  color: var(--color-primary-light);
  font-weight: var(--font-weight-bold);
}

/* =============================================================================
   2. STORY SECTIONS
   ============================================================================= */
/* One ground, one hairline per boundary, and the shared --section-y rhythm —
   the same rules index.html follows, so the two page types cannot drift. */
.story-section {
  padding: var(--section-y) 0;
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.story-section__header {
  max-width: 700px;
  margin-bottom: var(--space-12);
}

.story-section__heading {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.story-section__lead {
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
}

/* Same measure cap, and for the same reason, as .platform-section__body: the
   .split-grid two-column layout only starts at 1024px, so below that this runs
   the full container width. */
.story-prose > p {
  max-width: 60ch;
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
}

.story-prose > p:last-child {
  margin-bottom: 0;
}

.story-prose strong {
  color: var(--color-text);
  font-weight: var(--font-weight-semibold);
}

/* Two-column split: prose on the left, supporting block on the right */
/* minmax(0, ...) throughout: a bare 1fr / 0.85fr has an auto minimum, so one
   child holding a --wide diagram (594px floor) widens the track past the
   container and the whole page scrolls sideways. With a zero minimum the
   diagram's own overflow-x: auto scrolls it inside the card instead. */
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-10);
  align-items: start;
}

/* =============================================================================
   3. RESULT STAT · CALLOUT BOX · MINI STATS
   ============================================================================= */
.result-stat {
  padding: var(--space-8);
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-mid);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-6);
}

.result-stat__value {
  display: block;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: var(--font-weight-bold);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-primary-light);
  margin-bottom: var(--space-3);
}

.result-stat__label {
  display: block;
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.callout-box {
  padding: var(--space-6);
  background: var(--color-accent-wash);
  border: 1px solid var(--color-accent-line);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-muted);
  margin-top: var(--space-6);
}

.callout-box strong {
  color: var(--color-text);
  font-weight: var(--font-weight-semibold);
}

.mini-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.mini-stat {
  padding: var(--space-5);
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.mini-stat__value {
  display: block;
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.mini-stat__label {
  display: block;
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

/* =============================================================================
   4. ICON ROW
   ============================================================================= */
/* Two-up on the narrowest phones. Three columns of these labels — "Cross-
   referenced history", "Attention over branches" — need ~320px of min-content
   before padding, which is more than a 320px viewport has left after the
   container's own. The 600px breakpoint below restores three. */
.icon-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

.icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-3);
  text-align: center;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.icon-card svg {
  flex-shrink: 0;
}

.icon-card__label {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-snug);
  color: var(--color-text-muted);
}

/* =============================================================================
   5. JOURNEY — five-step approach ladder
   ============================================================================= */
.journey {
  display: flex;
  flex-direction: column;
}

.journey__step {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: var(--space-5);
}

.journey__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.journey__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: var(--radius-full);
  border: 1px solid var(--step-color, var(--color-primary));
  background: var(--color-bg-surface);
  color: var(--step-color, var(--color-primary));
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  font-variant-numeric: tabular-nums;
}

.journey__line {
  flex: 1;
  width: 1px;
  min-height: var(--space-6);
  background: linear-gradient(
    to bottom,
    var(--color-border-mid),
    var(--color-border)
  );
}

/* ── Journey entrance ──
   The .reveal now sits on each step rather than the wrapper, so the five
   arrive one at a time by scroll position. The connector draws downward into
   each numbered disc as its step lands. scaleY on a 1px flex child costs no
   layout — it only paints. Scoped .js-enabled so nothing hides without JS. */
.js-enabled .journey__step .journey__line {
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.6s var(--ease-out-expo) 0.12s;
}

.js-enabled .journey__step.reveal--visible .journey__line {
  transform: scaleY(1);
}

.js-enabled .journey__step .journey__num {
  opacity: 0;
  transform: scale(0.6);
  transition:
    opacity 0.35s var(--ease-out-quart),
    transform 0.35s var(--ease-out-expo);
}

.js-enabled .journey__step.reveal--visible .journey__num {
  opacity: 1;
  transform: none;
}

.journey__body {
  padding-bottom: var(--space-10);
}

.journey__step:last-child .journey__body {
  padding-bottom: 0;
}

.journey__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-snug);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.journey__hl {
  color: var(--step-color, var(--color-primary-light));
}

.journey__text {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  max-width: 62ch;
}

/* =============================================================================
   6. CAPABILITY & USE-CASE CARD GRIDS
   ============================================================================= */
.cap-grid,
.use-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.cap-card,
.use-card {
  padding: var(--space-6);
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-mid);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.cap-card__num {
  display: block;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.12em;
  color: var(--color-primary-light);
  margin-bottom: var(--space-4);
}

.use-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  margin-bottom: var(--space-4);
}

.cap-card__title,
.use-card__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-snug);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.cap-card__body,
.use-card__body {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* =============================================================================
   7. WEIGHTED TRACKS — scheduled vs unscheduled demand
   ============================================================================= */
.track-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.track-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-mid);
  border-top: 3px solid var(--track-color, var(--color-primary));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.track-card__head {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding-bottom: var(--space-5);
  margin-bottom: var(--space-5);
  border-bottom: 1px solid var(--color-border);
}

.track-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
}

.track-card__badge {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--track-color, var(--color-primary));
  margin-bottom: var(--space-1);
}

.track-card__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-snug);
  color: var(--color-text);
}

.weight {
  margin-bottom: var(--space-4);
}

.weight__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-2);
}

.weight__label {
  font-size: var(--font-size-sm);
  color: var(--color-text);
}

.weight__pct {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  font-variant-numeric: tabular-nums;
  color: var(--track-color, var(--color-primary));
}

.weight__track {
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--color-bg-subtle);
  overflow: hidden;
}

.weight__fill {
  display: block;
  height: 100%;
  width: var(--pct, 0%);
  border-radius: var(--radius-full);
  background: var(--track-color, var(--color-primary));
  transform-origin: left center;
  transition: width 900ms var(--ease-out-expo);
}

.track-card__caption {
  padding-top: var(--space-4);
  margin-top: var(--space-2);
  border-top: 1px solid var(--color-border);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.track-card__caption strong {
  color: var(--color-text);
  font-weight: var(--font-weight-semibold);
}

.insight {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-5);
}

.insight__letter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border-mid);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  color: var(--track-color, var(--color-primary));
}

.insight__title {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.insight__body {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* =============================================================================
   8. PROCESS ROW — end-to-end forecast pipeline
   ============================================================================= */
.process-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.process-step {
  position: relative;
  padding: var(--space-6);
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-mid);
  border-radius: var(--radius-lg);
}

.process-step__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  margin-bottom: var(--space-4);
}

.process-step__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-snug);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.process-step__body {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.process-step__arrow {
  display: none;
}

/* =============================================================================
   9. LOOKUP TABLE — part number → EO → IPC → aircraft config
   ============================================================================= */
/* min-width: 0 so the 640px table below scrolls here wherever this sits. It is
   correct today only because its parent happens to be a block; drop it into a
   grid or flex parent and the auto minimum would push the page wide instead. */
.lookup {
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.lookup-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: var(--font-size-sm);
}

.lookup-table th {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  border-bottom: 1px solid var(--color-border-mid);
  white-space: nowrap;
}

.lookup-table td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
  vertical-align: middle;
}

.lookup-table tbody tr:last-child td {
  border-bottom: none;
}

.lookup-table tbody tr:hover td {
  background: var(--color-accent-wash);
}

.lookup-table__pn {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: var(--font-size-xs);
  color: var(--color-text);
}

.lookup-table__eo,
.lookup-table__ipc {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: var(--font-size-xs);
  white-space: nowrap;
}

.ec-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border-mid);
  background: var(--color-bg-subtle);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  white-space: nowrap;
}

.ec-badge__dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: var(--radius-full);
  background: var(--ec-color, var(--color-primary));
}

/* =============================================================================
   10. SIMULATION OUTPUT — supply chain
   ============================================================================= */
.legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.legend__swatches {
  display: flex;
  gap: 3px;
}

.legend__swatches span {
  width: 20px;
  height: 8px;
  border-radius: 2px;
}

.risk-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
  margin: var(--space-6) 0;
}

.risk-list li {
  position: relative;
  padding-left: var(--space-6);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.risk-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--color-primary-light);
  transform: rotate(45deg);
}

.pipeline {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-5);
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin: var(--space-6) 0;
}

.pipeline__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.pipeline__tags {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.pipeline__tags span {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.pipeline__sq {
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  border-radius: 2px;
  background: var(--tag-color, var(--color-primary));
}

.charts-stack {
  display: flex;
  flex-direction: column;
}

.chart-item {
  padding: var(--space-5);
  border-bottom: 1px solid var(--color-border);
}

.chart-item:last-child {
  border-bottom: none;
}

.chart-item__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-1);
}

.chart-item__title {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
}

.chart-item__badge {
  font-size: var(--font-size-xs);
  font-variant-numeric: tabular-nums;
  color: var(--color-primary-light);
  white-space: nowrap;
}

.chart-item__sub {
  font-size: var(--font-size-xs);
  color: var(--color-text-dim);
  margin-bottom: var(--space-3);
}

.chart-item svg {
  display: block;
  width: 100%;
  height: auto;
}

/* =============================================================================
   11. MORE SUCCESS STORIES
   ============================================================================= */
.more-stories {
  padding: var(--section-y) 0;
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.more-stories__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.more-stories__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.more-stories__all {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary-light);
}

.more-stories__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.more-card {
  display: block;
  padding: var(--space-6);
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-mid);
  border-radius: var(--radius-lg);
  transition:
    border-color var(--transition-base),
    transform var(--transition-base);
}

.more-card:hover {
  border-color: var(--color-primary-hi);
  transform: translateY(-3px);
}

.more-card__tag {
  display: block;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: var(--space-3);
}

.more-card__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-snug);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.more-card__body {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* =============================================================================
   CARD GRID STAGGER
   The containers already carry .reveal; only their children need delays.
   Every selector names its specific grid on purpose — a bare
   `.reveal--visible > *` would silently restyle every reveal container on the
   homepage too, since these class names are not page-scoped.
   ============================================================================= */
.js-enabled .cap-grid > *,
.js-enabled .use-grid > *,
.js-enabled .track-grid > *,
.js-enabled .mini-stats > *,
.js-enabled .process-row > * {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.5s var(--ease-out-expo),
    transform 0.5s var(--ease-out-expo);
}

.js-enabled .cap-grid.reveal--visible > *,
.js-enabled .use-grid.reveal--visible > *,
.js-enabled .track-grid.reveal--visible > *,
.js-enabled .mini-stats.reveal--visible > *,
.js-enabled .process-row.reveal--visible > * {
  opacity: 1;
  transform: none;
}

.js-enabled .cap-grid > *:nth-child(2),
.js-enabled .use-grid > *:nth-child(2),
.js-enabled .track-grid > *:nth-child(2),
.js-enabled .mini-stats > *:nth-child(2),
.js-enabled .process-row > *:nth-child(2) {
  transition-delay: 0.07s;
}

.js-enabled .cap-grid > *:nth-child(3),
.js-enabled .use-grid > *:nth-child(3),
.js-enabled .track-grid > *:nth-child(3),
.js-enabled .mini-stats > *:nth-child(3),
.js-enabled .process-row > *:nth-child(3) {
  transition-delay: 0.14s;
}

.js-enabled .cap-grid > *:nth-child(n + 4),
.js-enabled .use-grid > *:nth-child(n + 4),
.js-enabled .track-grid > *:nth-child(n + 4),
.js-enabled .process-row > *:nth-child(n + 4) {
  transition-delay: 0.21s;
}

@media (prefers-reduced-motion: reduce) {
  .js-enabled .cap-grid > *,
  .js-enabled .use-grid > *,
  .js-enabled .track-grid > *,
  .js-enabled .mini-stats > *,
  .js-enabled .process-row > *,
  .js-enabled .journey__step .journey__line,
  .js-enabled .journey__step .journey__num {
    opacity: 1;
    transform: none;
    transition: none !important;
  }
}

/* =============================================================================
   RESPONSIVE
   ============================================================================= */
@media (min-width: 600px) {
  .story-meta {
    grid-template-columns: repeat(2, 1fr);
  }

  .icon-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mini-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .risk-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .cap-grid,
  .use-grid,
  .more-stories__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .story-section__heading {
    font-size: var(--font-size-4xl);
  }

  .story-meta {
    grid-template-columns: repeat(4, 1fr);
  }

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


  .split-grid--wide-last {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }

  .cap-grid,
  .use-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .track-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-row {
    grid-template-columns: repeat(4, 1fr);
    /* Wide enough gap for the connector arrow to sit clear of both cards */
    gap: var(--space-8);
  }

  /* Connector arrow, centred in the gap between pipeline steps */
  .process-step__arrow {
    display: block;
    position: absolute;
    top: var(--space-8);
    right: calc(var(--space-6) * -1);
    color: var(--color-text-dim);
  }

  .process-step:last-child .process-step__arrow {
    display: none;
  }

  .more-stories__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
