/* =====================================================================
   PROSPERITY TRANSPORTATION — shared design system
   Flatbed | OTR Long-Haul | Texas Regional  •  Springtown, TX
   Single source of truth for all 4 pages.
   ===================================================================== */

/* ---------- Tokens ---------------------------------------------------- */
:root {
  /* surfaces */
  --ink:        #0b0b0c;
  --ink-2:      #102016; /* unused fallback */
  --ink-2:      #131316;
  --surface:    #1b1b1f;
  --surface-2:  #202024;
  --line:       rgba(255, 255, 255, .08);
  --line-strong:rgba(255, 255, 255, .16);

  /* text */
  --text:   #f4f4f2;
  --muted:  #a3a3a6;
  --faint:  #6f6f74;

  /* brand — Texas red */
  --ember:        #d62828;
  --ember-bright: #f5413a;
  --ember-deep:   #9e1b1b;
  --ember-soft:   rgba(214, 40, 40, .14);

  /* type */
  --font-display: "Archivo", "Archivo Narrow", "Arial Narrow", "Helvetica Neue", sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, sans-serif;

  /* layout */
  --maxw: 1240px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --radius: 14px;
  --header-h: 76px;

  /* motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

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

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* Film-grain overlay across the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .04;
  mix-blend-mode: overlay;
  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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Layout helpers ------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { position: relative; padding-block: clamp(4.5rem, 9vw, 8rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.divider { border-top: 1px solid var(--line); }

/* ember corner glow utility */
.glow { position: relative; isolation: isolate; overflow: hidden; } /* clip decorative ::after so it can't widen the page */
.glow::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 46vw; height: 46vw;
  max-width: 620px; max-height: 620px;
  top: -10%; right: -8%;
  background: radial-gradient(circle, rgba(214,40,40,.20), transparent 62%);
  pointer-events: none;
}
.glow--bl::after { top: auto; right: auto; bottom: -12%; left: -10%; }

/* ---------- Typography ------------------------------------------------ */
.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ember);
  display: inline-flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--ember);
  display: inline-block;
}
.eyebrow--center { justify-content: center; }

.display {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: .96;
  letter-spacing: -.01em;
  font-stretch: 75%; /* Archivo width axis (loaded at wdth=75) */
  overflow-wrap: break-word;
}
h1.display { font-size: clamp(2.9rem, 8vw, 6.2rem); }
h2.display { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h3.display { font-size: clamp(1.3rem, 2.5vw, 1.6rem); letter-spacing: .01em; }
.ember { color: var(--ember); }
.lead { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.18rem); max-width: 54ch; }

/* ---------- Buttons --------------------------------------------------- */
.btn {
  --b: var(--ember);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .95rem 1.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .86rem;
  border: 1px solid transparent;
  border-radius: 8px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), border-color .25s var(--ease);
  position: relative;
}
.btn svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
  background: var(--ember);
  color: #fff;
  box-shadow: 0 8px 30px -10px rgba(214,40,40,.7);
}
.btn--primary:hover {
  background: var(--ember-bright);
  transform: translateY(-2px);
  box-shadow: 0 14px 38px -10px rgba(245,65,58,.75);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--ember); color: var(--ember); transform: translateY(-2px); }
.btn--block { width: 100%; justify-content: center; }
.btn--lg { padding: 1.1rem 2rem; font-size: .95rem; }

/* ---------- Header / Nav --------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(11,11,12,.82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.brand { display: flex; align-items: center; gap: .7rem; }
.brand__logo { height: 46px; width: auto; filter: brightness(0) invert(1); }
.site-footer .brand__logo { height: 50px; }
.footer-tagline { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; color: var(--ember); margin: .9rem 0 .2rem; }
.brand__mark {
  width: 40px; height: 40px;
  border-radius: 9px;
  background: var(--ember);
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 6px 22px -8px rgba(214,40,40,.8);
}
.brand__mark svg { width: 24px; height: 24px; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: .02em;
}
.brand__name span {
  display: block;
  font-size: .62rem;
  letter-spacing: .34em;
  color: var(--muted);
  font-weight: 600;
  margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.4rem); }
.nav a {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding: .4rem 0;
  transition: color .2s var(--ease);
}
.nav a:hover { color: var(--text); }
.nav a.is-active { color: var(--text); }
.nav a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--ember);
}
.header-cta { display: flex; align-items: center; gap: 1.2rem; }

/* hamburger */
.burger {
  display: none;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--line-strong);
  border-radius: 9px;
  position: relative;
}
.burger span, .burger span::before, .burger span::after {
  content: ""; position: absolute;
  width: 18px; height: 2px; background: var(--text);
  left: 50%; transform: translateX(-50%);
  transition: transform .3s var(--ease), opacity .2s;
}
.burger span { top: 50%; margin-top: -1px; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
body.menu-open .burger span::after  { top: 0; transform: translateX(-50%) rotate(-45deg); }

/* mobile overlay nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(8,8,9,.98);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  padding: var(--gutter);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform .45s var(--ease), opacity .35s, visibility .35s;
}
body.menu-open .mobile-nav { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-nav a {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2rem, 9vw, 3rem);
  line-height: 1;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.2rem;
}
.mobile-nav a:hover, .mobile-nav a.is-active { color: var(--ember); }
.mobile-nav .btn { margin-top: 1rem; align-self: flex-start; }

/* ---------- Hero ------------------------------------------------------ */
.hero {
  position: relative;
  min-height: clamp(620px, 92vh, 920px);
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}
/* cinematic background video (homepage hero + drive header) */
.hero__video, .page-hero__video {
  position: absolute; inset: 0; z-index: -3;
  width: 100%; height: 100%; object-fit: cover;
  background: var(--ink-2);
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(100deg, var(--ink) 0%, rgba(11,11,12,.92) 26%, rgba(11,11,12,.55) 58%, rgba(11,11,12,.62) 100%),
    linear-gradient(to bottom, rgba(11,11,12,.6) 0%, rgba(11,11,12,.12) 30%, rgba(11,11,12,.2) 60%, rgba(11,11,12,.85) 100%),
    radial-gradient(120% 95% at 84% 22%, rgba(214,40,40,.26), transparent 55%),
    url("assets/hero.jpg") center 38% / cover no-repeat;
  background-color: var(--ink-2);
}
.hero__bg::before { /* film grain over the hero photo */
  content: ""; position: absolute; inset: 0; opacity: .09; mix-blend-mode: overlay; pointer-events: none;
  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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__bg::after { /* route-line motif baked into hero */
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='900'%3E%3Cpath d='M-50 760 Q500 600 760 640 T1500 380' fill='none' stroke='%23d62828' stroke-width='2' stroke-dasharray='2 14' stroke-opacity='.5'/%3E%3C/svg%3E");
  background-size: cover; background-position: center;
}
.hero .wrap { min-width: 0; } /* allow flex child to shrink so headline wraps, not overflows */
.hero__content { position: relative; z-index: 2; max-width: min(760px, 100%); }
.pill {
  display: inline-flex; align-items: center; gap: .55rem;
  border: 1px solid var(--ember); color: var(--ember);
  padding: .5rem 1rem; border-radius: 100px;
  font-family: var(--font-display); font-weight: 700;
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  background: var(--ember-soft);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 0 rgba(214,40,40,.7); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(214,40,40,.6);} 70%{box-shadow:0 0 0 9px rgba(214,40,40,0);} 100%{box-shadow:0 0 0 0 rgba(214,40,40,0);} }
.hero h1 { margin: 1.6rem 0 1.3rem; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }

/* page hero (interior pages, shorter) */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3.5rem, 8vw, 6.5rem));
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(80% 120% at 85% -10%, rgba(214,40,40,.18), transparent 55%),
    var(--ink-2);
}
/* video variant of the page hero (Drive header) — same cinematic mask as homepage */
.page-hero--video { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.page-hero--video .page-hero__bg {
  background:
    linear-gradient(100deg, var(--ink) 0%, rgba(11,11,12,.9) 26%, rgba(11,11,12,.5) 58%, rgba(11,11,12,.62) 100%),
    linear-gradient(to bottom, rgba(11,11,12,.5) 0%, rgba(11,11,12,.1) 35%, rgba(11,11,12,.2) 60%, rgba(11,11,12,.85) 100%),
    radial-gradient(120% 95% at 84% 22%, rgba(214,40,40,.24), transparent 55%);
}
.page-hero--video .page-hero__bg::before {
  content: ""; position: absolute; inset: 0; opacity: .08; mix-blend-mode: overlay; pointer-events: none;
  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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* right-aligned hero (text right, subject visible on the left) */
.page-hero--right .page-hero__bg {
  background:
    linear-gradient(260deg, var(--ink) 0%, rgba(11,11,12,.9) 26%, rgba(11,11,12,.5) 58%, rgba(11,11,12,.62) 100%),
    linear-gradient(to bottom, rgba(11,11,12,.5) 0%, rgba(11,11,12,.1) 35%, rgba(11,11,12,.2) 60%, rgba(11,11,12,.85) 100%),
    radial-gradient(120% 95% at 16% 22%, rgba(214,40,40,.24), transparent 55%);
}
.page-hero--right .wrap { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.page-hero--right .wrap > * { max-width: min(640px, 100%); }
.page-hero--right .lead { margin-left: auto; }
.page-hero--right .hero__cta { justify-content: flex-end; }
.page-hero h1 { margin-top: 1.2rem; max-width: 16ch; }
.page-hero .lead { margin-top: 1.4rem; }

/* ---------- Section header (two-column) ------------------------------ */
.sec-head {
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.sec-head__title { margin-top: 1rem; }
.sec-head__blurb { color: var(--muted); align-self: end; }

/* ---------- Cards / grids -------------------------------------------- */
.grid { display: grid; gap: 1.25rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: linear-gradient(180deg, var(--surface), var(--ink-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 2.5vw, 2.2rem);
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.card::before { /* hover glow */
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(120% 80% at 0% 0%, rgba(214,40,40,.10), transparent 55%);
  transition: opacity .35s var(--ease);
}
.card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: 0 24px 50px -28px #000; }
.card:hover::before { opacity: 1; }
.card__icon {
  width: 48px; height: 48px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--ember-soft); color: var(--ember);
  border: 1px solid rgba(214,40,40,.3);
  margin-bottom: 1.4rem;
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: .7rem; }
.card p { color: var(--muted); font-size: .98rem; }
.card .index { position: absolute; top: 1.2rem; right: 1.4rem; font-family: var(--font-display); font-weight: 800; color: var(--line-strong); font-size: 1.1rem; }

/* ---------- Why / split feature -------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.value-row { display: flex; gap: 1.1rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.value-row:last-child { border-bottom: 1px solid var(--line); }
.value-row__icon {
  flex: none; width: 46px; height: 46px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--ember);
}
.value-row__icon svg { width: 22px; height: 22px; }
.value-row h4 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.05rem; letter-spacing: .03em; margin-bottom: .25rem; }
.value-row p { color: var(--muted); font-size: .95rem; }

/* image slot (placeholder for real photography) */
.img-slot {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background:
    linear-gradient(135deg, #16161a, #0d0d0f),
    var(--ink-2);
  min-height: 340px;
  display: grid; place-items: center;
}
.img-slot::before {
  content: ""; position: absolute; inset: 0; opacity: .6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='400'%3E%3Cpath d='M-20 320 Q200 240 340 270 T640 150' fill='none' stroke='%23d62828' stroke-width='2' stroke-dasharray='2 12' stroke-opacity='.45'/%3E%3C/svg%3E");
  background-size: cover; background-position: center;
}
.img-slot::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 70% 20%, rgba(214,40,40,.12), transparent 60%); }
.img-slot__label {
  position: relative; z-index: 2;
  font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: .18em;
  font-size: .72rem; color: var(--faint);
  text-align: center; padding: 1rem 1.4rem;
  border: 1px dashed var(--line-strong); border-radius: 8px;
  background: rgba(0,0,0,.25);
  max-width: 80%;
}
.img-slot--tall { min-height: 480px; }

/* real photo component (replaces filled image slots) */
.photo {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 340px;
  background: var(--ink-2);
}
.photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.photo::after { /* subtle mood + brand wash so photos sit in the dark theme */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11,11,12,.05) 0%, rgba(11,11,12,.45) 100%),
    radial-gradient(80% 70% at 80% 10%, rgba(214,40,40,.16), transparent 60%);
}
.photo::before { /* film grain so photographic renders feel filmic */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  opacity: .08; mix-blend-mode: overlay;
  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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.photo--tall { min-height: 480px; }

.badge-float {
  position: absolute; bottom: -22px; right: -16px; z-index: 3;
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: 12px; padding: 1.1rem 1.4rem; text-align: center;
  box-shadow: 0 24px 50px -24px #000;
}
.badge-float .big { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--ember); line-height: 1; }
.badge-float .small { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: .35rem; }

/* ---------- Proof-point strip ---------------------------------------- */
.proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.proof__item {
  background: linear-gradient(180deg, var(--surface), var(--ink-2));
  padding: clamp(1.5rem, 3.5vw, 2.4rem) 1rem;
  text-align: center;
}
.proof__num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.7rem, 4vw, 2.7rem); line-height: 1;
  color: var(--ember); letter-spacing: -.01em;
}
.proof__label {
  margin-top: .55rem;
  font-size: .72rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Industries grid (even 3x3) ------------------------------- */
.industries {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.industries__item {
  display: flex; align-items: center; gap: .75rem;
  background: linear-gradient(180deg, var(--surface), var(--ink-2));
  padding: 1.15rem clamp(1.1rem, 2.2vw, 1.7rem);
  color: var(--text); font-weight: 500; font-size: .96rem; line-height: 1.3;
}
.industries__item svg { width: 22px; height: 22px; color: var(--ember); flex: none; }

/* ---------- How it works (steps) ------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: step; }
.step {
  position: relative; padding: clamp(1.6rem, 2.5vw, 2.2rem);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--ink-2));
}
.step__num {
  font-family: var(--font-display); font-weight: 800; font-size: 1rem;
  width: 44px; height: 44px; border-radius: 11px;
  display: grid; place-items: center; margin-bottom: 1.2rem;
  background: var(--ember); color: #fff;
  box-shadow: 0 8px 24px -10px rgba(214,40,40,.8);
}
.step h3 { font-family: var(--font-display); text-transform: uppercase; margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: .96rem; }
.step:not(:last-child)::after { /* dash connector on desktop */
  content: ""; position: absolute; top: clamp(1.6rem,2.5vw,2.2rem); right: -.85rem;
  width: 1.7rem; height: 22px; transform: translateY(11px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='8'%3E%3Cpath d='M0 4h28' stroke='%23d62828' stroke-width='2' stroke-dasharray='2 4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; opacity: .8;
}

/* ---------- Sticky mobile call bar ----------------------------------- */
.mobilebar { display: none; }
@media (max-width: 820px) {
  .mobilebar {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    background: rgba(11,11,12,.94); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    padding: .6rem .7rem calc(.6rem + env(safe-area-inset-bottom, 0px));
    gap: .6rem;
  }
  .mobilebar .btn { width: 100%; justify-content: center; padding: .85rem 1rem; }
  body { padding-bottom: 78px; } /* keep footer clear of the bar */
}

/* ---------- About: owner pull-quote band ----------------------------- */
.quote-band {
  position: relative; overflow: hidden;
  border-block: 1px solid var(--line);
  background: radial-gradient(70% 130% at 82% -10%, rgba(214,40,40,.18), transparent 55%), var(--ink-2);
}
.quote-band__inner { max-width: 64ch; }
.quote-band .statement-mark {
  display: inline-grid; place-items: center;
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--ember); color: #fff;
  box-shadow: 0 10px 30px -10px rgba(214,40,40,.8);
  margin-bottom: 1.4rem;
}
.quote-band .statement-mark svg { width: 30px; height: 30px; }
.quote-band .statement {
  font-family: var(--font-display); text-transform: uppercase; font-weight: 800;
  font-stretch: 75%; line-height: 1.06; letter-spacing: -.01em;
  font-size: clamp(1.6rem, 3.8vw, 2.9rem); margin: 0;
}

/* ---------- Animated highway divider --------------------------------- */
.road-divider { position: relative; height: 30px; width: 100%; overflow: hidden; pointer-events: none; }
.road-divider::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; transform: translateY(-50%);
  background-image: repeating-linear-gradient(90deg, rgba(231,221,199,.45) 0 26px, transparent 26px 54px);
  background-size: 54px 100%; animation: roadmarch 1.5s linear infinite;
}
.road-divider::after { /* faint lane edges */
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 22px; transform: translateY(-50%);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
@keyframes roadmarch { to { background-position: 54px 0; } }

/* ---------- About: timeline ------------------------------------------ */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
/* "road you drive down" variant: scroll-linked truck + red progress fill */
.timeline--road { padding-top: .4rem; }
/* rail endpoints (--rail-x0/x1/y0/y1) are measured from the actual milestone-dot
   centers in main.js so the line passes exactly through the circles, centered. */
.timeline--road .timeline__fill {
  content: ""; position: absolute; top: var(--rail-y0, 8px); left: var(--rail-x0, 4%); height: 3px; width: 0;
  transform: translateY(-50%);
  background: var(--ember); box-shadow: 0 0 10px rgba(214,40,40,.7); border-radius: 2px; z-index: 1;
}
.timeline--road .timeline__truck {
  position: absolute; top: var(--rail-y0, 8px); left: var(--rail-x0, 4%); width: 30px; height: 30px;
  transform: translate(-50%, -50%); color: var(--ember); z-index: 2; transition: left .08s linear, top .08s linear;
  filter: drop-shadow(0 0 6px rgba(214,40,40,.7));
}
.timeline--road .timeline__truck svg { width: 100%; height: 100%; }
.timeline::before {
  content: ""; position: absolute; top: var(--rail-y0, 8px); left: var(--rail-x0, 4%);
  width: calc(var(--rail-x1, 96%) - var(--rail-x0, 4%)); height: 2px; right: auto; transform: translateY(-50%);
  background: repeating-linear-gradient(90deg, var(--ember) 0 5px, transparent 5px 12px); opacity: .55;
}
.milestone { position: relative; padding-top: 2.2rem; }
.milestone::before {
  content: ""; position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%;
  background: var(--ember); box-shadow: 0 0 0 4px var(--ink), 0 0 14px rgba(214,40,40,.7);
}
.milestone .yr { font-family: var(--font-display); font-weight: 800; color: var(--ember); font-size: 1.05rem; letter-spacing: .04em; }
.milestone h4 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.05rem; margin: .35rem 0 .45rem; }
.milestone p { color: var(--muted); font-size: .92rem; }

/* ---------- About: value list (numbered rows) ------------------------ */
.value-list { display: grid; }
.vrow { display: grid; grid-template-columns: auto 1fr; gap: clamp(1rem, 3vw, 2.4rem); padding: 1.7rem 0; border-top: 1px solid var(--line); align-items: start; }
.vrow:last-child { border-bottom: 1px solid var(--line); }
.vrow .n { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--line-strong); line-height: 1; }
.vrow h3 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.1rem, 2vw, 1.5rem); margin-bottom: .45rem; }
.vrow p { color: var(--muted); max-width: 62ch; }

/* centered third equipment card (End Dump) below the two */
.run-third { display: flex; justify-content: center; margin-top: 1.25rem; }
.run-third .card { width: 100%; max-width: calc(50% - .625rem); }
@media (max-width: 620px) { .run-third .card { max-width: 100%; } }

/* ---------- About: equipment spec list ------------------------------- */
.spec { list-style: none; margin-top: 1.1rem; display: grid; gap: .55rem; padding: 0; }
.spec li { display: flex; gap: .6rem; color: var(--muted); font-size: .93rem; }
.spec li svg { width: 18px; height: 18px; color: var(--ember); flex: none; margin-top: 2px; }

/* ---------- Interactive equipment showcase --------------------------- */
.equip { --cream: #e7ddc7; }
.equip__tabs { display: inline-flex; gap: .4rem; padding: .35rem; border: 1px solid var(--line); border-radius: 100px; background: var(--ink-2); margin-bottom: 1.6rem; flex-wrap: wrap; }
.equip__tab {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  font-size: .82rem; color: var(--muted); background: transparent; border: 0;
  padding: .6rem 1.3rem; border-radius: 100px; cursor: pointer; transition: color .2s var(--ease), background .2s var(--ease);
}
.equip__tab:hover { color: var(--text); }
.equip__tab.is-active { color: #fff; background: var(--ember); box-shadow: 0 8px 22px -10px rgba(214,40,40,.8); }
.equip__body { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: center; }
.equip__stage {
  display: grid; position: relative;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: radial-gradient(120% 120% at 70% 10%, rgba(214,40,40,.08), transparent 60%), var(--ink-2);
  padding: clamp(1rem, 2.5vw, 2rem);
}
.equip__stage .rig { grid-area: 1 / 1; width: 100%; height: auto; display: block; }
.equip__stage .rig[hidden] { display: none; }
.rig .ln { fill: none; stroke: var(--cream); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.rig .acc { fill: none; stroke: var(--cream); stroke-width: 2.4; stroke-linecap: round; }
.rig .acc2 { fill: none; stroke: var(--ember); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.rig .wheel { fill: var(--ink); stroke: var(--cream); stroke-width: 2.6; }
.rig .hub { fill: var(--ember); }
.rig .ground line { stroke: rgba(231,221,199,.22); stroke-width: 2; stroke-dasharray: 2 10; }
.rig.is-drawing { animation: rigIn .7s var(--ease) both; }
@keyframes rigIn { from { clip-path: inset(0 100% 0 0); opacity: .15; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
.equip__panel[hidden] { display: none; }
.equip__panel h3 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: .5rem; }
.equip__panel > p { color: var(--muted); }
.equip__tag { display: inline-block; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--ember); margin-bottom: .6rem; }

@media (max-width: 820px) {
  .equip__body { grid-template-columns: 1fr; }
  .equip__tabs { display: flex; width: 100%; }
  .equip__tab { flex: 1; padding: .6rem .5rem; text-align: center; }
}

@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { top: var(--rail-y0, 0); bottom: auto; left: var(--rail-x0, 7px); right: auto; width: 2px;
    height: calc(var(--rail-y1, 100%) - var(--rail-y0, 0)); transform: translateX(-50%);
    background: repeating-linear-gradient(180deg, var(--ember) 0 5px, transparent 5px 12px); }
  .milestone { padding: .2rem 0 1.8rem 2.1rem; }
  .milestone::before { top: 3px; }
  .milestone:last-child { padding-bottom: 0; }
  .timeline--road .timeline__fill { top: var(--rail-y0, 0); left: var(--rail-x0, 7px); width: 3px; height: 0; transform: translateX(-50%); }
  .timeline--road .timeline__truck { top: var(--rail-y0, 0); left: var(--rail-x0, 7px); transform: translate(-50%, -50%); transition: top .08s linear; }
}

/* ---------- Lanes / route band --------------------------------------- */
.lanes { position: relative; overflow: hidden; }
.lanes__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
/* Coverage map — base (homepage = abstract dot-matrix + Springtown hub + animated routes) */
.usmap { --cream: #e7ddc7; width: 100%; height: auto; overflow: visible; }
.usmap__land { fill: rgba(255,255,255,.025); stroke: var(--line-strong); stroke-width: 1.4; stroke-linejoin: round; }
.usmap__dots circle { fill: rgba(255,255,255,.16); }
.usmap__routes line { stroke: var(--ember); stroke-width: 1.8; fill: none; stroke-dasharray: 5 7; animation: routeflow 2.6s linear infinite; }
@keyframes routeflow { to { stroke-dashoffset: -110; } }
.usmap__nodes .node { fill: #fff; }
.usmap__nodes .pulse { fill: none; stroke: var(--ember); stroke-opacity: .5; transform-origin: center; transform-box: fill-box; animation: nodepulse 2.6s ease-out infinite; }
@keyframes nodepulse { 0%{ stroke-opacity:.6; transform:scale(.35);} 70%{ stroke-opacity:0; transform:scale(1);} 100%{ stroke-opacity:0; transform:scale(1);} }
.usmap__hub .ring { fill: none; stroke: var(--ember); stroke-opacity: .5; transform-origin: center; transform-box: fill-box; animation: hubpulse 2.4s ease-out infinite; }
@keyframes hubpulse { 0%{ stroke-opacity:.6; transform:scale(.7);} 70%{ stroke-opacity:0; transform:scale(1.5);} 100%{ stroke-opacity:0; transform:scale(1.5);} }
.usmap__hub .dot { fill: var(--ember); filter: drop-shadow(0 0 6px rgba(214,40,40,.8)); }
.usmap__hub text { fill: var(--text); font-family: var(--font-display); font-weight: 800; font-size: 13.5px; text-transform: uppercase; letter-spacing: .05em; }

/* Coverage map — retro highway variant (contact page): Texas-forward, lone star, shields, compass */
.usmap--retro .usmap__land { fill: rgba(231,221,199,.03); stroke: rgba(231,221,199,.2); stroke-width: 1.3; }
.usmap--retro .usmap__dots circle { fill: rgba(231,221,199,.15); }
.usmap--retro .usmap__tx { fill: rgba(214,40,40,.07); stroke: var(--cream); stroke-width: 1.8; stroke-linejoin: round; }
.usmap--retro .usmap__dots--tx circle { fill: rgba(231,221,199,.75); }
.usmap--retro .usmap__roads line { stroke: var(--cream); stroke-width: 3; stroke-opacity: .38; stroke-linecap: round; }
.usmap--retro .usmap__lanes line { stroke: var(--ember); stroke-width: 1.7; stroke-dasharray: 2 9; stroke-linecap: round; animation: laneflow 2.4s linear infinite; }
@keyframes laneflow { to { stroke-dashoffset: -88; } }
.usmap--retro .usmap__shields .sh { fill: #15140f; stroke: var(--cream); stroke-width: 1.4; }
.usmap--retro .usmap__shields .dot { fill: var(--ember); }
.usmap--retro .usmap__compass circle { fill: none; stroke: rgba(231,221,199,.42); stroke-width: 1.2; }
.usmap--retro .usmap__compass .ns { fill: var(--ember); }
.usmap--retro .usmap__compass .ew { fill: var(--cream); opacity: .7; }
.usmap--retro .usmap__compass text { fill: var(--cream); font-family: var(--font-display); font-weight: 700; font-size: 9px; text-anchor: middle; }
.usmap--retro .usmap__hub .halo { fill: var(--ember); opacity: .18; }
.usmap--retro .usmap__hub .star { fill: var(--ember); filter: drop-shadow(0 0 7px rgba(214,40,40,.9)); }
.usmap--retro .usmap__hub text { fill: var(--cream); font-weight: 700; font-size: 12.5px; letter-spacing: .12em; }

/* ---------- CTA band -------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(80% 140% at 15% 0%, rgba(214,40,40,.16), transparent 55%),
    var(--ink-2);
}
/* photo-backed bands (owner quote, homepage CTA) — image darkened for legibility */
.quote-band--photo {
  background:
    linear-gradient(180deg, rgba(11,11,12,.84), rgba(11,11,12,.93)),
    radial-gradient(70% 130% at 82% -10%, rgba(214,40,40,.22), transparent 55%),
    var(--qbg) center / cover no-repeat, var(--ink-2);
}
.cta-band--photo {
  background:
    linear-gradient(180deg, rgba(11,11,12,.86), rgba(11,11,12,.93)),
    radial-gradient(80% 140% at 15% 0%, rgba(214,40,40,.2), transparent 55%),
    var(--qbg) center / cover no-repeat, var(--ink-2);
}
.cta-band__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.cta-band h2 { margin-bottom: 1.4rem; }
.cta-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; background: rgba(0,0,0,.25);
  display: flex; flex-direction: column; gap: 1rem;
}
.cta-card h3 { font-family: var(--font-display); text-transform: uppercase; }
.cta-card p { color: var(--muted); font-size: .95rem; flex: 1; }

/* ---------- Forms ----------------------------------------------------- */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .5rem; }
.field label { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.field label .req { color: var(--ember); }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: .85rem 1rem;
  color: var(--text);
  font: inherit;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ember);
  box-shadow: 0 0 0 3px var(--ember-soft);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a3a3a6' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #e2483b; box-shadow: 0 0 0 3px rgba(226,72,59,.16); }
.field__error { font-size: .76rem; color: #ff7a6e; display: none; }
.field.invalid .field__error { display: block; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note { font-size: .82rem; color: var(--faint); }
.form-status { display: none; padding: 1rem 1.2rem; border-radius: 10px; font-size: .92rem; }
.form-status.show { display: block; }
.form-status.success { background: rgba(46,160,90,.12); border: 1px solid rgba(46,160,90,.4); color: #8fe6b0; }
.form-status.error   { background: rgba(226,72,59,.12); border: 1px solid rgba(226,72,59,.4); color: #ff9b90; }

/* ---------- Contact hub (50/50 shippers / drivers) ------------------- */
.hub { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 2rem); }
.hub__card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(1.8rem, 3.5vw, 3rem);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--ink-2));
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.hub__card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--ember); opacity: .85; }
.hub__card::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s var(--ease);
  background: radial-gradient(100% 70% at 50% 0%, rgba(214,40,40,.12), transparent 60%); }
.hub__card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: 0 30px 60px -30px #000; }
.hub__card:hover::after { opacity: 1; }
.hub__icon {
  width: 60px; height: 60px; border-radius: 14px; display: grid; place-items: center;
  background: var(--ember-soft); color: var(--ember); border: 1px solid rgba(214,40,40,.3);
  margin-bottom: 1.4rem;
}
.hub__icon svg { width: 30px; height: 30px; }
.hub__card .eyebrow { margin-bottom: .8rem; }
.hub__card h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: 1rem; }
.hub__card > p { color: var(--muted); margin-bottom: 1.6rem; }
.hub__lines { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: .7rem; width: 100%; }
.hub__lines li { display: flex; align-items: center; gap: .7rem; color: var(--text); font-weight: 500; }
.hub__lines a { color: var(--text); }
.hub__lines a:hover { color: var(--ember); }
.hub__li-icon { flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--ember); }
.hub__li-icon svg { width: 17px; height: 17px; }
.hub__card .btn { margin-top: auto; }

.hub-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.hub-info__item { background: var(--ink-2); padding: 1.1rem clamp(1.1rem, 2.2vw, 1.6rem); display: grid; gap: .25rem; }
.hub-info__item .k { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--ember); }
.hub-info__item .v { color: var(--text); font-size: .95rem; }

@media (max-width: 760px) {
  .hub { grid-template-columns: 1fr; }
  .hub-info { grid-template-columns: 1fr; }
}

/* contact map embed */
.map-embed {
  margin-top: 1.25rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--ink-2); line-height: 0;
}
.map-embed iframe {
  width: 100%; height: 260px; border: 0; display: block;
  filter: grayscale(.35) contrast(1.05) brightness(.92);
}

/* contact info card */
.info-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2); padding: clamp(1.6rem,2.5vw,2.2rem); }
.info-row { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row__icon { flex: none; width: 42px; height: 42px; border-radius: 10px; background: var(--ember-soft); color: var(--ember); display: grid; place-items: center; border: 1px solid rgba(214,40,40,.3); }
.info-row__icon svg { width: 20px; height: 20px; }
.info-row .k { font-family: var(--font-display); text-transform: uppercase; font-size: .8rem; letter-spacing: .1em; color: var(--muted); }
.info-row .v { color: var(--text); font-weight: 500; }
.info-row .v.placeholder { color: var(--faint); font-style: italic; }

/* requirements checklist */
.checklist { display: grid; gap: .9rem; }
.checklist li { display: flex; gap: .9rem; align-items: flex-start; color: var(--muted); }
.checklist li svg { flex: none; width: 22px; height: 22px; color: var(--ember); margin-top: 1px; }
.checklist li strong { color: var(--text); font-weight: 600; }

/* benefit chip grid reuse .grid--3 + .card */

/* ---------- Footer ---------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: var(--ink-2); padding-block: clamp(3rem,6vw,4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(1.5rem,4vw,3rem); }
.footer-col h5 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--muted); margin-bottom: 1.1rem; }
.footer-col a { display: block; color: var(--faint); font-size: .92rem; padding: .3rem 0; transition: color .2s; }
.footer-col a:hover { color: var(--ember); }
.footer-col p { color: var(--faint); font-size: .92rem; }
.footer-about p { color: var(--muted); max-width: 34ch; margin: 1rem 0; font-size: .94rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .8rem; color: var(--faint); font-size: .82rem; }
.footer-bottom .placeholder { font-style: italic; }

/* ---------- Scroll reveal -------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .pill .dot, .usmap__routes line, .usmap__nodes .pulse, .usmap__hub .ring, .usmap--retro .usmap__lanes line, .rig.is-drawing { animation: none; }
}

/* ---------- Responsive ----------------------------------------------- */
@media (max-width: 980px) {
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sec-head { grid-template-columns: 1fr; }
  .sec-head__blurb { align-self: start; }
}

@media (max-width: 820px) {
  .nav, .header-cta .btn { display: none; }
  .burger { display: block; }
  .split, .lanes__inner, .cta-band__grid { grid-template-columns: 1fr; }
  .badge-float { position: static; margin-top: 1.2rem; display: inline-block; }
  /* right-aligned video hero reads better left-aligned on phones (video is centre-cropped) */
  .page-hero--right .wrap { align-items: flex-start; text-align: left; }
  .page-hero--right .lead { margin-left: 0; }
  .page-hero--right .hero__cta { justify-content: flex-start; }
  .page-hero--right .page-hero__bg {
    background:
      linear-gradient(180deg, rgba(11,11,12,.5) 0%, rgba(11,11,12,.55) 45%, rgba(11,11,12,.82) 100%),
      radial-gradient(120% 70% at 50% 0%, rgba(214,40,40,.18), transparent 60%);
  }
}

@media (max-width: 760px) {
  .proof { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
  .industries { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .grid--3, .grid--2, .field--row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__cta .btn, .page-hero .btn { width: 100%; justify-content: center; }
  .footer-bottom { flex-direction: column; }
  h1.display { font-size: clamp(2.5rem, 12vw, 3.4rem); }
}

/* ============================================================
   DRIVER APPLICATION WIZARD (apply.html)
   ============================================================ */
.applypage { background:
    radial-gradient(120% 60% at 50% -10%, rgba(214,40,40,.10), transparent 60%),
    var(--ink); min-height: 100vh; }

.wizard__top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem; padding: .9rem clamp(1rem, 4vw, 2rem);
  background: rgba(11,11,12,.82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.wizard__top .brand__logo { height: 38px; }
.wizard__back { color: var(--muted); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: .4rem; }
.wizard__back:hover { color: var(--text); }
.wizard__back svg { width: 16px; height: 16px; }

.wizard { max-width: 880px; margin: 0 auto; padding: clamp(1.4rem, 4vw, 2.6rem) clamp(1rem, 4vw, 2rem) 5rem; }
.wizard__eyebrow { display: inline-flex; align-items: center; gap: .5rem; }
.wizard__h { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .01em;
  font-size: clamp(1.7rem, 5vw, 2.6rem); line-height: .98; margin: .7rem 0 .3rem; }
.wizard__sub { color: var(--muted); margin-bottom: 1.6rem; max-width: 60ch; }

/* progress bar */
.wizard__bar { display: flex; align-items: center; gap: 0; margin: 0 0 2.2rem; }
.wizard__seg { flex: 1; display: flex; align-items: center; }
.wizard__dot { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: .85rem; color: var(--faint);
  background: var(--surface); border: 1px solid var(--line); transition: all .3s var(--ease); }
.wizard__line { flex: 1; height: 2px; background: var(--line); transition: background .3s var(--ease); }
.wizard__seg:last-child .wizard__line { display: none; }
.wizard__dot.is-active { color: #fff; background: var(--ember); border-color: var(--ember); box-shadow: 0 0 0 4px var(--ember-soft); }
.wizard__dot.is-done { color: #fff; background: var(--ember-deep); border-color: var(--ember-deep); }
.wizard__dot.is-done + .wizard__line, .wizard__seg.is-done .wizard__line { background: var(--ember-deep); }
.wizard__steplabel { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .14em;
  font-size: .72rem; color: var(--ember); margin-bottom: .5rem; }

/* wizard steps — scoped to apply.html (.applypage) so this display:none does NOT
   hide the homepage "How It Works" .step cards, which share the class name */
.applypage .step { display: none; animation: stepIn .4s var(--ease); }
.applypage .step.is-active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.step__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.3rem,3.5vw,1.8rem); line-height: 1; margin-bottom: .5rem; }
.step__intro { color: var(--muted); margin-bottom: 1.6rem; }
.step__group { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1rem,2.5vw,1.5rem); margin-bottom: 1.2rem; background: rgba(255,255,255,.012); }
.step__group > h3 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em; font-size: 1rem; color: var(--text); margin-bottom: 1rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line); }

/* field layout helpers */
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field--third { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
@media (max-width: 620px) { .field--row, .field--third { grid-template-columns: 1fr; } }

/* yes/no + choice pills (fieldset) */
.qa { border: 0; padding: 0; margin: 0 0 1.1rem; }
.qa__q { font-weight: 500; color: var(--text); margin-bottom: .6rem; padding: 0; display: block; line-height: 1.4; }
.qa__opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.qa__opt { position: relative; }
.qa__opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.qa__opt span { display: inline-flex; align-items: center; padding: .55rem 1.1rem; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--muted); font-weight: 600; font-size: .92rem;
  cursor: pointer; transition: all .2s var(--ease); user-select: none; }
.qa__opt input:hover + span { border-color: var(--ember); color: var(--text); }
.qa__opt input:checked + span { background: var(--ember); border-color: var(--ember); color: #fff; }
.qa__opt input:focus-visible + span { outline: 2px solid var(--ember-bright); outline-offset: 2px; }
.qa.invalid .qa__opt span { border-color: var(--ember-bright); }
.qa .field__error, .field.invalid .field__error { display: none; }
.qa.invalid .field__error { display: block; color: var(--ember-bright); font-size: .82rem; margin-top: .5rem; }

/* checkbox grid (endorsements / other equipment) */
.checkgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .5rem; }
.checkpill { position: relative; }
.checkpill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.checkpill span { display: flex; align-items: center; gap: .5rem; padding: .6rem .9rem; border-radius: 10px;
  border: 1px solid var(--line-strong); color: var(--muted); font-weight: 500; font-size: .9rem; cursor: pointer; transition: all .2s var(--ease); }
.checkpill span::before { content: ""; width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid var(--faint); flex: none; transition: all .2s var(--ease); }
.checkpill input:checked + span { border-color: var(--ember); color: var(--text); }
.checkpill input:checked + span::before { background: var(--ember); border-color: var(--ember);
  box-shadow: inset 0 0 0 2px var(--surface); }

/* repeater (employment, accidents, violations, addresses) */
.repeater__item { position: relative; border: 1px solid var(--line); border-left: 3px solid var(--ember);
  border-radius: var(--radius); padding: clamp(1rem,2.5vw,1.4rem); margin-bottom: 1rem; background: rgba(0,0,0,.18); }
.repeater__num { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; color: var(--ember); margin-bottom: 1rem; }
.repeater__remove { position: absolute; top: .8rem; right: .8rem; width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--muted); cursor: pointer; }
.repeater__remove:hover { color: var(--ember-bright); border-color: var(--ember); }
.repeater__remove svg { width: 15px; height: 15px; }
.repeater__add { display: inline-flex; align-items: center; gap: .5rem; background: transparent; border: 1px dashed var(--line-strong);
  color: var(--text); font-weight: 600; padding: .8rem 1.2rem; border-radius: 10px; cursor: pointer; transition: all .2s var(--ease); }
.repeater__add:hover { border-color: var(--ember); color: var(--ember-bright); }
.repeater__add svg { width: 16px; height: 16px; }

/* legal offense list */
.offense-list { color: var(--muted); font-size: .86rem; margin: .4rem 0 .9rem 1.1rem; display: grid; gap: .25rem; }
.offense-list li { list-style: disc; }

/* review */
.review__section { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 1rem; overflow: hidden; }
.review__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 1.1rem; background: var(--surface); }
.review__head h3 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em; font-size: .95rem; }
.review__edit { background: none; border: 0; color: var(--ember-bright); font-weight: 600; font-size: .82rem; cursor: pointer; text-transform: uppercase; letter-spacing: .08em; }
.review__body { padding: .4rem 1.1rem 1rem; }
.review__row { display: grid; grid-template-columns: minmax(130px, 38%) 1fr; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.review__row:last-child { border-bottom: 0; }
.review__row .k { color: var(--muted); }
.review__row .v { color: var(--text); font-weight: 500; word-break: break-word; }
.review__empty { color: var(--faint); font-style: italic; padding: .6rem 0; }

/* consent block */
.consent__item { border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; margin-bottom: .8rem; background: rgba(255,255,255,.012); }
.consent__check { display: flex; gap: .75rem; align-items: flex-start; cursor: pointer; }
.consent__check input { margin-top: .2rem; flex: none; width: 18px; height: 18px; accent-color: var(--ember); }
.consent__check .label { font-weight: 500; font-size: .92rem; line-height: 1.45; }
.consent__item.invalid { border-color: var(--ember-bright); }
.consent__disclosure { margin-top: .6rem; }
.consent__disclosure summary { color: var(--ember-bright); font-size: .82rem; font-weight: 600; cursor: pointer; list-style: none; }
.consent__disclosure summary::-webkit-details-marker { display: none; }
.consent__disclosure summary::before { content: "▸ "; }
.consent__disclosure[open] summary::before { content: "▾ "; }
.consent__disclosure p { color: var(--muted); font-size: .82rem; line-height: 1.5; margin-top: .5rem; max-height: 220px; overflow-y: auto; padding-right: .5rem; }

/* wizard nav */
.wizard__nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.wizard__nav .btn--ghost[hidden] { display: none; }
.wizard__nav .spacer { flex: 1; }
.wizard__savenote { text-align: center; color: var(--faint); font-size: .8rem; margin-top: 1.2rem; }

/* done panel */
.wizard__done { display: none; text-align: center; padding: clamp(2rem,6vw,4rem) 1rem; }
.wizard__done.is-active { display: block; }
.wizard__done .checkmark { width: 76px; height: 76px; border-radius: 50%; background: var(--ember-soft); border: 1px solid var(--ember); display: grid; place-items: center; margin: 0 auto 1.4rem; color: var(--ember-bright); }
.wizard__done .checkmark svg { width: 38px; height: 38px; }

@media (max-width: 620px) {
  .wizard__dot { width: 26px; height: 26px; font-size: .78rem; }
  .review__row { grid-template-columns: 1fr; gap: .15rem; }
}
@media (prefers-reduced-motion: reduce) { .applypage .step { animation: none; } }

/* conditional blocks: ensure [hidden] always wins over component display rules */
[hidden] { display: none !important; }

/* ============ Phase 1 — wizard spacing polish (more breathing room) ============ */
.wizard .qa { margin: 0 0 1.8rem; padding-top: .25rem; }
.wizard .qa__q { margin-bottom: .75rem; }
.wizard .step .field,
.wizard .step .field--row,
.wizard .step .field--third,
.wizard .step .checkgrid { margin-bottom: 1.45rem; }
.wizard .step .field--row > .field,
.wizard .step .field--third > .field { margin-bottom: 0; }
.wizard .step__group { margin-top: 1.4rem; }

/* validation summary list inside form-status */
.form-status__list { margin: .5rem 0 0; padding-left: 1.2rem; display: grid; gap: .2rem; text-align: left; }
.form-status__list li { list-style: disc; font-size: .85rem; }

/* ============ Phase 2 — IntelliApp structure: ledger, licenses, editors ============ */

/* subsection heads + helper text */
.step__sub { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; font-size: .95rem;
  color: var(--ember); margin: .2rem 0 1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
.step__note { color: var(--muted); font-size: .84rem; margin: -.6rem 0 1.3rem; }
.field__hint { color: var(--faint); font-size: .76rem; margin-top: .35rem; display: block; }

/* card lists (licenses overview) */
.cards { margin-bottom: 1rem; }
.cards__empty { color: var(--faint); font-style: italic; font-size: .9rem; padding: 1rem 0 1.2rem; }
.reccard { display: flex; align-items: center; gap: 1rem; justify-content: space-between;
  border: 1px solid var(--line); border-left: 3px solid var(--ember); border-radius: var(--radius);
  padding: .9rem 1.1rem; margin-bottom: .7rem; background: rgba(0,0,0,.18); }
.reccard__title { font-weight: 600; font-size: .98rem; word-break: break-word; }
.reccard__meta { color: var(--muted); font-size: .82rem; margin-top: .2rem; }
.reccard__acts { display: flex; gap: .4rem; flex: none; }
.reccard__btn { background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-weight: 600;
  font-size: .78rem; padding: .4rem .7rem; border-radius: 8px; cursor: pointer; transition: all .2s var(--ease); }
.reccard__btn:hover { color: var(--text); border-color: var(--ember); }
.reccard__btn--del:hover { color: var(--ember-bright); border-color: var(--ember); }
.cards__add, .ledger__add { display: inline-flex; align-items: center; gap: .5rem; background: transparent;
  border: 1px dashed var(--line-strong); color: var(--text); font-weight: 600; padding: .8rem 1.2rem;
  border-radius: 10px; cursor: pointer; transition: all .2s var(--ease); }
.cards__add:hover, .ledger__add:hover { border-color: var(--ember); color: var(--ember-bright); }
.cards__add svg, .ledger__add svg { width: 16px; height: 16px; }

/* inline editor panel (licenses + history records) */
.editor { border: 1px solid var(--line); border-left: 3px solid var(--ember); border-radius: var(--radius);
  padding: clamp(1rem,2.5vw,1.5rem); background: rgba(0,0,0,.2); margin-bottom: 1rem; animation: stepIn .3s var(--ease); }
.editor__banner { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em;
  font-size: .78rem; color: var(--ember); margin-bottom: 1.2rem; }
.editor__sub { border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; margin: .4rem 0 1.2rem; background: rgba(255,255,255,.015); }
.editor__sub > h4 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em; font-size: .9rem; color: var(--text); margin-bottom: .9rem; }
.editor__nav { display: flex; justify-content: flex-end; gap: .7rem; margin-top: 1rem; }
.editor .qa { margin: 0 0 1.4rem; }
.editor .field, .editor .field--row, .editor .field--third { margin-bottom: 1.2rem; }
.editor .field--row > .field, .editor .field--third > .field { margin-bottom: 0; }

/* soft DL-format warning */
.dl-warn { margin-top: .45rem; font-size: .8rem; line-height: 1.45; color: #f0b429;
  background: rgba(240,180,41,.08); border: 1px solid rgba(240,180,41,.3); border-radius: 8px; padding: .5rem .7rem; }

/* ===== history ledger ===== */
.ledger { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1rem,2.5vw,1.4rem); background: rgba(255,255,255,.015); }
.ledger__head { margin-bottom: 1.3rem; }
.ledger__pctrow { display: flex; align-items: baseline; gap: .5rem; margin-bottom: .55rem; }
.ledger__pctnum { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--ember-bright); line-height: 1; }
.ledger__pctlabel { color: var(--muted); font-size: .88rem; }
.ledger__track { height: 8px; border-radius: 999px; background: var(--surface); overflow: hidden; }
.ledger__fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--ember-deep), var(--ember)); border-radius: 999px; transition: width .4s var(--ease); }
.ledger.is-full .ledger__pctnum { color: #6fcf73; }
.ledger.is-full .ledger__fill { background: linear-gradient(90deg, #2f7a33, #6fcf73); }
.ledger__reqlink { background: none; border: 0; color: var(--ember-bright); font-weight: 600; font-size: .8rem; cursor: pointer; padding: 0; margin-top: .6rem; }
.ledger__reqbox { margin-top: .7rem; color: var(--muted); font-size: .82rem; line-height: 1.55; border: 1px solid var(--line); border-radius: 10px; padding: .8rem 1rem; background: rgba(0,0,0,.18); }
.ledger__reqbox strong { color: var(--text); }

.ledger__table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.ledger__table thead th { text-align: left; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em;
  font-size: .68rem; color: var(--faint); font-weight: 700; padding: .4rem .6rem; border-bottom: 1px solid var(--line); }
.ledger__table td { padding: .6rem .6rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ledger__desc { font-weight: 600; }
.ledger__rowacts { white-space: nowrap; text-align: right; }
.ledger__rowacts .reccard__btn { padding: .3rem .6rem; }
.ledger__gap td { color: #f0b429; background: rgba(240,180,41,.07); font-size: .82rem; font-weight: 600;
  border-left: 3px solid #f0b429; border-bottom: 1px solid var(--line); }
.ledger__empty { color: var(--faint); font-style: italic; font-size: .9rem; padding: .9rem 0 1.1rem; }
.ledger__add { margin-top: 1rem; }

.ledger__cmv7 { margin: 1rem 0; border: 1px solid rgba(240,180,41,.35); background: rgba(240,180,41,.07);
  border-radius: 12px; padding: 1rem 1.1rem; color: var(--muted); font-size: .85rem; line-height: 1.55; }
.ledger__cmv7 strong { color: #f0b429; }
.ledger__cmv7 .btn { margin-top: .8rem; }

.ledger__picker { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1rem,2.5vw,1.4rem); background: rgba(0,0,0,.18); }
.ledger__picker > h3 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em; font-size: .95rem; margin-bottom: 1rem; }
.ledger__types { display: grid; gap: .6rem; margin-bottom: 1rem; }
.ledger__types button { display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; text-align: left;
  border: 1px solid var(--line-strong); background: var(--surface); border-radius: 10px; padding: .8rem 1rem; cursor: pointer; transition: all .2s var(--ease); }
.ledger__types button:hover { border-color: var(--ember); }
.ledger__types button strong { color: var(--text); font-size: .95rem; }
.ledger__types button span { color: var(--muted); font-size: .8rem; }

/* review: do-not-contact flag */
.review__flag { color: var(--ember-bright); font-weight: 700; font-size: .82rem; letter-spacing: .04em; padding: .4rem 0; }

/* confirmation number on the done panel */
.done__conf { display: inline-flex; flex-direction: column; gap: .15rem; border: 1px solid var(--ember); border-radius: 12px;
  padding: .9rem 1.4rem; margin: 0 auto 1.4rem; background: var(--ember-soft); }
.done__conflabel { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; color: var(--ember-bright); }
.done__confnum { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: var(--text); }
.done__confnote { color: var(--muted); font-size: .76rem; }

.btn--sm { padding: .45rem .9rem; font-size: .82rem; }

/* mobile: stack the ledger table into labeled blocks (no horizontal overflow) */
@media (max-width: 560px) {
  .ledger__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ledger__table, .ledger__table tbody, .ledger__table tr, .ledger__table td { display: block; width: auto; }
  .ledger__table tr { border: 1px solid var(--line); border-radius: 10px; padding: .5rem .8rem; margin-bottom: .6rem; }
  .ledger__table td { border: 0; padding: .15rem 0; }
  .ledger__table td[data-label]::before { content: attr(data-label) ": "; color: var(--faint); font-size: .76rem; }
  .ledger__desc { font-size: 1rem; }
  .ledger__rowacts { text-align: left; margin-top: .5rem; }
  .ledger__gap td { border-left: 0; border-radius: 8px; padding: .5rem .7rem; }
}

/* ============ Phase 3 — disclosures, release table, signature pad ============ */

/* per-disclosure print button */
.consent__print { margin-top: .7rem; background: none; border: 0; color: var(--ember-bright);
  font-weight: 600; font-size: .8rem; cursor: pointer; padding: 0; }
.consent__print:hover { text-decoration: underline; }

/* prior-employer release table */
.rel__table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.rel__table thead th { text-align: left; font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: .06em; font-size: .68rem; color: var(--faint); font-weight: 700; padding: .4rem .6rem; border-bottom: 1px solid var(--line); }
.rel__table td { padding: .55rem .6rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.rel__table input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--ember); }

/* signature pad */
.sigpad { margin-top: .4rem; }
.sigpad__canvas { width: 100%; height: 200px; display: block; background: #fff; border: 1px solid var(--line-strong);
  border-radius: 10px; touch-action: none; cursor: crosshair; }
.sigpad__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .6rem; flex-wrap: wrap; }
.sigpad__status { color: #6fcf73; font-size: .82rem; font-weight: 600; }
.sigpad__btns { display: flex; gap: .5rem; }
#sigError { display: none; }
#sigError.show { display: block; color: var(--ember-bright); font-size: .82rem; margin-top: .5rem; }

/* mobile: stack the release table */
@media (max-width: 560px) {
  .rel__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .rel__table, .rel__table tbody, .rel__table tr, .rel__table td { display: block; width: auto; }
  .rel__table tr { border: 1px solid var(--line); border-radius: 10px; padding: .5rem .8rem; margin-bottom: .6rem; }
  .rel__table td { border: 0; padding: .15rem 0; }
  .rel__table td[data-label]::before { content: attr(data-label) ": "; color: var(--faint); font-size: .76rem; }
}

/* ============ Phase 3b — full legal disclosure text (scroll boxes) ============ */
.consent__disclosure .legal { margin-top: .5rem; max-height: 280px; overflow-y: auto; padding-right: .6rem;
  border-left: 2px solid var(--line); padding-left: .8rem; }
.consent__disclosure .legal p { color: var(--muted); font-size: .82rem; line-height: 1.55; margin: 0 0 .7rem;
  max-height: none; overflow: visible; padding: 0; }
.consent__disclosure .legal p:last-child { margin-bottom: 0; }
.consent__disclosure .legal strong { color: var(--text); }

/* ============ REV 12 — invisible-layer hardening ============ */

/* skip-to-content: hidden until keyboard focus (a11y; no visual change for mouse users) */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ember); color: #fff; font-weight: 700; font-size: .9rem;
  padding: .8rem 1.3rem; border-radius: 0 0 10px 0; text-decoration: none;
}
.skip:focus { left: 0; }

/* lock body scroll behind the mobile menu overlay */
body.menu-open { overflow: hidden; }

/* keyboard focus ring for buttons/links styled as buttons */
.btn:focus-visible { outline: 2px solid var(--ember-bright); outline-offset: 3px; }

/* the one animation that missed the reduced-motion gate */
@media (prefers-reduced-motion: reduce) {
  .road-divider::before { animation: none; }
}

/* ============ REV 13 — fidelity pass (gate hints, review sub-headers, re-key hints) ============ */

/* review sub-headers (GENERAL INFORMATION / EQUIPMENT / DRIVING EXPERIENCE ...) */
.review__sub { text-align: center; font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: .08em; font-size: .74rem; color: var(--faint); padding: .7rem 0 .35rem;
  border-bottom: 1px solid var(--line); }

/* gate-answer nudge chips on the History step */
.gate-hints { display: grid; gap: .5rem; margin-top: .4rem; }
.gate-hint { display: block; font-size: .82rem; line-height: 1.45; color: #f0b429;
  background: rgba(240,180,41,.08); border: 1px solid rgba(240,180,41,.3); border-radius: 8px; padding: .5rem .7rem; }

/* "Originally you entered" re-key hints on the Signature step */
.rekey-hint { color: #f0b429; font-size: .78rem; margin-top: .35rem; display: block; }
