/* ============================================================
   BF RACING & HAULING LLC — highway mile-marker system
   Palette: asphalt black / paper white / interstate green
   All text uses solid colors — no transparency.
   ============================================================ */

:root {
  --bg: #0a0b0c;
  --bg-2: #0e1012;
  --panel: #121416;
  --panel-2: #191c1f;
  --ink: #f2f4ef;
  --muted: #adb5a9;
  --faint: #65705f;
  --accent: #2ea44f;
  --accent-deep: #238240;
  --accent-ink: #0a220f;
  --line: #1d2124;
  --line-2: #2c3338;
  --disp: "Kanit", "Arial Black", sans-serif;
  --sans: "Hanken Grotesk", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --wrap: 1260px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: var(--accent-ink); }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 36px; }

/* lane-line divider */
.laneline {
  height: 0;
  border-top: 3px dashed var(--line-2);
  margin: 0;
}
.laneline-g { border-top-color: var(--accent); }

/* route shield */
.shield {
  display: inline-grid;
  place-items: center;
  width: 54px; height: 58px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 10px;
  clip-path: polygon(10% 0, 90% 0, 100% 22%, 92% 78%, 50% 100%, 8% 78%, 0 22%);
  font-family: var(--disp);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: .02em;
}
.shield.green { background: var(--accent); color: var(--accent-ink); }

/* ================= HEADER ================= */
.hdr {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.hdr-in {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 36px;
  height: 84px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.hdr-brand { display: flex; align-items: center; gap: 16px; }
.hdr-brand .sh {
  width: 52px; height: 56px;
  background: var(--accent);
  clip-path: polygon(10% 0, 90% 0, 100% 22%, 92% 78%, 50% 100%, 8% 78%, 0 22%);
  display: grid;
  place-items: center;
  font-family: var(--disp);
  font-weight: 700;
  font-size: 18px;
  color: var(--accent-ink);
}
.hdr-brand .nm {
  font-family: var(--disp);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: 1.05;
}
.hdr-brand .nm small {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .28em;
  color: var(--faint);
  font-weight: 400;
  margin-top: 5px;
}
.hdr-nav { display: flex; margin-left: auto; gap: 4px; }
.hdr-nav a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 12px 15px;
  border-bottom: 2px solid transparent;
}
.hdr-nav a:hover { color: var(--ink); }
.hdr-nav a.on { color: var(--accent); border-bottom-color: var(--accent); }
.hdr-cta {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--accent-ink) !important;
  padding: 14px 24px;
  margin-left: 10px;
  border-radius: 4px;
}
.hdr-cta:hover { background: var(--accent-deep); }
.hdr-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  width: 46px; height: 46px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.hdr-toggle span { width: 20px; height: 2px; background: var(--ink); display: block; }

/* ================= HERO ================= */
.hero { border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 26px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 90px, transparent 90px 150px);
  opacity: .9;
}
.hero-in { max-width: var(--wrap); margin: 0 auto; padding: 108px 36px 130px; position: relative; z-index: 2; }
.hero-tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 34px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-tag i { font-style: normal; color: var(--faint); }
.hero h1 {
  font-family: var(--disp);
  font-weight: 600;
  font-size: clamp(52px, 7.6vw, 110px);
  line-height: .96;
  letter-spacing: .005em;
  text-transform: uppercase;
  max-width: 1080px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lede {
  margin-top: 36px;
  max-width: 600px;
  font-size: 18px;
  color: var(--muted);
}
.hero-cta { margin-top: 42px; display: flex; gap: 16px; flex-wrap: wrap; }

/* mile-marker strip */
.hero-miles {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  overflow: hidden;
  width: fit-content;
}
.hero-miles .mm {
  padding: 16px 24px;
  border-right: 1px solid var(--line-2);
  background: var(--bg-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--muted);
  position: relative;
}
.hero-miles .mm:last-child { border-right: 0; }
.hero-miles .mm::before {
  content: "";
  display: block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-bottom: 8px;
}
.hero-miles .mm b { display: block; color: var(--ink); font-weight: 700; font-size: 13px; margin-bottom: 2px; }

.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 18px 34px;
  border-radius: 4px;
  background: var(--accent);
  color: var(--accent-ink);
  transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--accent-deep); color: var(--accent-ink); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: transparent; transform: translateY(-2px); }

/* ================= SECTION HEADS ================= */
.sect { border-bottom: 1px solid var(--line); padding: 92px 0; }
.shead {
  display: flex;
  align-items: baseline;
  gap: 26px;
  margin-bottom: 58px;
  flex-wrap: wrap;
}
.shead .ex {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: 4px;
  padding: 8px 16px;
  white-space: nowrap;
  font-weight: 700;
}
.shead h2 {
  font-family: var(--disp);
  font-weight: 600;
  font-size: clamp(40px, 5.6vw, 70px);
  line-height: .96;
  text-transform: uppercase;
}
.shead h2 em { font-style: normal; color: var(--accent); }
.shead .sub {
  margin-left: auto;
  max-width: 360px;
  color: var(--muted);
  font-size: 15px;
}

/* ================= MILE-MARKER CARDS ================= */
.markers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mk {
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: var(--panel);
  transition: border-color .2s ease, transform .2s ease;
  overflow: hidden;
}
.mk:hover { border-color: var(--accent); transform: translateY(-4px); }
.mk .post {
  background: var(--panel-2);
  border-bottom: 1px solid var(--line);
  padding: 16px 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mk .post span.d { color: var(--faint); font-size: 10px; }
.mk .body { padding: 30px 28px 40px; }
.mk h3 {
  font-family: var(--disp);
  font-weight: 600;
  font-size: 30px;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 12px;
}
.mk p { color: var(--muted); font-size: 14.5px; }
.mk .meta {
  display: block;
  margin-top: 24px;
  padding-top: 14px;
  border-top: 3px dashed var(--line-2);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ================= LANE TABLE ================= */
.lane-t { border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; }
.ln {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 20px 30px;
  border-bottom: 3px dashed var(--line);
  font-size: 15px;
}
.ln:last-child { border-bottom: 0; }
.ln:nth-child(odd) { background: var(--bg-2); }
.ln:hover { background: var(--panel-2); }
.ln .lc {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--accent);
}
.ln .ls {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ln.hd {
  background: var(--panel-2);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--faint);
  border-bottom-style: solid;
}

/* ================= STATS ================= */
.odometer { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; }
.odo {
  padding: 42px 30px;
  border-right: 1px solid var(--line);
  background: var(--panel);
}
.odo:last-child { border-right: 0; }
.odo:nth-child(even) { background: var(--bg-2); }
.odo .ol {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}
.odo b {
  font-family: var(--disp);
  font-weight: 700;
  font-size: 62px;
  line-height: .95;
  letter-spacing: .02em;
}
.odo b i { color: var(--accent); font-style: normal; }
.odo span {
  display: block;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ================= SPLIT / PROSE / NOTE ================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.prose p { color: var(--muted); margin-bottom: 20px; }
.prose p strong { color: var(--ink); font-weight: 700; }

.manifest-note {
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: var(--panel);
  padding: 42px 38px;
  position: relative;
}
.manifest-note::before {
  content: "";
  position: absolute;
  top: 26px; right: 26px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
}
.manifest-note .mt {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}
.manifest-note p {
  font-family: var(--disp);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.16;
  text-transform: uppercase;
}
.manifest-note p em { color: var(--accent); font-style: normal; }
.manifest-note span.sig {
  display: block;
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ================= SHEET ================= */
.sheet { border: 1px solid var(--line-2); border-radius: 8px; background: var(--panel); overflow: hidden; }
.sheet-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 1px solid var(--line);
}
.sheet-row:last-child { border-bottom: 0; }
.sheet-row .k {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 19px 24px;
  border-right: 1px solid var(--line);
  background: var(--bg-2);
}
.sheet-row .v { padding: 19px 24px; font-size: 15px; }
.sheet-row .v a { color: var(--accent); }
.sheet-row .v a:hover { color: var(--ink); }

/* ================= CATALOG ================= */
.catalog { border-top: 2px solid var(--line-2); }
.catg { border-bottom: 1px solid var(--line-2); }
.catg-head {
  width: 100%;
  background: none;
  border: 0;
  color: var(--ink);
  font-family: var(--sans);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 24px;
  text-align: left;
  padding: 27px 10px;
}
.catg-head .ctag {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: 6px;
  padding: 8px 14px;
  white-space: nowrap;
  min-width: 104px;
  text-align: center;
}
.catg-head h3 {
  font-family: var(--disp);
  font-weight: 600;
  font-size: 31px;
  text-transform: uppercase;
  flex: 1;
}
.catg-head .n { font-family: var(--mono); font-size: 11px; color: var(--faint); letter-spacing: .14em; text-transform: uppercase; }
.catg-head .pm { font-size: 24px; color: var(--accent); font-weight: 300; transition: transform .25s ease; width: 30px; text-align: center; }
.catg.open .catg-head .pm { transform: rotate(45deg); }
.catg-body { display: none; padding: 4px 10px 44px 10px; }
.catg.open .catg-body { display: block; }
.catg-body .desc {
  color: var(--muted);
  max-width: 780px;
  margin-bottom: 26px;
  font-size: 15px;
  padding-left: 18px;
  border-left: 3px solid var(--accent);
}
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: var(--bg-2);
  padding: 9px 15px;
  transition: border-color .2s ease, color .2s ease;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }

/* ================= ROUTE STEPS ================= */
.exits { border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; }
.ext {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 3px dashed var(--line);
}
.ext:last-child { border-bottom: 0; }
.ext .xl {
  border-right: 1px solid var(--line-2);
  padding: 32px 24px;
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
}
.ext .xl b {
  font-family: var(--disp);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: .02em;
  color: var(--accent);
  line-height: 1;
  text-transform: uppercase;
}
.ext .xl i {
  font-style: normal;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--faint);
}
.ext .xr { padding: 30px 38px; }
.ext h3 { font-family: var(--disp); font-weight: 600; font-size: 28px; text-transform: uppercase; margin-bottom: 9px; }
.ext p { color: var(--muted); font-size: 15px; max-width: 720px; }

/* ================= FORM ================= */
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 9px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  padding: 15px 18px;
  outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field textarea { min-height: 150px; resize: vertical; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { font-size: 12px; color: var(--faint); margin-top: 16px; font-family: var(--mono); }

/* ================= LEGAL ================= */
.legal { max-width: 860px; }
.legal h2 {
  font-family: var(--disp);
  font-weight: 600;
  font-size: 34px;
  text-transform: uppercase;
  margin: 54px 0 16px;
  padding-top: 40px;
  border-top: 1px solid var(--line-2);
}
.legal h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.legal h3 { font-size: 16px; margin: 26px 0 10px; font-weight: 700; }
.legal p { color: var(--muted); margin-bottom: 15px; font-size: 15px; }
.legal ul { margin: 0 0 15px 22px; color: var(--muted); font-size: 15px; }
.legal li { margin-bottom: 7px; }
.legal li::marker { color: var(--accent); }
.legal strong { color: var(--ink); font-weight: 700; }
.legal a { color: var(--accent); }
.legal a:hover { color: var(--ink); }
.stamp {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  padding: 10px 18px;
  margin-bottom: 46px;
}

/* ================= PAGE HEAD ================= */
.pagehead { padding: 110px 0 80px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.crumbs {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 32px;
}
.crumbs a { color: var(--faint); }
.crumbs a:hover { color: var(--accent); }
.pagehead h1 {
  font-family: var(--disp);
  font-weight: 600;
  font-size: clamp(52px, 7vw, 100px);
  line-height: .94;
  text-transform: uppercase;
}
.pagehead h1 em { color: var(--accent); font-style: normal; }
.pagehead .lede { margin: 34px 0 0; max-width: 680px; color: var(--muted); font-size: 18px; }

/* ================= CTA ================= */
.cta-band { padding: 96px 0; }
.cta-band h2 {
  font-family: var(--disp);
  font-weight: 600;
  font-size: clamp(44px, 6.4vw, 84px);
  line-height: .96;
  text-transform: uppercase;
}
.cta-band h2 em { color: var(--accent); font-style: normal; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 28px 0 42px; font-size: 16.5px; }

/* ================= FOOTER ================= */
.foot { background: var(--bg-2); border-top: 1px solid var(--line); }
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding: 62px 0 50px;
}
.foot-word {
  font-family: var(--disp);
  font-weight: 600;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: .98;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.foot-word span { color: var(--accent); }
.foot-brand p { color: var(--muted); font-size: 14px; max-width: 340px; }
.foot-col h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 700;
  margin-bottom: 20px;
}
.foot-col a, .foot-col p { display: block; color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.foot-col a:hover { color: var(--accent); }
.foot-col p b {
  display: block;
  color: var(--ink);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.foot-base {
  border-top: 3px dashed var(--line-2);
  margin-top: 6px;
  padding: 24px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
}
.foot-base a { color: var(--faint); margin-left: 20px; }
.foot-base a:hover { color: var(--accent); }

/* ================= REVEAL ================= */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1020px) {
  .hero-miles { flex-direction: column; }
  .hero-miles .mm { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .hero-miles .mm:last-child { border-bottom: 0; }
  .markers { grid-template-columns: 1fr; }
  .odometer { grid-template-columns: 1fr 1fr; }
  .odo:nth-child(2) { border-right: 0; }
  .odo:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .ext { grid-template-columns: 1fr; }
  .ext .xl { border-right: 0; border-bottom: 3px dashed var(--line); flex-direction: row; align-items: center; gap: 14px; padding: 18px 24px; }
  .ln { grid-template-columns: 1fr; gap: 8px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .wrap, .hdr-in, .hero-in { padding-left: 20px; padding-right: 20px; }
  .hdr-nav {
    position: fixed;
    inset: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 26px;
    transform: translateY(-100%);
    transition: transform .35s ease;
    z-index: 90;
  }
  .hdr-nav.open { transform: none; }
  .hdr-nav a { font-size: 18px; }
  .hdr-cta { display: none; }
  .hdr-toggle { display: flex; }
  .sect { padding: 64px 0; }
  .frow { grid-template-columns: 1fr; }
  .sheet-row { grid-template-columns: 1fr; }
  .sheet-row .k { border-right: 0; border-bottom: 1px solid var(--line); }
  .catg-head .n { display: none; }
  .catg-head .ctag { min-width: 72px; }
  .foot-grid { grid-template-columns: 1fr; }
}
