/**
 * HAVEN Child — [haven_reach], Austria → Europe cinematic reach (Phase 4).
 *
 * TWO STATES, ONE MARKUP
 *   default           static composition — no pinning, the Austria still with
 *                     the four cities, the route list, the Europe still with the
 *                     payoff and the call to action. This is what a visitor gets
 *                     without JavaScript and with prefers-reduced-motion.
 *   .is-live          added by haven-reach.js only when motion is allowed: a
 *                     pinned stage, scroll-scrubbed footage, kinetic type.
 *
 * Colours resolve to HAVEN tokens plus one stage ground (#030B1C) measured from
 * the artwork's own edges, so the frame dissolves into the page instead of
 * sitting on it as a box.
 */

.hvn-reach {
  --reach-ground: #030B1C;
  --reach-ink: #F4F1EA;
  --reach-soft: rgba(244, 241, 234, .74);
  --reach-gold: var(--hvn-tan, #C08953);
  --reach-gold-lift: #E2B98B;
  --reach-cool: #9CC4F2;
  position: relative;
  isolation: isolate;
  background: var(--reach-ground);
  color: var(--reach-ink);
  overflow: clip;
}

/* ------------------------------------------------------------ entry / exit */

/* The charcoal process band above deepens into the network world; three route
   threads run ahead of the stage and a faint blueprint grid surfaces, so the
   section is entered, not bumped into. (Measured neighbours: process band
   #141A22 above, assurance band #182A3F below.) */
.hvn-reach__entry {
  position: relative;
  height: clamp(7rem, 14vw, 13rem);
  background:
    linear-gradient(180deg, var(--hvn-charcoal, #141A22) 0%, rgba(20, 26, 34, 0) 70%),
    linear-gradient(180deg, rgba(3, 11, 28, 0) 55%, var(--reach-ground) 100%),
    radial-gradient(120% 140% at 62% 110%, rgba(40, 84, 150, .30) 0%, rgba(3, 11, 28, 0) 60%),
    var(--reach-ground);
}

.hvn-reach__entry::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(120, 170, 235, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 170, 235, .07) 1px, transparent 1px);
  background-size: 3rem 3rem;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 100%);
}

.hvn-reach__threads {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hvn-reach__threads path {
  fill: none;
  stroke: var(--reach-gold);
  stroke-width: 1.4;
  stroke-opacity: .7;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 3 9;
}

.hvn-reach__threads path:nth-child(2) { stroke: var(--reach-cool); stroke-opacity: .45; }

/* Exit: the network world settles into the navy assurance band below, one gold
   line continuing down out of the network. */
.hvn-reach__exit {
  position: relative;
  height: clamp(4rem, 8vw, 7rem);
  background: linear-gradient(180deg, var(--reach-ground) 0%, var(--hvn-navy-deep, #182A3F) 100%);
}

.hvn-reach__exit i {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, var(--reach-gold) 0%, rgba(192, 137, 83, 0) 100%);
}

/* ================================================================ STATIC ===
   Default composition: readable, unpinned, complete. */

.hvn-reach__track { position: relative; }

.hvn-reach__pin {
  position: relative;
  display: grid;
  gap: var(--hvn-s6);
  padding-block: var(--hvn-s7) var(--hvn-s6);
}

.hvn-reach__media { position: relative; }

.hvn-reach__frame {
  position: relative;
  width: min(100%, 44rem);
  aspect-ratio: 1;
  margin-inline: auto;
}

.hvn-reach__frame img,
.hvn-reach__frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Static: the Austria still carries the cities; the scrubbing layers stay out. */
.hvn-reach__poster,
.hvn-reach__vid,
.hvn-reach__light,
.hvn-reach__progress,
.hvn-reach__word { display: none; }

.hvn-reach__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--reach-ground) 0%, rgba(3, 11, 28, 0) 12%, rgba(3, 11, 28, 0) 88%, var(--reach-ground) 100%),
    linear-gradient(180deg, var(--reach-ground) 0%, rgba(3, 11, 28, 0) 12%, rgba(3, 11, 28, 0) 88%, var(--reach-ground) 100%);
}

/* City markers (both states). */
.hvn-reach__pins { position: absolute; inset: 0; pointer-events: none; }

.hvn-reach__pinmark {
  --x: 50%;
  --y: 50%;
  --o: 1;
  --s: 1;
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: grid;
  justify-items: center;
  opacity: var(--o);
  transform: translate(-50%, -100%) scale(var(--s));
  transform-origin: 50% 100%;
}

.hvn-reach__dot {
  order: 2;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--reach-ink);
  box-shadow: 0 0 0 3px rgba(156, 196, 242, .28), 0 0 18px rgba(156, 196, 242, .8);
}

.hvn-reach__plabel {
  order: 1;
  position: relative;
  margin-bottom: .55rem;
  padding: .28rem .55rem .26rem;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--reach-ink);
  white-space: nowrap;
  background: rgba(3, 11, 28, .62);
  border: 1px solid rgba(244, 241, 234, .22);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

/* A hairline leader from label to dot. */
.hvn-reach__plabel::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 100%;
  width: 1px;
  height: .55rem;
  background: rgba(244, 241, 234, .5);
}

.hvn-reach__pinmark--wien .hvn-reach__dot {
  background: var(--reach-gold-lift);
  box-shadow: 0 0 0 4px rgba(192, 137, 83, .3), 0 0 22px rgba(226, 185, 139, .9);
}

.hvn-reach__pinmark--wien .hvn-reach__plabel { border-color: rgba(192, 137, 83, .7); color: var(--reach-gold-lift); }

/* Copy. */
.hvn-reach__copy { position: relative; z-index: 2; display: grid; gap: var(--hvn-s6); }

.hvn-reach .hvn-eyebrow { color: var(--reach-gold); }

.hvn-reach__title {
  margin: var(--hvn-s2) 0 var(--hvn-s4);
  font-size: var(--hvn-fs-h1);
  line-height: var(--hvn-lh-heading);
  letter-spacing: .01em;
  font-weight: 600;
  color: var(--reach-ink);
  text-wrap: balance;
}

.hvn-reach__lede {
  margin: 0;
  max-width: 46ch;
  font-size: var(--hvn-fs-lede);
  line-height: 1.6;
  color: var(--reach-soft);
}

/* The route: a gold line through the stops — geography, not a stepper. */
.hvn-reach__route {
  --fill: 1;
  position: relative;
  display: grid;
  gap: .1rem;
  margin: 0;
  padding: 0 0 0 1.4rem;
  list-style: none;
}

.hvn-reach__route::before,
.hvn-reach__route::after {
  content: '';
  position: absolute;
  left: .3rem;
  top: 1.35rem;
  bottom: 1.35rem;
  width: 1px;
  background: rgba(244, 241, 234, .18);
}

.hvn-reach__route::after {
  width: 2px;
  left: calc(.3rem - .5px);
  background: linear-gradient(180deg, var(--reach-gold-lift), var(--reach-gold));
  transform: scaleY(var(--fill));
  transform-origin: top;
}

.hvn-reach__stop { position: relative; }

.hvn-reach__stop::before {
  content: '';
  position: absolute;
  z-index: 1;
  left: calc(-1.4rem + .3rem - .3125rem);
  top: 50%;
  width: .625rem;
  height: .625rem;
  margin-top: -.3125rem;
  border-radius: 50%;
  background: var(--reach-ground);
  border: 1.5px solid var(--reach-gold);
  transition: background-color 260ms var(--hvn-ease), transform 360ms cubic-bezier(.34, 1.56, .64, 1), box-shadow 260ms var(--hvn-ease);
}

.hvn-reach__jump {
  box-sizing: border-box;
  -webkit-appearance: none;
          appearance: none;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .15rem .9rem;
  width: 100%;
  min-height: var(--hvn-tap, 2.75rem);
  padding: .45rem .6rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 220ms var(--hvn-ease), transform 220ms cubic-bezier(.34, 1.56, .64, 1);
  -webkit-tap-highlight-color: transparent;
}

span.hvn-reach__jump { cursor: default; }
button.hvn-reach__jump:hover { background: rgba(244, 241, 234, .06); }
button.hvn-reach__jump:active { transform: scale(.97); }
.hvn-reach__jump:focus-visible { outline: 2px solid var(--reach-gold-lift) !important; outline-offset: 2px; }

.hvn-reach__sname {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--reach-ink);
}


.hvn-reach__stop--eu .hvn-reach__sname { color: var(--reach-gold-lift); }
.hvn-reach__stop--eu::before { background: var(--reach-gold); }

/* Payoff. */
.hvn-reach__payoff { display: grid; gap: var(--hvn-s3); max-width: 40rem; }

.hvn-reach__eu {
  margin: 0;
  font-size: clamp(3rem, 1.6rem + 6vw, 6.75rem);
  font-weight: 600;
  line-height: .95;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: linear-gradient(100deg, #FFFFFF 0%, var(--reach-gold-lift) 55%, var(--reach-gold) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.hvn-reach__line { margin: 0; font-size: var(--hvn-fs-h3); font-weight: 600; color: var(--reach-ink); }
.hvn-reach__sub { margin: 0; max-width: 46ch; color: var(--reach-soft); line-height: 1.6; }
.hvn-reach__actions { margin-top: var(--hvn-s3); flex-wrap: wrap; }

.hvn-reach__cap {
  margin: 0;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
  font-size: .75rem;
  line-height: 1.5;
  color: rgba(244, 241, 234, .5);
  text-align: center;
}

.hvn-reach__static-eu {
  position: relative;
  width: min(100% - 2.5rem, 44rem);
  aspect-ratio: 1;
  margin: 0 auto;
}

.hvn-reach__static-eu img { width: 100%; height: 100%; object-fit: contain; display: block; }

.hvn-reach__static-eu::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(closest-side, rgba(3, 11, 28, 0) 70%, var(--reach-ground) 100%);
}

/* Static order. The wrappers step aside (display: contents) so the parts can
   be paired on one grid: intro + route beside the Austria still, the payoff
   beside the Europe still. Phones stack the same pairs in reading order. */
.hvn-reach:not(.is-live) {
  display: grid;
  grid-template-columns: minmax(1.25rem, 1fr) minmax(0, 76rem) minmax(1.25rem, 1fr);
  grid-template-areas:
    "entry  entry  entry"
    ".      intro  ."
    ".      media  ."
    ".      route  ."
    ".      eu     ."
    ".      payoff ."
    ".      cap    ."
    "exit   exit   exit";
  row-gap: var(--hvn-s6);
}

.hvn-reach:not(.is-live) .hvn-reach__track,
.hvn-reach:not(.is-live) .hvn-reach__pin,
.hvn-reach:not(.is-live) .hvn-reach__copy { display: contents; }

.hvn-reach:not(.is-live) .hvn-reach__entry  { grid-area: entry; }
.hvn-reach:not(.is-live) .hvn-reach__intro  { grid-area: intro; padding-top: var(--hvn-s5); }
.hvn-reach:not(.is-live) .hvn-reach__media  { grid-area: media; }
.hvn-reach:not(.is-live) .hvn-reach__route  { grid-area: route; }
.hvn-reach:not(.is-live) .hvn-reach__static-eu { grid-area: eu; width: min(100%, 44rem); }
.hvn-reach:not(.is-live) .hvn-reach__payoff { grid-area: payoff; }
.hvn-reach:not(.is-live) .hvn-reach__cap    { grid-area: cap; padding: 0; }
.hvn-reach:not(.is-live) .hvn-reach__exit   { grid-area: exit; }

@media (min-width: 900px) {
  .hvn-reach:not(.is-live) {
    grid-template-columns: minmax(1.25rem, 1fr) minmax(0, 34rem) minmax(0, 42rem) minmax(1.25rem, 1fr);
    grid-template-areas:
      "entry  entry  entry  entry"
      ".      intro  media  ."
      ".      route  media  ."
      ".      payoff eu     ."
      ".      cap    cap    ."
      "exit   exit   exit   exit";
    column-gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
  }
  .hvn-reach:not(.is-live) .hvn-reach__intro { align-self: end; }
  .hvn-reach:not(.is-live) .hvn-reach__route { align-self: start; }
}

/* ================================================================== LIVE ===
   Pinned, scrubbed, kinetic. */

.hvn-reach.is-live .hvn-reach__static-eu { display: none; }
.hvn-reach.is-live .hvn-reach__still { display: none; }
.hvn-reach.is-live .hvn-reach__poster,
.hvn-reach.is-live .hvn-reach__vid,
.hvn-reach.is-live .hvn-reach__light,
.hvn-reach.is-live .hvn-reach__progress,
.hvn-reach.is-live .hvn-reach__word { display: block; }

.hvn-reach.is-live .hvn-reach__track { height: var(--reach-track, 460vh); }

.hvn-reach.is-live .hvn-reach__pin {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 34rem;
  padding: 0;
  display: block;
  overflow: hidden;
}

/* --- media -------------------------------------------------------------- */

.hvn-reach.is-live .hvn-reach__media {
  --mx: 0;
  --my: 0;
  position: absolute;
  inset: 0;
}

.hvn-reach.is-live .hvn-reach__frame {
  --size: max(100svh, 62vw);
  position: absolute;
  width: var(--size);
  height: var(--size);
  max-width: none;
  left: calc(68vw - var(--size) / 2);
  top: calc(50% - var(--size) / 2);
  margin: 0;
  /* Feathered on all four sides so the square never reads as a box. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 13%, #000 88%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent 0%, #000 13%, #000 88%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
          mask-composite: intersect;
  transform: translate3d(calc(var(--mx) * -10px), calc(var(--my) * -8px), 0) scale(var(--zoom, 1));
  transform-origin: 60% 58%;
  will-change: transform;
}

.hvn-reach.is-live .hvn-reach__vid { opacity: 0; transition: opacity 260ms linear; }
.hvn-reach.is-live.is-ready .hvn-reach__vid { opacity: 1; }

/* Markers drift a little further than the footage under the pointer: depth. */
.hvn-reach.is-live .hvn-reach__pins { transform: translate3d(calc(var(--mx) * -6px), calc(var(--my) * -5px), 0); }

.hvn-reach.is-live .hvn-reach__pinmark {
  opacity: var(--o, 0);
  transition: opacity 320ms var(--hvn-ease);
}

.hvn-reach.is-live .hvn-reach__pinmark.is-now .hvn-reach__plabel {
  border-color: var(--reach-gold);
  color: #FFFFFF;
  box-shadow: 0 0 0 1px rgba(192, 137, 83, .35), 0 8px 26px rgba(0, 0, 0, .45);
}

.hvn-reach.is-live .hvn-reach__pinmark.is-now .hvn-reach__dot { animation: hvnReachPing 1600ms cubic-bezier(.2, .6, .2, 1) 2; }

@keyframes hvnReachPing {
  0%   { box-shadow: 0 0 0 0 rgba(226, 185, 139, .75), 0 0 22px rgba(226, 185, 139, .9); }
  100% { box-shadow: 0 0 0 16px rgba(226, 185, 139, 0), 0 0 22px rgba(226, 185, 139, .9); }
}

/* A soft light that follows a fine pointer across the map. */
.hvn-reach.is-live .hvn-reach__light {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: var(--lo, 0);
  transition: opacity 400ms var(--hvn-ease);
  background: radial-gradient(28rem 28rem at var(--lx, 60%) var(--ly, 50%), rgba(156, 196, 242, .10), rgba(156, 196, 242, 0) 70%);
  mix-blend-mode: screen;
}

/* Legibility ground for the copy column, bounded to the left third. */
.hvn-reach.is-live .hvn-reach__shade {
  background:
    linear-gradient(90deg, var(--reach-ground) 0%, rgba(3, 11, 28, .92) 22%, rgba(3, 11, 28, .45) 40%, rgba(3, 11, 28, 0) 56%),
    linear-gradient(180deg, var(--reach-ground) 0%, rgba(3, 11, 28, 0) 14%, rgba(3, 11, 28, 0) 84%, var(--reach-ground) 100%);
}

/* --- progress hairline ---------------------------------------------------- */

.hvn-reach.is-live .hvn-reach__progress {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(244, 241, 234, .08);
}

.hvn-reach.is-live .hvn-reach__progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--reach-cool), var(--reach-gold-lift));
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}

/* --- copy column ---------------------------------------------------------- */

.hvn-reach.is-live .hvn-reach__copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  max-width: var(--hvn-wrap);
  margin-inline: auto;
  /* Clears the site header when it returns on an upward scroll. */
  padding-top: 9.25rem;
  padding-bottom: clamp(3rem, 8svh, 5rem);
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  gap: clamp(1.25rem, 3svh, 2.25rem);
  pointer-events: none;
}

.hvn-reach.is-live .hvn-reach__copy > * { max-width: min(27rem, 34vw); }
.hvn-reach.is-live .hvn-reach__lede { font-size: 1rem; }
.hvn-reach.is-live .hvn-reach__route,
.hvn-reach.is-live .hvn-reach__payoff { pointer-events: auto; }

.hvn-reach.is-live .hvn-reach__intro {
  opacity: var(--io, 1);
  transform: translate3d(0, calc((1 - var(--io, 1)) * -14px), 0);
}

.hvn-reach.is-live .hvn-reach__title { font-size: clamp(2rem, 1.2rem + 2.4vw, 3.25rem); }

/* The route recedes as the camera rises, then yields to the payoff. */
.hvn-reach.is-live .hvn-reach__route {
  --fill: 0;
  opacity: var(--ro, 1);
  transform: translate3d(0, calc((1 - var(--ro, 1)) * -10px), 0) scale(calc(.94 + var(--ro, 1) * .06));
  transform-origin: left top;
}

.hvn-reach.is-live .hvn-reach__stop { opacity: .42; transition: opacity 320ms var(--hvn-ease); }
.hvn-reach.is-live .hvn-reach__stop.is-past { opacity: .72; }
.hvn-reach.is-live .hvn-reach__stop.is-now { opacity: 1; }
.hvn-reach.is-live .hvn-reach__stop.is-past::before,
.hvn-reach.is-live .hvn-reach__stop.is-now::before { background: var(--reach-gold); }
.hvn-reach.is-live .hvn-reach__stop.is-now::before { transform: scale(1.35); box-shadow: 0 0 0 5px rgba(192, 137, 83, .18); }

/* The kinetic word: one place name at a time, arriving on wide tracking. */
.hvn-reach.is-live .hvn-reach__word {
  position: absolute;
  left: clamp(1.25rem, 4vw, 3rem);
  bottom: clamp(3.5rem, 9svh, 6rem);
  margin: 0;
  max-width: none;
  height: 1.1em;
  font-size: clamp(3rem, 1.2rem + 5.2vw, 6rem);
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 241, 234, .55);
  pointer-events: none;
}

.hvn-reach.is-live .hvn-reach__word span {
  position: absolute;
  left: 0;
  bottom: 0;
  white-space: nowrap;
  letter-spacing: .5em;
  opacity: 0;
  transform: translate3d(0, .12em, 0);
  transition: opacity 520ms var(--hvn-ease), letter-spacing 900ms cubic-bezier(.16, 1, .3, 1), transform 700ms cubic-bezier(.16, 1, .3, 1);
}

.hvn-reach.is-live .hvn-reach__word span.is-now {
  opacity: 1;
  letter-spacing: .12em;
  transform: none;
}

/* "Österreich" recedes as the camera rises: wider, fainter, smaller. */
.hvn-reach.is-live .hvn-reach__word span[data-w="austria"].is-now {
  opacity: var(--ao, 1);
  letter-spacing: calc(.12em + (1 - var(--ao, 1)) * .5em);
  transform: scale(calc(.8 + var(--ao, 1) * .2));
  transform-origin: left bottom;
}

/* --- payoff ---------------------------------------------------------------- */

.hvn-reach.is-live .hvn-reach__payoff {
  position: absolute;
  left: clamp(1.25rem, 4vw, 3rem);
  bottom: clamp(3.5rem, 9svh, 6rem);
  max-width: min(36rem, 44vw);
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  pointer-events: none;
  transition: opacity 600ms var(--hvn-ease), transform 800ms cubic-bezier(.16, 1, .3, 1);
}

.hvn-reach.is-live.is-payoff .hvn-reach__payoff {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.hvn-reach.is-live .hvn-reach__eu { letter-spacing: .6em; transition: letter-spacing 1200ms cubic-bezier(.16, 1, .3, 1); }
.hvn-reach.is-live.is-payoff .hvn-reach__eu { letter-spacing: .14em; }

.hvn-reach.is-live .hvn-reach__cap {
  position: absolute;
  z-index: 3;
  right: clamp(1.25rem, 4vw, 3rem);
  bottom: 1rem;
  padding: 0;
  text-align: right;
  max-width: 42rem;
}

/* Short desktop viewports: the lede yields before anything collides. */
@media (min-width: 900px) and (max-height: 820px) {
  .hvn-reach.is-live .hvn-reach__lede { display: none; }
}

/* ----------------------------------------------------------------- mobile */

@media (max-width: 899.98px) {
  .hvn-reach.is-live .hvn-reach__track { height: var(--reach-track-narrow, 380vh); }

  .hvn-reach.is-live .hvn-reach__frame {
    --size: min(122vw, calc(100svh - 20rem));
    left: calc(50vw - var(--size) * .52);
    top: 10.5rem;
    transform: scale(var(--zoom, 1));
  }

  .hvn-reach.is-live .hvn-reach__shade {
    background:
      linear-gradient(180deg, var(--reach-ground) 0%, rgba(3, 11, 28, .8) 17%, rgba(3, 11, 28, 0) 30%, rgba(3, 11, 28, 0) 64%, rgba(3, 11, 28, .88) 80%, var(--reach-ground) 88%);
  }

  .hvn-reach.is-live .hvn-reach__copy {
    padding-top: 8.25rem;
    padding-bottom: 0;
    padding-inline: 1.25rem;
    gap: .75rem;
  }

  .hvn-reach.is-live .hvn-reach__copy > * { max-width: none; }
  .hvn-reach.is-live .hvn-reach__title { font-size: clamp(1.5rem, 1.1rem + 2vw, 2rem); margin: .25rem 0 0; }
  .hvn-reach.is-live .hvn-reach__lede { display: none; }
  .hvn-reach.is-live .hvn-reach__intro .hvn-eyebrow { margin: 0; }

  /* The route becomes one compact line of stops above the sticky CTA bar. */
  .hvn-reach.is-live .hvn-reach__route {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
    display: flex;
    justify-content: space-between;
    gap: 0;
    padding: 0;
    transform: none;
  }

  .hvn-reach.is-live .hvn-reach__route::before,
  .hvn-reach.is-live .hvn-reach__route::after {
    left: 1.2rem;
    right: 1.2rem;
    top: .7rem;
    bottom: auto;
    width: auto;
    height: 1px;
  }

  .hvn-reach.is-live .hvn-reach__route::after {
    height: 2px;
    transform: scaleX(var(--fill));
    transform-origin: left;
  }

  .hvn-reach.is-live .hvn-reach__stop::before { left: 50%; top: .7rem; margin-left: -.3125rem; }

  .hvn-reach.is-live .hvn-reach__jump {
    flex-direction: column;
    align-items: center;
    gap: 0;
    min-width: var(--hvn-tap, 2.75rem);
    padding: 1.35rem .15rem .2rem;
    text-align: center;
  }

  .hvn-reach.is-live .hvn-reach__sname { font-size: .6875rem; letter-spacing: .08em; }

  .hvn-reach.is-live .hvn-reach__word {
    left: 1.25rem;
    bottom: calc(9.25rem + env(safe-area-inset-bottom, 0px));
    font-size: clamp(2.125rem, 1rem + 7vw, 3.25rem);
  }

  /* The receding country name stays inside the screen: it recedes by fading
     and shrinking here, with only a little extra tracking. */
  .hvn-reach.is-live .hvn-reach__word span { letter-spacing: .3em; }
  .hvn-reach.is-live .hvn-reach__word span.is-now { letter-spacing: .06em; }
  .hvn-reach.is-live .hvn-reach__word span[data-w="austria"].is-now {
    font-size: .78em;
    letter-spacing: calc(.06em + (1 - var(--ao, 1)) * .12em);
  }

  .hvn-reach.is-live .hvn-reach__payoff {
    left: 1.25rem;
    right: 1.25rem;
    bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
    max-width: none;
    gap: .4rem;
  }

  .hvn-reach.is-live .hvn-reach__eu { font-size: clamp(2.5rem, 1.2rem + 8vw, 3.75rem); }
  .hvn-reach.is-live .hvn-reach__line { font-size: 1.125rem; }
  .hvn-reach.is-live .hvn-reach__sub { font-size: .9375rem; line-height: 1.5; }
  .hvn-reach.is-live .hvn-reach__actions { margin-top: .35rem; gap: .5rem; }
  .hvn-reach.is-live .hvn-reach__actions .hvn-btn { min-height: 2.9rem; }
  .hvn-reach.is-live .hvn-reach__cap { left: 1.25rem; right: 1.25rem; bottom: .6rem; max-width: none; text-align: left; font-size: .6875rem; line-height: 1.35; }

  /* At the payoff the route line steps aside for the call to action. */
  .hvn-reach.is-live.is-payoff .hvn-reach__route { opacity: 0; pointer-events: none; }

  .hvn-reach__plabel { font-size: .75rem; letter-spacing: .14em; padding: .24rem .45rem; }
}

/* The site's own sticky conversion bar is hidden while the stage is pinned on
   phones: the payoff carries its own call to action, and two bars would stack. */
body.hvn-reach-active .hvn-mbar { transform: translateY(110%); transition: transform 260ms var(--hvn-ease); }

@media (max-width: 899.98px) {
  body.hvn-reach-active .hvn-reach.is-live .hvn-reach__route { bottom: calc(3rem + env(safe-area-inset-bottom, 0px)); }
  body.hvn-reach-active .hvn-reach.is-live .hvn-reach__word { bottom: calc(7rem + env(safe-area-inset-bottom, 0px)); }
  body.hvn-reach-active .hvn-reach.is-live .hvn-reach__payoff { bottom: calc(3.25rem + env(safe-area-inset-bottom, 0px)); }
}

/* ------------------------------------------------------------ reduced motion */

@media (prefers-reduced-motion: reduce) {
  .hvn-reach__jump,
  .hvn-reach__stop::before { transition: none; }
  .hvn-reach__jump:active { transform: none; }
}
