/* Ride OS marketing site. Palette: v4b "Graphite + Ignition" (design/mockups/v4b/src/tokens.css). */
@font-face {
  font-family: "Ride";
  src: url("/fonts/archivo.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 100% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20A8, U+20AC, U+2122, U+2190-2199, U+2212, U+FEFF;
}
@font-face {
  font-family: "Ride";
  src: url("/fonts/anek-500.woff2") format("woff2");
  font-weight: 400 600;
  font-stretch: 100% 125%;
  font-display: swap;
  unicode-range: U+0900-097F, U+200C-200D, U+25CC;
}
@font-face {
  font-family: "Ride";
  src: url("/fonts/anek-750.woff2") format("woff2");
  font-weight: 601 800;
  font-stretch: 100% 125%;
  font-display: swap;
  unicode-range: U+0900-097F, U+200C-200D, U+25CC;
}

:root {
  --carbon: #141311; --graphite: #1E1D1B; --gunmetal: #2C2A27; --steel: #57534D; --titanium: #8F8A82;
  --alloy: #D8D4CD; --pearl: #F1EFEB; --white: #FFFFFF;
  --ignition: #FF6A1A; --ignition-ink: #C2410C; --go: #1F9D63; --plate: #C8102E;
  --ink: var(--carbon); --ink2: var(--steel); --line: #E0DCD5;
  --on-dark: #F3F1ED; --on-dark2: #B5AFA6; --line-dark: #34322E;
  --focus: var(--ignition-ink);
  --shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 1px 1px rgba(20,19,17,.04), 0 4px 10px rgba(20,19,17,.05), 0 16px 32px -14px rgba(20,19,17,.20);
  --shadow-hi: 0 1px 1px rgba(20,19,17,.06), 0 10px 24px rgba(20,19,17,.10), 0 30px 60px -20px rgba(20,19,17,.45);
  --brushed: repeating-linear-gradient(90deg, rgba(255,255,255,.028) 0 1px, rgba(0,0,0,0) 1px 3px), linear-gradient(165deg, #34322E 0%, #1D1C1A 46%, #121110 100%);
  --font: "Ride", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 16px;
  color-scheme: light;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--pearl); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.55; font-stretch: 100%;
  font-variant-numeric: tabular-nums; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.is-ne { line-height: 1.6; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--ignition-ink); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.ri .a { stroke: var(--ignition); }
.ri .af { fill: var(--ignition); stroke: none; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ignition); color: var(--carbon); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* Type */
.display {
  font-weight: 800; font-stretch: 125%; letter-spacing: -0.035em; line-height: .94;
  font-size: clamp(2.2rem, 7.2vw, 5.1rem);
}
.display .l { display: block; }
.display--md { font-size: clamp(2.1rem, 6vw, 4.6rem); line-height: .98; max-width: 14ch; }
.h2 {
  font-weight: 780; font-stretch: 118%; letter-spacing: -0.025em; line-height: 1.02;
  font-size: clamp(1.95rem, 4.6vw, 3.5rem); max-width: 17ch; text-wrap: balance;
}
.h3 { font-weight: 760; font-stretch: 116%; font-size: 1.45rem; letter-spacing: -0.015em; line-height: 1.1; }
.h4 { font-weight: 720; font-stretch: 110%; font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.2; }
.lead { margin-top: 20px; font-size: clamp(1.08rem, 1.45vw, 1.28rem); color: var(--ink2); max-width: 54ch; line-height: 1.5; text-wrap: pretty; }
.is-ne .display, .is-ne .h2, .is-ne .h3 { letter-spacing: -0.01em; line-height: 1.12; }
.is-ne .display { font-stretch: 112%; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 14px; border: 0;
  background: linear-gradient(180deg, #FF8A3D 0%, #FF6A1A 55%, #F0560A 100%);
  color: var(--carbon); font: inherit; font-weight: 720; font-stretch: 112%; font-size: 1.02rem; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), inset 0 -2px 0 rgba(120,30,0,.25), 0 10px 26px -10px rgba(255,106,26,.7);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.btn:hover { filter: brightness(1.05); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), inset 0 -2px 0 rgba(120,30,0,.25), 0 12px 34px -8px rgba(255,106,26,.85); }
.btn:active { transform: translateY(2px); }
.btn .ri { color: var(--carbon); }
.btn .ri .a, .btn .ri .af { stroke: var(--carbon); }
.btn .ri .af { fill: var(--carbon); stroke: none; }
.btn--sm { min-height: 42px; padding: 0 16px; border-radius: 11px; font-size: .95rem; }
.btn--ghost { background: transparent; color: var(--on-dark); box-shadow: inset 0 0 0 1.5px rgba(241,239,235,.28); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(241,239,235,.6); filter: none; }
.btn--dark { background: var(--carbon); color: var(--on-dark); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 8px 20px -10px rgba(20,19,17,.6); }

/* Header */
.top {
  position: sticky; top: 0; z-index: 40; --focus: var(--ignition);
  background: rgba(20,19,17,.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06); color: var(--on-dark);
}
.top__in { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand__word { font-weight: 800; font-stretch: 125%; font-size: 1.2rem; letter-spacing: -0.02em; }
.mark { flex: none; filter: drop-shadow(0 4px 10px rgba(255,106,26,.35)); }
.nav { display: none; gap: 4px; margin-left: 24px; }
.nav a { color: var(--on-dark2); text-decoration: none; padding: 8px 12px; border-radius: 9px; font-size: .95rem; font-weight: 560; }
.nav a:hover { color: var(--on-dark); background: rgba(255,255,255,.06); }
.top__end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lang { color: var(--on-dark); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 10px; border-radius: 9px; }
.lang:hover, .signin:hover { background: rgba(255,255,255,.06); }
.signin { display: none; color: var(--on-dark2); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 10px; border-radius: 9px; }
@media (min-width: 640px) { .signin { display: inline-block; } }
@media (min-width: 960px) { .nav { display: flex; } }
@media (max-width: 420px) { .brand__word { display: none; } .top .btn--sm { padding: 0 14px; } }

/* Hero */
.hero {
  --focus: var(--ignition);
  position: relative; color: var(--on-dark); overflow: hidden;
  background:
    radial-gradient(60% 55% at 78% 30%, rgba(255,106,26,.13), transparent 70%),
    var(--brushed);
  padding-top: clamp(40px, 7vw, 96px);
}
.hero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.4fr .6fr; gap: 40px; } }
.hero__lead { margin-top: 26px; font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: var(--on-dark2); max-width: 50ch; line-height: 1.5; text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; align-items: center; }
.hero__fine { margin-top: 22px; color: var(--titanium); font-size: .95rem; max-width: 52ch; }

/* Instrument */
.instrument { justify-self: center; width: min(420px, 88%); }
@media (max-width: 959px) { .instrument { width: min(340px, 88%); } }
.instrument__bezel {
  position: relative; border-radius: 50%; padding: 10px; aspect-ratio: 1;
  background: conic-gradient(from 210deg, #8F8A82, #F1EFEB 12%, #57534D 30%, #D8D4CD 48%, #2C2A27 64%, #B5AFA6 80%, #8F8A82);
  box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 30px 70px -20px rgba(0,0,0,.9), 0 0 120px -30px rgba(255,106,26,.35);
}
.dial { width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 2px #0c0b0a; }
.arc { fill: none; stroke-width: 11; }
.arc--track { stroke: #34322E; stroke-dasharray: 75 100; }
.arc--due { stroke: rgba(255,106,26,.28); stroke-dasharray: 15 100; }
.arc--val { stroke: url(#arcg); stroke-dasharray: 56.4 100; }
.tk { stroke: #6E6961; stroke-width: 2; stroke-linecap: round; }
.tk--maj { stroke: #D8D4CD; stroke-width: 3.5; }
.tl { fill: #B5AFA6; font: 600 21px var(--font); font-stretch: 112%; text-anchor: middle; }
.unit { fill: #8F8A82; font: 500 14px var(--font); text-anchor: middle; letter-spacing: .02em; }
.needle { transform-box: view-box; transform-origin: 200px 200px; transform: rotate(68deg); }
.needle path { fill: var(--ignition); filter: drop-shadow(0 0 6px rgba(255,106,26,.6)); }
.needle circle { fill: #1E1D1B; stroke: #57534D; stroke-width: 2; }
.needle .hub { fill: var(--ignition); stroke: none; }
.odo {
  position: absolute; left: 50%; top: 80%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 3px;
  font-weight: 700; font-stretch: 112%; font-size: clamp(.95rem, 3.6vw, 1.35rem); line-height: 1;
}
.odo__d {
  display: inline-block; height: 1.36em; width: .98em; overflow: hidden; border-radius: 5px;
  background: linear-gradient(180deg, #0A0A09, #1E1D1B 50%, #0A0A09); box-shadow: inset 0 0 0 1px #34322E;
  color: var(--on-dark); text-align: center;
}
.odo__d--last { color: var(--ignition); }
.odo__col { display: flex; flex-direction: column; transform: translateY(calc(var(--d) * -1.36em)); }
.odo__col span { display: block; height: 1.36em; line-height: 1.36em; }
.odo__u { margin-left: 6px; color: var(--on-dark2); font-size: .7em; font-weight: 600; }
.instrument__cap { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 22px; color: var(--on-dark2); font-size: .95rem; flex-wrap: wrap; text-align: center; }

/* Nepali plate */
.plate {
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  background: linear-gradient(180deg, #D4142F, #B30D27); color: #fff; font-family: var(--font); font-weight: 700; font-stretch: 100%;
  border-radius: 8px; padding: .14em .6em .06em; line-height: 1.25;
  box-shadow: inset 0 0 0 2px #C8102E, inset 0 0 0 3.5px #fff, 0 2px 0 #7E0A1C, 0 8px 18px -8px rgba(200,16,46,.6);
}
.plate--sm { font-size: 1.05rem; border-radius: 6px; }

/* Studio floor with vehicles */
.studio { position: relative; height: clamp(170px, 31vw, 400px); margin-top: clamp(28px, 4vw, 40px); }
.studio__floor {
  position: absolute; inset: auto 0 0 0; height: 46%;
  background:
    radial-gradient(50% 70% at 50% 0%, rgba(241,239,235,.10), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(0,0,0,.25));
  border-top: 1px solid rgba(255,255,255,.07);
}
.studio picture { position: absolute; bottom: 14%; }
.studio img { -webkit-box-reflect: below -4px linear-gradient(transparent 62%, rgba(255,255,255,.14)); filter: drop-shadow(0 18px 18px rgba(0,0,0,.55)); }
.studio__car { left: max(var(--gutter), calc(50% - 600px)); width: min(58vw, 600px); }
.studio__bike { right: max(var(--gutter), calc(50% - 560px)); width: min(42vw, 420px); bottom: 12%; }

/* Sections */
.sec { padding-block: clamp(72px, 10vw, 136px); }
.split { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
.split > * { min-width: 0; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: end; }
  .split--media { grid-template-columns: 1fr 1fr; align-items: center; }
  .split--flip > :first-child { order: 2; }
}

/* Owners */
.owners__aside { color: var(--ink2); max-width: 44ch; padding-left: 18px; border-left: 2px solid var(--ignition); }
.ledger { margin-top: clamp(40px, 6vw, 64px); border-bottom: 1px solid var(--line); }
.ledger__head { display: none; color: var(--ink2); font-size: .9rem; font-weight: 620; padding-bottom: 12px; }
.ledger__row { display: grid; gap: 6px; padding: 18px 0; border-top: 1px solid var(--line); }
.ledger__before { color: var(--ink2); }
.ledger__after { display: flex; gap: 12px; align-items: flex-start; font-weight: 560; }
.ledger__after .ri { flex: none; margin-top: 2px; color: var(--ink); }
@media (min-width: 760px) {
  .ledger__head, .ledger__row { display: grid; grid-template-columns: 1fr 1.5fr; gap: 32px; }
  .ledger__row { padding: 22px 0; align-items: baseline; }
  .ledger__head span:last-child { padding-left: 34px; }
}

.browser { margin-top: clamp(48px, 7vw, 88px); }
.browser__frame { border-radius: 14px; overflow: hidden; background: var(--white); box-shadow: var(--shadow-hi), 0 0 0 1px rgba(20,19,17,.08); }
.browser__bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: linear-gradient(180deg, #F7F6F3, #ECE9E4); border-bottom: 1px solid var(--line); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--alloy); }
.browser__bar span { margin-inline: auto; padding-right: 50px; font-size: .78rem; color: var(--ink2); font-weight: 600; }
.browser img { width: 100%; }
figcaption { margin-top: 14px; color: var(--ink2); font-size: .95rem; max-width: 70ch; }

/* Phones */
.phone {
  position: relative; width: min(270px, 70vw); aspect-ratio: 390 / 844; padding: 8px; border-radius: 42px;
  background: linear-gradient(150deg, #4A4741 0%, #1E1D1B 30%, #141311 70%, #3A3733 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 0 0 1px #0b0a09, var(--shadow-hi);
}
.phone picture, .phone img { width: 100%; height: 100%; }
.phone img { border-radius: 34px; object-fit: cover; object-position: top; background: var(--pearl); }
.phone--contain img { object-fit: contain; }
.phone picture { padding-top: 0; }

/* Visit steps */
.visit { background: var(--white); }
.steps { display: grid; gap: 56px; margin-top: clamp(40px, 6vw, 72px); counter-reset: s; }
@media (min-width: 700px) { .steps { grid-template-columns: 1fr 1fr; gap: 56px 32px; } }
@media (min-width: 1140px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; } }
.step { display: grid; gap: 24px; align-content: start; }
@supports (grid-template-rows: subgrid) { @media (min-width: 700px) { .step { grid-row: span 2; grid-template-rows: subgrid; } } }
.step__media { display: grid; place-items: center; min-height: 0; padding: 28px 0; border-radius: 22px; background: radial-gradient(70% 60% at 50% 40%, #FFFFFF, #ECE9E4); box-shadow: inset 0 0 0 1px var(--line); }
.step__media .phone { width: min(230px, 56vw); }
.step__n { display: inline-flex; gap: 3px; margin-bottom: 14px; font-weight: 700; font-stretch: 112%; font-size: 1.05rem; }
.step__n b { display: grid; place-items: center; width: 1.45em; height: 1.7em; border-radius: 5px; background: var(--carbon); color: var(--on-dark); font-weight: 700; }
.step__n b:last-child { color: var(--ignition); }
.step__text p { margin-top: 10px; color: var(--ink2); }
.receipt {
  width: min(250px, 66vw); background: var(--white); border-radius: 16px 16px 0 0; overflow: hidden;
  box-shadow: var(--shadow-hi);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 9px) no-repeat, radial-gradient(circle at 8px 0, #000 7.5px, transparent 8px) bottom / 16px 9px repeat-x;
          mask: linear-gradient(#000 0 0) top / 100% calc(100% - 9px) no-repeat, radial-gradient(circle at 8px 0, #000 7.5px, transparent 8px) bottom / 16px 9px repeat-x;
  padding-bottom: 9px;
}

/* Riders */
.ticks { margin-top: 28px; display: grid; gap: 14px; max-width: 56ch; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ri { flex: none; margin-top: 3px; color: var(--go); }
.access { margin-top: 36px; display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 18px; background: var(--white); box-shadow: var(--shadow); max-width: 520px; }
.access__icons { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brushed); color: var(--on-dark); }
.access__t { font-weight: 640; margin-bottom: 14px; line-height: 1.4; }
.duo { position: relative; display: flex; justify-content: center; padding: 8px 0 24px; min-height: 0; }
.duo .phone { width: min(250px, 50vw); }
.duo__back { transform: rotate(-5deg) translate(14%, 4%); opacity: .96; }
.duo__front { transform: rotate(3deg) translate(-10%, 10%); z-index: 1; }
@media (min-width: 960px) { .duo .phone { width: 270px; } }

/* Staff */
.staff { background: linear-gradient(180deg, var(--pearl), #E9E6E0); }
.staff__media { display: grid; gap: 28px; justify-items: center; }
.staff__media .browser { margin-top: 0; width: 100%; }
@media (min-width: 960px) {
  .staff__media { position: relative; display: block; padding-bottom: 150px; }
  .staff__phone { position: absolute; left: 0; bottom: 0; z-index: 2; width: 210px; }
  .staff__media .browser { margin: 0 0 0 64px; width: auto; }
  .staff__media figcaption { padding-left: 170px; }
}

/* Branches (dark) */
.branches { --focus: var(--ignition); background: var(--brushed); color: var(--on-dark); }
.branches .lead, .branches figcaption { color: var(--on-dark2); }
.branches .split { align-items: center; }
.facts { margin-top: 36px; display: grid; gap: 22px; }
.facts div { padding-top: 18px; border-top: 1px solid var(--line-dark); }
.facts dt { font-weight: 700; font-stretch: 110%; }
.facts dd { margin-top: 6px; color: var(--on-dark2); max-width: 52ch; }
.hqshot img { border-radius: 16px; box-shadow: 0 0 0 1px #34322E, 0 30px 60px -20px rgba(0,0,0,.9); width: 100%; }

/* Trust */
.plates { margin-top: clamp(32px, 5vw, 56px); padding: clamp(22px, 4vw, 40px); border-radius: 22px; background: var(--white); box-shadow: var(--shadow); }
.plates__say { font-weight: 700; font-stretch: 112%; font-size: 1.15rem; }
.plates__row { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.typed { font-size: clamp(1.05rem, 2.2vw, 1.5rem); font-weight: 600; padding: 8px 14px; border-radius: 10px; background: var(--pearl); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.eq { color: var(--ignition-ink); font-weight: 800; font-size: clamp(1.2rem, 2.4vw, 1.6rem); }
.plates .plate { font-size: clamp(1.3rem, 3vw, 2rem); }
.pillars { margin-top: clamp(40px, 6vw, 64px); display: grid; gap: 28px 40px; }
@media (min-width: 640px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillars li { padding-top: 20px; border-top: 1.5px solid var(--alloy); }
.pillars .ri { color: var(--ink); margin-bottom: 14px; }
.pillars p { margin-top: 8px; color: var(--ink2); }

/* FAQ */
.faq { background: var(--white); }
.faq__grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq__grid { grid-template-columns: .8fr 1.2fr; gap: 64px; } }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; cursor: pointer; list-style: none; font-weight: 680; font-stretch: 108%; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ri { flex: none; transition: transform .2s ease; color: var(--ink2); }
.faq details[open] summary .ri { transform: rotate(180deg); }
.faq details p { padding: 0 0 22px; color: var(--ink2); max-width: 62ch; }

/* Contact (dark) */
.contact { --focus: var(--ignition); background: radial-gradient(50% 80% at 85% 20%, rgba(255,106,26,.14), transparent 70%), var(--brushed); color: var(--on-dark); }
.contact .lead { color: var(--on-dark2); }
.contact__grid { display: grid; gap: 40px; align-items: end; }
@media (min-width: 960px) { .contact__grid { grid-template-columns: 1.4fr .6fr; } }
.mail { color: var(--on-dark); font-weight: 600; padding: 12px 6px; }
.contact__card { font-style: normal; display: grid; gap: 4px; padding: 24px; border-radius: 18px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line-dark); color: var(--on-dark2); }
.contact__card strong { color: var(--on-dark); font-stretch: 118%; font-size: 1.2rem; }
.contact__card a { color: var(--ignition); margin-top: 8px; }

/* Footer */
.foot { --focus: var(--ignition); background: var(--carbon); color: var(--on-dark2); padding-block: 40px 48px; border-top: 1px solid var(--line-dark); font-size: .95rem; }
.foot__in { display: grid; gap: 16px; }
.brand--foot { color: var(--on-dark); }
.foot__nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot__nav a { color: var(--on-dark); padding: 6px 0; }
.foot__legal { color: var(--titanium); }
@media (min-width: 960px) { .foot__in { grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; } .foot__legal { grid-column: 1 / -1; } }

/* 404 */
.lost { min-height: calc(100vh - 65px); min-height: calc(100dvh - 65px); display: grid; align-content: center; gap: 22px; color: var(--on-dark); background: var(--brushed); }
.lost .plate { font-size: clamp(1.6rem, 6vw, 2.6rem); justify-self: start; }
.lost p { color: var(--on-dark2); max-width: 46ch; }

/* The one orchestrated moment: ignition self-test, then settle. Off under reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .display .l { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .display .l:nth-child(2) { animation-delay: .08s; }
  .display .l:nth-child(3) { animation-delay: .16s; }
  .needle { animation: selftest 1.9s .35s cubic-bezier(.45,.05,.25,1) both; }
  .arc--val { animation: fill .9s 1.25s cubic-bezier(.3,.7,.2,1) both; }
  .odo__col { animation: roll .9s calc(.95s + (5 - var(--i)) * 90ms) cubic-bezier(.25,.9,.25,1.08) both; }
  .studio picture { animation: arrive 1.1s .2s cubic-bezier(.2,.7,.2,1) both; }
  .studio__bike { animation-delay: .32s !important; }
  .js .reveal { transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  .js .reveal:not(.in) { opacity: 0; transform: translateY(18px); }
  .js .stamp:not(.in) { transform: scale(1.06); box-shadow: inset 0 0 0 2px #C8102E, inset 0 0 0 3.5px #fff; }
  .js .stamp { transition: transform .22s cubic-bezier(.3,1.4,.5,1), box-shadow .22s ease; }
}
@keyframes rise { from { opacity: 0; transform: translateY(.35em); } }
@keyframes selftest { 0% { transform: rotate(-135deg); } 38% { transform: rotate(135deg); } 70% { transform: rotate(58deg); } 86% { transform: rotate(71deg); } }
@keyframes fill { from { stroke-dasharray: 0 100; } }
@keyframes roll { from { transform: translateY(0); } }
@keyframes arrive { from { opacity: 0; transform: translateX(-24px); } }
