/* ZiFPIM — Our Story v19
   Gold Corridor as panel one + responsive horizontal editorial journey.
   Scoped to .story-page. CMS selectors/data flow remain unchanged. */

/* Our Story owns the viewport while the horizontal journey is active.
   Stop native browser overscroll/rubber-banding at both page boundaries. */
html,
body {
  overscroll-behavior: none;
}

body {
  overflow-x: hidden;
}


.story-page {
  --story-rule: rgba(38, 37, 37, .14);
  --story-rule-strong: rgba(38, 37, 37, .25);
  --story-muted: rgba(38, 37, 37, .56);
  --story-soft: rgba(38, 37, 37, .055);
  --story-paper: var(--paper, #f4f0e7);
  --story-thread-y: clamp(62px, 8.5vh, 86px);
  --story-panel-x: clamp(34px, 5vw, 82px);
  --story-panel-top: clamp(28px, 4.5vh, 58px);
  overflow-x: clip;
  background: var(--story-paper);
}

/* Desktop horizontal journey starts exactly at the sticky stage position.
   This removes the small vertical pre-roll/jump when returning to panel one. */
@media (min-width: 900px) and (pointer: fine) {
  .story-page {
    padding-top: 66px;
  }
}

/* --------------------------------------------------------------------------
   OPENING — GOLD CORRIDOR
   -------------------------------------------------------------------------- */

.story-page .story-open-hero {
  width: 100vw;
  min-height: 0;
  margin: 0;
  padding: 1cm max(4vw, calc((100vw - 1440px)/2)) clamp(30px, 4.5vh, 58px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: transparent;
  color: var(--charcoal);
  isolation: isolate;
}

.story-page .story-open-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(38,37,37,.055) 1px, transparent 1px)
    0 38px / 100% calc(100% - 38px) no-repeat;
  opacity: .35;
  pointer-events: none;
}

.story-page .story-open-hero__meta {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: rgba(38,37,37,.46);
  font-size: .62rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.story-page .story-open-hero__meta span:first-child {
  color: var(--charcoal);
}

.story-page .story-open-hero__composition {
  position: relative;
  z-index: 2;
  margin: clamp(34px, 6.2vh, 78px) 0 clamp(30px, 5vh, 62px);
}

.story-page .story-open-hero .story-poster__title {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  display: block;
  font-family: "Manrope", sans-serif;
  text-transform: uppercase;
}

.story-page .story-open-hero .story-poster__line {
  display: block;
  margin: 0;
}

.story-page .story-open-hero .story-poster__line--top {
  position: relative;
  z-index: 3;
  margin: 0 0 .28em .02em;
  color: var(--charcoal);
  font-size: clamp(1.9rem, min(4.2vw, 5.8vh), 4.7rem);
  line-height: .88;
  letter-spacing: -.065em;
  font-weight: 650;
}

.story-page .story-open-hero .story-poster__line--accent {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: calc(100% + clamp(56px, 8vw, 132px));
  min-height: clamp(98px, min(16vw, 21vh), 205px);
  margin-left: calc(clamp(28px, 4vw, 66px) * -1);
  padding: 0 clamp(28px, 4vw, 66px);
  overflow: hidden;
  background: var(--gold);
  color: var(--charcoal);
  font-size: clamp(5.2rem, min(14.2vw, 19vh), 14.6rem);
  line-height: .71;
  letter-spacing: -.094em;
  font-weight: 800;
  white-space: nowrap;
  transform-origin: left center;
  animation: storyCorridorIn .78s cubic-bezier(.18,.76,.22,1) both;
}

.story-page .story-open-hero .story-poster__line--accent::after {
  content: "";
  position: absolute;
  right: 7.5%;
  top: 0;
  width: clamp(8px, .78vw, 13px);
  height: 100%;
  background: var(--blue);
  transform: skewX(-9deg);
  opacity: .95;
}

.story-page .story-open-hero .story-poster__line--sub {
  position: relative;
  z-index: 3;
  max-width: 15ch;
  margin: .33em 0 0 auto;
  color: var(--blue);
  font-size: clamp(2rem, min(4.9vw, 6.5vh), 5.9rem);
  line-height: .9;
  letter-spacing: -.068em;
  font-weight: 650;
  text-align: right;
  text-wrap: balance;
}

.story-page .story-open-hero .story-poster__title--single {
  max-width: 13ch;
  color: var(--charcoal);
  font-size: clamp(4rem, 8.8vw, 9.7rem);
  line-height: .86;
  letter-spacing: -.075em;
  font-weight: 760;
}

.story-page .story-open-hero__stamp {
  position: absolute;
  z-index: 4;
  left: 0;
  bottom: clamp(8px, 1vw, 16px);
  display: grid;
  gap: 5px;
  padding-left: 18px;
  border-left: 3px solid var(--gold);
  color: var(--blue);
  font-size: .6rem;
  line-height: 1.15;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.story-page .story-open-hero__stamp strong {
  color: var(--charcoal);
  font-weight: 800;
}

.story-page .story-open-hero__footer {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(38,37,37,.15);
  color: rgba(38,37,37,.45);
  font-size: .56rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

@keyframes storyCorridorIn {
  from {
    clip-path: inset(0 100% 0 0);
    transform: translateX(-1.4%);
  }
  to {
    clip-path: inset(0 0 0 0);
    transform: translateX(0);
  }
}


/* On desktop the sticky canvas is anchored at the collapsed header height.
   The hero keeps ~1cm breathing room below the expanded 92px header without
   adding a vertical pre-roll before horizontal movement begins. */
@media (min-width: 900px) and (pointer: fine) {
  .story-page .story-open-hero {
    padding-top: calc(1cm + 26px);
  }
}


/* --------------------------------------------------------------------------
   STORY JOURNEY — VERTICAL SCROLL / HORIZONTAL EDITORIAL CANVAS
   -------------------------------------------------------------------------- */

.story-page .story-journey {
  position: relative;
  width: 100%;
  background: var(--story-paper);
}

.story-page .story-journey__stage {
  position: sticky;
  top: 66px;
  height: calc(100dvh - 66px);
  min-height: 0;
  overflow: hidden;
  background: var(--story-paper);
  isolation: isolate;
}

.story-page .story-journey__track {
  position: absolute;
  inset: 0 auto 0 0;
  display: flex;
  align-items: stretch;
  width: max-content;
  height: 100%;
  will-change: transform;
  transform: translate3d(0,0,0);
}

/* The gold thread is drawn inside each chapter at the same protected
   vertical position. The segments meet edge-to-edge, so it reads as one
   continuous line without ever passing through copy. */
.story-page .story-journey__track::after {
  display: none;
}

/* Interaction only — keep the simple v17 visual design while retaining
   v18 mouse-drag scrolling. */
.story-page .story-journey.is-horizontal .story-journey__stage {
  cursor: grab;
}

.story-page .story-journey.is-horizontal .story-journey__stage a,
.story-page .story-journey.is-horizontal .story-journey__stage button,
.story-page .story-journey.is-horizontal .story-journey__stage input,
.story-page .story-journey.is-horizontal .story-journey__stage textarea,
.story-page .story-journey.is-horizontal .story-journey__stage select {
  cursor: pointer;
}

.story-page .story-journey.is-dragging .story-journey__stage {
  cursor: grabbing;
}

.story-page .story-journey.is-dragging,
.story-page .story-journey.is-dragging * {
  user-select: none !important;
}

.story-page .story-panel {
  position: relative;
  flex: 0 0 100vw;
  width: 100vw;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
  padding: var(--story-panel-top) var(--story-panel-x) calc(var(--story-thread-y) + 34px);
  border-right: 1px solid rgba(38,37,37,.13);
  background: var(--story-paper);
  color: var(--charcoal);
  isolation: isolate;
}

/* Continuous thread, but in a dedicated empty lane beneath every chapter. */
.story-page .story-panel:not(.story-panel--hero)::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: var(--story-thread-y);
  height: 2px;
  background: var(--gold);
  pointer-events: none;
}

.story-page .story-panel--hero {
  width: 100vw;
  flex-basis: 100vw;
  padding-bottom: clamp(30px, 4.5vh, 58px);
}

.story-page .story-panel__meta {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: baseline;
  gap: 13px;
  color: rgba(38,37,37,.52);
  font-size: .62rem;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.story-page .story-panel__meta span {
  color: var(--gold);
  font-weight: 800;
}

.story-page .story-panel__meta strong {
  font-weight: 800;
}

.story-page .story-panel__meta > i {
  display: block;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--gold);
}

.story-page .story-panel__meta--light {
  color: rgba(255,255,255,.58);
}

.story-page .story-panel__meta--light span {
  color: var(--gold);
}

.story-page .story-panel__back {
  position: absolute;
  z-index: 15;
  left: var(--story-panel-x);
  bottom: clamp(22px, 3.2vh, 32px);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(38,37,37,.55);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.story-page .story-panel__back b {
  color: var(--gold);
  font-size: 1rem;
  transition: transform .24s ease;
}

.story-page .story-panel__back:hover b {
  transform: translate(-3px,-3px);
}

/* 01 — origin */
.story-page .story-panel--origin {
  display: grid;
  grid-template-columns: minmax(220px,.72fr) minmax(0,1.28fr);
  grid-template-rows: 1fr;
  column-gap: clamp(36px, 7vw, 118px);
  align-items: center;
}

.story-page .story-origin__year-wrap {
  align-self: center;
  display: grid;
  gap: 15px;
}

.story-page .story-origin__year-wrap > span {
  color: var(--blue);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.story-page .story-origin__year {
  margin-left: -.08em;
  color: var(--charcoal);
  font-size: clamp(6rem, min(14vw, 20vh), 13.5rem);
  line-height: .7;
  letter-spacing: -.095em;
  font-weight: 760;
}

.story-page .story-origin__copy {
  align-self: center;
  max-width: 880px;
  padding-bottom: 0;
}

.story-page .story-origin__lead {
  max-width: 22ch;
  margin: 0;
  color: var(--charcoal);
  font-size: clamp(1.55rem, min(3vw, 4.7vh), 3.55rem);
  line-height: 1.12;
  letter-spacing: -.05em;
  font-weight: 540;
  text-wrap: balance;
}

.story-page .story-origin__purpose {
  display: grid;
  grid-template-columns: minmax(90px,.28fr) minmax(0,.72fr);
  gap: 28px;
  max-width: 720px;
  margin-top: clamp(22px, 4vh, 46px);
  padding-top: 22px;
  border-top: 1px solid rgba(38,37,37,.18);
}

.story-page .story-origin__purpose span {
  color: var(--blue);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.story-page .story-origin__purpose strong {
  color: var(--charcoal);
  font-size: clamp(1.1rem, 1.5vw, 1.55rem);
  line-height: 1.25;
  letter-spacing: -.025em;
  font-weight: 650;
}

/* 02 — the financing gap: typography and whitespace, no illustrative shapes */
.story-page .story-panel--need {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-left: max(var(--story-panel-x), 5vw);
  padding-right: max(var(--story-panel-x), 5vw);
}

.story-page .story-panel--need .story-panel__columns {
  width: min(88vw, 1120px);
  margin: 0 auto;
}

.story-page .story-panel__columns {
  align-self: center;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(28px, 4vw, 62px);
  width: min(88vw, 1120px);
  max-width: 1120px;
}

.story-page .story-panel__columns p {
  margin: 0;
  color: #454442;
  font-size: clamp(.86rem, min(1.02vw, 1.85vh), 1.06rem);
  line-height: 1.68;
  letter-spacing: -.008em;
  text-wrap: pretty;
}

.story-page .story-panel__columns p:first-child {
  padding-right: clamp(18px, 2vw, 34px);
  border-right: 1px solid rgba(38,37,37,.15);
}

/* v20 — centered single-column reading chapters.
   Keep the CMS paragraphs separate, but present each chapter as one
   calm, centered reading column rather than a two-column spread. */
.story-page .story-panel--need .story-panel__columns,
.story-page .story-panel--evidence .story-panel__columns {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: min(54vw, 620px);
  max-width: 620px;
  margin: 0 auto;
  gap: clamp(16px, 2.2vh, 26px);
  text-align: center;
}

.story-page .story-panel--need .story-panel__columns p,
.story-page .story-panel--evidence .story-panel__columns p {
  width: 100%;
  max-width: 54ch;
  margin: 0 auto;
  padding: 0;
  border: 0;
}

.story-page .story-panel--need .story-panel__columns p:first-child,
.story-page .story-panel--evidence .story-panel__columns p:first-child {
  padding-right: 0;
  border-right: 0;
}

/* 03 — quote / dark interruption */
.story-page .story-panel--quote {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--charcoal);
  color: #fff;
}

.story-page .story-panel--quote::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.038) 1px, transparent 1px) 0 0 / 11vw 100%,
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px) 0 0 / 100% 18vh;
  opacity: .65;
}

.story-page .story-quote__mark {
  position: absolute;
  left: clamp(38px, 4vw, 68px);
  top: 13%;
  color: var(--gold);
  font-size: clamp(8rem, min(16vw, 23vh), 18rem);
  line-height: .6;
  font-weight: 500;
  opacity: .95;
}

.story-page .story-quote {
  position: relative;
  z-index: 3;
  max-width: min(15ch, 78vw);
  margin: auto 0 auto clamp(58px, 8vw, 126px);
  border: 0;
  color: #fff;
  font-size: clamp(2.25rem, min(5.1vw, 7.2vh), 6.2rem);
  line-height: .96;
  letter-spacing: -.06em;
  font-weight: 620;
  text-wrap: balance;
}


/* 04 — evidence: a clear editorial spread, without abstract diagrams */
.story-page .story-panel--evidence {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1eee6;
  padding-left: max(var(--story-panel-x), 5vw);
  padding-right: max(var(--story-panel-x), 5vw);
}

.story-page .story-panel__columns--evidence {
  width: min(88vw, 1120px);
  max-width: 1120px;
  margin: 0 auto;
}

/* 05 — response: the conclusion carries the panel on its own */
.story-page .story-panel--response {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ece8dd;
  padding-left: max(var(--story-panel-x), 7vw);
  padding-right: max(var(--story-panel-x), 7vw);
}

.story-page .story-response__body {
  align-self: center;
  width: min(78vw, 980px);
  max-width: 900px;
  padding: clamp(32px, 4vw, 56px) 0;
}

.story-page .story-response__body p {
  margin: 0;
  color: var(--charcoal);
  font-size: clamp(1.8rem, min(3.25vw, 5.1vh), 3.9rem);
  line-height: 1.16;
  letter-spacing: -.046em;
  font-weight: 560;
  text-wrap: balance;
}

/* 06 — chapter handoff */
.story-page .story-panel--next {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-left: max(var(--story-panel-x), 7vw);
  padding-right: max(var(--story-panel-x), 7vw);
  background: var(--blue);
  color: #fff;
  border-right: 0;
}

.story-page .story-panel--next::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: -6vw;
  bottom: -33%;
  width: min(52vw, 760px);
  aspect-ratio: 1;
  background: url('/assets/logo/ZiFPIM_Icon_White.svg') center / contain no-repeat;
  opacity: .035;
  transform: rotate(-7deg);
}

.story-page .story-next-link {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 22px;
  width: min(84vw, 1180px);
  margin: auto 0;
  padding: 0 0 30px;
  border-bottom: 1px solid rgba(255,255,255,.34);
}

.story-page .story-next-link > span {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: rgba(255,255,255,.62);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.story-page .story-next-link strong {
  color: #fff;
  font-size: clamp(4.2rem, min(9.5vw, 13vh), 11rem);
  line-height: .76;
  letter-spacing: -.085em;
  font-weight: 690;
  transition: color .24s ease;
}

.story-page .story-next-link b {
  display: grid;
  place-items: center;
  width: clamp(56px, 5.5vw, 78px);
  height: clamp(56px, 5.5vw, 78px);
  margin-bottom: 8px;
  border: 1px solid rgba(255,255,255,.46);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.35rem;
  transition: .24s ease;
}

.story-page .story-next-link:hover strong {
  color: var(--gold);
}

.story-page .story-next-link:hover b {
  transform: translate(4px,-4px);
  background: var(--gold);
  color: var(--charcoal);
}

.story-page .story-next-tagline {
  position: relative;
  z-index: 2;
  align-self: flex-end;
  color: rgba(255,255,255,.55);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

/* Tiny cue: editorial, not instructional UI. */
.story-page .story-journey__cue {
  position: absolute;
  z-index: 40;
  right: 28px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(38,37,37,.52);
  font-size: .53rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  mix-blend-mode: multiply;
  pointer-events: none;
  transition: opacity .25s ease;
}

.story-page .story-journey__cue i {
  width: 34px;
  height: 1px;
  background: currentColor;
}

.story-page .story-journey__cue b {
  color: var(--gold);
  font-size: .9rem;
}

.story-page .story-journey.is-complete .story-journey__cue {
  opacity: 0;
}

.story-page .story-journey.is-dark-chapter .story-journey__cue {
  color: rgba(255,255,255,.62);
  mix-blend-mode: normal;
}

/* --------------------------------------------------------------------------
   STATIC FALLBACK — TOUCH DEVICES, SMALL SCREENS, REDUCED MOTION
   -------------------------------------------------------------------------- */

@media (max-width: 899px), (pointer: coarse) {
  .story-page .story-journey {
    height: auto !important;
  }

  .story-page .story-journey__stage {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .story-page .story-journey__track {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    height: auto;
    transform: none !important;
  }

  .story-page .story-journey__track::after,
  .story-page .story-panel::after,
  .story-page .story-journey__cue {
    display: none;
  }

  .story-page .story-panel {
    width: 100% !important;
    height: auto;
    min-height: auto;
    padding: clamp(58px, 9vw, 86px) max(4vw, calc((100vw - 1440px)/2));
    border-right: 0;
    border-bottom: 1px solid rgba(38,37,37,.13);
    overflow: visible;
  }

  .story-page .story-panel--hero,
  .story-page .story-panel--origin,
  .story-page .story-panel--need,
  .story-page .story-panel--evidence,
  .story-page .story-panel--response {
    display: block;
  }

  .story-page .story-origin__year-wrap,
  .story-page .story-origin__copy,
  .story-page .story-response__body {
    margin-top: clamp(48px, 8vw, 74px);
  }

  .story-page .story-origin__year {
    font-size: clamp(6.2rem, 21vw, 11rem);
  }

  .story-page .story-origin__lead {
    max-width: 26ch;
  }

  .story-page .story-origin__purpose {
    max-width: 700px;
  }

  .story-page .story-panel__back {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 50px;
  }


  .story-page .story-panel__columns {
    margin-top: 46px;
  }

  .story-page .story-panel--quote {
    min-height: 72vh;
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .story-page .story-quote {
    margin: auto 0;
    max-width: 15ch;
  }

  .story-page .story-quote__mark {
    left: max(4vw, calc((100vw - 1440px)/2));
  }

  .story-page .story-response__body {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 680px;
  }

  .story-page .story-panel--next {
    min-height: 74vh;
  }

  .story-page .story-next-link {
    width: 100%;
    margin: clamp(80px, 14vw, 130px) 0;
  }

  .story-page .story-next-link strong {
    font-size: clamp(4rem, 15vw, 8rem);
  }
}

@media (max-width: 700px) {
  .story-page .story-open-hero {
    min-height: auto;
    padding-top: var(--zifpim-page-opening-top, calc(76px + 1cm));
    padding-bottom: 50px;
  }

  .story-page .story-open-hero__meta {
    align-items: flex-start;
    font-size: .53rem;
    letter-spacing: .12em;
  }

  .story-page .story-open-hero__meta span:last-child {
    max-width: 16ch;
    text-align: right;
    line-height: 1.45;
  }

  .story-page .story-open-hero__composition {
    margin: 66px 0 58px;
  }

  .story-page .story-open-hero .story-poster__line--top {
    font-size: clamp(2rem, 10vw, 3.4rem);
  }

  .story-page .story-open-hero .story-poster__line--accent {
    width: calc(100% + 40px);
    min-height: clamp(94px, 30vw, 142px);
    margin-left: -20px;
    padding: 0 20px;
    font-size: clamp(4.55rem, 21vw, 7rem);
    letter-spacing: -.09em;
  }

  .story-page .story-open-hero .story-poster__line--accent::after {
    right: 6%;
    width: 7px;
  }

  .story-page .story-open-hero .story-poster__line--sub {
    max-width: 14ch;
    margin-top: .42em;
    font-size: clamp(2.05rem, 10.6vw, 3.8rem);
    line-height: .92;
  }

  .story-page .story-open-hero__stamp {
    position: relative;
    left: auto;
    bottom: auto;
    width: max-content;
    max-width: 100%;
    margin-top: 52px;
  }

  .story-page .story-open-hero__footer {
    margin-top: 42px;
    font-size: .49rem;
    letter-spacing: .12em;
  }

  .story-page .story-open-hero__footer span:last-child {
    text-align: right;
  }

  .story-page .story-panel {
    padding-left: 20px;
    padding-right: 20px;
  }

  .story-page .story-origin__lead {
    font-size: clamp(1.72rem, 8.6vw, 2.65rem);
  }

  .story-page .story-origin__purpose {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .story-page .story-panel__columns {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .story-page .story-panel__columns p:first-child {
    padding-right: 0;
    padding-bottom: 28px;
    border-right: 0;
    border-bottom: 1px solid rgba(38,37,37,.15);
  }

  .story-page .story-panel--quote {
    min-height: 74vh;
  }

  .story-page .story-quote__mark {
    left: 20px;
    top: 18%;
    font-size: 9rem;
  }

  .story-page .story-quote {
    margin-left: 44px;
    font-size: clamp(2.45rem, 11.5vw, 4.2rem);
  }

  .story-page .story-response__body p {
    font-size: clamp(1.65rem, 8.6vw, 2.8rem);
  }

  .story-page .story-next-link {
    grid-template-columns: 1fr auto;
  }

  .story-page .story-next-link strong {
    font-size: clamp(3.7rem, 17vw, 6rem);
  }
}

@media (min-width: 900px) and (pointer: fine) {
  .story-page .story-panel--need .story-panel__columns,
  .story-page .story-panel--evidence .story-panel__columns {
    width: min(52vw, 620px);
  }
}

/* Short laptop screens (including older MacBook Pros): keep every chapter readable. */
@media (min-width: 900px) and (max-height: 760px) and (pointer: fine) {
  .story-page {
    --story-thread-y: 58px;
    --story-panel-top: 22px;
    --story-panel-x: clamp(28px, 4vw, 54px);
  }

  .story-page .story-panel:not(.story-panel--hero) {
    padding-bottom: calc(var(--story-thread-y) + 24px);
  }

  .story-page .story-panel--hero {
    padding-top: calc(1cm + 26px);
    padding-bottom: 24px;
  }

  .story-page .story-origin__year {
    font-size: clamp(5.4rem, min(12vw, 18vh), 10rem);
  }

  .story-page .story-origin__lead {
    font-size: clamp(1.35rem, min(2.5vw, 4.2vh), 2.55rem);
  }

  .story-page .story-panel__columns p {
    font-size: clamp(.78rem, 1.05vw, .9rem);
    line-height: 1.55;
  }

  .story-page .story-quote {
    font-size: clamp(2rem, min(4.25vw, 6.5vh), 4.3rem);
  }

  .story-page .story-response__body p {
    font-size: clamp(1.35rem, min(2.2vw, 4.2vh), 2.35rem);
  }

  .story-page .story-next-link strong {
    font-size: clamp(3.8rem, min(7.5vw, 11vh), 7rem);
  }
}

/* Compact laptops: protect readable text areas without changing the journey. */
@media (min-width: 900px) and (max-width: 1180px) and (pointer: fine) {
  .story-page {
    --story-panel-x: clamp(28px, 4vw, 48px);
  }

  .story-page .story-panel--origin {
    grid-template-columns: minmax(190px,.62fr) minmax(0,1.38fr);
    column-gap: clamp(28px, 4vw, 52px);
  }

  .story-page .story-panel__columns,
  .story-page .story-panel--need .story-panel__columns,
  .story-page .story-panel__columns--evidence {
    width: min(91vw, 1040px);
    gap: clamp(22px, 3vw, 38px);
  }
}

@media (min-width: 900px) and (max-height: 640px) and (pointer: fine) {
  .story-page {
    --story-thread-y: 50px;
    --story-panel-top: 18px;
  }

  .story-page .story-panel:not(.story-panel--hero) {
    padding-bottom: 72px;
  }

  .story-page .story-open-hero__composition {
    margin-top: 26px;
    margin-bottom: 24px;
  }

  .story-page .story-open-hero .story-poster__line--top {
    font-size: clamp(1.6rem, min(3.8vw, 5.2vh), 3.4rem);
  }

  .story-page .story-open-hero .story-poster__line--accent {
    min-height: clamp(82px, min(14vw, 18vh), 142px);
    font-size: clamp(4.5rem, min(12.6vw, 16.5vh), 10rem);
  }

  .story-page .story-open-hero .story-poster__line--sub {
    font-size: clamp(1.7rem, min(4.2vw, 5.5vh), 3.7rem);
  }

  .story-page .story-origin__purpose {
    margin-top: 18px;
    padding-top: 16px;
  }

  .story-page .story-panel__columns p {
    font-size: clamp(.75rem, .95vw, .84rem);
    line-height: 1.48;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-page .story-open-hero .story-poster__line--accent {
    animation: none;
  }

  .story-page .story-journey {
    height: auto !important;
  }

  .story-page .story-journey__stage {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .story-page .story-journey__track {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    transform: none !important;
  }

  .story-page .story-journey__track::after,
  .story-page .story-panel::after,
  .story-page .story-journey__cue {
    display: none;
  }

  .story-page .story-panel {
    width: 100% !important;
    height: auto;
    min-height: 70vh;
  }
}

/* =========================================================
   v22 mobile/tablet story mode
   Desktop Gold Corridor journey remains unchanged >=900px.
   Touch/mobile becomes a natural vertical editorial journey.
   ========================================================= */
@media (max-width: 899px) {
  body.internal.story-page,
  body.internal .story-page {
    overflow-x: clip !important;
    overflow-y: visible !important;
  }

  .story-page .story-journey {
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    background: var(--story-paper) !important;
  }

  .story-page .story-journey__stage {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    cursor: auto !important;
  }

  .story-page .story-journey__track {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
    will-change: auto !important;
  }

  .story-page .story-panel,
  .story-page .story-panel--hero {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    flex: none !important;
    overflow: hidden !important;
    padding: 64px var(--zifpim-gutter, 22px) 74px !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(38,37,37,.13) !important;
  }

  .story-page .story-panel:not(.story-panel--hero)::after {
    left: var(--zifpim-gutter, 22px) !important;
    right: var(--zifpim-gutter, 22px) !important;
    bottom: 34px !important;
    height: 2px !important;
  }

  .story-page .story-open-hero {
    min-height: calc(100svh - 68px) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding-top: 76px !important;
  }

  .story-page .story-open-hero__composition {
    margin-top: 36px !important;
  }

  .story-page .story-poster__title {
    font-size: clamp(2.1rem, 9.2vw, 3.4rem) !important;
    line-height: .94 !important;
  }

  .story-page .story-poster__line--accent {
    font-size: clamp(3.5rem, 16vw, 6rem) !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  .story-page .story-poster__line--sub {
    font-size: clamp(2rem, 9.5vw, 3.2rem) !important;
    line-height: .92 !important;
  }

  .story-page .story-open-hero__stamp,
  .story-page .story-open-hero__footer {
    position: static !important;
    margin-top: 34px !important;
  }

  .story-page .story-origin__year-wrap,
  .story-page .story-panel__columns,
  .story-page .story-panel__columns--evidence,
  .story-page .story-response__body {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 26px !important;
  }

  .story-page .story-origin__year {
    font-size: clamp(5.8rem, 28vw, 9rem) !important;
    line-height: .8 !important;
  }

  .story-page .story-origin__copy,
  .story-page .story-panel__columns,
  .story-page .story-response__body,
  .story-page .story-quote {
    max-width: 42rem !important;
  }

  .story-page .story-quote {
    font-size: clamp(2rem, 8.8vw, 3.2rem) !important;
    line-height: 1 !important;
  }

  .story-page .story-panel__back {
    position: static !important;
    margin-top: 34px !important;
  }

  .story-page .story-panel--next {
    min-height: 78svh !important;
  }

  /* No desktop drag cursor or horizontal interaction affordances on touch. */
  .story-page .story-journey.is-horizontal .story-journey__stage,
  .story-page .story-journey.is-dragging .story-journey__stage {
    cursor: auto !important;
  }
}

/* =========================================================
   Our Story — tighter mobile opening and chapter transition
   Mobile-only spacing refinement; desktop horizontal journey
   and interaction remain untouched.
   ========================================================= */
@media (max-width: 899px) {
  /* Don't stretch a short opening to a full viewport. */
  .story-page .story-open-hero {
    min-height: 0 !important;
    justify-content: flex-start !important;
    padding-bottom: 38px !important;
  }

  .story-page .story-open-hero__composition {
    margin: 28px 0 20px !important;
  }

  .story-page .story-open-hero__stamp {
    margin-top: 24px !important;
  }

  .story-page .story-open-hero__footer {
    margin-top: 16px !important;
    padding-top: 16px;
  }

  /* Remove stacked top gaps before "Established / 2025". */
  .story-page .story-panel--origin {
    padding-top: 42px !important;
  }

  .story-page .story-panel--origin .story-origin__year-wrap {
    margin-top: 0 !important;
  }

  .story-page .story-panel--origin .story-origin__copy {
    margin-top: 30px !important;
  }
}


/* =========================================================
   Our Story — left-aligned narrative paragraphs
   Keep the reading columns centred in their panels, while
   setting the text itself flush left (desktop and mobile).
   ========================================================= */
.story-page .story-panel--need .story-panel__columns,
.story-page .story-panel--evidence .story-panel__columns {
  text-align: left;
  align-items: stretch;
}

.story-page .story-panel--need .story-panel__columns p,
.story-page .story-panel--evidence .story-panel__columns p {
  text-align: left;
}

@media (max-width: 899px) {
  /* Don't force 54vw-wide columns on phones: use the panel's
     padded reading area so paragraphs wrap naturally. */
  .story-page .story-panel--need .story-panel__columns,
  .story-page .story-panel--evidence .story-panel__columns {
    width: 100% !important;
    max-width: 620px !important;
    margin-inline: auto !important;
  }
}

/* =========================================================
   Our Story — mobile chapter spacing refinement (Oct 2026)
   The desktop horizontal journey and its scrolling physics are untouched.
   ========================================================= */
@media (max-width: 899px) {
  /* Avoid stacking almost a screenful of padding at chapter boundaries. */
  .story-page .story-panel--origin {
    padding-bottom: 30px !important;
  }

  .story-page .story-panel--need,
  .story-page .story-panel--evidence {
    padding-top: 32px !important;
    padding-bottom: 36px !important;
  }

  .story-page .story-panel--response {
    padding-top: 32px !important;
    padding-bottom: 38px !important;
  }

  /* The response paragraph already carries its own typographic rhythm. */
  .story-page .story-panel--response .story-response__body {
    padding-top: 6px;
    padding-bottom: 6px;
  }

  /* The chapter handoff is content-led rather than an empty 78svh panel. */
  .story-page .story-panel--next {
    min-height: 0 !important;
    justify-content: flex-start;
    padding-top: 40px !important;
    padding-bottom: 46px !important;
  }

  .story-page .story-panel--next .story-next-link {
    width: 100%;
    margin: 38px 0 28px;
  }

  /* Keep the decorative gold thread below the copy in tighter panels. */
  .story-page .story-panel--origin::after,
  .story-page .story-panel--need::after,
  .story-page .story-panel--evidence::after,
  .story-page .story-panel--response::after {
    bottom: 11px !important;
  }
}

/* =========================================================
   Our Story — evidence-to-response mobile handoff (Oct 2026)
   Keep the two panels separate; eliminate inherited top margin
   on the response copy and make the space between them modest.
   Desktop Gold Corridor / horizontal journey is untouched.
   ========================================================= */
@media (max-width: 899px) {
  .story-page .story-panel--evidence {
    padding-bottom: 16px !important;
  }

  .story-page .story-panel--response {
    padding-top: 18px !important;
  }

  .story-page .story-panel--response .story-response__body {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}
