/* ============================================================
   home-v5.css — homepage v5 and /contact/ (owner, 27 Sep 2026).

   Built from the owner's reference, Claude outputs/redesign/v5-stripe/
   (index.html and contact.html), and the change notes in docs/redesign/
   (CHANGE-v5-order, -video-hero, -loop-and-weave). The page, top down:
   the film hero, build your system, the timeline, the free offers, the
   closing band; /contact/ has the form and the calendar. Behind both, a
   fixed canvas of crochet threads (weave.js).

   White in every theme (<html data-home="v5">, tokens.css). Every
   colour is a --v5- token. Classes are prefixed v5- so nothing here can
   meet .btn, .wrap or the dc- classes /services/ and /offers/ use. The
   header's own styles are in components.css, because the builders copy
   it onto those pages; this file only lifts it onto the film.
   ============================================================ */

/* The v5 base, buttons, hero buttons, sections, closing band and the
   threads canvas are shared by every page: site-v5.css. */

/* ---- the header ---------------------------------------------- */
/* On the homepage it sits on the film; on /contact/ it is an ordinary,
   see-through header over the threads. */
html[data-home="v5"] .site-header { position: relative; background: transparent; border-bottom: 0; }   /* not sticky: see-through, it would sit over the text */
html[data-page="home"] .site-header { position: absolute; inset: 0 0 auto; z-index: 10; }
html[data-home="v5"] .hbtn--login { background: var(--v5-glass-2); border-color: var(--v5-line-2); }
html[data-home="v5"] .hbtn--cta:hover { background: var(--v5-accent); color: var(--v5-white); }

/* ---- 1. the film hero ----------------------------------------
   The film is the top of the page at its own 1920:1068, so the whole
   frame always shows (object-fit: contain; owner: "doesn't show the
   complete ratio"). Its top and bottom fade into the page, and a white
   veil from the left carries the headline. Tablets and phones: words
   first, then the whole film, full width. */
.v5-hero { position: relative; isolation: isolate; padding-top: 76px; aspect-ratio: 1920 / 1068; min-height: 640px; display: flex; align-items: center; }
.v5-film { position: absolute; inset: 0; z-index: -1; }
.v5-film__clip { position: absolute; inset: 0; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 80%, transparent 100%); }
.v5-film__still, .v5-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.v5-film video { opacity: 0; transition: opacity 0.4s ease-out; }
.v5-film video.is-on { opacity: 1; }
.v5-veil { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, var(--v5-veil-1) 0%, var(--v5-veil-2) 28%, var(--v5-veil-3) 44%, var(--v5-clear) 58%); }
.v5-hero__grid { width: min(100% - (var(--v5-gut) * 2), var(--v5-page)); margin-inline: auto; padding-block: 40px 60px; }
.v5-hero__words { max-width: 560px; }   /* room for both hero buttons on one line with §25's cab */
.v5-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--v5-glass-2); border: 1px solid var(--v5-line); border-radius: 999px; padding: 6px 14px 6px 6px; min-height: 36px; font: 600 var(--v5-fs-md) var(--font-body); color: var(--v5-ink); text-decoration: none; }
.v5-pill i { font-style: normal; background: var(--v5-ink); color: var(--v5-white); border-radius: 999px; padding: 3px 10px; font-size: var(--v5-fs-xs); letter-spacing: 0.04em; }
.v5-hero h1 { font-size: clamp(2.25rem, 4.3vw, 3.875rem); line-height: 1; letter-spacing: -0.045em; font-weight: 700; margin-top: 20px; }
.v5-grad { background: linear-gradient(90deg, var(--v5-grad-a), var(--v5-grad-b) 55%, var(--v5-grad-c)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.v5-lead { font-size: var(--v5-lead); color: var(--v5-ink-2); max-width: 36ch; margin-top: 18px; line-height: 1.5; }
.v5-ctas { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-top: 26px; }
/* §8: the second sentence on its own line, in the gradient, at 0.78em. */
.v5-hero h1 .v5-grad { display: block; margin-top: 6px; font-size: 0.78em; line-height: 1.05; }
/* The one motion control (WCAG 2.2.2): it stops the film, the threads,
   the closing mesh and the board's flow. Outside the film's fade, so it is
   never faded with it. */
.v5-ctl { position: absolute; right: 20px; bottom: 14%; z-index: 3; }
.v5-ctl button { font: 600 var(--v5-fs-sm)/1 var(--font-body); color: var(--v5-ink); background: var(--v5-glass-2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid var(--v5-line-2); border-radius: 999px; padding: 0 16px; min-height: 44px; cursor: pointer; }
.v5-ctl button:hover { border-color: var(--v5-ink); }
.v5-ctl--page { position: static; margin-top: 18px; }
/* §20 (owner): no Pause button showing on the hero, nor at the top of
   /contact/ (supervisor QA, 27 Sep 2026). Each stays in the page
   and appears when a keyboard user tabs to it; mouse and touch users have
   the visible one in every footer (.v5-motion-foot), so all of them can
   stop the motion (WCAG 2.2.2). */
.v5-ctl button:not(:focus-visible) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 1024px) {
  .v5-hero { aspect-ratio: auto; min-height: 0; flex-direction: column; align-items: stretch; }
  .v5-hero__grid { order: 1; padding-block: 28px 8px; }   /* words first, then the film (owner) */
  .v5-veil { display: none; }
  .v5-film { order: 2; position: relative; inset: auto; z-index: 0; width: 100%; aspect-ratio: 1920 / 1068; }
  .v5-film__clip { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 82%, transparent 100%); }
  .v5-ctl { bottom: 18%; right: 12px; }
}

/* ---- 2. the board ------------------------------------------- */
.v5-numbers { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: end; margin-bottom: 18px; }
.v5-numbers p { margin-right: auto; color: var(--v5-muted); font-size: var(--v5-fs-md); max-width: 30ch; }
.v5-numbers p b { display: block; color: var(--v5-ink); font-size: var(--v5-fs-lg); }
.v5-field { display: grid; gap: 4px; font: 600 var(--v5-fs-md) var(--font-body); color: var(--v5-ink-2); }
.v5-field span { display: flex; align-items: center; border: 1px solid var(--v5-line-2); border-radius: 10px; background: var(--v5-white); padding: 0 12px; min-height: 46px; }
.v5-field span:focus-within { border-color: var(--v5-accent); box-shadow: 0 0 0 3px var(--v5-focus-ring); }
.v5-field input { width: 5.5ch; border: 0; outline: 0; font: 600 var(--v5-fs-lg) var(--font-body); color: var(--v5-ink); background: transparent; font-variant-numeric: tabular-nums; }
/* The board (CHANGE-v5-loop-and-weave §16, restyled by §19): white with a
   faint dot grid. Each card shows its leak in red until it is switched on,
   then its fix in green. The lines are crochet yarn: a loose grey thread
   when off; on, a chain stitch in the service's colour, drawn from the card
   into the hub by a small crochet hook. The hub and its numbers are §16's. */
.v5-board { position: relative; background: var(--v5-white); border: 1px solid var(--v5-line); border-radius: var(--v5-r-lg); box-shadow: var(--v5-shadow-sm); padding: 14px; }
#v5-bsvg, .v5-hub { display: none; }
.v5-parts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 10px; }
.v5-parts .lbl { grid-column: 1 / -1; font: 700 var(--v5-fs-xs) var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--v5-muted); margin-top: 6px; }
.v5-part { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1px 12px; width: 100%; min-height: 56px; text-align: left; padding: 10px 14px; border-radius: 14px; background: var(--v5-leak-bg); border: 1.5px solid var(--v5-leak-line); cursor: pointer; font: inherit; color: var(--v5-ink); transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.v5-part:hover { border-color: var(--v5-leak); transform: translateY(-1px); }
.v5-part .ic { grid-row: 1 / span 2; grid-column: 1; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--v5-soft); color: var(--v5-ink); transition: background var(--dur) var(--ease); }
.v5-part .ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.v5-part b { grid-column: 2; font-size: 1rem; line-height: 1.2; }
.v5-part small { grid-column: 2; font-size: var(--v5-fs-sm); color: var(--v5-muted); line-height: 1.3; }
.v5-part i { grid-row: 1 / span 2; grid-column: 3; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--v5-line-2); color: var(--v5-muted); font-style: normal; font-weight: 700; }
.v5-part .ic { background: var(--v5-white); }
.v5-part[aria-pressed="true"] { background: var(--v5-fix-bg); border-color: var(--v5-fix-line); box-shadow: var(--v5-fix-shadow); }
.v5-part[aria-pressed="true"]:hover { border-color: var(--v5-gain); }
.v5-part[aria-pressed="true"] .ic { color: var(--v5-gain); }
/* The leak / fixed strip (§19): one line under the price, swapped by state. */
.v5-part .lk { grid-column: 1 / -1; margin-top: 6px; border-radius: 8px; padding: 3px 8px; font: 600 var(--v5-fs-xs)/1.3 var(--font-body); background: var(--v5-warn-bg); color: var(--v5-leak); }
.v5-part .lk__f { display: none; }
.v5-part[aria-pressed="true"] .lk { background: var(--v5-gain-bg); color: var(--v5-gain); }
.v5-part[aria-pressed="true"] .lk__l { display: none; }
.v5-part[aria-pressed="true"] .lk__f { display: inline; }
.v5-part .lk__dot { display: inline-block; animation: v5-blink 1.6s ease-in-out infinite; }
@keyframes v5-blink { 50% { opacity: 0.3; } }
html.v5-still .v5-part .lk__dot { animation-play-state: paused; }
.v5-part[aria-pressed="true"] i { background: var(--v5-gain); border-color: var(--v5-gain); color: var(--v5-white); }
/* The hook line (§9): a dark tooltip above the part on desktop, on hover
   and on keyboard focus. Hidden on phones and tablets, where the Leak line
   does its job (§19). */
.v5-part .hook { display: none; }
.v5-chipm { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--v5-white); color: var(--v5-ink); border: 1.5px solid var(--v5-ink); border-top: 6px solid var(--v5-g3); border-radius: var(--v5-r); padding: 12px 16px; margin-bottom: 10px; }
.v5-chipm span { display: block; color: var(--v5-muted); font-size: var(--v5-fs-md); }
.v5-chipm strong { text-align: right; font: 700 1.375rem/1.1 var(--font-display); font-variant-numeric: tabular-nums; }
.v5-chipm strong span { color: var(--v5-gain); font: inherit; }
.v5-chipm strong small { display: block; font: 500 var(--v5-fs-xs) var(--font-body); color: var(--v5-muted); }
@media (min-width: 960px) {
  /* §27: the whole board fits one screen. Its width follows the window's height
     (1000:700), never below 880px or wider than the column; the totals bar sits
     under it instead of floating over it (the hub already shows the totals). */
  #build { scroll-margin-top: 16px; }
  .v5-board { width: clamp(880px, calc((100svh - 150px) * 1000 / 700), 100%); margin-inline: auto; aspect-ratio: 1000 / 700; padding: 0; background: var(--v5-white) radial-gradient(circle, var(--v5-rail-off) 1.2px, transparent 1.3px) 0 0 / 22px 22px; }
  #v5-bsvg { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
  .v5-chipm, .v5-parts .lbl { display: none; }
  .v5-parts { display: block; position: absolute; inset: 0; }
  .v5-parts li { position: absolute; width: 26%; height: 14.86%; }
  .v5-parts li:hover, .v5-parts li:focus-within { z-index: 30; }
  .v5-part { position: relative; height: 100%; padding: 8px 12px; min-height: 0; gap: 0 10px; align-content: center; }
  .v5-part .ic { width: 32px; height: 32px; }
  .v5-part b { font-size: var(--v5-fs-md); }
  .v5-part small { font-size: var(--v5-fs-xs); }
  .v5-part .hook { display: block; font: 600 var(--v5-fs-hook)/1.35 var(--font-body); position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translate(-50%, 4px); width: max-content; max-width: 280px; margin: 0; background: var(--v5-ink); color: var(--v5-white); padding: 9px 12px; border-radius: 10px; box-shadow: var(--v5-tip-shadow); text-align: center; opacity: 0; pointer-events: none; z-index: 20; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
  .v5-part .hook::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -6px; border: 6px solid transparent; border-top-color: var(--v5-ink); }
  .v5-part:hover .hook, .v5-part:focus-visible .hook { opacity: 1; transform: translate(-50%, 0); }
  .v5-hub { display: flex; flex-direction: column; position: absolute; left: 36%; width: 28%; top: 21.43%; height: 57.14%; background: var(--v5-white); border: 1.5px solid var(--v5-ink); border-radius: var(--v5-r-lg); box-shadow: var(--v5-hub-shadow); overflow: hidden; z-index: 2; }
  .v5-hub__sign { background: var(--v5-ink); color: var(--v5-white); display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0 12px; padding: 14px 18px 12px; border-bottom: 5px solid; border-image: linear-gradient(90deg, var(--v5-g1), var(--v5-g2), var(--v5-g3), var(--v5-g4), var(--v5-g5), var(--v5-g6)) 1; }
  .v5-hub__n { grid-row: 1 / span 2; width: 40px; height: 40px; border-radius: 50%; background: conic-gradient(var(--v5-g1), var(--v5-g2), var(--v5-g3), var(--v5-g4), var(--v5-g5), var(--v5-g6), var(--v5-g1)); color: var(--v5-ink); display: grid; place-items: center; font: 800 1.25rem/1 var(--font-display); font-variant-numeric: tabular-nums; }
  .v5-hub__sign b { font: 700 1.1875rem/1.15 var(--font-display); letter-spacing: -0.01em; }
  .v5-hub__sign em { font: 500 var(--v5-fs-xs)/1.3 var(--font-body); font-style: normal; color: var(--v5-sign-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .v5-hub__body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 14px 20px 16px; text-align: center; }
  .v5-hub__k { display: block; font: 600 var(--v5-fs-xs) var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--v5-muted); }
  .v5-hub__gain { font: 700 clamp(1.875rem, 3.4vw, 2.75rem)/1.05 var(--font-display); letter-spacing: -0.03em; color: var(--v5-gain); font-variant-numeric: tabular-nums; margin-top: 4px; }
  .v5-hub__u { font-size: var(--v5-fs-sm); color: var(--v5-muted); }
  .v5-hub__row { display: grid; grid-template-columns: 1fr 1fr; margin-top: 14px; border-top: 1px solid var(--v5-line); padding-top: 12px; }
  .v5-hub__row > div + div { border-left: 1px solid var(--v5-line); }
  .v5-hub__row b { display: block; font: 700 1.375rem/1.2 var(--font-display); font-variant-numeric: tabular-nums; margin-top: 2px; }
  .v5-hub__row small { font-size: var(--v5-fs-xs); color: var(--v5-muted); }
  .v5-hub__pay { margin-top: 12px; font: 600 var(--v5-fs-sm)/1.35 var(--font-body); color: var(--v5-ink); background: var(--v5-gain-bg); border-radius: 10px; padding: 8px 10px; }
}
/* The yarn (§19). Off: a loose grey dotted thread. On: a 7px chain stitch
   in the service's colour (set by home-v5.js from --v5-g1..6) with a thin
   white dash over it, revealed by a mask as the hook draws it in. */
.v5-thread { fill: none; stroke: var(--v5-thread-off); stroke-width: 2; stroke-dasharray: 3 6; stroke-linecap: round; }
.v5-yarn { fill: none; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.v5-stitch { fill: none; stroke: var(--v5-white); stroke-width: 1.6; stroke-dasharray: 5 5; stroke-linecap: round; opacity: 0.85; }
.v5-yarn-g { display: none; }
.v5-yarn-g.is-on { display: inline; }
.v5-thread.is-on { opacity: 0; }
.v5-knot { fill: var(--v5-white); stroke: var(--v5-thread-off); stroke-width: 3; }
.v5-hook { fill: none; stroke: var(--v5-ink); stroke-width: 2.6; stroke-linecap: round; }
@media (prefers-reduced-motion: reduce) {
  .v5-part .lk__dot { animation: none; }
  .v5-part, .v5-part:hover { transition: none; transform: none; }
  .v5-part .hook, .v5-part .ic { transition: none; }
}
.v5-bar { position: sticky; bottom: 12px; z-index: 5; margin-top: 16px; }
@media (min-width: 960px) { .v5-bar { position: static; width: clamp(880px, calc((100svh - 150px) * 1000 / 700), 100%); margin-inline: auto; } }
.v5-bar__in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 36px; background: var(--v5-glass-2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--v5-line); border-radius: var(--v5-r-lg); box-shadow: var(--v5-shadow-sm); padding: 14px 20px; }
.v5-stat span { display: block; font: 600 var(--v5-fs-sm) var(--font-body); color: var(--v5-muted); }
.v5-stat b { font: 700 var(--v5-stat)/1.1 var(--font-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.v5-stat small { font-size: var(--v5-fs-sm); color: var(--v5-muted); margin-left: 6px; }
.v5-stat--g b { color: var(--v5-gain); }
.v5-bar .v5-btn { margin-left: auto; }
@media (max-width: 600px) { .v5-bar .v5-btn { width: 100%; } .v5-stat b { font-size: 1.625rem; } }
/* What each connected part assumes: the rate is written on every line
   (CLAUDE.md, the estimate exception). */
.v5-lines { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 6px; font-size: var(--v5-fs-md); color: var(--v5-ink-2); }
.v5-lines:empty { display: none; }
.v5-lines li { display: flex; flex-wrap: wrap; gap: 4px 12px; justify-content: space-between; border-bottom: 1px dashed var(--v5-line-2); padding: 6px 0; }
.v5-lines b { color: var(--v5-ink); font-weight: 600; }
.v5-lines .g { color: var(--v5-gain); font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---- 3. the timeline: the N Train (CHANGE-v5-loop-and-weave §18, §22-§24)
   A grey rail through five stations; the part travelled fills in N-line
   yellow, and the owner's N-train clip rides it stop by stop (home-v5.js).
   The at-rest state is the finished one: train at Delivered, line full,
   every step shown. .is-run dims only the stops not yet reached, so
   nothing is ever hidden behind the animation. */
.v5-tl-sign { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; background: var(--v5-ink); color: var(--v5-white); border-radius: var(--v5-r); padding: 10px 14px; border-bottom: 4px solid var(--v5-rail); font: 500 var(--v5-fs-md) var(--font-body); margin-bottom: 6px; }
.v5-tl-line { display: inline-flex; align-items: center; gap: 10px; padding-right: 18px; border-right: 1px solid var(--v5-sign-rule); }
.v5-tl-line b { display: block; font: 700 var(--v5-fs-lg) var(--font-display); letter-spacing: -0.01em; color: var(--v5-white); }
.v5-tl-line small { display: block; font: 600 0.75rem/1.2 var(--font-body); color: var(--v5-sign-mute); margin-top: 2px; }
.v5-tl-msg { flex: 1 1 22rem; min-width: 0; display: grid; gap: 2px; }
.v5-tl-msg b { font: 700 1.0625rem/1.2 var(--font-display); color: var(--v5-sign-hi); }
.v5-tl-msg span { font-size: 0.9375rem; line-height: 1.4; color: var(--v5-white); }
.v5-tl-next { font-size: 0.875rem; text-align: right; }
.v5-tl-next b { display: block; }
.v5-tl-bullet { width: 34px; height: 34px; border-radius: 50%; background: var(--v5-rail); color: var(--v5-n-ink); display: grid; place-items: center; font: 700 1.3125rem/1 var(--v5-n-font); flex: none; }
.v5-tl-now b, .v5-tl-next b { font-weight: 700; color: var(--v5-sign-hi); }
.v5-tl-next { color: var(--v5-sign-mute); }
@media (max-width: 600px) { .v5-tl-line { border-right: 0; padding-right: 0; } .v5-tl-next { text-align: left; } }
.v5-tlw { position: relative; padding-top: 44px; overflow: hidden; overflow: clip; padding-inline: 4px; margin-inline: -4px; }
.v5-tl { position: relative; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
.v5-tl-track { position: absolute; left: 8px; right: 0; top: 71px; height: 7px; border-radius: 7px; background: var(--v5-rail-off); }
.v5-tl-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; border-radius: 7px; background: var(--v5-rail); }
.v5-tl-train { position: absolute; left: 0; top: 0; width: 460px; height: 55px; z-index: 3; will-change: transform; }
.v5-tl-train video { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; pointer-events: none; }
.v5-tr-n { position: absolute; left: 91.4%; top: 37%; width: 3.5%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--v5-rail); color: var(--v5-n-ink); display: grid; place-items: center; font: 700 11px/1 var(--v5-n-font); box-shadow: 0 0 0 1px var(--v5-veil); }
.v5-tr-name { position: absolute; right: 3%; bottom: calc(100% + 4px); display: inline-flex; align-items: center; gap: 6px; background: var(--v5-ink); color: var(--v5-white); border-radius: 999px; padding: 3px 10px 3px 3px; font: 700 var(--v5-fs-xs) var(--font-body); white-space: nowrap; box-shadow: var(--v5-tip-shadow); }
.v5-tr-name i { font-style: normal; width: 18px; height: 18px; border-radius: 50%; background: var(--v5-rail); color: var(--v5-n-ink); display: grid; place-items: center; font: 700 var(--v5-fs-xs)/1 var(--v5-n-font); }
.v5-tl > li { list-style: none; position: relative; padding: 0 14px 0 0; display: grid; gap: 8px; align-content: start; transition: opacity 0.4s; }
.v5-tl .dot { position: absolute; top: 21px; left: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--v5-white); border: 4px solid var(--v5-ink); z-index: 2; transition: border-color 0.3s, box-shadow 0.3s; }
.v5-tl .when { display: inline-flex; align-self: start; justify-self: start; font: 700 var(--v5-fs-sm) var(--font-body); letter-spacing: 0.02em; background: var(--v5-ink); color: var(--v5-white); border-radius: 999px; padding: 5px 11px; position: relative; z-index: 1; margin-top: 50px; white-space: nowrap; transition: background 0.3s, color 0.3s; }
.v5-tl h3 { font-size: 1.1875rem; margin-top: 4px; }
.v5-tl p { font-size: 1rem; color: var(--v5-ink-2); }
.v5-tl small { font-size: var(--v5-fs-sm); color: var(--v5-muted); }
.v5-tl .sub { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: var(--v5-fs-md); }
.v5-tl .sub li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--v5-line-2); padding: 3px 0; }
.v5-tl .sub li b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.v5-tlw.is-run .stop:not(.done) { opacity: 0.45; }
.v5-tlw.is-run .stop:not(.done) .dot { border-color: var(--v5-line-2); }
.v5-tlw.is-run .stop:not(.done) .when { background: var(--v5-line); color: var(--v5-muted); }
.v5-tl .stop.here .dot { box-shadow: 0 0 0 6px var(--v5-rail-halo); }
.v5-tl .stop.here .when { background: var(--v5-rail); color: var(--v5-ink); }
.v5-tl-note { margin-top: 18px; font-size: var(--v5-fs-md); color: var(--v5-muted); }
@media (max-width: 900px) {
  .v5-tlw { padding-top: 0; }
  .v5-tl { grid-template-columns: 1fr; gap: 26px; padding-left: 40px; }
  .v5-tl-track { left: 9px; right: auto; top: 10px; bottom: 10px; width: 7px; height: auto; }
  .v5-tl-fill { width: 100%; height: 100%; }
  .v5-tl .dot { left: -39px; top: 0; }
  .v5-tl .when { margin-top: 0; }
  .v5-tl-train { width: 320px; height: 38px; }
  .v5-tr-name { display: none; }
  .v5-tr-n { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) { .v5-tl-train, .v5-tl-fill, .v5-tl > li, .v5-tl .dot, .v5-tl .when { transition: none; } }

/* ---- 4. free offers ----------------------------------------- */
.v5-offers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .v5-offers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .v5-offers { grid-template-columns: 1fr; } }
.v5-offer { position: relative; border-radius: var(--v5-r-lg); padding: 18px; background: var(--v5-white); border: 1px solid var(--v5-line); box-shadow: var(--v5-shadow-sm); display: grid; gap: 8px; align-content: start; overflow: hidden; }
.v5-offer::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.v5-offer > b { font: 700 1.625rem/1 var(--font-display); letter-spacing: -0.02em; color: var(--v5-ink); }
.v5-offer h3 { font-size: var(--v5-fs-lg); }
.v5-offer h3 a { color: inherit; text-decoration: none; }
.v5-offer h3 a::after { content: ""; position: absolute; inset: 0; }
.v5-offer h3 a:hover { text-decoration: underline; }
.v5-offer p { font-size: var(--v5-fs-md); color: var(--v5-ink-2); }
.v5-offer small { font-size: var(--v5-fs-sm); color: var(--v5-muted); }
.v5-o1 { --c1: var(--v5-g1); --c2: var(--v5-g2); }
.v5-o2 { --c1: var(--v5-g2); --c2: var(--v5-g3); }
.v5-o3 { --c1: var(--v5-g3); --c2: var(--v5-g4); }
.v5-o4 { --c1: var(--v5-g5); --c2: var(--v5-g6); }

/* ---- /contact/ ---------------------------------------------- */
.v5-chead { padding-block: 40px 30px; max-width: 640px; }
.v5-chead h1 { font-size: clamp(2.375rem, 5vw, 3.75rem); line-height: 1.02; letter-spacing: -0.04em; margin-top: 10px; }
.v5-chead__lead { font-size: 1.1875rem; color: var(--v5-ink-2); margin-top: 14px; }
.v5-cgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; padding-bottom: 80px; }
@media (max-width: 900px) { .v5-cgrid { grid-template-columns: 1fr; } }
.v5-cbox { background: var(--v5-white); border: 1px solid var(--v5-line); border-radius: var(--v5-r-lg); box-shadow: var(--v5-shadow-sm); padding: 24px; display: grid; gap: 14px; }
.v5-cbox h2 { font-size: 1.375rem; }
.v5-cbox .sub { font-size: var(--v5-fs-md); color: var(--v5-muted); margin-top: -6px; }
.v5-form { display: grid; gap: 12px; }
.v5-form .g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .v5-form .g2 { grid-template-columns: 1fr; } }
.v5-form label.f { display: grid; gap: 5px; font: 600 var(--v5-fs-md) var(--font-body); color: var(--v5-ink-2); min-width: 0; }
.v5-form .opt { font-weight: 400; color: var(--v5-muted); }
.v5-form input:not([type=checkbox]), .v5-form select, .v5-form textarea { width: 100%; min-width: 0; min-height: 48px; border: 1px solid var(--v5-line-2); border-radius: 10px; padding: 10px 12px; font: 1rem var(--font-body); color: var(--v5-ink); background: var(--v5-white); }
.v5-form textarea { min-height: 96px; resize: vertical; }
.v5-form input:not([type=checkbox]):focus-visible, .v5-form select:focus-visible, .v5-form textarea:focus-visible { outline: none; border-color: var(--v5-accent); box-shadow: 0 0 0 3px var(--v5-focus-ring); }
.v5-form [aria-invalid="true"] { border-color: var(--v5-warn); }
.v5-form .consent { display: grid; grid-template-columns: 24px 1fr; gap: 8px; align-items: start; }
.v5-form .consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--v5-ink); }
.v5-form .consent label { font: 400 var(--v5-fs-sm)/1.45 var(--font-body); color: var(--v5-ink-2); }
.v5-form .consent__note { font-size: var(--v5-fs-xs); color: var(--v5-muted); line-height: 1.5; }
.v5-form .consent__note a { color: var(--v5-ink-2); }
.v5-form .v5-btn { width: 100%; }
.v5-form .form-status { font-size: var(--v5-fs-md); }
.v5-form .form-status[data-state="error"] { color: var(--v5-warn); }
.v5-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-ok { background: var(--v5-gain-bg); color: var(--v5-gain); border-radius: 12px; padding: 14px; font-weight: 600; }
.v5-cal { border: 1px solid var(--v5-line); border-radius: var(--v5-r); overflow: hidden; background: var(--v5-soft); min-height: 600px; }
.v5-cal iframe { width: 100%; height: 600px; border: 0; display: block; }
.v5-cal { display: grid; place-items: center; }
.v5-cal iframe[hidden] { display: none; }
.v5-alt { font-size: var(--v5-fs-md); color: var(--v5-muted); }
.v5-alt a { color: var(--v5-ink); font-weight: 600; }


/* §27: a shorter window means a smaller board, so the cards tighten to stay whole. */
@media (min-width: 960px) and (max-height: 880px) {
  .v5-part { padding: 5px 10px; gap: 0 8px; }
  .v5-part .ic { width: 26px; height: 26px; }
  .v5-part b { font-size: 0.875rem; line-height: 1.15; }
  .v5-part small { font-size: 0.75rem; line-height: 1.2; }
  .v5-part .lk { margin-top: 3px; padding: 3px 7px; font-size: 0.71875rem; line-height: 1.25; }
}

/* §28: the five stops are the same size; the delivery times sit under the line as one row. */
.v5-tl-times { list-style: none; margin: 22px 0 0; padding: 12px 16px; display: flex; flex-wrap: wrap; gap: 8px 26px; border: 1px solid var(--v5-line); border-radius: 999px; background: var(--v5-white); font-size: 0.9375rem; color: var(--v5-ink-2); }
.v5-tl-times li { display: flex; gap: 6px; align-items: baseline; }
.v5-tl-times b { color: var(--v5-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 600px) { .v5-tl-times { border-radius: var(--v5-r); flex-direction: column; gap: 6px; } .v5-tl-times li { justify-content: space-between; } }

/* §29: stops are compact and tappable; the platform board under the line tells the current stop's story. */
.v5-tl-js > .v5-tl-times { display: none; }
/* The stop's own words stay in the page for screen readers; the board shows them to the eye. */
.v5-tl-js .v5-tl .stop > p, .v5-tl-js .v5-tl .stop > small { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.v5-tl-go { all: unset; cursor: pointer; border-radius: 6px; }
.v5-tl-go::after { content: ""; position: absolute; inset: 0; }   /* the whole stop is the tap target */
.v5-tl-go:focus-visible { outline: 3px solid var(--v5-accent); outline-offset: 4px; }
.v5-tl-js .v5-tl .stop { cursor: pointer; border-radius: 12px; }
.v5-tl-js .v5-tl .stop:hover h3 { color: var(--v5-accent); }
.v5-tl-board { margin-top: 22px; display: grid; grid-template-columns: auto minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px 28px; align-items: start; background: var(--v5-ink); color: var(--v5-white); border-radius: var(--v5-r-lg); padding: 20px 24px; border-bottom: 4px solid var(--v5-rail); box-shadow: var(--v5-shadow-sm); }
.v5-tl-board.is-in > * { animation: v5-pb-in .45s var(--ease) both; }
.v5-tl-board.is-in > *:nth-child(2) { animation-delay: .06s; }
.v5-tl-board.is-in > *:nth-child(3) { animation-delay: .12s; }
@keyframes v5-pb-in { from { opacity: 0; transform: translateY(6px); } }
.v5-pb-num { width: 64px; height: 64px; border-radius: 50%; background: var(--v5-rail); color: var(--v5-n-ink); display: grid; place-content: center; text-align: center; line-height: 1; }
.v5-pb-num b { font: 800 1.75rem/1 var(--font-display); }
.v5-pb-num span { font: 700 0.6875rem/1 var(--font-body); margin-top: 2px; }
.v5-pb-when { display: inline-block; font: 700 0.8125rem var(--font-body); color: var(--v5-n-ink); background: var(--v5-rail); border-radius: 999px; padding: 3px 10px; }
.v5-pb-main h4 { font: 700 1.5rem/1.15 var(--font-display); letter-spacing: -0.02em; margin: 8px 0 6px; color: var(--v5-white); }
.v5-pb-main p { font-size: 1rem; line-height: 1.5; color: var(--v5-sign-mute); margin: 0; }
.v5-pb-do { margin: 0; display: grid; gap: 12px; }
.v5-pb-do div { border-left: 3px solid var(--v5-rail); padding-left: 12px; }
.v5-pb-do dt { font: 700 0.75rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--v5-sign-hi); }
.v5-pb-do dd { margin: 2px 0 0; font-size: 0.9875rem; line-height: 1.45; color: var(--v5-white); }
.v5-pb-times { grid-column: 1 / -1; }
.v5-pb-times .v5-tl-times { display: flex; margin: 0; background: var(--v5-pb-glass); border-color: var(--v5-pb-glass-line); color: var(--v5-sign-mute); }
.v5-pb-times .v5-tl-times b { color: var(--v5-white); }
@media (max-width: 900px) {
  .v5-tl-board { grid-template-columns: auto minmax(0, 1fr); padding: 16px; }
  .v5-pb-do { grid-column: 1 / -1; }
  .v5-tl-js .v5-tl { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) { .v5-tl-board.is-in > * { animation: none; } }
