:root {
  --cbs-cyan: #00a1cd;
  --cbs-indigo: #271d6c;
  --cbs-white: #ffffff;
  --cbs-indigo-heading: #2e2376;
  --cbs-indigo-copy: rgba(39, 29, 108, 0.84);
  --cbs-indigo-soft: rgba(39, 29, 108, 0.08);
  --cbs-indigo-mid: rgba(39, 29, 108, 0.18);
  --cbs-indigo-text: rgba(39, 29, 108, 0.78);
  --cbs-cyan-soft: rgba(0, 161, 205, 0.1);
  --cbs-cyan-mid: rgba(0, 161, 205, 0.22);
  --cbs-shadow: 0 24px 60px rgba(39, 29, 108, 0.08);
  --story-text-label: clamp(0.94rem, 0.9rem + 0.15vw, 1rem);
  --story-text-meta: clamp(0.92rem, 0.88rem + 0.12vw, 0.98rem);
  --story-text-body: clamp(1.18rem, 1.42vw, 1.34rem);
  --story-text-heading: clamp(1.45rem, 1.9vw, 1.95rem);
  --story-step-reveal-distance: 8px;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(0, 161, 205, 0.02) 0%, rgba(249, 251, 253, 0.985) 14%, #ffffff 34%, #ffffff 76%, rgba(0, 161, 205, 0.035) 90%, rgba(39, 29, 108, 0.055) 100%);
  color: var(--cbs-indigo);
  font-family: "Akko Pro", "Segoe UI", sans-serif;
}

body .container-fluid {
  padding: 0;
}

a {
  color: var(--cbs-cyan);
}

.app-shell {
  --story-band-max: 108rem;
  --story-band-pad: clamp(1rem, 2vw, 1.8rem);
  --story-text-measure: 60rem;
  --story-visual-measure: 94rem;
  position: relative;
  width: min(1740px, calc(100vw - 28px));
  margin: 0 auto;
  padding: 1rem 0 7rem;
}

html.scrolly-enhanced .app-shell::after {
  display: none;
}

.story-hero {
  position: relative;
  max-width: calc(var(--story-band-max) + (var(--story-band-pad) * 2));
  margin: 0 auto clamp(2.5rem, 5vw, 5rem);
  padding: clamp(1.1rem, 2vw, 1.55rem) var(--story-band-pad) clamp(1.3rem, 2.4vw, 1.8rem);
  border-radius: 26px;
  border: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9) 70%, rgba(255, 255, 255, 0.8) 100%);
  box-shadow: 0 14px 30px rgba(39, 29, 108, 0.035);
}

.story-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 42%, rgba(39, 29, 108, 0.028) 100%);
  pointer-events: none;
}

.story-hero::after {
  content: "";
  position: absolute;
  left: var(--story-band-pad);
  right: var(--story-band-pad);
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(39, 29, 108, 0.06), rgba(39, 29, 108, 0.03) 48%, rgba(39, 29, 108, 0) 100%);
}

.story-hero-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(24rem, 29rem);
  gap: clamp(1.2rem, 3vw, 2.4rem) clamp(2.2rem, 5vw, 4.4rem);
  align-items: end;
}

.story-hero-copy {
  min-width: 0;
}

.story-hero-aside {
  width: min(29rem, 100%);
  justify-self: end;
  align-self: end;
}

.story-hero-error ul {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--cbs-indigo-text);
  line-height: 1.6;
}

.story-step-kicker,
.story-visual-chip {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: var(--story-text-meta);
  font-weight: 700;
}

.story-step-kicker {
  color: var(--cbs-cyan);
}

.story-chapter-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cbs-cyan);
  font-size: clamp(1rem, 1.4vw, 1.24rem);
  font-weight: 800;
}

.hero-utility-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.8rem 1rem;
  margin-top: 1rem;
}

.hero-info-wrap {
  position: relative;
  display: block;
  width: min(38rem, 100%);
  align-self: flex-start;
  z-index: 34;
}

.hero-info-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.38rem 0.68rem;
  border: 1px solid rgba(39, 29, 108, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--cbs-indigo);
  font-size: var(--story-text-meta);
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(39, 29, 108, 0.04);
}

.hero-info-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.55rem;
  height: 1.55rem;
  padding: 0 0.42rem;
  border-radius: 999px;
  background: var(--cbs-cyan);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-info-label {
  color: var(--cbs-indigo);
  font-size: var(--story-text-meta);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-info-tooltip {
  position: static;
  width: min(36rem, 100%);
  max-width: none;
  margin-top: 0.72rem;
  padding: 0 1rem;
  border-radius: 14px;
  border: 0 solid rgba(39, 29, 108, 0.12);
  background: rgba(255, 255, 255, 0.97);
  color: var(--cbs-indigo);
  font-size: 0.95rem;
  line-height: 1.58;
  box-shadow: none;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: none;
  pointer-events: none;
  transition:
    opacity 160ms ease,
    max-height 200ms ease,
    padding 160ms ease,
    border-width 160ms ease;
  z-index: 42;
}

.hero-info-wrap:hover .hero-info-tooltip,
.hero-info-wrap:focus-within .hero-info-tooltip {
  opacity: 1;
  max-height: 18rem;
  pointer-events: auto;
  padding: 0.95rem 1rem;
  border-width: 1px;
}

.hero-snapshot-picker {
  width: min(28rem, 100%);
  margin-left: 0;
}

.hero-snapshot-picker-label {
  display: block;
  margin: 0 0 0.5rem;
  color: var(--cbs-indigo);
  font-size: var(--story-text-meta);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-snapshot-strip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-snapshot-strip-viewport {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  border-radius: 999px;
  overflow: hidden;
}

.hero-snapshot-strip-viewport::before,
.hero-snapshot-strip-viewport::after {
  content: "";
  position: absolute;
  top: 0.35rem;
  bottom: 0.72rem;
  width: 1.5rem;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
}

.hero-snapshot-strip-viewport::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0));
}

.hero-snapshot-strip-viewport::after {
  right: 0;
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0));
}

.hero-snapshot-strip-viewport.is-scrollable:not(.is-at-start)::before,
.hero-snapshot-strip-viewport.is-scrollable:not(.is-at-end)::after {
  opacity: 1;
}

.hero-snapshot-strip-actions {
  display: inline-flex;
  gap: 0.38rem;
  align-items: center;
}

.hero-snapshot-strip-control {
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid rgba(39, 29, 108, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--cbs-indigo);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(39, 29, 108, 0.04);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    opacity 180ms ease;
}

.hero-snapshot-strip-control:hover,
.hero-snapshot-strip-control:focus-visible {
  border-color: rgba(39, 29, 108, 0.28);
  box-shadow:
    0 0 0 3px rgba(39, 29, 108, 0.06),
    0 8px 18px rgba(39, 29, 108, 0.06);
  outline: none;
  transform: translateY(-1px);
}

.hero-snapshot-strip-control.is-disabled,
.hero-snapshot-strip-control:disabled {
  opacity: 0.34;
  box-shadow: none;
  transform: none;
  cursor: default;
}

.hero-snapshot-strip-track {
  display: flex;
  gap: 0.42rem;
  min-width: 0;
  overflow-x: auto;
  padding: 0.35rem 0.45rem 0.55rem;
  border: 1px solid rgba(39, 29, 108, 0.08);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 250, 255, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(39, 29, 108, 0.14) transparent;
}

.hero-snapshot-strip-track::-webkit-scrollbar {
  height: 6px;
}

.hero-snapshot-strip-track::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(39, 29, 108, 0.14);
}

.hero-snapshot-option {
  flex: 0 0 auto;
  min-width: auto;
  padding: 0.52rem 0.88rem;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  color: var(--cbs-indigo);
  text-align: center;
  scroll-snap-align: center;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.hero-snapshot-option:hover,
.hero-snapshot-option:focus-visible {
  background: rgba(39, 29, 108, 0.05);
  outline: none;
  color: var(--cbs-indigo);
}

.hero-snapshot-option.is-active {
  border-color: rgba(39, 29, 108, 0.08);
  background: linear-gradient(180deg, rgba(39, 29, 108, 0.98), rgba(24, 18, 71, 0.98));
  color: #fff;
  box-shadow: 0 10px 22px rgba(39, 29, 108, 0.14);
}

.hero-snapshot-option.is-loading {
  opacity: 0.74;
  pointer-events: none;
}

.hero-snapshot-option-weekday {
  display: inline;
  margin: 0 0.35rem 0 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.56;
}

.hero-snapshot-option.is-active .hero-snapshot-option-weekday {
  opacity: 0.72;
}

.hero-snapshot-option-date {
  display: inline;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.2;
}

.story-snapshot-panel.is-switching-in {
  animation: snapshot-panel-fade 240ms ease;
}

.story-static-panels {
  position: relative;
}

.story-static-panels.is-loading {
  cursor: progress;
}

@keyframes snapshot-panel-fade {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.story-hero h1,
.story-chapter-title,
.story-step-title {
  margin: 0;
  color: var(--cbs-indigo-heading);
  font-weight: 700;
  line-height: 0.98;
}

.story-hero h1 {
  margin-top: 0;
  max-width: 11ch;
  color: var(--cbs-indigo);
  font-size: clamp(3.05rem, 5vw, 4.75rem);
  line-height: 0.94;
  text-wrap: balance;
  text-shadow: none;
}

.hero-dek,
.story-chapter-dek,
.story-step-summary,
.story-step-detail {
  margin: 0;
  color: var(--cbs-indigo-text);
  line-height: 1.72;
}

.hero-dek {
  margin-top: 0.55rem;
  max-width: var(--story-text-measure);
  font-size: var(--story-text-body);
  font-weight: 500;
  line-height: 1.62;
  text-wrap: wrap;
}

.story-hero > h1,
.story-hero > .hero-dek {
  max-width: var(--story-band-max);
  margin-left: 0;
  margin-right: 0;
}

.story-hero-copy > h1,
.story-hero-copy > .hero-dek {
  max-width: var(--story-text-measure);
}

.hero-selection-line {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: var(--cbs-cyan-soft);
  border: 1px solid var(--cbs-cyan-mid);
  color: var(--cbs-indigo);
  font-size: 0.98rem;
  font-weight: 600;
}

.story-sequence {
  display: flex;
  flex-direction: column;
  gap: clamp(4.5rem, 8vw, 8rem);
}

.story-progress-shell {
  position: sticky;
  top: clamp(0.5rem, 1.2vw, 0.85rem);
  z-index: 26;
  max-width: var(--story-band-max);
  margin: 0 auto clamp(2.2rem, 4.2vw, 3.7rem);
  padding: 0 var(--story-band-pad);
  overflow: visible;
}

.story-progress-nav {
  padding: clamp(0.35rem, 0.9vw, 0.7rem) 0 clamp(1rem, 1.8vw, 1.25rem);
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  overflow-y: visible;
}

.story-progress-items {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--story-progress-count), minmax(6.6rem, 1fr));
  gap: clamp(0.45rem, 1.1vw, 0.9rem);
  width: 100%;
  min-width: max(100%, calc(var(--story-progress-count) * 7.65rem));
  align-items: start;
  overflow: visible;
}

.story-progress-items::before {
  content: "";
  position: absolute;
  left: clamp(1.5rem, 2.2vw, 2rem);
  right: clamp(1.5rem, 2.2vw, 2rem);
  top: 5.8rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(0, 161, 205, 0.1) 0%,
    rgba(0, 161, 205, 0.42) 28%,
    rgba(39, 29, 108, 0.18) 72%,
    rgba(39, 29, 108, 0.08) 100%
  );
  transform-origin: left center;
}

.story-progress-shell.is-revealing .story-progress-items::before {
  animation: progress-rail-line-reveal 1180ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.story-progress-item {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: minmax(5.05rem, auto) 2.65rem;
  justify-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cbs-indigo);
  cursor: pointer;
  text-align: center;
  overflow: visible;
}

.story-progress-shell.is-revealing .story-progress-item {
  opacity: 0;
  transform: translate3d(-0.95rem, 0.4rem, 0) scale(0.985);
  animation: progress-rail-item-reveal 1100ms cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--progress-reveal-index, 0) * 96ms);
}

.story-progress-item:focus-visible {
  outline: none;
}

.story-progress-copy {
  display: grid;
  justify-items: center;
  gap: 0.3rem;
}

.story-progress-label {
  display: -webkit-box;
  max-width: 8.6rem;
  min-height: calc(1.28em * 2);
  color: rgba(39, 29, 108, 0.5);
  font-size: var(--story-text-label);
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: 0.01em;
  overflow: hidden;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color 220ms ease, transform 220ms ease, opacity 220ms ease;
}

.story-progress-date {
  color: rgba(39, 29, 108, 0.42);
  font-size: var(--story-text-meta);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 220ms ease, opacity 220ms ease;
}

.story-progress-node-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
}

.story-progress-node,
.story-progress-node-core {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transition:
    transform 240ms ease,
    box-shadow 260ms ease,
    background-color 240ms ease,
    border-color 240ms ease,
    opacity 240ms ease;
}

.story-progress-node {
  border: 1px solid rgba(0, 161, 205, 0.32);
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 0 0 10px rgba(0, 161, 205, 0.04),
    0 10px 22px rgba(39, 29, 108, 0.08);
}

.story-progress-node-core {
  inset: 0.46rem;
  background: rgba(39, 29, 108, 0.22);
  opacity: 0.7;
}

.story-progress-item:hover .story-progress-label,
.story-progress-item:focus-visible .story-progress-label,
.story-progress-item.is-current .story-progress-label {
  color: rgba(39, 29, 108, 0.96);
  transform: translateY(-1px);
}

.story-progress-item:hover .story-progress-date,
.story-progress-item:focus-visible .story-progress-date,
.story-progress-item.is-current .story-progress-date {
  color: rgba(39, 29, 108, 0.7);
}

.story-progress-item:hover .story-progress-node,
.story-progress-item:focus-visible .story-progress-node {
  transform: scale(1.06);
  border-color: rgba(0, 161, 205, 0.38);
}

.story-progress-item.is-past .story-progress-label {
  color: rgba(39, 29, 108, 0.66);
}

.story-progress-item.is-past .story-progress-node {
  border-color: rgba(0, 161, 205, 0.32);
  background: rgba(255, 255, 255, 0.98);
}

.story-progress-item.is-past .story-progress-node-core {
  background: rgba(0, 161, 205, 0.68);
  opacity: 1;
}

.story-progress-item.is-current .story-progress-node {
  transform: scale(1.34);
  border-color: rgba(0, 161, 205, 0.62);
  box-shadow:
    0 0 0 12px rgba(0, 161, 205, 0.08),
    0 0 0 22px rgba(0, 161, 205, 0.03),
    0 14px 28px rgba(39, 29, 108, 0.11);
}

.story-progress-item.is-current .story-progress-node-core {
  background: linear-gradient(145deg, rgba(0, 161, 205, 0.98), rgba(39, 29, 108, 0.78));
  opacity: 1;
  animation: chapter-pulse 2.8s ease-in-out infinite;
}

@keyframes progress-rail-line-reveal {
  0% {
    opacity: 0;
    transform: scaleX(0.72);
  }

  100% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes progress-rail-item-reveal {
  0% {
    opacity: 0;
    transform: translate3d(-0.95rem, 0.4rem, 0) scale(0.985);
  }

  55% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (hover: hover) and (pointer: fine) {
  .story-progress-shell {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 220ms ease, transform 260ms ease;
  }

  html.progress-rail-collapsed .story-progress-shell {
    opacity: 0;
    transform: translateY(-0.8rem);
    pointer-events: none;
  }

  html.progress-rail-collapsed.show-progress-rail .story-progress-shell,
  html.progress-rail-collapsed .story-progress-shell.is-hovering,
  html.progress-rail-collapsed .story-progress-shell:focus-within {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

.story-chapter {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 2.5vw, 2.75rem);
  scroll-margin-top: clamp(7rem, 12vw, 9.5rem);
  max-width: calc(var(--story-band-max) + (var(--story-band-pad) * 2));
  margin: 0 auto;
  padding: clamp(1.35rem, 2vw, 2rem) 0 clamp(1.8rem, 2.6vw, 2.8rem);
  border-radius: 28px;
  border: 1px solid rgba(0, 161, 205, 0.045);
  overflow: hidden;
}

.story-chapter::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.48;
  transition: opacity 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.story-chapter-tone-1::before {
  background:
    radial-gradient(circle at 14% 14%, rgba(0, 161, 205, 0.028), rgba(0, 161, 205, 0) 34%),
    linear-gradient(180deg, rgba(0, 161, 205, 0.012), rgba(255, 255, 255, 0) 42%, rgba(39, 29, 108, 0.014) 100%);
}

.story-chapter-tone-2::before {
  background:
    radial-gradient(circle at 84% 18%, rgba(39, 29, 108, 0.04), rgba(39, 29, 108, 0) 36%),
    linear-gradient(180deg, rgba(39, 29, 108, 0.016), rgba(255, 255, 255, 0) 40%, rgba(0, 161, 205, 0.018) 100%);
}

.story-chapter-tone-3::before {
  background:
    radial-gradient(circle at 18% 82%, rgba(0, 161, 205, 0.016), rgba(0, 161, 205, 0) 33%),
    linear-gradient(180deg, rgba(0, 161, 205, 0.006), rgba(255, 255, 255, 0) 38%, rgba(39, 29, 108, 0.01) 100%);
}

.story-chapter-start::before {
  background:
    radial-gradient(circle at 16% 80%, rgba(0, 161, 205, 0.012), rgba(0, 161, 205, 0) 31%),
    linear-gradient(180deg, rgba(0, 161, 205, 0.004), rgba(255, 255, 255, 0) 40%, rgba(39, 29, 108, 0.008) 100%);
  opacity: 0.38;
}

.story-chapter-tone-4::before {
  background:
    radial-gradient(circle at 88% 76%, rgba(39, 29, 108, 0.034), rgba(39, 29, 108, 0) 34%),
    linear-gradient(180deg, rgba(39, 29, 108, 0.014), rgba(255, 255, 255, 0) 40%, rgba(0, 161, 205, 0.016) 100%);
}

.story-chapter-transition {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(4rem, 7vw, 5.25rem);
  max-width: var(--story-band-max);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--story-band-pad);
}

.story-chapter.is-jump-revealing > .story-chapter-transition,
.story-chapter.is-jump-revealing > .story-chapter-header,
.story-chapter.is-jump-revealing > .story-chapter-steps {
  animation: chapter-jump-fade 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.story-chapter.is-jump-revealing > .story-chapter-header {
  animation-delay: 50ms;
}

.story-chapter.is-jump-revealing > .story-chapter-steps {
  animation-delay: 110ms;
}

.story-chapter-transition-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(0, 161, 205, 0) 0%,
    rgba(0, 161, 205, 0.58) 18%,
    rgba(39, 29, 108, 0.24) 62%,
    rgba(39, 29, 108, 0) 100%
  );
  opacity: 0.66;
  transform: scaleX(0.94);
  transform-origin: left center;
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1),
    background 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.story-chapter-transition-glow {
  position: absolute;
  left: clamp(12%, 18vw, 22%);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(7rem, 10vw, 9rem);
  height: clamp(2.1rem, 3vw, 2.8rem);
  border-radius: 999px;
  background:
    radial-gradient(circle at center, rgba(0, 161, 205, 0.24), rgba(0, 161, 205, 0.08) 42%, rgba(0, 161, 205, 0) 72%),
    radial-gradient(circle at 68% 50%, rgba(39, 29, 108, 0.12), rgba(39, 29, 108, 0) 62%);
  filter: blur(9px);
  opacity: 0.34;
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.story-chapter-transition-pulse {
  position: absolute;
  left: clamp(12%, 18vw, 22%);
  top: 50%;
  transform: translate(-50%, -50%);
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(0, 161, 205, 0.95), rgba(39, 29, 108, 0.7));
  box-shadow:
    0 0 0 8px rgba(0, 161, 205, 0.08),
    0 0 0 18px rgba(0, 161, 205, 0.035),
    0 10px 20px rgba(39, 29, 108, 0.1);
  opacity: 0.72;
  transition:
    opacity 680ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 680ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

.story-chapter.is-current-chapter::before {
  opacity: 0.42;
}

.story-chapter-start.is-current-chapter::before {
  opacity: 0.3;
}

.story-chapter.is-current-chapter > .story-chapter-transition .story-chapter-transition-line {
  background: linear-gradient(
    90deg,
    rgba(0, 161, 205, 0.012) 0%,
    rgba(0, 161, 205, 0.42) 18%,
    rgba(39, 29, 108, 0.18) 62%,
    rgba(39, 29, 108, 0) 100%
  );
  opacity: 0.72;
  transform: scaleX(1);
}

.story-chapter-start.is-current-chapter > .story-chapter-transition .story-chapter-transition-line {
  background: linear-gradient(
    90deg,
    rgba(0, 161, 205, 0.01) 0%,
    rgba(0, 161, 205, 0.34) 18%,
    rgba(39, 29, 108, 0.14) 62%,
    rgba(39, 29, 108, 0) 100%
  );
  opacity: 0.58;
}

.story-chapter.is-current-chapter > .story-chapter-transition .story-chapter-transition-glow {
  opacity: 0.14;
  transform: translateY(-50%) scaleX(1);
}

.story-chapter.is-current-chapter > .story-chapter-transition .story-chapter-transition-pulse {
  opacity: 0.42;
  transform: translate(-50%, -50%) scale(1);
}

.story-chapter.is-current-chapter > .story-chapter-header {
  opacity: 1;
  transform: translateY(0);
}

.story-chapter.is-entering-chapter > .story-chapter-transition .story-chapter-transition-line {
  opacity: 0.9;
  transform: scaleX(1);
}

.story-chapter.is-entering-chapter > .story-chapter-transition .story-chapter-transition-glow {
  opacity: 0.22;
}

.story-chapter.is-entering-chapter > .story-chapter-transition .story-chapter-transition-pulse {
  opacity: 0.48;
  box-shadow:
    0 0 0 9px rgba(0, 161, 205, 0.065),
    0 0 0 18px rgba(0, 161, 205, 0.024),
    0 8px 18px rgba(39, 29, 108, 0.085);
}

.story-chapter.is-entering-chapter > .story-chapter-header {
  animation: chapter-header-soft-enter 460ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes chapter-header-soft-enter {
  0% {
    opacity: 0.78;
  }

  100% {
    opacity: 1;
  }
}

.story-chapter-header {
  position: relative;
  z-index: 1;
  max-width: var(--story-band-max);
  margin: 0 auto 2.25rem;
  padding: 0 var(--story-band-pad);
  opacity: 0.97;
  transform: translateY(2px);
  transition:
    opacity 640ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 640ms cubic-bezier(0.22, 1, 0.36, 1);
}

.story-chapter-header > .story-chapter-kicker,
.story-chapter-header > .story-chapter-title,
.story-chapter-header > .story-chapter-summary-label,
.story-chapter-header > .story-chapter-dek,
.story-chapter-header > .story-chapter-meta {
  width: min(100%, var(--story-text-measure));
  max-width: none;
  box-sizing: border-box;
}

.story-chapter-title {
  margin-top: 0.55rem;
  font-size: clamp(2.2rem, 4.6vw, 4.8rem);
}

.story-chapter-summary-label {
  margin-top: 1.1rem;
  font-size: 0.92rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(0, 145, 214, 0.98);
}

.story-chapter-dek {
  margin-top: 0.45rem;
  font-size: var(--story-text-body);
  line-height: 1.72;
  color: rgba(39, 29, 108, 0.86);
  text-wrap: wrap;
}

.story-chapter-steps {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(0.45rem, 1vw, 0.8rem);
  max-width: var(--story-band-max);
  margin: 0 auto;
  padding: 0 var(--story-band-pad);
}

.story-step {
  min-height: auto;
  display: block;
  padding: 0;
  opacity: 1;
  transform: none;
}

html.scrolly-enhanced .story-step {
  opacity: 1;
  transform: none;
}

html.scrolly-enhanced .story-step.is-active {
  opacity: 1;
}

html.scrolly-enhanced .story-step.is-after-focus:not(.is-active) {
  transform: none;
  opacity: 1;
}

.story-step-grid {
  width: 100%;
  display: block;
}

.story-step-text-only .story-step-grid {
  max-width: var(--story-text-measure);
  margin-left: 0;
  margin-right: auto;
}

.story-step-visual-only .story-step-grid {
  max-width: var(--story-visual-measure);
  margin-left: 0;
  margin-right: auto;
}

.story-step-grid-brief {
  grid-template-columns: minmax(320px, 0.84fr) minmax(320px, 1.16fr);
  align-items: stretch;
}

.story-visual-block,
.story-text-block {
  opacity: 1;
  transform: none;
}

html.scrolly-enhanced .story-visual-block,
html.scrolly-enhanced .story-text-block {
  opacity: 1;
  transform: none;
  transition: none;
}

html.scrolly-enhanced .story-step.is-after-focus .story-visual-block,
html.scrolly-enhanced .story-step.is-after-focus .story-text-block {
  transform: none;
}

html.scrolly-enhanced .story-step.is-active .story-visual-block,
html.scrolly-enhanced .story-step.is-active .story-text-block {
  opacity: 1;
}

.story-visual-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.story-visual-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.68rem;
  border-radius: 999px;
  border: 1px solid rgba(39, 29, 108, 0.1);
  background: rgba(255, 255, 255, 0.76);
  color: var(--cbs-indigo);
}

.story-visual-chip-primary {
  font-size: clamp(0.86rem, 0.95vw, 1rem);
  font-weight: 800;
}

.story-visual-frame {
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(39, 29, 108, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.975), rgba(255, 255, 255, 0.992)),
    rgba(255, 255, 255, 0.985);
  box-shadow: 0 8px 20px rgba(39, 29, 108, 0.028);
  padding: clamp(0.6rem, 1vw, 0.95rem);
  overflow: hidden;
  transition: opacity 340ms ease, transform 420ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.story-visual-frame-summary {
  display: flex;
  align-items: stretch;
}

.story-visual-frame-brief {
  display: flex;
  align-items: stretch;
  min-height: clamp(20rem, 32vw, 25rem);
  background:
    linear-gradient(145deg, rgba(0, 161, 205, 0.09), rgba(39, 29, 108, 0.07)),
    rgba(255, 255, 255, 0.98);
}

.story-visual-summary {
  min-height: clamp(18rem, 34vw, 26rem);
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.4rem, 2.2vw, 2.6rem);
  border-radius: 22px;
  background:
    linear-gradient(160deg, rgba(0, 161, 205, 0.08), rgba(39, 29, 108, 0.05)),
    rgba(255, 255, 255, 0.98);
  border: 1px solid var(--cbs-cyan-mid);
}

.story-visual-summary-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: var(--story-text-meta);
  font-weight: 700;
  color: var(--cbs-cyan);
}

.story-visual-summary-text {
  margin: 0.9rem 0 0;
  max-width: 38rem;
  color: var(--cbs-indigo);
  font-size: var(--story-text-body);
  line-height: 1.74;
}

.story-brief-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: clamp(1.6rem, 2.5vw, 2.8rem);
  border-radius: 22px;
  border: 1px solid rgba(39, 29, 108, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.92)),
    rgba(255, 255, 255, 0.96);
}

.story-brief-card-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: var(--story-text-meta);
  font-weight: 800;
  color: var(--cbs-cyan);
}

.story-brief-card-title {
  margin: 0;
  font-size: clamp(1.45rem, 1.9vw, 2rem);
  line-height: 1.15;
}

.story-brief-card-text {
  margin: 0;
  max-width: 34rem;
  color: var(--cbs-indigo);
  font-size: var(--story-text-body);
  line-height: 1.72;
}

.story-visual-step-shell {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.cbs-chart-embed,
.cbs-chart-fragment {
  width: 100%;
}

.cbs-chart-embed {
  overflow-x: auto;
  overflow-y: hidden;
}

.cbs-chart-embed .chart-datatable,
.cbs-chart-embed .collapse,
.cbs-chart-embed .button-bar,
.cbs-chart-embed button[aria-expanded],
.cbs-chart-embed a[href*="csv"] {
  display: none !important;
}

.cbs-chart-embed .highchartContainerClass {
  display: block !important;
  width: 100% !important;
}

.cbs-chart-embed .highchartContainerClass > div,
.cbs-chart-embed [id^="highcharts-"] {
  width: 100% !important;
  max-width: 100% !important;
}

.story-text-block {
  position: relative;
  width: min(100%, var(--story-text-measure));
  max-width: none;
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  box-sizing: border-box;
  transition: opacity 340ms ease, transform 420ms ease, filter 420ms ease;
}

.story-text-block::before,
.story-visual-frame::before {
  display: none;
}

.story-text-block > *,
.story-visual-frame > * {
  position: relative;
  z-index: 1;
}

.story-step.is-active .story-text-block {
  box-shadow: none;
}

.story-step.is-active .story-visual-frame {
  border-color: rgba(39, 29, 108, 0.12);
  box-shadow: 0 12px 24px rgba(39, 29, 108, 0.04);
}

.story-text-block-brief {
  border-left-color: var(--cbs-indigo);
}

.story-step-brief .story-step-title {
  max-width: 24rem;
}

.story-step-brief .story-step-summary {
  max-width: 32rem;
}

.story-visual-chip-brief {
  border-color: rgba(39, 29, 108, 0.18);
  background: rgba(39, 29, 108, 0.06);
}

.story-step-title {
  margin: 2rem 0 0.7rem;
  font-size: var(--story-text-heading);
  line-height: 1.15;
}

.story-step-title-visual {
  margin: 0 0 0.8rem;
  max-width: 42rem;
}

.story-step-title sup,
.story-chapter-title sup {
  font-size: 0.55em;
  line-height: 0;
  vertical-align: super;
  font-weight: 700;
}

.story-step-kicker {
  font-size: clamp(0.9rem, 1vw, 1.02rem);
  font-weight: 800;
}

.story-step-summary {
  margin-top: 0;
  width: 100%;
  max-width: none;
  font-size: var(--story-text-body);
  line-height: 1.74;
  color: var(--cbs-indigo-copy);
  text-align: left;
  text-wrap: wrap;
  box-sizing: border-box;
}

.story-step-copy {
  width: min(100%, var(--story-text-measure));
  max-width: none;
  box-sizing: border-box;
}

.story-step-subhead {
  margin: 1.45rem 0 0.65rem;
  width: 100%;
  max-width: none;
  color: var(--cbs-indigo-heading);
  font-size: var(--story-text-heading);
  line-height: 1.15;
  font-weight: 700;
  text-wrap: balance;
  box-sizing: border-box;
}

.story-step-summary + .story-step-summary {
  margin-top: 0.88rem;
}

.story-step-subhead + .story-step-summary {
  margin-top: 0;
}

.story-step-detail {
  margin-top: 0.75rem;
  font-size: 1.04rem;
  color: rgba(39, 29, 108, 0.78);
}

.story-step-meta {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  align-items: center;
}

.story-step-meta-item {
  color: var(--cbs-indigo-text);
  font-size: 1.02rem;
  font-weight: 600;
}

.story-step-link {
  font-size: 1.02rem;
  font-weight: 700;
  text-decoration: none;
}

.story-step-meta-visual {
  margin-top: 0.25rem;
}

.story-visual-caption {
  margin: 0;
  width: min(100%, var(--story-text-measure));
  max-width: none;
  color: var(--cbs-indigo-text);
  font-size: 1.06rem;
  line-height: 1.66;
  text-wrap: wrap;
  box-sizing: border-box;
}

.story-chapter-meta {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  max-width: var(--story-text-measure);
}

.story-chapter-meta-item {
  color: var(--cbs-indigo-text);
  font-size: 1rem;
  font-weight: 600;
}

.story-chapter-link {
  color: var(--cbs-indigo);
  font-size: 1.02rem;
  font-weight: 700;
  text-decoration: none;
}

.story-step-text-only + .story-step-text-only {
  margin-top: 0.18rem;
}

.story-step-narrative + .story-step-visual-only,
.story-step-visual-only + .story-step-narrative {
  margin-top: 1.45rem;
}

.story-step-visual-only + .story-step-visual-only {
  margin-top: 1rem;
}

html.scrolly-enhanced .story-step .story-text-block,
html.scrolly-enhanced .story-step .story-visual-frame,
html.scrolly-enhanced .story-step .story-visual-caption,
html.scrolly-enhanced .story-step .story-visual-topline {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 180ms ease,
    transform 300ms cubic-bezier(0.24, 0.8, 0.24, 1),
    box-shadow 220ms ease,
    border-color 220ms ease;
}

html.scrolly-enhanced .story-step.is-before-focus .story-text-block,
html.scrolly-enhanced .story-step.is-before-focus .story-visual-frame,
html.scrolly-enhanced .story-step.is-before-focus .story-visual-caption,
html.scrolly-enhanced .story-step.is-before-focus .story-visual-topline {
  opacity: 1;
  transform: translateY(calc(var(--story-step-reveal-distance) * 0.4));
}

html.scrolly-enhanced .story-step.is-after-focus:not(.is-active) .story-text-block,
html.scrolly-enhanced .story-step.is-after-focus:not(.is-active) .story-visual-frame,
html.scrolly-enhanced .story-step.is-after-focus:not(.is-active) .story-visual-caption,
html.scrolly-enhanced .story-step.is-after-focus:not(.is-active) .story-visual-topline {
  opacity: 0.94;
  transform: translateY(0);
}

html.scrolly-enhanced .story-step.is-active .story-text-block,
html.scrolly-enhanced .story-step.is-active .story-visual-frame,
html.scrolly-enhanced .story-step.is-active .story-visual-caption,
html.scrolly-enhanced .story-step.is-active .story-visual-topline,
html.scrolly-enhanced .story-step.is-in-focus .story-text-block,
html.scrolly-enhanced .story-step.is-in-focus .story-visual-frame,
html.scrolly-enhanced .story-step.is-in-focus .story-visual-caption,
html.scrolly-enhanced .story-step.is-in-focus .story-visual-topline {
  opacity: 1;
  transform: translateY(0);
}

html.scrolly-enhanced .story-step.is-entering .story-text-block,
html.scrolly-enhanced .story-step.is-entering .story-visual-frame,
html.scrolly-enhanced .story-step.is-entering .story-visual-caption,
html.scrolly-enhanced .story-step.is-entering .story-visual-topline {
  transition-duration: 360ms;
}

@keyframes chapter-jump-fade {
  0% {
    opacity: 0.14;
    transform: translateY(12px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .app-shell {
    width: min(100vw - 20px, 100%);
  }

  .app-shell {
    --story-band-max: 100%;
    --story-band-pad: 0.9rem;
    --story-text-measure: min(100%, 58rem);
    --story-visual-measure: 100%;
    --story-step-reveal-distance: 6px;
  }

  html.scrolly-enhanced .app-shell::after {
    display: none;
  }

  .story-hero {
    border-radius: 22px;
  }

  .story-hero-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
  }

  .story-hero-aside {
    width: 100%;
    justify-self: stretch;
    align-self: start;
  }

  .hero-utility-row {
    align-items: stretch;
  }

  .hero-snapshot-picker {
    width: 100%;
    margin-left: 0;
  }

  .hero-snapshot-strip {
    gap: 0.5rem;
  }

  .hero-snapshot-strip-actions {
    gap: 0.3rem;
  }

  .hero-snapshot-strip-control {
    width: 1.9rem;
    height: 1.9rem;
    font-size: 1.05rem;
  }

  .hero-snapshot-strip-track {
    padding: 0.3rem 0.36rem 0.5rem;
  }

  .hero-snapshot-option {
    padding: 0.5rem 0.74rem;
  }

  .hero-snapshot-option-weekday {
    font-size: 0.76rem;
    margin-right: 0.28rem;
  }

  .hero-snapshot-option-date {
    font-size: 0.9rem;
  }

  .hero-info-wrap {
    align-self: flex-start;
  }

  .hero-dek {
    font-size: var(--story-text-body);
  }

  .story-chapter-transition {
    min-height: 3.5rem;
  }

  .story-chapter-transition-glow,
  .story-chapter-transition-pulse {
    left: 22%;
  }

  .story-step {
    min-height: auto;
  }

  .story-step-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.2rem;
  }

  .story-progress-shell {
    top: 0.35rem;
    padding-inline: 0.9rem;
  }

  .story-progress-nav {
    overflow-x: auto;
    padding-bottom: 1rem;
  }

  .story-progress-nav::-webkit-scrollbar {
    height: 8px;
  }

  .story-progress-nav::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(39, 29, 108, 0.16);
  }

  .story-progress-items::before {
    top: 5.95rem;
  }
}

@media (max-width: 720px) {
  .app-shell {
    width: min(100vw - 14px, 100%);
    padding-top: 0.7rem;
  }

  .app-shell {
    --story-band-pad: 0.55rem;
    --story-step-reveal-distance: 0px;
  }

  .story-hero h1 {
    max-width: 9.1ch;
    font-size: clamp(2.55rem, 11.5vw, 3.95rem);
    line-height: 0.92;
  }

  .story-chapter-title {
    font-size: clamp(1.9rem, 8.25vw, 3.15rem);
    line-height: 0.97;
  }

  .story-step-title,
  .story-step-subhead {
    font-size: clamp(1.34rem, 6.15vw, 1.8rem);
  }

  html.scrolly-enhanced .app-shell::after {
    display: none;
  }

  .story-hero {
    padding: 0.72rem var(--story-band-pad) 0.9rem;
    border-radius: 18px;
  }

  .hero-dek {
    margin-top: 0.38rem;
    font-size: clamp(1rem, 4.45vw, 1.14rem);
    line-height: 1.5;
  }

  .hero-utility-row {
    gap: 0.55rem 0.75rem;
    margin-top: 0.68rem;
  }

  .hero-info-wrap {
    display: block;
    width: 100%;
  }

  .hero-info-button {
    gap: 0.36rem;
    padding: 0.32rem 0.58rem;
    font-size: 0.92rem;
    cursor: pointer;
  }

  .hero-info-badge {
    min-width: 1.36rem;
    height: 1.36rem;
    padding: 0 0.34rem;
    font-size: 0.72rem;
  }

  .hero-info-label {
    font-size: 0.92rem;
  }

  .hero-info-tooltip {
    position: static;
    width: auto;
    max-width: none;
    margin-top: 0.72rem;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: none;
    pointer-events: none;
    padding: 0 1rem;
    border-width: 0;
    box-shadow: none;
    transition:
      opacity 160ms ease,
      max-height 200ms ease,
      padding 160ms ease,
      border-width 160ms ease;
  }

  .hero-info-wrap:hover .hero-info-tooltip,
  .hero-info-wrap:focus-within .hero-info-tooltip {
    opacity: 1;
    max-height: 18rem;
    pointer-events: auto;
    padding: 0.95rem 1rem;
    border-width: 1px;
  }

  .hero-snapshot-picker-label {
    margin-bottom: 0.34rem;
    font-size: 0.8rem;
  }

  .hero-snapshot-strip {
    gap: 0.38rem;
  }

  .hero-snapshot-strip-actions {
    gap: 0.24rem;
  }

  .hero-snapshot-strip-control {
    width: 1.72rem;
    height: 1.72rem;
    font-size: 0.94rem;
  }

  .hero-snapshot-strip-track {
    padding: 0.24rem 0.28rem 0.34rem;
    gap: 0.28rem;
  }

  .hero-snapshot-option {
    padding: 0.4rem 0.62rem;
    border-radius: 14px;
  }

  .hero-snapshot-option-weekday {
    font-size: 0.72rem;
    margin-right: 0.22rem;
  }

  .hero-snapshot-option-date {
    font-size: 0.84rem;
  }

  .story-visual-frame,
  .story-text-block {
    border-radius: 22px;
  }

  .story-step {
    opacity: 1;
    transform: none;
  }

  .story-visual-block,
  .story-text-block {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html.scrolly-enhanced .story-step.is-before-focus .story-text-block,
  html.scrolly-enhanced .story-step.is-before-focus .story-visual-frame,
  html.scrolly-enhanced .story-step.is-before-focus .story-visual-caption,
  html.scrolly-enhanced .story-step.is-before-focus .story-visual-topline,
  html.scrolly-enhanced .story-step.is-after-focus:not(.is-active) .story-text-block,
  html.scrolly-enhanced .story-step.is-after-focus:not(.is-active) .story-visual-frame,
  html.scrolly-enhanced .story-step.is-after-focus:not(.is-active) .story-visual-caption,
  html.scrolly-enhanced .story-step.is-after-focus:not(.is-active) .story-visual-topline,
  html.scrolly-enhanced .story-step.is-entering .story-text-block,
  html.scrolly-enhanced .story-step.is-entering .story-visual-frame,
  html.scrolly-enhanced .story-step.is-entering .story-visual-caption,
  html.scrolly-enhanced .story-step.is-entering .story-visual-topline {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .story-chapter-transition {
    min-height: 2.35rem;
  }

  .story-chapter-transition-glow {
    width: 4rem;
    height: 1.2rem;
    filter: blur(5px);
    opacity: 0.14;
  }

  .story-chapter-transition-pulse {
    width: 0.54rem;
    height: 0.54rem;
    box-shadow:
      0 0 0 4px rgba(0, 161, 205, 0.045),
      0 0 0 9px rgba(0, 161, 205, 0.018),
      0 5px 10px rgba(39, 29, 108, 0.06);
  }

  .story-chapter.is-entering-chapter > .story-chapter-transition .story-chapter-transition-glow {
    opacity: 0.18;
  }

  .story-chapter.is-entering-chapter > .story-chapter-transition .story-chapter-transition-pulse {
    opacity: 0.38;
    box-shadow:
      0 0 0 4px rgba(0, 161, 205, 0.045),
      0 0 0 9px rgba(0, 161, 205, 0.018),
      0 5px 10px rgba(39, 29, 108, 0.06);
  }

  .story-progress-nav {
    padding: 0.12rem 0.04rem 0.92rem;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x proximity;
  }

  .story-progress-items {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 6.65rem;
    width: max-content;
    min-width: max(100%, calc(var(--story-progress-count) * 6.65rem));
    gap: 0.06rem;
    padding-bottom: 0.26rem;
  }

  .story-progress-item {
    grid-template-rows: minmax(4.15rem, auto) 2.12rem;
    width: 6.65rem;
    min-width: 6.65rem;
    gap: 0.34rem;
    scroll-snap-align: start;
  }

  .story-progress-copy {
    gap: 0.08rem;
  }

  .story-progress-label {
    display: block;
    width: 6.25rem;
    max-width: none;
    min-height: calc(1.08em * 3);
    font-size: 0.76rem;
    line-height: 1.08;
    padding-inline: 0.04rem;
    overflow: visible;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
    -webkit-box-orient: initial;
    -webkit-line-clamp: initial;
  }

  .story-progress-date {
    font-size: 0.68rem;
    line-height: 1;
  }

  .story-progress-node-wrap {
    width: 1.72rem;
    height: 1.72rem;
    margin-bottom: 0;
  }

  .story-progress-item.is-current .story-progress-node {
    transform: scale(1.07);
    box-shadow:
      0 0 0 6px rgba(0, 161, 205, 0.06),
      0 0 0 11px rgba(0, 161, 205, 0.022),
      0 6px 12px rgba(39, 29, 108, 0.07);
  }

  .story-progress-items::before {
    left: 0.82rem;
    right: 0.82rem;
    top: 4.18rem;
  }

  .story-chapter-header {
    margin-bottom: 1.45rem;
  }

  .story-chapter-kicker {
    font-size: 0.84rem;
    letter-spacing: 0.1em;
  }

  .story-chapter-summary-label {
    margin-top: 0.82rem;
    font-size: 0.8rem;
  }

  .story-chapter-dek {
    margin-top: 0.34rem;
    font-size: clamp(0.98rem, 4.35vw, 1.08rem);
    line-height: 1.56;
  }

  .story-chapter-meta {
    font-size: 0.74rem;
    line-height: 1.1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-chapter-transition-pulse,
  .story-chapter-transition-glow {
    animation: none !important;
  }

  html.scrolly-enhanced .story-step .story-text-block,
  html.scrolly-enhanced .story-step .story-visual-frame,
  html.scrolly-enhanced .story-step .story-visual-caption,
  html.scrolly-enhanced .story-step .story-visual-topline {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  html.scrolly-enhanced .app-shell::after {
    display: none !important;
  }
}
