/* ============================================================
   ECDP — Coming Soon (CS-02)
   National, premium, cinematic. The road is the motion language:
   Federation → road → rider → connections → national system → ECDP.
   Ethiopian green / yellow / red appear as controlled kinetic accents.
   ============================================================ */

/* ---------------------------------------------------------------- fonts
   Public-safe typography (CS-03F). Only license-clear faces are served:
   Bela Bereka (OFL per Font.et package) and Menbere (OFL in metadata,
   delivered as a Latin+Ethiopic subset — original source untouched).
   Benaiah and SurGraphics remain in assets/fonts/proto/, deliberately
   UNREFERENCED until their licensing is resolved. */

@font-face {
  font-family: 'Bela Bereka';
  src: url('../fonts/web/BelaBereka.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Menbere';
  src: url('../fonts/web/Menbere-VF-subset.woff2') format('woff2');
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Warm white light system — composed for light, not inverted. */
  --bg: #faf9f6;
  --bg-raised: #f2f0ea;
  --bg-deep: #08090b;           /* the cinematic human chapter stays dark */
  --line: #ddd9cf;
  --line-strong: #b7b1a3;
  --text: #1d2126;
  --text-dim: #494f57;
  --text-faint: #757c85;
  --et-green: #12854a;
  --et-yellow: #d9a406;
  --et-red: #c93a32;
  --et-blue: #1f4e9c;
  --font-stack: "Avenir Next", "Avenir", "Helvetica Neue", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  /* Public-safe typography tokens (CS-03F mapping). */
  --font-display-am: "Bela Bereka", "Noto Sans Ethiopic", "Kefa", "Nyala", sans-serif;
  --font-structural: "Menbere", "Noto Sans Ethiopic", var(--font-stack);
  --font-body: "Menbere", "Noto Sans Ethiopic", "Kefa", var(--font-stack);
  --font-callout: "Bela Bereka", "Noto Sans Ethiopic", sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 76px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

::selection { background: rgba(18, 133, 74, 0.18); }

/* ------------------------------------------------ layout primitives */

.section { position: relative; padding: clamp(5rem, 12vh, 9rem) 1.5rem; }
.section-inner { max-width: 68rem; margin: 0 auto; }
.section-inner-narrow { max-width: 46rem; }

.eyebrow {
  font-family: var(--font-structural);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.4rem;
}

.section-title {
  font-family: var(--font-structural);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  max-width: 46rem;
  text-wrap: balance;
}

.statement {
  font-family: var(--font-structural);
  font-size: clamp(1.9rem, 4.6vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
}

.section-lead {
  margin-top: 1.5rem;
  max-width: 42rem;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  color: var(--text-dim);
}

/* ------------------------------------------------ scroll reveals */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { transform: none; transition: opacity 0.5s ease; }
}

/* ============================================================ HEADER */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
  padding: 0 clamp(1rem, 3vw, 2.2rem);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out),
              background-color 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
  pointer-events: none;
}
.intro-done .site-header {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.site-header.is-scrolled {
  background: rgba(250, 249, 246, 0.86);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 18px rgba(29, 33, 38, 0.06);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

/* Dark integrated identity: official symbol at recognizable size beside
   the Federation name. The full lockup lives in the footer, where its
   Amharic/English text is actually readable. */
.header-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}
.header-symbol { height: 56px; width: auto; flex: none; }
.header-fed {
  font-family: var(--font-structural);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.35;
  color: var(--text);
}

.header-status {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  white-space: nowrap;
}
.header-ecdp {
  font-family: var(--font-structural);
  font-weight: 700;
  letter-spacing: 0.22em;
  font-size: 0.95rem;
}
.header-soon {
  font-family: var(--font-structural);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-faint);
}

@media (max-width: 700px) {
  :root { --header-h: 62px; }
  .header-symbol { height: 42px; }
  .header-fed { font-size: 0.66rem; letter-spacing: 0.1em; }
  .header-soon { display: none; }
}

/* ============================================================ HERO */

.hero {
  position: relative;
  min-height: 100vh;   /* Safari < 15.4 fallback */
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  padding-top: var(--header-h);
}

/* ?static capture mode: fixed hero height so full-page screenshots work */
.static-mode .hero { min-height: 60rem !important; }

.hero-layer {
  position: absolute;
  inset: -3%;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}

/* Layer 1 — faint geographic route texture */
.hero-texture { width: 100%; height: 100%; }
.texture-road { fill: none; stroke: var(--line); stroke-width: 1; opacity: 0.5; }
.texture-road.faint { opacity: 0.25; }

/* Layers 2–3 — the living network (nodes are discoverable/tappable) */
.hero-network { width: min(1180px, 104%); height: min(80vh, 700px); }
.hero-network .cnet-node { cursor: pointer; }

/* Layer 4 — official identity & headline */
.hero-copy {
  position: relative;
  inset: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  /* Bottom clearance keeps the closing statement off the next section and
     leaves the scroll cue its own space. */
  padding: 0 1.25rem clamp(6rem, 11vh, 7.5rem);
  max-width: 60rem;
  z-index: 2;
  /* The whole hero copy is click-transparent so pointer travel, taps and
     node grabs reach the network behind it. */
  pointer-events: none;
}

.logo-stage {
  position: relative;
  /* Institutional anchor: ~300–340px desktop, ~260–300 laptop,
     ~260–280 tablet. Mobile is set in the small-screen block below. */
  width: clamp(200px, min(34vh, 32vw), 340px);
  aspect-ratio: 1;
  transition: transform 1.25s var(--ease-out);
  will-change: transform;
}
.hero.is-resolved .logo-stage { transition-duration: 0.5s; }
/* Very subtle spatial lift when the pointer approaches the symbol. */
.hero.is-resolved .logo-stage.is-lift { transform: translateY(-4px); }

.logo-parallax {
  position: absolute;
  inset: 0;
  will-change: transform;
}
/* During the cinematic build the symbol rides larger and centred. */
.js .hero:not(.is-resolved) .logo-stage {
  transform: translateY(min(16vh, 150px)) scale(1.5);
}

.logo-build,
.logo-clean {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.6s ease;
}
.logo-clean { opacity: 0; }
.logo-stage.is-complete .logo-clean { opacity: 1; }
.logo-stage.is-complete .logo-build { opacity: 0; }

/* Component reveals — compositing only, artwork untouched. */
.logo-part {
  opacity: 0;
  transform-box: view-box;
  transition: opacity 0.85s var(--ease-out), transform 1s var(--ease-out);
}
.part-road { transform: translateX(-34px); }
.part-mountains { transform: translateY(26px); }
.part-cyclist { transform: translateX(-42px); }
.part-trails { transform: translateX(-66px); }
.logo-part.is-on { opacity: 1; transform: none; }

.part-emblem.is-pulse {
  animation: emblem-pulse 0.9s var(--ease-out);
  transform-origin: 333px 431px;
}
@keyframes emblem-pulse {
  0% { transform: scale(1); }
  45% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

.hero-text { margin-top: clamp(1.2rem, 3vh, 2.2rem); }

/* One concise editorial statement per activated node. */
.hero-caption {
  min-height: 1.9em;
  margin-top: 1.1rem;
  font-size: 1.05rem;
  color: var(--text-dim);
}

/* The bilingual announcement closing the first screen — part of the hero
   composition, not a card. */
.hero-soon {
  margin-top: clamp(1.5rem, 4vh, 2.8rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.4rem, 1.2vh, 0.8rem);
}
.hero-soon::before {
  content: "";
  display: block;
  width: clamp(2.6rem, 8vw, 4rem);
  height: 2px;
  border-radius: 2px;
  margin-bottom: clamp(0.7rem, 2vh, 1.2rem);
  background: linear-gradient(90deg, var(--et-green), var(--et-yellow), var(--et-red));
}
.soon-en {
  font-family: var(--font-structural);
  font-weight: 700;
  font-size: clamp(1.85rem, 8.4vw, 4rem);
  letter-spacing: 0.08em;
  line-height: 1.05;
  color: var(--text);
}
.soon-am {
  font-family: var(--font-display-am);
  font-size: clamp(1.75rem, 8vw, 3.6rem);
  line-height: 1.35;
  color: var(--text);
}

.hero-title {
  font-family: var(--font-structural);
  font-size: clamp(1.7rem, 4.4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.14;
  text-wrap: balance;
}

/* Amharic leads — Ethiopian first, internationally understandable. */
.hero-am {
  font-family: var(--font-display-am);
  font-size: clamp(1.7rem, 4.2vw, 3.1rem);
  line-height: 1.45;
  margin-bottom: clamp(0.8rem, 2vh, 1.3rem);
  color: var(--text);
}

.hero-sub {
  margin: 1.4rem auto 0;
  max-width: 38rem;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  letter-spacing: 0.04em;
  color: var(--text-dim);
}

.js .reveal-hero {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
}
.js .hero.is-resolved .reveal-hero { opacity: 1; transform: none; }
.js .hero.is-resolved .hero-sub { transition-delay: 0.18s; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal-hero { transform: none; transition: opacity 0.6s ease; }
  .js .hero:not(.is-resolved) .logo-stage { transform: none; }
  .logo-part { transition: opacity 0.5s ease; transform: none; }
  .part-emblem.is-pulse { animation: none; }
}

.hero-scrollcue {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scrollcue-line {
  display: block;
  width: 1px;
  height: 3.4rem;
  background: linear-gradient(to bottom, transparent, var(--text-faint));
  animation: scrollcue 2.6s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollcue {
  0%, 100% { transform: scaleY(0.55); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 0.9; }
}
@media (prefers-reduced-motion: reduce) {
  .scrollcue-line { animation: none; }
}

/* ============================================================ NETWORK SVG (shared engine styles) */

.cnet { display: block; }

.cnet-flourish {
  fill: none;
  stroke: var(--line);
  stroke-width: 1;
  opacity: 0.4;
}

.cnet-route {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 1.5;
  opacity: 0;
  transition: stroke-dashoffset 3.2s var(--ease-out), opacity 0.8s ease;
}
.cnet-route.is-drawing { opacity: 0.95; }
.is-settled .cnet-route { opacity: 0.3; }
.no-motion .cnet-route { transition: none; }

.cnet-edge {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.2;
  opacity: 0;
  transition: opacity 0.9s ease, stroke 0.45s ease;
}
.cnet-edge.is-visible { opacity: 0.9; }
.cnet-edge.is-related { stroke: var(--et-green); stroke-width: 1.7; opacity: 1; }
.has-active .cnet-edge:not(.is-related) { opacity: 0.16; }

.cnet-node { opacity: 0; transition: opacity 0.8s ease; outline: none; }
.cnet-node.is-visible { opacity: 1; }

.cnet-node-visual { transition: transform 0.45s var(--ease-out); }
.cnet-node.is-near .cnet-node-visual { transform: scale(1.14); }
.cnet-node.is-active .cnet-node-visual { transform: scale(1.4); }
.cnet-node.is-related .cnet-node-visual { transform: scale(1.12); }

.cnet-node-core { fill: #343a42; transition: fill 0.4s ease; }
.cnet-node-halo {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 1;
  opacity: 0.65;
  transition: stroke 0.4s ease, opacity 0.4s ease;
}
.cnet-node.is-near .cnet-node-halo { stroke: var(--text-faint); opacity: 0.9; }
.cnet-node.is-active .cnet-node-core { fill: var(--et-green); }
.cnet-node.is-active .cnet-node-halo { stroke: var(--et-green); opacity: 0.95; }
.cnet-node.is-related .cnet-node-core { fill: #1d2126; }
.has-active .cnet-node:not(.is-active):not(.is-related) { opacity: 0.35; }

/* Invisible touch target (coarse pointers only): the painted node is only
   a few pixels wide on a phone. */
.cnet-node-hit {
  fill: transparent;
  pointer-events: all;
}

.cnet-node-focus {
  fill: none;
  stroke: transparent;
  stroke-width: 1.8;
  stroke-dasharray: 4 4;
}
.cnet-node:focus-visible .cnet-node-focus { stroke: var(--et-yellow); }

.explore-network .cnet-node { cursor: pointer; }

/* Elastic drag: grab → tension → release. */
.cnet:not(.no-motion) .cnet-node { cursor: grab; }
.cnet:not(.no-motion) .cnet-node.is-grabbed { cursor: grabbing; }
.cnet.is-dragging { touch-action: none; }
.cnet-node.is-grabbed .cnet-node-halo { stroke: var(--et-green); opacity: 1; }

.cnet-label {
  fill: var(--text-faint);
  font-family: var(--font-structural);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: fill 0.4s ease, opacity 0.4s ease;
  pointer-events: none;
}
.cnet-node.is-near .cnet-label { fill: var(--text-dim); }
.cnet-node.is-active .cnet-label { fill: var(--text); }
.cnet-node.is-related .cnet-label { fill: var(--text-dim); }

.cnet-pulse { fill: var(--text-dim); }
.cnet-pulse.is-green { fill: var(--et-green); }
.cnet-pulse.is-yellow { fill: var(--et-yellow); }
.cnet-pulse.is-red { fill: var(--et-red); }
.cnet-pulse.is-neutral { fill: var(--text-faint); }

@media (max-width: 700px) {
  /* Labels stay out of the way until a story or tap reaches a node — except
     under reduced motion, where the static network names itself instead. */
  .hero-network:not(.no-motion) .cnet-node:not(.is-active):not(.is-related) .cnet-label { display: none; }
  .hero-network .cnet-label { font-size: 24px; }
  .hero-network { height: 66vh; opacity: 0.85; }
  /* The official symbol is the anchor of the small screen: larger, and given
     real space before the Amharic headline. Its top edge is already pinned
     just under the fixed header, so the composition opens downward. */
  .logo-stage {
    width: clamp(208px, 56vw, 232px);
    /* The artwork carries ~19% transparent padding, so lifting the box keeps
       the visible symbol ~15px clear of the fixed header while the whole
       composition rises. */
    margin-top: clamp(-30px, -7.5vw, -24px);
  }
  .hero-text { margin-top: clamp(2rem, 6vh, 3.2rem); }
  /* Stories reveal labels behind the copy: a soft halo in the page colour
     keeps the headline legible without adding a visible shadow. */
  .hero-am, .hero-title, .hero-sub, .soon-en, .soon-am {
    text-shadow: 0 0 10px var(--bg), 0 0 18px var(--bg), 0 0 26px var(--bg);
  }
}

/* ---------------- discovery mode (hero): dormant → found through travel */

.cnet--discover .cnet-edge { opacity: 0; }
.cnet--discover .cnet-edge.is-related { opacity: 1; }
.cnet--discover.no-motion .cnet-edge.is-visible { opacity: 0.85; }

.cnet--discover .cnet-node { opacity: 0; transition: opacity 0.7s ease; }
.cnet--discover .cnet-node.is-hint { opacity: 0.32; }
.cnet--discover .cnet-node.is-visible { opacity: 0.8; }
.cnet--discover .cnet-node.is-related,
.cnet--discover .cnet-node.is-active { opacity: 1; }
.cnet--discover.no-motion .cnet-node { opacity: 1; }

.cnet--discover .cnet-label { opacity: 0; }
.cnet--discover .cnet-node.is-active .cnet-label,
.cnet--discover .cnet-node.is-related .cnet-label { opacity: 1; }
.cnet--discover.no-motion .cnet-label { opacity: 1; }

/* Waking hints breathe slightly brighter while the symbol is approached. */
.cnet--discover.is-heart-awake .cnet-node.is-hint { opacity: 0.6; }

/* Calm ambient: after every mobile story has been told, the whole network
   stays softly present instead of looping. */
.cnet--discover.is-calm .cnet-node.is-visible { opacity: 0.62; }
.cnet--discover.is-calm .cnet-edge.is-visible { opacity: 0.45; }

/* ============================================================ SECTION 2 — FULL-BLEED NETWORK */

.section-network {
  padding-inline: 0;
  padding-bottom: clamp(3rem, 8vh, 6rem);
  overflow: hidden;
}
.section-network .section-inner { text-align: center; padding: 0 1.5rem; }
.section-network .section-lead { margin-inline: auto; }

/* The network is part of the world — no card, no frame. Routes bleed
   past the viewport edges. */
.network-stage {
  position: relative;
  margin-top: clamp(1.5rem, 4vh, 3rem);
}
.network-stage::before,
.network-stage::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  height: 90px;
  pointer-events: none;
  z-index: 1;
}
.network-stage::before { top: 0; background: linear-gradient(to bottom, var(--bg), transparent); }
.network-stage::after { bottom: 3.6rem; background: linear-gradient(to top, var(--bg), transparent); }

.explore-network {
  width: 100%;
  height: clamp(460px, 76vh, 780px);
  touch-action: pan-y;
}

.network-caption {
  position: relative;
  z-index: 2;
  min-height: 3.4em;
  margin-top: 0.4rem;
  padding: 0 1.25rem;
  font-size: 1.05rem;
  color: var(--text-dim);
  text-align: center;
}
.network-caption strong { color: var(--text); font-weight: 600; }
.caption-rel { color: var(--text-faint); }

/* ============================================================ SECTION 3 — THE JOURNEY */

.section-journey { overflow: hidden; }
.section-journey .section-inner { text-align: center; }
.section-journey .statement { margin-inline: auto; max-width: 50rem; }

.journey {
  position: relative;
  max-width: 74rem;
  margin: clamp(2rem, 5vh, 3.4rem) auto 0;
}

.journey-road {
  position: absolute;
  left: 50%;
  top: 0;
  height: 100%;
  width: 200px;
  transform: translateX(-50%);
  pointer-events: none;
}
#journey-path {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 2;
  opacity: 0.85;
}

.journey-stations {
  list-style: none;
  position: relative;
  z-index: 1;
}

.journey-station {
  position: relative;
  padding: clamp(0.7rem, 1.8vh, 1.2rem) 0;
  width: 50%;
}
.journey-station:nth-child(odd) {
  margin-right: auto;
  text-align: right;
  padding-right: clamp(2.4rem, 5vw, 4.5rem);
}
.journey-station:nth-child(even) {
  margin-left: auto;
  text-align: left;
  padding-left: clamp(2.4rem, 5vw, 4.5rem);
  /* Interleave the two sides so the journey reads as one connected
     descent along the road, not a sparse alternating list. */
  margin-top: clamp(-4rem, -8vh, -2.5rem);
}
.journey-station:first-child { margin-top: 0; }

/* Each concept meets the road: a station marker on the centre line. */
.journey-station::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  transform: translateY(-50%);
}
.journey-station:nth-child(odd)::before { right: -4.5px; }
.journey-station:nth-child(even)::before { left: -4.5px; }
.js .journey-station.is-in::before { background: var(--text-dim); }

.journey-am {
  font-family: var(--font-display-am);
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.5;
  margin-bottom: 0.8rem;
}

.journey-station h3 {
  font-family: var(--font-structural);
  font-size: clamp(1.6rem, 3.1vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.12;
}
.journey-station h3::after {
  content: "";
  display: block;
  width: 2.2rem;
  height: 3px;
  border-radius: 2px;
  margin-top: 0.55rem;
  background: var(--et-green);
}
.journey-station:nth-child(odd) h3::after { margin-left: auto; }
.journey-station:nth-child(3n + 2) h3::after { background: var(--et-yellow); }
.journey-station:nth-child(3n) h3::after { background: var(--et-red); }

.journey-station p {
  margin-top: 0.55rem;
  font-size: 1.06rem;
  color: var(--text-dim);
  max-width: 24rem;
}
.journey-station:nth-child(odd) p { margin-left: auto; }

.scope-note {
  display: block;
  margin-top: clamp(2.4rem, 6vh, 4rem);
  font-size: 1rem;
  color: var(--text-faint);
  max-width: 42rem;
  text-align: center;
}

@media (max-width: 760px) {
  .journey-road {
    left: 17px;
    transform: none;
    width: 56px;
  }
  .journey-station,
  .journey-station:nth-child(odd),
  .journey-station:nth-child(even) {
    width: auto;
    margin: 0;
    text-align: left;
    padding: 1rem 0 1rem 4.4rem;
  }
  .journey-station:nth-child(odd) h3::after { margin-left: 0; }
  .journey-station:nth-child(odd) p { margin-left: 0; }
  .journey-station:nth-child(odd)::before,
  .journey-station:nth-child(even)::before { left: 40px; right: auto; }
}

/* ============================================================ SECTION 4 — THE PATH */

.section-path { border-block: 1px solid var(--line); background: var(--bg-raised); }

.path-steps {
  list-style: none;
  margin-top: clamp(2.2rem, 5vh, 3.4rem);
  position: relative;
  padding-left: 2.4rem;
}
.path-steps::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 0.9rem;
  bottom: 0.9rem;
  width: 3px;
  border-radius: 3px;
  background: var(--line-strong);
}
.js .path-steps::before {
  transform: scaleY(var(--path-progress, 0));
  transform-origin: top;
  transition: transform 0.2s linear;
  background: linear-gradient(to bottom, var(--et-green), var(--et-yellow), var(--et-red));
}
@media (prefers-reduced-motion: reduce) {
  .js .path-steps::before { transform: none; background: var(--line-strong); }
}

.path-step { position: relative; padding: 1.15rem 0; }
.path-step::before {
  content: "";
  position: absolute;
  left: -2.13rem;
  top: 1.85rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line-strong);
}
.js .path-step.is-in::before { background: var(--text-dim); }

.path-word {
  display: block;
  font-family: var(--font-structural);
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.path-desc {
  display: block;
  color: var(--text-dim);
  font-size: 1.02rem;
  margin-top: 0.2rem;
}

/* ============================================================ DISCIPLINE */

.section-discipline { text-align: center; }
.section-discipline .section-lead,
.section-discipline .section-title { margin-inline: auto; }

/* ============================================================ FINAL CLOSE */

.section-close {
  padding-block: clamp(8rem, 20vh, 14rem);
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 50% 45%, #ffffff 0%, rgba(255, 255, 255, 0) 70%),
    var(--bg);
}

.converge {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.converge-route {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 1.2;
  opacity: 0;
  transition: stroke-dashoffset 2.4s var(--ease-out), opacity 0.8s ease;
}
.converge-route.is-drawing { opacity: 0.55; }
@media (prefers-reduced-motion: reduce) {
  .converge-route { transition: none; }
}

.close-inner { position: relative; z-index: 1; }

.close-symbol {
  width: clamp(210px, min(40vh, 70vw), 370px);
  height: auto;
  margin-bottom: clamp(1.8rem, 4.5vh, 3rem);
  filter: drop-shadow(0 10px 30px rgba(29, 33, 38, 0.16));
}

.close-title { line-height: 1.06; }
.close-line {
  display: block;
  font-family: var(--font-structural);
  font-size: clamp(1.1rem, 4.6vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* The closing Amharic statement — Bela Bereka's strongest moment. */
.close-am {
  font-family: var(--font-display-am);
  font-size: clamp(1.6rem, 4.2vw, 3.2rem);
  line-height: 1.5;
  margin-top: 1.6rem;
}
.close-line.accent {
  color: transparent;
  background: linear-gradient(90deg, var(--et-green), var(--text) 34%, var(--text) 66%, var(--et-red));
  -webkit-background-clip: text;
  background-clip: text;
}

/* The closing belongs to Amharic; English follows smaller. */
.close-am {
  margin-top: 0;
  margin-bottom: clamp(1.4rem, 3.5vh, 2.4rem);
  font-size: clamp(2.2rem, 6.4vw, 4.8rem);
  line-height: 1.35;
}

.close-soon {
  font-family: var(--font-structural);
  margin-top: 2.6rem;
  font-size: 0.95rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.close-soon::after {
  content: "";
  display: block;
  width: 3.4rem;
  height: 2px;
  margin: 1.2rem auto 0;
  background: linear-gradient(90deg, var(--et-green), var(--et-yellow), var(--et-red));
  border-radius: 2px;
}

/* ============================================================ CINEMATIC ENTRANCE */

.cine[hidden] { display: none; }

.cine {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease;
}
.cine.is-leaving { opacity: 0; pointer-events: none; }

.cine-media {
  position: relative;
  width: min(94vw, 178vh, 1080px);   /* Safari < 15.4 fallback */
  width: min(94vw, 178svh, 1080px);
  aspect-ratio: 854 / 480;
}
.cine-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Blend the generated film into the darkness — no rectangle. */
  -webkit-mask-image: radial-gradient(115% 105% at 50% 50%, #000 58%, transparent 88%);
  mask-image: radial-gradient(115% 105% at 50% 50%, #000 58%, transparent 88%);
}

/* Official logo lock: the exact artwork resolves over the generated
   representation in the final beats — position/scale matched to footage. */
.cine-lock {
  position: absolute;
  left: 47.8%;
  top: 46.6%;
  height: 76%;
  width: auto;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.55s ease;
  will-change: transform, opacity;
}
.cine.is-locking .cine-lock { opacity: 1; }

/* Dawn: after the official symbol locks, soft light expands outward and
   the dark cinema becomes the warm white page — no abrupt flash. */
.cine-dawn {
  position: absolute;
  inset: -60%;
  background: radial-gradient(circle at 50% 47%, var(--bg) 0%, var(--bg) 30%, rgba(250, 249, 246, 0) 68%);
  opacity: 0;
  transform: scale(0.2);
  transition: opacity 0.6s ease, transform 1.3s var(--ease-out);
  pointer-events: none;
}
.cine.is-dawn .cine-dawn {
  opacity: 1;
  transform: scale(2.6);
}

.cine-skip {
  position: absolute;
  bottom: 2rem;
  right: 2.4rem;
  font-family: var(--font-structural);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-faint);
  cursor: pointer;
  padding: 0.6rem 1rem;
}
.cine-skip:hover { color: var(--text); }

/* ============================================================ THE RIDERS */

/* An intentional cinematic chapter: the warm white page darkens gradually
   around the athletes, then returns to light. */
.section-riders {
  background: linear-gradient(to bottom, var(--bg) 0%, var(--bg-deep) 17%, var(--bg-deep) 83%, var(--bg) 100%);
  overflow: hidden;
  padding-inline: 0;
  padding-block: clamp(7rem, 15vh, 11rem);
}
.riders-head { text-align: center; padding: 0 1.5rem; }
.section-riders .section-title { color: #f2f4f6; }
.section-riders .eyebrow { color: #98a1ab; }

.riders-stage {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 620px) 1fr;
  align-items: center;
  max-width: 100rem;
  margin: clamp(2rem, 5vh, 3.5rem) auto 0;
}

/* Athletes exist inside the dark ECDP world — no cards, no frames. */
.rider-media {
  position: relative;
  min-width: 0;
}
.rider-video {
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 45%, #000 55%, transparent 92%);
  mask-image: radial-gradient(120% 100% at 50% 45%, #000 55%, transparent 92%);
}
/* Bias each mask toward the athlete's side of frame. */
.rider-media--male .rider-video {
  -webkit-mask-image: radial-gradient(130% 115% at 32% 48%, #000 45%, transparent 88%);
  mask-image: radial-gradient(130% 115% at 32% 48%, #000 45%, transparent 88%);
}
.rider-media--female .rider-video {
  -webkit-mask-image: radial-gradient(130% 115% at 66% 48%, #000 45%, transparent 88%);
  mask-image: radial-gradient(130% 115% at 66% 48%, #000 45%, transparent 88%);
}

.riders-bridge { min-width: 0; }
.riders-road { width: 100%; height: auto; display: block; }
.riders-road-path {
  fill: none;
  stroke: #4d545e;
  stroke-width: 2;
  opacity: 0.9;
}
.riders-node circle {
  fill: #e8eaec;
  stroke: #4d545e;
}
.riders-node--core circle { fill: #23b563; }
.riders-node text {
  fill: #aab2bc;
  font-family: var(--font-structural);
  font-size: 17px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-anchor: middle;
}
.riders-node--core text { fill: #f2f4f6; }

/* Mobile vertical choreography uses the HTML chain instead of the SVG. */
.riders-chain { display: none; }

.riders-callout {
  margin-top: clamp(2rem, 5vh, 3.2rem);
  text-align: center;
  padding: 0 1.5rem;
}
/* Amharic leads this moment; English is small international support. */
.callout-am {
  display: block;
  font-family: var(--font-callout);
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.5;
  color: #f2f4f6;
}
.callout-en {
  display: block;
  margin-top: 0.9rem;
  color: #98a1ab;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .riders-stage {
    grid-template-columns: 1fr;
    max-width: 34rem;
    gap: 0;
  }
  .riders-bridge { display: none; }
  .riders-chain {
    display: flex;
    flex-direction: column;
    align-items: center;
    list-style: none;
    text-align: center;
    position: relative;
    padding: 1.6rem 0;
  }
  /* A vertical road threads the concepts between the two riders. */
  .riders-chain::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, transparent, #4d545e 18%, #4d545e 82%, transparent);
  }
  .riders-chain li {
    position: relative;
    z-index: 1;
    display: inline-block;
    clear: both;
    font-family: var(--font-structural);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: #aab2bc;
    background: var(--bg-deep);
    padding: 0.35rem 1rem;
    margin: 0.45rem 0;
  }
  .riders-chain-core { color: #f2f4f6; font-size: 1.05rem; }
  .riders-chain-core::before { content: "● "; color: var(--et-green); }
  /* Crop toward each athlete — they hold opposite sides of the frame. */
  .rider-media--male .rider-video,
  .rider-media--female .rider-video {
    height: clamp(300px, 96vw, 420px);
    object-fit: cover;
    -webkit-mask-image: radial-gradient(120% 110% at 50% 48%, #000 52%, transparent 92%);
    mask-image: radial-gradient(120% 110% at 50% 48%, #000 52%, transparent 92%);
  }
  .rider-media--male .rider-video { object-position: 12% center; }
  .rider-media--female .rider-video { object-position: 84% center; }
}

/* ============================================================ FOOTER */

.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-raised);
  padding: 3rem 1.5rem 3.4rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  text-align: center;
}
/* On the light system the official lockup sits directly on the page —
   no chip required. */
.footer-brand {
  height: 104px;
  width: auto;
}
.footer-platform {
  color: var(--text-faint);
  font-size: 0.92rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (max-width: 700px) {
  .footer-brand { height: 76px; }
}
