/* ============================================================
   GIVANNI TRANSPORT — styles.css
   Night-haul theme · Anton / Overpass / Overpass Mono
   ============================================================ */

/* ---------- Fonts (self-hosted, subset) ---------- */
@font-face {
  font-family: "Anton";
  src: url("assets/fonts/Anton-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Overpass";
  src: url("assets/fonts/Overpass-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Overpass";
  src: url("assets/fonts/Overpass-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Overpass";
  src: url("assets/fonts/Overpass-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Overpass";
  src: url("assets/fonts/Overpass-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Overpass Mono";
  src: url("assets/fonts/OverpassMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Overpass Mono";
  src: url("assets/fonts/OverpassMono-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --asphalt: #f4f1e8;        /* page background — daylight paper  */
  --asphalt-2: #ece8db;      /* deep panel                        */
  --graphite: #fbfaf4;       /* raised surface                    */
  --graphite-2: #ffffff;     /* raised surface hover              */
  --line: rgba(19, 21, 25, 0.22);   /* hairlines                  */
  --line-soft: rgba(19, 21, 25, 0.12);
  --headlight: #131519;      /* primary text — ink                */
  --slate: #575c66;          /* secondary text                    */
  --slate-dim: #5d626b;      /* darkened for WCAG AA contrast on cream */
  --slate-lift: #9aa0ab;     /* muted text on the dark hero            */
  --amber: #1a39d7;          /* primary accent — shield cobalt    */
  --amber-deep: #0f24a4;
  --amber-ink: #c22b20;      /* stamp / on-paper red ink          */
  --red: #d5382c;            /* shield signal red                 */
  --paper: #fdfcf8;          /* manifest paper                    */
  --paper-2: #f2efe6;
  --ink: #131519;            /* text on paper                     */
  --ink-soft: #4d5158;

  --font-display: "Anton", "Arial Narrow", Impact, sans-serif;
  --font-body: "Overpass", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Overpass Mono", "SFMono-Regular", Consolas, monospace;

  --container: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --nav-h: 76px;
  --radius: 14px;
  --radius-sm: 10px;

  --shadow-card: 0 24px 50px -26px rgba(19, 21, 25, 0.30);
  --glow-amber: 0 8px 26px -8px rgba(26, 57, 215, 0.45);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.7s;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--asphalt);
  color: var(--headlight);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
::selection {
  background: var(--amber);
  color: #f8f6ef;
}
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}
section {
  scroll-margin-top: calc(var(--nav-h) + 24px);
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 4000;
  background: var(--amber);
  color: #f8f6ef;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 8px;
  transition: top 0.25s var(--ease-out);
}
.skip-link:focus-visible {
  top: 12px;
}

/* ---------- Utilities ---------- */
.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--amber);
}
.section-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
  margin: 18px 0 16px;
}
.section-title em {
  font-style: normal;
  color: var(--amber);
}
.section-lede {
  color: var(--slate);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  max-width: 58ch;
}
.mono {
  font-family: var(--font-mono);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out),
    background-color 0.3s, color 0.3s, border-color 0.3s;
  overflow: hidden;
}
.btn .btn-arrow {
  transition: transform 0.3s var(--ease-out);
}
.btn:hover .btn-arrow {
  transform: translateX(4px);
}
.btn-primary {
  background: linear-gradient(180deg, var(--amber), var(--amber-deep));
  color: #f8f6ef;
  box-shadow: 0 10px 30px -10px rgba(26, 57, 215, 0.45);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 70%
  );
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-out);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -12px rgba(26, 57, 215, 0.55);
}
.btn-primary:hover::after {
  transform: translateX(120%);
}
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--headlight);
  background: rgba(19, 21, 25, 0.03);
}
.btn-ghost:hover {
  border-color: var(--amber);
  color: var(--amber);
  transform: translateY(-2px);
}
.btn-block {
  width: 100%;
}
.btn[disabled] {
  opacity: 0.6;
  cursor: wait;
}

/* ---------- Film grain ---------- */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: 2500;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 9s steps(10) infinite;
}
@keyframes grain-shift {
  0%,100% { transform: translate(0, 0); }
  20% { transform: translate(-2%, 3%); }
  40% { transform: translate(3%, -2%); }
  60% { transform: translate(-3%, -3%); }
  80% { transform: translate(2%, 2%); }
}

/* ---------- Route progress (scroll) ---------- */
.route-progress {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  height: 0;
  z-index: 3200;
  pointer-events: none;
}
.route-progress .rail {
  position: absolute;
  top: -2px;
  left: 0;
  height: 2px;
  width: 100%;
  background: repeating-linear-gradient(
    90deg,
    var(--line) 0 26px,
    transparent 26px 44px
  );
  opacity: 0.7;
}
.route-progress .paved {
  position: absolute;
  top: -2px;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--amber-deep), var(--amber));
  box-shadow: 0 0 12px rgba(26, 57, 215, 0.45);
}
.route-progress .rig {
  position: absolute;
  top: -13px;
  left: 0;
  width: 34px;
  height: 22px;
  transform: translateX(-44px);
  opacity: 0;
  transition: opacity 0.35s;
  color: var(--amber);
  filter: drop-shadow(0 0 6px rgba(26, 57, 215, 0.4));
}

/* ---------- Navigation ---------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 3000;
  display: flex;
  align-items: center;
  transition: box-shadow 0.4s;
  background: var(--asphalt);
  border-bottom: 1px solid var(--line-soft);
}
.site-nav.scrolled {
  box-shadow: 0 14px 30px -20px rgba(19, 21, 25, 0.35);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}
.brand-mark {
  width: 40px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
}
.brand-mark svg {
  width: 100%;
  height: 100%;
}
.brand-word {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 19px;
  letter-spacing: 0.08em;
  line-height: 1;
}
.brand-word small {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.42em;
  color: var(--slate);
  margin-top: 4px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  position: relative;
  padding: 10px 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--slate);
  transition: color 0.25s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--headlight);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}
.nav-cta {
  padding: 12px 22px;
  font-size: 14px;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--headlight);
  transition: transform 0.3s var(--ease-out), opacity 0.2s, top 0.3s var(--ease-out);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 2900;
  background: rgba(244, 241, 232, 0.97);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  display: none;
  flex-direction: column;
  padding: 28px var(--gutter) 44px;
  overflow-y: auto;
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a:not(.btn) {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2rem, 9vw, 3rem);
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--headlight);
  display: flex;
  align-items: baseline;
  gap: 14px;
  opacity: 0;
  transform: translateY(14px);
}
.mobile-menu.open a:not(.btn) {
  animation: menu-in 0.5s var(--ease-out) forwards;
}
.mobile-menu.open a:nth-child(1) { animation-delay: 0.05s; }
.mobile-menu.open a:nth-child(2) { animation-delay: 0.1s; }
.mobile-menu.open a:nth-child(3) { animation-delay: 0.15s; }
.mobile-menu.open a:nth-child(4) { animation-delay: 0.2s; }
.mobile-menu.open a:nth-child(5) { animation-delay: 0.25s; }
@keyframes menu-in {
  to { opacity: 1; transform: none; }
}
.mobile-menu a:not(.btn) small {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--amber);
  letter-spacing: 0.2em;
}
.mobile-menu .btn {
  margin-top: 28px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 48px) 0 0;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(92deg, rgba(16, 18, 23, 0.55) 0%, rgba(16, 18, 23, 0.20) 52%, rgba(16, 18, 23, 0) 78%),
    radial-gradient(70% 60% at 50% 112%, rgba(26, 57, 215, 0.30), transparent 72%),
    linear-gradient(180deg, rgba(16, 18, 23, 0.72), rgba(16, 18, 23, 0.44) 45%, rgba(16, 18, 23, 0.82));
}
.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  height: 1px;
  width: 60vmax;
  background: linear-gradient(90deg, transparent, rgba(248, 246, 239, 0.5), transparent);
  transform-origin: left center;
  filter: blur(0.4px);
}
.hero-bg::before {
  top: 24%;
  left: -12%;
  transform: rotate(9deg);
  animation: trail-drift 12s linear infinite;
}
.hero-bg::after {
  top: 46%;
  left: -20%;
  width: 46vmax;
  opacity: 0.55;
  transform: rotate(9deg);
  animation: trail-drift 16s linear infinite reverse;
}
@keyframes trail-drift {
  from { translate: -14vw 0; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  to { translate: 42vw 0; opacity: 0; }
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(248, 246, 239, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 246, 239, 0.09) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(70% 62% at 50% 40%, rgba(0, 0, 0, 0.5), transparent 78%);
  -webkit-mask-image: radial-gradient(70% 62% at 50% 40%, rgba(0, 0, 0, 0.5), transparent 78%);
  opacity: 0.5;
}
.hero-inner {
  display: grid;
  gap: 34px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}
.badge .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(213, 56, 44, 0.7);
  animation: pulse-dot 2.2s ease-out infinite;
}
@keyframes pulse-dot {
  70% { box-shadow: 0 0 0 9px rgba(213, 56, 44, 0); }
  100% { box-shadow: 0 0 0 0 rgba(213, 56, 44, 0); }
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(3.2rem, 11.5vw, 8.6rem);
  line-height: 0.94;
  letter-spacing: 0.005em;
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .line > span {
  display: inline-block;
  transform: translateY(112%);
  animation: line-up 0.9s var(--ease-out) forwards;
}
.hero-title .line:nth-child(1) > span { animation-delay: 0.15s; }
.hero-title .line:nth-child(2) > span { animation-delay: 0.3s; }
.hero-title .line:nth-child(3) > span { animation-delay: 0.45s; }
@keyframes line-up {
  to { transform: translateY(0); }
}
.hero-title .t-outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--headlight);
}
.hero-title .t-amber {
  color: #ef5a49;
  text-shadow: 0 0 46px rgba(213, 56, 44, 0.35);
}
.hero-sub {
  max-width: 56ch;
  color: var(--slate);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  opacity: 0;
  animation: fade-up 0.9s var(--ease-out) 0.65s forwards;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  opacity: 0;
  animation: fade-up 0.9s var(--ease-out) 0.8s forwards;
}
.hero-ticker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--slate-lift);
  opacity: 0;
  animation: fade-up 0.9s var(--ease-out) 0.95s forwards;
}
.hero-ticker .diamond {
  width: 6px;
  height: 6px;
  background: var(--amber);
  transform: rotate(45deg);
  flex: none;
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.scroll-cue {
  position: absolute;
  right: clamp(18px, 4vw, 44px);
  bottom: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.34em;
  color: var(--slate-lift);
  writing-mode: vertical-rl;
  opacity: 0;
  animation: fade-up 1s var(--ease-out) 1.3s forwards;
}
.scroll-cue::after {
  content: "";
  width: 1px;
  height: 56px;
  background: linear-gradient(#f8f6ef, transparent);
  animation: cue-drop 1.8s var(--ease-out) infinite;
}
@keyframes cue-drop {
  from { transform: scaleY(0); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: top; }
  56% { transform-origin: bottom; }
  to { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- City marquee ---------- */
.marquee {
  position: relative;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--amber);
  overflow: hidden;
  padding: 20px 0;
  --marquee-dur: 36s;
}
.hero .marquee {
  margin-top: clamp(48px, 7vh, 84px);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll var(--marquee-dur) linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-group {
  display: flex;
  align-items: center;
  flex: none;
}
.marquee-group span {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  letter-spacing: 0.03em;
  padding: 0 8px;
  white-space: nowrap;
}
.marquee-group .arrow {
  color: rgba(248, 246, 239, 0.75);
  font-family: var(--font-body);
  font-weight: 400;
  padding: 0 16px;
}
.marquee.reverse .marquee-track {
  animation-direction: reverse;
}
.marquee.reverse .marquee-group span:not(.arrow) {
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(248, 246, 239, 0.72);
}
@keyframes marquee-scroll {
  to { transform: translateX(-50%); }
}

/* ---------- Stats ---------- */
.stats {
  padding: clamp(70px, 9vw, 120px) 0;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(50% 90% at 50% 0%, rgba(26, 57, 215, 0.05), transparent 70%),
    var(--asphalt);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  padding: 10px clamp(18px, 3vw, 40px);
  border-left: 1px solid var(--line-soft);
  position: relative;
}
.stat:first-child {
  border-left: 0;
  padding-left: 0;
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0.01em;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.stat-value .suffix {
  color: var(--amber);
}
.stat-label {
  margin-top: 14px;
  color: var(--slate);
  font-size: 14.5px;
  line-height: 1.5;
  max-width: 24ch;
}
.stat-note {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}

/* ---------- Services ---------- */
.services {
  padding: clamp(96px, 12vw, 160px) 0;
  position: relative;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  position: relative;
  background: linear-gradient(180deg, var(--graphite), var(--asphalt-2));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 38px);
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), border-color 0.45s,
    box-shadow 0.45s var(--ease-out);
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 0%),
    rgba(26, 57, 215, 0.08),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.45s;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(26, 57, 215, 0.45);
  box-shadow: var(--shadow-card);
}
.service-card:hover::before {
  opacity: 1;
}
.service-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(26, 57, 215, 0.35);
  border-radius: 6px;
  padding: 7px 11px 5px;
  background: rgba(26, 57, 215, 0.07);
}
.service-icon {
  margin: 26px 0 18px;
  width: 52px;
  height: 52px;
  color: var(--headlight);
  transition: color 0.4s, transform 0.45s var(--ease-out);
}
.service-card:hover .service-icon {
  color: var(--amber);
  transform: translateX(6px);
}
.service-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 2vw, 1.8rem);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.service-copy {
  color: var(--slate);
  font-size: 15.5px;
  margin-bottom: 22px;
}
.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.service-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14.5px;
  color: var(--headlight);
  font-weight: 600;
}
.tick {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: rgba(26, 57, 215, 0.12);
  color: var(--amber);
  display: grid;
  place-items: center;
}
.tick svg {
  width: 10px;
  height: 10px;
}
.service-card .card-route {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    var(--amber) 0 18px,
    transparent 18px 32px
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.service-card:hover .card-route {
  transform: scaleX(1);
}
.services-note {
  margin-top: 34px;
  color: var(--slate);
  font-size: 15.5px;
}
.services-note a {
  color: var(--amber);
  font-weight: 700;
  border-bottom: 1px solid rgba(26, 57, 215, 0.4);
  transition: border-color 0.25s;
}
.services-note a:hover {
  border-color: var(--amber);
}

/* ---------- Coverage / route map ---------- */
.coverage {
  padding: clamp(96px, 12vw, 160px) 0;
  background:
    radial-gradient(55% 60% at 50% 0%, rgba(26, 57, 215, 0.06), transparent 70%),
    var(--asphalt-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.coverage .section-head {
  max-width: 860px;
}
.map-shell {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(70% 80% at 50% 30%, rgba(26, 57, 215, 0.16), transparent 80%),
    linear-gradient(180deg, #171b22, #101318);
  padding: clamp(14px, 2.5vw, 30px);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.map-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(248, 246, 239, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 246, 239, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.25;
  pointer-events: none;
}
.map-topbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 20px;
  padding: 4px 8px 16px;
  border-bottom: 1px solid rgba(248, 246, 239, 0.14);
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #98a0ac;
}
.map-topbar .live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ff8d81;
}
.map-topbar .live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5f4e;
  animation: pulse-dot 2s ease-out infinite;
}
#routeMap {
  width: 100%;
  height: auto;
  position: relative;
  display: block;
}
.map-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid #506bff;
  opacity: 0.85;
}
.map-corner.tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.map-corner.tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.map-corner.bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.map-corner.br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.map-legend {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  padding: 16px 8px 4px;
  border-top: 1px solid rgba(248, 246, 239, 0.14);
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a7adb8;
}
.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.legend-swatch {
  width: 22px;
  height: 0;
  border-top: 2px dashed #506bff;
}
.legend-swatch.hub {
  width: 10px;
  height: 10px;
  border: 0;
  background: #ff5f4e;
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(213, 56, 44, 0.8);
}
.legend-swatch.stop {
  width: 9px;
  height: 9px;
  border: 2px solid #f2f5f8;
  border-radius: 50%;
  background: transparent;
}
.lane-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.lane-chip {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px 8px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: color 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
}
.lane-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0.85;
}
.lane-chip:hover {
  color: var(--headlight);
  border-color: rgba(26, 57, 215, 0.5);
  transform: translateY(-2px);
}
.coverage-footnote {
  margin-top: 22px;
  color: var(--slate-dim);
  font-size: 14px;
}

/* Map SVG element styling */
#routeMap .us-outline {
  fill: rgba(248, 246, 239, 0.05);
  stroke: #3a424e;
  stroke-width: 1.6;
  stroke-linejoin: round;
}
#routeMap .us-dots {
  fill: rgba(248, 246, 239, 0.13);
}
#routeMap .lake {
  fill: #0d1015;
  stroke: #2a323d;
  stroke-width: 1;
}
#routeMap .route-base {
  fill: none;
  stroke: rgba(110, 134, 255, 0.22);
  stroke-width: 1.6;
}
#routeMap .route-draw {
  fill: none;
  stroke: #506bff;
  stroke-width: 2;
  stroke-linecap: round;
  filter: drop-shadow(0 0 5px rgba(80, 107, 255, 0.6));
}
#routeMap .truck-dot {
  fill: #ff8d81;
  filter: drop-shadow(0 0 6px rgba(255, 95, 78, 0.95));
}
#routeMap .city-dot {
  fill: #f4f1e8;
  stroke: #171b22;
  stroke-width: 2;
}
#routeMap .city-ring {
  fill: none;
  stroke: rgba(242, 245, 248, 0.4);
  stroke-width: 1.2;
  transform-box: fill-box;
  transform-origin: center;
  animation: city-ping 3s ease-out infinite;
}
@keyframes city-ping {
  0% { transform: scale(0.4); opacity: 0.9; }
  70%, 100% { transform: scale(1.8); opacity: 0; }
}
#routeMap .hub-core {
  fill: #ff5f4e;
}
#routeMap .hub-ring {
  fill: none;
  stroke: #ff5f4e;
  stroke-width: 1.4;
  transform-box: fill-box;
  transform-origin: center;
  animation: city-ping 2.6s ease-out infinite;
}
#routeMap .city-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  fill: #aeb5c0;
  text-transform: uppercase;
}
#routeMap .hub-label {
  fill: #ff5f4e;
  font-weight: 600;
}
#routeMap .hub-sub {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.2em;
  fill: #8b93a0;
}

/* ---------- Why / owner-operated ---------- */
.why {
  padding: clamp(96px, 12vw, 160px) 0;
  position: relative;
  overflow: hidden;
}
.why-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(10rem, 30vw, 24rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(19, 21, 25, 0.08);
  letter-spacing: 0.05em;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.why-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.why-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 5.6vw, 4.2rem);
  line-height: 1.02;
  margin: 18px 0 22px;
}
.why-title em {
  font-style: normal;
  color: var(--amber);
}
.why-copy {
  color: var(--slate);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  max-width: 54ch;
}
.why-copy + .why-copy {
  margin-top: 16px;
}
.why-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--graphite), var(--asphalt-2));
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-card);
  position: relative;
}
.why-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    var(--amber) 0 16px,
    transparent 16px 28px
  );
  border-radius: 0 0 4px 4px;
  opacity: 0.9;
}
.why-panel-title {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 22px;
}
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  border-top: 1px solid var(--line-soft);
  font-weight: 600;
  font-size: 15.5px;
}
.check-list li:first-child {
  border-top: 0;
  padding-top: 0;
}
.check-list .tick {
  width: 24px;
  height: 24px;
  border-radius: 7px;
}
.check-list .tick svg {
  width: 12px;
  height: 12px;
}

/* ---------- Compliance (paper manifest) ---------- */
.compliance {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(96px, 12vw, 160px) 0;
  position: relative;
}
.compliance::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: repeating-linear-gradient(
    -45deg,
    var(--red) 0 18px,
    var(--ink) 18px 36px
  );
}
.compliance .eyebrow {
  color: var(--amber-ink);
}
.compliance .eyebrow::before {
  background: var(--amber-ink);
}
.compliance .section-lede {
  color: var(--ink-soft);
}
.manifest {
  position: relative;
  background: #f7f5ef;
  border: 1px solid #cfc9ba;
  border-radius: var(--radius-sm);
  box-shadow: 0 30px 60px -30px rgba(18, 22, 28, 0.22);
  overflow: hidden;
}
.manifest-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 20px;
  padding: 18px clamp(20px, 3vw, 36px);
  border-bottom: 2px solid var(--ink);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.manifest-head .doc-no {
  color: var(--ink-soft);
}
.manifest-rows {
  padding: 6px clamp(20px, 3vw, 36px) 26px;
}
.manifest-row {
  display: grid;
  grid-template-columns: minmax(150px, 240px) 1fr auto;
  align-items: baseline;
  gap: 14px 24px;
  padding: 18px 0;
  border-bottom: 1px dashed #b9b2a0;
}
.manifest-row:last-child {
  border-bottom: 0;
}
.manifest-label {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.manifest-value {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  letter-spacing: 0.02em;
  line-height: 1.05;
}
.manifest-extra {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-align: right;
}
.manifest-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  padding: 20px clamp(20px, 3vw, 36px) 26px;
  border-top: 2px solid var(--ink);
  background: var(--paper-2);
}
.barcode {
  height: 44px;
  color: var(--ink);
}
.barcode-caption {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.42em;
  margin-top: 6px;
  color: var(--ink-soft);
}
.stamp {
  border: 3px double var(--amber-ink);
  color: var(--amber-ink);
  border-radius: 8px;
  padding: 12px 20px 10px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.6;
  transform: rotate(-5deg);
  opacity: 0.9;
  mix-blend-mode: multiply;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='90'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.55' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.85 0.12'/%3E%3C/filter%3E%3Crect width='240' height='90' fill='%23fff'/%3E%3Crect width='240' height='90' filter='url(%23r)'/%3E%3C/svg%3E");
  -webkit-mask-size: cover;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='90'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.55' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.85 0.12'/%3E%3C/filter%3E%3Crect width='240' height='90' fill='%23fff'/%3E%3Crect width='240' height='90' filter='url(%23r)'/%3E%3C/svg%3E");
  mask-size: cover;
}
.compliance-footnote {
  margin-top: 26px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.compliance-footnote a {
  color: var(--amber-ink);
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

/* ---------- FAQ ---------- */
.faq {
  padding: clamp(96px, 12vw, 160px) 0;
}
.faq-list {
  max-width: 860px;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  padding: 24px 4px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  color: var(--headlight);
  transition: color 0.25s;
}
.faq-q:hover {
  color: var(--amber);
}
.faq-q .faq-x {
  flex: none;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform 0.4s var(--ease-out), border-color 0.3s, background 0.3s;
}
.faq-q .faq-x::before,
.faq-q .faq-x::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 2px;
  background: currentColor;
  transition: transform 0.4s var(--ease-out);
}
.faq-q .faq-x::after {
  transform: rotate(90deg);
}
.faq-q[aria-expanded="true"] .faq-x {
  transform: rotate(135deg);
  border-color: var(--amber);
  background: rgba(26, 57, 215, 0.1);
  color: var(--amber);
}
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease-out);
}
.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}
.faq-a-inner {
  overflow: hidden;
}
.faq-a-inner p {
  padding: 0 44px 26px 4px;
  color: var(--slate);
  max-width: 68ch;
}

/* ---------- Contact ---------- */
.contact {
  padding: clamp(96px, 12vw, 160px) 0;
  background:
    radial-gradient(60% 60% at 85% 15%, rgba(213, 56, 44, 0.05), transparent 70%),
    var(--asphalt-2);
  border-top: 1px solid var(--line-soft);
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
}
.contact-cards {
  display: grid;
  gap: 14px;
  margin-top: 36px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--graphite);
  padding: 18px 20px;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
a.contact-card:hover {
  border-color: rgba(26, 57, 215, 0.5);
  transform: translateX(4px);
}
.contact-card .ico {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(26, 57, 215, 0.1);
  color: var(--amber);
  display: grid;
  place-items: center;
}
.contact-card .ico svg {
  width: 19px;
  height: 19px;
}
.contact-card b {
  display: block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--slate-dim);
  margin-bottom: 5px;
}
.contact-card span {
  font-weight: 700;
  font-size: 15.5px;
  overflow-wrap: anywhere;
}

.quote-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--graphite), var(--asphalt-2));
  padding: clamp(24px, 3.4vw, 40px);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.quote-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--amber-deep), var(--amber), var(--amber-deep));
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  display: grid;
  gap: 8px;
}
.field.full {
  grid-column: 1 / -1;
}
.field label {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--slate);
}
.field label .req {
  color: var(--amber);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--headlight);
  font-family: var(--font-body);
  font-size: 15.5px;
  padding: 14px 16px;
  transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
  appearance: none;
}
.field textarea {
  resize: vertical;
  min-height: 120px;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231a39d7' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}
.field select option {
  background: var(--graphite);
  color: var(--headlight);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--slate-dim);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(26, 57, 215, 0.15);
  background: #ffffff;
}
.form-foot {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  margin-top: 6px;
}
.form-note {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--slate-dim);
  text-align: center;
}
.form-error {
  display: none;
  text-align: center;
  color: #b3261c;
  font-size: 14px;
  border: 1px solid rgba(213, 56, 44, 0.4);
  background: rgba(213, 56, 44, 0.06);
  border-radius: 10px;
  padding: 12px 16px;
}
.form-error.visible {
  display: block;
}
.form-error a {
  color: var(--amber);
  font-weight: 700;
  text-decoration: underline;
}
.form-success {
  display: none;
  text-align: center;
  padding: 34px 10px 20px;
}
.form-success.visible {
  display: block;
}
.form-success .big-tick {
  width: 74px;
  height: 74px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: rgba(26, 57, 215, 0.12);
  border: 1px solid rgba(26, 57, 215, 0.5);
  color: var(--amber);
  display: grid;
  place-items: center;
  animation: tick-pop 0.6s var(--ease-out);
}
.form-success .big-tick svg {
  width: 30px;
  height: 30px;
}
@keyframes tick-pop {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.form-success h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.9rem;
  margin-bottom: 12px;
}
.form-success p {
  color: var(--slate);
  max-width: 40ch;
  margin: 0 auto;
}
.form-success a {
  color: var(--amber);
  font-weight: 700;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line-soft);
  padding: clamp(56px, 8vw, 90px) 0 0;
  background: var(--asphalt-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(30px, 5vw, 60px);
  padding-bottom: clamp(40px, 6vw, 64px);
}
.footer-blurb {
  color: var(--slate);
  font-size: 15px;
  max-width: 40ch;
  margin-top: 18px;
}
.footer .footer-h {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--slate-dim);
  margin-bottom: 18px;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}
.footer-links a,
.footer-links span {
  color: var(--slate);
  font-size: 15px;
  transition: color 0.25s;
}
.footer-links a:hover {
  color: var(--amber);
}
.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--slate-dim);
}
.footer-bottom .top-link {
  color: var(--slate);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s;
}
.footer-bottom .top-link:hover {
  color: var(--amber);
}

/* ---------- Reveal on scroll ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
  transition-delay: var(--rd, 0s);
}
html.js [data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 0;
  }
  .stat:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
  }
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 880px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .nav-inner {
    gap: 14px;
  }
  .site-nav .nav-cta {
    padding: 11px 16px;
    font-size: 13px;
  }
}
@media (max-width: 640px) {
  :root {
    --nav-h: 66px;
  }
  body {
    font-size: 16px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field {
    grid-column: 1 / -1;
  }
  .manifest-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .manifest-extra {
    text-align: left;
  }
  .scroll-cue {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-ticker {
    gap: 8px 14px;
    font-size: 10.5px;
  }
  .map-topbar {
    letter-spacing: 0.14em;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track {
    animation: none;
    transform: none;
  }
  .grain {
    animation: none;
  }
  html.js [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .hero-title .line > span {
    transform: none;
    animation: none;
  }
  .hero-sub,
  .hero-ctas,
  .hero-ticker,
  .scroll-cue {
    opacity: 1;
    animation: none;
  }
  .route-progress .rig {
    display: none;
  }
}


/* ============================================================
   v4 additions — video hero, shield brand, page heroes, pages
   ============================================================ */

/* Paper grain sits better multiplied */
.grain { mix-blend-mode: multiply; }

/* Marquee text on the cobalt band */
.marquee-group span { color: #f8f6ef; }
.marquee.reverse .marquee-group span:not(.arrow) { color: transparent; }

/* ---------- Hero video layer ---------- */
.hero-video-el,
.hero-poster-fallback {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-poster-fallback { display: none; }

/* Hero content sits on dark footage — scoped light text */
.hero { color: #f8f6ef; background: #14181f; }
.hero .hero-sub { color: rgba(248, 246, 239, 0.85); }
.hero .hero-ticker { color: rgba(248, 246, 239, 0.62); }
.hero .scroll-cue { color: rgba(248, 246, 239, 0.6); }
.hero .badge {
  background: rgba(16, 18, 23, 0.55);
  border-color: rgba(248, 246, 239, 0.28);
  color: rgba(248, 246, 239, 0.85);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.hero .t-outline { -webkit-text-stroke: 2px #f8f6ef; }
.hero .btn-ghost {
  border-color: rgba(248, 246, 239, 0.45);
  color: #f8f6ef;
  background: rgba(16, 18, 23, 0.3);
}
.hero .btn-ghost:hover { border-color: #f8f6ef; color: #f8f6ef; }
.hero .marquee { border-color: rgba(19, 21, 25, 0.55); }

/* ---------- Active page in nav ---------- */
.nav-links a[aria-current="page"] { color: var(--headlight); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); background: var(--red); }
.mobile-menu a[aria-current="page"]:not(.btn) { color: var(--amber); }

/* ---------- Sub-page hero ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(52px, 8vh, 92px)) 0 clamp(40px, 6vh, 64px);
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(60% 90% at 85% 0%, rgba(26, 57, 215, 0.07), transparent 70%),
    radial-gradient(45% 70% at 8% 100%, rgba(213, 56, 44, 0.05), transparent 70%),
    var(--asphalt);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.35;
  mask-image: radial-gradient(80% 90% at 50% 0%, rgba(0, 0, 0, 0.5), transparent 85%);
  -webkit-mask-image: radial-gradient(80% 90% at 50% 0%, rgba(0, 0, 0, 0.5), transparent 85%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-dim);
  margin-bottom: 22px;
}
.crumbs a:hover { color: var(--amber); }
.crumbs .sep { color: var(--red); }
.page-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 6.5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0.005em;
}
.page-title em { font-style: normal; color: var(--amber); }
.page-hero .hero-sub {
  margin-top: 20px;
  max-width: 58ch;
  color: var(--slate);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
}
.page-hero .hero-badges { margin-top: 26px; }

/* ---------- Detail split (service pages) ---------- */
.detail { padding: clamp(72px, 10vw, 130px) 0; }
.detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(36px, 6vw, 76px);
  align-items: start;
}
.detail .why-copy strong { color: var(--headlight); }
.detail .service-list { margin-top: 26px; }
.detail .service-list li { font-size: 15.5px; }
.side-stack { display: grid; gap: 26px; }
.mini-rows { display: grid; }
.mini-rows div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 14.5px;
}
.mini-rows div:first-child { border-top: 0; padding-top: 0; }
.mini-rows b {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-dim);
}
.mini-rows span { font-weight: 700; text-align: right; }
.why-panel .btn { margin-top: 22px; }

/* ---------- Photo frame ---------- */
.photo-frame {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--graphite);
}
.photo-frame img { width: 100%; height: auto; display: block; }
.photo-frame figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px 10px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate-dim);
  border-top: 1px solid var(--line-soft);
}
.photo-frame figcaption i {
  font-style: normal;
  color: var(--amber);
}

/* ---------- Pre-footer CTA band ---------- */
.cta-band {
  padding: clamp(72px, 10vw, 130px) 0;
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(60% 60% at 85% 15%, rgba(26, 57, 215, 0.06), transparent 70%),
    var(--asphalt-2);
}
.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px 40px;
}
.cta-band .section-title { margin: 14px 0 10px; }
.cta-band .section-lede { max-width: 52ch; }
.cta-mail {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--amber);
  border-bottom: 1px solid rgba(26, 57, 215, 0.4);
}
.cta-mail:hover { border-color: var(--amber); }

/* Service card as a link */
a.service-card { color: inherit; display: block; }
.card-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}
.card-more .btn-arrow { transition: transform 0.3s var(--ease-out); }
a.service-card:hover .card-more .btn-arrow { transform: translateX(5px); }

/* Compact home manifest link row */
.manifest-more {
  display: flex;
  justify-content: center;
  padding: 18px;
  border-top: 1px dashed #b9b2a0;
  background: var(--paper-2);
}

.faq-more { margin-top: 28px; }

/* ---------- Responsive additions ---------- */
@media (max-width: 1020px) {
  .detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .page-hero .hero-badges .badge { font-size: 10.5px; }
}

/* ---------- Reduced motion: swap video for poster ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-video-el { display: none; }
  .hero-poster-fallback { display: block; }
}


/* ============================================================
   v4.1 conversion pass — hero clarity, steps, photo CTA band
   ============================================================ */

/* Hero: single quiet kicker instead of the two pills */
.hero-kicker {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(248, 246, 239, 0.72);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(213, 56, 44, 0.7);
  animation: pulse-dot 2.2s ease-out infinite;
}
.hero .hero-title,
.hero .hero-sub {
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.35);
}
.hero .btn-primary {
  padding: 17px 32px;
  font-size: 16px;
}
.hero-note {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248, 246, 239, 0.55);
  opacity: 0;
  animation: fade-up 0.9s var(--ease-out) 0.9s forwards;
}
@media (max-width: 560px) {
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-ctas .btn {
    width: 100%;
  }
}

/* ---------- How it works (3 steps) ---------- */
.steps {
  padding: clamp(84px, 11vw, 150px) 0;
  border-top: 1px solid var(--line-soft);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
}
.step {
  border-top: 3px solid var(--amber);
  padding-top: 20px;
}
.step-no {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  line-height: 1;
  color: var(--amber);
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  letter-spacing: 0.02em;
  margin: 14px 0 10px;
}
.step p {
  color: var(--slate);
  font-size: 15.5px;
  max-width: 34ch;
}
.steps-cta {
  margin-top: clamp(36px, 5vw, 56px);
}
@media (max-width: 880px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .step p {
    max-width: 58ch;
  }
}

/* ---------- CTA band: asphalt photo closer ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  color: #f8f6ef;
  background: #14181f;
}
.cta-bg {
  position: absolute;
  inset: 0;
}
.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(92deg, rgba(16, 18, 23, 0.9), rgba(16, 18, 23, 0.66) 55%, rgba(16, 18, 23, 0.5)),
    radial-gradient(60% 90% at 88% 15%, rgba(26, 57, 215, 0.28), transparent 70%);
}
.cta-band .container {
  position: relative;
}
.cta-band .section-title em {
  color: #ff8d81;
}
.cta-band .section-lede {
  color: rgba(248, 246, 239, 0.78);
}
.cta-band .eyebrow {
  color: #ff8d81;
}
.cta-band .eyebrow::before {
  background: #ff8d81;
}
.cta-band .cta-mail {
  color: #f8f6ef;
  border-bottom-color: rgba(248, 246, 239, 0.45);
}
.cta-band .cta-mail:hover {
  border-bottom-color: #f8f6ef;
}
.cta-band .btn-primary {
  padding: 17px 32px;
  font-size: 16px;
}

/* Why section: photo + checklist stacked in the side column */
.why-grid {
  align-items: start;
}

/* Very small screens: give the compact nav CTA room */
@media (max-width: 420px) {
  .brand-word {
    font-size: 17px;
  }
  .site-nav .nav-cta {
    padding: 10px 13px;
    font-size: 12px;
  }
}

/* ============================================================
   v5 additions — Insights (articles)
   ============================================================ */

/* ---------- Article page ---------- */
.article-wrap {
  padding: clamp(36px, 6vw, 64px) 0 clamp(56px, 8vw, 96px);
}
.article-col {
  max-width: 760px;
  margin: 0 auto;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-dim);
}
.article-meta .diamond {
  width: 5px;
  height: 5px;
  background: var(--red);
  transform: rotate(45deg);
  flex: none;
}
.article-figure {
  margin: 0 0 clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-card);
}
.article-figure img {
  display: block;
  width: 100%;
  height: auto;
}
.article-figure figcaption {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--slate-dim);
  padding: 12px 16px;
  border-top: 1px solid var(--line-soft);
}
.article-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.article-body > * + * { margin-top: 1.15em; }
.article-body h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  line-height: 1.12;
  font-size: clamp(24px, 3.4vw, 32px);
  color: var(--headlight);
  margin-top: 1.9em;
}
.article-body h2:first-child { margin-top: 0; }
.article-body a {
  color: var(--amber);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.article-body a:hover { color: var(--amber-deep); }
.article-body strong { color: var(--headlight); }
.article-body ul,
.article-body ol { padding-left: 1.3em; }
.article-body li { margin-top: 0.55em; }
.article-body li::marker {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--red);
}

/* TL;DR summary card */
.tldr {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: var(--radius-sm);
  padding: 22px 26px 24px;
}
.tldr-label {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
}
.tldr ul { margin-top: 8px; }

/* Branded pull quote */
.pullquote {
  border-left: 4px solid var(--amber);
  padding: 6px 0 6px 22px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--headlight);
}

/* ---------- Insight cards (index + teaser) ---------- */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: clamp(20px, 3vw, 30px);
}
.insight-card {
  display: flex;
  flex-direction: column;
  background: var(--graphite);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.3s;
}
.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  background: var(--graphite-2);
}
.insight-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}
.insight-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.insight-card-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.insight-kicker {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate-dim);
}
.insight-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 22px;
  line-height: 1.16;
  letter-spacing: 0.015em;
  color: var(--headlight);
}
.insight-excerpt {
  font-size: 15px;
  line-height: 1.65;
  color: var(--slate);
}
.insight-more {
  margin-top: auto;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}
.insight-card:hover .insight-more { color: var(--amber-deep); }

/* Homepage teaser: one wide card */
.insights-teaser .insight-card { flex-direction: row; }
.insights-teaser .insight-thumb {
  flex: 0 0 42%;
  aspect-ratio: auto;
  border-bottom: 0;
  border-right: 1px solid var(--line-soft);
}
.insights-teaser .insight-card-body { padding: clamp(24px, 3.4vw, 40px); }
.insights-teaser .insight-title { font-size: clamp(24px, 3vw, 30px); }
@media (max-width: 760px) {
  .insights-teaser .insight-card { flex-direction: column; }
  .insights-teaser .insight-thumb {
    flex: none;
    aspect-ratio: 16 / 9;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }
}
