:root {
  --ink: #151916;
  --panel: #202720;
  --muted: #627066;
  --paper: #f6f3eb;
  --line: rgba(21, 25, 22, 0.16);
  --safety: #f2b134;
  --brick: #9f3f2d;
  --steel: #667f86;
  --green: #31483a;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(21, 25, 22, 0.18);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(21, 25, 22, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #fbfaf5 0%, var(--paper) 100%);
  background-size: 22px 22px, auto;
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.42;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

:focus-visible {
  outline: 3px solid var(--safety);
  outline-offset: 4px;
}

.topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(14px, 4vw, 44px);
  padding: 14px clamp(14px, 4vw, 44px);
  background: rgba(246, 243, 235, 0.92);
  border-bottom: 2px solid var(--ink);
  backdrop-filter: blur(14px);
}

.brand {
  display: grid;
  gap: 0;
}

.brand strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.brand span,
.label,
.quick-facts dt,
.action-strip span {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: clamp(14px, 3vw, 36px);
  font-weight: 850;
}

nav a,
.top-call,
.button,
.action-strip a,
.mobile-actions a {
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

nav a:hover {
  color: var(--brick);
}

.top-call {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: var(--white);
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 4px;
  font-weight: 950;
}

.top-call:hover,
.button:hover,
.action-strip a:hover {
  transform: translateY(-2px);
}

.hero {
  width: min(var(--max), calc(100% - 28px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 18px;
  padding: clamp(26px, 6vh, 58px) 0 clamp(28px, 7vh, 68px);
}

.hero-media {
  min-height: 580px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-media img {
  object-position: 52% 42%;
  animation: truck-drift 9s ease-in-out infinite alternate;
}

.dispatch-panel {
  display: grid;
  align-content: center;
  padding: clamp(24px, 5vw, 54px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(242, 177, 52, 0.13), transparent 40%),
    var(--panel);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

h1,
h2,
h3,
p,
figure,
dl,
dd,
ol {
  margin-top: 0;
}

.label {
  margin-bottom: 12px;
  color: var(--safety);
}

h1 {
  max-width: 13ch;
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4.8vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  line-height: 1.1;
}

.dispatch-panel p,
.section-head p,
.work-grid p,
.coverage-board p,
.quote-section p,
.steps span {
  color: var(--muted);
  font-size: clamp(0.98rem, 1.3vw, 1.1rem);
}

.dispatch-panel p {
  color: rgba(255, 255, 255, 0.76);
  max-width: 560px;
}

.hero-actions,
.quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  font-weight: 950;
  white-space: nowrap;
}

.button.primary {
  color: var(--ink);
  background: var(--safety);
  border-color: var(--safety);
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 30px 0 0;
}

.quick-facts div {
  min-height: 82px;
  display: grid;
  align-content: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
}

.quick-facts dt {
  color: rgba(255, 255, 255, 0.56);
}

.quick-facts dd {
  margin-bottom: 0;
  font-weight: 900;
}

.action-strip {
  width: min(var(--max), calc(100% - 28px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.action-strip a {
  min-height: 86px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 16px;
  color: var(--white);
  background: var(--green);
  border-radius: 4px;
}

.action-strip a:nth-child(2) {
  background: var(--brick);
}

.action-strip a:nth-child(3) {
  background: var(--steel);
}

.action-strip span {
  color: rgba(255, 255, 255, 0.68);
}

.section {
  width: min(var(--max), calc(100% - 28px));
  margin: 0 auto;
  padding: clamp(62px, 9vw, 106px) 0;
}

.work-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.38fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 58px);
}

.section-head {
  align-self: start;
  position: sticky;
  top: 22px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.work-grid article {
  min-height: 178px;
  display: grid;
  align-content: end;
  padding: 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.photo-band {
  width: min(var(--max), calc(100% - 28px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-auto-rows: clamp(220px, 28vw, 380px);
  gap: 12px;
}

.photo-band figure,
.coverage-photos figure {
  overflow: hidden;
  margin-bottom: 0;
  background: var(--panel);
  border-radius: 6px;
}

.photo-band figure:hover img,
.coverage-photos figure:hover img,
.photo-band figure:focus-within img,
.coverage-photos figure:focus-within img {
  transform: scale(1.035);
}

.photo-band img,
.coverage-photos img {
  transition: transform 260ms ease;
}

.photo-band .wide img {
  object-position: 48% 48%;
}

.photo-band figure:nth-child(2) img {
  object-position: 50% 54%;
}

.photo-band figure:nth-child(3) img {
  object-position: 50% 40%;
}

.process-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 60px);
}

.steps {
  display: grid;
  gap: 10px;
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.steps li::before {
  content: counter(steps, decimal-leading-zero);
  color: var(--brick);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.3rem;
  font-weight: 950;
}

.steps strong,
.steps span {
  grid-column: 2;
}

.coverage-section {
  width: min(var(--max), calc(100% - 28px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  gap: 12px;
}

.coverage-board {
  display: grid;
  align-content: center;
  padding: clamp(24px, 5vw, 52px);
  color: var(--white);
  background: var(--ink);
  border-radius: 6px;
}

.coverage-board p {
  color: rgba(255, 255, 255, 0.74);
}

.coverage-board .button {
  justify-self: start;
  margin-top: 18px;
}

.coverage-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.coverage-photos figure {
  min-height: 410px;
}

.coverage-photos figure:first-child img {
  object-position: 50% 50%;
}

.coverage-photos figure:last-child img {
  object-position: 50% 42%;
}

.quote-section {
  width: min(var(--max), calc(100% - 28px));
  margin: clamp(62px, 9vw, 104px) auto 42px;
  padding: clamp(26px, 5vw, 46px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 6px;
}

.quote-actions {
  margin-top: 0;
}

.quote-section .button.secondary {
  background: var(--paper);
  border-color: var(--ink);
}

footer {
  width: min(var(--max), calc(100% - 28px));
  margin: 0 auto;
  padding: 22px 0 92px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 850;
}

.mobile-actions {
  display: none;
}

@keyframes truck-drift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-10px, -14px, 0);
  }
}

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

@media (max-width: 920px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero,
  .work-section,
  .process-section,
  .coverage-section,
  .quote-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .hero-media img {
    object-position: 50% 50%;
  }

  .section-head {
    position: static;
  }

  .coverage-photos figure {
    min-height: 300px;
  }

  .quote-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) and (min-width: 921px) {
  .coverage-section {
    grid-template-columns: 1fr;
  }

  .coverage-photos figure {
    min-height: 300px;
  }
}

@media (max-width: 640px) {
  .topbar {
    padding: 12px;
  }

  .top-call {
    min-height: 38px;
    padding: 0 12px;
  }

  .hero,
  .section,
  .action-strip,
  .photo-band,
  .coverage-section,
  .quote-section,
  footer {
    width: min(100% - 22px, var(--max));
  }

  .hero {
    gap: 10px;
    padding-top: 18px;
  }

  .dispatch-panel {
    padding: 22px 16px;
  }

  .hero-actions,
  .quote-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
    min-height: 50px;
  }

  .quick-facts,
  .action-strip,
  .work-grid,
  .coverage-photos {
    grid-template-columns: 1fr;
  }

  .quick-facts div {
    min-height: 68px;
  }

  .action-strip a {
    min-height: 66px;
  }

  .photo-band {
    grid-template-columns: 1fr;
    grid-auto-rows: 210px;
  }

  .photo-band .wide {
    grid-column: auto;
  }

  .steps li {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
    padding: 14px;
  }

  .coverage-photos figure {
    min-height: 210px;
  }

  .quote-section {
    padding: 22px 16px;
  }

  footer {
    display: grid;
    padding-bottom: 24px;
  }

  .mobile-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: min(100% - 22px, var(--max));
    margin: 0 auto 18px;
    padding: 6px;
    background: rgba(246, 243, 235, 0.95);
    border: 2px solid var(--ink);
    border-radius: 6px;
    box-shadow: var(--shadow);
  }

  .mobile-actions a {
    min-height: 42px;
    display: grid;
    place-items: center;
    color: var(--ink);
    background: var(--safety);
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 950;
  }

  .mobile-actions a:nth-child(2) {
    color: var(--white);
    background: var(--green);
  }

  .mobile-actions a:nth-child(3) {
    color: var(--white);
    background: var(--brick);
  }
}

@media (max-width: 340px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .photo-band {
    grid-auto-rows: 180px;
  }
}
