/* ============================================================
   Micromobility Strategies LLC
   Design system — "Technical drawing set"

   Palette derives from the subject's material world:
   wet asphalt, cool aluminum, lane concrete, and the
   ultramarine of a lithium charge indicator.
   ============================================================ */

:root {
  /* Surface */
  --concrete:   #E4E6E9;   /* page base — cool aluminum/concrete */
  --panel:      #F6F7F8;   /* raised surfaces */
  --panel-edge: #D2D6DB;   /* hairlines on light */

  /* Ink */
  --ink:        #14161A;   /* near-black, cool */
  --ink-2:      #1C1F25;   /* raised dark surface */
  --ink-edge:   #2E323A;   /* hairlines on dark */
  --graphite:   #5A6069;   /* secondary text on light */
  --ash:        #8B929C;   /* secondary text on dark */

  /* Signal */
  --volt:       #1E34E0;   /* accent on light */
  --volt-lift:  #5468FF;   /* accent on dark */
  --sodium:     #C9741B;   /* data/spec accent, used sparingly */

  /* Type */
  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --body:    'Source Serif 4', Georgia, 'Times New Roman', serif;
  --mono:    'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Metrics */
  --rail: 92px;
  --gutter: 32px;
  --maxw: 1280px;
  --ease: cubic-bezier(0.65, 0.05, 0.36, 1);
}

/* ---------- Reset ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--concrete);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

/* ---------- Shared primitives ---------- */

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Eyebrow: a spec-sheet callout, not decoration.
   The number encodes the document section. */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--graphite);
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 28px;
}

.eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--panel-edge);
}

.eyebrow .tag { color: var(--volt); }

.on-dark .eyebrow { color: var(--ash); }
.on-dark .eyebrow::after { background: var(--ink-edge); }
.on-dark .eyebrow .tag { color: var(--volt-lift); }

/* Display type — expanded grotesque, transit-signage register */
h1, h2, h3, .display {
  font-family: var(--display);
  font-variation-settings: 'wdth' 112;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

h2 {
  font-size: clamp(30px, 4.4vw, 52px);
  margin-bottom: 22px;
}

h3 {
  font-family: var(--display);
  font-variation-settings: 'wdth' 100;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.005em;
  line-height: 1.25;
}

p { margin: 0 0 18px; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.58;
  color: var(--graphite);
  max-width: 62ch;
}

.on-dark .lede { color: var(--ash); }

/* Buttons */
.btn {
  font-family: var(--display);
  font-variation-settings: 'wdth' 100;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease),
              border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.btn-primary {
  background: var(--volt);
  color: #fff;
  border-color: var(--volt);
}
.btn-primary:hover { background: #1729B8; border-color: #1729B8; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--panel-edge);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-1px); }

.on-dark .btn-primary { background: var(--volt-lift); border-color: var(--volt-lift); }
.on-dark .btn-primary:hover { background: #6E7EFF; border-color: #6E7EFF; }
.on-dark .btn-ghost { color: #fff; border-color: var(--ink-edge); }
.on-dark .btn-ghost:hover { border-color: var(--ash); }

.btn .arrow { transition: transform 0.18s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* Focus — visible, never removed */
a:focus-visible,
button:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--volt);
  outline-offset: 3px;
  border-radius: 2px;
}

.on-dark a:focus-visible,
.on-dark button:focus-visible,
.on-dark summary:focus-visible {
  outline-color: var(--volt-lift);
}

/* Skip link */
.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--volt);
  color: #fff;
  padding: 10px 18px;
  font-family: var(--mono);
  font-size: 12px;
  z-index: 200;
  border-radius: 2px;
}
.skip:focus { left: 12px; }

/* ============================================================
   Masthead
   ============================================================ */

.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 22, 26, 0.86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--ink-edge);
}

.masthead-in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 66px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  margin-right: auto;
}

.brand-mark { width: 30px; height: 30px; flex: none; }

.brand-name {
  font-family: var(--display);
  font-variation-settings: 'wdth' 108;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  line-height: 1.1;
}

.brand-name .sub {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--ash);
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav a {
  font-family: var(--display);
  font-variation-settings: 'wdth' 100;
  font-size: 13.5px;
  font-weight: 550;
  color: var(--ash);
  text-decoration: none;
  transition: color 0.16s var(--ease);
}
.nav a:hover { color: #fff; }

.nav .btn { padding: 10px 20px; font-size: 13px; }

.nav-toggle { display: none; }

/* ============================================================
   Hero — deep ink. Act one: arrival.
   ============================================================ */

.hero {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--ink-edge);
}

/* Faint survey grid — the graph paper a drawing sits on */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
}

.hero-in {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 76px var(--gutter) 68px;
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  gap: 0 0;
}

/* Left rail — the border block of an engineering drawing */
.rail {
  border-right: 1px solid var(--ink-edge);
  padding-right: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.rail-stamp {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ash);
  text-transform: uppercase;
  line-height: 1.9;
}

.rail-vert {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: #3D4350;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}

.hero-body {
  padding-left: 46px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: 52px;
  align-items: center;
}

.hero-copy { min-width: 0; }

.hero h1 {
  font-size: clamp(38px, 4.3vw, 62px);
  font-variation-settings: 'wdth' 116;
  font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 0.98;
  margin-bottom: 26px;
  hyphens: none;
}

.hero h1 .em {
  display: block;
  color: var(--volt-lift);
}

.hero .lede { margin-bottom: 34px; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- The schematic: this page's signature ---------- */

.schematic { position: relative; }

.schematic-frame {
  border: 1px solid var(--ink-edge);
  background:
    radial-gradient(120% 120% at 70% 20%, rgba(84,104,255,0.09), transparent 62%),
    #171A1F;
  padding: 20px 18px 14px;
  border-radius: 3px;
}

.schematic-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 6px;
}

.schematic-head .rev { color: #4B5260; white-space: nowrap; }

.drawing { position: relative; }

.drawing svg { width: 100%; height: auto; }

.drawing-layer { display: none; }
.drawing-layer.is-active { display: block; }

/* Line-drawing assembly. pathLength=1 normalises every geometry
   so one keyframe drives circles, arcs and paths alike. */
.ln {
  fill: none;
  stroke: var(--volt-lift);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.ln.hair   { stroke: #46506B; stroke-width: 1; }
.ln.dash   { stroke: var(--sodium); stroke-dasharray: 5 4; }
.ln.solidw { stroke: #C7CEE8; }

.drawing.is-drawing .ln:not(.dash) {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1.05s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 42ms);
}

.drawing.is-drawing .ln.dash {
  opacity: 0;
  animation: fade 0.5s ease forwards;
  animation-delay: calc(var(--i, 0) * 42ms + 240ms);
}

.drawing.is-drawing .callout {
  opacity: 0;
  animation: fade 0.55s ease forwards;
  animation-delay: calc(var(--i, 0) * 42ms + 300ms);
}

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

/* Sized in viewBox units: the drawing scales down ~0.65x in the frame,
   so these render at roughly 11-12 CSS px. */
.callout-txt {
  font-family: var(--mono);
  font-size: 18px;
  letter-spacing: 0.1em;
  fill: var(--ash);
  text-transform: uppercase;
}

.callout-num {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 500;
  fill: var(--volt-lift);
}

/* Vehicle-class switch */
.switch {
  display: flex;
  gap: 6px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--ink-edge);
}

.switch button {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  background: transparent;
  color: var(--ash);
  border: 1px solid var(--ink-edge);
  border-radius: 2px;
  padding: 8px 14px;
  cursor: pointer;
  transition: all 0.18s var(--ease);
}

.switch button:hover { color: #fff; border-color: var(--ash); }

.switch button[aria-pressed='true'] {
  background: var(--volt-lift);
  border-color: var(--volt-lift);
  color: #fff;
}

/* ============================================================
   Spec strip — factual descriptors, not performance claims
   ============================================================ */

.specstrip {
  background: var(--ink-2);
  border-bottom: 1px solid var(--panel-edge);
}

.specstrip-in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.specitem {
  padding: 26px 26px 26px 0;
  border-right: 1px solid var(--ink-edge);
}
.specitem:last-child { border-right: 0; }
.specitem + .specitem { padding-left: 26px; }

.specitem dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: #9AA1AC;
  margin-bottom: 8px;
}

.specitem dd {
  margin: 0;
  font-family: var(--display);
  font-variation-settings: 'wdth' 100;
  font-size: 15px;
  font-weight: 550;
  line-height: 1.35;
  color: #EDEFF2;
}

/* ============================================================
   Light sections — act two: substance
   ============================================================ */

.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }
.section-alt { background: var(--panel); border-block: 1px solid var(--panel-edge); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 56px;
}

.section-head .lede { margin: 0; }

/* Capability panels */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--panel-edge);
  border-left: 1px solid var(--panel-edge);
}

.pillar {
  border-right: 1px solid var(--panel-edge);
  border-bottom: 1px solid var(--panel-edge);
  padding: 30px 26px 34px;
  background: var(--panel);
  transition: background 0.2s var(--ease);
  position: relative;
}

.section-alt .pillar { background: #FDFDFE; }

.pillar:hover { background: #fff; }

.pillar::after {
  content: '';
  position: absolute;
  left: 0; right: 0; top: -1px;
  height: 2px;
  background: var(--volt);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.pillar:hover::after { transform: scaleX(1); }

.pillar-ref {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--volt);
  margin-bottom: 20px;
}

.pillar h3 { margin-bottom: 12px; }

.pillar p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--graphite);
  margin: 0;
}

/* Operating sequence — numbered because it IS a sequence */
/* The four stages read as one segmented track: the rail is the
   sequence, and each segment fills as it scrolls into view. */
.sequence {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 30px;
}

.step {
  padding: 0;
  position: relative;
}

.step-n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--graphite);
  display: block;
  margin-bottom: 18px;
}

.step-n b { color: var(--ink); font-weight: 500; }

.step-bar {
  height: 3px;
  background: var(--panel-edge);
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}

.step-bar span {
  position: absolute;
  inset: 0;
  background: var(--volt);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.step.is-in .step-bar span { transform: scaleX(1); }

/* Sweep the fill left to right so the track reads in order */
.step:nth-child(2) .step-bar span { transition-delay: 0.1s; }
.step:nth-child(3) .step-bar span { transition-delay: 0.2s; }
.step:nth-child(4) .step-bar span { transition-delay: 0.3s; }

.step h3 { margin-bottom: 10px; }

.step p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--graphite);
  margin: 0;
}

/* Coverage selector */
.coverage {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.field { margin-bottom: 28px; }

.field label {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: 10px;
}

.select-shell { position: relative; }

.select-shell select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  font-family: var(--display);
  font-variation-settings: 'wdth' 100;
  font-size: 16px;
  font-weight: 550;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--panel-edge);
  border-radius: 2px;
  padding: 16px 46px 16px 18px;
  cursor: pointer;
  transition: border-color 0.18s var(--ease);
}

.select-shell select:hover { border-color: var(--ink); }

.select-shell::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px; height: 8px;
  border-right: 1.6px solid var(--ink);
  border-bottom: 1.6px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.coverage-out {
  background: #fff;
  border: 1px solid var(--panel-edge);
  border-radius: 2px;
  padding: 34px 34px 36px;
  min-height: 258px;
}

.coverage-out h3 {
  font-size: 24px;
  font-variation-settings: 'wdth' 108;
  margin-bottom: 14px;
}

.coverage-out p { color: var(--graphite); }

.coverage-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--panel-edge);
}

.chip {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--graphite);
  border: 1px solid var(--panel-edge);
  border-radius: 2px;
  padding: 6px 11px;
}

.coverage-out.is-swapping { opacity: 0; }
.coverage-out { transition: opacity 0.16s ease; }

/* FAQ */
.faq { border-top: 1px solid var(--panel-edge); }

.faq details {
  border-bottom: 1px solid var(--panel-edge);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 48px 26px 0;
  position: relative;
  font-family: var(--display);
  font-variation-settings: 'wdth' 104;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.3;
  transition: color 0.16s var(--ease);
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--volt); }

.faq summary::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 33px;
  width: 13px;
  height: 13px;
  background:
    linear-gradient(var(--ink), var(--ink)) center/13px 1.6px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center/1.6px 13px no-repeat;
  transition: transform 0.25s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
  background:
    linear-gradient(var(--volt), var(--volt)) center/13px 1.6px no-repeat,
    linear-gradient(var(--volt), var(--volt)) center/1.6px 13px no-repeat;
}

.faq-body {
  padding: 0 15% 30px 0;
  color: var(--graphite);
  animation: reveal 0.3s var(--ease);
  /* Long email addresses must break rather than widen the page.
     Chrome keeps closed <details> content in layout, so an unbreakable
     string here overflows the viewport even while collapsed. */
  overflow-wrap: anywhere;
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   Contact + colophon — act three: close
   ============================================================ */

.closer {
  background: var(--ink);
  color: #fff;
  border-top: 1px solid var(--panel-edge);
}

.closer-in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 92px var(--gutter) 0;
}

.closer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: 64px;
  align-items: start;
  padding-bottom: 76px;
  border-bottom: 1px solid var(--ink-edge);
}

.closer h2 {
  font-size: clamp(32px, 4.8vw, 58px);
  font-variation-settings: 'wdth' 116;
  letter-spacing: -0.032em;
}

.contact-rows { border-top: 1px solid var(--ink-edge); }

.contact-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--ink-edge);
  text-decoration: none;
  transition: padding-left 0.2s var(--ease);
}

a.contact-row:hover { padding-left: 10px; }

.contact-row .k {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9AA1AC;
  flex: none;
}

.contact-row .v {
  font-family: var(--display);
  font-variation-settings: 'wdth' 100;
  font-size: 16px;
  font-weight: 550;
  color: #fff;
  text-align: right;
  overflow-wrap: anywhere;
}

a.contact-row:hover .v { color: var(--volt-lift); }

.colophon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  padding: 28px 0 34px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #9AA1AC;
}

.colophon .legal { margin-right: auto; }

.colophon a { color: #949BA6; text-decoration: none; transition: color 0.16s var(--ease); }
.colophon a:hover { color: #fff; text-decoration: underline; }

/* ============================================================
   Document pages (privacy / terms)
   ============================================================ */

.doc { padding: 76px 0 104px; }

.doc-head {
  padding-bottom: 34px;
  margin-bottom: 46px;
  border-bottom: 1px solid var(--panel-edge);
}

.doc-head h1 {
  font-size: clamp(34px, 5vw, 56px);
  font-variation-settings: 'wdth' 116;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.doc-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--graphite);
}

.doc-body { max-width: 74ch; }

.doc-body h2 {
  font-size: 21px;
  font-variation-settings: 'wdth' 104;
  font-weight: 650;
  letter-spacing: -0.005em;
  margin: 46px 0 14px;
  padding-top: 22px;
  border-top: 1px solid var(--panel-edge);
}

.doc-body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

.doc-body p, .doc-body li { color: var(--graphite); }
.doc-body ul { padding-left: 20px; margin: 0 0 18px; }
.doc-body li { margin-bottom: 8px; }
.doc-body a { color: var(--volt); text-decoration-thickness: 1px; text-underline-offset: 2px; }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1080px) {
  .hero-body { grid-template-columns: 1fr; gap: 46px; }
  .hero-copy { max-width: 34ch; }
  .section-head { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .sequence { grid-template-columns: repeat(2, 1fr); gap: 40px 30px; }
  .specstrip-in { grid-template-columns: repeat(2, 1fr); }
  .specitem:nth-child(2) { border-right: 0; }
  .specitem:nth-child(-n+2) { border-bottom: 1px solid var(--ink-edge); }
  .specitem:nth-child(odd) { padding-left: 0; }
  .specitem:nth-child(3) { padding-left: 0; }
  .coverage { grid-template-columns: 1fr; gap: 32px; }
  .closer-grid { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 780px) {
  :root { --gutter: 20px; --rail: 0px; }

  .nav { display: none; }
  .nav.is-open {
    display: flex;
    position: absolute;
    top: 66px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--ink-edge);
    padding: 8px var(--gutter) 20px;
  }
  .nav.is-open a {
    padding: 14px 0;
    border-bottom: 1px solid var(--ink-edge);
    font-size: 16px;
  }
  .nav.is-open .btn { margin-top: 16px; justify-content: center; border-bottom: 0; }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px; height: 40px;
    padding: 0 8px;
    background: transparent;
    border: 1px solid var(--ink-edge);
    border-radius: 2px;
    cursor: pointer;
  }
  .nav-toggle span {
    display: block;
    height: 1.6px;
    background: #fff;
    transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
  }
  .nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
  .nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

  .hero-in { grid-template-columns: 1fr; padding: 52px var(--gutter) 56px; }
  .rail { display: none; }
  .hero-body { padding-left: 0; }
  .hero-copy { max-width: none; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }

  .schematic-frame { padding: 16px 14px 12px; }
  .callout-txt, .callout-num { font-size: 22px; }

  /* Sheet number is decorative; drop it rather than let the
     drawing title wrap around it on narrow screens. */
  .schematic-head .rev { display: none; }

  /* Comfortable touch targets on the vehicle-class switch */
  .switch button { padding: 12px 14px; }

  .section { padding: 64px 0; }
  .section-tight { padding: 52px 0; }

  .specstrip-in { grid-template-columns: 1fr; }
  .specitem { border-right: 0; padding: 20px 0 !important; border-bottom: 1px solid var(--ink-edge); }
  .specitem:last-child { border-bottom: 0; }

  .pillars { grid-template-columns: 1fr; }
  .sequence { grid-template-columns: 1fr; gap: 34px; }
  .step { padding: 0; }

  .faq summary { font-size: 17px; padding-right: 40px; }
  .faq-body { padding-right: 0; }

  .closer-in { padding-top: 64px; }
  .closer-grid { padding-bottom: 52px; }
  .contact-row { flex-direction: column; gap: 6px; }
  .contact-row .v { text-align: left; }

  .colophon { gap: 10px; }
  .colophon .legal { margin-right: 0; flex: 1 1 100%; }
}

/* ============================================================
   Reduced motion — honour it fully
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .drawing.is-drawing .ln { stroke-dasharray: none; stroke-dashoffset: 0; }
  .drawing.is-drawing .ln.dash { stroke-dasharray: 5 4; opacity: 1; }
  .drawing.is-drawing .callout { opacity: 1; }
  .step-bar span { transform: scaleX(1); }
}
