/*
  AMB Trucking | Recruiting landing, mixed theme, compact 1320px container.
  Maroon #860923 / #560617, gold #f4c025, ink #14171c, white #ffffff, grey #f1f3f6.
  Uppercase upright Teko at XL scale, Roboto body, circle badge, pill buttons.
  H5 brand bar and left-set stat overlay on natural autumn photography with a one-sided wash.
  Why drive, split feature, now hiring, icon strip, photo grid, doors, CTA band.
  Drive for Us / Pay & Benefits / Apply / Shippers / Contact.
*/
@font-face {
    font-family: Teko;
    src: url("../fonts/teko/teko-1.woff2") format("woff2");
    font-weight: 400 700;
    font-display: swap;
}
@font-face {
    font-family: Roboto;
    src: url("../fonts/roboto/roboto-2.woff2") format("woff2");
    font-weight: 400 900;
    font-display: swap;
}
:root {
    --primary: #860923;
    --primary-dark: #560617;
    --accent: #f4c025;
    --ink: #14171c;
    --surface: #ffffff;
    --surface-alt: #f1f3f6;
    --font-heading: Teko, sans-serif;
    --font-body: Roboto, sans-serif;
    --container: 1320px;
    --section: 56px;
    --pill: 999px;
    --line: #d7dbe2;
    --muted: #4a505b;
    --ease-out: cubic-bezier(.22, 1, .36, 1);
    --mobile-bar: 60px;
    --gutter: clamp(20px, 5vw, 72px);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--surface); font: 16px/1.55 var(--font-body); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; font-family: var(--font-heading); font-weight: 600; line-height: .96; text-transform: uppercase; }
h2 { font-size: clamp(36px, 4vw, 54px); }
h3 { font-size: 30px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; }
.dark-card :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .door :focus-visible, .feature-copy :focus-visible, .mobile-bar :focus-visible { outline-color: var(--accent); }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 110px; }
.wrap { width: min(var(--container), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: var(--section); }
.content-section + .content-section { margin-top: 44px; }
.title { border-inline-start: 5px solid var(--primary); padding-inline-start: 15px; margin-bottom: 16px; }
.dark-card .title, .feature-copy .title, .doors .title, .driver-end .title { border-inline-start-color: var(--accent); }
.fine { margin-top: 14px; color: var(--muted); font-size: .88rem; }
.text-link { color: var(--primary); font-weight: 800; text-underline-offset: .27em; }
.text-link:hover { text-decoration-thickness: 2px; }
.icon { width: 23px; height: 23px; object-fit: contain; flex: 0 0 auto; }
.sr-only, .honey { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 20; transform: translateY(-180%); color: var(--ink); background: var(--accent); padding: 12px 20px; font-weight: 800; }
.skip:focus { transform: none; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.button {
    display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 24px;
    border: 1px solid var(--primary); border-radius: var(--pill); background: var(--primary); color: white;
    font-size: .875rem; line-height: 1.15; font-weight: 800; text-align: center; text-decoration: none;
    transition: filter 180ms ease, transform 180ms ease;
}
.button:hover { filter: brightness(.92); transform: translateY(-1px); }
.button.white { background: white; border-color: white; color: var(--primary-dark); }
.button.gold { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.button.outline { color: var(--ink); border-color: currentColor; background: transparent; }
.button.outline-light { color: white; border-color: currentColor; background: transparent; }
.button.outline:hover { background: var(--surface-alt); }
.button.outline-light:hover { background: rgb(255 255 255 / .12); }
.wordmark { color: white; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; width: fit-content; }
.wordmark img { flex: 0 0 auto; width: 52px; height: 52px; transition: transform 250ms ease; }
.wordmark span { font: 600 30px/.8 var(--font-heading); white-space: nowrap; }
.wordmark small { display: block; font: 800 10px/1 var(--font-body); letter-spacing: .16em; margin-top: 4px; }
.site-header { position: sticky; top: 0; z-index: 12; color: white; background: var(--primary); }
.header-inner { min-height: 86px; display: flex; align-items: center; gap: clamp(18px, 3.2vw, 49px); }
.site-header.is-compact { margin-bottom: 22px; box-shadow: 0 3px 12px rgb(20 23 28 / .2); }
.site-header.is-compact .header-inner { min-height: 64px; }
.site-header.is-compact .wordmark img { transform: scale(.83); }
.main-nav { display: flex; gap: clamp(12px, 2.45vw, 38px); align-items: center; margin-inline-start: auto; }
.main-nav > a, .nav-group > a {
    display: flex; align-items: center; min-height: 44px; font-size: .89rem; font-weight: 700;
    text-decoration: none; white-space: nowrap; text-underline-offset: .38em;
}
.main-nav a:hover, .main-nav a[aria-current] { text-decoration: underline; }
.nav-group { position: relative; display: flex; align-items: center; }
.nav-disclosure { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; margin-inline-end: -12px; color: white; background: transparent; border: 0; }
.nav-disclosure span { display: block; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); }
.nav-pop { display: none; position: absolute; top: 100%; left: 0; z-index: 2; width: 280px; color: var(--ink); background: white; border-top: 3px solid var(--accent); box-shadow: 0 12px 24px #14171c30; }
.nav-group:last-child .nav-pop { left: auto; right: 0; }
.nav-group.is-open .nav-pop, html:not(.js) .nav-group:focus-within .nav-pop { display: block; }
.nav-pop a { display: grid; min-height: 58px; padding: 9px 16px; border-bottom: 1px solid var(--line); text-decoration: none; }
.nav-pop a:focus-visible { outline: 3px solid var(--primary); outline-offset: -3px; }
.nav-pop a:hover { background: var(--surface-alt); }
.nav-pop small { color: var(--muted); }
.menu-toggle { display: none; }
.header-apply { flex-shrink: 0; }
.mobile-bar { display: none; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: #d9e0e6; }
.hero-media, .photo-fill { position: absolute; inset: 0; width: 100%; height: 100%; }
.photo-fill { object-fit: cover; }
.hero-media { z-index: -2; }
.hero-media .photo-fill { left: 21%; width: 79%; object-position: center 55%; }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, #f1f3f6 2%, rgb(241 243 246 / .97) 24%, rgb(241 243 246 / .76) 36%, transparent 58%);
}
.hero-inner { min-height: clamp(430px, 37vw, 550px); display: flex; align-items: center; padding-block: 36px; }
.hero h1 { font-size: clamp(70px, 7vw, 88px); font-weight: 700; line-height: .87; }
.hero-copy p { margin: 14px 0 23px; font-size: clamp(16px, 1.45vw, 21px); font-weight: 500; line-height: 1.45; }
.hero-phone { display: inline-flex; gap: 9px; align-items: center; min-height: 44px; margin-top: 9px; color: var(--primary-dark); font-size: .875rem; font-weight: 800; text-underline-offset: 4px; }
.hero-phone .icon { width: 15px; height: 15px; }
.hero-facts { background: rgb(20 23 28 / .9); color: white; }
.hero-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; margin-block: 0; }
.hero-stat-grid div { min-height: 99px; display: flex; flex-direction: column-reverse; justify-content: center; padding: 12px 25px; border-inline-start: 1px solid #ffffff3d; }
.hero-stat-grid div:last-child { border-inline-end: 1px solid #ffffff3d; }
.hero-stat-grid dd { color: var(--accent); margin: 0; font: 600 clamp(28px, 3.2vw, 44px)/1 var(--font-heading); }
.hero-stat-grid dt { font-size: .875rem; font-weight: 650; color: white; }
.why-grid { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.5fr); align-items: center; gap: clamp(24px, 5vw, 70px); }
.perk-list, .icon-strip ul { list-style: none; padding: 0; margin-block: 0; }
.perk-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 24px; }
.perk-list li { display: flex; gap: 10px; align-items: center; min-height: 62px; font-weight: 700; border-bottom: 1px solid var(--line); }
.perk-list .icon { filter: invert(12%) sepia(80%) saturate(3688%) hue-rotate(331deg) brightness(74%) contrast(107%); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature { overflow: clip; background: var(--primary); color: white; }
.spec-photo, .job-photo { position: relative; min-height: 295px; }
.spec-photo {
    container-type: size;
    --spec-image-width: max(100cqw, 177.5cqh);
    --spec-image-height: max(100cqh, 56.34cqw);
}
.spec-photo .photo-fill { object-position: center; }
.feature-copy { align-self: center; padding: 44px max(var(--gutter), calc((100vw - var(--container)) / 2)) 44px clamp(28px, 5vw, 80px); }
.feature-copy p { max-width: 38ch; color: #fff; margin-bottom: 22px; }
.point { position: absolute; z-index: 1; }
.point[open] { z-index: 2; }
/* Map the hotspot centers to the photo after its centered cover crop. */
.point-cab {
    top: calc(50% + var(--spec-image-height) * .188 - 22px);
    left: calc(50% - var(--spec-image-width) * .046 - 22px);
}
.point-box {
    top: calc(50% + var(--spec-image-height) * .072 - 22px);
    left: calc(50% - var(--spec-image-width) * .156 - 22px);
}
.point summary {
    display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid white; border-radius: 50%;
    color: var(--ink); background: var(--accent); font-size: 27px; font-weight: 700; line-height: 1; cursor: pointer; list-style: none;
}
.point summary::-webkit-details-marker { display: none; }
.point summary::before { content: ""; position: absolute; z-index: -1; top: 2px; left: 2px; width: 40px; height: 40px; border: 2px solid var(--accent); border-radius: 100%; }
.point[open] summary span[aria-hidden] { transform: rotate(45deg); }
.point > div { position: absolute; width: clamp(155px, 21vw, 215px); bottom: 52px; padding: 10px 13px; background: var(--ink); color: white; border-top: 3px solid var(--accent); font-size: .85rem; }
.point > div p { margin: 4px 0 0; }
.hiring { background: var(--surface-alt); }
.dark-card { color: white; background: var(--ink); }
.job { grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr); }
.job-copy { padding: clamp(22px, 3vw, 44px); }
.job-copy h3 { font-size: clamp(30px, 4vw, 51px); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 12px 0 23px; }
.facts > div { border-block-start: 1px solid #ffffff40; padding: 10px 0 8px; }
.facts dt { color: #d8dce2; font-size: .82rem; }
.facts dd { margin: 3px 0 0; font-weight: 800; }
.icon-strip { background: var(--primary-dark); color: white; padding-block: 20px; }
.icon-strip ul { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.icon-strip li { display: flex; gap: 8px; align-items: center; justify-content: center; min-height: 38px; padding-inline: 8px; font-size: .86rem; font-weight: 700; }
.icon-strip li + li { border-inline-start: 1px solid #ffffff3d; }
.icon-strip .icon, .contact-grid .icon, .recruiter .icon, .mobile-bar .icon { filter: invert(1); }
.photo-grid { display: grid; grid-template-columns: 1fr 1.16fr 1fr; gap: 14px; }
.photo-tile { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: end; min-height: 232px; overflow: hidden; text-decoration: none; color: white; background: var(--ink); }
.photo-tile .photo-fill { z-index: -2; transition: transform .5s var(--ease-out); }
.photo-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg,#14171c 1%,#14171c9c 35%,transparent 79%); }
.tile-label { padding: 22px; transition: transform .5s var(--ease-out); }
.tile-label span { font-size: .9rem; }
.photo-tile:hover .photo-fill { transform: scale(1.04); }
.photo-tile:hover .tile-label { transform: translateY(-6px); }
.door-and-cta { position: relative; isolation: isolate; background: var(--surface-alt); }
.shared-photo { z-index: -2; object-position: center; }
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.door { position: relative; isolation: isolate; color: white; min-height: 250px; display: grid; align-items: end; }
.door-drive .photo-fill { z-index: -2; }
.door::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg,#14171cf5 0%,#14171c97 61%,#14171c30); }
.door-ship::after { background: linear-gradient(0deg,#560617fa 0%,#560617ab 62%,#56061740); }
.door-copy { padding: 36px max(var(--gutter), calc((100vw - var(--container)) / 2)); }
.door .title { margin-bottom: 8px; }
.final-cta { background: linear-gradient(90deg, var(--surface-alt) 20%, #f1f3f6ef 47%, #f1f3f666 100%); }
.cta-outline { display: flex; gap: 25px; align-items: center; justify-content: space-between; padding: clamp(22px, 4vw, 42px); border: 2px solid var(--primary); }
.cta-outline .title { margin-bottom: 8px; }
.cta-outline .button { flex-shrink: 0; }

.subhero { position: relative; isolation: isolate; overflow: hidden; background: var(--surface-alt); border-bottom: 1px solid var(--line); }
.subhero.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,var(--surface-alt) 14%,#f1f3f6f7 42%,#f1f3f679 65%,transparent 100%); }
.subhero .photo-fill { z-index: -2; object-position: center 53%; }
.subhero-inner { padding-block: 42px; }
.subhero.has-photo .subhero-inner { min-height: 235px; display: flex; justify-content: center; align-items: flex-start; flex-direction: column; }
.subhero h1 { font-size: clamp(43px, 6vw, 76px); }
.subhero p { margin: 8px 0 14px; }
.crumb { padding: 12px 0 0; font-size: .85rem; color: var(--muted); }
.crumb ol { display: flex; flex-wrap: wrap; gap: 5px 9px; list-style: none; padding: 0; margin: 0; }
.crumb li + li::before { content: "/"; margin-inline-end: 9px; color: var(--primary); }
.offer-line { display: flex; flex-wrap: wrap; gap: 3px 20px; color: var(--primary-dark); font-size: clamp(18px, 2.2vw, 28px); margin-block: 0 15px; }
.driver-layout { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(250px, 1fr); gap: clamp(26px, 5vw, 72px); }
.driver-side { position: sticky; top: 105px; align-self: start; display: grid; gap: 16px; }
.side-job, .recruiter, .owner-note, .experience, .packet, .contact-grid article { padding: clamp(21px, 3vw, 33px); }
.side-job h2, .recruiter h2 { font-size: 36px; }
.side-job p, .recruiter p { margin: 7px 0 13px; color: #e4e6eb; }
.side-job .button { margin: 3px 5px 3px 0; }
.recruiter { border-top: 4px solid var(--accent); }
.recruiter > a { display: flex; min-height: 44px; align-items: center; gap: 10px; overflow-wrap: anywhere; text-underline-offset: 3px; }
.recruiter .icon { width: 16px; height: 16px; }
table { width: 100%; border-collapse: collapse; text-align: left; }
table caption { text-align: left; color: var(--muted); margin: 0 0 8px; }
table :is(th, td) { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table th { width: 38%; }
table tr:nth-child(odd) { background: var(--surface-alt); }
.pay-table td { font-weight: 750; color: var(--primary-dark); }
.check-list { padding: 0; list-style: none; }
.check-list li { padding: 6px 0 6px 29px; position: relative; }
.check-list li::before { position: absolute; left: 1px; top: 13px; content: ""; width: 13px; height: 7px; transform: rotate(-45deg); border: solid var(--primary); border-width: 0 0 3px 3px; }
.experience { margin-top: 22px; }
.experience h3 { color: var(--accent); margin-bottom: 7px; }
.experience-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-block: 12px; }
.experience output { display: block; font-weight: 700; }
.equipment-grid, .contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.equipment-grid figure { margin: 0; background: var(--surface-alt); }
.equipment-grid a { text-decoration: none; }
.equipment-grid img { width: 100%; height: auto; aspect-ratio: 1.6; object-fit: cover; }
.equipment-grid figcaption { padding: 9px 10px; font-size: .9rem; font-weight: 700; }
.gallery-dialog { max-width: min(94vw, 1050px); max-height: 92vh; padding: 12px; border: 0; background: var(--ink); color: white; }
.gallery-dialog::backdrop { background: #14171cdb; }
.gallery-dialog img { height: auto; width: 100%; max-height: 73vh; object-fit: contain; }
.close-gallery { margin-bottom: 8px; }
.hiring-list { padding-inline-start: 23px; }
.hiring-list li { padding: 6px 0 6px 4px; }
.hiring-list li::marker { color: var(--primary); font-weight: 800; }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.faq-grid article { border-top: 1px solid var(--line); padding-block: 12px; }
.faq-grid h3 { font: 800 1rem/1.4 var(--font-body); text-transform: none; margin-bottom: 5px; }
.driver-end { color: white; background: var(--primary); }

.form { position: relative; padding: clamp(17px, 3.2vw, 35px); background: var(--surface-alt); border-top: 4px solid var(--primary); }
.form-section > p, .quote-section .wrap > p { max-width: 61ch; }
.progress { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; padding: 0; margin: 0 0 23px; gap: 8px; list-style: none; }
.progress li { border-bottom: 3px solid #b9bfcb; padding: 0 5px 9px; color: var(--muted); font-weight: 700; font-size: .88rem; position: relative; }
.progress li::after { content: ""; height: 3px; position: absolute; inset: auto 0 -3px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform 300ms ease; }
.progress li[aria-current], .progress li.is-complete { color: var(--primary-dark); }
.progress li[aria-current]::after, .progress li.is-complete::after { transform: scaleX(1); }
.progress span { margin-right: 4px; font-family: var(--font-heading); font-size: 1.1rem; }
.inline-band .stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stage { padding: clamp(13px, 2vw, 24px); background: var(--surface); border: 1px solid var(--line); }
.stage h3 { margin-bottom: 14px; }
.stage h3 span { color: var(--primary); margin-inline-end: 4px; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.inline-band .field-grid { grid-template-columns: minmax(0, 1fr); }
.field { display: grid; align-content: start; gap: 4px; min-width: 0; font-size: .9rem; font-weight: 700; }
.field :is(input, select, textarea) {
    display: block; min-width: 0; width: 100%; min-height: 46px; border: 1px solid #8e95a2;
    border-radius: 0; padding: 8px 10px; background: white; color: var(--ink); font-size: 1rem; font-weight: 400;
}
.dark-card input:focus-visible { outline-color: var(--accent); }
.field textarea { resize: vertical; }
.field input[readonly] { background: var(--surface-alt); }
.field :user-invalid { border-color: var(--primary); outline: 1px solid var(--primary); }
.full, .checks { grid-column: 1/-1; }
.checks { display: flex; flex-wrap: wrap; gap: 0 11px; margin: 0; padding: 0; border: 0; min-width: 0; }
.checks legend { font-weight: 750; font-size: .9rem; margin-bottom: 2px; }
.checks label, .consent { display: inline-flex; gap: 6px; align-items: center; min-height: 44px; cursor: pointer; font-size: .9rem; }
.consent { align-items: flex-start; line-height: 1.45; }
input[type=checkbox] { width: 18px; height: 18px; flex: 0 0 auto; margin: 0; accent-color: var(--primary); }
.consent input { margin-top: 2px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 17px; }
.form-error { border: 2px solid var(--primary); padding: 12px; }
.followup { background: var(--surface-alt); }
.followup-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: start; }
.ship-intro, .ship-details, .about-grid, .contact-layout { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(22px, 5vw, 70px); align-items: start; }
.authority {
    position: relative; color: var(--primary-dark); padding: 20px 30px; background: var(--surface-alt);
    border: 5px double var(--primary); border-radius: 6px; text-align: center;
}
.authority::before, .authority::after { content: ""; position: absolute; top: 14px; width: 14px; height: 6px; border-radius: var(--pill); background: var(--primary-dark); }
.authority::before { left: 13px; }
.authority::after { right: 13px; }
.authority h2 { font-size: clamp(25px, 4vw, 36px); }
.authority > a:not(.plate-email) { display: block; width: fit-content; margin-inline: auto; font: 600 clamp(35px, 5vw, 60px)/1.15 var(--font-heading); text-underline-offset: .09em; text-decoration-thickness: 2px; }
.authority address { font-size: .89rem; font-weight: 650; }
.plate-email { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.coverage, .ship-details { margin-top: 44px; }
.states { display: flex; flex-wrap: wrap; column-gap: 17px; row-gap: 4px; margin: 0; list-style: none; padding: 0; }
.states li + li::before { content: "·"; padding-inline-end: 10px; color: var(--primary); font-weight: 800; }
.ship-details .content-section { margin: 0; }
.safety { background: var(--surface-alt); padding: 25px; }
.quote-section { background: var(--surface-alt); }
.quote-section .form { padding-inline: 0; }
.quote-form .stage + .stage { margin-top: 13px; }
.packet { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; }
.packet .button { margin-top: 10px; }
.owner-name { color: var(--accent); font: italic 600 30px/1.1 var(--font-heading); }
.owner-name span { display: block; color: white; font: 700 .88rem/1.35 var(--font-body); }
.contact-grid article h3 { margin: 14px 0 5px; }
.contact-grid article a { display: flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.contact-layout { grid-template-columns: .75fr 1.25fr; margin-top: 40px; }
.contact-layout button { margin-top: 16px; }
.address-block { padding: 24px; background: var(--surface-alt); }
.address-block address { margin-bottom: 15px; }
.legal { max-width: 850px; }
.legal .title:not(:first-child) { margin-top: 30px; }
.site-footer { background: var(--ink); color: #e4e6eb; padding-top: 39px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 26px; padding-bottom: 26px; }
.footer-grid h2 { font-size: 30px; color: white; margin-bottom: 5px; }
.footer-grid address { margin: 13px 0 4px; font-size: .9rem; }
.footer-grid a:not(.wordmark), .footer-grid span:not(.wordmark span) { display: flex; align-items: center; min-height: 35px; text-decoration: none; width: fit-content; overflow-wrap: anywhere; font-size: .9rem; }
.footer-grid a:hover:not(.wordmark) { text-decoration: underline; }
.footer-grid .dot-link { color: var(--accent); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid #ffffff3d; padding-block: 10px; font-size: .85rem; }
.footer-bottom a { display: inline-flex; min-height: 44px; align-items: center; margin-inline-start: 14px; }

html.js [data-anim="reveal"] { opacity: 0; transform: translateY(24px); animation: reveal-failsafe 0s 2.5s forwards; }
html.js [data-anim="reveal"].is-in { animation: reveal .5s var(--ease-out) both; }
[data-anim="icon-pop"].is-in .icon { animation: icon-pop .4s var(--ease-out) both; }
[data-anim="icon-pop"] li:nth-child(2) .icon { animation-delay: .06s; }
[data-anim="icon-pop"] li:nth-child(3) .icon { animation-delay: .12s; }
[data-anim="icon-pop"] li:nth-child(4) .icon { animation-delay: .18s; }
[data-anim="icon-pop"] li:nth-child(5) .icon { animation-delay: .24s; }
[data-anim="icon-pop"] li:nth-child(6) .icon { animation-delay: .30s; }
[data-anim="hero-zoom"] { animation: hero-zoom 22s ease-in-out infinite alternate; }
[data-anim="hotspot-pulse"]:not(.has-interacted) .point summary::before { animation: hotspot-pulse 2.5s ease-out infinite; }
.stage.entering { animation: step-slide .28s var(--ease-out) both; --direction: 30px; }
.stage.entering.backward { --direction: -30px; }
@keyframes reveal { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes reveal-failsafe { to { opacity: 1; transform: none; } }
@keyframes icon-pop { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: scale(1); } }
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes hotspot-pulse { from { opacity: .8; transform: scale(1); } 75%, to { opacity: 0; transform: scale(1.62); } }
@keyframes step-slide { from { opacity: 0; transform: translateX(var(--direction)); } to { opacity: 1; transform: none; } }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

@media (min-width: 900px) {
    .dark-card.job { transition: transform 180ms ease, box-shadow 180ms ease; }
    .dark-card.job:hover { transform: translateY(-3px); box-shadow: 0 9px 24px #14171c30; }
}
@media (max-width: 1050px) {
    .icon-strip li { font-size: .78rem; }
    .perk-list { gap: 0 14px; }
    .contact-grid article { padding-inline: 16px; }
}
@media (max-width: 899px) {
    body { padding-bottom: calc(var(--mobile-bar) + env(safe-area-inset-bottom, 0px)); }
    .header-inner { min-height: 72px; gap: 12px; justify-content: space-between; flex-wrap: wrap; }
    .site-header.is-compact { margin-bottom: 8px; }
    .site-header.is-compact .header-inner { min-height: 64px; }
    .wordmark img { width: 44px; height: 44px; }
    .wordmark span { font-size: 25px; }
    .js .menu-toggle { display: inline-flex; align-items: center; gap: 6px; margin-inline-start: auto; min-height: 44px; padding: 0 8px; background: transparent; color: white; border: 0; font-weight: 800; }
    .main-nav { flex-basis: 100%; order: 4; flex-wrap: wrap; margin: 0; }
    .js .main-nav { display: none; position: absolute; inset: 100% 0 auto; margin: 0; overflow: auto; max-height: 72vh; padding: 4px var(--gutter) 18px; background: var(--primary-dark); }
    .js .main-nav.is-open { display: block; animation: menu-in .25s var(--ease-out) both; }
    .main-nav > a, .nav-group { border-bottom: 1px solid #ffffff40; }
    .nav-group { flex-wrap: wrap; justify-content: space-between; }
    .nav-disclosure { margin-inline-end: 0; }
    .nav-pop { position: static; width: 100%; box-shadow: none; }
    .header-apply { padding-inline: 15px; }
    .mobile-bar {
        position: fixed; inset: auto 0 0; z-index: 11; min-height: var(--mobile-bar); display: grid;
        grid-template-columns: 1fr 1fr; background: var(--ink); color: white;
        padding-bottom: env(safe-area-inset-bottom, 0px);
        transition: transform .2s ease, opacity .2s ease;
    }
    .mobile-bar.is-hidden { transform: translateY(100%); opacity: 0; visibility: hidden; }
    .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 9px; text-decoration: none; min-height: 52px; font-weight: 800; }
    .mobile-bar a:last-child { background: var(--primary); }
    .mobile-bar .icon { width: 16px; height: 16px; }
    .why-grid { gap: 15px 26px; }
    .perk-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .icon-strip ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .icon-strip li:nth-child(4) { border-inline-start: 0; }
    .driver-side { position: static; }
    .inline-band .stages { grid-template-columns: minmax(0, 1fr); }
    .inline-band .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    :root { --section: 36px; }
    .header-inner { gap: 5px; }
    .wordmark { gap: 7px; }
    .wordmark img { width: 36px; height: 36px; }
    .wordmark span { font-size: 21px; }
    .wordmark small { font-size: 8px; }
    .header-apply { padding-inline: 11px; min-height: 44px; font-size: .8rem; }
    .js .menu-toggle { font-size: .82rem; padding-inline: 5px; }
    .hero h1 { font-size: clamp(51px, 13.6vw, 72px); }
    .hero-inner { min-height: 462px; padding-block: 28px; align-items: end; }
    .hero-copy p { margin-block: 10px 15px; }
    .hero::before { background: linear-gradient(180deg, transparent 12%, #f1f3f630 21%, #f1f3f6e8 35%, var(--surface-alt) 53%); }
    .hero-media .photo-fill { left: 0; width: 100%; height: 52%; object-position: 50% 37%; }
    .desktop-only { display: none; }
    .hero-phone { margin-top: 5px; }
    .hero-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-stat-grid div { min-height: 72px; padding: 9px 12px; }
    .hero-stat-grid div:nth-child(even) { border-inline-end: 1px solid #ffffff3d; }
    .hero-stat-grid div:nth-child(n+3) { border-top: 1px solid #ffffff3d; }
    .hero-stat-grid dd { font-size: 30px; }
    .hero-stat-grid dt { font-size: .76rem; }
    .button { padding-inline: 17px; }
    .header-apply { padding-inline: 11px; }
    .title { padding-inline-start: 11px; margin-bottom: 12px; }
    .why-grid, .split, .driver-layout, .followup-grid, .ship-intro, .ship-details, .about-grid, .contact-layout, .packet, .doors { grid-template-columns: minmax(0, 1fr); }
    .perk-list li { font-size: .88rem; min-height: 50px; }
    .perk-list .icon { width: 18px; height: 18px; }
    .spec-photo, .job-photo { min-height: 0; aspect-ratio: 1.55; }
    .point summary { width: 44px; height: 44px; }
    .feature-copy { padding: 29px var(--gutter) 35px; }
    .job-photo { order: -1; aspect-ratio: 2; }
    .icon-strip .icon { width: 17px; height: 17px; }
    .icon-strip li { font-size: .73rem; padding-inline: 4px; }
    .photo-grid { grid-template-columns: 1fr; gap: 10px; }
    .photo-tile { min-height: 177px; }
    .door { min-height: 220px; }
    .door-copy { padding-block: 25px; }
    .shared-photo { top: 29%; height: 71%; object-position: 60% center; }
    .cta-outline { align-items: flex-start; flex-direction: column; gap: 13px; }
    .final-cta { background: #f1f3f6db; }
    .subhero.has-photo::before { background: linear-gradient(90deg,#f1f3f6fa 10%,#f1f3f6dc 65%,#f1f3f664 100%); }
    .subhero-inner { padding-block: 30px; }
    .subhero.has-photo .subhero-inner { min-height: 188px; }
    .offer-line { flex-direction: column; }
    .faq-grid { grid-template-columns: minmax(0,1fr); gap: 0; }
    .equipment-grid { gap: 7px; }
    .equipment-grid figcaption { font-size: .75rem; }
    .field-grid, .inline-band .field-grid { grid-template-columns: minmax(0, 1fr); }
    .progress { gap: 4px; }
    .progress li { padding-inline: 1px; font-size: .75rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px 15px; }
    .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
    .footer-grid a:not(.wordmark) { min-height: 44px; }
    .footer-bottom { align-items: start; flex-direction: column; gap: 4px; }
    .footer-bottom a { margin-inline: 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html.js [data-anim="reveal"] { transform: none; opacity: 1; }
}
