/* AJL Transport — design system
   Tone: industrial utilitarian. Asphalt neutrals, steel-blue accent,
   Barlow Condensed display / Barlow body. No gradients. */

:root {
  --ink: oklch(0.25 0.02 250);          /* asphalt */
  --body: oklch(0.37 0.02 250);
  --muted: oklch(0.51 0.02 250);
  --line: oklch(0.90 0.01 250);
  --paper: oklch(0.975 0.005 250);
  --panel: oklch(0.945 0.008 250);
  --accent: oklch(0.795 0.163 82);       /* AJL brand yellow #EFAF00 — surfaces only */
  --accent-ink: oklch(0.52 0.115 80);     /* text-safe amber on light bg */
  --accent-hover: oklch(0.70 0.15 85);    /* darker yellow hover surface */
  --accent-deep: oklch(0.42 0.10 80);     /* pressed / link-hover */
  --accent-wash: oklch(0.955 0.055 90);   /* pale amber wash */
  --warn: oklch(0.55 0.12 60);
  --ok: oklch(0.52 0.11 150);

  --font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, sans-serif;

  --wrap: 72rem;
  --radius: 10px;
  --shadow: 0 1px 2px oklch(0.25 0.02 250 / 0.08), 0 8px 24px -12px oklch(0.25 0.02 250 / 0.18);
}

@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/Barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/Barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/Barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/BarlowCondensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/BarlowCondensed-700.woff2") format("woff2"); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 1.5rem; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: 0.005em;
  text-wrap: balance;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.1rem); font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 700; text-transform: uppercase; }
h3 { font-size: 1.35rem; font-weight: 600; margin-bottom: 0.4em; }
p { margin: 0 0 1.1em; }
a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-deep); }
strong { color: var(--ink); }
.muted { color: var(--muted); }
.note { font-size: 0.92rem; color: var(--muted); }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--accent); color: var(--ink); padding: 0.6rem 1rem;
  border-radius: 0 0 var(--radius) var(--radius); font-weight: 600; text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0; }

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

/* ---------------------------------------------------------------- topbar */
.topbar { background: var(--ink); color: oklch(0.88 0.02 250); font-size: 0.85rem; }
.topbar-in { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.45rem; align-items: center; }
.tb-item { letter-spacing: 0.02em; white-space: nowrap; }
.tb-hide { display: none; }
.tb-phone { color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; }
.tb-phone:hover { text-decoration: underline; }
@media (min-width: 640px) { .tb-hide { display: inline; } }

/* ---------------------------------------------------------------- header */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.8rem; }

.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.brand-mark { width: 2.6rem; height: 2.6rem; flex: none; }
.brand-name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.65rem;
  color: var(--ink); letter-spacing: 0.02em; line-height: 1;
  display: flex; flex-direction: column;
}
.brand-sub {
  font-family: var(--font-body); font-weight: 500; font-size: 0.72rem;
  letter-spacing: 0.34em; text-transform: uppercase; color: var(--accent-ink); margin-top: 0.15rem;
}

.nav { display: none; }
.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.65rem; cursor: pointer;
}
.nav-toggle .bar { width: 1.35rem; height: 2px; background: var(--ink); display: block; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 900px) {
  .nav { display: flex; align-items: center; gap: 1.6rem; }
  .nav ul { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
  .nav a:not(.btn) { color: var(--ink); font-weight: 500; text-decoration: none; font-size: 0.98rem; }
  .nav a:not(.btn):hover { color: var(--accent-ink); }
  .nav a.active { color: var(--accent-ink); box-shadow: inset 0 -2px 0 var(--accent-ink); }
  .nav-cta { margin-left: 0.4rem; }
  .nav-toggle { display: none; }
}

/* mobile nav sheet */
@media (max-width: 899.98px) {
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); padding: 1rem 1.5rem 1.4rem;
    flex-direction: column; align-items: stretch; gap: 0.4rem;
  }
  .nav.open { display: flex; }
  .nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
  .nav ul a {
    display: block; padding: 0.8rem 0.4rem; color: var(--ink); font-weight: 500;
    text-decoration: none; border-bottom: 1px solid var(--line); font-size: 1.05rem;
  }
  .nav ul a.active { color: var(--accent-ink); }
  .nav-cta { margin-top: 0.9rem; text-align: center; }
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 0.7rem 1.4rem; border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 0.95rem 1.8rem; font-size: 1.08rem; }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--ink); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-invert { background: var(--accent); color: var(--ink); }
.btn-invert:hover { background: #fff; color: var(--ink); }
.btn-outline { border-color: oklch(0.75 0.03 250); color: #fff; background: transparent; }
.btn-outline:hover { border-color: #fff; }

/* ---------------------------------------------------------------- hero */
.hero { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--paper); }
.hero-in { display: grid; gap: 2.5rem; padding-block: 3rem 3.5rem; align-items: center; }
@media (min-width: 980px) {
  .hero-in { grid-template-columns: 1.05fr 0.95fr; padding-block: 4rem 4.5rem; }
}
.kicker {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.16em; font-size: 0.95rem; color: var(--accent-ink);
  margin: 0 0 0.8rem;
}
.hero h1 { margin-bottom: 0.5rem; }
.lede { font-size: 1.18rem; max-width: 34em; color: var(--body); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.6rem 0 1.4rem; }
.trust-row {
  list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem;
  margin: 0; padding: 0; font-size: 0.9rem; color: var(--muted);
}
.hero .tagline { margin-top: 1.15rem; font-size: 0.92rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink); }

.trust-row li { display: flex; align-items: center; gap: 0.55rem; }
.trust-row li::before { content: ""; width: 0.55rem; height: 0.55rem; background: var(--accent); flex: none; }

.hero-media { position: relative; }
.hero-img, .hero-media picture { width: 100%; }
.hero-img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 1 / 1; object-fit: cover; }
.hero-badge { position: absolute; right: -0.4rem; bottom: -1.6rem; width: 11.5rem; }
@media (min-width: 980px) { .hero-badge { right: -1.2rem; } }
.badge-img { border-radius: var(--radius); border: 4px solid var(--paper); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------------------------------------------------------------- sections */
.band { padding-block: 3.5rem; }
@media (min-width: 800px) { .band { padding-block: 4.5rem; } }
.band-alt { background: var(--panel); border-block: 1px solid var(--line); }
.sec-head { max-width: 44em; margin-bottom: 2.2rem; }
.sec-head h2 { margin-bottom: 0; }

.svc-grid { display: grid; gap: 1.4rem; }
@media (min-width: 800px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-feat { grid-row: span 2; }
}
@media (min-width: 1080px) { .svc-grid { grid-template-columns: 1.15fr 1fr 1fr; } }
.svc {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.svc:hover { border-color: var(--accent-ink); transform: translateY(-3px); box-shadow: var(--shadow); }
.svc picture, .svc img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.svc-feat picture, .svc-feat img { aspect-ratio: 4 / 3.4; flex: 1; object-position: center 65%; }
.svc-body { padding: 1.3rem 1.4rem 1.5rem; }
.svc h3 { margin-bottom: 0.35rem; color: var(--ink); }
.svc p { margin-bottom: 0.7rem; font-size: 0.98rem; }
.svc-link { color: var(--accent-ink); font-weight: 600; font-size: 0.95rem; }
.svc:hover .svc-link { text-decoration: underline; text-underline-offset: 3px; }

.split { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; } }
.side-fig { margin: 0; }
.side-fig img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.side-fig figcaption { font-size: 0.88rem; color: var(--muted); margin-top: 0.6rem; border-left: 3px solid var(--accent); padding-left: 0.7rem; }

.check-list { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: 0.7rem; }
.check-list li { padding-left: 2rem; position: relative; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.42em; width: 1.05rem; height: 1.05rem;
  background: var(--accent-wash); border: 2px solid var(--accent-ink); border-radius: 3px;
}
.check-list li::after {
  content: ""; position: absolute; left: 0.44rem; top: 0.72em; width: 0.28rem; height: 0.55rem;
  border-right: 2.5px solid var(--accent-ink); border-bottom: 2.5px solid var(--accent-ink);
  transform: rotate(40deg);
}
.check-list a { font-weight: 500; }

.steps { margin: 0 0 1.4rem; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 1.1rem; }
.steps li { counter-increment: step; position: relative; padding-left: 3.5rem; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0; width: 2.6rem; box-sizing: border-box;
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--accent-ink);
  border: 2px solid var(--accent-ink); border-radius: var(--radius); text-align: center;
  padding: 0.1rem 0; background: #fff;
}
.cta-inline { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }

/* ---------------------------------------------------------------- gallery */
.gal { display: grid; gap: 1.4rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gal { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
.gal-3 { grid-template-columns: repeat(2, 1fr); }
.gal figure { margin: 0; }
.gal img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
.gal figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 0.5rem; }

/* ---------------------------------------------------------------- CTA band */
.cta-band { background: var(--ink); color: oklch(0.93 0.02 250); padding-block: 3.2rem; border-top: 4px solid var(--accent); }
.cta-in { display: grid; gap: 1.8rem; align-items: center; }
@media (min-width: 800px) { .cta-in { grid-template-columns: 1.2fr auto; } }
.cta-band h2 { color: #fff; margin-bottom: 0.3rem; }
.cta-band p { margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* ---------------------------------------------------------------- FAQ */
.faq { display: grid; gap: 0.9rem; max-width: 46em; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--ink); padding: 1rem 1.2rem;
  list-style: none; position: relative; padding-right: 3rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-size: 1.5rem; color: var(--accent-ink); font-weight: 600;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 1.2rem 1.1rem; }

/* ---------------------------------------------------------------- page hero / crumbs */
.crumbs { padding-block: 1.1rem 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem; margin: 0; padding: 0; font-size: 0.88rem; }
.crumbs li:not(:last-child)::after { content: "›"; margin-left: 0.3rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }
.page-hero { border-bottom: 1px solid var(--line); background: var(--paper); }
.page-hero .wrap { padding-block: 2.4rem 2.8rem; }
@media (min-width: 800px) { .page-hero .wrap { padding-block: 3rem 3.5rem; } }

/* ---------------------------------------------------------------- contact */
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 2.5rem; align-items: start; } }
.contact-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.contact-list { margin: 0; display: grid; gap: 0.9rem; }
.contact-list > div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 0.6rem; }
.contact-list dt { font-weight: 600; color: var(--ink); }
.contact-list dd { margin: 0; }
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); }
.f-row { margin-bottom: 1.1rem; }
.f-row label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 0.35rem; font-size: 0.95rem; }
.f-row label [aria-hidden] { color: var(--warn); }
.f-row input, .f-row select, .f-row textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: var(--radius); padding: 0.65rem 0.8rem;
}
.f-row input:focus, .f-row select:focus, .f-row textarea:focus { border-color: var(--accent-ink); outline: none; box-shadow: 0 0 0 3px var(--accent-wash); }
.f-row input[aria-invalid="true"], .f-row textarea[aria-invalid="true"] { border-color: var(--warn); }
.f-status { min-height: 1.4em; margin: 0 0 0.8rem; font-size: 0.92rem; }
.f-status.ok { color: var(--ok); font-weight: 600; }
.f-status.err { color: var(--warn); font-weight: 600; }
.quote-card .note { margin-top: 0.9rem; margin-bottom: 0; }

/* ---------------------------------------------------------------- footer */
.site-foot { background: var(--ink); color: oklch(0.82 0.02 250); margin-top: 0; }
.foot-grid { display: grid; gap: 2.2rem; padding-block: 3rem; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.f-brand .brand-name { color: #fff; }
.f-brand .brand-sub { color: var(--accent); }
.f-brand p { font-size: 0.95rem; margin: 1rem 0 0; max-width: 26em; }
.f-col h3 {
  font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: oklch(0.65 0.03 250); margin-bottom: 1rem; font-weight: 600;
}
.f-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.f-col a { color: oklch(0.88 0.02 250); text-decoration: none; }
.f-col a:hover { color: #fff; text-decoration: underline; }
.f-contact address { font-style: normal; line-height: 1.9; }
.foot-bar { border-top: 1px solid oklch(0.35 0.02 250); }
.foot-bar-in { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; padding-block: 1.1rem; font-size: 0.85rem; color: oklch(0.65 0.03 250); }

/* ---------------------------------------------------------------- misc */
:where(main a):not(.btn):hover { text-decoration: underline; }

/* ---------------------------------------------------------------- division logos */
.division-logo {
  display: block; margin-top: 1.6rem; max-width: 22rem; height: auto;
}
.division-logo-sm { max-width: 15rem; }
@media (max-width: 640px) { .division-logo { max-width: 16rem; } .division-logo-sm { max-width: 12rem; } }

/* AJL family grid (About) */
.family-grid { display: grid; gap: 1.4rem; }
@media (min-width: 800px) { .family-grid { grid-template-columns: repeat(3, 1fr); } }
.family-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.8rem; display: flex; flex-direction: column; gap: 0.7rem;
}
.family-logo { display: block; width: 100%; max-width: 14rem; height: auto; margin-bottom: 0.4rem; }
.family-card h3 { font-size: 1.1rem; margin: 0; }
.family-card p { margin: 0; font-size: 0.95rem; color: var(--muted); }
.family-logo-tbd {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; letter-spacing: 0.06em;
  color: var(--accent-ink); border: 2px dashed var(--accent-ink); border-radius: var(--radius);
  width: 7.5rem; height: 4.2rem; max-width: 100%; margin-bottom: 0.4rem;
}

/* ---------------------------------------------------------------- FAQ (SEO) */
.faq-item { border: 1px solid var(--line); border-radius: 10px; background: var(--paper);
  padding: 0.9rem 1.1rem; margin-bottom: 0.6rem; }
.faq-item summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none;
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-weight: 700; color: var(--accent-deep, var(--accent)); flex: none; }
.faq-item[open] summary::after { content: "–"; }
.faq-item[open] { background: #fff; }
.faq-item p { margin: 0.6rem 0 0; }
