/* ============================================================
   NORTH COUNTY TRUCK ACCIDENT — "Rig Black" design system
   black cab · hazard orange · white markings · heavy condensed
   Zero external fonts. Zero JS beyond the year stamp.
   ============================================================ */

:root {
  --cab: #0C0E12;          /* black cab */
  --cab-2: #14171D;        /* raised black */
  --cab-3: #1B1F27;        /* card black */
  --cab-deep: #07080B;     /* deepest black */
  --hazard: #FF6B00;       /* hazard orange */
  --hazard-deep: #C45100;  /* AA orange on white */
  --hazard-bright: #FF8A3D;
  --hazard-tint: #FFF1E6;
  --mark: #F2F4F7;         /* white markings */
  --mark-2: #FAFBFC;       /* raised white */
  --fog: #9AA1AC;          /* muted on black */
  --ink: #12151B;          /* text on light */
  --ink-soft: #4A515C;
  --line-dark: #2A2F38;    /* hairlines on black */
  --line-light: #D8DDE3;   /* hairlines on white */

  --display: Impact, Haettenschweiler, "Arial Narrow Bold", "Franklin Gothic Medium Condensed", "Arial Black", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --hazard-band: repeating-linear-gradient(135deg, var(--hazard) 0 16px, var(--cab) 16px 32px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--mark);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: var(--hazard-deep); }
::selection { background: var(--hazard); color: #fff; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.display { font-family: var(--display); font-weight: 400; letter-spacing: .01em; text-transform: uppercase; }

/* ---------- signature: hazard chevron bands ---------- */
.hazard-band {
  height: 12px;
  background: var(--hazard-band);
  background-size: 45.25px 12px;
}
.hazard-band.thin { height: 6px; background-size: 22.62px 6px; }

/* ---------- kickers ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--hazard-deep);
}
.kicker::before {
  content: "";
  width: 10px; height: 10px;
  background: var(--hazard);
  flex: none;
}
.on-black .kicker, .kicker.on-black { color: var(--hazard-bright); }

/* ---------- header ---------- */
header.rig {
  background: var(--cab);
  color: var(--mark);
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--line-dark);
}
header.rig .brandrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--mark); }
.brand-logo { width: 46px; height: 46px; flex: none; }
.brand .stack { display: flex; flex-direction: column; line-height: 1.15; }
.brand .stack .nm {
  font-family: var(--display);
  font-size: 1.22rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #fff;
}
.brand .stack .sub { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fog); }
header.rig .right { display: flex; align-items: center; gap: 22px; }
header.rig .phone {
  font-family: var(--display);
  font-size: 1.28rem;
  letter-spacing: .04em;
  color: var(--hazard-bright);
  text-decoration: none;
  white-space: nowrap;
}
header.rig .phone:hover { color: #fff; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  font-weight: 800;
  font-size: .84rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-hazard { background: var(--hazard); color: #0A0B0E; }
.btn-hazard:hover { background: var(--hazard-bright); }
.btn-ghost { border-color: var(--fog); color: var(--mark); }
.btn-ghost:hover { border-color: var(--hazard); color: var(--hazard-bright); }
.btn-dark { background: var(--cab); color: #fff; }
.btn-dark:hover { background: var(--cab-3); }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: #fff; }

/* ---------- nav ---------- */
nav.main { background: var(--cab-2); border-top: 1px solid var(--line-dark); }
nav.main .wrap { display: flex; gap: 4px; flex-wrap: wrap; }
nav.main a {
  display: inline-block;
  padding: 12px 16px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fog);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
}
nav.main a:hover { color: #fff; }
nav.main a[aria-current="page"] { color: #fff; border-bottom-color: var(--hazard); }

/* ---------- hero ---------- */
.hero {
  background: var(--cab-deep);
  color: var(--mark);
  padding: 72px 0 76px;
  position: relative;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.5rem, 4.6vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: #fff;
  margin: 20px 0 22px;
}
.hero h1 .oz { color: var(--hazard-bright); }
.hero .sub { font-size: 1.06rem; color: #C7CCD4; max-width: 34rem; }
.hero .sub strong { color: #fff; }
.hero .ctas { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.hero .fine { margin-top: 24px; font-size: .8rem; color: var(--fog); display: flex; gap: 20px; flex-wrap: wrap; }
.hero .fine span::before { content: "■"; color: var(--hazard); margin-right: 8px; font-size: .6rem; vertical-align: 2px; }
.cab-plate {
  background: var(--cab);
  border: 1px solid var(--line-dark);
  position: relative;
}
.cab-plate .cap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line-dark);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fog);
  font-weight: 700;
}
.cab-plate .cap .oz { color: var(--hazard-bright); }
.cab-plate svg { display: block; width: 100%; height: auto; }
.cab-plate .foot {
  padding: 10px 16px;
  border-top: 1px solid var(--line-dark);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fog);
}

/* ---------- manifest strip ---------- */
.manifest-strip { background: var(--cab-2); color: var(--fog); border-top: 1px solid var(--line-dark); }
.manifest-strip .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 30px;
  padding: 16px 28px;
}
.manifest-strip .lbl { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 800; color: var(--fog); }
.manifest-strip .names { display: flex; gap: 26px; flex-wrap: wrap; font-family: var(--display); font-size: 1.02rem; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.manifest-strip .names .oz { color: var(--hazard-bright); }

/* ---------- sections ---------- */
section.zone { padding: 84px 0; }
section.zone.on-dark { background: var(--cab); color: var(--mark); }
section.zone.on-white { background: var(--mark-2); }
section.zone.on-plain { background: var(--mark); }
.zone-head { max-width: 46rem; margin-bottom: 46px; }
.zone-head h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.12;
  text-transform: uppercase;
  letter-spacing: .01em;
  color: var(--ink);
  margin: 14px 0 16px;
}
.on-dark .zone-head h2 { color: #fff; }
.on-dark .zone-head p, .zone-head p { color: var(--ink-soft); font-size: 1.02rem; }
.on-dark .zone-head p { color: #C7CCD4; }

/* ---------- statute chips ---------- */
.statcite {
  display: inline-block;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--hazard-deep);
  border: 2px solid var(--hazard);
  background: var(--hazard-tint);
  padding: 5px 12px;
}
.on-dark .statcite { color: var(--hazard-bright); background: transparent; }

/* ---------- waybill practice cards ---------- */
.waybills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.waybill {
  background: var(--mark-2);
  border: 1px solid var(--line-light);
  border-top: none;
  padding: 0 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
  text-decoration: none;
  color: var(--ink);
}
.waybill:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(12,14,18,.12); }
.waybill .top-band { height: 8px; background: var(--hazard-band); background-size: 30.16px 8px; margin: 0 -26px; }
.waybill .icon-plate {
  width: 64px; height: 64px;
  margin-top: 22px;
  background: var(--cab);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hazard-bright);
}
.waybill .icon-plate svg { width: 40px; height: 40px; }
.waybill h3 {
  font-family: var(--display);
  font-size: 1.3rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--ink);
}
.waybill p { font-size: .92rem; color: var(--ink-soft); }
.waybill .go { font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--hazard-deep); }

/* ---------- manifest ledger ---------- */
.ledger { border-top: 2px solid var(--ink); }
.ledger.on-dark { border-top-color: var(--line-dark); }
.mrow {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 20px;
  align-items: baseline;
  padding: 17px 4px;
  border-bottom: 1px solid var(--line-light);
}
.ledger.on-dark .mrow { border-bottom-color: var(--line-dark); }
.mrow .no { font-family: var(--display); font-size: 1rem; color: var(--hazard-deep); letter-spacing: .06em; }
.ledger.on-dark .mrow .no { color: var(--hazard-bright); }
.mrow .item { font-weight: 700; color: var(--ink); font-size: 1rem; }
.ledger.on-dark .mrow .item { color: #fff; }
.mrow .item small { display: block; font-weight: 400; font-size: .84rem; color: var(--ink-soft); margin-top: 2px; }
.ledger.on-dark .mrow .item small { color: var(--fog); }
.mrow .code { font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }
.ledger.on-dark .mrow .code { color: var(--fog); }

/* ---------- firm / portrait ---------- */
.firm-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.portrait-frame { position: relative; justify-self: center; max-width: 340px; }
.portrait-frame .offset { position: absolute; inset: 0; transform: translate(14px, 14px); background: var(--hazard); z-index: 0; }
.portrait-frame img { position: relative; z-index: 1; width: 100%; border: 1px solid var(--line-light); }
.portrait-frame .caption {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: -30px;
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--ink-soft);
}
.firm-copy h3 { font-family: var(--display); font-size: 1.5rem; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.firm-copy p { color: var(--ink-soft); margin-bottom: 14px; }
.pillars { display: grid; gap: 14px; margin-top: 24px; }
.pillar { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px solid var(--line-light); }
.pillar:last-child { border-bottom: none; padding-bottom: 0; }
.pillar .tick { width: 10px; height: 10px; background: var(--hazard); flex: none; margin-top: 8px; }
.pillar .t { font-weight: 800; color: var(--ink); }
.pillar .d { font-size: .9rem; color: var(--ink-soft); }

/* ---------- criminal mention strip ---------- */
.strip {
  border-top: 2px solid var(--line-dark);
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: .95rem;
  color: var(--fog);
}
.strip strong { color: #fff; }
.strip a { color: var(--hazard-bright); font-weight: 700; text-decoration: none; }
.strip a:hover { text-decoration: underline; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--cab-deep); color: var(--mark); padding: 72px 0; }
.cta-band .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-band h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.1;
  text-transform: uppercase;
  color: #fff;
}
.cta-band h2 .oz { color: var(--hazard-bright); }
.cta-band p { color: #C7CCD4; margin-top: 10px; max-width: 34rem; }
.cta-band .actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- interior page-hero ---------- */
.page-hero { background: var(--cab-deep); color: var(--mark); padding: 54px 0 50px; }
.crumbs { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fog); margin-bottom: 18px; }
.crumbs a { color: var(--fog); text-decoration: none; }
.crumbs a:hover { color: var(--hazard-bright); }
.crumbs .sep { color: var(--hazard); margin: 0 8px; }
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
  text-transform: uppercase;
  color: #fff;
  margin: 14px 0 16px;
}
.page-hero .lede { max-width: 44rem; color: #C7CCD4; font-size: 1.05rem; }

/* ---------- article ---------- */
article.zone { padding: 64px 0 80px; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 {
  font-family: var(--display);
  font-size: 1.7rem;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--ink);
  margin: 44px 0 14px;
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { font-size: 1.1rem; font-weight: 800; color: var(--ink); margin: 26px 0 8px; }
.prose p { color: var(--ink-soft); margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 16px 22px; color: var(--ink-soft); }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }
.prose .callout {
  border-left: 6px solid var(--hazard);
  background: var(--hazard-tint);
  padding: 18px 22px;
  margin: 26px 0;
  font-size: .96rem;
  color: var(--ink);
}
.prose .callout strong { color: var(--hazard-deep); }
.prose .law-box {
  border: 2px solid var(--ink);
  padding: 18px 22px;
  margin: 26px 0;
  font-size: .95rem;
  color: var(--ink-soft);
}
.prose .law-box .code { font-weight: 800; color: var(--hazard-deep); letter-spacing: .06em; text-transform: uppercase; font-size: .8rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--line-light); background: var(--mark-2); }
.faq-item h2 {
  font-size: 1.02rem;
  font-weight: 800;
  padding: 18px 22px;
  color: var(--ink);
  margin: 0;
}
.faq-item .a { padding: 0 22px 20px; color: var(--ink-soft); font-size: .95rem; }
.faq-item .a p { margin-bottom: 10px; }
.faq-item .a p:last-child { margin-bottom: 0; }
.faq-item .qno {
  font-family: var(--display);
  color: var(--hazard-deep);
  letter-spacing: .08em;
  font-size: .9rem;
  margin-right: 10px;
}

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 1040px; margin: 0 auto; }
.office { border-top: 2px solid var(--ink); padding-top: 20px; }
.office .city { font-family: var(--display); font-size: 1.5rem; text-transform: uppercase; color: var(--ink); }
.office .addr { color: var(--ink-soft); margin-top: 8px; font-size: .97rem; }
.office .tel { display: inline-block; margin-top: 12px; font-family: var(--display); font-size: 1.3rem; color: var(--hazard-deep); text-decoration: none; }
.office .tel:hover { text-decoration: underline; }
form.contact-form { display: grid; gap: 16px; }
form.contact-form label { font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
form.contact-form input, form.contact-form textarea, form.contact-form select {
  width: 100%;
  padding: 13px 15px;
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: 0;
}
form.contact-form input:focus, form.contact-form textarea:focus, form.contact-form select:focus {
  outline: none;
  border-color: var(--hazard);
  box-shadow: 0 0 0 3px var(--hazard-tint);
}
form.contact-form .note { font-size: .78rem; color: var(--ink-soft); }
.contact-direct { display: flex; gap: 36px; flex-wrap: wrap; margin-top: 30px; font-weight: 700; }
.contact-direct a { color: var(--hazard-deep); text-decoration: none; }
.contact-direct a:hover { text-decoration: underline; }

/* ---------- footer ---------- */
footer.site { background: var(--cab-deep); color: var(--fog); padding: 56px 0 40px; border-top: 1px solid var(--line-dark); }
footer.site .cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 40px; }
footer.site h4 {
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--hazard-bright);
  margin-bottom: 16px;
}
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 7px; }
footer.site a { color: var(--fog); text-decoration: none; font-size: .86rem; }
footer.site a:hover { color: #fff; text-decoration: underline; }
footer.site .self { color: #fff; font-weight: 700; font-size: .86rem; }
footer.site .firm-blurb { font-size: .86rem; line-height: 1.7; }
footer.site .firm-blurb .nm { font-family: var(--display); font-size: 1.05rem; text-transform: uppercase; color: #fff; letter-spacing: .03em; }
footer.site .firm-blurb img { height: 40px; margin-bottom: 12px; }
footer.site .legal {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: .74rem;
  color: var(--fog);
}
footer.site .legal .phone { color: var(--hazard-bright); font-weight: 800; text-decoration: none; font-size: .9rem; }
footer.site .legal .phone:hover { text-decoration: underline; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 110px 0; }
.notfound .code {
  font-family: var(--display);
  font-size: clamp(5rem, 16vw, 10rem);
  line-height: 1;
  color: var(--cab);
  letter-spacing: .02em;
}
.notfound .code .oz { color: var(--hazard); }
.notfound h1 { font-family: var(--display); text-transform: uppercase; font-size: 1.7rem; color: var(--ink); margin: 18px 0 14px; }
.notfound p { color: var(--ink-soft); max-width: 30rem; margin: 0 auto 26px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .firm-grid { grid-template-columns: 1fr; gap: 44px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .waybills { grid-template-columns: 1fr 1fr; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
  .mrow { grid-template-columns: 60px 1fr; }
  .mrow .code { grid-column: 2; }
}
@media (max-width: 620px) {
  .waybills { grid-template-columns: 1fr; }
  footer.site .cols { grid-template-columns: 1fr; }
  header.rig .brand .stack .sub { display: none; }
  header.rig .right .btn { display: none; }
  header.rig .phone { font-size: 1.05rem; }
  .wrap { padding: 0 20px; }
  section.zone { padding: 60px 0; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .waybill { transition: none; }
  .waybill:hover { transform: none; }
  * { transition-duration: 0.01ms !important; }
}
