/* DWA Logistics — palette from the logo (signal red on black),
   with hi-vis road paint used sparingly. */
:root {
  --ink: #1d2125;
  --paper: #f4f5f2;
  --surface: #ffffff;
  --iron: #d41926;        /* brand red, button/link shade of logo #F41E2B */
  --iron-dark: #a8121d;
  --brand: #f41e2b;       /* exact logo red, for use on black */
  --deep: #8c0f18;
  --hivis: #f2b90c;
  --slate: #5a646d;
  --line: #d5d8d3;
  --coal: #2a2c2e;
  --mn: #5b5560;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  font-variation-settings: "wdth" 100;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--iron); }
a:hover { color: var(--iron-dark); }

:focus-visible { outline: 3px solid var(--hivis); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 {
  font-variation-settings: "wdth" 125;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; max-width: 64ch; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: inherit; font-weight: 700; font-variation-settings: "wdth" 110;
  padding: .85em 1.4em; border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--iron); color: #fff; }
.btn-primary:hover { background: var(--iron-dark); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-hivis { background: var(--hivis); color: var(--ink); }
.btn-hivis:hover { background: #ffd23f; color: var(--ink); }
.btn-small { padding: .55em 1em; font-size: .95rem; }
.btn-wa { background: #1f8f4e; color: #fff; }
.btn-wa:hover { background: #18733e; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #000;
  border-bottom: 3px solid var(--brand);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand-logo { height: 52px; width: auto; }
.brand-text {
  font-weight: 800; font-size: 1.35rem; font-variation-settings: "wdth" 125; letter-spacing: -.01em;
}
.brand-text { color: var(--brand); }
.brand-text span { font-weight: 500; font-variation-settings: "wdth" 85; margin-left: .3em; color: #fff; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: #fff; text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav a:not(.btn):hover { color: var(--brand); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero-kicker { color: var(--iron); font-weight: 700; margin-bottom: 1.1em; }
.hero h1 { max-width: 11ch; }
.lede { font-size: 1.2rem; color: #3b4248; max-width: 46ch; }
.lede strong { color: var(--ink); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.route { margin: 0; }
.route svg { width: 100%; height: auto; max-height: 460px; }
.route .sa { fill: #e4e6e1; stroke: #c3c7c0; stroke-width: 2; }
.route .road-base { fill: none; stroke: var(--ink); stroke-width: 14; stroke-linecap: round; }
.route .road-dash {
  fill: none; stroke: var(--hivis); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 14 12;
  animation: drive 1.6s linear infinite;
}
.route .pin { fill: var(--iron); stroke: var(--paper); stroke-width: 4; }
.route .les { fill: var(--paper); stroke: #c3c7c0; stroke-width: 1.5; }
.route .alt-routes path { fill: none; stroke: var(--iron); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.route .pin-sm { fill: var(--ink); stroke: var(--paper); stroke-width: 3; }
.route .pin-label { font-family: var(--font); font-size: 15px; font-weight: 700; fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 4px; stroke-linejoin: round; }
.route .pin-label-sm { font-family: var(--font); font-size: 13px; font-weight: 600; fill: #3b4248; paint-order: stroke; stroke: var(--paper); stroke-width: 4px; stroke-linejoin: round; }
.route figcaption { font-size: .92rem; color: var(--slate); margin-top: 10px; }
.route-key { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-width: 48ch; }
.route-key li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; line-height: 1.45; }
.key { display: block; height: 8px; margin-top: .45em; border-radius: 4px; }
.key-main { background: repeating-linear-gradient(90deg, var(--hivis) 0 6px, var(--ink) 6px 10px); box-shadow: inset 0 0 0 2px var(--ink); }
.key-alt { background: var(--iron); height: 4px; margin-top: .6em; }
@keyframes drive { to { stroke-dashoffset: -26; } }

/* ---------- Stats ---------- */
.stats { background: #000; color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 20px 30px; border-left: 1px solid rgba(255,255,255,.12); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num {
  display: block; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800;
  font-variation-settings: "wdth" 125; color: var(--brand); line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.stat-label { color: #c7ccd0; font-size: .98rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.list-title { margin-top: .35em; }

.features { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.features li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.features strong { font-size: 1.08rem; }
.features span { color: #4a5259; }

.commodities { margin-top: clamp(48px, 7vw, 80px); }
.commodities h3 { margin-bottom: 16px; }
.commodity-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.commodity-list li {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 18px 10px 12px; font-weight: 600;
}
.swatch { width: 22px; height: 22px; border-radius: 50%; display: inline-block; }
.swatch-coal { background: radial-gradient(circle at 35% 35%, #555 0, var(--coal) 60%); }
.swatch-mn { background: radial-gradient(circle at 35% 35%, #8b8490 0, var(--mn) 60%); }
.swatch-fe { background: radial-gradient(circle at 35% 35%, #c0613d 0, var(--iron) 60%); }
.swatch-other { background: repeating-linear-gradient(45deg, var(--hivis) 0 4px, var(--ink) 4px 8px); }

/* ---------- Team ---------- */
.team { background: var(--surface); border-top: 1px solid var(--line); }
.team-intro { color: #4a5259; margin-bottom: clamp(28px, 4vw, 44px); }
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.team-grid > .member { flex: 0 1 100%; max-width: 360px; }
@media (min-width: 560px) { .team-grid > .member { flex-basis: calc((100% - 24px) / 2); max-width: none; } }
.member { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.member img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; background: #e1e3df; border-bottom: 4px solid var(--brand); }
.member-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.member h3 { font-size: 1.2rem; margin: 0 0 .15em; }
.role { color: var(--iron); font-weight: 700; margin: 0 0 .8em; font-size: .98rem; }
.member-body > p:not(.role):not(.member-contact) { color: #4a5259; font-size: .97rem; margin-bottom: .8em; }
.member details { margin-bottom: .8em; }
.member summary { cursor: pointer; font-weight: 700; color: var(--iron); font-size: .95rem; list-style: none; }
.member summary::-webkit-details-marker { display: none; }
.member summary::after { content: " +"; }
.member details[open] summary::after { content: " –"; }
.member details p { font-size: .95rem; color: #3b4248; margin: .7em 0 0; }
.member-contact { margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 2px; font-size: .95rem; }
.member-contact a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.member-contact a:hover { text-decoration: underline; }
@media (min-width: 1000px) { .team-grid > .member { flex-basis: calc((100% - 72px) / 4); } }

/* ---------- Partnership ---------- */
.partner { background: #000; color: #fff; border-top: 3px solid var(--brand); }
.partner-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.partner-logos { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(8px, 2vw, 20px); }
.partner-logos img { width: 100%; height: auto; max-height: 260px; object-fit: contain; }
.partner-logos img:first-child { padding: 0; }
.partner-amp { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; color: var(--brand); line-height: 1; font-variation-settings: "wdth" 125; }
.partner h2 { color: #fff; }
.partner p { color: #c7ccd0; }
.partner-close { color: #fff !important; font-weight: 700; font-size: 1.15rem; border-left: 4px solid var(--brand); padding-left: 16px; margin-top: 1.4em; }
@media (max-width: 900px) {
  .partner-grid { grid-template-columns: 1fr; }
  .partner-logos { max-width: 520px; }
}

/* ---------- Truck owners ---------- */
.owners { background: var(--deep); color: #fff; position: relative; }
.owners::before {
  /* road marking stripe along the top edge */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: repeating-linear-gradient(90deg, var(--hivis) 0 48px, transparent 48px 80px);
}
.owners-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); }
.owners h2 { color: #fff; }
.owners p { color: #f6dfe0; }
.owner-points { list-style: none; padding: 0; margin: 0 0 28px; }
.owner-points li { padding: 10px 0 10px 30px; position: relative; border-top: 1px solid rgba(255,255,255,.2); }
.owner-points li:last-child { border-bottom: 1px solid rgba(255,255,255,.2); }
.owner-points li::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 16px; height: 4px; margin-top: -2px; background: var(--hivis);
}
.owners-photo { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: #6d0b12 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 60'%3E%3Cpath fill='%23ffffff22' d='M6 42h64V18H6zm66 0h30l12-12V22H86l-14-4z'/%3E%3Ccircle cx='22' cy='46' r='6' fill='%23ffffff22'/%3E%3Ccircle cx='96' cy='46' r='6' fill='%23ffffff22'/%3E%3C/svg%3E") center / 40% no-repeat; }
.owners-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 12px; margin-top: 8px; }
.g { margin: 0; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: #e1e3df url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 60'%3E%3Cpath fill='%23c3c7c0' d='M6 42h64V18H6zm66 0h30l12-12V22H86l-14-4z'/%3E%3Ccircle cx='22' cy='46' r='6' fill='%23c3c7c0'/%3E%3Ccircle cx='96' cy='46' r='6' fill='%23c3c7c0'/%3E%3C/svg%3E") center / 35% no-repeat; }
.g { position: relative; }
.g-wide { grid-column: span 2; aspect-ratio: auto; } /* height follows the square tiles in its row */
.g img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Contact ---------- */
.contact { background: var(--surface); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-intro { color: #4a5259; }
.people { list-style: none; margin: 28px 0; padding: 0; border-top: 2px solid var(--ink); }
.people li { display: grid; grid-template-columns: 7rem 1fr; gap: 2px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.people strong { grid-row: span 2; font-size: 1.1rem; }
.people a { text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.people a:hover { text-decoration: underline; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; margin: 0; color: #4a5259; }
.hours dt { font-weight: 600; color: var(--ink); }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }

.quote-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); display: grid; gap: 16px; }
.quote-form h3 { margin: 0; font-size: 1.4rem; }
.quote-form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.quote-form input, .quote-form select, .quote-form textarea {
  font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid #b9beb7; border-radius: 4px; background: #fff; color: var(--ink); width: 100%;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: none; border-color: var(--iron); box-shadow: 0 0 0 3px rgba(212, 25, 38, .2); }
.quote-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-form .btn { justify-self: start; }
.quote-form [aria-invalid="true"] { border-color: #b3261e; }
.hp { position: absolute !important; left: -9999px; }
.form-status { padding: 12px 14px; border-radius: 4px; font-weight: 600; }
.form-status.ok { background: #e3f1e6; color: #1b5e2f; }
.form-status.err { background: #f8e3e1; color: #8a1f17; }

/* ---------- Socials ---------- */
.socials { margin-top: 32px; padding-top: 24px; border-top: 2px solid var(--ink); }
.socials h3 { margin-bottom: .3em; }
.socials p { color: #4a5259; margin-bottom: 14px; }
.btn-fb { background: #1877f2; color: #fff; }
.btn-fb:hover { background: #0f5fcc; color: #fff; }
.btn-fb svg { width: 20px; height: 20px; fill: currentColor; margin-left: -4px; }
.footer-right { display: flex; align-items: center; gap: 14px; }
.footer-social { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #1a1a1a; }
.footer-social svg { width: 18px; height: 18px; fill: #fff; }
.footer-social:hover { background: #1877f2; }

/* ---------- Footer ---------- */
.site-footer { background: #000; color: #c7ccd0; padding: 28px 0; font-size: .95rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; }
.site-footer p { margin: 0; }
.site-footer strong { color: #fff; }
.footer-partner { flex-basis: 100%; max-width: none; order: 3; padding-top: 14px; margin-top: 6px !important; border-top: 1px solid #2a2a2a; }
.footer-partner a { color: inherit; text-decoration: none; }
@media (max-width: 760px) { .site-footer { padding-bottom: 92px; } }
.footer-partner a strong { color: var(--brand); }
.footer-partner a:hover strong { text-decoration: underline; }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; background: #1f8f4e;
  display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float:hover { background: #18733e; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .two-col, .owners-grid, .contact-grid { grid-template-columns: 1fr; }
  .route { max-width: 420px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
  .gallery { grid-template-columns: 1fr 1fr; }
  .g-wide { aspect-ratio: 2 / 1; }
}
@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex; font: inherit; font-weight: 700; background: none; border: 2px solid #fff;
    border-radius: var(--radius); padding: 6px 14px; color: #fff; cursor: pointer;
  }
  .nav {
    position: absolute; top: 75px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #000; border-bottom: 3px solid var(--brand); padding: 8px var(--gutter) 20px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid #2a2a2a; }
  .brand-logo { height: 44px; }
  .brand-text { font-size: 1.15rem; }
  .nav .btn { margin-top: 16px; }
  .quote-form .row { grid-template-columns: 1fr; }
  .people li { grid-template-columns: 1fr; }
  .people strong { grid-row: auto; }
}
@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .route .road-dash { animation: none; }
}
