/* ============================================================
   DDC LOGISTICS — Design tokens
   Palette: navy + bright blue accent (matches DDC brand collateral),
   off-white paper
   Type: Oswald (condensed display) + Inter (body) +
         IBM Plex Mono (data / manifest details)
   Pattern: split hero panels (navy text block + photo), bottom
   icon feature strips, pill CTA buttons — based on DDC's own
   marketing graphics
   ============================================================ */

:root {
  --navy-deep: #0F1E38;
  --navy-mid: #16294A;
  --navy-line: #24406E;
  --steel: #5C6B7A;
  --steel-light: #8996A3;
  --amber: #2E7DE1;
  --amber-dark: #1E5FBD;
  --paper: #F6F5F2;
  --paper-dim: #EAE8E2;
  --asphalt: #1C1F22;
  --white: #FFFFFF;

  --font-display: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --container: 1180px;
  --radius: 3px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--asphalt);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.08;
  margin: 0;
  color: var(--navy-deep);
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.15rem; letter-spacing: 0.03em; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--amber);
  display: inline-block;
}

p { margin: 0; color: var(--steel); }
p.lede { font-size: 1.1rem; color: var(--navy-mid); }

.mono { font-family: var(--font-mono); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.92rem;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.btn-amber { background: var(--amber); color: var(--asphalt); }
.btn-amber:hover { background: var(--amber-dark); transform: translateY(-1px); }
.btn-ghost-dark { border-color: rgba(255,255,255,0.35); color: var(--white); background: transparent; }
.btn-ghost-dark:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }
.btn-ghost-light { border-color: var(--navy-mid); color: var(--navy-deep); background: transparent; }
.btn-ghost-light:hover { background: var(--navy-deep); color: var(--white); }

/* ---------- Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-deep);
  border-bottom: 1px solid var(--navy-line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.logo .mark {
  background: var(--amber);
  color: var(--asphalt);
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 2px;
  font-size: 1.05rem;
}
.logo .tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--steel-light);
  display: block;
  margin-top: 1px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  color: var(--paper-dim);
  font-family: var(--font-display);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); border-color: var(--amber); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; background: var(--navy-deep); flex-direction: column; align-items: flex-start; padding: 10px 24px 20px; gap: 14px; border-bottom: 1px solid var(--navy-line); display: none; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta .btn { display: none; }
}

/* ---------- Route line motif (signature element) ---------- */
.route-divider {
  position: relative;
  width: 100%;
  height: 46px;
  overflow: hidden;
}
.route-divider svg { width: 100%; height: 100%; display: block; }
.route-path {
  fill: none;
  stroke: var(--amber);
  stroke-width: 2;
  stroke-dasharray: 10 9;
  opacity: 0.9;
  animation: route-move 3.2s linear infinite;
}
@keyframes route-move { to { stroke-dashoffset: -38; } }
.route-pin { fill: var(--navy-deep); }
.route-pin.end { fill: var(--amber-dark); }

.mile-tick {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--steel);
  text-transform: uppercase;
}
.mile-tick::before, .mile-tick::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--paper-dim);
}

/* ---------- Split hero (matches DDC marketing graphics) ---------- */
.hero-split {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  min-height: 560px;
  background: var(--navy-deep);
}
.hero-split-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 56px;
  color: var(--white);
}
.hero-split-text .eyebrow { color: var(--amber); }
.hero-split-text .eyebrow::before { background: var(--amber); }
.hero-split-text h1 { color: var(--white); margin-top: 14px; }
.hero-split-text h1 .accent { color: var(--amber); }
.hero-split-text p.lede { color: var(--steel-light); margin-top: 18px; max-width: 46ch; }
.hero-split-photo { position: relative; overflow: hidden; min-height: 320px; }
.hero-split-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; min-height: unset; }
  .hero-split-text { padding: 48px 28px; }
  .hero-split-photo { min-height: 280px; }
}

/* Pill CTA button (icon + two-line label), as seen in DDC graphics */
.btn-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--amber);
  color: var(--white);
  border-radius: 999px;
  padding: 10px 22px 10px 10px;
  margin-top: 30px;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn-cta-pill:hover { background: var(--amber-dark); transform: translateY(-1px); }
.btn-cta-pill .icon-disc {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.btn-cta-pill .label {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.btn-cta-pill .label .top { font-family: var(--font-display); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.03em; }
.btn-cta-pill .label .bottom { font-family: var(--font-display); font-size: 0.98rem; font-weight: 700; text-transform: uppercase; }

/* Mission / callout box inside a split-hero text panel */
.mission-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-top: 34px;
}
.mission-box .icon-disc {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--amber);
}
.mission-box h4 { color: var(--amber); font-size: 0.85rem; letter-spacing: 0.06em; margin-bottom: 6px; }
.mission-box p { color: var(--steel-light); font-size: 0.92rem; }

/* ---------- Bottom icon feature strip (matches DDC graphics) ---------- */
.feature-strip {
  background: var(--asphalt);
  color: var(--white);
}
.feature-strip-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  align-items: center;
  padding: 34px 0;
}
.feature-strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 22px;
  border-left: 1px solid rgba(255,255,255,0.12);
}
.feature-strip-item:first-child { border-left: none; }
.feature-strip-item .icon-disc {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-strip-item .text .title { font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--amber); }
.feature-strip-item .text .desc { font-size: 0.85rem; color: var(--steel-light); margin-top: 3px; line-height: 1.35; }
.feature-strip-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 22px;
  border-left: 1px solid rgba(255,255,255,0.12);
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.05rem;
}
.feature-strip-logo .mark { background: var(--amber); color: var(--white); font-weight: 700; padding: 4px 8px; border-radius: 2px; }

@media (max-width: 860px) {
  .feature-strip-item { border-left: none; padding: 10px 0; }
  .feature-strip-logo { border-left: none; padding-left: 0; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--navy-deep);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 96px 0 0;
  isolation: isolate;
}
.hero > .container, .hero > .route-divider { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 60px;
}
.hero h1 { color: var(--white); }
.hero .lede { color: var(--steel-light); max-width: 46ch; margin-top: 18px; }
.hero-actions { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.hero-manifest {
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 22px 24px;
  background: rgba(22,35,61,0.72);
  backdrop-filter: blur(3px);
}
.hero-manifest .row {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px dashed var(--navy-line);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}
.hero-manifest .row:last-child { border-bottom: none; }
.hero-manifest .row span:first-child { color: var(--steel-light); text-transform: uppercase; letter-spacing: 0.06em; }
.hero-manifest .row span:last-child { color: var(--white); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ---------- Stats strip ---------- */
.stats-strip {
  background: var(--asphalt);
  color: var(--white);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 30px 0;
}
.stat { text-align: center; padding: 10px 14px; border-left: 1px solid rgba(255,255,255,0.12); }
.stat:first-child { border-left: none; }
.stat .num { font-family: var(--font-display); font-size: 2.1rem; color: var(--amber); }
.stat .label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel-light); margin-top: 4px; }

@media (max-width: 720px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
}

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { margin-top: 10px; }
.section-head p { margin-top: 14px; }
.section-alt { background: var(--paper-dim); }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.card {
  background: var(--white);
  border: 1px solid var(--paper-dim);
  border-top: 3px solid var(--navy-deep);
  padding: 30px 26px;
  border-radius: var(--radius);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(22,35,61,0.1); }
.card .icon { color: var(--amber-dark); margin-bottom: 16px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.95rem; }
.card a.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-family: var(--font-mono); font-size: 0.78rem; color: var(--navy-mid); text-transform: uppercase; letter-spacing: 0.06em; }
.card a.card-link:hover { color: var(--amber-dark); }

/* ---------- Values / features list ---------- */
.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 34px; }
.feature { padding-left: 20px; border-left: 3px solid var(--amber); }
.feature h3 { color: var(--navy-deep); margin-bottom: 8px; }
.feature p { font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--amber);
  color: var(--asphalt);
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 46px 0;
}
.cta-band h2 { color: var(--asphalt); font-size: clamp(1.6rem, 3vw, 2.1rem); }
.cta-band p { color: rgba(28,31,33,0.75); margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--steel-light); padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; }
.footer-grid h4 { color: var(--white); font-size: 0.85rem; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-grid p, .footer-grid a { font-size: 0.9rem; color: var(--steel-light); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a:hover { color: var(--amber); }
.footer-bottom { border-top: 1px solid var(--navy-line); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em; }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Page hero (subpages) ---------- */
.page-hero { background: var(--navy-deep); color: var(--white); padding: 64px 0 54px; position: relative; overflow: hidden; isolation: isolate; }
.page-hero > .container, .page-hero > .route-divider { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(2.1rem, 4.4vw, 3.1rem); }
.page-hero p { color: var(--steel-light); margin-top: 14px; max-width: 60ch; }

/* ---------- Forms ---------- */
.form-manifest {
  background: var(--white);
  border: 1px solid var(--paper-dim);
  border-radius: var(--radius);
  padding: 34px;
}
.form-manifest .form-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  border-bottom: 1px dashed var(--paper-dim);
  padding-bottom: 16px;
  margin-bottom: 22px;
  display: flex;
  justify-content: space-between;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy-mid); }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 11px 12px;
  border: 1px solid var(--paper-dim);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--asphalt);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--amber);
  background: var(--white);
}
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }

.form-note { font-size: 0.82rem; color: var(--steel); margin-top: 16px; }
.form-success { display: none; background: var(--navy-deep); color: var(--white); padding: 22px; border-radius: var(--radius); font-family: var(--font-mono); font-size: 0.9rem; }

/* ---------- Contact info sidebar ---------- */
.contact-info { display: flex; flex-direction: column; gap: 26px; }
.contact-info .block h4 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber-dark); margin-bottom: 8px; }
.contact-info .block p, .contact-info .block a { color: var(--navy-deep); font-size: 1rem; }

/* ---------- Photo gallery grid ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.25s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 12px;
  background: linear-gradient(180deg, transparent, rgba(15,30,56,0.88));
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.two-col { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Illustration frames ----------
   Custom line-art SVGs live inline in the markup. These classes just
   size/frame the containers; colors inside each SVG use the palette
   below so every illustration stays on-brand automatically. */
.illus-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-dim);
}
.illus-frame svg { width: 100%; height: 100%; display: block; }
.illus-4-3 { aspect-ratio: 4 / 3; }
.illus-16-6 { aspect-ratio: 16 / 6; }
.illus-1-1 { aspect-ratio: 1 / 1; }

.illus-navy   { fill: var(--navy-deep); }
.illus-navy-mid { fill: var(--navy-mid); }
.illus-navy-line { fill: var(--navy-line); }
.illus-amber  { fill: var(--amber); }
.illus-amber-dark { fill: var(--amber-dark); }
.illus-steel  { fill: var(--steel); }
.illus-steel-light { fill: var(--steel-light); }
.illus-paper  { fill: var(--paper); }
.illus-paper-dim { fill: var(--paper-dim); }
.illus-white  { fill: var(--white); }
.illus-stroke-navy { stroke: var(--navy-deep); }
.illus-stroke-amber { stroke: var(--amber); }
.illus-stroke-paper { stroke: var(--paper); }
.illus-label {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Full-bleed hero illustration background */
.section-photo-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--navy-deep);
}
.section-photo-bg svg { width: 100%; height: 100%; display: block; }
.section-photo-bg .scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22,35,61,0.55), rgba(22,35,61,0.88));
}
