/* Oro del Sur · A2 "Editorial Immersive" (CP04 · P4-VIS-32). Mobile-first, no framework.
   Motion: transform/opacity only, inside prefers-reduced-motion: no-preference (bottom). */

/* ── Fonts (self-hosted, OFL 1.1; licences in /assets/fonts/) ───────────────── */
@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-latin.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/ibm-plex-sans-latin.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Tokens (P4 §5.1) ───────────────────────────────────────────────────────── */
:root {
  --white: #ffffff;
  --ink: #1b1e19;
  --graphite: #4b5047;
  --ochre: #7a5712;
  --slate: #2f4a5a;
  --rule: #d6d8d5;
  --mist: #f4f5f4;

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(1rem, 5vw, 7.5rem);
  --max: 90rem;
  --scene-pad: clamp(4.5rem, 3rem + 7vw, 10rem);
  --header-h: 4rem;

  --fast: 150ms;
  --base: 250ms;
  --slow: 400ms;
  --ease: cubic-bezier(0.2, 0, 0, 1);

  color-scheme: light;
}

/* ── Base ───────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.65;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--ochre); }
:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; border-radius: 1px; }
main:focus { outline: none; }
p + p { margin-top: 1em; }
[id] { scroll-margin-top: calc(var(--header-h) + 1.5rem); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: 0.75rem; z-index: 100;
  padding: 0.6rem 1rem; background: var(--ink); color: var(--white);
  font-weight: 500; transform: translateY(-200%);
}
.skip-link:focus { transform: none; color: var(--white); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ── Type ───────────────────────────────────────────────────────────────────── */
.display, .h2, .h3, .ruled-list__title, .steps__title, .process__title, .paths__title,
.contact-line, .site-footer__descriptor, .route__country, .statement, .faq dt {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.012em;
  hyphens: manual;
  overflow-wrap: break-word;
}
.display { line-height: 1.02; letter-spacing: -0.022em; text-wrap: balance; }
.display--hero { font-size: clamp(2.5rem, 1.45rem + 4.9vw, 6.75rem); max-width: 17ch; }
.display--page { font-size: clamp(2.25rem, 1.5rem + 3.4vw, 5.25rem); max-width: 20ch; }
.h2 { font-size: clamp(2rem, 1.35rem + 2.9vw, 4.25rem); line-height: 1.06; text-wrap: balance; }
.h2--xl { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 5rem); }
.h3 { font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem); line-height: 1.2; margin: 2.25rem 0 0.75rem; }
.h3:first-child { margin-top: 0; }
.lead { font-size: clamp(1.125rem, 1.02rem + 0.45vw, 1.375rem); line-height: 1.55; max-width: 56ch; }
.lead--narrow { max-width: 46ch; }
.split__body p:not(.lead):not(.link-row), .stack p { max-width: 64ch; }
.eyebrow, .scene-label, .footer-heading, .contact-lines dt, .facts dt, .address-list dt, .route__step, .steps__place {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.4;
}
.eyebrow { color: var(--graphite); margin-bottom: clamp(1.25rem, 3vw, 2.5rem); }
.scene-label { color: var(--ochre); margin-bottom: 1.25rem; }
.statement { font-size: clamp(1.5rem, 1.25rem + 1vw, 2.25rem); line-height: 1.2; margin-top: clamp(2.5rem, 5vw, 4rem); max-width: 30ch; }
.note { margin-top: 1.5rem; color: var(--graphite); font-size: 0.95em; }

/* ── Links & buttons ────────────────────────────────────────────────────────── */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0.75rem 1.5rem;
  font-family: var(--sans); font-size: 0.9375rem; font-weight: 500; line-height: 1.3;
  text-decoration: none; text-align: center; border: 1px solid var(--ink);
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.btn--primary { background: var(--ink); color: var(--white); }
.btn--primary:hover { background: var(--ochre); border-color: var(--ochre); color: var(--white); }
.btn--secondary { background: transparent; color: var(--ink); }
.btn--secondary:hover { border-color: var(--ochre); color: var(--ochre); }
.link-row { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; margin-top: 2rem; }
.link-arrow {
  display: inline-flex; align-items: baseline; gap: 0.5em;
  min-height: 1.5rem; font-weight: 500; text-decoration: underline;
  text-decoration-color: var(--rule); text-underline-offset: 0.35em;
}
.link-arrow:hover { text-decoration-color: currentColor; }
.link-arrow .arrow { transition: transform var(--fast) var(--ease); }
.link-arrow:hover .arrow { transform: translateX(0.2em); }
.link-arrow--quiet { font-weight: 400; color: var(--graphite); }

/* ── Header ─────────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }
.wordmark {
  font-family: var(--sans); font-weight: 600; font-size: 0.875rem; letter-spacing: 0.18em;
  text-transform: uppercase; text-decoration: none; white-space: nowrap; padding-block: 0.75rem;
}
.menu-toggle {
  display: inline-flex; align-items: center; gap: 0.625rem;
  min-height: 2.75rem; padding: 0.5rem 0; margin-right: -0.25rem;
  background: none; border: 0; color: var(--ink); cursor: pointer;
  font: 500 0.875rem/1 var(--sans); letter-spacing: 0.04em;
}
.menu-toggle__icon, .menu-toggle__icon::before {
  display: block; width: 1.25rem; height: 1px; background: currentColor;
  transition: transform var(--base) var(--ease);
}
.menu-toggle__icon { position: relative; transform: translateY(-3px); }
.menu-toggle__icon::before { content: ""; position: absolute; left: 0; top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before { transform: translateY(-6px) rotate(-90deg); }

.site-menu {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  padding: 1.5rem var(--gutter) 2rem;
  background: var(--white); border-bottom: 1px solid var(--rule);
}
.site-header.is-open .site-menu { display: block; }
.nav a {
  display: block; padding: 0.625rem 0;
  font-family: var(--serif); font-size: 1.75rem; line-height: 1.2; text-decoration: none;
}
.nav a[aria-current="page"] { color: var(--ochre); }
.lang { display: flex; align-items: center; gap: 0.5rem; margin-top: 1.25rem; font-size: 0.875rem; font-weight: 500; letter-spacing: 0.06em; }
.lang__item { display: inline-flex; align-items: center; min-height: 2.75rem; min-width: 1.75rem; }
.lang a.lang__item { color: var(--graphite); text-decoration: none; }
.lang a.lang__item:hover { color: var(--ochre); }
.lang__item.is-current { color: var(--ink); }
.lang__sep { color: var(--rule); }
.menu-actions { display: grid; gap: 0.25rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.menu-actions a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 500; }
.menu-actions p { color: var(--graphite); font-size: 0.9375rem; }

@media (min-width: 48em) {
  :root { --header-h: 4.5rem; }
  .menu-toggle { display: none; }
  .site-menu {
    display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3rem);
    position: static; max-height: none; overflow: visible; padding: 0; border: 0; background: none;
  }
  .nav ul { display: flex; gap: clamp(1.25rem, 2.5vw, 2.5rem); }
  .nav a {
    position: relative; padding: 0.75rem 0;
    font-family: var(--sans); font-size: 0.875rem; font-weight: 400; letter-spacing: 0.01em;
  }
  .nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0.45rem; height: 1px;
    background: currentColor; transform: scaleX(0); transform-origin: left;
    transition: transform var(--base) var(--ease);
  }
  .nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
  .nav a[aria-current="page"] { color: var(--ink); }
  .lang { margin: 0; padding-left: clamp(1rem, 2vw, 2rem); border-left: 1px solid var(--rule); }
  .menu-actions { display: none; }
}

/* ── Layout: scenes & editorial split ───────────────────────────────────────── */
.scene { padding-block: var(--scene-pad); border-top: 1px solid var(--rule); }
.split { display: grid; gap: 2rem; }
.split__head .h2 { max-width: 16ch; }
.stack__head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.stack__head .h2 { max-width: 20ch; }
@media (min-width: 64em) {
  .split { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1.5rem, 2.5vw, 3rem); }
  .split__head { grid-column: 1 / span 5; }
  .split__body { grid-column: 7 / span 6; padding-top: 0.5rem; }
  .split--intro .split__body, .split--hero .split__body, .split--flush .split__body { grid-column: 7 / span 6; }
  .split--flush .split__body { grid-column: 1 / span 8; }
  .scene--statement .split__head { grid-column: 1 / span 7; }
  .scene--statement .split__body { grid-column: 8 / span 5; align-self: end; }
}

/* Hero & page intro */
.hero { padding-block: clamp(2.5rem, 2rem + 6vw, 8rem) clamp(3.5rem, 3rem + 5vw, 7rem); }
.hero .split, .page-intro .split { margin-top: clamp(1.75rem, 4vw, 3.5rem); }
.hero .lead { color: var(--ink); }
.hero .actions { margin-top: 1.75rem; }
@media (min-width: 64em) {
  .hero { min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; }
  .hero > .wrap { width: 100%; }
}
.page-intro { padding-block: clamp(2.5rem, 2rem + 5vw, 7rem) clamp(3.5rem, 3rem + 4vw, 6rem); }
.hero-rule {
  display: block; height: 2px; margin-top: clamp(3rem, 7vw, 6rem);
  background: var(--ochre); transform-origin: left;
}

/* ── Route: España → Oro del Sur (purchase) → Alemania ─────────────────────── */
.route { --node: 0.75rem; margin-block: clamp(2.5rem, 6vw, 5.5rem); }
.route__track { position: relative; display: flex; align-items: center; height: 3.5rem; }
.route__node {
  flex: none; width: var(--node); height: var(--node); border-radius: 50%;
  background: var(--white); border: 2px solid var(--ochre); position: relative; z-index: 1;
}
.route__node--hub { --node: 1.25rem; background: var(--ochre); box-shadow: 0 0 0 5px var(--white), 0 0 0 6px var(--ochre); }
.route__node--market { border-color: var(--slate); }
.route__seg { flex: 1; height: 2px; position: relative; transform-origin: left; }
.route__leg { flex: 1; position: relative; display: flex; align-items: center; }
.route__leg .route__seg { width: 100%; }
.route__seg--buy { background: var(--ochre); }
.route__seg--sell { background: var(--slate); }
.route__truck-track {
  position: absolute; left: 0.5rem; right: 0.75rem; bottom: 50%;
  height: 2.25rem; overflow: clip; pointer-events: none;
}
.route__truck-mover { display: flex; justify-content: flex-end; width: 100%; height: 100%; align-items: flex-end; }
.truck { width: clamp(2.5rem, 2rem + 2vw, 4rem); height: auto; color: var(--graphite); }
.route__labels { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 0.75rem; margin-top: 1rem; }
.route__label { display: grid; gap: 0.35rem; align-content: start; }
.route__label:nth-child(2) { text-align: center; }
.route__label:nth-child(3) { text-align: right; }
.route__country { font-size: clamp(1rem, 0.7rem + 2vw, 3.25rem); line-height: 1.05; }
.route__country--hub { color: var(--ochre); }
.route__step { color: var(--graphite); font-size: clamp(0.625rem, 0.58rem + 0.2vw, 0.75rem); letter-spacing: 0.1em; }
.band { padding-block: 0 clamp(1rem, 3vw, 2rem); }
.band .route { margin-block: 0 clamp(2rem, 5vw, 4rem); }

/* Three steps (Home) */
.steps { display: grid; gap: 2.5rem; counter-reset: step; }
.steps__item { position: relative; padding-top: 1.5rem; border-top: 1px solid var(--ink); }
.steps__num { display: block; font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--ochre); margin-bottom: 1.25rem; }
.steps__title { font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.875rem); line-height: 1.15; margin-bottom: 0.875rem; }
.steps__place { display: block; margin-bottom: 0.5rem; color: var(--graphite); }
@media (min-width: 48em) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(1.5rem, 3vw, 3.5rem); }
}

/* Groups (What we do) */
.groups { display: grid; gap: 3rem; }
.groups__item { padding-top: 1.5rem; border-top: 1px solid var(--ink); }
@media (min-width: 64em) { .groups { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(1.5rem, 3vw, 3.5rem); } }

/* ── Lists ──────────────────────────────────────────────────────────────────── */
.ruled-list { margin-top: 1.75rem; border-top: 1px solid var(--rule); }
.ruled-list > li { display: grid; gap: 0.5rem; padding-block: 1.25rem; border-bottom: 1px solid var(--rule); }
.ruled-list__title { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem); line-height: 1.2; margin-bottom: 0.35rem; }
.ruled-list p + p { margin-top: 0; }
.ruled-list--numbered > li { grid-template-columns: 2.75rem minmax(0, 1fr); column-gap: 1rem; }
.ruled-list__num { font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; color: var(--ochre); padding-top: 0.55rem; }
.ruled-list--compact { border-top: 0; margin-top: 0; }
.ruled-list--compact > li { padding-block: 1rem; }
.ruled-list--compact > li:last-child { border-bottom: 0; }
.ruled-list--compact .ruled-list__title { font-size: 1.1875rem; }
.plain-list { margin-block: 1.25rem; }
.plain-list--ruled { border-top: 1px solid var(--rule); }
.plain-list--ruled li { padding-block: 0.8rem; border-bottom: 1px solid var(--rule); }
@media (min-width: 48em) {
  .plain-list--columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; border-top: 0; }
  .plain-list--columns li:nth-child(-n + 2) { border-top: 1px solid var(--rule); }
}

/* Process (Producers) */
.process { display: grid; gap: 0; border-top: 1px solid var(--ink); counter-reset: none; }
.process__item { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); column-gap: 1rem; padding-block: 1.5rem; border-bottom: 1px solid var(--rule); }
.process__item p { grid-column: 2; }
.process__item p + p { margin-top: 0.35rem; }
.process__num { grid-row: span 2; font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--ochre); }
.process__title { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); line-height: 1.2; }
@media (min-width: 64em) {
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 4vw, 5rem); border-top: 0; }
  .process__item:nth-child(-n + 2) { border-top: 1px solid var(--ink); }
}

/* Facts, addresses, contact lines */
.facts { display: grid; margin-top: clamp(2.5rem, 5vw, 4rem); border-block: 1px solid var(--ink); }
.facts > div { padding-block: 1.25rem; display: grid; gap: 0.5rem; }
.facts > div + div { border-top: 1px solid var(--rule); }
.facts dt, .address-list dt, .contact-lines dt { color: var(--graphite); }
.facts dd { font-family: var(--serif); font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.75rem); line-height: 1.25; }
.facts dd .link-arrow { font-family: var(--sans); font-size: 1rem; }
@media (min-width: 48em) {
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts > div { padding: 1.5rem 1.5rem 1.5rem 0; }
  .facts > div + div { border-top: 0; border-left: 1px solid var(--rule); padding-left: 1.5rem; }
}
.address-list { display: grid; gap: 1.5rem; margin-top: 1.75rem; }
.address-list > div { display: grid; gap: 0.5rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.address-list dd { font-family: var(--serif); font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem); line-height: 1.3; }
@media (min-width: 48em) { .address-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; } }
.address-list--compact dd { font-size: 1.125rem; }
.contact-lines { display: grid; gap: 1.5rem; margin-top: 2rem; }
.contact-lines > div { display: grid; gap: 0.375rem; }
.contact-line {
  font-size: clamp(1.5rem, 1.1rem + 2vw, 3rem); line-height: 1.15; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 0.1em; word-break: break-word;
}
.contact-lines--small .contact-line { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem); }
.verify { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 1.5rem; border-top: 1px solid var(--ink); }

/* Paths / topics */
.paths { display: grid; gap: 2.5rem; }
.paths__item { padding-top: 1.5rem; border-top: 1px solid var(--ink); }
.paths__item .actions { margin-top: 1.5rem; }
.paths__item .link-row { margin-top: 1.25rem; }
.paths__item .link-row + .link-row { margin-top: 0.5rem; }
.paths__title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); line-height: 1.15; margin-bottom: 1rem; }
@media (min-width: 48em) { .paths { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 4vw, 5rem); } }
@media (min-width: 64em) { .paths--three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* FAQ */
.faq { border-top: 1px solid var(--rule); }
.faq > div { padding-block: 1.5rem; border-bottom: 1px solid var(--rule); }
.faq dt { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); line-height: 1.25; margin-bottom: 0.5rem; }

/* 404 */
.not-found__grid { display: grid; gap: 3rem; margin-top: 2.5rem; }
.not-found__block .lead { margin-top: 1.5rem; }
.not-found__grid .not-found__block .lead { margin-top: 0; }
@media (min-width: 48em) { .not-found__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── Footer ─────────────────────────────────────────────────────────────────── */
.site-footer { border-top: 2px solid var(--ink); padding-block: clamp(3.5rem, 6vw, 6rem) 2rem; font-size: 0.9375rem; }
.site-footer__descriptor { font-size: clamp(1.375rem, 1.15rem + 0.9vw, 2rem); line-height: 1.25; max-width: 34ch; }
.site-footer__grid { display: grid; gap: 2.25rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 48em) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .site-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.footer-heading { color: var(--graphite); margin-bottom: 0.875rem; }
.footer-heading--spaced { margin-top: 1.75rem; }
.footer-list li + li { margin-top: 0.25rem; }
.footer-list a { display: inline-flex; min-height: 1.75rem; align-items: center; }
.footer-list--inline { display: flex; gap: 1.25rem; }
.footer-list--inline li + li { margin-top: 0; }
.footer-address__label { color: var(--graphite); }
.site-footer__legal { margin-top: clamp(3rem, 6vw, 5rem); padding-top: 1.25rem; border-top: 1px solid var(--rule); color: var(--graphite); font-size: 0.8125rem; }

/* ── Motion (A2-M1 … M7). Default state is always the final, fully visible state. ─── */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: var(--base); }

  /* A2-M1: hero rule grows once; H1, text and CTAs are static from first paint (LCP). */
  .hero-rule { animation: grow-x var(--slow) var(--ease) 120ms both; }

  /* A2-M4 fallback (no scroll-driven animations): time-based, armed by site.js via IntersectionObserver. */
  .route.is-armed .route__seg { transform: scaleX(0); }
  .route.is-armed .route__node--hub { transform: scale(0.4); opacity: 0; }
  .route.is-armed .route__truck-mover { transform: translateX(-100%); }
  .route.is-armed.is-in .route__seg--buy { transform: none; transition: transform var(--slow) var(--ease); }
  .route.is-armed.is-in .route__node--hub { transform: none; opacity: 1; transition: transform var(--base) var(--ease) 380ms, opacity var(--base) var(--ease) 380ms; }
  .route.is-armed.is-in .route__seg--sell { transform: none; transition: transform 700ms var(--ease) 600ms; }
  .route.is-armed.is-in .route__truck-mover { transform: none; transition: transform 900ms var(--ease) 600ms; }

  /* Scroll-driven path: A2-M2 (scene headings) and A2-M4 (route follows scroll, never blocks it). */
  @supports (animation-timeline: view()) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }

    .route { view-timeline: --route block; }
    .route__seg--buy { animation: grow-x linear both; animation-timeline: --route; animation-range: entry 35% cover 40%; }
    .route__node--hub { animation: pop linear both; animation-timeline: --route; animation-range: cover 38% cover 45%; }
    .route__seg--sell { animation: grow-x linear both; animation-timeline: --route; animation-range: cover 45% cover 62%; }
    .route__truck-mover { animation: drive linear both; animation-timeline: --route; animation-range: cover 45% cover 66%; }
  }
}

@keyframes grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes drive { from { transform: translateX(-100%); } to { transform: none; } }
@keyframes rise { from { transform: translateY(0.35em); opacity: 0; } to { transform: none; opacity: 1; } }

/* Mobile first screen (IA §22): H1, supporting text and primary CTA visible at 375 × 667. */
@media (max-width: 47.99em) {
  .hero { padding-top: 1.5rem; }
  .hero .eyebrow, .page-intro .eyebrow { margin-bottom: 0.875rem; letter-spacing: 0.1em; font-size: 0.6875rem; }
  .display--hero { font-size: clamp(2.125rem, 1.2rem + 4.6vw, 2.5rem); }
  .hero .split, .page-intro .split { margin-top: 1.25rem; }
  .hero .lead { font-size: 1.0625rem; line-height: 1.5; }
  .hero .actions { margin-top: 1.25rem; gap: 0.75rem 1.5rem; }
  .page-intro { padding-top: 1.75rem; }
}
