:root {
  --story-ink: #14233b;
  --story-muted: #667085;
  --story-orange: #d76522;
  --story-paper: #fffaf2;
  --story-surface: rgba(255,255,255,.88);
  --story-line: rgba(20,35,59,.13);
  --story-sage: #dfeee6;
  --story-navy: #243246;
}

.story-page {
  background:
    radial-gradient(circle at 7% 15%, rgba(247,183,125,.22), transparent 30rem),
    radial-gradient(circle at 94% 43%, rgba(201,223,212,.34), transparent 34rem),
    linear-gradient(180deg, #fffaf3 0%, #f8fbfa 53%, #f4f7fb 100%);
  color: var(--story-ink);
}

.story-main {
  width: min(100% - 2rem, 72rem);
  margin: 0 auto;
  padding: 1rem 0 5rem;
}

.story-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  margin: .5rem 0 clamp(2rem, 4vw, 3.25rem);
  font-size: .82rem;
  color: var(--story-muted);
}

.story-breadcrumbs a { color: inherit; }

.story-hero {
  max-width: 54rem;
  margin-bottom: 1.9rem;
}

.story-kicker,
.story-beat-label,
.story-caption-label {
  margin: 0 0 .8rem;
  color: var(--story-orange);
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.story-hero h1 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(2.9rem, 5.4vw, 4.5rem);
  line-height: .98;
  letter-spacing: -.05em;
  text-wrap: balance;
}

.story-standfirst {
  max-width: 40rem;
  margin: 1.1rem 0 0;
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  line-height: 1.62;
  letter-spacing: -.01em;
}

.story-opening {
  max-width: 44rem;
  margin: 0 0 4.5rem auto;
  padding: 1.15rem 1.3rem;
  border-left: 3px solid var(--story-orange);
  background: rgba(255,255,255,.45);
  font-size: 1rem;
  line-height: 1.7;
}

.story-opening p { margin: 0 0 .9rem; }
.story-opening p:last-child { margin-bottom: 0; }

.story-beat {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 4.25rem);
  align-items: center;
  margin: 0 0 5.5rem;
}

.story-beat--reverse .story-copy { order: 2; }
.story-beat--reverse .story-figure { order: 1; }

.story-copy {
  position: relative;
}

.story-copy h2 {
  max-width: 17ch;
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.03;
  letter-spacing: -.043em;
  text-wrap: balance;
}

.story-copy p {
  max-width: 36rem;
  margin: 0 0 .9rem;
  color: #334155;
  font-size: 1rem;
  line-height: 1.68;
}

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

.story-pull {
  max-width: 33rem !important;
  margin: 1.55rem 0 0 !important;
  padding: 1.05rem 0 0;
  border-top: 1px solid var(--story-line);
  color: var(--story-ink) !important;
  font-size: clamp(1.3rem, 1.8vw, 1.6rem) !important;
  font-weight: 790;
  line-height: 1.28 !important;
  letter-spacing: -.025em;
}

.story-figure { margin: 0; }

.story-scene-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  border: 1px solid rgba(20,35,59,.07);
  border-radius: 1.5rem;
  box-shadow: 0 24px 58px rgba(40,54,72,.11);
  background: #fff;
}

.story-scene-shell svg {
  display: block;
  width: 100%;
  height: 100%;
}

.story-figure figcaption {
  max-width: 34rem;
  margin: .7rem .2rem 0;
  color: var(--story-muted);
  font-size: .8rem;
  line-height: 1.5;
}

article > .story-beat:nth-of-type(3) {
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  align-items: end;
  margin-top: 1.25rem;
}

article > .story-beat:nth-of-type(3) .story-scene-shell {
  aspect-ratio: 16 / 10;
}

article > .story-beat:nth-of-type(5) {
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  align-items: start;
}

article > .story-beat:nth-of-type(5) .story-copy {
  padding-top: .8rem;
}

article > .story-beat:nth-of-type(6) {
  grid-template-columns: 1fr;
  gap: 1.8rem;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}

article > .story-beat:nth-of-type(6) .story-copy,
article > .story-beat:nth-of-type(6) .story-figure {
  order: initial;
}

article > .story-beat:nth-of-type(6) .story-copy {
  max-width: 44rem;
}

article > .story-beat:nth-of-type(6) .story-copy h2,
article > .story-beat:nth-of-type(6) .story-copy p,
article > .story-beat:nth-of-type(6) .story-pull {
  max-width: 42rem !important;
}

article > .story-beat:nth-of-type(6) .story-scene-shell {
  aspect-ratio: 16 / 7;
  border-radius: 1.75rem;
}

.story-break {
  max-width: 64rem;
  margin: 0 auto 5.5rem;
  padding: clamp(2rem, 4.5vw, 3.2rem);
  border-radius: 1.75rem;
  background: var(--story-navy);
  color: #fffaf2;
  box-shadow: 0 28px 68px rgba(36,50,70,.16);
}

.story-break p {
  max-width: 46rem;
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  line-height: 1.06;
  letter-spacing: -.04em;
  font-weight: 780;
}

.story-break small {
  display: block;
  max-width: 36rem;
  margin-top: 1.1rem;
  color: #d9e1eb;
  font-size: .96rem;
  line-height: 1.6;
}

.story-final {
  display: block;
  max-width: 64rem;
  margin: .8rem auto 2.25rem;
}

.story-final-copy {
  max-width: 44rem;
  padding: 0 0 2rem;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.story-final-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.35rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -.05em;
}

.story-final-copy p {
  max-width: 40rem;
  margin: 0;
  color: #475569;
  font-size: 1rem;
  line-height: 1.68;
}

.story-reset-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  min-height: 0;
  padding: clamp(1.8rem, 3.5vw, 2.6rem);
  border-radius: 1.6rem;
  background: var(--story-navy);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 24px 58px rgba(36,50,70,.15);
  transition: transform .18s ease, box-shadow .18s ease;
}

.story-reset-card:hover,
.story-reset-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 30px 66px rgba(36,50,70,.19);
}

.story-reset-card span {
  color: #ffb271;
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.story-reset-card strong {
  display: block;
  max-width: 35rem;
  margin-top: .7rem;
  font-size: clamp(1.8rem, 2.8vw, 2.35rem);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.story-reset-card p {
  max-width: 35rem;
  margin: .9rem 0 0;
  color: #dbe3ed;
  font-size: .96rem;
  line-height: 1.6;
}

.story-reset-card b {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0;
  white-space: nowrap;
  font-size: .92rem;
}

article > .story-figure {
  max-width: 64rem !important;
  margin: 0 auto 2.25rem !important;
}

article > .story-figure .story-scene-shell {
  border-radius: 1.75rem;
}

.story-endnote {
  max-width: 40rem;
  margin: 0 auto 4rem;
  text-align: center;
  color: var(--story-muted);
  font-size: .88rem;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .story-main { width: min(100% - 2rem, 52rem); }
  .story-opening { margin-left: 0; }
  .story-beat,
  .story-beat--reverse,
  article > .story-beat:nth-of-type(3),
  article > .story-beat:nth-of-type(5),
  article > .story-beat:nth-of-type(6) {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .story-beat { margin-bottom: 4.75rem; }
  .story-beat--reverse .story-copy,
  .story-beat--reverse .story-figure { order: initial; }
  article > .story-beat:nth-of-type(2) .story-figure,
  article > .story-beat:nth-of-type(4) .story-figure { order: 2; }
  article > .story-beat:nth-of-type(2) .story-copy,
  article > .story-beat:nth-of-type(4) .story-copy { order: 1; }
  .story-scene-shell,
  article > .story-beat:nth-of-type(3) .story-scene-shell,
  article > .story-beat:nth-of-type(5) .story-scene-shell { aspect-ratio: 16 / 10; }
  article > .story-beat:nth-of-type(6) .story-scene-shell { aspect-ratio: 16 / 8; }
  .story-reset-card { grid-template-columns: 1fr; align-items: start; }
  .story-reset-card b { margin-top: .45rem; }
}

@media (max-width: 620px) {
  .story-main { width: min(100% - 1.5rem, 36rem); padding-top: .8rem; }
  .story-breadcrumbs { margin-bottom: 2rem; font-size: .76rem; }
  .story-hero { margin-bottom: 1.6rem; }
  .story-hero h1 { font-size: clamp(2.45rem, 11.5vw, 3.35rem); }
  .story-standfirst { margin-top: 1rem; font-size: 1rem; }
  .story-opening { margin-bottom: 3.5rem; padding: 1rem .95rem; font-size: .97rem; }
  .story-beat { margin-bottom: 4rem; gap: 1.25rem; }
  .story-copy h2 { font-size: 2rem; }
  .story-copy p { font-size: .97rem; line-height: 1.65; }
  .story-pull { font-size: 1.3rem !important; }
  .story-scene-shell,
  article > .story-beat:nth-of-type(3) .story-scene-shell,
  article > .story-beat:nth-of-type(5) .story-scene-shell,
  article > .story-beat:nth-of-type(6) .story-scene-shell { aspect-ratio: 4 / 3; border-radius: 1.2rem; }
  .story-break { margin-bottom: 4rem; padding: 1.75rem 1.4rem; border-radius: 1.35rem; }
  .story-break p { font-size: 1.95rem; }
  .story-break small { font-size: .92rem; }
  .story-final-copy { padding-bottom: 1.6rem; }
  .story-final-copy h2 { font-size: 2.4rem; }
  .story-final-copy p { font-size: .97rem; }
  .story-reset-card { padding: 1.6rem 1.35rem; border-radius: 1.35rem; }
  .story-reset-card strong { font-size: 1.9rem; }
  article > .story-figure .story-scene-shell { border-radius: 1.2rem; }
}
