/* NextGear Pilot & Safety Services — highway signage system.
   Banner yellow on true black, Overpass (a Highway Gothic descendant) throughout. */
:root {
  --banner: #ffd100;      /* OVERSIZE LOAD banner yellow */
  --banner-deep: #e8b800;
  --black: #000;
  --asphalt: #24272b;     /* road surface, secondary dark */
  --paper: #f6f5ef;       /* reflective sheeting white */
  --line: #c9c6b8;
  --stop: #c8211b;        /* STOP / VERIFY */
  --tight: #d96a00;       /* TIGHT */
  --watch: #1d6b45;       /* WATCH, guide-sign green */
  --ink: #000;
  --ink-soft: #3b3d40;
  --focus: #0050c8;
  --measure: 68ch;
  --gutter: 16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Overpass", "Highway Gothic", "Arial Narrow", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  padding-bottom: 72px; /* room for the mobile call bar */
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--banner-deep); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.08; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 9vw, 4.6rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 5.5vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 800; }
p { margin: 0 0 1em; max-width: var(--measure); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--banner); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header: a black sign blade with the company plate */
.site-head { background: var(--black); color: var(--paper); }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--paper); }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand b { color: var(--paper); display: block; font-weight: 900; font-size: 1.15rem; line-height: 1; }
.brand span { display: block; font-size: .82rem; color: var(--banner); font-weight: 700; line-height: 1.2; }
.nav { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav a { display: block; padding: 8px 10px; text-decoration: none; font-weight: 700; font-size: .98rem; color: var(--paper); border-bottom: 3px solid transparent; }
.nav a:hover { border-bottom-color: var(--banner); }
.nav a[aria-current="page"] { border-bottom-color: var(--banner); color: var(--banner); }

/* The banner: the one loud thing on each page */
.banner {
  background: var(--banner);
  border-top: 10px solid var(--black);
  border-bottom: 10px solid var(--black);
  padding: 40px 0 36px;
}
.banner h1 { max-width: 15ch; text-transform: none; }
.banner .lede { font-size: 1.2rem; font-weight: 600; max-width: 44ch; }
.banner .where { font-weight: 800; font-size: 1rem; margin-bottom: 18px; }
.plate { display: inline-block; background: var(--black); color: var(--banner); font-weight: 900; padding: 6px 12px 3px; letter-spacing: .06em; font-size: clamp(1rem, 3.6vw, 1.35rem); margin-bottom: 16px; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 20px;
  font: inherit; font-weight: 800; font-size: 1.05rem;
  text-decoration: none; cursor: pointer;
  border: 3px solid var(--black); border-radius: 4px;
  background: var(--black); color: var(--banner);
}
.btn:hover { background: var(--asphalt); }
.btn.alt { background: transparent; color: var(--black); }
.btn.alt:hover { background: rgba(0,0,0,.08); }
.btn.yellow { background: var(--banner); color: var(--black); }
.btn.yellow:hover { background: var(--banner-deep); }

section.band { padding: 48px 0; }
section.band.dark { background: var(--black); color: var(--paper); }
section.band.dark a { color: var(--banner); }
section.band.road { background: var(--asphalt); color: var(--paper); }
.intro { font-size: 1.15rem; }
.muted { color: var(--ink-soft); }
.dark .muted, .road .muted { color: #c8c8c0; }

/* Lane layout: content sits on a dashed lane line on wide screens */
.lanes { display: grid; gap: 28px; }
@media (min-width: 760px) {
  .lanes.two { grid-template-columns: 1fr 1fr; }
  .lanes.split { grid-template-columns: 5fr 7fr; align-items: start; }
}
.lane { border-left: 6px dashed var(--banner-deep); padding-left: 18px; }
.dark .lane, .road .lane { border-left-color: var(--banner); }

ul.plain { list-style: none; padding: 0; margin: 0 0 1em; }
ul.plain li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.dark ul.plain li, .road ul.plain li { border-bottom-color: #3d4045; }
ul.plain li:last-child { border-bottom: 0; }
ol.steps { padding-left: 1.4em; margin: 0 0 1em; }
ol.steps li { margin-bottom: 10px; padding-left: 4px; }
ol.steps li::marker { font-weight: 900; }

/* Price sign */
.price-sign { display: inline-block; background: var(--black); color: var(--paper); border: 4px solid var(--black); border-radius: 6px; padding: 14px 20px 10px; margin: 6px 0 18px; }
.price-sign strong { display: block; font-size: clamp(2.4rem, 10vw, 3.4rem); font-weight: 900; color: var(--banner); line-height: 1; }
.price-sign span { font-weight: 700; }

/* Clearance sample: rows read like a signed overpass list */
.sample { border: 3px solid var(--black); background: #fff; margin: 0 0 1em; }
.sample-head { background: var(--black); color: var(--banner); font-weight: 800; padding: 10px 14px; }
.sample-head small { display: block; color: var(--paper); font-weight: 600; font-size: .85rem; }
.sample table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.sample th, .sample td { text-align: left; padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.sample th { font-size: .85rem; color: var(--ink-soft); font-weight: 700; }
.sample td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tag { display: inline-block; padding: 3px 8px 1px; font-weight: 800; font-size: .85rem; color: #fff; border-radius: 3px; white-space: nowrap; }
.tag.stop { background: var(--stop); }
.tag.tight { background: var(--tight); }
.tag.watch { background: var(--watch); }
@media (max-width: 560px) {
  .sample thead { display: none; }
  .sample tr { display: block; border-top: 1px solid var(--line); padding: 8px 12px; }
  .sample td { display: block; border: 0; padding: 2px 0; }
}

.caveat { border: 3px solid var(--black); border-left-width: 14px; background: #fff8d6; padding: 14px 16px; margin: 1em 0; max-width: 72ch; }
.caveat p:last-child { margin-bottom: 0; }

.todo { background: #ffe1e1; border: 2px dashed var(--stop); padding: 2px 6px; font-weight: 700; }

/* Order form */
form.order { background: #fff; border: 3px solid var(--black); padding: 20px 16px; }
@media (min-width: 640px) { form.order { padding: 28px; } }
fieldset { border: 0; margin: 0 0 18px; padding: 0; }
legend { font-weight: 900; font-size: 1.15rem; margin-bottom: 8px; padding: 0; }
.grid { display: grid; gap: 12px; }
@media (min-width: 560px) { .grid.g2 { grid-template-columns: 1fr 1fr; } .grid.g4 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 559px) { .grid.g4 { grid-template-columns: 1fr 1fr; } }
label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 4px; }
label .opt { font-weight: 500; color: var(--ink-soft); }
input, textarea, select {
  width: 100%; font: inherit; font-size: 1rem; padding: 12px; min-height: 48px;
  border: 2px solid var(--asphalt); border-radius: 4px; background: #fff; color: var(--ink);
}
textarea { min-height: 96px; resize: vertical; }
input:focus, textarea:focus { outline: 3px solid var(--focus); outline-offset: 0; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .95rem; color: var(--ink-soft); }
.result { margin-top: 18px; padding: 16px; border: 3px solid var(--black); background: var(--banner); }
.result.fail { background: #fff; border-color: var(--stop); border-left-width: 14px; }
.result h3 { margin-top: 0; }
[hidden] { display: none !important; }

/* Footer */
.site-foot { background: var(--black); color: #d8d8d0; padding: 36px 0 28px; font-size: .95rem; }
.site-foot a { color: var(--banner); }
.site-foot .lanes { gap: 20px; }
.site-foot p { margin-bottom: .5em; }

/* Mobile call bar: the phone is the main tool on the road */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr 1fr; background: var(--black); border-top: 4px solid var(--banner); z-index: 5; }
.callbar a { color: var(--banner); text-decoration: none; font-weight: 800; text-align: center; padding: 14px 4px 12px; font-size: 1rem; }
.callbar a + a { border-left: 1px solid #333; }
@media (min-width: 900px) { .callbar { display: none; } body { padding-bottom: 0; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
.form-err { background: #ffe1e1; border-left: 8px solid var(--stop); padding: 10px 12px; font-weight: 700; }
