@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --ink: #09090a;
  --graphite: #121214;
  --slate: #1a1a1d;
  --filament: #2b2b30;
  --bone: #f5f5f4;
  --ash: #aaaab1;
  --muted: #6f6f78;
  --ember: #e30613;
  --spark: #ff3b30;
  --steel: #d8d8db;
  --max: 1180px;
  --radius: 8px;
  --shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(227, 6, 19, 0.55);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--bone);
  color: var(--ink);
  padding: 0.75rem 1rem;
  border-radius: 4px;
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shell {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.concept-bar {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  min-height: 38px;
  padding: 0.5rem 1rem;
  background: #050506;
  border-bottom: 1px solid var(--filament);
  color: var(--ash);
  font-size: 0.78rem;
}

.concept-bar a {
  color: var(--bone);
  border-bottom: 1px solid var(--ember);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(9, 9, 10, 0.92);
  border-bottom: 1px solid var(--filament);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand img {
  width: 218px;
  max-height: 76px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 6px;
  padding: 0.35rem 0.55rem;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.35));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  color: var(--steel);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav a {
  padding: 0.7rem 0;
}

.site-nav a:hover {
  color: var(--spark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--filament);
  border-radius: 6px;
  background: var(--graphite);
  color: var(--bone);
  padding: 10px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 64px;
  border-bottom: 1px solid var(--filament);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1fr);
  gap: 40px;
  align-items: center;
}

.system-label,
.card-code {
  margin: 0 0 1rem;
  color: var(--spark);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", Arial, sans-serif;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.6rem);
}

.hero-lede {
  max-width: 630px;
  margin: 1.35rem 0 0;
  color: var(--ash);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0.8rem 1.05rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.button-primary {
  background: var(--ember);
  color: #fff;
}

.button-primary:hover {
  background: var(--spark);
}

.button-secondary {
  border: 1px solid var(--filament);
  background: var(--graphite);
  color: var(--bone);
}

.button-secondary:hover {
  border-color: var(--spark);
}

.dispatch-card,
.service-card,
.action-panel,
.branch-panel,
.image-panel,
.faq-list details {
  border: 1px solid var(--filament);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)), var(--graphite);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.dispatch-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--filament);
  color: var(--ash);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.dispatch-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.dispatch-routes {
  display: grid;
}

.dispatch-routes a {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  border-top: 1px solid var(--filament);
}

.dispatch-routes a:hover {
  background: rgba(227, 6, 19, 0.1);
}

.dispatch-routes span {
  color: var(--ash);
  font-size: 0.9rem;
}

.proof-strip {
  border-bottom: 1px solid var(--filament);
  background: var(--graphite);
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.35fr;
  align-items: stretch;
}

.proof-grid > div {
  min-height: 134px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.4rem;
  border-left: 1px solid var(--filament);
}

.proof-grid > div:last-child {
  border-right: 1px solid var(--filament);
}

.metric {
  display: block;
  color: var(--bone);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(1.45rem, 3vw, 2.3rem);
  font-weight: 700;
}

.proof-grid p {
  margin: 0.35rem 0 0;
  color: var(--ash);
}

.brand-marks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: center;
}

.brand-marks img {
  max-height: 70px;
  margin: auto;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  padding: 0.45rem;
}

.section {
  padding: 72px 0;
  border-bottom: 1px solid var(--filament);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-head.compact {
  display: block;
  margin-bottom: 1.25rem;
}

.section-head h2 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.section-head p,
.action-panel p,
.faq-list p,
.service-card p,
.site-footer p {
  color: var(--ash);
}

.section-head p {
  max-width: 430px;
  margin: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.service-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
}

.service-card h3 {
  margin: 0;
  font-size: 1.45rem;
}

.service-card p {
  margin: 0.75rem 0 1.5rem;
}

.service-card a {
  margin-top: auto;
  color: var(--spark);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-split {
  background: #0c0c0d;
}

.split-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
  align-items: stretch;
}

.image-panel {
  overflow: hidden;
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.branch-panel {
  padding: 1.5rem;
}

.branch-groups {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1rem;
}

.branch-groups h3 {
  margin: 0 0 0.8rem;
  color: var(--bone);
  font-size: 1rem;
}

.branch-groups a {
  display: block;
  padding: 0.72rem 0;
  border-top: 1px solid var(--filament);
  color: var(--steel);
  font-size: 0.93rem;
}

.branch-groups a:hover {
  color: var(--spark);
}

.truck-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.truck-gallery a {
  display: grid;
  min-height: 220px;
  align-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--filament);
  border-radius: var(--radius);
  background: #f4f4f4;
  color: #161616;
}

.truck-gallery a:hover {
  border-color: var(--spark);
}

.truck-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.truck-gallery span {
  font-weight: 800;
}

.action-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  padding: 1.5rem;
}

.action-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.action-list {
  display: grid;
  gap: 0.75rem;
}

.action-list a {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 64px;
  padding: 1rem;
  border: 1px solid var(--filament);
  border-radius: 6px;
  background: var(--slate);
  font-weight: 800;
}

.action-list a:hover {
  border-color: var(--spark);
}

.action-list span {
  color: var(--spark);
  font-family: "Space Grotesk", Arial, sans-serif;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 2rem;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-list details {
  padding: 1rem 1.1rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin: 0.75rem 0 0;
}

.site-footer {
  padding: 48px 0;
  background: #060607;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}

.footer-logo {
  width: 180px;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 6px;
  padding: 0.35rem 0.55rem;
}

.site-footer p {
  max-width: 650px;
  margin: 0;
  font-size: 0.9rem;
}

.footer-links {
  display: grid;
  gap: 0.75rem;
  justify-items: end;
  font-weight: 800;
}

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

@media (max-width: 980px) {
  .header-inner {
    min-height: 74px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: none;
    padding: 0.75rem;
    border: 1px solid var(--filament);
    border-radius: 8px;
    background: var(--graphite);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  }

  .site-nav.is-open {
    display: grid;
    gap: 0.25rem;
  }

  .site-nav a {
    padding: 0.8rem;
    border-radius: 4px;
  }

  .site-nav a:hover {
    background: var(--slate);
  }

  .hero-grid,
  .split-grid,
  .action-panel,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .truck-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 24px, var(--max));
  }

  .concept-bar {
    justify-content: flex-start;
  }

  .brand img {
    width: 174px;
  }

  .hero {
    padding: 44px 0 48px;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.65rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .dispatch-card {
    min-width: 0;
  }

  .section {
    padding: 52px 0;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 0.8rem;
  }

  .proof-grid,
  .service-grid,
  .branch-groups,
  .truck-gallery,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid > div,
  .proof-grid > div:last-child {
    border-right: 1px solid var(--filament);
    border-bottom: 1px solid var(--filament);
  }

  .brand-marks {
    grid-template-columns: repeat(3, 1fr);
  }

  .brand-marks img {
    max-height: 58px;
  }

  .image-panel img {
    min-height: 280px;
  }

  .truck-gallery a {
    min-height: 180px;
  }

  .footer-links {
    justify-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
