:root {
  --bg-deep: #14100e;
  --bg: #1a1614;
  --surface: #221d1a;
  --surface-alt: #2a2320;
  --surface-lift: #2f2825;
  --text: #f0e8dc;
  --text-strong: #ffffff;
  --muted: #a89e8f;
  --border: #3a322c;
  --scarlet: #7a1616;
  --scarlet-hover: #661212;
  --scarlet-deep: #4d0c0c;
  --silver-1: #ada9a5;
  --silver-2: #979390;
  --silver-3: #86827f;
  --silver-4: #65616a;
  --silver-5: #5a565e;
  --silver-edge: #423e46;
  --silver-ink: #1a1614;
  --navy: #24344a;
  --navy-deep: #14202f;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow: 0 2px 6px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.28);
  --shadow-hover: 0 4px 14px rgba(0, 0, 0, 0.5), 0 16px 40px rgba(0, 0, 0, 0.36);
  --max-w: 1120px;
  --max-w-narrow: 720px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; color: var(--text-strong); }
h1 { font-size: clamp(2.25rem, 4vw + 1rem, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem); font-weight: 650; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--text-strong); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: var(--scarlet); }
a:hover { color: var(--scarlet); text-decoration-color: var(--scarlet-hover); }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: var(--max-w-narrow); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--scarlet); color: #fff; padding: .5rem 1rem; z-index: 1000; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* HEADER */
.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
  background: rgba(20, 16, 14, 0.82);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.brand {
  font-weight: 700; font-size: 1.25rem; text-decoration: none;
  color: var(--text-strong); display: inline-flex; align-items: baseline; gap: .35rem;
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--text-strong); }
.brand-mark {
  background: linear-gradient(90deg,
    var(--silver-4) 0%,
    var(--silver-2) 22%,
    var(--silver-1) 50%,
    var(--silver-3) 78%,
    var(--silver-5) 100%);
  color: var(--silver-ink);
  padding: .22rem .58rem; border-radius: 4px; font-size: 1rem;
  letter-spacing: 0.06em; font-weight: 800;
  border: 1px solid var(--silver-edge);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.35),
    0 1px 2px rgba(0, 0, 0, 0.55);
}
.brand-word { color: var(--text-strong); }
.site-header nav { display: flex; gap: 1.75rem; }
.site-header nav a {
  color: var(--text); text-decoration: none; font-weight: 500; font-size: .95rem;
  padding: .25rem 0; border-bottom: 2px solid transparent;
}
.site-header nav a:hover { color: var(--scarlet); }
.site-header nav a[aria-current="page"] { border-bottom-color: var(--scarlet); color: var(--text-strong); }

/* HERO */
.hero {
  position: relative; overflow: hidden;
  isolation: isolate;
  min-height: 460px;
  max-height: 620px;
  aspect-ratio: 2500 / 1200;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 16, 14, 0.30) 0%, transparent 22%, transparent 78%, rgba(74, 8, 8, 0.55) 100%),
    url("/assets/hero.jpg") center 40%/cover no-repeat var(--bg-deep);
}
.hero-band {
  background:
    radial-gradient(ellipse 80% 60% at 50% 18%, rgba(122, 22, 22, 0.36) 0%, transparent 70%),
    linear-gradient(180deg, #150606 0%, #0a0303 100%);
  color: #f5efe6;
  padding: 3.25rem 0 3.5rem;
  text-align: center;
  border-top: 1px solid rgba(120, 20, 20, 0.35);
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
}
.hero-band h1 {
  color: #ffffff;
  margin: 0 0 .75rem;
  font-size: clamp(2rem, 3vw + 1rem, 3rem);
}
.hero-band .lede {
  color: #f5efe6;
  max-width: 640px;
  margin: 0 auto 1.75rem;
  font-size: 1.15rem;
  line-height: 1.55;
}
.hero-band .cta-row { justify-content: center; margin-top: 0; }
.hero-band .btn-ghost { border-color: rgba(255, 255, 255, 0.65); color: #ffffff; }
.hero-band .btn-ghost:hover { background: rgba(255, 255, 255, 0.10); color: #ffffff; border-color: #ffffff; }
.hero .lede { font-size: 1.2rem; color: var(--text); max-width: 620px; margin-bottom: 2rem; }

/* PAGE HERO */
.page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 0 3rem;
}
.page-hero .lede { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.12em; font-size: .8rem;
  font-weight: 600; color: var(--scarlet); margin-bottom: .5rem;
}
.lede { font-size: 1.15rem; line-height: 1.55; }

/* BUTTONS */
.btn {
  display: inline-block; font-weight: 600; padding: .85rem 1.4rem;
  border-radius: var(--radius); text-decoration: none; border: 2px solid transparent;
  transition: transform .08s ease, background .15s ease, color .15s ease, border-color .15s ease;
  cursor: pointer; font-size: 1rem; line-height: 1;
}
.btn-primary {
  background: linear-gradient(90deg,
    var(--silver-4) 0%,
    var(--silver-1) 18%,
    var(--silver-2) 42%,
    var(--silver-1) 58%,
    var(--silver-3) 82%,
    var(--silver-5) 100%);
  color: var(--silver-ink);
  border-color: var(--silver-edge);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.4),
    0 2px 5px rgba(0, 0, 0, 0.55);
}
.btn-primary:hover {
  filter: brightness(1.07) contrast(1.03);
  color: var(--silver-ink);
}
.btn-ghost { background: transparent; color: var(--text-strong); border-color: rgba(240, 232, 220, 0.35); }
.btn-ghost:hover { background: rgba(240, 232, 220, 0.08); border-color: var(--text-strong); color: var(--text-strong); }
.btn-lg { padding: 1rem 1.8rem; font-size: 1.05rem; }
.btn-sm { padding: .6rem 1rem; font-size: .9rem; }
.cta-row { display: flex; gap: .85rem; flex-wrap: wrap; margin-top: 1rem; }
.cta-row.center { justify-content: center; margin-top: 2rem; }

/* SECTIONS */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--surface-alt); }
.section-title { margin-bottom: .35em; }
.section-lede { color: var(--muted); font-size: 1.1rem; margin-bottom: 2.5rem; max-width: 640px; }

/* STEPS */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.step {
  background: var(--surface); padding: 2rem 1.75rem; border-radius: var(--radius-lg);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  position: relative;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: linear-gradient(90deg,
    var(--silver-4) 0%,
    var(--silver-1) 35%,
    var(--silver-2) 55%,
    var(--silver-3) 78%,
    var(--silver-5) 100%);
  color: var(--silver-ink); font-weight: 800;
  margin-bottom: 1rem;
  border: 1px solid var(--silver-edge);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.4),
    0 2px 5px rgba(0, 0, 0, 0.6);
}
.step h3 { color: var(--text-strong); }
.step p { margin: 0; color: var(--muted); }

/* TRUCK CARDS */
.truck-grid { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.truck-card {
  background: var(--surface); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow);
  transition: box-shadow .2s ease, transform .1s ease, border-color .15s ease;
}
.truck-card:hover {
  box-shadow: var(--shadow-hover); transform: translateY(-2px);
  border-color: var(--scarlet-deep);
}
.truck-photo {
  aspect-ratio: 4 / 3; width: 100%;
  background: linear-gradient(135deg, #2a2320 0%, #1f1a17 100%);
  position: relative;
  border-bottom: 1px solid var(--border);
}
.truck-photo.placeholder::after {
  content: "Photo pending"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: .85rem; letter-spacing: 0.08em;
  text-transform: uppercase; font-weight: 500;
}
.truck-photo img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.truck-body { padding: 1.5rem; }
.truck-body h3 { color: var(--text-strong); }
.truck-meta { color: var(--muted); font-size: .95rem; margin-bottom: .75rem; }
.truck-desc { font-size: .95rem; color: var(--text); margin-bottom: 1rem; }
.spec-list { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; margin: 0 0 1rem; font-size: .9rem; }
.spec-list dt { color: var(--muted); font-weight: 500; }
.spec-list dd { margin: 0; color: var(--text); }
.spec-list code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: .82rem; background: var(--surface-alt);
  padding: .15rem .4rem; border-radius: 3px; color: var(--text);
}
.link-arrow { font-weight: 600; text-decoration: none; color: var(--scarlet); }
.link-arrow:hover { color: var(--scarlet-hover); }

/* SPEC EXTRAS */
.spec-extras { margin: 0 0 1.25rem; }
.spec-extras summary {
  cursor: pointer; font-weight: 500; color: var(--text-strong);
  padding: .5rem 0; font-size: .9rem; user-select: none;
}
.spec-extras summary:hover { color: var(--scarlet); }
.spec-extras p {
  padding: .85rem 1rem; background: var(--surface-alt);
  border-radius: var(--radius); font-size: .875rem;
  color: var(--muted); margin: .35rem 0 0; line-height: 1.55;
}

/* STATS */
.stat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem; margin: 2rem 0 2.5rem;
}
.stat {
  background: var(--surface); padding: 1.5rem 1.25rem; border-radius: var(--radius-lg);
  border: 1px solid var(--border); text-align: center;
}
.stat-value { font-size: 1.75rem; font-weight: 700; color: var(--text-strong); line-height: 1.1; letter-spacing: -0.01em; }
.stat-label { color: var(--muted); font-size: .9rem; margin-top: .35rem; }

/* LISTS */
.ordered, .bulleted { margin: 0 0 1.25rem 1.25rem; padding: 0; }
.ordered li, .bulleted li { margin-bottom: .5rem; }

/* NOTE CALLOUT */
.note-callout {
  background: var(--surface); border-left: 3px solid var(--scarlet);
  padding: 1rem 1.25rem; border-radius: var(--radius);
  margin-top: 2.5rem; color: var(--text); box-shadow: var(--shadow);
}

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; gap: 2rem; } }
.contact-info { display: grid; grid-template-columns: max-content 1fr; gap: .75rem 1.25rem; margin-top: 1rem; }
.contact-info dt { color: var(--muted); font-weight: 500; }
.contact-info dd { margin: 0; color: var(--text); }
.placeholder-text { color: var(--muted); font-style: italic; }

.contact-form {
  background: var(--surface); padding: 2rem; border-radius: var(--radius-lg);
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.contact-form h3 { margin-bottom: 1.25rem; color: var(--text-strong); }
.contact-form label { display: block; font-weight: 500; margin: .75rem 0 .35rem; font-size: .95rem; color: var(--text); }
.contact-form input, .contact-form textarea {
  width: 100%; padding: .7rem .85rem; font-size: 1rem; font-family: inherit;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg);
  color: var(--text); transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--scarlet);
  box-shadow: 0 0 0 3px rgba(122, 22, 22, 0.22);
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--muted); opacity: 0.65; }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button { margin-top: 1.25rem; width: 100%; }
.form-note { margin-top: .75rem; }

/* CTA STRIP */
.cta-strip {
  background: linear-gradient(135deg, #14100e 0%, #1a0808 100%);
  border-top: 3px solid var(--scarlet);
  color: var(--text); text-align: center; padding: 4.5rem 0;
}
.cta-strip h2 { color: var(--text-strong); }
.cta-strip p { color: var(--muted); max-width: 520px; margin: 0 auto 1.75rem; font-size: 1.1rem; }

/* FOOTER */
.site-footer {
  background: #0a0806; color: var(--muted);
  padding: 3.5rem 0 1.5rem; margin-top: 0;
  border-top: 1px solid var(--border);
}
.site-footer .brand { color: var(--text-strong); }
.site-footer .brand-word { color: var(--text-strong); }
.site-footer .muted { color: var(--muted); margin-top: .5rem; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr; gap: 1.75rem; } }
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a, .footer-contact a { color: var(--text); text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: var(--scarlet); }
.footer-legal { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.footer-legal .muted { color: #6a5f52; }

/* HERO responsive */
@media (max-width: 640px) {
  .hero { padding: 4rem 0 4.5rem; }
  .section { padding: 3rem 0; }
  .cta-strip { padding: 3rem 0; }
  .site-header nav { gap: 1rem; }
  .site-header nav a { font-size: .875rem; }
}
