/* ==================================================================
   Mechanic Do — "Drafting Table"
   The page is one engineering drawing: drafting-paper ground, a
   hairline construction grid, ruler rails with zone letters,
   cutting-plane section markers, blueprint detail plates, redline
   balloons and a title block footer.
   Plain CSS, no build step. All paths relative (served from a subpath).
   ================================================================== */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Martian Mono";
  src: url("../fonts/martian-mono-var.woff2") format("woff2");
  font-weight: 100 800;
  font-stretch: 75% 112.5%;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #f3f1ea;        /* drafting paper */
  --paper-hi: #faf9f5;     /* a fresh sheet laid on the table */
  --ink: #12171d;          /* object lines + body text */
  --ink-2: #38424d;        /* secondary text   (9.4:1 on paper) */
  --ink-3: #56606b;        /* tertiary text    (5.6:1 on paper) */
  --cyan: #1a5a9a;         /* annotation ink   (6.2:1 on paper) */
  --grid-1: rgba(26, 90, 154, .065);
  --grid-2: rgba(26, 90, 154, .14);

  --blue: #0f3c69;         /* blueprint plate */
  --blue-2: #0b3059;
  --on-blue: #f1f5fa;      /* 10.3:1 on plate */
  --on-blue-2: #b9cde3;    /* 6.9:1 on plate */
  --blue-line: rgba(241, 245, 250, .78);

  --red: #c4311d;          /* redline markup   (white text 5.5:1) */
  --red-ink: #b02a17;      /* redline text     (5.8:1 on paper) */
  --red-lt: #ff9a85;       /* redline on plate (5.5:1) */
  --ok: #1e6b3c;

  --focus: #1a5a9a;
  --rail: 40px;
  --pad: clamp(12px, 3.2vw, 48px);
  --maxw: 1240px;
  --hdr-h: 70px;
  --sec-pad: clamp(56px, 7.2vw, 100px);

  --f-sans: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --f-mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --arw-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M0 5 10 1.2v7.6z'/%3E%3C/svg%3E");
  --arw-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M10 5 0 1.2v7.6z'/%3E%3C/svg%3E");
  --arw-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 22'%3E%3Cpath d='M4.25 0h1.5v14h-1.5z'/%3E%3Cpath d='M0 12.5 5 22l5-9.5z'/%3E%3C/svg%3E");
  --arw-h: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 12'%3E%3Cpath d='M0 5.25h34v1.5H0z'/%3E%3Cpath d='M32 1l12 5-12 5z'/%3E%3C/svg%3E");
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hdr-h) + 16px);
}

body {
  margin: 0;
  min-width: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-2) 1px, transparent 1px),
    linear-gradient(var(--grid-1) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-1) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: center -1px;
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: 28px;
}

img, svg { max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 800; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.plate { --focus: #ffd98a; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -200px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  font: 600 15px/1 var(--f-sans);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--pad));
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- Shared drafting atoms ---------- */
.mono-tag,
.viewtag,
.cut__label,
.incl,
.minor-h,
.notes__title {
  font-family: var(--f-mono);
  font-weight: 600;
  font-stretch: 100%;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.balloon {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font: 600 11px/1 var(--f-mono);
  letter-spacing: 0;
}
.balloon--sm { width: 34px; height: 34px; font-size: 10.5px; }
.balloon--lg { width: 46px; height: 46px; font-size: 15px; }

/* crop / registration marks in plate corners */
.reg {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 0 solid currentColor;
  opacity: .75;
  pointer-events: none;
}
.reg--tl { top: 8px; left: 8px; border-top-width: 1.5px; border-left-width: 1.5px; }
.reg--tr { top: 8px; right: 8px; border-top-width: 1.5px; border-right-width: 1.5px; }
.reg--bl { bottom: 8px; left: 8px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.reg--br { bottom: 8px; right: 8px; border-bottom-width: 1.5px; border-right-width: 1.5px; }

/* blueprint plate: cyanotype ground with its own white grid */
.plate {
  color: var(--on-blue);
  background-color: var(--blue);
  background-image:
    linear-gradient(rgba(241, 245, 250, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 245, 250, .1) 1px, transparent 1px),
    linear-gradient(rgba(241, 245, 250, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 245, 250, .045) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
}
.plate a { color: var(--on-blue); }

/* revision cloud: scalloped outline drawn with four radial-gradient edges */
.cloud { position: relative; --cc: var(--red); --s: 12px; }
.cloud::before {
  content: "";
  position: absolute;
  inset: -2px;
  pointer-events: none;
  --r: calc(var(--s) / 2);
  background:
    radial-gradient(circle at 50% 100%, transparent calc(var(--r) - 1.7px), var(--cc) calc(var(--r) - 1.6px) var(--r), transparent calc(var(--r) + .3px)) 0 0 / var(--s) var(--r) round no-repeat,
    radial-gradient(circle at 50% 0, transparent calc(var(--r) - 1.7px), var(--cc) calc(var(--r) - 1.6px) var(--r), transparent calc(var(--r) + .3px)) 0 100% / var(--s) var(--r) round no-repeat,
    radial-gradient(circle at 100% 50%, transparent calc(var(--r) - 1.7px), var(--cc) calc(var(--r) - 1.6px) var(--r), transparent calc(var(--r) + .3px)) 0 0 / var(--r) var(--s) no-repeat round,
    radial-gradient(circle at 0 50%, transparent calc(var(--r) - 1.7px), var(--cc) calc(var(--r) - 1.6px) var(--r), transparent calc(var(--r) + .3px)) 100% 0 / var(--r) var(--s) no-repeat round;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent;
  --fg: var(--ink);
  --bd: var(--ink);
  --sh: var(--cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  font: 650 16px/1.15 var(--f-sans);
  font-stretch: 104%;
  letter-spacing: .005em;
  color: var(--fg);
  background: var(--bg);
  border: 1.5px solid var(--bd);
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.btn:hover { transform: translate(-3px, -3px); box-shadow: 3px 3px 0 0 var(--sh); }
.btn:active { transform: none; box-shadow: none; }
.btn--sm { min-height: 42px; padding: 8px 16px; font-size: 15px; }
.btn--lg { min-height: 58px; padding: 14px 26px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--ink { --bg: var(--ink); --fg: var(--paper-hi); }
.btn--red { --bg: var(--red); --fg: #fff; --bd: var(--red); --sh: var(--ink); }
.btn--line { --bg: var(--paper-hi); }
.plate .btn--red { --bd: var(--on-blue); --sh: rgba(241, 245, 250, .6); }
.btn .i-phone { width: 19px; height: 19px; }

.btn__arw {
  width: 26px;
  height: 10px;
  flex: none;
  background: currentColor;
  -webkit-mask: var(--arw-r) right center / 10px 10px no-repeat, linear-gradient(#000 0 0) left center / calc(100% - 4px) 1.6px no-repeat;
          mask: var(--arw-r) right center / 10px 10px no-repeat, linear-gradient(#000 0 0) left center / calc(100% - 4px) 1.6px no-repeat;
  transition: width .16s ease;
}
.btn:hover .btn__arw { width: 34px; }

.i-phone { width: 18px; height: 18px; fill: currentColor; flex: none; }

/* ==================================================================
   TOP STRIP
   ================================================================== */
.strip {
  background: var(--blue);
  color: var(--on-blue);
  font: 500 11px/1.3 var(--f-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.strip__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 36px;
  padding: 7px calc(var(--rail) + 1.5px + var(--pad));
}
.strip p { margin: 0; }
.strip__msg { display: flex; align-items: center; gap: 10px; }
.strip__dwg { color: var(--on-blue-2); }
.strip__tel {
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.strip__tel:hover { text-decoration: underline; }
.pulse {
  position: relative;
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--red-lt);
}
@media (prefers-reduced-motion: no-preference) {
  .pulse::after {
    content: "";
    position: absolute;
    inset: -4px;
    border: 1.5px solid var(--red-lt);
    border-radius: 50%;
    animation: ping 2.2s ease-out infinite;
  }
}
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

/* ==================================================================
   HEADER
   ================================================================== */
.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  margin-inline: var(--rail);
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-top: 0;
  transition: box-shadow .2s ease;
}
.hdr.is-stuck { box-shadow: 0 10px 22px -16px rgba(18, 23, 29, .55); }
.hdr__in {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--pad));
  min-height: var(--hdr-h);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* Wordmark: MECHANIC —(Do)  — the "Do" is a drawing balloon */
.brand {
  display: inline-grid;
  grid-template-columns: auto auto auto;
  grid-template-rows: auto auto;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  flex: none;
}
.brand__word {
  grid-area: 1 / 1;
  font: 850 23px/1 var(--f-sans);
  font-stretch: 122%;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.brand__leader {
  grid-area: 1 / 2;
  position: relative;
  width: 16px;
  height: 1.6px;
  margin-left: 7px;
  background: var(--red);
}
.brand__leader::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  transform: translateY(-50%);
}
.brand__balloon {
  grid-area: 1 / 3;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 2px solid var(--red);
  border-radius: 50%;
  color: var(--red-ink);
  font: 800 15px/1 var(--f-sans);
  font-stretch: 100%;
  letter-spacing: -.01em;
  background: var(--paper-hi);
}
.brand__sub {
  grid-area: 2 / 1 / 3 / 4;
  margin-top: 3px;
  font: 500 9.5px/1.2 var(--f-mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav a:not(.btn) {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 10px;
  color: var(--ink);
  font: 550 15px/1 var(--f-sans);
  text-decoration: none;
  white-space: nowrap;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav a:not(.btn):hover::after,
.nav a.is-active::after { transform: scaleX(1); }
.nav__z {
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border: 1.2px solid var(--cyan);
  border-radius: 50%;
  color: var(--cyan);
  font: 600 9.5px/1 var(--f-mono);
}
.nav a.is-active .nav__z { background: var(--cyan); color: var(--paper-hi); }
.nav__cta { margin-left: 10px; }

.hdr__call {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1.5px solid var(--red);
  color: var(--red-ink);
  background: var(--paper-hi);
  font: 700 15px/1 var(--f-sans);
  font-stretch: 104%;
  text-decoration: none;
  white-space: nowrap;
  flex: none;
  transition: background-color .15s ease, color .15s ease;
}
.hdr__call:hover { background: var(--red); color: #fff; }
.hdr__call-lbl { font: 600 10.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  border: 1.5px solid var(--ink);
  background: var(--paper-hi);
  color: var(--ink);
  cursor: pointer;
  flex: none;
}
.nav-toggle__bars { display: grid; gap: 5px; width: 20px; }
.nav-toggle__bars span { display: block; height: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==================================================================
   SHEET FRAME: rails with ruler ticks + zone letters
   ================================================================== */
.sheet {
  position: relative;
  display: block;
  margin-inline: var(--rail);
  border-inline: 1.5px solid var(--ink);
}
.sheet::before,
.sheet::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: var(--rail);
  pointer-events: none;
  background-image:
    repeating-linear-gradient(to bottom, var(--ink-3) 0 1px, transparent 1px 120px),
    repeating-linear-gradient(to bottom, rgba(86, 96, 107, .7) 0 1px, transparent 1px 24px);
  background-repeat: no-repeat;
  background-size: 14px 100%, 6px 100%;
}
.sheet::before { right: calc(100% + 1.5px); width: calc(var(--rail) - 2px); background-position: right top, right top; }
.sheet::after  { left: calc(100% + 1.5px); width: calc(var(--rail) - 2px); background-position: left top, left top; }

.zone { position: relative; }
.zone::before,
.zone::after {
  content: attr(data-zone) / "";
  position: absolute;
  top: calc(var(--sec-pad) - 1px);
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font: 700 10.5px/1 var(--f-mono);
  z-index: 2;
}
.zone::before { left: calc(-1 * var(--rail) - 1.5px + 3px); }
.zone::after  { right: calc(-1 * var(--rail) - 1.5px + 3px); }

.ruler {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  height: 24px;
  border-bottom: 1px solid var(--ink);
  color: var(--ink-3);
  font: 500 10px/23px var(--f-mono);
  text-align: center;
  background: var(--paper);
}
.ruler span {
  border-left: 1px solid var(--ink);
  background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), rgba(86, 96, 107, .8) calc(25% - 1px) 25%) left bottom / 100% 5px no-repeat;
}
.ruler span:first-child { border-left: 0; }
.ruler--bottom { border-bottom: 0; border-top: 1px solid var(--ink); }
.ruler--bottom span { background-position: left top; }

/* ---------- Section head: cutting-plane line ---------- */
.sec { padding-block: var(--sec-pad); }
.sec-head { margin-bottom: clamp(30px, 4vw, 52px); }

.cut {
  display: flex;
  align-items: center;
  margin: 0 0 clamp(22px, 3vw, 36px);
  color: var(--ink);
}
.cut::before,
.cut::after {
  content: "";
  flex: 1 1 0;
  min-width: 18px;
  height: 1.6px;
  background: repeating-linear-gradient(90deg, currentColor 0 30px, transparent 30px 36px, currentColor 36px 40px, transparent 40px 46px);
}
.cut::before { order: 2; }
.cut::after  { order: 4; background-position: right; }
.cut__label {
  order: 3;
  flex: 0 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0 14px;
  color: var(--cyan);
  font-size: 11.5px;
  line-height: 1.35;
  text-align: center;
}
.cut__end {
  order: 1;
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  font: 700 15px/1 var(--f-mono);
}
.cut__end::after {
  content: "";
  width: 28px;
  height: 4.5px;
  background: currentColor;
}
.cut__end::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 18px;
  width: 10px;
  height: 22px;
  background: currentColor;
  -webkit-mask: var(--arw-d) center / 100% 100% no-repeat;
          mask: var(--arw-d) center / 100% 100% no-repeat;
}
.cut__end--r { order: 5; flex-direction: row-reverse; }
.cut__end--r::before { left: auto; right: 18px; }

.sec-head__row { display: grid; gap: 16px; }
h2 {
  font-weight: 820;
  font-stretch: 112%;
  font-size: clamp(30px, 1.1rem + 2.7vw, 58px);
  line-height: 1.02;
  letter-spacing: -.024em;
  text-wrap: balance;
}
.sec-sub {
  margin: 0;
  max-width: 34em;
  color: var(--ink-2);
  font-size: clamp(17px, 1rem + .2vw, 19px);
  line-height: 1.55;
}
.callout {
  position: relative;
  padding-left: 30px;
}
.callout::before {
  content: "";
  position: absolute;
  left: 0;
  top: .78em;
  width: 22px;
  height: 1.5px;
  background: var(--red);
}
.callout::after {
  content: "";
  position: absolute;
  left: -3px;
  top: calc(.78em - 2.5px);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

/* ==================================================================
   A · HERO
   ================================================================== */
.hero { --sec-pad: clamp(30px, 5vw, 64px); padding: var(--sec-pad) 0 clamp(40px, 6vw, 80px); }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}

.dimline {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 720px;
  margin: 0 0 clamp(18px, 2.5vw, 28px);
  padding: 7px 0;
  border-inline: 1.5px solid var(--cyan);
  color: var(--cyan);
  font: 600 11.5px/1.35 var(--f-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.dimline::before,
.dimline::after {
  content: "";
  flex: 1 1 20px;
  min-width: 18px;
  height: 10px;
  background: currentColor;
}
.dimline::before {
  -webkit-mask: var(--arw-l) left center / 10px 10px no-repeat, linear-gradient(#000 0 0) center / 100% 1.2px no-repeat;
          mask: var(--arw-l) left center / 10px 10px no-repeat, linear-gradient(#000 0 0) center / 100% 1.2px no-repeat;
}
.dimline::after {
  -webkit-mask: var(--arw-r) right center / 10px 10px no-repeat, linear-gradient(#000 0 0) center / 100% 1.2px no-repeat;
          mask: var(--arw-r) right center / 10px 10px no-repeat, linear-gradient(#000 0 0) center / 100% 1.2px no-repeat;
}
.dimline__txt { flex: 0 1 auto; text-align: center; }

h1 {
  margin: 0 0 clamp(18px, 2.4vw, 28px);
  font-weight: 850;
  font-stretch: 114%;
  font-size: clamp(38px, 1.1rem + 4.7vw, 80px);
  line-height: .96;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.redline {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: .075em;
  text-underline-offset: .11em;
  text-decoration-skip-ink: auto;
}

.lede {
  max-width: 36em;
  margin: 0 0 clamp(22px, 3vw, 32px);
  color: var(--ink-2);
  font-size: clamp(17px, 1rem + .3vw, 20px);
  line-height: 1.55;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Detail A — dispatch plate */
.dispatch {
  position: relative;
  padding: clamp(22px, 3vw, 34px);
  border: 1.5px solid var(--ink);
  box-shadow: 10px 10px 0 -1.5px var(--paper), 10px 10px 0 0 var(--ink);
}
.dispatch .viewtag { color: var(--on-blue-2); }
.viewtag {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 11px;
  line-height: 1.2;
}
.dispatch h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 1.2rem + 1.4vw, 40px);
  font-stretch: 110%;
}
.dispatch__txt { margin: 0 0 24px; color: var(--on-blue-2); font-size: 16.5px; line-height: 1.55; }

.sla { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 20px; }
.sla__row { display: grid; gap: 7px; }
.sla__who {
  color: var(--on-blue-2);
  font: 600 11px/1.35 var(--f-mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}
.dim {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 3px 0;
  border-inline: 1.5px solid currentColor;
  color: var(--on-blue);
  font: 850 clamp(26px, 1rem + 1.2vw, 34px)/1 var(--f-sans);
  font-stretch: 112%;
  letter-spacing: -.015em;
  white-space: nowrap;
}
.dim::before,
.dim::after {
  content: "";
  flex: 1 1 0;
  min-width: 16px;
  height: 10px;
  background: currentColor;
}
.dim::before {
  transform-origin: right center;
  -webkit-mask: var(--arw-l) left center / 10px 10px no-repeat, linear-gradient(#000 0 0) center / 100% 1.4px no-repeat;
          mask: var(--arw-l) left center / 10px 10px no-repeat, linear-gradient(#000 0 0) center / 100% 1.4px no-repeat;
}
.dim::after {
  transform-origin: left center;
  -webkit-mask: var(--arw-r) right center / 10px 10px no-repeat, linear-gradient(#000 0 0) center / 100% 1.4px no-repeat;
          mask: var(--arw-r) right center / 10px 10px no-repeat, linear-gradient(#000 0 0) center / 100% 1.4px no-repeat;
}
.sla__row--short .dim,
.sla__row--short .sla__ends { width: 66%; }
.sla__row--short .dim { color: var(--red-lt); }
.sla__ends {
  display: flex;
  justify-content: space-between;
  color: var(--on-blue-2);
  font: 500 9.5px/1 var(--f-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
@media (prefers-reduced-motion: no-preference) {
  .dim::before, .dim::after { animation: measure 1s .35s cubic-bezier(.2, .7, .2, 1) both; }
  .sla__row + .sla__row .dim::before, .sla__row + .sla__row .dim::after { animation-delay: .55s; }
}
@keyframes measure { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.dispatch__note { margin: 16px 0 0; color: var(--on-blue-2); font-size: 15px; }
.dispatch__note a { font-weight: 600; text-underline-offset: 3px; overflow-wrap: anywhere; }

/* General notes (trust points) */
.notes { padding-top: 16px; border-top: 1.5px solid var(--ink); }
.notes__title { margin: 0 0 14px; color: var(--cyan); font-size: 11px; }
.notes__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
}
.notes__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 650 16.5px/1.25 var(--f-sans);
}
.notes__list .balloon { color: var(--ink); background: var(--paper-hi); }
.notes__list li:first-child .balloon { color: var(--red-ink); border-color: var(--red); }

/* General arrangement drawing */
.ga {
  margin: clamp(44px, 6vw, 80px) 0 0;
  border: 1.5px solid var(--ink);
  background: rgba(250, 249, 245, .55);
}
.ga__draw { padding: clamp(10px, 2vw, 24px) clamp(8px, 2vw, 28px) 6px; }
.ga__svg { display: block; width: 100%; height: auto; overflow: visible; }
.ga__svg .p { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.ga__svg .fill { fill: var(--paper-hi); }
.ga__svg .thin { stroke-width: 1; }
.ga__svg .thk { stroke-width: 2.4; }
.ga__svg .cl { stroke: var(--cyan); stroke-width: 1; stroke-dasharray: 26 5 5 5; }
.ga__svg .hid { fill: none; stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 6 4; }
.ga__svg .dimx { fill: none; stroke: var(--cyan); stroke-width: 1; }
.ga__svg .arrowhead { fill: var(--cyan); stroke: none; }
.ga__svg .ga__hatchfill { fill: url(#gaHatch); }
#gaHatch line { stroke: var(--ink-3); stroke-width: 1; }
.ga__svg .ga__lag { fill: url(#gaLag); }
#gaLag line { stroke: var(--cyan); stroke-width: .8; opacity: .55; }
.ga__svg .ga__dimbg { fill: var(--paper); }
.ga__svg .ga__dimtxt { fill: var(--cyan); font: 600 12.5px var(--f-mono); letter-spacing: .1em; }
.ga__balloons .lead { fill: none; stroke: var(--red); stroke-width: 1.3; }
.ga__balloons .dot { fill: var(--red); }
.ga__balloons .bal { fill: var(--paper-hi); stroke: var(--red); stroke-width: 2; }
.ga__balloons text { fill: var(--red-ink); font: 700 17px var(--f-mono); }

.ga__cap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5px;
  background: var(--ink);
  border-top: 1.5px solid var(--ink);
}
.ga__title {
  margin: 0;
  padding: 14px 18px;
  background: var(--paper-hi);
  font: 700 16px/1.3 var(--f-sans);
}
.ga__title span {
  display: block;
  margin-bottom: 6px;
  color: var(--cyan);
  font: 600 10.5px/1 var(--f-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ga__legend {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: ga;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--ink);
}
.ga__legend li {
  counter-increment: ga;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--paper-hi);
  font-size: 15px;
  line-height: 1.3;
}
.ga__legend li::before {
  content: counter(ga);
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--red);
  border-radius: 50%;
  color: var(--red-ink);
  font: 700 11px/1 var(--f-mono);
}

/* pen-plotter draw-in (decorative strokes only; content never waits on it) */
@media (prefers-reduced-motion: no-preference) {
  .can-plot .ga__svg .p,
  .can-plot .plan__lines path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1.8s cubic-bezier(.55, .08, .25, 1);
  }
  .can-plot .ga__balloons { opacity: 0; transition: opacity .6s ease 1.4s; }
  .can-plot .is-plotted .ga__svg .p,
  .can-plot .is-plotted .plan__lines path { stroke-dashoffset: 0; }
  .can-plot .is-plotted .ga__balloons { opacity: 1; }
}

/* ==================================================================
   B · SERVICES — detail sheets
   ================================================================== */
.sheets {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}
.sheet-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 26px 0;
  border: 1.5px solid var(--ink);
  background-color: var(--paper-hi);
  color: var(--ink);
}
.sheet-card.plate { background-color: var(--blue); color: var(--on-blue); }
.sheet-card .reg { color: var(--ink-3); }
.sheet-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.sheet-card__top .viewtag { margin: 6px 0 0; }
.sheet-card__icon {
  width: 64px;
  height: 64px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sheet-card__icon .t { stroke-width: 1; }
.sheet-card__icon .f { fill: currentColor; stroke: none; }
.sheet-card__icon .w { stroke-width: 4.5; stroke-linecap: butt; }
.sheet-card__icon .m { stroke-width: 2.6; stroke-linecap: butt; }
.sheet-card__icon .d { stroke-width: 2.6; stroke-dasharray: 4 3; stroke-linecap: butt; }
.sheet-card__icon .cld { stroke: var(--on-blue-2); stroke-dasharray: 12 3 3 3; }
.sheet-card__icon--wide { width: 110px; height: 55px; margin: -4px 0 14px; }
.sheet-card h3 {
  margin: 0 0 10px;
  font-size: clamp(24px, 1rem + .9vw, 30px);
  font-stretch: 110%;
  line-height: 1.08;
  letter-spacing: -.018em;
}
.sheet-card > p:not(.incl) { margin: 0 0 20px; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.incl {
  margin: 0 0 4px;
  padding-top: 14px;
  border-top: 1.5px solid currentColor;
  color: var(--cyan);
  font-size: 10.5px;
}
.ticks { list-style: none; margin: 0 0 24px; padding: 0; counter-reset: t; }
.ticks li {
  counter-increment: t;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 4px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(18, 23, 29, .3);
  font-size: 15.5px;
  line-height: 1.45;
}
.ticks li::before {
  content: counter(t, decimal-leading-zero);
  padding-top: 3px;
  color: var(--cyan);
  font: 600 11px/1.4 var(--f-mono);
}
.mini-tb {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  margin: auto -26px 0;
  border-top: 1.5px solid var(--ink);
}
.mini-tb dt {
  display: flex;
  align-items: center;
  padding: 13px 14px 13px 26px;
  border-right: 1px solid var(--ink);
  color: var(--cyan);
  font: 600 10.5px/1.3 var(--f-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.mini-tb dd { margin: 0; padding: 13px 18px; font-weight: 650; font-size: 15px; line-height: 1.4; }

/* featured: Breakdown is the blueprint print */
.sheet-card--featured {
  color: var(--on-blue);
  border-color: var(--ink);
  box-shadow: 10px 10px 0 -1.5px var(--paper), 10px 10px 0 0 var(--ink);
}
.sheet-card--featured .reg { color: var(--on-blue-2); }
.sheet-card--featured .viewtag { color: var(--on-blue-2); }
.sheet-card--featured > p:not(.incl) { color: var(--on-blue-2); }
.sheet-card--featured .incl { color: var(--on-blue-2); }
.sheet-card--featured .ticks li { border-bottom-color: rgba(241, 245, 250, .28); }
.sheet-card--featured .ticks li::before { color: var(--red-lt); }
.sheet-card--featured .mini-tb { border-top-color: var(--on-blue); }
.sheet-card--featured .mini-tb dt { border-right-color: var(--blue-line); color: var(--on-blue-2); }
.flag {
  margin: 2px 4px 0 0;
  padding: 7px 13px 6px;
  color: var(--red-lt);
  font: 850 22px/1 var(--f-sans);
  font-stretch: 112%;
  --cc: var(--red-lt);
  --s: 11px;
}

/* ==================================================================
   C · CAPABILITIES — bill of materials
   ================================================================== */
.bom {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5px;
  border: 1.5px solid var(--ink);
  background: var(--ink);
}
.bom__col { background: var(--paper-hi); }
.bom__h {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  background: var(--ink);
  color: var(--paper-hi);
  font-size: 19px;
  font-stretch: 112%;
  line-height: 1.1;
  letter-spacing: -.01em;
}
.bom__id {
  padding: 5px 7px;
  border: 1px solid rgba(250, 249, 245, .7);
  font: 600 10.5px/1 var(--f-mono);
  letter-spacing: .06em;
}
.bom__cols {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  border-bottom: 1.5px solid var(--ink);
  color: var(--ink-3);
  font: 600 9.5px/1 var(--f-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.bom__cols span { padding: 8px 0; }
.bom__cols span:first-child { text-align: center; letter-spacing: .04em; border-right: 1px solid rgba(18, 23, 29, .22); margin-right: 14px; }
.bom__list { list-style: none; margin: 0; padding: 0; counter-reset: b; }
.bom__list li {
  counter-increment: b;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  align-items: center;
  min-height: 48px;
  border-top: 1px solid rgba(18, 23, 29, .22);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 500;
}
.bom__list li:first-child { border-top: 0; }
.bom__list li::before {
  content: counter(b, decimal-leading-zero);
  align-self: stretch;
  display: grid;
  place-items: center;
  margin-right: 14px;
  border-right: 1px solid rgba(18, 23, 29, .22);
  color: var(--cyan);
  font: 600 11px/1 var(--f-mono);
}
.bom__list li { padding-right: 14px; }
.bom__list li:hover { background: #fff; }

/* ==================================================================
   D · COVERAGE — schematic plan
   ================================================================== */
.cov {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}
.cov__copy h2 { margin-bottom: 20px; }
.cov__copy p { color: var(--ink-2); font-size: clamp(17px, 1rem + .2vw, 19px); max-width: 34em; }
.cov__copy .muted {
  margin: 0;
  padding: 12px 0 12px 16px;
  border-left: 3px solid var(--red);
  color: var(--ink-2);
  font-size: 16px;
}

.minor-h {
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--ink);
  color: var(--cyan);
  font-size: 11px;
}

.road { list-style: none; margin: 0; padding: 0 0 0 30px; }
.road__item {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 0 0 26px;
}
.road__item:last-child { padding-bottom: 6px; }
.road__item::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 10px;
  bottom: -10px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--ink) 0 18px, transparent 18px 23px, var(--ink) 23px 26px, transparent 26px 31px, var(--ink) 31px 34px, transparent 34px 39px);
}
.road__item:last-child::before {
  bottom: 0;
  -webkit-mask: linear-gradient(#000 70%, transparent);
          mask: linear-gradient(#000 70%, transparent);
}
.road__item.is-now::before { background: var(--ink); width: 3px; left: -22.5px; }
.road__item::after {
  content: "";
  position: absolute;
  left: -30px;
  top: 10px;
  width: 18px;
  height: 2px;
  background: var(--ink);
}
.road__when {
  justify-self: start;
  margin-bottom: 4px;
  color: var(--cyan);
  font: 600 11px/1 var(--f-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.is-now .road__when {
  padding: 6px 9px;
  margin: -6px 0 2px -9px;
  color: var(--red-ink);
}
.road__item strong { font: 780 21px/1.2 var(--f-sans); font-stretch: 108%; letter-spacing: -.01em; }
.road__what { color: var(--ink-2); font-size: 15.5px; line-height: 1.45; }

.legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 18px 0 0;
  color: var(--ink-3);
  font: 500 10px/1 var(--f-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.legend span { width: 30px; height: 2px; background: var(--ink); }
.legend .legend__phantom {
  margin-left: 12px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 12px, transparent 12px 15px, var(--ink) 15px 17px, transparent 17px 20px);
}

.cov__plan {
  display: none;
  margin: 0;
  padding: 14px 14px 0;
  border: 1.5px solid var(--ink);
  background: var(--paper-hi);
}
.plan { display: block; width: 100%; height: auto; }
.plan__lake { fill: url(#lakeHatch); }
#lakeHatch line { stroke: var(--cyan); stroke-width: 1; opacity: .5; }
.plan__shore { fill: none; stroke: var(--cyan); stroke-width: 1.5; }
.plan__lakebg { fill: var(--paper-hi); }
.plan__lakelbl { fill: var(--cyan); font: 600 12px var(--f-mono); letter-spacing: .16em; }
.plan__zone { fill: none; stroke: var(--red); stroke-width: 1.5; stroke-dasharray: 22 5 4 5 4 5; }
.plan__zonelbl { fill: var(--red-ink); font: 600 11.5px var(--f-mono); letter-spacing: .1em; }
.plan__north circle { fill: var(--paper-hi); stroke: var(--ink); stroke-width: 1.5; }
.plan__north path { fill: var(--ink); }
.plan__north text { fill: var(--ink); font: 700 13px var(--f-mono); }
.plan__lines path { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.plan__lines .trunk { stroke-width: 5.5; }
.plan__st circle { fill: var(--paper-hi); stroke: var(--ink); stroke-width: 2.5; }
.plan__hub circle { fill: var(--paper-hi); stroke: var(--ink); stroke-width: 3; }
.plan__hub .in { fill: var(--red); stroke: none; }
.plan__lbl text { fill: var(--ink); font: 500 13px var(--f-mono); }
.plan__lbl .hub { font-weight: 800; }

.viewtitle {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin: 12px -14px 0;
  padding: 12px 16px;
  border-top: 1.5px solid var(--ink);
  color: var(--ink-2);
  font: 500 11px/1.3 var(--f-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.viewtitle span {
  color: var(--ink);
  font: 800 17px/1 var(--f-sans);
  font-stretch: 112%;
  letter-spacing: -.01em;
  text-transform: none;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

/* station index: a line diagram of the 20 cities */
.stations {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(10, auto);
  grid-auto-flow: column;
  column-gap: 16px;
}
.stations li {
  position: relative;
  padding: 6px 0 6px 28px;
  font-size: 16px;
  font-weight: 550;
  line-height: 1.3;
}
.stations li::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--ink);
}
.stations li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 50%;
  z-index: 1;
  width: 15px;
  height: 15px;
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  background: var(--paper-hi);
  transform: translateY(-50%);
}
.stations li:nth-child(1)::after,
.stations li:nth-child(11)::after { top: 50%; }
.stations li:nth-child(10)::after,
.stations li:nth-child(20)::after { bottom: 50%; }
.stations li:first-child { font-weight: 800; }
.stations li:first-child::before { background: var(--red); box-shadow: inset 0 0 0 2.5px var(--paper-hi); }

.cov__note {
  position: relative;
  margin: 0;
  padding: 14px 16px;
  border: 1.5px solid var(--ink);
  background: var(--paper-hi);
  font-size: 15.5px;
  line-height: 1.5;
}
.cov__note a { color: var(--red-ink); font-weight: 700; text-underline-offset: 3px; }
.cov__note-tag {
  display: inline-block;
  margin-right: 8px;
  padding: 3px 6px;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font: 600 10px/1 var(--f-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  vertical-align: 2px;
}

/* ==================================================================
   E · PROCESS — flow diagram on a blueprint plate
   ================================================================== */
.sec--plate { color: var(--on-blue); }
.sec--plate .cut { color: var(--on-blue); }
.sec--plate .cut__label { color: var(--on-blue-2); }
.sec--plate.zone::before,
.sec--plate.zone::after { background: var(--paper); }

.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 46px;
}
.flow__step {
  position: relative;
  padding: 22px 22px 26px;
  border: 1.5px solid var(--blue-line);
  background: rgba(11, 48, 89, .72);
}
.flow__step::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -38px;
  width: 12px;
  height: 30px;
  margin-left: -6px;
  background: var(--on-blue);
  -webkit-mask: var(--arw-d) center / 100% 100% no-repeat;
          mask: var(--arw-d) center / 100% 100% no-repeat;
}
.flow__step:last-child::after { content: none; }
.flow__n {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
}
.flow__of {
  color: var(--on-blue-2);
  font: 500 10px/1 var(--f-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.flow__step h3 {
  margin: 0 0 10px;
  font-size: clamp(21px, 1rem + .5vw, 24px);
  font-stretch: 108%;
  line-height: 1.15;
  letter-spacing: -.012em;
}
.flow__step p { margin: 0; color: var(--on-blue-2); font-size: 16px; line-height: 1.55; }
.flow__step:first-child .balloon { color: var(--red-lt); }

/* ==================================================================
   F · WHY — specification clauses
   ================================================================== */
.spec {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5px;
  border: 1.5px solid var(--ink);
  background: var(--ink);
}
.spec__item { padding: 24px 24px 28px; background: var(--paper-hi); }
.fcf {
  display: inline-flex;
  margin: 0 0 22px;
  border: 1.5px solid var(--ink);
  font: 600 11px/1 var(--f-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.fcf__c {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border-left: 1.5px solid var(--ink);
}
.fcf__c:first-child { border-left: 0; }
.fcf__c:last-child { color: var(--cyan); }
.fcf svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.6; }
.spec__item h3 {
  margin: 0 0 10px;
  font-size: clamp(20px, 1rem + .4vw, 23px);
  font-stretch: 108%;
  line-height: 1.18;
  letter-spacing: -.012em;
}
.spec__item > p:not(.fcf) { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.6; }

/* ==================================================================
   G · FAQ — numbered notes
   ================================================================== */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; }
.faq-grid__call { margin: 22px 0 0; font-size: 17px; color: var(--ink-2); }
.faq-grid__call a { color: var(--red-ink); font-weight: 750; text-underline-offset: 3px; white-space: nowrap; }
.faq { border-top: 1.5px solid var(--ink); }
.qa { border-bottom: 1px solid var(--ink); }
.qa summary {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 14px;
  padding: 18px 2px;
  list-style: none;
  cursor: pointer;
  font: 680 18px/1.35 var(--f-sans);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover .qa__q { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.qa__n {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--cyan);
  border-radius: 50%;
  color: var(--cyan);
  font: 600 10.5px/1 var(--f-mono);
}
.qa[open] .qa__n { background: var(--cyan); color: var(--paper-hi); }
.qa__x { position: relative; width: 22px; height: 22px; }
.qa__x::before,
.qa__x::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  margin: -1px 0 0 -9px;
  background: var(--ink);
  transition: transform .2s ease;
}
.qa__x::after { transform: rotate(90deg); }
.qa[open] .qa__x::after { transform: rotate(0); }
.qa__a { position: relative; padding: 0 8px 22px 52px; }
.qa__a::before {
  content: "";
  position: absolute;
  left: 20px;
  top: -12px;
  bottom: 30px;
  width: 1.2px;
  background: var(--cyan);
}
.qa__a::after {
  content: "";
  position: absolute;
  left: 20px;
  bottom: 30px;
  width: 20px;
  height: 1.2px;
  background: var(--cyan);
}
.qa__a p { margin: 0; max-width: 62ch; color: var(--ink-2); font-size: 16.5px; line-height: 1.6; }

/* ==================================================================
   H · QUOTE — the form is a title block
   ================================================================== */
.quote { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; }
.quote__copy h2 { margin-bottom: 18px; }
.quote__copy > p { color: var(--ink-2); font-size: clamp(17px, 1rem + .2vw, 19px); max-width: 32em; }
.quote__copy > p strong { color: var(--ink); font-weight: 700; }

.contact {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  border: 1.5px solid var(--ink);
  background: var(--ink);
}
.contact li {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  background: var(--paper-hi);
}
.contact__k {
  display: flex;
  align-items: center;
  padding: 14px;
  border-right: 1px solid var(--ink);
  color: var(--cyan);
  font: 600 10.5px/1.35 var(--f-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.contact__v {
  display: block;
  padding: 14px 16px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
a.contact__v { text-underline-offset: 3px; }
.contact__v--big {
  color: var(--red-ink);
  font-size: clamp(22px, 1rem + 1vw, 28px);
  font-weight: 850;
  font-stretch: 110%;
  line-height: 1.1;
  text-decoration: none;
}
.contact__v--big:hover { text-decoration: underline; }

.rfq {
  position: relative;
  border: 1.5px solid var(--ink);
  background: var(--paper-hi);
  box-shadow: 10px 10px 0 -1.5px var(--paper), 10px 10px 0 0 var(--ink);
}
.rfq__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 18px;
  padding: 11px 16px;
  background: var(--ink);
  color: var(--paper-hi);
  font: 500 10.5px/1.35 var(--f-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.rfq__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--ink);
  border-bottom: 1px solid var(--ink);
}
.cell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  margin: 0;
  padding: 11px 16px 12px;
  border: 0;
  background: var(--paper-hi);
  transition: background-color .15s ease;
}
.cell--full { grid-column: 1 / -1; }
.cell:focus-within { background: #fff; }
.cell > label,
.cell > legend {
  color: var(--cyan);
  font: 600 10.5px/1.35 var(--f-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
fieldset.cell { display: block; min-inline-size: 0; }
fieldset.cell > legend { float: left; width: 100%; padding: 0; margin: 0 0 8px; }
.req { color: var(--red-ink); }
.cell input[type="text"],
.cell input[type="email"],
.cell input[type="tel"],
.cell textarea {
  width: 100%;
  min-width: 0;
  padding: 7px 0 6px;
  border: 0;
  border-bottom: 1.5px solid var(--ink-3);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: 500 17px/1.4 var(--f-sans);
  -webkit-appearance: none;
  appearance: none;
}
.cell textarea { min-height: 112px; resize: vertical; }
.cell input:focus-visible,
.cell textarea:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 3px; border-bottom-color: var(--focus); }
::placeholder { color: var(--ink-3); opacity: 1; }
.cell [aria-invalid="true"] { border-bottom-color: var(--red); }
.cell:has([aria-invalid="true"]) { background: #fbeee9; }
.error-msg {
  color: var(--red-ink);
  font: 600 11px/1.3 var(--f-mono);
  letter-spacing: .03em;
}

.checks {
  clear: both;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 18px;
}
.cell .check {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  color: var(--ink);
  font: 550 16px/1.3 var(--f-sans);
  cursor: pointer;
}
.check input {
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 24px;
  margin: -12px 0 0;
  opacity: 0;
  cursor: pointer;
}
.check__box {
  position: relative;
  width: 24px;
  height: 24px;
  flex: none;
  border: 1.5px solid var(--ink);
  background: var(--paper-hi);
}
.check__box::before,
.check__box::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2.4px;
  margin: -1.2px 0 0 -9px;
  background: var(--red);
  transform: rotate(45deg) scaleX(0);
  transition: transform .15s ease;
}
.check__box::after { transform: rotate(-45deg) scaleX(0); }
.check input:checked + .check__box::before { transform: rotate(45deg) scaleX(1); }
.check input:checked + .check__box::after { transform: rotate(-45deg) scaleX(1); }
.check input:focus-visible + .check__box { outline: 2.5px solid var(--focus); outline-offset: 3px; }
.check:hover .check__box { background: #fff; border-color: var(--red); }

.hp {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.rfq__foot { display: grid; gap: 12px; padding: 16px; }
.form-note { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.form-note a { color: var(--red-ink); font-weight: 700; }
.form-note.is-ok { color: var(--ok); font-weight: 600; }
.form-note.is-error { color: var(--red-ink); font-weight: 600; }

/* ==================================================================
   FOOTER — the drawing title block
   ================================================================== */
.tb {
  margin-inline: var(--rail);
  border: 1.5px solid var(--ink);
  border-top-width: 3px;
  background: var(--paper-hi);
}
.tb__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5px;
  background: var(--ink);
}
.tb__brand { padding: 24px clamp(16px, 3vw, 44px); background: var(--paper-hi); }
.tb__brand p { margin: 16px 0 0; max-width: 32em; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.brand--foot .brand__word { font-size: 26px; }
.brand--foot .brand__balloon { width: 40px; height: 40px; font-size: 16px; }

.tb__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5px;
  background: var(--ink);
}
.tb__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 18px clamp(16px, 2vw, 26px) 20px;
  background: var(--paper-hi);
}
.tb__col:last-child { grid-column: 1 / -1; }
.tb__col h3 {
  margin: 0 0 8px;
  color: var(--cyan);
  font: 600 10.5px/1 var(--f-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.tb__col a {
  padding: 5px 0;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 550;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.tb__col a:hover { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }

.tb__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5px;
  margin: 0;
  background: var(--ink);
}
.tb__m { padding: 11px 16px 12px; background: var(--paper-hi); }
.tb__m--title { grid-column: 1 / -1; }
.tb__m dt {
  margin-bottom: 5px;
  color: var(--cyan);
  font: 600 9.5px/1 var(--f-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.tb__m dd { margin: 0; font: 780 17px/1.2 var(--f-sans); font-stretch: 108%; }
.tb__m--rev dd { display: flex; align-items: center; gap: 8px; color: var(--red-ink); }
.tb__m--rev dd::before {
  content: "";
  width: 16px;
  height: 14px;
  background: var(--red);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.tb__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 28px;
  padding: 14px var(--pad);
  border-top: 1.5px solid var(--ink);
  color: var(--ink-3);
  font: 500 11px/1.55 var(--f-mono);
  letter-spacing: .03em;
}
.tb__legal p { margin: 0; }

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }

/* ==================================================================
   RESPONSIVE
   ================================================================== */

/* Tablet and up */
@media (min-width: 640px) {
  .ga__legend { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cov__plan { display: block; }
  .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tb__nav { grid-template-columns: minmax(0, 1.15fr) minmax(0, .8fr) minmax(0, 1.25fr); }
  .tb__col:last-child { grid-column: auto; }
}

@media (min-width: 760px) {
  .cov { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
  .cov__copy { grid-column: 1 / -1; grid-row: 1; }
  .cov__road { grid-column: 1; grid-row: 2; }
  .cov__cities { grid-column: 2; grid-row: 2; }
  .cov__plan { grid-column: 1 / -1; grid-row: 3; }
  .sheet-card { padding: 30px 30px 0; }
  .mini-tb { margin-inline: -30px; }
  .mini-tb dt { padding-left: 30px; }
}

@media (min-width: 760px) {
  .tb__meta { grid-template-columns: minmax(0, 2.4fr) repeat(4, minmax(0, 1fr)); }
  .tb__m--title { grid-column: auto; }
}

@media (min-width: 900px) {
  .sec-head__row { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: end; column-gap: 56px; }
  .ga__cap { grid-template-columns: minmax(240px, 300px) minmax(0, 1fr); }
  .bom { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 50px; }
  .flow__step::after {
    left: auto;
    right: -46px;
    top: 50%;
    bottom: auto;
    width: 42px;
    height: 12px;
    margin: -6px 0 0;
    -webkit-mask-image: var(--arw-h);
            mask-image: var(--arw-h);
  }
  .faq-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
  .faq-grid__head { position: sticky; top: calc(var(--hdr-h) + 40px); align-self: start; }
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-areas: "copy plate" "notes plate";
    column-gap: clamp(36px, 4.5vw, 72px);
    row-gap: 40px;
    align-items: start;
  }
  .hero__copy { grid-area: copy; }
  .dispatch { grid-area: plate; }
  .notes { grid-area: notes; align-self: end; }
}

@media (min-width: 1000px) {
  .sheets { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; align-items: stretch; }
  .sheet-card { padding: 26px 24px 0; }
  .mini-tb { margin-inline: -24px; }
  .mini-tb dt { padding-left: 24px; }
  .quote { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 72px); align-items: start; }
  .tb__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .tb__meta { grid-column: 1 / -1; }
}

@media (min-width: 1100px) {
  .spec { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1200px) {
  .cov {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 36px;
    row-gap: 48px;
  }
  .cov__copy { grid-column: 1 / 8; grid-row: 1; }
  .cov__road { grid-column: 8 / 13; grid-row: 1; }
  .cov__plan { grid-column: 1 / 9; grid-row: 2; align-self: start; }
  .cov__cities { grid-column: 9 / 13; grid-row: 2; }
}

/* Desktop nav breakpoint (keep in sync with NAV_DESKTOP in main.js) */
@media (max-width: 1119.98px) {
  .nav-toggle { display: grid; }
  .hdr__in { gap: 10px; }
  .hdr__call { margin-left: auto; }

  .js .nav {
    position: absolute;
    top: 100%;
    left: -1.5px;
    right: -1.5px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px var(--pad) 20px;
    border: 1.5px solid var(--ink);
    border-top: 0;
    background: var(--paper);
    box-shadow: 0 18px 30px -18px rgba(18, 23, 29, .5);
  }
  .js .nav.is-open { display: flex; }
  .js .nav a:not(.btn) {
    padding: 15px 2px;
    border-bottom: 1px solid rgba(18, 23, 29, .18);
    font-size: 20px;
    font-weight: 700;
    font-stretch: 108%;
    gap: 14px;
  }
  .js .nav a:not(.btn)::after { left: 0; right: auto; width: 60px; bottom: -1px; }
  .js .nav__z { width: 26px; height: 26px; font-size: 11px; }
  .js .nav__cta { margin: 18px 0 0; min-height: 54px; font-size: 17px; }

  /* no-JS fallback: menu shown as a wrapped row */
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .hdr { position: relative; }
  html:not(.js) .hdr__in { flex-wrap: wrap; padding-block: 10px; }
  html:not(.js) .nav { order: 3; width: 100%; flex-wrap: wrap; margin: 0; }
}

@media (min-width: 760px) {
  .hdr__call-lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
}

@media (max-width: 999.98px) {
  .strip__dwg { display: none; }
}

@media (max-width: 959.98px) {
  .dispatch { box-shadow: 7px 7px 0 -1.5px var(--paper), 7px 7px 0 0 var(--ink); margin-right: 7px; }
}

/* Phones */
@media (max-width: 759.98px) {
  :root { --rail: 6px; --hdr-h: 62px; }
  body { padding-bottom: 92px; }
  .sheet::before, .sheet::after { background-size: 6px 100%, 3px 100%; }
  .zone::before, .zone::after { display: none; }
  .ruler { grid-template-columns: repeat(4, minmax(0, 1fr)); height: 20px; line-height: 19px; }
  .ruler span:nth-child(n + 5) { display: none; }

  .strip { font-size: 10px; }
  .strip__in { min-height: 32px; padding-inline: calc(var(--rail) + 1.5px + var(--pad)); }

  .brand__word { font-size: 19px; }
  .brand__balloon { width: 32px; height: 32px; font-size: 13.5px; }
  .brand__leader { width: 11px; margin-left: 6px; }
  .brand__sub { font-size: 8.5px; letter-spacing: .16em; }

  .hdr__call { background: var(--red); color: #fff; border-color: var(--red); padding: 8px 13px; min-height: 46px; }
  .hdr__call-lbl { font: 750 15px/1 var(--f-sans); letter-spacing: 0; text-transform: none; }
  .hdr__call-num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

  .hero__actions .btn { width: 100%; }
  .notes__list { grid-template-columns: minmax(0, 1fr); gap: 12px; }

  .sheet-card--featured,
  .rfq { box-shadow: 6px 6px 0 -1.5px var(--paper), 6px 6px 0 0 var(--ink); margin-right: 6px; }
  .dispatch { box-shadow: 6px 6px 0 -1.5px var(--paper), 6px 6px 0 0 var(--ink); margin-right: 6px; }

  .qa summary { grid-template-columns: 34px minmax(0, 1fr) 20px; gap: 12px; font-size: 17px; }
  .qa__n { width: 32px; height: 32px; font-size: 10px; }
  .qa__a { padding-left: 46px; }
  .qa__a::before, .qa__a::after { left: 16px; }

  .callbar {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 8px 16px;
    border: 1.5px solid var(--ink);
    background: var(--red);
    color: #fff;
    box-shadow: 5px 5px 0 0 var(--ink);
    text-decoration: none;
  }
  .callbar .i-phone { width: 20px; height: 20px; }
  .callbar__lbl { font: 750 16px/1.15 var(--f-sans); font-stretch: 104%; }
  .callbar__num { margin-left: auto; font: 600 13px/1 var(--f-mono); letter-spacing: .02em; white-space: nowrap; }
}

@media (max-width: 559.98px) {
  .strip__tel { display: none; }
  .rfq__grid { grid-template-columns: minmax(0, 1fr); }
  .contact li { grid-template-columns: minmax(0, 1fr); }
  .contact__k { padding: 10px 14px 0; border-right: 0; }
  .contact__v { padding: 4px 14px 12px; }
  .sla__row--short .dim,
  .sla__row--short .sla__ends { width: 78%; }
}

@media (max-width: 379.98px) {
  .callbar__pre { display: none; }
}

@media (max-width: 419.98px) {
  .checks { grid-template-columns: minmax(0, 1fr); }
  .callbar__lbl { font-size: 15px; }
  .cut__label { padding-inline: 8px; font-size: 10.5px; letter-spacing: .06em; }
  .cut__end::after { width: 18px; }
  .cut__end::before { left: 14px; }
  .cut__end--r::before { right: 14px; left: auto; }
}

@media (max-width: 359.98px) {
  .strip { font-size: 9.5px; letter-spacing: .03em; }
  .strip__msg { gap: 7px; }
  .hdr__in { gap: 8px; }
  .brand__word { font-size: 15.5px; font-stretch: 112%; }
  .brand__leader { width: 8px; margin-left: 5px; }
  .brand__balloon { width: 29px; height: 29px; font-size: 12.5px; }
  .brand__sub { font-size: 7.5px; letter-spacing: .12em; }
  .hdr__call { padding-inline: 10px; gap: 7px; }
  .nav-toggle { width: 44px; height: 44px; }
  .callbar__num { font-size: 11.5px; }
  .callbar__lbl { font-size: 14px; }
  .stations li { font-size: 15px; padding-left: 24px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Print: it is a drawing after all ---------- */
@media print {
  .strip, .nav, .nav-toggle, .callbar, .hdr__call, .ga, .cov__plan { display: none !important; }
  body { background: #fff; padding: 0; }
  .hdr { position: static; }
  .plate { color: #000; background: #fff; }
}
