/* ==========================================================================
   JEREMIAH J LLC - V5 Executive Synthesis (JANE Light).
   Roles (60/30/10): paper = canvas, stone = panels, ink = text and primary,
   mute = help text, line = borders, accent = interactive controls only.
   ========================================================================== */

@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/BarlowCondensed-ExtraBold-latin.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/Archivo-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #F6F8F9;
  --stone: #E9EEF1;
  --raise: #FFFFFF;
  --ink: #14202A;
  --mute: #4A5762;
  --line: #CCD4DA;
  --line-strong: #8C9AA5;
  --accent: #08636D;
  --accent-hover: #064A52;
  --accent-tint: rgba(8, 99, 109, 0.10);
  --ok-bg: #DCFCE7;
  --ok-ink: #14532D;
  --err: #B42318;

  --font-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-text: "Archivo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 84px;
  --radius: 8px;

  --t-h1: clamp(2.25rem, 1.7rem + 2.1vw, 3rem);
  --t-h2: clamp(1.75rem, 1.45rem + 1vw, 2.125rem);
  --t-h3: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);
  --t-lead: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --t-body: clamp(0.9375rem, 0.9rem + 0.15vw, 1rem);
  --t-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --t-label: 0.75rem; /* 12px strict floor */

  --section-y: var(--s7);
  --gutter: var(--s4);
}
@media (min-width: 768px) { :root { --section-y: var(--s8); --gutter: var(--s6); } }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html { scroll-padding-top: 112px; -webkit-text-size-adjust: 100%; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--t-body);
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
ul { list-style: none; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
p + p { margin-top: var(--s3); }

h1, h2 { font-family: var(--font-display); font-weight: 800; letter-spacing: 0.01em; line-height: 1.12; color: var(--ink); }
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-family: var(--font-text); font-weight: 750; letter-spacing: -0.01em; line-height: 1.25; color: var(--ink); font-size: var(--t-h3); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hidden { display: none !important; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

.skip-link { position: absolute; left: var(--s4); top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: var(--s3) var(--s4); min-height: 48px; display: inline-flex; align-items: center; border-radius: var(--radius); }
.skip-link:focus { top: var(--s2); color: #fff; }

.label, dt.label {
  font-size: var(--t-label);
  font-weight: 700;
  font-stretch: 85%;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  line-height: 1.4;
}
.accent-text, .label.accent-text { color: var(--accent); }

/* ----- Top Authority Bar + Header ----- */
.site-header { position: relative; z-index: 50; background: var(--raise); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .site-header { position: sticky; top: 0; } }

.utility-bar { background: var(--stone); border-bottom: 1px solid var(--line); }
.utility-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2); padding: 2px 0; min-height: 44px; }
.utility-meta { font-size: var(--t-label); color: var(--mute); line-height: 1.4; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: var(--s1) 0; }
.utility-meta strong { color: var(--ink); font-weight: 700; }
.utility-meta .sep { color: var(--line-strong); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok-ink); display: inline-block; flex-shrink: 0; }
.utility-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1); }
.btn-utility {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px;
  padding: 0 var(--s2); border-radius: 4px; border: 1px solid transparent;
  background: transparent; color: var(--ink); font: inherit; font-size: var(--t-label); font-weight: 700;
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn-utility:hover { background: var(--raise); border-color: var(--line); color: var(--accent-hover); }
.utility-tel { color: var(--accent-hover); }

.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; min-height: 68px; gap: var(--s3) var(--s4); padding: var(--s2) 0; }
.brand { display: inline-flex; align-items: center; gap: var(--s3); text-decoration: none; min-height: 48px; color: var(--ink); flex-shrink: 0; }
.brand-crest { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; }
.brand-crest img { width: 44px; height: 44px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.375rem; letter-spacing: 0.02em; color: var(--ink); }
.brand-sub { font-size: var(--t-label); color: var(--mute); display: none; }
@media (min-width: 480px) { .brand-sub { display: block; } }

.nav-toggle { min-height: 48px; min-width: 48px; padding: 0 var(--s4); background: var(--raise); border: 1px solid var(--line-strong); border-radius: var(--radius); font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
.nav-toggle:hover { background: var(--stone); }

.site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--raise); border-bottom: 1px solid var(--line); display: none; }
.site-nav.open { display: block; }
.nav-menu a { display: flex; align-items: center; min-height: 48px; padding: 0 var(--gutter); text-decoration: none; font-weight: 600; color: var(--ink); }
.nav-menu a:hover { background: var(--stone); color: var(--accent); }
.nav-menu li + li { border-top: 1px solid var(--line); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; display: block; border: 0; background: transparent; }
  .nav-menu { display: flex; align-items: center; gap: 2px; }
  .nav-menu li + li { border: 0; }
  .nav-menu a { padding: 0 var(--s2); border-radius: var(--radius); font-size: 0.8125rem; white-space: nowrap; }
  .nav-menu .nav-call a { color: #fff; background: var(--ink); font-weight: 700; margin-left: var(--s2); padding: 0 var(--s3); }
  .nav-menu .nav-call a:hover { background: var(--accent); color: #fff; }
}
@media (min-width: 1120px) {
  .nav-menu { gap: var(--s1); }
  .nav-menu a { padding: 0 var(--s3); font-size: var(--t-small); }
}

/* ----- Buttons (60/30/10: accent primary CTA only) ----- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; min-width: 44px; padding: 0 var(--s5); border-radius: var(--radius); border: 1px solid transparent; font: inherit; font-weight: 700; text-decoration: none; text-align: center; cursor: pointer; transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease; line-height: 1.2; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 2px 8px rgba(20, 32, 42, 0.14); }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-outline { background: var(--raise); color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { background: var(--stone); color: var(--accent-hover); border-color: var(--accent); }
.btn:active { transform: translateY(1px); }
.btn-block { display: flex; width: 100%; }

/* ----- Sections ----- */
.section { padding: var(--section-y) 0; }
.section-stone { background: var(--stone); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: var(--s6); }
.section-head .label { margin-bottom: var(--s2); }
.section-head h2 { margin-bottom: var(--s3); }
.section-head p:not(.label) { color: var(--mute); font-size: var(--t-lead); }

/* ----- Hero Executive Deck ----- */
.hero { padding: var(--s6) 0 var(--s7); }
@media (min-width: 768px) { .hero { padding: var(--s7) 0 var(--s8); } }
.hero-grid { display: grid; gap: var(--s6); align-items: start; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.04fr 0.96fr; gap: var(--s7); } }
.hero-copy .label { margin-bottom: var(--s3); }
.hero-copy h1 { margin-bottom: var(--s4); }
.lead { font-size: var(--t-lead); color: var(--ink); max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }

.kpi-strip { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: var(--s6); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 600px) { .kpi-strip { grid-template-columns: 0.85fr 0.9fr 1fr 1.25fr; } }
.kpi-box { padding: var(--s3) var(--s3) var(--s3) 0; }
@media (min-width: 600px) { .kpi-box + .kpi-box { border-left: 1px solid var(--line); padding-left: var(--s4); } }
.kpi-val { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1.1; color: var(--ink); }
.kpi-label { display: block; margin-top: var(--s1); font-size: var(--t-label); font-weight: 600; color: var(--mute); line-height: 1.3; }

.trust-source { margin-top: var(--s3); font-size: var(--t-small); color: var(--mute); }
.trust-source a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

.asset-card { background: var(--raise); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 30px rgba(20, 32, 42, 0.06); }
.asset-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2); padding: var(--s3) var(--s4); background: var(--stone); border-bottom: 1px solid var(--line); }
.asset-head-title { font-size: var(--t-label); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.asset-head-loc { font-size: var(--t-label); font-weight: 600; color: var(--mute); }
.truck-photo { margin: 0; }
.truck-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--line); }
.asset-card-body { padding: var(--s4); }
.hero-spec .card-title { font-size: var(--t-h3); margin-bottom: var(--s2); }

/* ----- Public Load Tracker Bar (#track, non-form) ----- */
.track-wrap { padding: var(--s5) 0; background: var(--stone); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.track-panel { background: var(--raise); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4) var(--s5); }
.track-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s4); }
.track-copy { flex: 1 1 280px; }
.track-copy h2 { font-size: 1.5rem; margin-top: var(--s1); }
.track-copy p:not(.label) { font-size: var(--t-small); color: var(--mute); margin-top: var(--s1); }
.track-bar { display: flex; flex-wrap: wrap; gap: var(--s2); flex: 1 1 320px; align-items: center; }
.track-bar input { flex: 1 1 200px; min-width: 0; }
.track-result { margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--line); font-size: var(--t-small); }
.track-result:empty { display: none; }
.track-result.is-error { color: var(--err); font-weight: 600; }
.track-card-head { display: flex; flex-wrap: wrap; gap: var(--s4); font-weight: 600; margin-bottom: var(--s3); }
.track-steps { display: flex; flex-wrap: wrap; gap: var(--s2); }
.track-step { padding: 4px 10px; border-radius: 4px; border: 1px solid var(--line); background: var(--stone); font-size: var(--t-label); font-weight: 700; color: var(--mute); }
.track-step.is-done { background: var(--accent-tint); border-color: var(--accent); color: var(--accent-hover); }

/* ----- Industries ----- */
.biz-tabs { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s5); }
.biz-tab { min-height: 48px; min-width: 44px; padding: 0 var(--s4); background: var(--raise); border: 1px solid var(--line-strong); border-radius: var(--radius); font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; transition: background-color 150ms ease, border-color 150ms ease; }
.biz-tab:hover { border-color: var(--accent); background: var(--stone); }
.biz-tab.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.biz-card { display: grid; gap: var(--s6); background: var(--raise); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); }
@media (min-width: 900px) { .biz-card { grid-template-columns: 1.6fr 1fr; padding: var(--s6); gap: var(--s7); } }
.biz-main .label { margin-bottom: var(--s2); }
.biz-main h3 { margin-bottom: var(--s3); }
.biz-main > p:not(.label) { color: var(--mute); max-width: 62ch; }
.spec-grid { display: grid; gap: var(--s4); margin: var(--s5) 0; }
@media (min-width: 600px) { .spec-grid { grid-template-columns: 1fr 1fr; } }
.spec-grid > div { border-top: 1px solid var(--line); padding-top: var(--s3); }
.spec-grid dd { font-weight: 600; margin-top: var(--s1); }
.action-row { display: flex; flex-wrap: wrap; gap: var(--s3); }
.biz-aside { background: var(--stone); border-radius: var(--radius); padding: var(--s5); align-self: start; }
.aside-title { font-size: var(--t-h3); margin-bottom: var(--s3); }
.check-list li { position: relative; padding-left: var(--s5); }
.check-list li + li { margin-top: var(--s3); }
.check-list li::before { content: ""; position: absolute; left: 4px; top: 0.5em; width: 7px; height: 12px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(40deg) translateY(-50%); }

/* ----- Tiers ----- */
.tier-grid { display: grid; gap: var(--s4); margin-bottom: var(--s7); }
@media (min-width: 768px) { .tier-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .tier-grid { grid-template-columns: repeat(4, 1fr); } }
.tier-card { display: flex; flex-direction: column; background: var(--raise); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); position: relative; }
.tier-card-featured { border: 2px solid var(--accent); box-shadow: 0 10px 24px rgba(20, 32, 42, 0.06); }
.tier-card .label { margin-bottom: var(--s2); }
.tier-card h3 { margin-bottom: var(--s2); }
.tier-card > p:not(.label) { color: var(--mute); font-size: var(--t-small); }
.tier-rate-box { margin: var(--s4) 0; padding: var(--s3) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tier-rate-main { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--ink); line-height: 1.1; }
.tier-rate-sub { margin-top: 4px; font-size: var(--t-label); color: var(--mute); font-weight: 600; }
.plain-list { margin: 0 0 var(--s5); font-size: var(--t-small); flex: 1; }
.plain-list li + li { margin-top: var(--s2); }
.matrix-title { margin-bottom: var(--s3); }
.table-scroll { overflow-x: auto; background: var(--raise); border: 1px solid var(--line); border-radius: var(--radius); }
.matrix { width: 100%; min-width: 720px; border-collapse: collapse; font-size: var(--t-small); text-align: left; }
.matrix th, .matrix td { padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line); vertical-align: top; }
.matrix thead th { background: var(--stone); font-weight: 700; }
.matrix tbody th { font-weight: 700; width: 18%; }
.matrix tbody tr:last-child th, .matrix tbody tr:last-child td { border-bottom: 0; }
.matrix .col-featured { background: var(--accent-tint); }
.matrix thead .col-featured { background: var(--accent-tint); color: var(--accent-hover); }

/* ----- Side-by-Side Map + Estimator ----- */
.rate-source { color: var(--mute); font-size: var(--t-small); }
.rate-source a { display: inline-flex; align-items: center; min-height: 44px; }
.calc-grid { display: grid; gap: var(--s5); }
@media (min-width: 1040px) { .calc-grid { grid-template-columns: 1.15fr 0.85fr; align-items: start; } }
.map-panel, .controls-panel { background: var(--raise); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4); min-width: 0; }
@media (min-width: 768px) { .controls-panel { padding: var(--s5); } }
.map-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2); margin-bottom: var(--s3); }
.route-pill { background: var(--stone); color: var(--ink); font-weight: 700; font-size: var(--t-small); padding: var(--s1) var(--s3); border-radius: 4px; border: 1px solid var(--line); }
.map-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #EBF2F5; }
.lane-map { width: 100%; min-width: 660px; max-width: 800px; height: auto; margin: 0 auto; }
.lane-map .state { fill: #F4F6F8; stroke: #B8C4CC; stroke-width: 1; }
.lane-map .state.served { fill: #DCECEF; stroke: #4E868E; stroke-width: 1.25; }
.radar-ring { fill: none; stroke: rgba(20, 32, 42, 0.07); stroke-width: 1; stroke-dasharray: 4 6; }
.map-state-labels text { font-family: var(--font-text); font-size: 13px; font-weight: 700; font-stretch: 85%; letter-spacing: 0.1em; fill: var(--mute); paint-order: stroke; stroke: #DCECEF; stroke-width: 3px; stroke-linejoin: round; }
.lane-map .lane { stroke: #9FB0BA; stroke-width: 1.5; stroke-dasharray: 2 4; stroke-linecap: round; }
.lane-map .lane-active { stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 10 6; }
@media (prefers-reduced-motion: no-preference) { .lane-map .lane-active { animation: lane-flow 1.2s linear infinite; } }
@keyframes lane-flow { to { stroke-dashoffset: -16; } }
.map-nodes text { font-family: var(--font-text); font-size: 13px; font-weight: 600; fill: var(--ink); paint-order: stroke; stroke: #F4F6F8; stroke-width: 4px; stroke-linejoin: round; }
.map-hub circle { fill: var(--ink); stroke: #fff; stroke-width: 2.5; }
.map-hub .hub-ring { fill: rgba(8, 99, 109, 0.16); stroke: var(--accent); stroke-width: 1.5; }
.map-hub text { font-weight: 800; }
.map-node-btn { cursor: pointer; }
.map-node-btn .hit { fill: transparent; }
.map-node-btn .dot { fill: #fff; stroke: var(--accent); stroke-width: 2.5; transition: r 150ms ease, fill 150ms ease; }
.map-node-btn:hover .dot { fill: var(--accent-tint); }
.map-node-btn.is-active .dot { fill: var(--accent); r: 8; }
.map-node-btn.is-active text { font-weight: 800; }
.map-legend { display: flex; flex-wrap: wrap; gap: var(--s4); margin-top: var(--s3); font-size: var(--t-label); font-weight: 600; color: var(--mute); }
.legend-item { display: inline-flex; align-items: center; gap: var(--s2); }
.legend-swatch { display: inline-block; width: 14px; height: 10px; border-radius: 2px; }
.legend-served { background: #DCECEF; border: 1px solid #4E868E; }
.legend-lane { height: 4px; background: var(--accent); border-radius: 2px; }
.map-caption { margin-top: var(--s2); font-size: var(--t-small); color: var(--mute); }
.city-chips { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s3); }
.chip { min-height: 48px; min-width: 44px; padding: 0 var(--s3); background: var(--raise); border: 1px solid var(--line-strong); border-radius: var(--radius); font: inherit; font-size: var(--t-small); font-weight: 600; color: var(--ink); cursor: pointer; transition: background-color 150ms ease, border-color 150ms ease; }
.chip span { color: var(--mute); font-weight: 500; margin-left: var(--s1); }
.chip:hover { border-color: var(--accent); background: var(--accent-tint); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[aria-pressed="true"] span { color: #fff; }

.controls-panel { display: grid; gap: var(--s4); }
.field { display: flex; flex-direction: column; gap: var(--s1); min-width: 0; }
.field label { font-weight: 700; font-size: var(--t-small); }
.req { font-weight: 500; color: var(--mute); }
select, input[type="text"], input[type="tel"], input[type="email"], input[type="password"], input[type="date"], textarea {
  width: 100%; min-height: 48px; padding: var(--s2) var(--s3); font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--raise); border: 1px solid var(--line-strong); border-radius: var(--radius);
}
textarea { resize: vertical; }
::placeholder { color: var(--mute); opacity: 1; }
select:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
input[aria-invalid="true"] { border-color: var(--err); border-width: 2px; }

.slider-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); }
.readout { font-weight: 800; font-size: 1.125rem; font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 48px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 8px; background: var(--line); border-radius: 4px; }
input[type="range"]::-moz-range-track { height: 8px; background: var(--line); border-radius: 4px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--accent), 0 2px 6px rgba(20, 32, 42, 0.25); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--accent), 0 2px 6px rgba(20, 32, 42, 0.25); }
input[type="range"]:focus-visible { outline: 3px solid var(--accent); outline-offset: -2px; border-radius: var(--radius); }
.slider-ticks { display: flex; justify-content: space-between; font-size: var(--t-label); color: var(--mute); }

.result-card { background: var(--stone); border-radius: var(--radius); padding: var(--s4) var(--s5); }
.result-main { font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1.1; letter-spacing: 0.01em; margin: var(--s2) 0 var(--s3); }
.result-dollar { font-size: 1.5rem; vertical-align: 0.6em; margin-right: 2px; }
.result-range { font-family: var(--font-text); font-size: var(--t-small); font-weight: 600; color: var(--mute); letter-spacing: 0; }
.result-rows { margin-bottom: var(--s4); }
.result-rows > div { display: flex; justify-content: space-between; gap: var(--s4); padding: var(--s2) 0; border-top: 1px solid var(--line); font-size: var(--t-small); }
.result-rows dt { color: var(--mute); }
.result-rows dd { font-weight: 700; text-align: right; }

/* ----- 3-Card 4K Fleet Gallery ----- */
.gallery-grid { display: grid; gap: var(--s5); }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-card { background: var(--raise); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.gallery-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--line); }
.gallery-card figcaption { padding: var(--s4); flex: 1; display: flex; flex-direction: column; gap: var(--s2); }
.gallery-card p:not(.label) { color: var(--mute); font-size: var(--t-small); }

/* ----- Equipment & Cargo Fit ----- */
.fleet-grid { display: grid; gap: var(--s5); }
@media (min-width: 768px) { .fleet-grid { grid-template-columns: 1fr 1fr; } }
.fleet-card { background: var(--raise); border: 1px solid var(--line); border-top: 3px solid var(--ink); border-radius: var(--radius); padding: var(--s5); }
.fleet-card-teal { border-top-color: var(--accent); }
.fleet-card h3 { margin: var(--s2) 0 var(--s3); }
.kv > div { display: grid; gap: var(--s1); padding: var(--s3) 0; border-top: 1px solid var(--line); }
@media (min-width: 600px) { .kv > div { grid-template-columns: 9.5rem 1fr; gap: var(--s4); } }
.kv dt { color: var(--mute); font-size: var(--t-small); font-weight: 600; }
.kv dd { font-weight: 600; }

/* ----- Clean Factual Safety Record (zero pill confetti) ----- */
.record-grid { display: grid; gap: var(--s4); }
@media (min-width: 768px) { .record-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .record-grid { grid-template-columns: repeat(4, 1fr); } }
.record-item { background: var(--raise); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4) var(--s5); border-top: 2px solid var(--ink); }
.record-item h3 { font-size: 1.0625rem; margin-bottom: var(--s2); }
.record-item p { font-size: var(--t-small); color: var(--mute); }

/* ----- Broker Setup & Carrier Packet Bar ----- */
.packet-panel { background: var(--raise); border: 1px solid var(--line); border-left: 4px solid var(--ink); border-radius: var(--radius); padding: var(--s5); display: grid; gap: var(--s5); }
@media (min-width: 900px) { .packet-panel { grid-template-columns: 1.2fr 1fr; align-items: center; padding: var(--s6); } }
.packet-copy h2 { margin: var(--s1) 0 var(--s2); }
.packet-copy p:not(.label) { color: var(--mute); font-size: var(--t-small); max-width: 58ch; }
.packet-actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.packet-status { margin-top: var(--s2); font-size: var(--t-small); font-weight: 600; color: var(--accent-hover); min-height: 1.2em; }

/* ----- Request form + Printable Summary Drawer ----- */
.dispatch-grid { display: grid; gap: var(--s6); }
@media (min-width: 1040px) { .dispatch-grid { grid-template-columns: 1fr 1.7fr; gap: var(--s8); align-items: start; } }
.dispatch-intro .label { margin-bottom: var(--s2); }
.dispatch-intro h2 { margin-bottom: var(--s3); }
.dispatch-intro p:not(.label) { color: var(--mute); }
.contact-block { margin-top: var(--s5); font-size: var(--t-lead); font-weight: 700; line-height: 1; }
.contact-link { display: inline-flex; align-items: center; min-height: 48px; min-width: 44px; }
.request-form { background: var(--raise); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); }
@media (min-width: 768px) { .request-form { padding: var(--s6); } }
.form-grid { display: grid; gap: var(--s4); }
@media (min-width: 768px) { .form-grid { grid-template-columns: 1fr 1fr; } .field-wide { grid-column: 1 / -1; } }
.form-actions { margin-top: var(--s5); display: flex; flex-direction: column; gap: var(--s3); align-items: flex-start; }
.form-note { font-size: var(--t-small); color: var(--mute); }
.form-status { margin-top: var(--s4); font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--err); }
.form-status.is-ok { color: var(--ink); background: var(--accent-tint); padding: var(--s3) var(--s4); border-radius: var(--radius); }
.form-status a { display: inline-flex; align-items: center; min-height: 48px; }

.summary-drawer { margin-top: var(--s5); padding: var(--s4); background: var(--stone); border: 1px solid var(--line); border-radius: var(--radius); }
.summary-drawer h3 { margin-bottom: var(--s2); }
.summary-pre { background: var(--raise); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s3); font-family: Consolas, monospace; font-size: var(--t-small); white-space: pre-wrap; margin-bottom: var(--s3); }

/* ----- Footer (light) ----- */
.site-footer { background: var(--stone); border-top: 1px solid var(--line); padding-top: var(--s8); }
.footer-grid { display: grid; gap: var(--s6); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot-brand { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; margin-bottom: var(--s2); }
.foot-ids { margin-top: var(--s2); font-weight: 700; font-size: var(--t-small); }
.foot-title { font-family: var(--font-text); font-size: var(--t-label); font-weight: 700; font-stretch: 85%; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); margin-bottom: var(--s2); }
.foot-list { font-size: var(--t-small); }
.foot-list li { display: flex; align-items: center; min-height: 48px; }
.foot-list a { display: inline-flex; align-items: center; min-height: 48px; min-width: 44px; }
.foot-bottom { margin-top: var(--s6); padding-top: var(--s4); padding-bottom: var(--s5); border-top: 1px solid var(--line); font-size: var(--t-small); color: var(--mute); }
.foot-bottom a { display: inline-flex; align-items: center; min-height: 48px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .track-wrap, .biz-tabs, .action-row, .city-chips, .controls-panel, .site-footer { display: none; }
}

/* ----- Carrier & Broker Portal (JANE Light) ----- */
.portal-nav { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); }
.portal-nav .btn { padding: 0 var(--s4); white-space: nowrap; }
.portal-main { padding: var(--s7) var(--gutter) var(--s8); }
.portal-card { background: var(--raise); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: var(--s5); }
@media (min-width: 768px) { .portal-card { padding: var(--s6); } }
.portal-login { max-width: 460px; margin: var(--s5) auto; }
.portal-card .label { margin-bottom: var(--s1); }
.portal-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s4); }
.portal-sub { margin-top: var(--s2); margin-bottom: var(--s4); color: var(--mute); font-size: var(--t-small); }
.portal-msg { margin-top: var(--s3); font-size: var(--t-small); font-weight: 600; color: var(--err); }
.portal-msg:empty { display: none; }
.portal-msg.is-info { color: var(--ink); background: var(--accent-tint); padding: var(--s2) var(--s3); border-radius: var(--radius); }
.portal-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: var(--t-small); text-align: left; }
.portal-table th, .portal-table td { padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line); vertical-align: middle; }
.portal-table thead th { background: var(--stone); font-size: var(--t-label); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); }
.portal-pill { display: inline-flex; align-items: center; background: var(--accent-tint); color: var(--accent-hover); padding: var(--s1) var(--s3); border-radius: 4px; font-size: var(--t-label); font-weight: 700; }
.portal-status-select { min-height: 44px; min-width: 150px; padding: var(--s1) var(--s3); font-size: 1rem; font-weight: 600; }

/* ----- Studio Logo Review Board (/logos.html) ----- */
.logo-review-grid { display: grid; gap: var(--s5); }
@media (min-width: 640px) { .logo-review-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .logo-review-grid { grid-template-columns: repeat(4, 1fr); } }
.logo-review-card { background: var(--raise); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); display: flex; flex-direction: column; gap: var(--s3); }
.logo-review-active { border: 2px solid var(--accent); box-shadow: 0 10px 24px rgba(20, 32, 42, 0.06); }
.logo-review-card h2 { font-size: 1.375rem; }
.logo-stage { display: grid; place-items: center; padding: var(--s2) 0; }
.logo-nav-sim { display: flex; align-items: center; gap: var(--s3); padding: var(--s2) var(--s3); background: var(--stone); border-radius: var(--radius); }
.logo-nav-sim img { flex-shrink: 0; width: 44px; height: 44px; object-fit: contain; }
.logo-nav-sim .brand-name { font-size: 1.2rem; white-space: nowrap; }
.logo-sim-sub { font-size: var(--t-label); color: var(--mute); }
.logo-desc { font-size: var(--t-small); color: var(--mute); }
