/* Traffic TrailBlazer LLC — dark, minimal, full-bleed */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #08090b;
  --ink: #f4f3f0;
  --muted: #8b8d92;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #ff7a18;
  --font: 'Archivo', system-ui, sans-serif;
  --black: 'Archivo Black', Impact, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ── Full-bleed truck background ── */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #000;
}

.bg-pan {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.bg-video {
  position: absolute;
  inset: -6% -4%;
  width: 108%;
  height: 112%;
  object-fit: cover;
  object-position: 50% 50%;
  will-change: transform;
  filter: saturate(0.95) contrast(1.05) brightness(0.82);
  transform: scale(1.04);
}

.bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,9,11,0.55) 0%, rgba(8,9,11,0.2) 35%, rgba(8,9,11,0.55) 70%, rgba(8,9,11,0.95) 100%),
    linear-gradient(90deg, rgba(8,9,11,0.85) 0%, rgba(8,9,11,0.25) 45%, transparent 75%);
}

.bg-grain {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 56px);
  transition: background 0.3s, padding 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(8, 9, 11, 0.72);
  backdrop-filter: blur(14px);
  padding-top: 16px;
  padding-bottom: 16px;
  border-bottom-color: var(--line);
}

.brand {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.brand span { color: var(--accent); font-size: 0.7em; vertical-align: super; }

.links {
  display: flex;
  gap: clamp(18px, 3vw, 40px);
}

.links a {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.links a:hover { color: var(--ink); }

.call {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding-left: 18px;
  position: relative;
}

.call::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 6px; height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

/* ── Layout ── */
main { position: relative; z-index: 10; }

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px clamp(20px, 5vw, 56px) 80px;
  max-width: 1100px;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}

.hero h1 {
  font-family: var(--black);
  font-weight: 900;
  font-size: clamp(2.8rem, 9vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.lede {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 300;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 15px 34px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 100px;
  transition: transform 0.2s, background 0.2s;
}

.btn:hover { transform: translateY(-2px); background: var(--accent); color: #fff; }

.ghost {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.ghost:hover { color: var(--ink); }

/* ── Blocks ── */
.block {
  padding: clamp(80px, 12vh, 140px) clamp(20px, 5vw, 56px);
  max-width: 1100px;
  border-top: 1px solid var(--line);
}

.index {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 48px;
}

/* Services rows */
.rows { display: flex; flex-direction: column; }

.row {
  display: grid;
  grid-template-columns: 48px 1fr 2fr 24px;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.3s, border-color 0.3s;
}

.row:hover {
  padding-left: 16px;
  border-bottom-color: var(--accent);
}

.row-no { font-size: 0.78rem; color: var(--muted); }

.row-title {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.row-desc { font-size: 0.92rem; font-weight: 300; color: var(--muted); }

.row-arrow {
  font-size: 1.4rem;
  color: var(--muted);
  transition: transform 0.25s, color 0.25s;
}

.row:hover .row-arrow { transform: translateX(8px); color: var(--accent); }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 56px;
}

.stats strong {
  display: block;
  font-family: var(--black);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stats span {
  display: block;
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.about-copy {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 300;
  line-height: 1.45;
  max-width: 760px;
  margin-bottom: 28px;
}

.creds {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Contact */
.contact h2 {
  font-family: var(--black);
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.contact .lede { margin-bottom: 48px; }

.contact-rows { display: flex; flex-direction: column; }

.c-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  transition: padding-left 0.3s;
}

.c-row:last-child { border-bottom: 1px solid var(--line); }
.c-row:hover { padding-left: 14px; }

.c-row span {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.c-row strong {
  font-size: clamp(1.1rem, 2.6vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.c-row:hover strong { color: var(--accent); }

/* Footer */
.foot {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 32px clamp(20px, 5vw, 56px) 48px;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* Reveal on scroll */
.block, .hero-cta, .lede { opacity: 1; }
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].in { opacity: 1; transform: none; }

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transition: none; }
}

/* ── Responsive ── */
@media (max-width: 760px) {
  .links { display: none; }
  .call { font-size: 0.78rem; }
  .row {
    grid-template-columns: 32px 1fr 20px;
    gap: 14px;
  }
  .row-desc { display: none; }
  .stats { grid-template-columns: 1fr 1fr; gap: 28px; }
  .bg-truck { object-position: 64% 55%; }
  .c-row { flex-direction: column; align-items: flex-start; gap: 4px; }
}
