/* =========================================================
   Curbside Digital — homepage
   Theme tokens
   ========================================================= */
:root {
  --bg:        #06070b;
  --bg-soft:   #0b0d14;
  --ink:       #f4f6fb;
  --ink-dim:   #aeb4c4;
  --ink-faint: #6b7184;
  --line:      rgba(255, 255, 255, 0.10);
  --line-soft: rgba(255, 255, 255, 0.06);

  --a1: #6366f1;   /* indigo  */
  --a2: #22d3ee;   /* cyan    */
  --a3: #c084fc;   /* violet  */

  --grad: linear-gradient(105deg, var(--a1), var(--a2) 55%, var(--a3));

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1280px;
  --pad:  clamp(1.25rem, 4vw, 4rem);

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.075rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--a2); color: #04121a; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.02; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =========================================================
   Background layers — the focal motion canvas + texture
   ========================================================= */
#flow {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  display: block;
  pointer-events: none;
}

.vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% -10%, transparent 40%, rgba(6,7,11,0.55) 100%),
    radial-gradient(100% 100% at 50% 120%, transparent 50%, rgba(6,7,11,0.85) 100%);
}

.grain {
  position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, .nav, .scroll-rail { position: relative; z-index: 3; }

/* =========================================================
   Custom magnetic cursor
   ========================================================= */
.cursor { position: fixed; top: 0; left: 0; z-index: 70; pointer-events: none; mix-blend-mode: difference; }
.cursor__dot,
.cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; transform: translate(-50%, -50%); will-change: transform; }
.cursor__dot { width: 7px; height: 7px; background: #fff; }
.cursor__ring {
  width: 38px; height: 38px; border: 1px solid rgba(255,255,255,0.7);
  transition: width .3s var(--ease), height .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; background: rgba(255,255,255,0.12); border-color: transparent; }
.cursor.is-hover .cursor__dot { width: 4px; height: 4px; }
.cursor.is-down .cursor__ring { width: 30px; height: 30px; }
/* hide native cursor only on devices that have a precise pointer */
@media (pointer: fine) { .cursor-on, .cursor-on * { cursor: none !important; } }
@media (pointer: coarse) { .cursor { display: none; } }

/* =========================================================
   Traveling scroll spine
   ========================================================= */
.spine {
  position: fixed; left: clamp(10px, 2.2vw, 34px); top: 0; bottom: 0; width: 1px; z-index: 40;
  display: flex; justify-content: center; pointer-events: none;
}
.spine__line { position: absolute; inset: 0; width: 1px; background: var(--line-soft); }
.spine__node {
  position: absolute; top: 0; left: 50%; width: 9px; height: 9px; border-radius: 50%;
  transform: translate(-50%, -50%); background: var(--a2);
  box-shadow: 0 0 16px 2px rgba(34,211,238,0.8); will-change: top;
}
.spine__node::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(34,211,238,0.35);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: translate(-50%,-50%) scale(0.6); opacity: 1 } 100% { transform: translate(-50%,-50%) scale(2.4); opacity: 0 } }
@media (max-width: 860px) { .spine { display: none; } }

/* =========================================================
   Scroll progress rail
   ========================================================= */
.scroll-rail {
  position: fixed; top: 0; left: 0; width: 100%; height: 2px;
  background: var(--line-soft); z-index: 60;
}
.scroll-rail__fill {
  display: block; height: 100%; width: 0%;
  background: var(--grad);
  box-shadow: 0 0 14px rgba(99,102,241,0.7);
}

/* =========================================================
   Nav
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(1rem, 2vw, 1.6rem) var(--pad);
  z-index: 50;
  transition: background .4s var(--ease), backdrop-filter .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(8, 9, 14, 0.6);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
}
.nav__brand { display: flex; align-items: center; gap: 0.6rem; }
.nav__mark {
  width: 22px; height: 22px;
  display: block;
  filter: drop-shadow(0 0 14px rgba(34,211,238,0.45));
}
.nav__name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; }
.nav__name-thin { color: var(--ink-dim); font-weight: 400; }
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); }
.nav__links a { font-size: 0.92rem; color: var(--ink-dim); transition: color .25s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  color: var(--ink) !important;
  border: 1px solid var(--line);
  padding: 0.55rem 1.05rem; border-radius: 100px;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.nav__cta:hover { border-color: transparent; background: rgba(255,255,255,0.08); }
@media (max-width: 720px) {
  .nav__links a:not(.nav__cta) { display: none; }
}

/* =========================================================
   Shared
   ========================================================= */
section { position: relative; }
.section-tag {
  font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--a2); font-weight: 500; margin-bottom: 1rem;
}
.section-tag::before { content: "— "; color: var(--ink-faint); }

.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-weight: 500; font-size: 0.98rem;
  padding: 0.95rem 1.5rem; border-radius: 100px;
  transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  will-change: transform;
}
.btn__arrow { transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--primary {
  background: var(--grad); color: #060810;
  box-shadow: 0 8px 30px -8px rgba(99,102,241,0.6);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgba(34,211,238,0.6); }
.btn--ghost { border: 1px solid var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: rgba(255,255,255,0.3); transform: translateY(-2px); }
.btn--lg { font-size: 1.05rem; padding: 1.1rem 1.8rem; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 8rem var(--pad) 4rem;
  max-width: var(--maxw); margin: 0 auto;
}
.hero__inner { max-width: 60rem; }
.eyebrow {
  font-size: 0.9rem; color: var(--ink-dim); letter-spacing: 0.02em; margin-bottom: 1.6rem;
}
.eyebrow span { color: var(--ink); }
.hero__title {
  font-size: clamp(2.8rem, 9vw, 7.5rem);
  letter-spacing: -0.035em; line-height: 0.98; font-weight: 700;
}
.hero__title .line { display: block; overflow: visible; }
.hero__title .word { display: inline-block; }

/* Typewriter intro — letter-by-letter, terminal/dev vibe.
   Reveal via visibility only: opacity/transform on a glyph creates a stacking
   context that breaks -webkit-background-clip:text on the .grad words (they'd
   render transparent / invisible). Snapping each char in also reads more like
   real terminal typing. */
.hero__title .tchar { visibility: hidden; }
.hero__title .tchar.typed { visibility: visible; }

/* zero-width so it never shifts layout; bar drawn via ::after */
.type-caret {
  display: inline-block;
  width: 0;
  position: relative;
  vertical-align: baseline;
}
.type-caret::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 0.55em;
  height: 0.8em;
  background: var(--a2);
  border-radius: 1px;
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.55);
  animation: caretBlink 1.05s steps(1) infinite;
}
@keyframes caretBlink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }
.hero__sub {
  margin: 1.8rem 0 2.4rem; max-width: 34rem;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem); color: var(--ink-dim);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero__scrollcue {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-faint);
}
.hero__scrollcue-line { width: 1px; height: 46px; background: linear-gradient(var(--a2), transparent); }
.hero__scrollcue-line::after {
  content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 18px;
  background: var(--a2); transform: translateX(-50%);
  animation: cue 2.1s var(--ease) infinite;
}
@keyframes cue { 0% { transform: translate(-50%, -10px); opacity: 0 } 30% { opacity: 1 } 100% { transform: translate(-50%, 46px); opacity: 0 } }

/* =========================================================
   Marquee
   ========================================================= */
.marquee {
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  padding: 1.6rem 0; overflow: hidden; white-space: nowrap;
  background: rgba(255,255,255,0.012);
}
.marquee__track {
  display: inline-flex; align-items: center; gap: 2.4rem; will-change: transform;
  font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 500;
}
.marquee__track span { color: var(--ink); }
.marquee__track i { color: var(--a2); font-style: normal; }

/* =========================================================
   Statement (scrubbed word reveal)
   ========================================================= */
.statement {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(8rem, 18vh, 16rem) var(--pad);
  min-height: 90vh; display: flex; align-items: center;
}
.statement__text {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.8rem, 5.2vw, 4.6rem); line-height: 1.12; letter-spacing: -0.02em;
  max-width: 22ch;
}
.statement__text em { font-style: normal; }
.statement__text .w { display: inline-block; }

/* =========================================================
   Services — scroll-assembled website
   ========================================================= */
.services { background: linear-gradient(180deg, transparent, rgba(11,13,20,0.6) 12%, rgba(11,13,20,0.6) 88%, transparent); }
.services__pin { height: 100vh; display: flex; align-items: center; overflow: hidden; }
.assemble {
  max-width: var(--maxw); margin: 0 auto; width: 100%; padding: 0 var(--pad);
  display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.assemble__title { font-size: clamp(1.9rem, 4.4vw, 3.4rem); margin: 0.8rem 0 2.2rem; }
.beats { list-style: none; display: flex; flex-direction: column; }
.beat {
  display: flex; align-items: baseline; gap: 1rem;
  border-top: 1px solid var(--line-soft); padding: 1.05rem 0;
}
.beat b { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; min-width: 6.4rem; }
.beat span { color: var(--ink-dim); }

/* --- the build stage --- */
.stage { position: relative; display: flex; flex-direction: column; align-items: center; }
.browser {
  position: relative; width: 100%; max-width: 560px; aspect-ratio: 16 / 11;
  border: 1px solid var(--line); border-radius: 16px;
  background: rgba(10, 12, 18, 0.7); backdrop-filter: blur(8px);
  box-shadow: 0 40px 90px -40px rgba(0,0,0,0.85);
  /* NOTE: no overflow:hidden — scattered parts must fly in from outside the frame */
}
.browser__chrome {
  position: relative; z-index: 2; height: 38px; display: flex; align-items: center; gap: 7px;
  padding: 0 14px; border-bottom: 1px solid var(--line-soft);
  background: rgba(255,255,255,0.02); border-radius: 16px 16px 0 0;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.dot:nth-child(1) { background: rgba(251,113,133,0.55); }
.dot:nth-child(2) { background: rgba(251,191,36,0.55); }
.dot:nth-child(3) { background: rgba(52,211,153,0.55); }
.browser__url {
  margin-left: 12px; font-size: 0.72rem; color: var(--ink-faint);
  border: 1px solid var(--line-soft); padding: 0.18rem 0.8rem; border-radius: 100px;
}
.browser__view {
  position: absolute; inset: 38px 0 0 0; padding: 14px;
  display: grid; gap: 10px;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 0.5fr 1.5fr 0.8fr 1fr 0.5fr;
  grid-template-areas:
    "nav  nav  nav"
    "hero hero media"
    "cta  cta  media"
    "c1   c2   c3"
    "foot foot foot";
}
.browser__glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; border-radius: 16px;
  background: radial-gradient(80% 65% at 50% 42%, rgba(99,102,241,0.22), transparent 70%);
  box-shadow: inset 0 0 70px rgba(34,211,238,0.12);
}

.part {
  position: relative; border-radius: 8px; border: 1px solid var(--line);
  background: rgba(255,255,255,0.04); will-change: transform; overflow: hidden;
}
.part::after {
  content: attr(data-label); position: absolute; top: 6px; left: 9px; z-index: 2;
  font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint);
}
.part--nav  { grid-area: nav; }
.part--nav::before {
  content: ""; position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  width: 64px; height: 6px; border-radius: 6px;
  background: repeating-linear-gradient(90deg, rgba(174,180,196,0.55) 0 11px, transparent 11px 19px);
}
.part--hero { grid-area: hero; background: linear-gradient(135deg, rgba(99,102,241,0.55), rgba(34,211,238,0.22)); filter: saturate(var(--sat, 1)); }
.part--hero::before {
  content: ""; position: absolute; left: 12px; bottom: 16px; width: 58%; height: 8px; border-radius: 6px;
  background: rgba(255,255,255,0.7); box-shadow: 0 -15px 0 rgba(255,255,255,0.45), 0 -30px 0 rgba(255,255,255,0.25);
}
.part--media { grid-area: media; background: linear-gradient(160deg, var(--a1), var(--a2)); filter: saturate(var(--sat, 1)); }
.part--media::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 32% 28%, rgba(255,255,255,0.4), transparent 42%); }
.part--cta  { grid-area: cta; background: var(--grad); border: none; filter: saturate(var(--sat, 1)); }
.part--cta::before {
  content: ""; position: absolute; left: 12px; bottom: 14px; width: 46%; height: 9px; border-radius: 100px;
  background: rgba(255,255,255,0.85);
}
.part--c1 { grid-area: c1; } .part--c2 { grid-area: c2; } .part--c3 { grid-area: c3; }
.part--c1::before, .part--c2::before, .part--c3::before {
  content: ""; position: absolute; left: 9px; bottom: 12px; width: 52%; height: 6px; border-radius: 6px; background: rgba(255,255,255,0.18);
}
.part--foot { grid-area: foot; }

/* connectors between front-end frame and back-end stack */
.links { display: flex; gap: clamp(1.2rem, 7vw, 4.5rem); height: 40px; margin: 8px 0; }
.links span {
  width: 2px; height: 100%; transform-origin: top; opacity: 0.85;
  background-image: linear-gradient(var(--a2) 50%, transparent 50%);
  background-size: 2px 9px;
}
.stage.is-live .links span { animation: dataflow 0.6s linear infinite; }
@keyframes dataflow { to { background-position-y: 9px; } }

.stack { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; }
.chip {
  font-family: var(--font-display); font-weight: 500; font-size: 0.86rem;
  padding: 0.55rem 1.1rem; border-radius: 100px; will-change: transform;
  border: 1px solid rgba(192,132,252,0.42); background: rgba(192,132,252,0.09); color: #ecd8ff;
}

@media (max-width: 900px) {
  .services__pin { height: auto; padding: 6rem 0; }
  .assemble { grid-template-columns: 1fr; gap: 2.5rem; }
  .stage { order: 2; }
}

/* =========================================================
   Channels — delivery van route
   ========================================================= */
.channels { max-width: var(--maxw); margin: 0 auto; padding: clamp(4rem, 9vh, 9rem) var(--pad); }
.channels__head { max-width: 42rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.channels__title { font-size: clamp(2rem, 5vw, 4rem); margin: 0.8rem 0 1.2rem; }
.channels__lead { color: var(--ink-dim); font-size: 1.1rem; max-width: 38ch; }

/* The route is a full-height stage that gets pinned: the van stays parked in
   the centre while the whole route__world (road + nodes) and the stop cards
   scroll past it (driven in JS). Stops alternate left/right. */
.route { position: relative; max-width: 960px; margin: 0 auto; height: 100vh; overflow: hidden; }
/* faint, tiling street map that pans left as you scroll (driven in JS) so the
   centred, right-facing car reads as driving forward */
.route__map {
  position: absolute; inset: -10% -20%; z-index: 0; pointer-events: none;
  background-image: url("map.svg"); background-repeat: repeat; background-size: 240px 240px;
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent);
          mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent);
}
.route__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 1; }
.route .stop { z-index: 2; }
.route__road  { stroke: rgba(255,255,255,0.13); stroke-width: 2.5; stroke-dasharray: 1 13; stroke-linecap: round; }
.route__trail { stroke: url(#routeGrad); stroke-width: 3.5; stroke-linecap: round; filter: drop-shadow(0 0 7px rgba(34,211,238,0.55)); }
.node {
  fill: #0b0d14; stroke: rgba(255,255,255,0.28); stroke-width: 2;
  transform-box: fill-box; transform-origin: center;
  transition: fill .3s var(--ease), stroke .3s var(--ease), filter .3s var(--ease);
}
/* van already drove past this stop → stays marked, but calm */
.node.is-visited { fill: var(--a2); stroke: var(--a2); }
/* the stop the van is currently at → bright */
.node.is-active  { fill: var(--a2); stroke: var(--a2); filter: drop-shadow(0 0 11px var(--a2)); }

/* the traveler that morphs walk → car → plane (glyph opacity/scale driven in JS) */
.rider { filter: drop-shadow(0 8px 12px rgba(0,0,0,0.6)); }
.glyph { transform-box: fill-box; transform-origin: center; }
.glyph--walk { opacity: 1; }
.glyph--car, .glyph--plane { opacity: 0; }

/* car */
.car__body { fill: #eef1f8; }
.car__cab  { fill: #cfd6e6; }
.car__win  { fill: var(--a2); opacity: 0.9; }
.car__pkg  { fill: var(--a1); }
.wheel { transform-box: fill-box; transform-origin: center; animation: van-spin 0.5s linear infinite; }
.wheel .tire { fill: #0b0d14; stroke: rgba(255,255,255,0.3); stroke-width: 2; }
.wheel .hub  { fill: var(--a2); }
.wheel .spoke { stroke: rgba(255,255,255,0.34); stroke-width: 1.5; }
@keyframes van-spin { to { transform: rotate(360deg); } }

/* walking person — limbs swing about their pivots as you scroll past */
.walk__head { fill: #eef1f8; }
.walk__torso, .walk__limb line { stroke: #eef1f8; stroke-width: 4; stroke-linecap: round; fill: none; }
.walk__limb { transform-box: fill-box; }
.walk__leg--a, .walk__arm--a { transform-origin: left top; }
.walk__leg--b, .walk__arm--b { transform-origin: right top; }
.walk__leg--a { animation: walkA 0.62s ease-in-out infinite; }
.walk__leg--b { animation: walkB 0.62s ease-in-out infinite; }
.walk__arm--a { animation: walkB 0.62s ease-in-out infinite; }
.walk__arm--b { animation: walkA 0.62s ease-in-out infinite; }
@keyframes walkA { 0%, 100% { transform: rotate(22deg); } 50% { transform: rotate(-22deg); } }
@keyframes walkB { 0%, 100% { transform: rotate(-22deg); } 50% { transform: rotate(22deg); } }

/* plane — gentle nose-up bob while it cruises */
.plane { transform-box: fill-box; transform-origin: center; animation: planeBob 2.4s ease-in-out infinite; }
.plane__body { fill: #eef1f8; }
.plane__wing { fill: #cfd6e6; }
.plane__wingfar { fill: #aab2c6; }
.plane__tail { fill: #cfd6e6; }
.plane__win { fill: var(--a2); opacity: 0.9; }
@keyframes planeBob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-3px) rotate(-3deg); } }

@media (prefers-reduced-motion: reduce) {
  .wheel, .walk__limb, .plane { animation: none; }
}

.stop {
  position: absolute; top: var(--y); transform: translateY(-50%);
  width: 40%; border: 1px solid var(--line-soft); border-radius: 18px;
  padding: clamp(1.1rem, 2vw, 1.6rem); background: rgba(255,255,255,0.025);
  backdrop-filter: blur(6px);
  transition: opacity .5s var(--ease), filter .5s var(--ease),
              border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
/* developer-theme reveal: cards "render in" (focus + fade) as you scroll */
.stop.pre-reveal { opacity: 0; filter: blur(8px); }
/* monospace node id that decodes in above each title */
.stop__tag {
  display: block; font-family: ui-monospace, SFMono-Regular, Menlo, "Roboto Mono", monospace;
  font-size: 0.72rem; letter-spacing: 0.14em; color: var(--a2);
  margin-bottom: 0.55rem; opacity: 0.8;
}
.stop.is-active .stop__tag { opacity: 1; }
.stop--left  { left: 0;  text-align: left; }
.stop--right { right: 0; text-align: left; }
/* little connector nub pointing toward the route */
.stop::after {
  content: ""; position: absolute; top: 50%; width: 22px; height: 2px;
  background: var(--line); transition: background .45s var(--ease);
}
.stop--left::after  { right: -22px; }
.stop--right::after { left: -22px; }
.stop.is-active { border-color: rgba(34,211,238,0.5); background: rgba(34,211,238,0.06); box-shadow: 0 0 30px -10px rgba(34,211,238,0.5); }
.stop.is-active::after { background: var(--a2); }
.stop__icon {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px;
  margin-bottom: 1rem; color: var(--a2);
  background: rgba(99,102,241,0.12); border: 1px solid var(--line);
  transition: color .45s var(--ease), background .45s var(--ease), border-color .45s var(--ease);
}
.stop.is-active .stop__icon { color: #04121a; background: var(--a2); border-color: transparent; }
.stop__icon svg { width: 25px; height: 25px; }
.stop h3 { font-size: 1.25rem; margin-bottom: 0.45rem; }
.stop p { color: var(--ink-dim); font-size: 0.95rem; }

@media (max-width: 760px) {
  .route { position: static; max-width: none; height: auto; overflow: visible; aspect-ratio: auto; display: flex; flex-direction: column; gap: 1rem; }
  .route__svg, .route__map { display: none; }
  .stop { position: static; transform: none !important; top: auto !important; width: 100%; }
  .stop::after { display: none; }
}

/* =========================================================
   Process
   ========================================================= */
.process { max-width: var(--maxw); margin: 0 auto; padding: clamp(4rem, 8vh, 8rem) var(--pad); }
.process__head { margin-bottom: 3.4rem; }
.process__head h2 { font-size: clamp(2rem, 5vw, 4rem); }
.process__list { list-style: none; }
.pstep {
  display: grid; grid-template-columns: 5rem 1fr; gap: clamp(1rem, 4vw, 3rem);
  align-items: start; padding: 2.2rem 0; border-top: 1px solid var(--line-soft);
}
.pstep:last-child { border-bottom: 1px solid var(--line-soft); }
.pstep__n { font-family: var(--font-display); font-size: 1rem; color: var(--a2); padding-top: 0.4rem; }
.pstep h3 { font-size: clamp(1.4rem, 3vw, 2.2rem); margin-bottom: 0.5rem; }
.pstep p { color: var(--ink-dim); max-width: 44ch; }

/* =========================================================
   CTA + footer
   ========================================================= */
.cta {
  max-width: var(--maxw); margin: 0 auto; padding: clamp(7rem, 16vh, 14rem) var(--pad);
  text-align: center;
}
.cta__inner { display: inline-flex; flex-direction: column; align-items: center; }
.cta__title { font-size: clamp(2.8rem, 9vw, 7rem); line-height: 0.98; margin: 0.6rem 0 1.4rem; }
.cta__sub { color: var(--ink-dim); max-width: 38ch; margin-bottom: 2.4rem; font-size: 1.1rem; }

.footer { max-width: var(--maxw); margin: 0 auto; padding: 3rem var(--pad) 4rem; border-top: 1px solid var(--line-soft); }
.footer__wordmark { overflow: hidden; margin-bottom: 2.5rem; line-height: 0.82; }
.footer__wordmark span {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(3.5rem, 18vw, 16rem); letter-spacing: -0.04em; white-space: nowrap;
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.03));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  will-change: transform;
}
.footer__row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer__brand { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.footer__links { display: flex; gap: 1.6rem; }
.footer__links a { color: var(--ink-dim); font-size: 0.92rem; transition: color .25s var(--ease); }
.footer__links a:hover { color: var(--ink); }
.footer__row--fine { margin-top: 1.6rem; color: var(--ink-faint); font-size: 0.82rem; }
.footer__legal { display: flex; gap: 1.4rem; }
.footer__legal a { color: var(--ink-faint); transition: color .25s var(--ease); }
.footer__legal a:hover { color: var(--ink); }

/* =========================================================
   Reveal helpers (JS-driven). Hidden until ready to avoid FOUC.
   ========================================================= */
.reveal-up { opacity: 0; transform: translateY(24px); }
/* Hide the hero title until the typewriter takes over (avoids full-text FOUC) */
.js-ready .hero__title { visibility: hidden; }
.js-ready .hero__title.is-typing,
.js-ready .hero__title.is-typed { visibility: visible; }

/* char-split heading reveal */
.split-line { display: block; overflow: hidden; }
.char { display: inline-block; will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal-up { opacity: 1; transform: none; }
  .char { transform: none !important; }
  .hero__title .tchar, .hero__title .tchar.typed { visibility: visible; animation: none !important; }
  .type-caret { display: none; }
  #flow { opacity: 0.5; }
  .cursor, .spine__node::after { display: none; }
}
