/* Lowery's Wrecker Service — Dyersburg roadside field guide.
   Forest green, safety lime, utility cream. Barlow Condensed + Atkinson Hyperlegible.
   Offset panels, tow-strap diagonals, full-width local-road photography. */
:root {
  --bg: #f3f0e6;
  --paper: #fffdf5;
  --ink: #102c27;
  --ink-2: #173b34;
  --text: #223b36;
  --muted: #61716c;
  --signal: #d8f238;
  --signal-dark: #a5bd16;
  --rust: #b8492f;
  --line: rgba(16, 44, 39, .17);
  --light-line: rgba(255, 253, 245, .18);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Atkinson Hyperlegible", Arial, sans-serif;
  --wrap: 1160px;
  --gutter: 24px;
  --header: 74px;
  --mobile-cta: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light; }
[id] { scroll-margin-top: calc(var(--header) + 18px); }
body, h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

body {
  min-height: 100vh;
  padding-bottom: var(--mobile-cta);
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.58;
}

.wrap { width: min(var(--wrap), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.skip-link { position: fixed; top: -60px; left: 14px; z-index: 100; padding: 10px 14px; background: var(--signal); color: var(--ink); font-weight: 700; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; }

h1, h2, h3, .logo-text, .stat b, .footer-brand {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  line-height: .98;
  text-transform: uppercase;
}
h1 { max-width: 12ch; font-size: clamp(3.4rem, 9vw, 7.8rem); letter-spacing: -.035em; }
h2 { max-width: 16ch; font-size: clamp(2.25rem, 5vw, 4.25rem); letter-spacing: -.025em; }
h3 { margin-bottom: 8px; font-size: 1.55rem; letter-spacing: .01em; }
.lede { max-width: 46rem; margin-top: 18px; color: var(--muted); font-size: 1.1rem; }
.muted, .fineprint, .media-caption, .form-note, .form-status { color: var(--muted); font-size: .93rem; }
.mt-10 { margin-top: 10px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.text-link { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--rust); text-underline-offset: 3px; }

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--rust);
  font-family: var(--display);
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.kicker::before { content: ""; width: 38px; height: 5px; background: repeating-linear-gradient(135deg, var(--signal) 0 8px, var(--ink) 8px 12px); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--header);
  background: rgba(16, 44, 39, .96);
  color: var(--paper);
  border-bottom: 5px solid var(--signal);
  backdrop-filter: blur(12px);
}
.header-inner { min-height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.logo { min-width: 0; display: flex; align-items: center; gap: 12px; }
.logo img { width: 44px; height: 44px; flex: 0 0 auto; }
.logo-text { display: flex; flex-direction: column; color: var(--paper); font-size: 1.18rem; letter-spacing: .04em; }
.logo-text span { color: var(--signal); font-family: var(--body); font-size: .68rem; font-weight: 700; letter-spacing: .16em; line-height: 1.3; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { padding: 9px 11px; color: rgba(255,253,245,.78); font-family: var(--display); font-size: .96rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--signal); }
.header-cta { margin-left: 8px; background: var(--signal); color: var(--ink) !important; transform: skew(-5deg); }
.nav-toggle { display: none; width: 46px; height: 44px; padding: 11px; border: 1px solid var(--light-line); background: transparent; color: var(--paper); cursor: pointer; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: currentColor; }

.hero {
  position: relative;
  min-height: min(850px, calc(100vh - var(--header)));
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 57% 48%; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(6,26,22,.92) 0%, rgba(6,26,22,.73) 45%, rgba(6,26,22,.1) 79%), linear-gradient(0deg, rgba(6,26,22,.74), transparent 50%);
}
.hero-inner { width: min(var(--wrap), calc(100% - var(--gutter) * 2)); margin-inline: auto; padding: 78px 0 72px; color: var(--paper); }
.hero h1 { color: var(--paper); text-shadow: 0 3px 24px rgba(0,0,0,.26); }
.hero h1 em { display: block; color: var(--signal); font-style: normal; }
.hero .lede { max-width: 39rem; color: rgba(255,253,245,.8); }
.hero .kicker { color: var(--signal); }
.hero .kicker::before { background: repeating-linear-gradient(135deg, var(--signal) 0 8px, var(--paper) 8px 12px); }
.hero-note { max-width: 48rem; margin-top: 18px; color: rgba(255,253,245,.64); font-size: .82rem; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 19px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transform: skew(-4deg);
}
.btn:hover { background: var(--ink-2); }
.btn-signal { border-color: var(--signal); background: var(--signal); color: var(--ink); }
.btn-signal:hover { border-color: var(--paper); background: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); }
.hero .btn-ghost, .final-cta .btn-ghost { border-color: rgba(255,253,245,.5); color: var(--paper); }
.hero .btn-ghost:hover, .final-cta .btn-ghost:hover { background: rgba(255,255,255,.1); }

.trust-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.trust-chip { padding: 7px 11px; border-left: 5px solid var(--signal); background: rgba(16,44,39,.82); color: var(--paper); font-family: var(--display); font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }

.stats { background: var(--signal); color: var(--ink); border-bottom: 1px solid rgba(16,44,39,.22); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { min-height: 120px; padding: 25px 22px; border-right: 1px solid rgba(16,44,39,.22); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: clamp(2rem, 4vw, 3.15rem); }
.stat span { display: block; margin-top: 5px; font-family: var(--display); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.section { padding: 94px 0; }
.section-alt { background: var(--paper); }
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark h2, .section-dark h3 { color: var(--paper); }
.section-dark .lede, .section-dark .muted { color: rgba(255,253,245,.7); }
.section-head { max-width: 48rem; margin-bottom: 38px; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.split-start { align-items: start; }
.split-copy p + p { margin-top: 16px; }

.media-frame { position: relative; background: var(--ink); box-shadow: 18px 18px 0 var(--signal); overflow: hidden; }
.media-frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.media-caption { padding: 11px 14px; background: var(--ink); color: rgba(255,253,245,.7); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { min-height: 230px; padding: 27px 24px; background: var(--paper); border: 1px solid var(--line); border-top: 8px solid var(--ink); }
.card-feature { background: var(--signal); border-top-color: var(--rust); }
.card-index { margin-bottom: 28px; color: var(--rust); font-family: var(--display); font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.card p { color: var(--muted); }
.card-feature p { color: var(--text); }

.equipment { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 590px; background: var(--ink); color: var(--paper); }
.equipment-media img { width: 100%; height: 100%; min-height: 590px; object-fit: cover; }
.equipment-copy { padding: 76px max(28px, calc((100vw - var(--wrap)) / 2)); padding-left: 54px; align-self: center; }
.equipment h2 { color: var(--paper); }
.equipment .lede, .equipment .fineprint { color: rgba(255,253,245,.72); }
.equipment .kicker { color: var(--signal); }

.req-list { display: grid; gap: 10px; margin-top: 22px; }
.req-list li { position: relative; padding: 12px 14px 12px 44px; border: 1px solid var(--line); background: var(--paper); }
.req-list li::before { content: "→"; position: absolute; left: 15px; color: var(--rust); font-weight: 700; }
.section-dark .req-list li { border-color: var(--light-line); background: rgba(255,255,255,.05); }

.page-hero { position: relative; padding: 76px 0 48px; overflow: hidden; background: var(--paper); border-bottom: 9px solid var(--signal); }
.page-hero::after { content: "51 / 412"; position: absolute; right: 2vw; bottom: -18px; color: rgba(16,44,39,.06); font-family: var(--display); font-size: clamp(5rem, 15vw, 13rem); font-weight: 700; line-height: .8; }
.page-hero h1 { position: relative; z-index: 1; font-size: clamp(3.2rem, 7vw, 6rem); }

.spec { width: 100%; border-top: 8px solid var(--ink); background: var(--paper); }
.spec div { display: grid; grid-template-columns: 210px 1fr; border-bottom: 1px solid var(--line); }
.spec dt, .spec dd { padding: 15px 18px; }
.spec dt { background: rgba(216,242,56,.35); font-family: var(--display); font-size: .84rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.form { position: relative; display: grid; gap: 17px; padding: 30px; border: 1px solid var(--line); border-top: 8px solid var(--signal); background: var(--paper); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
label { color: var(--ink); font-family: var(--display); font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
input, textarea, select { width: 100%; padding: 12px 13px; border: 1px solid rgba(16,44,39,.32); background: var(--bg); color: var(--text); }
textarea { min-height: 130px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(216,242,56,.72); border-color: var(--ink); }
.form-status[data-state="ok"] { color: #216242; }
.form-status[data-state="err"] { color: #9b281e; }

.contact-panel { padding: 28px; background: var(--ink); color: var(--paper); border-left: 10px solid var(--signal); }
.dl { display: grid; gap: 17px; }
.dl div { padding-bottom: 15px; border-bottom: 1px solid var(--light-line); }
.dl div:last-child { padding-bottom: 0; border: 0; }
.dl dt { margin-bottom: 4px; color: var(--signal); font-family: var(--display); font-size: .78rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.dl dd { overflow-wrap: anywhere; }

.final-cta { padding: 86px 0; background: var(--rust); color: var(--paper); }
.final-cta h2, .final-cta .kicker { color: var(--paper); }
.final-cta .kicker::before { background: repeating-linear-gradient(135deg, var(--signal) 0 8px, var(--paper) 8px 12px); }
.final-cta .lede { color: rgba(255,253,245,.82); }

.site-footer { padding: 54px 0 30px; background: #081c18; color: rgba(255,253,245,.64); border-top: 5px solid var(--signal); }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr 1.25fr 1fr; gap: 30px; }
.footer-brand { color: var(--paper); font-size: 1.25rem; letter-spacing: .04em; }
.footer-nav { display: grid; gap: 8px; align-content: start; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--signal); }
.footer-meta { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--light-line); font-size: .84rem; }
.mobile-cta { display: none; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  :root { --gutter: 19px; --header: 68px; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: var(--header); left: 0; right: 0; padding: 8px var(--gutter) 18px; background: var(--ink); border-bottom: 5px solid var(--signal); flex-direction: column; align-items: stretch; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 4px; border-bottom: 1px solid var(--light-line); }
  .header-cta { margin: 10px 0 0; text-align: center; border: 0 !important; }
  .split, .equipment { grid-template-columns: 1fr; }
  .equipment-media img { min-height: 420px; }
  .equipment-copy { padding: 58px var(--gutter); }
  .cards { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --mobile-cta: 62px; }
  body { font-size: 16px; }
  .hero { min-height: 720px; }
  .hero::after { background: linear-gradient(0deg, rgba(6,26,22,.94) 0%, rgba(6,26,22,.67) 68%, rgba(6,26,22,.24)); }
  .hero-inner { padding: 260px 0 48px; }
  h1 { font-size: clamp(3.2rem, 17vw, 5rem); }
  .stats-grid, .cards, .form-grid, .footer-grid, .spec div { grid-template-columns: 1fr; }
  .stat { min-height: 0; border-right: 0; border-bottom: 1px solid rgba(16,44,39,.2); }
  .stat:last-child { border-bottom: 0; }
  .field-full { grid-column: auto; }
  .spec dt { padding-bottom: 5px; }
  .spec dd { padding-top: 5px; }
  .section { padding: 68px 0; }
  .media-frame { box-shadow: 10px 10px 0 var(--signal); }
  .mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); border-top: 3px solid var(--signal); }
  .mobile-cta a { min-height: 59px; display: grid; place-items: center; color: var(--paper); font-family: var(--display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .mobile-cta a:last-child { background: var(--signal); color: var(--ink); }
}

@media (max-width: 430px) {
  .logo-text { font-size: 1rem; }
  .cta-row .btn { width: 100%; }
  .form, .contact-panel { padding: 23px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
