/* ==========================================================================
   MCPA narrative overhaul
   One landscape, three paper planes, twelve chapters.
   This file intentionally loads after the legacy styles and preserves the
   existing map, charts, explainers, dialogs and forms.
   ========================================================================== */

:root {
  --journey-ink: #18241d;
  --journey-moss: #334731;
  --journey-moss-2: #536747;
  --journey-sage: #aab08a;
  --journey-sage-light: #c9cbb5;
  --journey-stone: #e8e4d7;
  --journey-paper: #f5f2e9;
  --journey-paper-deep: #ded8c7;
  --journey-red: #a9472e;
  --journey-wheat: #c79e55;
  --journey-line: rgba(24, 36, 29, .22);
  --journey-shadow: 14px 16px 0 rgba(24, 36, 29, .18);
  --journey-shadow-soft: 0 30px 70px rgba(24, 36, 29, .18);
  --journey-progress: 0;
  /* Restored is the static/no-JS fallback. Enhancement starts it at zero. */
  --world-bloom: 1;
  --shell-wide: min(1520px, calc(100vw - 64px));
}

* { box-sizing: border-box; }

html {
  overflow-x: clip;
  background: var(--journey-stone);
}

body.narrative-overhaul {
  position: relative;
  overflow-x: clip;
  background:
    linear-gradient(rgba(35,52,38,.64), rgba(35,52,38,.64)),
    url("../assets/generated/afghan-valley-restored-v1.webp") center bottom / cover fixed;
  color: var(--journey-ink);
}

body.narrative-overhaul::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: .22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.74' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

body.narrative-overhaul img { max-width: 100%; }
body.narrative-overhaul main { position: relative; z-index: 1; }

.narrative-overhaul .shell {
  width: var(--shell-wide);
  max-width: none;
  margin-inline: auto;
}

.narrative-overhaul a,
.narrative-overhaul button {
  text-underline-offset: .22em;
}

.narrative-overhaul :focus-visible {
  outline: 3px solid var(--journey-red);
  outline-offset: 4px;
}

/* Header + progress ------------------------------------------------------- */

.narrative-overhaul .site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  border-bottom: 1px solid rgba(245, 242, 233, .2);
  background: linear-gradient(180deg, rgba(16, 27, 20, .88), rgba(16, 27, 20, .68));
  color: var(--journey-paper);
  backdrop-filter: blur(16px) saturate(.8);
  transition: background .35s ease, box-shadow .35s ease, color .35s ease;
}

.narrative-overhaul .site-header.is-scrolled {
  background: rgba(245, 242, 233, .94);
  color: var(--journey-ink);
  border-bottom-color: var(--journey-line);
  box-shadow: 0 10px 30px rgba(24,36,29,.08);
}

.narrative-overhaul .brand,
.narrative-overhaul .nav-links a,
.narrative-overhaul .nav-toggle { color: inherit; }

.narrative-overhaul .site-header:not(.is-scrolled) .brand,
.narrative-overhaul .site-header:not(.is-scrolled) .nav-links a,
.narrative-overhaul .site-header:not(.is-scrolled) .nav-toggle {
  color: var(--journey-paper);
}

.narrative-overhaul .site-header.is-scrolled .brand,
.narrative-overhaul .site-header.is-scrolled .nav-links a,
.narrative-overhaul .site-header.is-scrolled .nav-toggle {
  color: var(--journey-ink);
}

.narrative-overhaul .site-header .nav-links a:hover,
.narrative-overhaul .site-header .nav-links a:focus-visible,
.narrative-overhaul .site-header .nav-links a.active {
  color: var(--journey-paper);
  border-top-color: var(--journey-red);
  border-bottom-color: var(--journey-red);
  background: #111b14;
}

.narrative-overhaul .site-header .nav-links a:hover::before,
.narrative-overhaul .site-header .nav-links a:hover::after,
.narrative-overhaul .site-header .nav-links a:focus-visible::before,
.narrative-overhaul .site-header .nav-links a:focus-visible::after,
.narrative-overhaul .site-header .nav-links a.active::before,
.narrative-overhaul .site-header .nav-links a.active::after {
  background: var(--journey-red);
  transform: scaleX(1);
}

.narrative-overhaul .brand img {
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.18));
}

.journey-meter {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  height: 3px;
  background: rgba(245, 242, 233, .18);
  pointer-events: none;
}

.journey-meter-fill {
  display: block;
  width: calc(var(--journey-progress) * 100%);
  height: 100%;
  background: var(--journey-red);
  transform-origin: 0 50%;
  transition: width .08s linear;
}

/* Persistent landscape --------------------------------------------------- */

.narrative-world {
  position: fixed;
  inset: 0;
  z-index: 0;
  contain: layout paint;
  overflow: hidden;
  pointer-events: none;
  background: #d2ccba;
  opacity: 1;
  transition: opacity .55s ease;
}

/* The first production pass uses the same master landscape as a fixed
   section background. This avoids fixed-layer compositing defects in local
   Chromium while preserving the continuous-world effect. */
.narrative-world { display: none; }

body[data-act="record"] .narrative-world,
body[data-act="institution"] .narrative-world,
body[data-act="field"] .narrative-world,
body[data-act="contact"] .narrative-world {
  opacity: .22;
}

.world-layer {
  position: absolute;
  inset: 0;
  display: block;
}

.world-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  transform: scale(1.04);
  will-change: transform, opacity, filter;
}

.world-barren {
  filter: grayscale(.92) sepia(.08) contrast(.92);
  opacity: calc(1 - (var(--world-bloom) * .32));
}

.world-restored {
  opacity: var(--world-bloom);
  clip-path: inset(calc((1 - var(--world-bloom)) * 100%) 0 0);
  filter: saturate(calc(.7 + (var(--world-bloom) * .3)));
}

.world-grain {
  position: absolute;
  inset: 0;
  opacity: .2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.6' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='.2'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.world-horizon {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12,25,18,.3), transparent 28%, transparent 62%, rgba(18,29,21,.42)),
    linear-gradient(90deg, rgba(15,26,19,.62), transparent 55%);
}

.journey-chapters {
  position: fixed;
  right: 22px;
  top: 50%;
  z-index: 2;
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 10px 9px;
  list-style: none;
  color: rgba(245,242,233,.56);
  font: 500 8px/1.1 "IBM Plex Mono", monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
  transform: translateY(-50%);
}

.journey-chapters li {
  display: grid;
  grid-template-columns: 21px 1fr;
  align-items: center;
  gap: 6px;
  max-width: 29px;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width .3s ease, color .3s ease;
}

.journey-chapters li::after {
  content: "";
  grid-column: 1;
  width: 18px;
  height: 1px;
  background: currentColor;
}

.journey-chapters li span { grid-column: 1; }
.journey-chapters li.is-active {
  max-width: 150px;
  color: var(--journey-paper);
}
.journey-chapters li.is-active::after {
  height: 2px;
  background: var(--journey-red);
}

/* Hero ------------------------------------------------------------------- */

.narrative-overhaul .hero {
  min-height: 100svh;
  padding-top: var(--nav-h);
  overflow: clip;
  border: 0;
  isolation: auto;
  background: transparent;
  color: var(--journey-paper);
}

.narrative-overhaul .hero::before {
  display: none;
}

.hero-landscape {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  overflow: hidden;
}

.hero-landscape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.hero-landscape::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15,28,19,.78), rgba(15,28,19,.18) 68%),
    linear-gradient(180deg, rgba(17,29,21,.2), rgba(17,29,21,.38));
}

.narrative-overhaul .hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: clamp(100px, 14vw, 220px);
  background: linear-gradient(180deg, transparent, rgba(19,30,22,.44));
  z-index: 1;
  pointer-events: none;
}

.narrative-overhaul .hero-collage {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 1fr;
  align-items: center;
  min-height: calc(100svh - var(--nav-h));
  padding-block: clamp(46px, 8vh, 100px) clamp(48px, 7vh, 86px);
}

.narrative-overhaul .hero-inner {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  position: relative;
  z-index: 3;
  width: min(58vw, 930px);
  max-width: 930px;
  padding: 0;
}

.narrative-overhaul .hero-topline {
  align-items: center;
  gap: 22px;
}

.narrative-overhaul .hero-kicker {
  color: rgba(245,242,233,.82);
  letter-spacing: .15em;
}

.narrative-overhaul .hero h1 {
  max-width: 11.6ch;
  margin: 22px 0 0;
  color: var(--journey-paper);
  font-size: clamp(58px, 6.1vw, 104px);
  line-height: .9;
  letter-spacing: -.06em;
  text-wrap: balance;
}

.narrative-overhaul .hero h1 .accent { color: #cf5939; }

.narrative-overhaul .hero-inner .btn-lg {
  border-color: rgba(245,242,233,.75);
  color: var(--journey-paper);
}

.narrative-overhaul .hero-inner .btn-lg:hover {
  border-color: var(--journey-red);
  background: var(--journey-red);
}

.narrative-overhaul .hero-story {
  position: absolute;
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
  align-self: stretch;
  inset: clamp(24px, 3vh, 40px) -12vw 0 -10vw;
  width: auto;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
}

.narrative-overhaul .hero-scene {
  width: 100%;
  height: 100%;
  overflow: visible;
  opacity: .88;
  filter: drop-shadow(0 18px 28px rgba(9,18,12,.18));
  transform: translateY(-8%);
  transform-origin: 50% 50%;
}

.narrative-overhaul .hero-scene.is-barren {
  filter: grayscale(1) contrast(.9) brightness(.95) drop-shadow(0 18px 28px rgba(9,18,12,.18));
}

.narrative-overhaul .hero-scene .scene-sky {
  opacity: 0;
}

.narrative-overhaul .hero-scene .scene-ground {
  opacity: 0;
}

.narrative-overhaul .hero-scene #hSafe {
  opacity: 0;
}

.narrative-overhaul .hero-scene #hBarrenWash {
  opacity: 0 !important;
}

.narrative-overhaul .hero-scene .map-piece {
  display: none !important;
}

.narrative-overhaul .hero-phase {
  z-index: 4;
  top: auto;
  right: clamp(54px, 5vw, 92px);
  bottom: clamp(132px, 17vh, 190px);
  left: auto;
  width: min(360px, 31vw);
  padding: 15px 18px 16px;
  color: var(--journey-paper);
  border: 1px solid rgba(245,242,233,.22);
  border-left: 4px solid var(--journey-red);
  background: rgba(13,27,18,.42);
  backdrop-filter: blur(8px) saturate(.85);
  -webkit-backdrop-filter: blur(8px) saturate(.85);
  pointer-events: auto;
  text-shadow: 0 2px 14px rgba(11,21,14,.5);
}

.narrative-overhaul .hero-phase-title { color: var(--journey-paper); }
.narrative-overhaul .hero-phase-text { color: rgba(245,242,233,.78); }
.narrative-overhaul .hero-replay { color: #f07a56; }

/* Problem chapter -------------------------------------------------------- */

.problem-chapter {
  position: relative;
  min-height: 110svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--journey-paper);
  background:
    linear-gradient(180deg, rgba(13,25,17,.62), rgba(13,25,17,.78)),
    url("../assets/generated/afghan-valley-barren-v1.webp") center bottom / cover no-repeat;
}

.problem-chapter::before,
.problem-chapter::after {
  content: "";
  position: absolute;
  left: -3vw;
  right: -3vw;
  z-index: 0;
  height: 58px;
  background: var(--journey-stone);
  clip-path: polygon(0 46%, 8% 33%, 17% 53%, 27% 38%, 39% 58%, 50% 41%, 62% 56%, 72% 36%, 83% 54%, 92% 39%, 100% 51%, 100% 100%, 0 100%);
}

.problem-chapter::before {
  top: -1px;
  transform: rotate(180deg);
  opacity: .18;
}

.problem-chapter::after {
  bottom: -1px;
  opacity: .92;
}

.problem-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .65fr);
  gap: clamp(38px, 8vw, 150px);
  padding-block: clamp(130px, 15vh, 210px);
}

.chapter-label,
.assurance-kicker {
  margin: 0 0 20px;
  color: #e7cfc4;
  font: 500 11px/1.2 "IBM Plex Mono", monospace;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.chapter-label span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: 10px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.problem-copy h2 {
  max-width: 12ch;
  margin: 0;
  color: var(--journey-paper);
  font: 800 clamp(46px, 6.4vw, 104px)/.94 "Montserrat", sans-serif;
  letter-spacing: -.055em;
}

.problem-copy > p:last-child {
  max-width: 55ch;
  margin: 34px 0 0;
  color: rgba(245,242,233,.82);
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.65;
}

.problem-evidence {
  align-self: end;
  padding: clamp(28px, 3.5vw, 52px);
  border: 1px solid rgba(245,242,233,.3);
  border-top: 4px solid var(--journey-red);
  background: rgba(24,36,29,.72);
  box-shadow: 16px 18px 0 rgba(0,0,0,.18);
  backdrop-filter: blur(10px);
}

.evidence-label {
  margin: 0 0 22px;
  font: 500 10px/1.2 "IBM Plex Mono", monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.evidence-figure {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  margin: 0;
}

.evidence-figure strong {
  color: #d85a39;
  font: 800 clamp(76px, 8vw, 132px)/.72 "Montserrat", sans-serif;
  letter-spacing: -.08em;
}

.evidence-figure span {
  padding-bottom: 2px;
  font-size: 14px;
  line-height: 1.45;
}

.evidence-note {
  margin: 28px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(245,242,233,.22);
  color: rgba(245,242,233,.68);
  font-size: 13px;
  line-height: 1.65;
}

.problem-route {
  grid-column: 1 / -1;
  width: 100%;
  height: auto;
  margin-top: clamp(38px, 7vh, 90px);
  overflow: visible;
  color: var(--journey-paper);
}

.problem-route text {
  fill: rgba(245,242,233,.72);
  font: 500 14px/1 "IBM Plex Mono", monospace;
  letter-spacing: .12em;
}

.route-line {
  fill: none;
  stroke: rgba(245,242,233,.45);
  stroke-width: 3;
  stroke-dasharray: 8 12;
}

.route-diversion {
  fill: none;
  stroke: var(--journey-paper);
  stroke-width: 4;
}

.route-marker circle { fill: var(--journey-red); }
.route-marker path:first-of-type { fill: var(--journey-paper); }
.route-marker path:last-of-type {
  fill: none;
  stroke: var(--journey-red);
  stroke-width: 2;
  stroke-linecap: round;
}

.chapter-cue {
  grid-column: 1 / -1;
  justify-self: end;
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 5px 18px;
  color: var(--journey-paper);
  font: 600 12px/1.2 "Montserrat", sans-serif;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.chapter-cue span {
  grid-column: 1;
  color: rgba(245,242,233,.6);
  font: 500 9px/1 "IBM Plex Mono", monospace;
  letter-spacing: .14em;
}

.chapter-cue i {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: #d85a39;
  font-size: 26px;
  font-style: normal;
}

/* Safety and clearance: contiguous field notebook ----------------------- */

.narrative-overhaul .eore,
.narrative-overhaul .landrelease {
  position: relative;
  z-index: 2;
  overflow: clip;
  border: 0;
  background-color: rgba(232,228,215,.9);
}

.narrative-overhaul .eore {
  padding: clamp(90px, 11vw, 170px) 0 clamp(70px, 8vw, 120px);
  background:
    linear-gradient(90deg, rgba(232,228,215,.95), rgba(232,228,215,.82)),
    url("../assets/photos/eore-children.jpg") center 38% / cover no-repeat;
}

.narrative-overhaul .eore::before,
.narrative-overhaul .landrelease::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .15;
  background: repeating-linear-gradient(0deg, transparent 0 27px, rgba(24,36,29,.1) 28px);
  pointer-events: none;
}

.narrative-overhaul .eore-head {
  width: var(--shell-wide);
  padding: 0 0 34px;
}

.narrative-overhaul .eore .sec-head,
.narrative-overhaul .landrelease .sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .6fr);
  gap: 30px 80px;
  max-width: none;
  margin-bottom: clamp(42px, 6vw, 84px);
}

.narrative-overhaul .eore .sec-head .eyebrow,
.narrative-overhaul .landrelease .sec-head .eyebrow {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--journey-red);
}

.narrative-overhaul .eore .sec-head h2,
.narrative-overhaul .landrelease .sec-head h2 {
  max-width: 11ch;
  margin: 0;
  color: var(--journey-ink);
  font-size: clamp(50px, 6vw, 94px);
  line-height: .94;
  letter-spacing: -.055em;
}

.narrative-overhaul .eore .sec-head p,
.narrative-overhaul .landrelease .sec-head p {
  align-self: end;
  max-width: 49ch;
  margin: 0;
  color: #4c554e;
}

.narrative-overhaul .eore-track-wrap {
  width: var(--shell-wide);
  max-width: none;
  margin-inline: auto;
  overflow: visible;
}

.narrative-overhaul .eore-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: auto !important;
  max-width: none;
  gap: 0;
  padding: 0;
  transform: none !important;
}

.narrative-overhaul .eore-panel {
  position: relative;
  min-width: 0;
  min-height: 570px;
  flex-basis: auto;
  padding: clamp(24px, 2.6vw, 40px);
  border: 1px solid var(--journey-line);
  border-top: 4px solid var(--journey-moss);
  border-radius: 0;
  background: rgba(245,242,233,.84);
  box-shadow: none;
}

.narrative-overhaul .eore-panel:nth-child(even) {
  margin-top: 34px;
  border-top-color: var(--journey-red);
  background: rgba(222,216,199,.88);
}

.narrative-overhaul .eore-panel + .eore-panel { border-left: 0; }
.narrative-overhaul .eore-panel .phase { color: var(--journey-red); }
.narrative-overhaul .eore-panel h3 {
  font-size: clamp(23px, 2vw, 32px);
  line-height: 1.06;
}
.narrative-overhaul .eore-panel p,
.narrative-overhaul .eore-panel li { color: #4d584f; }
.narrative-overhaul .eore-fig {
  margin-top: auto;
  border-color: var(--journey-line);
  background: rgba(255,255,255,.52);
}
.narrative-overhaul .eore-progress { display: none; }

.narrative-overhaul .landrelease {
  padding: clamp(110px, 11vw, 180px) 0;
  background:
    linear-gradient(180deg, rgba(232,228,215,.92), rgba(202,203,180,.86)),
    url("../assets/generated/afghan-demining-operation-v1.webp") center / cover no-repeat;
}

.narrative-overhaul .landrelease::after {
  display: none;
}

.narrative-overhaul .lr-layout {
  grid-template-columns: minmax(420px, .9fr) minmax(0, 1.1fr);
  gap: clamp(42px, 5vw, 76px);
}

.narrative-overhaul .lr-stage {
  border: 1px solid var(--journey-line);
  border-radius: 0;
  background: var(--journey-paper);
  box-shadow: var(--journey-shadow);
  transform: rotate(-.65deg);
}

.narrative-overhaul .lr-step {
  min-height: clamp(360px, 46svh, 540px);
  padding: clamp(30px, 4vh, 52px) clamp(20px, 3vw, 44px);
  border-bottom-color: var(--journey-line);
}

.narrative-overhaul .lr-step h3 {
  color: var(--journey-ink);
  font-size: clamp(32px, 3.5vw, 56px);
  line-height: .98;
}

.narrative-overhaul .lr-step p,
.narrative-overhaul .lr-step li { color: #4b564e; }
.narrative-overhaul .lr-node { background: var(--journey-red); }

/* Productive land + achievements ---------------------------------------- */

.narrative-overhaul #outcomes {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  padding: clamp(110px, 11vw, 170px) 0 clamp(100px, 10vw, 150px);
  overflow: clip;
  border: 0;
  background: linear-gradient(180deg, rgba(30,47,33,.12), rgba(24,36,29,.5));
  color: var(--journey-paper);
}

.narrative-overhaul #outcomes::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(18,30,21,.7), rgba(18,30,21,.12) 62%),
    url("../assets/generated/afghan-valley-restored-v1.webp") center bottom / cover no-repeat;
}

.narrative-overhaul #outcomes .sec-head {
  max-width: 920px;
  margin-bottom: clamp(50px, 6vw, 86px);
}

.narrative-overhaul #outcomes .sec-head h2 {
  max-width: 11ch;
  color: var(--journey-paper);
  font-size: clamp(54px, 7vw, 112px);
  line-height: .9;
  letter-spacing: -.06em;
}

.narrative-overhaul #outcomes .sec-head p {
  max-width: 50ch;
  color: rgba(245,242,233,.78);
}

.narrative-overhaul .impact-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
}

.narrative-overhaul .impact-card,
.narrative-overhaul .impact-feature {
  grid-column: span 4;
  min-height: 420px;
  padding: clamp(25px, 2.6vw, 40px);
  border: 1px solid rgba(245,242,233,.3);
  border-top: 4px solid var(--journey-red);
  border-radius: 0;
  background: rgba(24,36,29,.73);
  color: var(--journey-paper);
  box-shadow: 12px 14px 0 rgba(0,0,0,.16);
  backdrop-filter: blur(11px);
}

.narrative-overhaul .impact-feature {
  grid-column: span 8;
  grid-row: auto;
  min-height: 520px;
}

.narrative-overhaul .impact-grid > .impact-card {
  height: 100%;
}

.narrative-overhaul .impact-card:nth-child(2) { min-height: 520px; }
.narrative-overhaul .impact-card:nth-child(3),
.narrative-overhaul .impact-card:nth-child(4),
.narrative-overhaul .impact-card:nth-child(5) {
  grid-column: span 4;
  min-height: 430px;
  margin-top: 0;
}

.narrative-overhaul .impact-card h3 { color: var(--journey-paper); }
.narrative-overhaul .impact-card p { color: rgba(245,242,233,.72); }
.narrative-overhaul .impact-card .figure { color: #e1ba70; }
.narrative-overhaul .impact-card .icon { color: #e7cfc4; }
.narrative-overhaul .impact-sketch,
.narrative-overhaul .impact-illustration { filter: grayscale(.25) sepia(.06); }

/* Achievements + project atlas: one large editorial sheet --------------- */

.narrative-overhaul .impact-strip {
  position: relative;
  z-index: 3;
  margin-top: clamp(-92px, -7vw, -56px);
  padding: 0;
  border: 0;
  background: transparent;
}

.narrative-overhaul .impact-strip .shell {
  padding: clamp(46px, 6vw, 96px);
  border-top: 5px solid var(--journey-red);
  background: var(--journey-paper);
  box-shadow: var(--journey-shadow);
}

.narrative-overhaul .strip-lead {
  max-width: 72ch;
  margin: 0 0 54px;
  color: #4c554e;
  font-size: clamp(18px, 1.7vw, 25px);
}

.narrative-overhaul .strip-grid {
  gap: 0;
  border: 1px solid var(--journey-line);
}

.narrative-overhaul .strip-grid .stat {
  min-height: 190px;
  padding: 25px;
  border-right: 1px solid var(--journey-line);
  background: transparent;
}
.narrative-overhaul .strip-grid .stat:last-child { border-right: 0; }
.narrative-overhaul .strip-grid .num { color: var(--journey-moss); }

.narrative-overhaul .dashboard {
  position: relative;
  z-index: 2;
  padding: clamp(80px, 10vw, 160px) 0;
  border: 0;
  background:
    linear-gradient(180deg, rgba(83,103,71,.92), rgba(51,71,49,.96)),
    url("../assets/generated/afghan-valley-restored-v1.webp") center / cover;
}

.narrative-overhaul .dashboard > .shell {
  padding: clamp(42px, 5vw, 84px);
  background: rgba(245,242,233,.96);
  box-shadow: 20px 24px 0 rgba(16,28,20,.34), var(--journey-shadow-soft);
  transform: rotate(.22deg);
}

.narrative-overhaul .dashboard .sec-head {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(300px, .55fr);
  gap: 22px 80px;
  max-width: none;
}

.narrative-overhaul .dashboard .sec-head .eyebrow { grid-column: 1 / -1; }
.narrative-overhaul .dashboard .sec-head h2 {
  margin: 0;
  font-size: clamp(48px, 5vw, 82px);
  line-height: .94;
}
.narrative-overhaul .dashboard .sec-head p { align-self: end; margin: 0; }
.narrative-overhaul .geo-panel,
.narrative-overhaul .dash-panel {
  border-color: var(--journey-line);
  border-radius: 0;
  box-shadow: none;
}

/* Institutional paper: about -> assurance -> capability -> partners ------ */

.narrative-overhaul .about-section,
.narrative-overhaul #donor-assurance {
  position: relative;
  z-index: 2;
  border: 0;
  background:
    linear-gradient(rgba(221,221,205,.88), rgba(221,221,205,.88)),
    url("../assets/generated/afghan-community-planning-v1.webp") center / cover fixed;
}

.narrative-overhaul .about-section { padding: clamp(120px, 12vw, 190px) 0; }
.narrative-overhaul .about-section .sec-head h2,
.narrative-overhaul .services .sec-head h2,
.narrative-overhaul #partners .sec-head h2 {
  max-width: 12ch;
  font-size: clamp(48px, 6vw, 96px);
  line-height: .92;
  letter-spacing: -.055em;
}

.narrative-overhaul .purpose-grid {
  margin-block: clamp(48px, 7vw, 96px);
  border: 1px solid var(--journey-line);
  background: var(--journey-paper);
  box-shadow: var(--journey-shadow);
}

.narrative-overhaul .purpose-statement {
  min-height: 280px;
  padding: clamp(32px, 4vw, 66px);
  border-radius: 0;
  background: transparent;
}

.narrative-overhaul .purpose-statement + .purpose-statement {
  border-left: 1px solid var(--journey-line);
}

.narrative-overhaul .about-layout {
  grid-template-columns: minmax(0, 1fr) minmax(390px, .68fr);
  gap: clamp(50px, 8vw, 130px);
}

.narrative-overhaul .about-body {
  color: #465047;
  font-size: clamp(16px, 1.25vw, 19px);
}

.narrative-overhaul .timeline {
  padding: 0;
  border-left: 2px solid var(--journey-moss);
}

.narrative-overhaul .timeline li {
  position: relative;
  padding: 0 0 45px 38px;
}

.narrative-overhaul .timeline li::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 4px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--journey-stone);
  border-radius: 50%;
  background: var(--journey-red);
}

.narrative-overhaul .gallery {
  margin-top: clamp(90px, 10vw, 150px);
}

.narrative-overhaul .gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(160px, 18vw, 310px);
  gap: 10px;
}

.narrative-overhaul .gallery-item { grid-column: span 4; border-radius: 0; }
.narrative-overhaul .gallery-item:first-child { grid-column: span 8; grid-row: span 2; }
.narrative-overhaul .gallery-item:nth-child(4) { grid-column: span 5; }
.narrative-overhaul .gallery-item:nth-child(5) { grid-column: span 7; }

.narrative-overhaul #donor-assurance {
  padding: 0 0 clamp(120px, 13vw, 210px);
}

.narrative-overhaul .assurance-feature {
  border: 1px solid var(--journey-line);
  border-top: 5px solid var(--journey-red);
  border-radius: 0;
  background: var(--journey-paper);
  box-shadow: var(--journey-shadow);
}

.narrative-overhaul .assurance-feature-head {
  padding: clamp(38px, 5vw, 76px);
  border-bottom-color: var(--journey-line);
}

.narrative-overhaul .assurance-feature-head h3 {
  max-width: 13ch;
  font-size: clamp(46px, 5.6vw, 88px);
  line-height: .94;
  letter-spacing: -.055em;
}

.narrative-overhaul .assurance-tabs {
  border-bottom-color: var(--journey-line);
  background: var(--journey-paper-deep);
}

.narrative-overhaul .assurance-tabs button {
  border-radius: 0;
  border-right: 1px solid var(--journey-line);
}

.narrative-overhaul .assurance-tabs button[aria-selected="true"] {
  background: var(--journey-moss);
  color: var(--journey-paper);
}

.narrative-overhaul .assurance-body {
  padding: clamp(32px, 4vw, 64px);
}

.narrative-overhaul .services {
  position: relative;
  z-index: 2;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(100px, 10vw, 156px) 0;
  color: var(--journey-paper);
  background:
    linear-gradient(180deg, rgba(13,27,18,.67), rgba(13,27,18,.86)),
    url("../assets/generated/afghan-field-handover-v1.webp") center 46% / cover fixed;
}

.narrative-overhaul .services::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(18,34,23,.36), transparent 42%, rgba(18,34,23,.2)),
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 22%, rgba(10,22,14,.18));
  pointer-events: none;
}

.narrative-overhaul .services .sec-head h2,
.narrative-overhaul .services .sec-head p {
  color: var(--journey-paper);
}

.narrative-overhaul .services .sec-head p {
  max-width: 56ch;
  color: rgba(245,242,233,.76);
}

.narrative-overhaul .svc-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.narrative-overhaul .svc-card,
.narrative-overhaul .svc-card.svc-wide,
.narrative-overhaul .svc-card:first-child {
  grid-column: span 6;
  min-width: 0;
  min-height: 220px;
  margin: 0;
  padding: clamp(24px, 2.6vw, 38px);
  border: 1px solid rgba(245,242,233,.2);
  border-top: 1px solid rgba(245,242,233,.34);
  border-radius: 0;
  background: rgba(14,29,19,.47);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(8px) saturate(.8);
  -webkit-backdrop-filter: blur(8px) saturate(.8);
  color: var(--journey-paper);
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto;
  align-content: start;
  gap: 14px;
  overflow: hidden;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.narrative-overhaul .svc-card:nth-child(3),
.narrative-overhaul .svc-card:nth-child(4),
.narrative-overhaul .svc-card:nth-child(5) {
  grid-column: span 4;
}

.narrative-overhaul .svc-card .icon {
  display: none;
}

.narrative-overhaul .svc-card h3 {
  max-width: 22ch;
  color: var(--journey-paper);
  font-size: clamp(22px, 1.9vw, 31px);
  line-height: 1.06;
}

.narrative-overhaul .svc-card p,
.narrative-overhaul .svc-card.svc-wide p,
.narrative-overhaul .svc-card:first-child p {
  grid-column: 1;
  max-width: 60ch;
  margin: 0;
  color: rgba(245,242,233,.72);
  font-size: 15px;
  line-height: 1.58;
}

.narrative-overhaul .svc-card .svc-tag,
.narrative-overhaul .svc-card.svc-wide .svc-tag,
.narrative-overhaul .svc-card:first-child .svc-tag {
  grid-column: 1;
  align-self: end;
  margin: 8px 0 0;
  color: #ee9476;
  font-size: 10px;
}

.narrative-overhaul .svc-card::after {
  content: "";
  display: block;
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--journey-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.narrative-overhaul .svc-card:hover,
.narrative-overhaul .svc-card:focus-within {
  border-color: rgba(245,242,233,.42);
  background: rgba(21,42,28,.72);
  transform: translateY(-3px);
}

.narrative-overhaul .svc-card:hover::after,
.narrative-overhaul .svc-card:focus-within::after {
  transform: scaleX(1);
}

.narrative-overhaul .svc-card:hover p,
.narrative-overhaul .svc-card:hover .svc-tag {
  color: inherit;
}

.narrative-overhaul #partners {
  position: relative;
  z-index: 2;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(96px, 10vw, 150px) 0;
  color: var(--journey-paper);
  background:
    linear-gradient(180deg, rgba(31,48,33,.72), rgba(22,39,27,.88)),
    url("../assets/generated/afghan-field-handover-v1.webp") center 56% / cover fixed;
}

.narrative-overhaul #partners::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(13,26,17,.18), rgba(13,26,17,.04) 50%, rgba(13,26,17,.24));
  pointer-events: none;
}

.narrative-overhaul #partners .sec-head h2,
.narrative-overhaul #partners .sec-head p {
  color: var(--journey-paper);
}

.narrative-overhaul #partners .sec-head p {
  max-width: 58ch;
  color: rgba(245,242,233,.74);
}

.narrative-overhaul .partner-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
  border: 0;
  background: transparent;
}

.narrative-overhaul .partner-card {
  grid-column: span 3;
  min-width: 0;
  min-height: 132px;
  padding: 22px 22px;
  border: 1px solid rgba(245,242,233,.2);
  border-radius: 0;
  background: rgba(245,242,233,.74);
  box-shadow: none;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.narrative-overhaul .partner-card:nth-child(9) { grid-column: 2 / span 3; }
.narrative-overhaul .partner-card:nth-child(10) { grid-column: 5 / span 3; }
.narrative-overhaul .partner-card:nth-child(11) { grid-column: 8 / span 3; }

.narrative-overhaul .partner-card:last-child:nth-child(odd) {
  width: auto;
  justify-self: stretch;
}

.narrative-overhaul .partner-card::after,
.narrative-overhaul .partner-mark {
  display: none;
}

.narrative-overhaul .partner-card strong {
  max-width: 24ch;
  padding: 0;
  color: var(--journey-ink);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.25;
}

.narrative-overhaul .partner-detail {
  place-items: center start;
  padding: 18px 20px;
  background: rgba(23,48,32,.96);
  color: var(--journey-paper);
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
}

.narrative-overhaul .partner-card:hover,
.narrative-overhaul .partner-card:focus,
.narrative-overhaul .partner-card:focus-within {
  border-color: rgba(245,242,233,.48);
  background: rgba(245,242,233,.9);
  transform: translateY(-3px);
}

.narrative-overhaul .partner-card:hover .partner-detail,
.narrative-overhaul .partner-card:focus .partner-detail,
.narrative-overhaul .partner-card:focus-within .partner-detail {
  padding-left: 20px;
}

/* Field journal: stories and news on one floating sheet ------------------ */

.narrative-overhaul .stories,
.narrative-overhaul #news {
  position: relative;
  z-index: 2;
  border: 0;
  background:
    linear-gradient(rgba(51,71,49,.88), rgba(51,71,49,.88)),
    url("../assets/photos/post-clearance-khost.jpg") center / cover fixed;
}

.narrative-overhaul .stories { padding: clamp(120px, 13vw, 210px) 0 0; }
.narrative-overhaul #news { padding: 0 0 clamp(120px, 13vw, 210px); }

.narrative-overhaul .stories > .shell,
.narrative-overhaul #news > .shell {
  padding: clamp(42px, 6vw, 90px);
  background: rgba(245,242,233,.97);
  box-shadow: 20px 24px 0 rgba(17,30,21,.28), var(--journey-shadow-soft);
}

.narrative-overhaul .stories > .shell {
  padding-bottom: 48px;
  border-top: 5px solid var(--journey-red);
}

.narrative-overhaul #news > .shell {
  padding-top: 42px;
}

.narrative-overhaul .stories .sec-head h2,
.narrative-overhaul #news .sec-head h2 {
  font-size: clamp(48px, 5vw, 82px);
  line-height: .94;
}

.narrative-overhaul .story-grid,
.narrative-overhaul .news-grid { gap: 1px; background: var(--journey-line); }

.narrative-overhaul .story-card,
.narrative-overhaul .news-card {
  border: 0;
  border-radius: 0;
  background: var(--journey-paper);
  box-shadow: none;
}

.narrative-overhaul .story-card:hover,
.narrative-overhaul .news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(24,36,29,.14);
}

/* Contact: the path reaches Kabul ---------------------------------------- */

.narrative-overhaul #contact,
.narrative-overhaul .grievance {
  position: relative;
  z-index: 2;
  border: 0;
  background:
    linear-gradient(rgba(26,46,32,.9), rgba(26,46,32,.9)),
    url("../assets/photos/daman-kandahar.jpg") center / cover fixed;
}

.narrative-overhaul #contact {
  padding: clamp(120px, 13vw, 210px) 0 clamp(80px, 8vw, 130px);
}

.narrative-overhaul .contact-card {
  border: 1px solid rgba(245,242,233,.26);
  border-radius: 0;
  box-shadow: 18px 20px 0 rgba(15,27,18,.36);
}

.narrative-overhaul .contact-info {
  background: #1d3324;
  color: var(--journey-paper);
}

.narrative-overhaul .contact-info h2,
.narrative-overhaul .contact-info strong,
.narrative-overhaul .contact-info a {
  color: var(--journey-paper);
}

.narrative-overhaul .contact-info > p,
.narrative-overhaul .contact-info .c-row span {
  color: rgba(245,242,233,.72);
}

.narrative-overhaul .contact-info .c-row .icon {
  color: #e1ba70;
  border-color: rgba(245,242,233,.25);
}

.narrative-overhaul .contact-form {
  background: var(--journey-paper);
}

.narrative-overhaul .vacancies-panel {
  margin-top: 70px;
  border: 1px solid rgba(245,242,233,.26);
  border-radius: 0;
  background: rgba(245,242,233,.96);
  box-shadow: 14px 16px 0 rgba(15,27,18,.32);
}

.narrative-overhaul .grievance {
  padding: 0 0 clamp(120px, 13vw, 190px);
}

.narrative-overhaul .grievance .sec-head h2,
.narrative-overhaul .grievance .sec-head p { color: var(--journey-paper); }

.narrative-overhaul .grv-card {
  border: 1px solid rgba(245,242,233,.25);
  border-radius: 0;
  background: var(--journey-paper);
  box-shadow: 16px 18px 0 rgba(15,27,18,.34);
}

.narrative-overhaul .site-footer {
  position: relative;
  z-index: 2;
  background:
    linear-gradient(rgba(21,35,25,.9), rgba(21,35,25,.9)),
    url("../assets/illustrations/footer-village-horizon-v1.webp") center bottom / cover no-repeat;
}

/* Load and scroll choreography ------------------------------------------ */

html.narrative-enhanced:not(.narrative-ready) .narrative-overhaul .hero-inner,
html.narrative-enhanced:not(.narrative-ready) .narrative-overhaul .hero-story {
  opacity: 0;
  transform: translateY(26px);
}

.narrative-overhaul .hero-inner,
.narrative-overhaul .hero-story {
  transition: opacity .9s ease, transform 1s cubic-bezier(.2,.75,.2,1);
}

html.narrative-ready .narrative-overhaul .hero-inner,
html.narrative-ready .narrative-overhaul .hero-story { opacity: 1; }
html.narrative-ready .narrative-overhaul .hero-story { transform: none; }

.narrative-overhaul .route-line,
.narrative-overhaul .route-diversion {
  stroke-dasharray: 12 13;
  stroke-dashoffset: 260;
}

.narrative-overhaul .problem-chapter.is-active .route-line,
.narrative-overhaul .problem-chapter.is-active .route-diversion {
  animation: routeDraw 2.2s ease forwards;
}

.narrative-overhaul .problem-chapter.is-active .route-diversion {
  animation-delay: .55s;
}

.narrative-overhaul .problem-chapter.is-active .route-marker {
  transform-box: fill-box;
  transform-origin: center;
  animation: markerPulse 1.5s .9s ease both;
}

@keyframes routeDraw { to { stroke-dashoffset: 0; } }
@keyframes markerPulse {
  0% { opacity: 0; transform: scale(.5); }
  55% { opacity: 1; transform: scale(1.25); }
  100% { opacity: 1; transform: scale(1); }
}

/* Responsive ------------------------------------------------------------- */

@media (max-width: 1180px) {
  :root { --shell-wide: min(100% - 40px, 1180px); }
  .journey-chapters { display: none; }
  .narrative-overhaul .hero-collage {
    grid-template-columns: minmax(0, 1fr);
  }
  .narrative-overhaul .eore-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .narrative-overhaul .eore-panel + .eore-panel { border-left: 1px solid var(--journey-line); }
  .narrative-overhaul .eore-panel:nth-child(even) { margin-top: 20px; }
  .narrative-overhaul .partner-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .narrative-overhaul .partner-card { grid-column: span 4; }
  .narrative-overhaul .partner-card:nth-child(9) { grid-column: span 4; }
  .narrative-overhaul .partner-card:nth-child(10) { grid-column: 3 / span 4; }
  .narrative-overhaul .partner-card:nth-child(11) { grid-column: 7 / span 4; }
}

@media (max-width: 1320px) and (min-width: 901px) {
  .narrative-overhaul .nav-links { gap: 16px; }
  .narrative-overhaul .nav-links a { font-size: 10px; }
  .narrative-overhaul .gt { max-width: 112px; }
  .narrative-overhaul .goog-te-combo { max-width: 112px; }
}

@media (max-width: 900px) {
  :root { --shell-wide: min(100% - 30px, 800px); }

  body.narrative-overhaul { background-attachment: scroll; }

  .narrative-overhaul .site-header {
    background: rgba(245,242,233,.94);
    color: var(--journey-ink);
  }

  .narrative-overhaul .site-header .nav-toggle {
    color: var(--journey-ink) !important;
  }

  .narrative-overhaul .hero-collage {
    display: grid;
    min-height: calc(100svh - var(--nav-h));
    padding-block: 80px 50px;
  }

  .narrative-overhaul .hero-inner {
    width: min(82vw, 640px);
    align-self: start;
    margin-top: 8vh;
  }
  .narrative-overhaul .hero h1 {
    max-width: 10.5ch;
    font-size: clamp(47px, 11vw, 76px);
  }

  .narrative-overhaul .hero-story {
    position: absolute;
    inset: 29% -36% -9% -30%;
    width: auto;
    margin: 0;
    opacity: .76;
  }
  .narrative-overhaul .hero-scene { transform: none; }

  .narrative-overhaul .hero-phase {
    position: absolute;
    right: 24px;
    bottom: 28px;
    width: min(280px, 66vw);
  }

  .problem-layout {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .problem-copy h2 { font-size: clamp(48px, 11vw, 78px); }
  .problem-evidence { max-width: 520px; justify-self: end; }

  .narrative-overhaul .eore .sec-head,
  .narrative-overhaul .landrelease .sec-head,
  .narrative-overhaul .dashboard .sec-head {
    grid-template-columns: 1fr;
  }

  .narrative-overhaul .eore .sec-head .eyebrow,
  .narrative-overhaul .landrelease .sec-head .eyebrow,
  .narrative-overhaul .dashboard .sec-head .eyebrow { grid-column: 1; }

  .narrative-overhaul .eore-track { grid-template-columns: 1fr 1fr; }

  .narrative-overhaul .lr-layout { grid-template-columns: 1fr; }
  .narrative-overhaul .lr-stage-wrap {
    position: relative;
    top: auto;
  }
  .narrative-overhaul .lr-step { min-height: 0; }

  .narrative-overhaul .impact-card,
  .narrative-overhaul .impact-feature { grid-column: span 6; }
  .narrative-overhaul .impact-card:nth-child(3),
  .narrative-overhaul .impact-card:nth-child(5) { margin-top: 0; }
  .narrative-overhaul .impact-card:nth-child(4) { grid-column: span 6; }
  .narrative-overhaul .impact-card:nth-child(5) { grid-column: 1 / -1; }

  .narrative-overhaul .about-layout { grid-template-columns: 1fr; }
  .narrative-overhaul .timeline { margin-top: 50px; }
  .narrative-overhaul .svc-card,
  .narrative-overhaul .svc-card.svc-wide,
  .narrative-overhaul .svc-card:first-child,
  .narrative-overhaul .svc-card:nth-child(3),
  .narrative-overhaul .svc-card:nth-child(4),
  .narrative-overhaul .svc-card:nth-child(5) {
    grid-column: span 6;
  }
  .narrative-overhaul .partner-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .narrative-overhaul .partner-card,
  .narrative-overhaul .partner-card:nth-child(9),
  .narrative-overhaul .partner-card:nth-child(10) {
    grid-column: span 6;
  }
  .narrative-overhaul .partner-card:nth-child(11) { grid-column: 4 / span 6; }

  .narrative-overhaul .stories,
  .narrative-overhaul #news,
  .narrative-overhaul .about-section,
  .narrative-overhaul #donor-assurance,
  .narrative-overhaul .services,
  .narrative-overhaul #partners,
  .narrative-overhaul #contact,
  .narrative-overhaul .grievance { background-attachment: scroll; }
}

@media (max-width: 640px) {
  :root {
    --shell-wide: calc(100% - 22px);
    --journey-shadow: 7px 9px 0 rgba(24,36,29,.18);
  }

  .world-layer img { object-position: 58% bottom; }
  .world-horizon { background: linear-gradient(180deg, rgba(12,25,18,.42), transparent 45%, rgba(18,29,21,.5)); }

  .narrative-overhaul .hero-collage {
    padding-top: 28px;
    padding-bottom: 34px;
  }
  .narrative-overhaul .hero-inner {
    width: 100%;
    margin-top: 0;
  }
  .narrative-overhaul .hero-topline {
    align-items: flex-start;
    flex-direction: column;
  }
  .narrative-overhaul .hero h1 {
    max-width: 100%;
    font-size: clamp(40px, 12vw, 52px);
    line-height: .92;
  }
  .narrative-overhaul .hero-story {
    inset: 35% -64% -1% -58%;
    width: auto;
    margin-left: 0;
  }

  .narrative-overhaul .hero-phase {
    right: 10px;
    bottom: 18px;
    width: min(248px, 72vw);
    margin: 0;
    padding: 13px 14px;
    border: 1px solid rgba(245,242,233,.2);
    border-left: 3px solid var(--journey-red);
    background: rgba(13,27,18,.48);
    box-shadow: none;
  }

  .problem-chapter { min-height: 100svh; }
  .problem-layout { padding-block: 110px 150px; }
  .problem-copy h2 { font-size: clamp(41px, 13vw, 62px); }
  .problem-copy > p:last-child { font-size: 16px; }
  .problem-evidence { justify-self: stretch; padding: 25px; }
  .evidence-figure { align-items: flex-start; flex-direction: column; }
  .problem-route {
    width: 100%;
    min-width: 0;
    transform: none;
  }

  .narrative-overhaul .eore .sec-head,
  .narrative-overhaul .landrelease .sec-head { display: block; }
  .narrative-overhaul .eore .sec-head h2,
  .narrative-overhaul .landrelease .sec-head h2,
  .narrative-overhaul #outcomes .sec-head h2,
  .narrative-overhaul .about-section .sec-head h2,
  .narrative-overhaul .services .sec-head h2,
  .narrative-overhaul #partners .sec-head h2 {
    font-size: clamp(40px, 12vw, 62px);
  }
  .narrative-overhaul .eore .sec-head p,
  .narrative-overhaul .landrelease .sec-head p { margin-top: 24px; }

  .narrative-overhaul .eore-track {
    display: flex;
    gap: 12px;
    padding: 0 0 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  .narrative-overhaul .eore-panel {
    flex: 0 0 88%;
    min-height: 520px;
    scroll-snap-align: start;
  }
  .narrative-overhaul .eore-panel:nth-child(even) { margin-top: 0; }
  .narrative-overhaul .eore-panel + .eore-panel { border-left: 1px solid var(--journey-line); }

  .narrative-overhaul .lr-stage { transform: none; }
  .narrative-overhaul .lr-step { padding-inline: 12px; }

  .narrative-overhaul .impact-grid { display: block; }
  .narrative-overhaul .impact-card,
  .narrative-overhaul .impact-feature {
    min-height: 0;
    margin: 0 0 14px !important;
  }

  .narrative-overhaul .impact-strip .shell,
  .narrative-overhaul .dashboard > .shell,
  .narrative-overhaul .stories > .shell,
  .narrative-overhaul #news > .shell {
    padding: 28px 20px;
  }

  .narrative-overhaul .strip-grid { display: grid; grid-template-columns: 1fr 1fr; }
  .narrative-overhaul .strip-grid .stat {
    min-height: 150px;
    border-right: 0;
    border-bottom: 1px solid var(--journey-line);
  }
  .narrative-overhaul .strip-grid .stat:nth-child(odd) { border-right: 1px solid var(--journey-line); }

  .narrative-overhaul .dashboard > .shell { transform: none; }
  .narrative-overhaul .purpose-grid { display: block; }
  .narrative-overhaul .purpose-statement + .purpose-statement {
    border-left: 0;
    border-top: 1px solid var(--journey-line);
  }

  .narrative-overhaul .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }
  .narrative-overhaul .gallery-item,
  .narrative-overhaul .gallery-item:first-child,
  .narrative-overhaul .gallery-item:nth-child(4),
  .narrative-overhaul .gallery-item:nth-child(5) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .narrative-overhaul .gallery-item:first-child { grid-column: 1 / -1; grid-row: span 2; }

  .narrative-overhaul .assurance-feature-head,
  .narrative-overhaul .assurance-body { padding: 26px 20px; }
  .narrative-overhaul .assurance-feature-head h3 { font-size: clamp(39px, 11vw, 56px); }

  .narrative-overhaul .svc-grid,
  .narrative-overhaul .partner-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .narrative-overhaul .svc-card,
  .narrative-overhaul .svc-card.svc-wide,
  .narrative-overhaul .svc-card:first-child,
  .narrative-overhaul .svc-card:nth-child(3),
  .narrative-overhaul .svc-card:nth-child(4),
  .narrative-overhaul .svc-card:nth-child(5),
  .narrative-overhaul .partner-card,
  .narrative-overhaul .partner-card:nth-child(9),
  .narrative-overhaul .partner-card:nth-child(10),
  .narrative-overhaul .partner-card:nth-child(11) {
    grid-column: 1;
  }
  .narrative-overhaul .svc-card { min-height: 0; }
  .narrative-overhaul .partner-card { min-height: 112px; }
}

@media (prefers-reduced-transparency: reduce) {
  .narrative-overhaul .hero-phase,
  .narrative-overhaul .svc-card {
    background: rgba(19,35,24,.94);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --world-bloom: 1 !important;
    --journey-progress: 1 !important;
  }

  .world-barren { opacity: 0; }
  .world-restored { opacity: 1; clip-path: none; }

  .narrative-overhaul *,
  .narrative-overhaul *::before,
  .narrative-overhaul *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .narrative-overhaul .hero-story,
  .narrative-overhaul .lr-stage,
  .narrative-overhaul .dashboard > .shell { transform: none !important; }
}
