/* =========================================================
   MAB Trucking LLC — styles (premium edition)
   Colors are set once here. Change them and the whole site follows.
   ========================================================= */
:root {
  --ink: #0b1220;        /* dark navy (owner's pick): header, hero, dark sections */
  --slate: #1a2436;
  --ivory: #f4f1ea;      /* light text on dark, primary button */
  --paper: #faf8f4;      /* light section background */
  --line: #e2ddd2;
  --text: #131924;
  --muted: #5f6774;
  --brass: #b39762;      /* gold accent, used sparingly */
  --brass-soft: #cfb98c;
  --brass-ink: #85692f;   /* gold dark enough for small text on light backgrounds */
  --ink-deep: #070c16;    /* footer */
  --ink-rgb: 11,18,32; --ivory-rgb: 244,241,234; --brass-rgb: 179,151,98;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wide: 112%;          /* stretched width for headings */

  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); scroll-padding-bottom: 96px; overflow-x: clip; }
body { overflow-x: clip; max-width: 100vw; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 76px; /* room for phone action bar */
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-stretch: var(--wide); font-weight: 600; line-height: 1.05; margin: 0 0 .5em; letter-spacing: -.015em; }
h2 { font-size: clamp(2rem, 6.4vw, 3.4rem); }
h3 { font-size: 1.3rem; letter-spacing: -.005em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 22px; }
/* Visually hidden (no off-screen offsets: those make iPhone Safari zoom the page out) */
.skip, .hp { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip: auto; clip-path: none; left: 12px; top: 12px; z-index: 100; background: var(--ivory); color: var(--ink); padding: 8px 14px; }

/* Small uppercase label style, used in many places */
.eyebrow, .kicker, .tag, legend, .stats-grid span, .contact-tile span, .authority span, .value .num, .nav a:not(.btn) {
  font-size: .78rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; font-stretch: var(--wide);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px;
  font-family: var(--font); font-stretch: var(--wide); font-weight: 600; font-size: .85rem;
  letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  border-radius: 2px; border: 1px solid transparent; cursor: pointer; text-align: center;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-lg { min-height: 58px; padding: 0 34px; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .75rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--ivory); color: var(--ink); }
.btn-primary:hover { background: #fff; }
.btn-primary::after { content: "→"; letter-spacing: 0; transition: transform .2s var(--ease); }
.btn-primary:hover::after { transform: translateX(4px); }
.btn-dark { background: var(--ink); color: var(--ivory); }
.btn-dark:hover { background: var(--slate); }
.btn-ghost { border-color: rgba(var(--ivory-rgb),.45); color: var(--ivory); background: transparent; }
.btn-ghost:hover { border-color: var(--ivory); background: rgba(var(--ivory-rgb),.06); }
/* On light backgrounds the primary button turns dark */
.form-card .btn-primary, .section:not(.section-dark) .btn-primary { background: var(--ink); color: var(--ivory); }
.form-card .btn-primary:hover, .section:not(.section-dark) .btn-primary:hover { background: var(--slate); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(var(--ink-rgb),.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(var(--ivory-rgb),.08);
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ivory); }
.brand img { width: auto; height: 36px; object-fit: contain; }
.brand-text { white-space: nowrap; max-width: 100%; }
@media (max-width: 420px) {
  .brand { gap: 9px; }
  .brand img { height: 28px; }
  .brand-text { font-size: 1.05rem; letter-spacing: .1em; }
  .brand-text em { font-size: .62rem; letter-spacing: .16em; margin-left: 3px; }
}
.brand-text { font-stretch: 125%; font-weight: 700; font-size: 1.15rem; letter-spacing: .14em; line-height: 1; }
.brand-text em { font-style: normal; font-weight: 400; font-size: .7rem; color: var(--brass-soft); letter-spacing: .26em; text-transform: uppercase; margin-left: 6px; }

.menu-btn { width: 48px; height: 48px; background: none; border: 0; display: grid; place-content: center; gap: 7px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 1.5px; background: var(--ivory); transition: transform .25s, opacity .25s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

.nav {
  position: absolute; top: var(--header-h); left: 0; right: 0;
  display: none; flex-direction: column; padding: 8px 22px 26px;
  background: var(--ink); border-bottom: 1px solid rgba(var(--ivory-rgb),.08);
}
.nav.open { display: flex; }
.nav a:not(.btn) {
  color: var(--ivory); text-decoration: none; padding: 18px 0; font-size: .85rem;
  border-bottom: 1px solid rgba(var(--ivory-rgb),.08);
}
.nav .btn { margin-top: 20px; min-height: 52px; }

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--ivory); overflow: hidden; min-height: 90svh; display: flex; align-items: flex-end; background: var(--ink); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(var(--ink-rgb),.97) 0%, rgba(var(--ink-rgb),.8) 38%, rgba(var(--ink-rgb),.15) 68%, rgba(var(--ink-rgb),.35) 100%);
}
.hero-inner { position: relative; padding-top: 140px; padding-bottom: 56px; }
.eyebrow { display: flex; align-items: center; gap: 14px; color: var(--brass-soft); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--brass); }
.hero h1 { font-size: clamp(2.6rem, 12vw, 6.2rem); font-weight: 600; line-height: .98; letter-spacing: -.025em; margin-bottom: 14px; overflow-wrap: normal; }
.hero h1 span { color: var(--brass-soft); font-weight: 300; }
.tagline { font-size: clamp(1.45rem, 5.4vw, 2.1rem); font-weight: 400; font-stretch: var(--wide); color: var(--brass-soft); letter-spacing: .01em; margin: 0 0 18px; }
.lead { font-size: 1.1rem; font-weight: 300; max-width: 34em; color: rgba(var(--ivory-rgb),.82); }
.cta-row { display: flex; flex-direction: column; gap: 12px; margin: 32px 0 40px; }
.door-plate {
  display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: 22px;
  border-top: 1px solid rgba(var(--ivory-rgb),.15);
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; font-stretch: var(--wide);
  color: rgba(var(--ivory-rgb),.55);
}
.door-plate strong { color: var(--ivory); font-weight: 500; margin-left: 6px; }
.door-plate a { color: inherit; text-decoration: none; }
.door-plate a:hover strong { text-decoration: underline; }

/* Page-load reveal */
.reveal { opacity: 0; transform: translateY(16px); animation: rise .9s var(--ease) forwards; }
.d1 { animation-delay: .1s; } .d2 { animation-delay: .22s; } .d3 { animation-delay: .34s; } .d4 { animation-delay: .46s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Photo placeholders ----------
   Any element with class "ph" shows a labeled box until its photo exists.
   Drop the named photo into the images/ folder and it replaces the box. */
.ph {
  position: relative;
  background:
    radial-gradient(120% 80% at 70% 20%, rgba(var(--brass-rgb),.10), transparent 60%),
    linear-gradient(160deg, var(--slate), var(--ink));
}
.ph::before {
  content: attr(data-label);
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: max-content; max-width: 84%;
  font-size: .68rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; text-align: center;
  color: rgba(var(--ivory-rgb),.55);
  border: 1px solid rgba(var(--ivory-rgb),.22); padding: 10px 14px;
}
.hero-media.ph { position: absolute; z-index: 0; }
.hero-media.ph::before { top: 24px; transform: translateX(-50%); }
.ph img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.ph picture { position: relative; z-index: 1; display: block; width: 100%; height: 100%; }
.hero-media img { object-position: 50% 40%; }

/* ---------- Fleet gallery ---------- */
.gallery-section { padding-bottom: 0; }
.gallery-section .wrap { margin-bottom: 8px; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--ink); }
.gallery img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; filter: saturate(.9); transition: filter .4s var(--ease); }
.gallery img:hover { filter: saturate(1.05); }


/* Phones: photo on top, text underneath so the truck stays visible */
@media (max-width: 959px) {
  .hero { display: block; min-height: 0; }
  .hero-media.ph { position: relative; height: 62svh; min-height: 380px; }
  .hero-media img { object-position: 50% 72%; }
  .hero-shade { inset: 0 0 auto 0; height: max(62svh, 380px);
    background: linear-gradient(0deg, var(--ink) 0%, rgba(var(--ink-rgb),.6) 22%, rgba(var(--ink-rgb),0) 50%); }
  .hero-inner { margin-top: -70px; padding-top: 0; }
}

/* ---------- Stats ---------- */
.stats { background: var(--ink); color: var(--ivory); border-top: 1px solid rgba(var(--ivory-rgb),.08); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.stats-grid div { padding: 26px 8px; text-align: center; border-right: 1px solid rgba(var(--ivory-rgb),.08); border-bottom: 1px solid rgba(var(--ivory-rgb),.08); }
.stats-grid div:nth-child(2n) { border-right: 0; }
.stats-grid strong { display: block; font-stretch: var(--wide); font-size: 2.6rem; font-weight: 300; line-height: 1.1; color: var(--ivory); }
.stats-grid span { color: var(--brass-soft); font-size: .7rem; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-dark { background: var(--ink); color: var(--ivory); }
.section-dark p { color: rgba(var(--ivory-rgb),.75); }
.section-concrete { background: var(--paper); }
.kicker { display: flex; align-items: center; gap: 14px; color: var(--brass-ink); margin-bottom: 18px; }
.section-dark .kicker, .page-hero .kicker { color: var(--brass); }
.kicker::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.section-intro { font-size: 1.08rem; font-weight: 300; color: var(--muted); max-width: 38em; margin-bottom: 44px; }
.section-dark .section-intro { color: rgba(var(--ivory-rgb),.7); }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { background: #fff; display: flex; flex-direction: column; }
.card-media { aspect-ratio: 4 / 3; }
.card-body { padding: 14px 14px 18px; }
.card-body p { color: var(--muted); margin: 0; font-weight: 300; font-size: .85rem; line-height: 1.45; }
.tag { display: block; margin-bottom: 6px; color: var(--brass-ink); font-size: .62rem; letter-spacing: .16em; }
.card h3 { margin-bottom: 6px; font-size: 1.1rem; }

.coverage {
  margin-top: 56px; display: grid; gap: 28px; align-items: center;
  border-top: 1px solid var(--line); padding-top: 48px;
}
.coverage p { color: var(--muted); font-weight: 300; }
.coverage-map { max-width: 280px; }
.route path { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 6 6; stroke-linecap: round; animation: drive 3s linear infinite; }
.route circle { fill: var(--brass); }
@keyframes drive { to { stroke-dashoffset: -24; } }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 36px; margin-bottom: 64px; }
.about-media { aspect-ratio: 4 / 3; overflow: hidden; }
.values { display: grid; gap: 0; border-top: 1px solid rgba(var(--ivory-rgb),.12); }
.value { padding: 28px 0; border-bottom: 1px solid rgba(var(--ivory-rgb),.12); }
.value .num { color: var(--brass-soft); }
.value h3 { margin: 10px 0 8px; font-size: 1.45rem; }
.value p { margin: 0; font-weight: 300; }

/* ---------- Drive with us ---------- */
.offer-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 56px; }
.offer { padding: 28px 26px; background: #fff; }
.offer h3 { font-size: 1.15rem; margin-bottom: 8px; }
.offer p { margin: 0; color: var(--muted); font-weight: 300; }
.offer-stat { display: flex; flex-direction: column; justify-content: center; }
.offer-dark { background: var(--ink); color: var(--ivory); }
.offer-stat small { font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--brass-soft); margin-bottom: 6px; }
.offer-stat:not(.offer-dark) strong { color: var(--ink); }
.offer-stat:not(.offer-dark) small, .offer-stat:not(.offer-dark) span { color: var(--brass-ink); }
.offer-stat strong { font-stretch: var(--wide); font-size: 4.8rem; font-weight: 300; line-height: 1; letter-spacing: -.03em; color: var(--ivory); }
.offer-stat span { margin-top: 10px; font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--brass-soft); }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { padding-left: 24px; position: relative; margin: 6px 0; color: var(--muted); font-weight: 300; }
.checks li::before { content: ""; position: absolute; left: 0; top: .8em; width: 12px; height: 1px; background: var(--brass); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); padding: 30px 22px; }
.form-card > h3 { font-size: 1.6rem; margin-bottom: 4px; }
.form-note { color: var(--muted); font-weight: 300; }
fieldset { border: 0; padding: 0; margin: 0 0 22px; }
legend { color: var(--brass-ink); margin-bottom: 14px; padding: 0; font-size: .72rem; }
.fields { display: grid; gap: 18px; margin-bottom: 26px; }
.field { display: flex; flex-direction: column; gap: 8px; }
label { font-weight: 500; font-size: .85rem; color: var(--text); }
input, select, textarea {
  font: inherit; font-weight: 400; font-size: 16px; /* 16px stops iPhone zoom */
  width: 100%; min-height: 52px; padding: 12px 14px;
  border: 1px solid #cfc9bd; border-radius: 2px; background: #fff; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 100px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(var(--brass-rgb),.25); }
[aria-invalid="true"] { border: 2px solid #c0392b; background: #fff3f1; box-shadow: 0 0 0 3px rgba(192,57,43,.18); }
.field-error { margin: 0; color: #c0392b; font-size: .82rem; font-weight: 600; }
.field-error::before { content: "⚠ "; }
.form-status.err { background: #fff3f1; border-left: 4px solid #c0392b; padding: 10px 14px; }
.form-status.ok { background: #eef7f1; border-left: 4px solid #2f6b45; padding: 10px 14px; }
.form-status a { color: inherit; font-weight: 600; }
.consent { margin: 14px 0 0; font-size: .8rem; color: var(--muted); font-weight: 300; }
.consent a { color: var(--text); }
button[aria-busy="true"] { opacity: .75; cursor: progress; }
.form-status { margin: 16px 0 0; font-weight: 500; min-height: 1.5em; }
.form-status.ok { color: #2f6b45; }
.form-status.err { color: #a3352b; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 0; border-top: 1px solid rgba(var(--ivory-rgb),.12); margin-top: 12px; }
.contact-tile {
  display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 18px; align-items: center;
  padding: 24px 0; text-decoration: none; border-bottom: 1px solid rgba(var(--ivory-rgb),.12);
  transition: padding .25s var(--ease);
}
.contact-tile:hover { padding-left: 8px; }
.contact-tile svg { grid-row: span 2; width: 44px; height: 44px; padding: 11px; border: 1px solid rgba(var(--brass-rgb),.6); border-radius: 50%; fill: var(--brass-soft); }
.contact-tile span { color: var(--brass-soft); font-size: .7rem; }
.contact-tile strong { font-size: 1.05rem; font-weight: 500; overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); color: rgba(var(--ivory-rgb),.6); padding: 48px 0 26px; }
.site-footer .brand-text { color: var(--ivory); }
.footer-grid { display: grid; gap: 26px; }
.footer-grid p { margin: 10px 0 0; font-weight: 300; }
.authority { display: flex; flex-wrap: wrap; gap: 10px; }
.authority span { border: 1px solid rgba(var(--ivory-rgb),.18); padding: 9px 16px; font-size: .72rem; }
.authority strong { color: var(--ivory); font-weight: 500; margin-left: 6px; }
.footer-bottom { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(var(--ivory-rgb),.08); font-size: .82rem; font-weight: 300; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.site-footer a { color: rgba(var(--ivory-rgb),.85); }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.social { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(var(--ivory-rgb),.2); border-radius: 50%; }
.social svg { width: 18px; height: 18px; fill: var(--ivory); }
.social:hover { border-color: var(--brass-soft); }
.authority-wrap { display: flex; flex-direction: column; gap: 12px; }
.safer-link { font-size: .8rem; letter-spacing: .08em; }

/* ---------- Phone action bar ---------- */
body.typing .action-bar { display: none; }
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(var(--ink-rgb),.97); border-top: 1px solid rgba(var(--ivory-rgb),.1);
}
.action-bar .btn { min-height: 50px; padding: 0 12px; font-size: .78rem; letter-spacing: .12em; white-space: nowrap; }
.action-bar .btn-dark { background: transparent; border-color: rgba(var(--ivory-rgb),.35); }


/* Owner placeholders (class owner-todo) are removed by the build and never reach the public page. */
.owner-todo { display: none !important; }

/* ---------- Broker trust sections ---------- */
.trust-grid { display: grid; gap: 40px; }
.trust-actions { display: flex; flex-direction: column; gap: 12px; }
.btn-ghost-dark { border-color: rgba(var(--ink-rgb),.35); color: var(--ink); background: transparent; }
.btn-ghost-dark:hover { border-color: var(--ink); }
.facts { margin: 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.facts dt { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-stretch: var(--wide); color: var(--muted); font-weight: 500; }
.facts dd { margin: 0; font-weight: 600; font-stretch: var(--wide); font-size: 1.05rem; }
.facts .stat-fact dd { font-size: 2rem; font-weight: 300; line-height: 1; }
.offer-cta { display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.cta-pair { display: flex; flex-direction: column; gap: 10px; }
.cta-pair .btn { white-space: nowrap; }
.cta-secondary { margin-top: -22px; }
.cta-secondary .btn { min-height: 48px; }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--ink); color: var(--ivory); padding: 72px 0 56px; }
.page-hero h1 { font-size: clamp(2.4rem, 9vw, 4.4rem); margin-bottom: 18px; }
.page-hero .lead { margin-bottom: 28px; }
.page-hero .cta-row { margin: 0; }
.detail-list { margin: 0 0 48px; border-top: 1px solid var(--line); }
.detail-list > div { display: grid; gap: 4px 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.detail-list dt { font-weight: 600; font-stretch: var(--wide); }
.detail-list dd { margin: 0; color: var(--muted); font-weight: 300; }
.quotes { display: grid; gap: 24px; }
.quote { margin: 0; padding: 28px 0; border-top: 1px solid rgba(var(--ivory-rgb),.18); }
.quote blockquote { margin: 0 0 12px; font-size: 1.2rem; font-weight: 300; }
.quote figcaption { color: var(--brass-soft); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 40px; }
.prose p, .prose li { color: var(--muted); font-weight: 300; }
.prose a { color: var(--text); }

/* =========================================================
   Larger screens
   ========================================================= */
@media (min-width: 640px) {
  .cta-pair { flex-direction: row; }
  .cta-secondary { flex-direction: row; }
  .trust-actions { flex-direction: row; flex-wrap: wrap; }
  .detail-list > div { grid-template-columns: 260px 1fr; }
  .cta-row { flex-direction: row; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stats-grid div { border-bottom: 0; }
  .stats-grid div:nth-child(2n) { border-right: 1px solid rgba(var(--ivory-rgb),.08); }
  .stats-grid div:last-child { border-right: 0; }
  .card-body { padding: 26px 24px 30px; }
  .card-body p { font-size: inherit; line-height: inherit; }
  .tag { margin-bottom: 10px; font-size: .7rem; letter-spacing: .22em; }
  .card h3 { margin-bottom: 8px; font-size: 1.3rem; }
  .fields { grid-template-columns: 1fr 1fr; }
  .fields .full { grid-column: 1 / -1; }
  .offer-grid { grid-template-columns: 1fr 1fr; }
  .form-card { padding: 48px; }
}

@media (min-width: 960px) {
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
  .page-hero { padding: 120px 0 90px; }
  .quotes { grid-template-columns: repeat(2, 1fr); gap: 48px; }
  body { padding-bottom: 0; font-size: 18px; }
  .action-bar { display: none; }
  .menu-btn { display: none; }
  .nav { position: static; display: flex; flex-direction: row; align-items: center; gap: 28px; padding: 0; background: none; border: 0; }
  .nav a { white-space: nowrap; }
  .nav a:not(.btn) { padding: 0; border: 0; font-size: .72rem; color: rgba(var(--ivory-rgb),.75); transition: color .2s; }
  .nav a:not(.btn):hover { color: var(--ivory); }
  .nav .btn { margin: 0; min-height: 42px; background: transparent; color: var(--ivory); border-color: rgba(var(--ivory-rgb),.4); }
  .nav .btn::after { content: none; }
  .nav .btn:hover { border-color: var(--ivory); }
  .hero { min-height: 94vh; align-items: center; }
  /* Computers: text on the left, photo on the right */
  .hero-media { left: 38%; }
  .hero-media img { object-position: 22% 50%; }
  .hero-shade { background:
    linear-gradient(90deg, var(--ink) 0%, var(--ink) 36%, rgba(var(--ink-rgb),.35) 46%, rgba(var(--ink-rgb),0) 56%),
    linear-gradient(0deg, rgba(var(--ink-rgb),.6) 0%, transparent 35%); }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .hero-inner { padding-top: 140px; padding-bottom: 110px; }
  .section { padding: 130px 0; }
  .cards { grid-template-columns: repeat(4, 1fr); }
  .coverage { grid-template-columns: 300px 1fr; gap: 64px; }
  .about-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
  .values { grid-template-columns: repeat(3, 1fr); gap: 48px; border-top: 0; }
  .value { border-bottom: 0; border-top: 1px solid rgba(var(--ivory-rgb),.18); }
  .offer-grid { grid-template-columns: repeat(4, 1fr); }
  .offer-cta { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
  .offer-cta h3 { margin: 0; }
  .cta-pair { flex-direction: row; }
  #drive .form-card, #quote .form-card { max-width: 880px; }
  .contact-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; border-top: 0; }
  .contact-tile { border-bottom: 0; border-top: 1px solid rgba(var(--ivory-rgb),.18); }
  .footer-grid { grid-template-columns: 1fr auto; align-items: center; }
}

/* Small laptops: tighter menu so it never runs into the logo */
@media (min-width: 960px) and (max-width: 1179px) {
  .nav { gap: 20px; }
  .nav a:not(.btn) { letter-spacing: .14em; }
  .nav a[href="/#contact"] { display: none; }
}

/* iPhone Safari fix: a photo box sized with aspect-ratio must not contain a 100%-height child,
   or Safari re-measures it on every scroll and the box keeps growing. Size the image itself instead. */
.card-media, .about-media { aspect-ratio: auto; }
.card-media picture, .card-media img, .about-media picture, .about-media img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
}

/* Phones: the two apply buttons have long labels, so tighten the lettering and let them wrap if needed */
@media (max-width: 639px) {
  .cta-pair .btn, .page-hero .cta-row .btn { font-size: .76rem; letter-spacing: .1em; padding: 0 14px; white-space: normal; text-align: center; line-height: 1.3; }
}

/* ---------- Drivers page hero: cab photo faded into the navy, tidy buttons ---------- */
.page-hero-photo { position: relative; overflow: hidden; }
.page-hero-inner { position: relative; z-index: 2; }
.page-hero-media { position: relative; margin: 28px 0 0; border-radius: 16px; overflow: hidden; }
.page-hero-media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.page-hero-photo .page-hero-media { margin: 28px 22px 0; }
.page-hero-photo .btn-primary { background: var(--brass); border-color: var(--brass); color: #0b1220; }
.page-hero-photo .btn-primary:hover { background: var(--brass-soft); border-color: var(--brass-soft); }
.hero-actions { display: grid; gap: 12px; max-width: 640px; grid-template-columns: minmax(0, 1fr); }
.hero-actions .btn { min-height: 56px; justify-content: center; text-align: center; white-space: normal; padding-left: 16px; padding-right: 16px; }
@media (min-width: 640px) {
  .hero-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-actions .btn { white-space: nowrap; min-width: 0; padding-left: 12px; padding-right: 12px; font-size: .74rem; letter-spacing: .1em; }
}
@media (min-width: 960px) {
  .page-hero-photo { padding: 120px 0 110px; min-height: 560px; }
  .page-hero-photo .wrap { display: block; width: 100%; max-width: 1200px; margin: 0 auto; }
  .page-hero-photo .page-hero-inner > * { max-width: 620px; }
  .page-hero-photo .page-hero-media { position: absolute; inset: 0 0 0 50%; margin: 0; border-radius: 0; z-index: 0; }
  .page-hero-photo .page-hero-media picture, .page-hero-photo .page-hero-media img { width: 100%; height: 100%; }
  .page-hero-photo .page-hero-media img { aspect-ratio: auto; object-position: 66% 50%; }
  .page-hero-photo .page-hero-media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(90deg, var(--ink) 0%, rgba(11,18,32,.96) 10%, rgba(11,18,32,.55) 26%, rgba(11,18,32,0) 44%),
                linear-gradient(0deg, rgba(11,18,32,.6) 0%, rgba(11,18,32,0) 30%),
                linear-gradient(180deg, rgba(11,18,32,.5) 0%, rgba(11,18,32,0) 25%); }
}

/* Shared header (Drivers, Privacy): match the home page menu */
.nav a.nav-drive { color: var(--brass); }
.nav a.nav-drive:hover { color: var(--brass-soft); }
.nav .btn.nav-quote { background: var(--brass); border-color: var(--brass); color: #0b1220; }
.nav .btn.nav-quote:hover { background: var(--brass-soft); border-color: var(--brass-soft); }
@media (min-width: 960px) {
  .header-row { gap: 24px; }
  .brand { flex: none; }
  .nav { flex: 0 1 auto; margin-left: auto; gap: clamp(10px, 1.5vw, 28px); }
  .nav a:not(.btn) { font-size: clamp(.62rem, .72vw, .78rem); letter-spacing: clamp(.08em, .12vw, .14em); }
  .nav a[href="/#contact"] { display: inline; }
}
@media (min-width: 960px) and (max-width: 1259px) { .brand-text em { display: none; } }
