/* Awad Logistics Group — site styles
   Palette and type are deliberately limited: black, white, logo red. */

:root {
  --ink: #141414;
  --ink-soft: #5C6166;
  --paper: #ffffff;
  --paper-dim: #F4F5F6;
  --red: #ED1C24;
  --red-deep: #B3141A;
  --rule: #DCDFE2;

  --max: 1180px;
  --gutter: clamp(20px, 5vw, 56px);

  --t-xs: 0.75rem;
  --t-sm: 0.875rem;
  --t-base: 1.0625rem;
  --t-lg: 1.1875rem;
  --t-xl: 1.5rem;
  --t-2xl: clamp(1.75rem, 3.2vw, 2.375rem);
  --t-3xl: clamp(2.25rem, 5.4vw, 3.5rem);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: var(--t-base);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; line-height: 1.04; letter-spacing: -0.02em; }
p { margin: 0 0 1.1em; max-width: 64ch; }
a { color: inherit; }

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

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

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

/* ---------- masthead ---------- */

.masthead {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.masthead .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
  flex-wrap: wrap;
}
.brand { display: inline-flex; align-items: center; padding: 14px 0; }
.brand img { height: 44px; width: auto; display: block; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  font-size: var(--t-sm);
  font-weight: 600;
  padding-bottom: 6px;
}
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--red); }
.nav a[aria-current='page'] { border-bottom-color: var(--ink); }

/* ---------- hero ---------- */

.hero {
  background: var(--ink);
  color: #fff;
  padding-block: clamp(56px, 9vw, 104px);
  position: relative;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}
.hero h1 {
  font-size: var(--t-3xl);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.035em;
  max-width: 14ch;
}
.hero p {
  margin-top: 22px;
  font-size: var(--t-lg);
  color: #C9CDD1;
  max-width: 46ch;
}

.slashes { display: block; width: 132px; height: 42px; margin-bottom: 26px; }
.slashes polygon { fill: var(--red); }

@media (prefers-reduced-motion: no-preference) {
  .slashes polygon {
    animation: cut 620ms cubic-bezier(.2,.75,.3,1) backwards;
    transform-origin: right center;
  }
  .slashes polygon:nth-child(1) { animation-delay: 60ms; }
  .slashes polygon:nth-child(2) { animation-delay: 150ms; }
  .slashes polygon:nth-child(3) { animation-delay: 240ms; }
  @keyframes cut {
    from { transform: scaleX(0); opacity: 0; }
    to   { transform: scaleX(1); opacity: 1; }
  }
}

/* the truck-door panel */
.door {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(26px, 3.4vw, 38px) clamp(24px, 3.4vw, 40px);
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12);
}
.door .door-name {
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(1.25rem, 2.3vw, 1.75rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.door .door-city {
  margin-top: 10px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: var(--t-sm);
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.door hr {
  border: 0;
  border-top: 3px solid var(--red);
  margin: 20px 0;
  width: 56px;
}
.door dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 18px;
  font-size: var(--t-sm);
}
.door dt { font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.door dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 500; }
.door .pending { color: var(--ink-soft); font-style: italic; }

/* ---------- buttons ---------- */

.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.btn {
  display: inline-block;
  font-weight: 800;
  font-size: var(--t-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  padding: 15px 28px;
  border-radius: 2px;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background-color .15s ease, color .15s ease;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }

/* ---------- sections ---------- */

.section { padding-block: clamp(52px, 7.5vw, 92px); }
.section-dim { background: var(--paper-dim); }
.section-ink { background: var(--ink); color: #fff; }

.section h2 {
  font-size: var(--t-2xl);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.section > .wrap > p { color: var(--ink-soft); }
.section-ink > .wrap > p { color: #C9CDD1; }

.lede { font-size: var(--t-lg); max-width: 58ch; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(26px, 4vw, 48px);
  margin-top: 46px;
}
.grid h3 {
  font-size: var(--t-xl);
  font-weight: 800;
  padding-top: 16px;
  border-top: 3px solid var(--red);
  margin-bottom: 10px;
}
.grid p { margin: 0; color: var(--ink-soft); font-size: var(--t-base); }
.section-ink .grid p { color: #C9CDD1; }

.lanes { margin: 40px 0 0; padding: 0; list-style: none; max-width: 760px; }
.lanes li {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
  font-weight: 600;
}
.lanes li span { color: var(--ink-soft); font-weight: 500; font-size: var(--t-sm); }

/* ---------- prose pages ---------- */

.page-head {
  padding-block: clamp(44px, 6vw, 72px) 0;
}
.page-head h1 {
  font-size: var(--t-3xl);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.035em;
}
.page-head .updated {
  margin-top: 16px;
  font-size: var(--t-sm);
  color: var(--ink-soft);
}

.prose { padding-block: 40px clamp(56px, 8vw, 96px); }
.prose > * { max-width: 760px; }
.prose h2 {
  font-size: var(--t-xl);
  font-weight: 800;
  margin: 44px 0 12px;
  padding-top: 18px;
  border-top: 3px solid var(--red);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--t-lg); font-weight: 700; margin: 28px 0 8px; }
.prose ul { padding-left: 22px; margin: 0 0 1.2em; }
.prose li { margin-bottom: 7px; max-width: 62ch; }
.prose strong { font-weight: 700; }
.prose a { color: var(--red-deep); }

/* ---------- form ---------- */

.form { max-width: 680px; margin-top: 8px; }
.form-head {
  font-size: var(--t-xl);
  font-weight: 800;
  margin: 60px 0 10px;
  padding-top: 18px;
  border-top: 3px solid var(--red);
  max-width: 680px;
}
.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: var(--t-sm);
  margin-bottom: 7px;
}
.field .hint { font-weight: 400; color: var(--ink-soft); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: var(--t-base);
  padding: 13px 14px;
  border: 2px solid var(--rule);
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--ink); outline-offset: 1px; }
.field textarea { min-height: 120px; resize: vertical; }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }

.consent {
  border: 2px solid var(--ink);
  border-radius: 2px;
  padding: 22px 24px;
  margin: 32px 0 26px;
  background: var(--paper-dim);
}
.consent label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  font-size: var(--t-sm);
  line-height: 1.55;
  cursor: pointer;
}
.consent input[type='checkbox'] {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--red);
  flex: none;
}
.consent .rates {
  margin: 14px 0 0 36px;
  font-size: var(--t-xs);
  color: var(--ink-soft);
  max-width: none;
}

.note {
  border-left: 3px solid var(--red);
  padding: 4px 0 4px 18px;
  margin: 30px 0;
  color: var(--ink-soft);
  font-size: var(--t-sm);
}

/* ---------- footer ---------- */

.foot {
  background: var(--ink);
  color: #9BA1A7;
  padding-block: clamp(44px, 6vw, 68px) 36px;
  font-size: var(--t-sm);
}
.foot img { height: 38px; width: auto; display: block; margin-bottom: 24px; }
.foot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px 40px;
}
.foot h2 {
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin: 0 0 12px;
  font-weight: 700;
}
.foot a { color: #C9CDD1; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 7px; }
.foot .dot-line {
  color: #fff;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.foot-base {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid #2E3236;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: space-between;
  font-size: var(--t-xs);
}

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; }
  .masthead .wrap { min-height: 0; padding-block: 10px; }
  .brand img { height: 38px; }
}

/* ============================================================
   Carrier layout — utility bar, photo hero, service tracks
   ============================================================ */

/* utility bar */
.utility {
  background: #000;
  color: #9BA1A7;
  font-size: var(--t-xs);
}
.utility .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 26px;
  align-items: center;
  justify-content: space-between;
  padding-block: 9px;
}
.utility ul { display: flex; flex-wrap: wrap; gap: 6px 26px; list-style: none; margin: 0; padding: 0; }
.utility a { color: #C9CDD1; text-decoration: none; }
.utility a:hover { color: #fff; }
.utility .creds { font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }

/* masthead with a standing CTA */
.masthead .nav .btn {
  padding: 11px 20px;
  border-bottom: 0;
  color: #fff;
}
.masthead .nav .btn:hover { border-bottom: 0; }

/* photo hero */
.hero-photo {
  position: relative;
  background: #000 center/cover no-repeat;
  background-image:
    linear-gradient(90deg, rgba(10,10,10,.94) 0%, rgba(10,10,10,.78) 48%, rgba(10,10,10,.42) 100%),
    url('hero.jpg');
  color: #fff;
  padding-block: clamp(72px, 11vw, 150px);
  border-bottom: 5px solid var(--red);
}
.hero-photo .wrap { position: relative; }
.hero-photo h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.25rem);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.038em;
  max-width: 15ch;
}
.hero-photo .sub {
  margin-top: 20px;
  font-size: clamp(1.0625rem, 1.6vw, 1.3125rem);
  color: #D5D8DB;
  max-width: 50ch;
}

/* the three service tracks shown under the hero */
.tracks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: var(--rule);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.tracks a {
  background: var(--paper);
  padding: clamp(26px, 3.4vw, 40px) clamp(22px, 3vw, 34px);
  text-decoration: none;
  display: block;
  transition: background-color .15s ease;
}
.tracks a:hover { background: var(--paper-dim); }
.tracks h2 {
  font-size: var(--t-xl);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.tracks p { margin: 0; color: var(--ink-soft); font-size: var(--t-sm); max-width: 34ch; }
.tracks .more {
  display: inline-block;
  margin-top: 14px;
  font-weight: 800;
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red-deep);
}

/* split section: text one side, panel the other */
.split .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}
.split h2 { margin-bottom: 14px; }

/* credentials strip in place of a stats row */
.creds-strip {
  background: var(--ink);
  color: #fff;
  padding-block: clamp(36px, 5vw, 58px);
}
.creds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: clamp(24px, 4vw, 44px);
}
.creds-grid div { border-top: 3px solid var(--red); padding-top: 16px; }
.creds-grid dt {
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9BA1A7;
  font-weight: 700;
  margin-bottom: 8px;
}
.creds-grid dd {
  margin: 0;
  font-size: clamp(1.25rem, 2.1vw, 1.625rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.creds-grid .small { font-size: var(--t-base); font-style: normal; font-weight: 600; letter-spacing: 0; }

@media (max-width: 860px) {
  .split .wrap { grid-template-columns: 1fr; }
  .utility .wrap { justify-content: flex-start; }
}

.creds-strip .strip-head {
  font-size: var(--t-2xl);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin-bottom: clamp(28px, 3.6vw, 40px);
  max-width: 20ch;
}
.creds-grid dd.small { line-height: 1.5; max-width: 32ch; }

/* ---------- scroll-driven truck ---------- */
.intro-drive { padding-bottom: 0; }
.intro-copy { max-width: 720px; }
.intro-copy h2 { margin-bottom: 14px; }

.roadway {
  position: relative;
  height: 250px;
  margin-top: clamp(36px, 5vw, 60px);
  overflow: hidden;
}
.roadway .road {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 72px;
  background: #2b2e31;
  border-top: 3px solid #ED1C24;
}
.roadway .road::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 4px;
  margin-top: -2px;
  background: repeating-linear-gradient(90deg, #ffffff 0 44px, transparent 44px 92px);
  opacity: .75;
}
.roadway .truck {
  position: absolute;
  left: 0;
  bottom: 30px;
  height: 200px;
  width: auto;
  transform: translateX(-120%);
  will-change: transform;
}
.roadway.parked .truck {
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 640px) {
  .roadway { height: 170px; }
  .roadway .road { height: 50px; }
  .roadway .truck { height: 132px; bottom: 21px; }
}
