/* ==========================================================================
   Ryuta Transportation: "The Line"
   1. Tokens & themes      6. Hero                11. Fleet
   2. Base & browser chrome 7. Marquee             12. Process
   3. Type & utilities      8. About               13. Testimonials
   4. Buttons & links       9. Services            14. CTA + quote form
   5. Chrome: nav, menu,   10. Stats & coverage    15. Footer, sub-pages
      preloader, curtain, cursor                   16. Reduced motion
   ========================================================================== */

/* 1. Tokens & themes ------------------------------------------------------ */
/* Palette carried over from the original Ryuta site (logo: navy truck, blue and
   green road): deep navy ground, sky blue for the Line and actions, teal for arrival. */
:root {
  --ink: #0A1430;
  --surface: #101E45;
  --surface-2: #172A5C;
  --line: #23386D;
  --line-strong: #34508F;
  --text: #EAF3FB;
  --muted: #A6B5D2;
  --signal: #7CC4EE;        /* the Line */
  --signal-ink: #7CC4EE;    /* small accent text */
  --on-signal: #0A1430;
  --primary: #7CC4EE;       /* buttons and other solid actions */
  --primary-hover: #A9D6F5;
  --on-primary: #0A1430;
  --arrive: #5CC2A6;        /* destinations, delivered, regional lanes */
  --scrim: 10 20 48;

  --font-display: "Archivo", "Arial Narrow", sans-serif;
  --font-body: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Martian Mono", ui-monospace, "SFMono-Regular", monospace;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --pad: clamp(16px, 4vw, 64px);
  --maxw: 1680px;
  --nav-h: 72px;
  --section-y: clamp(96px, 13vw, 200px);
  --radius: 2px;

  color-scheme: dark;
}

/* Light theme: follows the OS unless the visitor picked one. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --ink: #FFFFFF;
    --surface: #F2F8FD;
    --surface-2: #E2F0FB;
    --line: #D4E3F1;
    --line-strong: #A9C3DD;
    --text: #0F1F45;
    --muted: #4A5878;
    --signal: #2F86C4;
    --signal-ink: #1F4F94;
    --on-signal: #FFFFFF;
    --primary: #13285B;
    --primary-hover: #1F4F94;
    --on-primary: #FFFFFF;
    --arrive: #2E7D6B;
    --scrim: 255 255 255;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --ink: #FFFFFF;
  --surface: #F2F8FD;
  --surface-2: #E2F0FB;
  --line: #D4E3F1;
  --line-strong: #A9C3DD;
  --text: #0F1F45;
  --muted: #4A5878;
  --signal: #2F86C4;
  --signal-ink: #1F4F94;
  --on-signal: #FFFFFF;
  --primary: #13285B;
  --primary-hover: #1F4F94;
  --on-primary: #FFFFFF;
  --arrive: #2E7D6B;
  --scrim: 255 255 255;
  color-scheme: light;
}

/* Photographic night surfaces stay dark in both themes. */
.is-night {
  --ink: #0A1430;
  --surface: #101E45;
  --surface-2: #172A5C;
  --line: rgba(234, 243, 251, 0.16);
  --line-strong: rgba(234, 243, 251, 0.32);
  --text: #EAF3FB;
  --muted: #A6B5D2;
  --signal: #7CC4EE;
  --signal-ink: #7CC4EE;
  --on-signal: #0A1430;
  --primary: #7CC4EE;
  --primary-hover: #A9D6F5;
  --on-primary: #0A1430;
  --arrive: #5CC2A6;
  --scrim: 10 20 48;
  color-scheme: dark;
  color: var(--text);
  background-color: #0A1430;
}

/* 2. Base & browser chrome ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-stretch: 100%;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  caret-color: var(--signal);
}
/* Film grain: one fixed layer, never on scrolling content. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:where(h1, h2, h3, h4, p, ol, ul, figure, blockquote) { margin: 0; }
:where(ol, ul) { padding: 0; list-style: none; }

::selection { background: var(--primary); color: var(--on-primary); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: var(--radius); }

html { scrollbar-color: var(--line-strong) var(--ink); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--line-strong); border: 3px solid var(--ink); border-radius: 10px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; }

/* 3. Type & utilities ----------------------------------------------------- */
.display {
  font-family: var(--font-display);
  font-stretch: 62%;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.86;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.h2 { font-size: clamp(3rem, 7.4vw, 8rem); }
.h3 { font-size: clamp(1.75rem, 2.6vw, 2.5rem); line-height: 0.92; }
.lede { font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.3125rem); color: var(--muted); max-width: 52ch; text-wrap: pretty; }
.mono { font-family: var(--font-mono); font-stretch: 87.5%; font-size: 0.75rem; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section-y); position: relative; }
.section-head { display: grid; gap: clamp(20px, 2.4vw, 36px); margin-bottom: clamp(48px, 6vw, 96px); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 300;
  background: var(--primary); color: var(--on-primary);
  padding: 12px 18px; font-weight: 600; border-radius: var(--radius);
  transform: translateY(-160%); transition: transform 200ms var(--ease-out);
}
.skip-link:focus-visible { transform: none; }

/* [CONFIRM] chips: facts the owner must verify before launch. */
.confirm {
  display: inline-block;
  margin-left: 0.5em;
  padding: 1px 6px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  font-stretch: 75%;
  line-height: 1.6;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 0.35em;
  white-space: nowrap;
  color: var(--signal-ink);
  background: var(--ink);
  border: 1px dashed currentColor;
  border-radius: var(--radius);
}

/* 4. Buttons & links ------------------------------------------------------ */
.btn {
  --btn-bg: var(--primary);
  --btn-fg: var(--on-primary);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65em;
  min-height: 52px;
  padding: 0 24px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  border: 1px solid var(--btn-bg);
  transition: scale 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease;
  white-space: nowrap;
}
.btn .icon { transition: transform 240ms var(--ease-out); }
.btn:active { scale: 0.97; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--text); border-color: var(--line-strong); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 0.875rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover .icon { transform: translateX(3px); }
  .btn:hover { --btn-bg: var(--primary-hover); }
  .btn--ghost:hover { --btn-bg: transparent; border-color: var(--text); }
}

/* Underline that draws in from the left. */
.link {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0% 1px no-repeat;
  transition: background-size 320ms var(--ease-out);
  padding-bottom: 2px;
}
.link:focus-visible { background-size: 100% 1px; }
@media (hover: hover) and (pointer: fine) { .link:hover { background-size: 100% 1px; } }
.link-arrow { display: inline-flex; align-items: center; gap: 0.5em; font-weight: 600; }
.link-arrow .icon { color: var(--signal); transition: transform 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover .icon { transform: translate(2px, -2px); } }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: scale 160ms var(--ease-out), border-color 200ms ease, background-color 200ms ease, color 200ms ease;
}
.icon-btn:active { scale: 0.94; }
.icon-btn[disabled] { opacity: 0.35; cursor: default; }
@media (hover: hover) and (pointer: fine) {
  .icon-btn:not([disabled]):hover { border-color: var(--signal); color: var(--signal); }
}

/* Brand mark: the line, ending in an arrival dot. */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 30px; height: 12px; color: var(--signal); }
.brand-word {
  font-family: var(--font-display);
  font-stretch: 62%;
  font-weight: 800;
  font-size: 1.625rem;
  line-height: 1;
  letter-spacing: 0.02em;
}
.brand-sub { font-size: 0.75rem; color: var(--muted); letter-spacing: 0.04em; margin-top: 3px; }

/* 5. Chrome: nav, menu, preloader, curtain, cursor ------------------------ */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 24px;
  padding-inline: var(--pad);
  border-bottom: 1px solid transparent;
  transition: transform 420ms var(--ease-out), background-color 300ms ease, border-color 300ms ease;
}
.nav:not(.is-solid) {
  background: linear-gradient(180deg, rgb(10 20 48 / 0.72), rgb(10 20 48 / 0));
  --text: #EAF3FB;
  --muted: #A6B5D2;
  --line-strong: rgba(234, 243, 251, 0.32);
  color: var(--text);
}
.nav.is-solid { background: var(--ink); border-color: var(--line); color: var(--text); }
.nav.is-hidden { transform: translateY(-100%); }
.nav .brand { margin-right: auto; }
.nav-links { display: none; gap: clamp(18px, 2vw, 32px); font-size: 0.9375rem; }
.nav-tools { display: flex; align-items: center; gap: 10px; }
.nav-phone { display: none; font-family: var(--font-mono); font-stretch: 87.5%; font-size: 0.8125rem; }
.theme-toggle .i-sun, :root[data-theme="light"] .theme-toggle .i-moon { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .theme-toggle .i-moon { display: none; }
  :root:not([data-theme]) .theme-toggle .i-sun { display: block; }
}
.menu-btn { display: inline-grid; }
@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .menu-btn { display: none; }
}
@media (min-width: 1280px) { .nav-phone { display: inline; } }
@media (max-width: 479px) { .nav .btn { display: none; } }

.menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 0 var(--pad) clamp(24px, 6vw, 48px);
  background: var(--ink);
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
}
.menu.is-open { visibility: visible; }
.menu-top { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; }
.menu-list { align-self: center; display: grid; gap: 4px; }
.menu-list a {
  display: block;
  font-family: var(--font-display);
  font-stretch: 62%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(3.25rem, 15vw, 6rem);
  line-height: 0.95;
}
.menu-list a { overflow: hidden; }
.menu-list a span { display: inline-block; }
.menu-foot { display: grid; gap: 16px; }
.menu-foot .btn { width: 100%; }

.preloader { display: none; }
.js .preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  padding: var(--pad);
  background: var(--ink);
  color: var(--text);
  /* Failsafe: never trap the page if scripts fail. */
  animation: preloader-failsafe 0s linear 4.5s forwards;
}
.no-preloader .preloader { display: none !important; }
@keyframes preloader-failsafe { to { visibility: hidden; } }
.pl-route { grid-row: 2; position: relative; }
.pl-track { position: relative; height: 2px; background: var(--line); }
.pl-fill { position: absolute; inset: 0; background: var(--signal); transform-origin: 0 50%; transform: scaleX(0); }
.pl-dot { position: absolute; left: -7px; top: -6px; width: 14px; height: 14px; border-radius: 50%; background: var(--signal); }
.pl-ends { display: flex; justify-content: space-between; margin-top: 14px; color: var(--muted); }
.pl-count {
  grid-row: 3;
  align-self: end;
  font-family: var(--font-display);
  font-stretch: 62%;
  font-weight: 800;
  font-size: clamp(6rem, 22vw, 20rem);
  line-height: 0.8;
  font-variant-numeric: tabular-nums;
}
.pl-count small { font-size: 0.32em; color: var(--signal); margin-left: 0.08em; }

.curtain {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--signal);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  pointer-events: none;
}
.curtain-in .curtain { transform: scaleY(1); transform-origin: 50% 0%; }

.cursor {
  font-stretch: 87.5%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 150;
  width: 96px;
  height: 96px;
  margin: -48px 0 0 -48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0;
  scale: 0.12;
  transition: scale 360ms var(--ease-out), opacity 200ms ease;
}
.cursor.is-visible { opacity: 1; }
.cursor.has-label { scale: 1; }
.cursor.has-link { scale: 0.34; }
.cursor.is-field { opacity: 0; }
.cursor-label { opacity: 0; transition: opacity 160ms ease; }
.cursor.has-label .cursor-label { opacity: 1; transition-delay: 80ms; }

/* 6. Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  align-content: end;
  gap: clamp(28px, 4vw, 48px);
  padding: calc(var(--nav-h) + 48px) var(--pad) clamp(28px, 4vw, 56px);
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-frame { position: absolute; inset: 0; transform-origin: 70% 40%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-trail { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero-trail path { fill: none; stroke-linecap: round; }
/* Stroke widths are in photo units (2400 wide): about 3.5px on screen at desktop. */
.hero-trail .trail-line { stroke: var(--signal); stroke-width: 12; }
.hero-trail .trail-halo { stroke: rgb(10 20 48 / 0.8); stroke-width: 32; }
.hero-connector { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.hero-connector path { fill: none; stroke: var(--signal); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.hero-copy, .hero-foot { position: relative; z-index: 1; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(10 20 48 / 0.9) 0%, rgb(10 20 48 / 0.6) 40%, rgb(10 20 48 / 0.05) 78%),
    linear-gradient(0deg, rgb(10 20 48 / 0.92) 0%, rgb(10 20 48 / 0) 46%);
}
.hero-status {
  position: absolute;
  top: calc(var(--nav-h) + 20px);
  right: var(--pad);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  z-index: 3;
  padding: 6px 10px;
  background: rgb(10 20 48 / 0.82);
  border-radius: var(--radius);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); }

.hero-title { font-size: clamp(4.25rem, 14vw, 15.5rem); max-width: 11ch; }
.hero-title .line { display: block; }
.hero-rotator {
  display: flex;
  align-items: baseline;
  gap: 0.28em;
  margin-top: clamp(10px, 1.2vw, 18px);
  font-size: clamp(1.75rem, 4.6vw, 4.75rem);
  line-height: 1;
}
.hero-rotator .rule { width: clamp(28px, 4vw, 64px); height: 0.09em; background: var(--signal); align-self: center; flex: none; }
.rotator { position: relative; display: inline-grid; height: 1.04em; overflow: hidden; color: var(--signal); }
.rotator > span { grid-area: 1 / 1; white-space: nowrap; }
.js .rotator > span:not(:first-child) { visibility: hidden; }

.hero-foot { display: grid; gap: 20px; align-items: end; }
@media (min-width: 1024px) {
  .hero-foot { grid-template-columns: minmax(0, 880px) 1fr; gap: 40px; }
}

/* Route form: the working action, drawn as a line between two stops. */
.route {
  display: grid;
  gap: 0;
  background: rgb(10 20 48 / 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.route-stop { position: relative; display: grid; gap: 2px; padding: 14px 18px 14px 46px; }
.route-stop label { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.route-stop input {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text);
}
.route-stop input::placeholder { color: rgb(234 243 251 / 0.62); }
.route-stop input:focus-visible { outline: none; }
.route-stop:focus-within { background: rgb(234 243 251 / 0.06); box-shadow: inset 0 -2px 0 var(--signal); }
.route-stop::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-radius: 50%;
  border: 2px solid var(--text);
  background: var(--ink);
}
.route-stop--to::before { background: var(--arrive); border-color: var(--arrive); }
.route-link { position: relative; height: 22px; margin-left: 23px; width: 2px; background: repeating-linear-gradient(180deg, var(--line-strong) 0 4px, transparent 4px 8px); }
.route-link .dot { position: absolute; left: -2px; top: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); animation: travel-y 2.2s var(--ease-in-out) infinite; }
@keyframes travel-y { from { transform: translateY(0); } to { transform: translateY(16px); } }
.route .btn { margin: 0 10px 10px; }
@media (min-width: 768px) {
  .route { grid-template-columns: 1fr minmax(48px, 120px) 1fr auto; align-items: center; }
  .route-link { height: 2px; width: auto; margin: 0; background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px); }
  .route-link .dot { top: -2px; left: 0; animation: travel-x 2.4s var(--ease-in-out) infinite; }
  .route .btn { margin: 8px; min-height: 60px; }
}
@keyframes travel-x { from { left: 0; } to { left: calc(100% - 6px); } }

.hero-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; color: var(--muted); font-size: 0.9375rem; }
.hero-alt a { color: var(--text); }
.scroll-cue { display: none; justify-self: end; align-items: center; gap: 14px; color: var(--muted); font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; }
.scroll-cue .track { position: relative; width: 2px; height: 56px; background: var(--line); overflow: hidden; }
.scroll-cue .track::after { content: ""; position: absolute; left: 0; top: 0; width: 2px; height: 14px; background: var(--signal); animation: cue 2s var(--ease-in-out) infinite; }
@keyframes cue { from { transform: translateY(-14px); } to { transform: translateY(56px); } }
@media (min-width: 1024px) { .scroll-cue { display: inline-flex; } }

/* 7. Marquee -------------------------------------------------------------- */
.marquee { overflow: hidden; padding-block: clamp(28px, 4vw, 64px); border-bottom: 1px solid var(--line); }
.marquee-row { display: flex; width: max-content; will-change: transform; }
.marquee-row + .marquee-row { margin-top: clamp(4px, 0.6vw, 10px); }
.marquee-set { display: flex; align-items: center; flex: none; }
.marquee-item {
  font-family: var(--font-display);
  font-stretch: 62%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(4rem, 11.5vw, 12.5rem);
  line-height: 0.92;
  white-space: nowrap;
}
.marquee-item.is-outline { color: transparent; -webkit-text-stroke: 1.5px var(--text); }
.marquee-item.is-muted { color: var(--line-strong); }
.sep { display: inline-block; flex: none; width: clamp(40px, 6vw, 96px); height: clamp(5px, 0.7vw, 10px); margin-inline: 0.3em; background: var(--signal); }

/* 8. About ---------------------------------------------------------------- */
.about-grid { display: grid; gap: clamp(40px, 6vw, 96px); }
.statement {
  font-size: clamp(1.625rem, 1.1rem + 2.1vw, 3.25rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  font-weight: 500;
  text-wrap: pretty;
  max-width: 24ch;
}
.statement em { font-style: normal; color: var(--signal-ink); }
.about-media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); }
.about-media img { width: 100%; height: 118%; object-fit: cover; }
.about-media figcaption { position: absolute; left: 14px; bottom: 12px; color: #EAF3FB; }
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: start; }
  .statement { max-width: 22ch; }
}
.pillars { display: grid; gap: 0; margin-top: clamp(64px, 8vw, 128px); border-top: 1px solid var(--line); }
.pillar { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; padding-block: 28px; border-bottom: 1px solid var(--line); }
.pillar .icon { width: 28px; height: 28px; color: var(--signal); grid-row: span 2; }
.pillar h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.pillar p { color: var(--muted); max-width: 42ch; }
@media (min-width: 900px) {
  .pillars { grid-template-columns: repeat(3, 1fr); border-bottom: 0; }
  .pillar { grid-template-columns: 1fr; padding: 32px 32px 8px 0; border-bottom: 0; }
  .pillar + .pillar { padding-left: 32px; border-left: 1px solid var(--line); }
  .pillar .icon { grid-row: auto; margin-bottom: 18px; }
}

/* 9. Services (pinned horizontal on desktop, native swipe below 768px) ---- */
.services { border-top: 1px solid var(--line); }
.svc-pin { position: relative; display: grid; gap: 32px; padding-block: var(--section-y) 48px; }
.svc-intro { display: grid; gap: 22px; align-content: start; padding-inline: var(--pad); }
.svc-viewport { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: none; }
.svc-viewport::-webkit-scrollbar { display: none; }
.svc-track { display: flex; gap: 16px; width: max-content; padding-inline: var(--pad); }
.svc-card { position: relative; width: min(78vw, 360px); scroll-snap-align: start; display: grid; gap: 14px; }
.svc-media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); }
.svc-media img { position: absolute; inset: 0 -10%; width: 120%; max-width: none; height: 100%; object-fit: cover; transition: scale 700ms var(--ease-out); }
.svc-meta { display: flex; justify-content: space-between; color: var(--muted); }
.svc-meta b { color: var(--signal-ink); font-weight: 500; }
.svc-card p { color: var(--muted); max-width: 36ch; }
.svc-card .svc-spec { font-size: 0.875rem; padding-top: 10px; border-top: 1px solid var(--line); }
.svc-media--custom { display: grid; place-items: end start; padding: 22px; background: var(--surface); border: 1px solid var(--line); }
.svc-media--custom span {
  font-family: var(--font-display);
  font-stretch: 62%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  line-height: 0.9;
  color: var(--signal-ink);
}
.svc-card .link-arrow { font-size: 0.9375rem; }
.svc-card a.cover { position: absolute; inset: 0; z-index: 1; }
@media (hover: hover) and (pointer: fine) {
  .svc-card:hover .svc-media img { scale: 1.05; }
}
.svc-controls { display: flex; gap: 10px; }
.svc-pinned .svc-controls { display: none; }
.svc-progress { display: flex; align-items: center; gap: 18px; padding-inline: var(--pad); color: var(--muted); }
@media (min-width: 768px) {
  .svc-card { width: clamp(300px, 28vw, 440px); }
}
/* Desktop pin layout is applied by JS only when motion is allowed. */
.svc-pinned .svc-pin {
  height: 100dvh;
  min-height: 640px;
  padding-block: calc(var(--nav-h) + 24px) 40px;
  grid-template-columns: minmax(300px, 30%) 1fr;
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 0;
}
.svc-pinned .svc-intro { padding-right: 32px; }
.svc-pinned .svc-viewport {
  overflow: hidden; scroll-snap-type: none; height: 100%; display: flex; align-items: center;
  /* Cards fade out as they pass under the intro instead of being cut. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 96px);
  mask-image: linear-gradient(90deg, transparent 0, #000 96px);
}
.svc-pinned .svc-track { padding-left: 104px; }
.svc-pinned .svc-track { padding-right: var(--pad); gap: clamp(20px, 2vw, 32px); }
.svc-pinned .svc-card { width: clamp(280px, 24vw, 420px); }
.svc-pinned .svc-media { aspect-ratio: 4 / 4.6; }
.svc-pinned .svc-progress { grid-column: 1 / -1; }
.svc-progress .bar { position: relative; flex: 1; height: 2px; background: var(--line); }
.svc-progress .fill { position: absolute; inset: 0; background: var(--signal); transform-origin: 0 50%; transform: scaleX(0); }

/* 10. Stats & coverage ---------------------------------------------------- */
.stats { border-top: 1px solid var(--line); padding-block: clamp(64px, 8vw, 120px); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.stat { padding: 28px 18px 28px 0; border-bottom: 1px solid var(--line); }
.stat:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
.stat-num {
  display: flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-stretch: 62%;
  font-weight: 800;
  font-size: clamp(3.5rem, 9vw, 8.5rem);
  line-height: 0.85;
  font-variant-numeric: tabular-nums;
}
.stat-num small { font-size: 0.45em; color: var(--arrive); margin-left: 0.04em; }
.stat-label { margin-top: 12px; color: var(--muted); max-width: 22ch; }
@media (min-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat { padding: 8px 28px 8px 28px; border-bottom: 0; border-left: 1px solid var(--line); }
  .stat:first-child { border-left: 0; padding-left: 0; }
}

.coverage-grid { display: grid; gap: clamp(32px, 4vw, 64px); }
/* Grid children may shrink below their content (the map scrolls inside its own box). */
.coverage-grid > *, .about-grid > *, .cta-grid > *, .process-grid > *, .footer-grid > * { min-width: 0; }
@media (min-width: 1100px) { .coverage-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: center; } }
.legend { display: grid; gap: 14px; margin-top: 32px; }
.legend li { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 0.9375rem; }
.legend i { display: inline-block; width: 40px; height: 4px; flex: none; }
.legend .l-trunk { background: var(--signal); height: 6px; }
.legend .l-regional { background: var(--arrive); }
.legend .l-request { background: repeating-linear-gradient(90deg, var(--muted) 0 6px, transparent 6px 11px); }
.map-scroll { overflow-x: auto; scrollbar-width: thin; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); }
.map { min-width: 760px; width: 100%; height: auto; overflow: visible; }
.map .ln { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.map .ln-trunk { stroke: var(--signal); stroke-width: 9; }
.map .ln-regional { stroke: var(--arrive); stroke-width: 6; }
.map .ln-request { stroke: var(--muted); stroke-width: 3; stroke-dasharray: 8 9; }
.map .stn { fill: var(--ink); stroke: var(--text); stroke-width: 3.5; }
.map .stn-hub { fill: var(--ink); stroke: var(--text); stroke-width: 4; }
.map .lbl { fill: var(--text); font-family: var(--font-body); font-size: 17px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.map .lbl-sub { fill: var(--muted); font-family: var(--font-mono); font-stretch: 87.5%; font-size: 13px; letter-spacing: 0.02em; }
.map .runner { fill: var(--signal); }
.map .runner-alt { fill: var(--arrive); }
.map-note { margin-top: 18px; color: var(--muted); font-size: 0.875rem; }
.swipe-hint { display: inline-flex; align-items: center; gap: 8px; }
@media (min-width: 900px) { .swipe-hint { display: none; } .map-scroll { margin-inline: 0; padding-inline: 0; overflow: visible; } }

/* 11. Fleet --------------------------------------------------------------- */
.fleet { border-top: 1px solid var(--line); overflow: hidden; }
.carousel-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(40px, 5vw, 72px); }
.carousel-controls { display: flex; gap: 10px; }
.fleet-swiper { overflow: visible !important; }
.fleet-slide { width: min(86vw, 860px) !important; }
.fleet-slide figure { display: grid; gap: 18px; }
.fleet-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface); }
.fleet-media img { width: 100%; height: 100%; object-fit: cover; transition: scale 900ms var(--ease-out); }
.fleet-media .tag { position: absolute; left: 12px; top: 12px; padding: 4px 8px; background: rgb(10 20 48 / 0.72); color: #EAF3FB; font-family: var(--font-mono); font-stretch: 87.5%; font-size: 0.6875rem; letter-spacing: 0.04em; border-radius: var(--radius); }
@media (hover: hover) and (pointer: fine) { .fleet-slide:hover .fleet-media img { scale: 1.04; } }
.fleet-cap { display: grid; gap: 10px; }
.fleet-soon { display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; border: 1px dashed var(--line); color: var(--muted); }
.fleet-soon .mono { font-size: 0.8125rem; letter-spacing: 0.04em; }
.fleet.is-empty .carousel-controls, .fleet.is-empty .progress { display: none; }
@media (min-width: 768px) { .fleet-cap { grid-template-columns: 1fr auto; align-items: end; } }
.specs { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); }
.specs li { display: inline-flex; align-items: center; gap: 8px; }
.specs li::before { content: ""; width: 10px; height: 2px; background: var(--signal); }
.progress { position: relative; height: 2px; margin-top: clamp(32px, 4vw, 56px); background: var(--line); }
.progress .swiper-pagination-progressbar-fill { background: var(--signal) !important; }
.progress.swiper-pagination-progressbar { position: relative !important; top: auto !important; left: auto !important; width: 100% !important; height: 2px !important; }

/* 12. Process ------------------------------------------------------------- */
.process { border-top: 1px solid var(--line); }
.process-grid { display: grid; gap: clamp(40px, 5vw, 80px); }
@media (min-width: 1024px) {
  .process-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .process-aside { position: sticky; top: calc(var(--nav-h) + 48px); align-self: start; }
}
.steps { position: relative; padding-left: 64px; }
.steps-list { display: grid; gap: clamp(56px, 8vw, 120px); }
.steps-line { position: absolute; left: 15px; top: 16px; bottom: 16px; width: 2px; background: var(--line); }
.steps-line .fill { position: absolute; inset: 0; background: var(--signal); transform-origin: 50% 0; transform: scaleY(1); }
.js .steps-line .fill { transform: scaleY(0); }
.step { position: relative; display: grid; gap: 14px; }
.step-node {
  position: absolute;
  left: -64px;
  top: 4px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--line-strong);
  transition: border-color 300ms ease, background-color 300ms ease;
}
.step-node::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); transition: background-color 300ms ease, transform 300ms var(--ease-out); }
.step.is-lit .step-node { border-color: var(--signal); }
.step.is-lit .step-node::after { background: var(--signal); transform: scale(1.2); }
.step-num { color: var(--signal-ink); }
.step h3 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.step p { color: var(--muted); max-width: 46ch; }

/* 13. Testimonials -------------------------------------------------------- */
.voices { border-top: 1px solid var(--line); overflow: hidden; }
.voice { display: grid; gap: 28px; max-width: 1100px; }
.voice blockquote { font-size: clamp(1.625rem, 1.1rem + 2vw, 3rem); line-height: 1.16; letter-spacing: -0.02em; font-weight: 500; text-wrap: pretty; }
.voice blockquote::before { content: "\201C"; display: block; font-family: var(--font-display); font-stretch: 62%; font-weight: 800; font-size: 2.4em; line-height: 0.6; color: var(--signal); margin-bottom: 0.18em; }
.voice figcaption { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); }
.voice figcaption strong { color: var(--text); font-weight: 600; }
.voice-note { color: var(--muted); font-size: 0.875rem; margin-top: 24px; max-width: 60ch; }

/* 14. CTA + quote form ---------------------------------------------------- */
.cta { position: relative; overflow: hidden; isolation: isolate; padding-block: 0 var(--section-y); }
.cta-media { position: absolute; inset: 0; z-index: -1; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(10 20 48 / 0.95) 0%, rgb(10 20 48 / 0.78) 40%, rgb(10 20 48 / 0.9) 100%); }
.cta .marquee { border: 0; padding-block: clamp(48px, 7vw, 112px) clamp(32px, 4vw, 64px); }
.cta-grid { display: grid; gap: clamp(40px, 5vw, 80px); }
@media (min-width: 1024px) { .cta-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.contact-list { display: grid; gap: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.contact-list li { display: flex; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list .icon { color: var(--signal); }
.contact-list small { display: block; color: var(--muted); font-size: 0.8125rem; }

.quote-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px 20px;
  padding: clamp(20px, 3vw, 40px);
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
@media (min-width: 640px) { .quote-form { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-size: 0.875rem; font-weight: 600; }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--text);
  transition: border-color 160ms ease, background-color 160ms ease;
}
.field textarea { min-height: 112px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 0.8; }
/* Focus ring sits outside the border, so an error border can never hide it. */
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; border-color: var(--signal); background: var(--surface-2); }
.field input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(0.6); cursor: pointer; }
.field .help { font-size: 0.8125rem; color: var(--muted); }
.field .error { display: none; align-items: center; gap: 6px; font-size: 0.8125rem; color: var(--signal-ink); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--signal-ink); }
.field.is-invalid .error { display: flex; }
.field .label { font-size: 0.875rem; font-weight: 600; }
.field .label .opt { color: var(--muted); font-weight: 400; }
.photo-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.photo-list:empty { display: none; }
.photo-list li { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line-strong); }
.photo-list img { width: 100%; height: 100%; object-fit: cover; }
.photo-list button { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(5, 12, 26, 0.75); color: #fff; cursor: pointer; font-size: 18px; line-height: 1; }
.photo-list button:focus-visible { outline: 2px solid var(--text); outline-offset: 1px; }
.photo-add { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 18px; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--surface); color: var(--text); font-size: 0.9375rem; font-weight: 600; cursor: pointer; transition: border-color 160ms ease, background-color 160ms ease; }
.photo-add:hover, #q-photos:focus-visible + .photo-list + .photo-add { border-color: var(--signal); background: var(--surface-2); }
#q-photos:focus-visible + .photo-list + .photo-add { outline: 2px solid var(--text); outline-offset: 2px; }
.photo-add[hidden] { display: none; }
.photo-add .icon { width: 20px; height: 20px; }
.form-foot { display: grid; gap: 14px; }
.form-foot .btn { width: 100%; min-height: 58px; }
.form-foot .fine { font-size: 0.8125rem; color: var(--muted); }
.btn .spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 600ms linear infinite; }
.btn.is-loading .spinner { display: block; }
.btn.is-loading .icon { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { display: none; gap: 12px; padding: 18px; border: 1px solid var(--line-strong); border-radius: var(--radius); }
.form-status.is-shown { display: flex; }
.form-status .icon { color: var(--arrive); width: 24px; height: 24px; }
.form-status strong { display: block; }

/* 15. Footer & sub-pages -------------------------------------------------- */
.footer { padding-top: clamp(64px, 8vw, 120px); border-top: 1px solid var(--line); overflow: hidden; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-col h2 { font-size: 0.8125rem; font-weight: 600; color: var(--muted); margin-bottom: 16px; letter-spacing: 0.02em; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col:first-child { grid-column: 1 / -1; }
@media (min-width: 1024px) { .footer-col:first-child { grid-column: auto; } }
.footer-tagline { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; max-width: 24ch; }
.socials { display: flex; gap: 10px; }
.wordmark { position: relative; margin-top: clamp(56px, 8vw, 120px); padding-inline: var(--pad); }
.wordmark-text {
  display: block;
  font-family: var(--font-display);
  font-stretch: 62%;
  font-weight: 800;
  font-size: 37.5vw;
  line-height: 0.74;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  text-align: center;
  margin-bottom: -0.02em;
}
.wordmark-line { display: flex; align-items: center; gap: 12px; padding-block: 22px 28px; color: var(--muted); }
.wordmark-line .bar { position: relative; flex: 1; height: 3px; background: var(--line); overflow: hidden; }
.wordmark-line .bar span { position: absolute; inset: 0; background: var(--signal); transform-origin: 0 50%; }
.wordmark-line .end { width: 12px; height: 12px; border-radius: 50%; background: var(--arrive); flex: none; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 20px 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.8125rem; }
.legal ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }

.page-head { padding: calc(var(--nav-h) + clamp(56px, 9vw, 140px)) 0 clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.page-head .display { font-size: clamp(3.5rem, 11vw, 11rem); }
.next-steps { display: grid; gap: 0; margin-top: 40px; border-top: 1px solid var(--line); counter-reset: s; }
.next-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); counter-increment: s; }
.next-steps li::before { content: counter(s); font-family: var(--font-mono); font-stretch: 87.5%; color: var(--signal-ink); grid-row: span 2; }
.next-steps strong { font-weight: 600; }
.next-steps span { color: var(--muted); grid-column: 2; }
.prose { max-width: 68ch; display: grid; gap: 18px; }
.prose h2 { font-size: 1.375rem; font-weight: 600; margin-top: 28px; letter-spacing: -0.01em; }
.prose a { color: var(--signal-ink); text-decoration: underline; text-underline-offset: 3px; }
.credits li { padding-block: 12px; border-bottom: 1px solid var(--line); }

/* Hero pieces wait for the intro, but show anyway if scripts never boot. */
@media (prefers-reduced-motion: no-preference) {
  .js:not(.booted) .hero-anim { opacity: 0; animation: hero-failsafe 0s linear 3.5s forwards; }
}
@keyframes hero-failsafe { to { opacity: 1; } }

/* Minimal carousel layout before (or without) the Swiper stylesheet. */
.swiper { position: relative; overflow: hidden; }
.swiper-wrapper { display: flex; }
.swiper-slide { flex-shrink: 0; }
.voices-swiper .swiper-slide { width: 100%; }

/* 16. Reduced motion ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .route-link .dot, .scroll-cue .track::after { animation: none !important; }
  .cursor { display: none; }
  .js .steps-line .fill { transform: scaleY(1); }
  .js .rotator > span:not(:first-child) { visibility: hidden; }
}

/* Email fallback (no mail app opened) ------------------------------------- */
.mail-fallback { position: fixed; z-index: 1000; left: 50%; bottom: 24px; transform: translateX(-50%); width: min(420px, calc(100vw - 32px)); padding: 18px 44px 18px 18px; background: var(--surface-2); color: var(--text); border: 1px solid var(--line-strong); border-radius: 10px; box-shadow: 0 18px 50px rgb(var(--scrim) / 0.45); font-size: 0.9375rem; }
.mail-fallback p { margin: 0 0 12px; }
.mail-fallback-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-mail { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--text); font: inherit; font-size: 0.875rem; text-decoration: none; cursor: pointer; }
.btn-mail:hover, .btn-mail:focus-visible { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.mail-fallback-close { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border: 0; background: transparent; color: var(--muted); font-size: 1.375rem; line-height: 1; cursor: pointer; }
.mail-fallback-close:hover { color: var(--text); }

/* Map picker (quote form) ------------------------------------------------ */
.pin-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.pin-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--text); font: inherit; font-size: 0.875rem; cursor: pointer; }
.pin-btn:hover, .pin-btn:focus-visible { border-color: var(--signal); background: var(--surface-2); }
.pin-btn .icon { width: 18px; height: 18px; }
.pin-link { font-size: 0.875rem; }
.pin-lock, .pin-lock body { overflow: hidden !important; }
.pin-modal { position: fixed; inset: 0; z-index: 1100; display: grid; place-items: center; padding: 16px; background: rgb(var(--scrim) / 0.72); }
.pin-modal[hidden] { display: none; }
.pin-panel { display: grid; gap: 12px; width: min(760px, 100%); max-height: calc(100dvh - 32px); overflow: auto; padding: 18px; background: var(--surface); color: var(--text); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: 0 24px 60px rgb(var(--scrim) / 0.5); }
.pin-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pin-head h2 { margin: 0; font-size: 1.125rem; }
.pin-x { width: 36px; height: 36px; border: 0; background: transparent; color: var(--muted); font-size: 1.5rem; cursor: pointer; }
.pin-search { display: flex; flex-wrap: wrap; gap: 8px; }
.pin-search input { flex: 1 1 220px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius, 6px); background: var(--ink); color: var(--text); font: inherit; }
.pin-results { display: grid; gap: 2px; max-height: 180px; overflow: auto; margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 8px; }
.pin-results[hidden] { display: none; }
.pin-results button { width: 100%; padding: 10px 12px; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 0.9375rem; text-align: left; cursor: pointer; }
.pin-results button:hover, .pin-results button:focus-visible { background: var(--surface-2); }
.pin-note { padding: 10px 12px; color: var(--muted); font-size: 0.875rem; }
.pin-map { height: min(52vh, 420px); border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.pin-hint { margin: 0; color: var(--muted); font-size: 0.8125rem; }
.pin-address { margin: 0; min-height: 1.4em; font-weight: 600; }
.pin-foot { display: flex; justify-content: flex-end; gap: 10px; }
.pin-foot .btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* Ask-the-receiver panel (map picker) and the receiver's page (locate.html) */
.pin-ask { display: grid; gap: 12px; padding: 14px; border: 1px dashed var(--line-strong); border-radius: 10px; }
.pin-ask[hidden] { display: none; }
.pin-ask-lede { margin: 0; font-size: 0.9375rem; }
.pin-share { display: flex; flex-wrap: wrap; gap: 8px; }
.pin-share[hidden], .pin-share [hidden] { display: none; }
.pin-share a.pin-btn { text-decoration: none; }
.pin-paste { display: grid; gap: 6px; font-size: 0.875rem; font-weight: 600; }
.pin-paste input { min-height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius, 6px); background: var(--ink); color: var(--text); font: inherit; font-weight: 400; }
.pin-paste-note { margin: 0; min-height: 1.2em; color: var(--signal-ink); font-size: 0.8125rem; }
.locate { display: grid; gap: 18px; width: min(720px, 100%); margin: 0 auto; padding: 32px 16px 56px; }
.locate-brand { margin: 0; color: var(--signal-ink); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.locate-title { margin: 0; font-size: clamp(1.75rem, 6vw, 2.5rem); line-height: 1.05; }
.locate-lede { margin: 0; color: var(--muted); }
.locate-step { display: grid; gap: 12px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.locate-step h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.0625rem; }
.locate-step h2 .mono { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-size: 0.75rem; }
.locate-gps { width: 100%; min-height: 54px; justify-content: center; }
.locate-map { height: min(55vh, 440px); }
.locate-wait { margin: 0; color: var(--muted); }
.locate-wait[hidden] { display: none; }
.locate-fine { margin: 0; color: var(--muted); font-size: 0.8125rem; }

/* Photo slots without a photo yet (uploaded from the admin) ---------------- */
.photo-soon { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; background: var(--surface); background-image: repeating-linear-gradient(135deg, transparent 0 18px, rgb(124 196 238 / 0.05) 18px 19px); color: var(--muted); font-family: var(--font-mono); font-stretch: 87.5%; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; text-align: center; }
.hero-frame .photo-soon { place-items: end; padding: 0 24px 24px 0; background-color: var(--ink); }
.photo-soon--bg { background: var(--ink); color: transparent; }
