/*
  Thee Scrappers regional-community design. Navy #0f2c60, blue #5188ec,
  deep navy #081834, ink #14171c, white #ffffff and gray #f1f3f6.
  Montserrat headings, Roboto body, sentence case, upright, XXL headlines.
  1240px container, regular density, 8px token, shield wordmark, crisp autumn
  daylight on dry roads. Driving Jobs / Freight / Service Area / Our Story / Contact.
  Floating header over a three-photo collage with a solid hiring panel.
  Home order: now hiring, region, why drive, services, statement, photo tiles, CTA.
  Mixed theme, flat cards, square buttons, diagonal photos, left-bar titles,
  driver tabs and light footer.
*/
:root {
  --primary: #0f2c60;
  --primary-dark: #081834;
  --accent: #5188ec;
  --ink: #14171c;
  --surface: #ffffff;
  --surface-alt: #f1f3f6;
  --heading: Montserrat, sans-serif;
  --body: Roboto, sans-serif;
  --container: 1240px;
  --section: 88px;
  --heading-scale: clamp(88px, 6.4vw, 112px);
  --radius: 8px;
  --line: #d3dae4;
  --muted: #465368;
  --edge: clamp(24px, 5vw, 76px);
  --arrival: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 114px; }
body { margin: 0; color: var(--ink); background: var(--surface); font: 16px/1.6 var(--body); }
h1, h2, h3, h4 { margin: 0; font-family: var(--heading); line-height: 1.12; color: var(--primary-dark); font-weight: 800; }
h1 { font-size: clamp(42px, 5.2vw, 76px); letter-spacing: -.055em; }
h2 { font-size: clamp(30px, 3.2vw, 47px); letter-spacing: -.04em; }
h3 { font-size: clamp(19px, 2vw, 25px); letter-spacing: -.025em; }
h4 { font-size: 17px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
dl, dd, figure { margin: 0; }
address { font-style: normal; }
a { color: var(--primary); text-underline-offset: .22em; overflow-wrap: anywhere; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(var(--container), calc(100% - var(--edge) * 2)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section-title { margin: 0 0 26px; border-left: 5px solid var(--accent); padding-inline-start: 18px; }
.intro { font-size: clamp(17px, 1.55vw, 21px); max-width: 46ch; }
.light-band { background: var(--surface-alt); }
.band { color: white; background: var(--primary); }
.band h2, .band h3, .band a:not(.btn) { color: white; }
.text-link { font-weight: 750; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }
.fine { font-size: .86rem; color: var(--muted); }
.icon { width: 26px; height: 26px; object-fit: contain; }
.flat { border: 1px solid var(--line); background: var(--surface); }
.split { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: center; gap: clamp(34px, 7vw, 103px); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 10px 22px; border: 1px solid transparent;
  background: var(--primary); color: white; font-weight: 800; font-size: .82rem;
  line-height: 1.3; letter-spacing: .045em; text-transform: uppercase; text-decoration: none; text-align: center;
  border-radius: 0; transition: background-color .18s ease, color .18s ease;
}
.btn:hover { background: var(--primary-dark); color: white; }
.btn-accent { background: var(--accent); color: var(--primary-dark); }
.btn-accent:hover { background: #79a4f3; color: var(--primary-dark); }
.btn-outline-light { background: transparent; border-color: white; color: white; }
.btn-outline-light:hover { background: white; color: var(--primary); }
.btn-ghost { background: white; border-color: var(--primary); color: var(--primary); }
.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip:focus { position: fixed; z-index: 20; top: 6px; left: 8px; background: white; padding: 12px 18px; }

.site-header { position: fixed; z-index: 10; inset: 20px 20px auto; pointer-events: none; }
.header-inner {
  position: relative; pointer-events: auto; display: flex; align-items: center; justify-content: space-between;
  gap: clamp(12px, 2.2vw, 34px); max-width: var(--container); margin-inline: auto; padding: 0 19px 0 24px;
  min-height: 82px; background: var(--surface); border-radius: var(--radius);
  box-shadow: 0 5px 22px #08183425; transition: min-height .25s ease;
}
.site-header.is-compact .header-inner { min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--primary); flex: 0 0 auto; }
.brand img { width: 42px; height: 46px; }
.brand span { font: 900 14px/1.08 var(--heading); letter-spacing: -.045em; white-space: nowrap; }
.brand b { display: block; font-size: 10px; letter-spacing: .135em; margin-top: 3px; }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: clamp(7px, 1.6vw, 26px); margin-left: auto; }
.nav-link { display: inline-flex; align-items: center; min-height: 48px; text-decoration: none; color: var(--ink); font-weight: 700; white-space: nowrap; font-size: .92rem; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--primary); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.nav-group { position: relative; display: flex; align-items: center; }
.nav-toggle { display: grid; place-items: center; width: 30px; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--primary); }
.nav-toggle span { display: block; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span { transform: translateY(2px) rotate(225deg); }
.nav-dropdown {
  position: absolute; display: none; z-index: 1; width: min(320px, 80vw); top: 100%; left: -18px;
  padding: 10px; border: 1px solid var(--line); border-top: 3px solid var(--accent);
  background: white; box-shadow: 0 8px 18px #08183418;
}
.nav-group.is-open .nav-dropdown, html:not(.js) .nav-group:focus-within .nav-dropdown { display: grid; }
@media (hover: hover) {
  html:not(.js) .nav-group:hover .nav-dropdown { display: grid; }
}
.nav-dropdown a { display: grid; gap: 3px; padding: 9px 11px; text-decoration: none; }
.nav-dropdown a:hover, .nav-dropdown a:focus-visible { background: var(--surface-alt); }
.nav-dropdown span { font-size: .85rem; color: var(--muted); line-height: 1.4; }
.header-apply { white-space: nowrap; }
.menu-toggle, .mobile-bar { display: none; }

.home-hero {
  position: relative; isolation: isolate; display: grid; align-items: end;
  min-height: clamp(650px, 50vw, 800px); padding: 145px 0 54px; background: var(--primary-dark);
}
.hero-mosaic { position: absolute; z-index: -1; display: grid; grid-template: 1fr 1fr / 71% 29%; inset: 0; overflow: hidden; }
.hero-mosaic > div { min-height: 0; position: relative; overflow: hidden; }
.hero-mosaic img { width: 100%; height: 100%; object-fit: cover; }
.hero-lead { grid-row: span 2; margin-right: -23px; clip-path: polygon(0 0, 100% 0, calc(100% - 24px) 100%, 0 100%); z-index: 1; }
.hero-lead img { object-position: 45% 52%; }
.hero-lead::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #08183465, transparent 66%); }
.hero-side { border-left: 6px solid var(--primary-dark); }
.hero-side-top { border-bottom: 3px solid var(--primary-dark); }
.hero-side-bottom { border-top: 3px solid var(--primary-dark); }
.hero-side-top img { object-position: 52% 55%; }
.hero-side-bottom img { object-position: 48% 52%; }
.hero-content { padding-left: clamp(180px, 26vw, 414px); }
.hero-panel {
  background: var(--primary-dark); color: white; width: max-content; max-width: 100%;
  padding: clamp(31px, 3vw, 46px) clamp(34px, 4vw, 60px) clamp(30px, 3vw, 42px);
  border-left: 8px solid var(--accent);
}
.hero-panel h1 { color: white; font-size: var(--heading-scale); line-height: .96; letter-spacing: -.065em; }
.hero-panel h1 span { display: block; }
.hero-panel p { margin: 20px 0 23px; font-size: clamp(16px, 1.65vw, 22px); }
.hiring { padding-top: 68px; }
.job-card, .driver-summary { display: grid; align-items: center; gap: clamp(20px, 3vw, 38px); grid-template-columns: auto minmax(0, 1fr) auto; padding: 28px clamp(22px, 3.1vw, 42px); }
.job-badge {
  display: grid; place-content: center; justify-items: center; gap: 6px; flex-shrink: 0;
  width: 99px; height: 99px; border: 1px solid #becce1; border-radius: 50%; text-align: center;
  color: var(--primary); background: var(--surface-alt); font: 800 .70rem/1.3 var(--heading);
  text-transform: uppercase;
}
.job-badge .icon, .benefit-grid .icon, .contact-grid .icon, .recruiter .icon { filter: invert(13%) sepia(55%) saturate(2385%) hue-rotate(207deg) brightness(94%) contrast(96%); }
.job-content h3 { margin-bottom: 16px; }
.job-facts { display: grid; grid-template-columns: 1.25fr 1.1fr 1fr .85fr; gap: 14px; align-items: start; }
.job-facts dt { font-size: .83rem; color: var(--muted); margin-bottom: 3px; }
.job-facts dd { font-weight: 800; line-height: 1.38; }
.job-facts .pay { color: var(--primary); font: 850 clamp(16px, 1.7vw, 24px)/1.24 var(--heading); letter-spacing: -.025em; }
.job-content .fine { margin: 12px 0 0; }
.job-actions { display: grid; justify-items: stretch; text-align: center; gap: 8px; }
.job-actions .text-link { font-size: .91rem; }
.region { position: relative; }
.diagonal-divider { position: absolute; inset: -18px 0 auto; height: 19px; background: var(--primary); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.region address { margin-bottom: 23px; color: #e5edfc; }
.map-panel { color: var(--ink); padding: clamp(16px, 3vw, 35px); background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.map-panel .cmap { display: block; width: 100%; height: auto; }
.map-panel .tile rect { fill: #e2e7ee; }
.map-panel .tile text { fill: #3b4860; font-family: var(--body); }
.map-panel .tile.near rect, .swatch.near { fill: #b7ccef; background: #b7ccef; }
.map-panel .tile.home rect, .swatch.home { fill: var(--primary); background: var(--primary); }
.map-panel .tile.home text { fill: white; }
.map-panel .pin circle { fill: var(--accent); }
.map-panel figcaption { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 16px; color: var(--muted); font-size: .82rem; }
.map-panel figcaption > span { display: inline-flex; gap: 7px; align-items: center; }
.swatch { display: inline-block; flex: 0 0 12px; width: 12px; height: 12px; }

.benefit-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.benefit-grid li { display: grid; align-content: start; gap: 13px; background: white; padding: 24px 18px; min-height: 120px; color: var(--primary-dark); font-weight: 750; line-height: 1.37; }
.qualify { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 20px; }
.qualify h3 { font-size: 18px; }
.qualify ul { list-style: none; display: grid; gap: 6px; margin: 12px 0 10px; }
.qualify li { padding: 7px 10px 7px 31px; border: 1px solid var(--line); font-size: .94rem; position: relative; }
.qualify li::before, .checklist li::before { content: ''; position: absolute; left: 13px; top: .8em; width: 10px; height: 6px; border-left: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(-45deg); }
.service-grid, .contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-card, .contact-grid article { padding: clamp(20px, 3vw, 34px); }
.service-icon { display: grid; place-items: center; border-radius: 50%; background: var(--primary); width: 49px; height: 49px; margin-bottom: 17px; }
.service-icon .icon { width: 22px; height: 22px; filter: invert(1); }
.service-card h3, .contact-grid h3 { margin-bottom: 10px; }
.service-card p { color: var(--muted); }
.statement .wrap { max-width: 975px; }
.statement p { font: 600 clamp(25px, 3vw, 39px)/1.33 var(--heading); letter-spacing: -.03em; margin-bottom: 22px; }
.statement .text-link { display: inline-block; border-top: 1px solid var(--line); padding-top: 15px; }
.tile-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--primary-dark); overflow: hidden; }
.photo-tile { position: relative; display: flex; min-height: clamp(255px, 28vw, 410px); align-items: end; isolation: isolate; overflow: hidden; text-decoration: none; color: white; }
.photo-tile img { position: absolute; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--arrival); }
.photo-tile + .photo-tile img { clip-path: polygon(4% 0, 100% 0, 100% 100%, 0 100%); }
.photo-tile::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, #081834 0%, #08183400 70%); }
.photo-tile > span { display: grid; padding: 26px clamp(23px, 4vw, 52px); transition: transform .2s ease; }
.photo-tile strong { font: 800 clamp(23px, 2.5vw, 35px)/1.15 var(--heading); letter-spacing: -.035em; }
.photo-tile:hover img, .photo-tile:focus-visible img { transform: scale(1.04); }
.photo-tile:hover > span, .photo-tile:focus-visible > span { transform: translateY(-6px); }
.photo-tile:focus-visible { outline-offset: -5px; }
.cta-band { position: relative; isolation: isolate; color: white; background: var(--primary); }
.cta-background { position: absolute; z-index: -1; inset: 0; background: var(--primary); overflow: hidden; }
.cta-image { position: absolute; inset: 0 0 0 auto; width: 57%; height: 100%; object-fit: cover; object-position: 60% 51%; clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%); }
.cta-background:has(.cta-image)::after {
  content: ''; position: absolute; inset: 0 0 0 42%; clip-path: polygon(17% 0, 100% 0, 100% 100%, 0 100%);
  background: linear-gradient(90deg, #08183480, #08183412);
}
.cta-inner { display: flex; gap: 26px; align-items: center; justify-content: space-between; padding-block: 65px; }
.cta-inner > div { max-width: min(48ch, 55%); background: var(--primary); padding-right: 20px; }
.cta-inner h2 { color: white; }
.cta-inner p { margin: 8px 0 0; }
.cta-inner .btn { flex: 0 0 auto; }
.site-footer { background: var(--surface-alt); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .9fr 1.1fr; gap: 30px; padding-block: 48px; }
.footer-grid .brand { margin-bottom: 13px; }
.footer-grid p { margin: 7px 0 0; }
.footer-grid h2 { margin: 7px 0 10px; font-size: 16px; letter-spacing: 0; }
.footer-grid ul { display: grid; gap: 4px; list-style: none; }
.footer-grid ul a { text-decoration: none; }
.footer-grid ul a:hover { text-decoration: underline; }
.footer-grid address, .footer-grid ul, .footer-grid p { font-size: .91rem; }
.footer-base { background: var(--primary-dark); color: white; font-size: .82rem; }
.footer-base .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 20px; min-height: 54px; padding-block: 9px; }
.footer-base a { color: white; margin-right: 15px; }
.footer-base a:last-child { margin-right: 0; }

.page-banner {
  position: relative; isolation: isolate; display: grid; align-items: end;
  min-height: 282px; overflow: hidden; padding: 132px 0 45px; background: var(--primary-dark); color: white;
}
.page-banner.has-image { min-height: 395px; }
.page-banner img { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 67%; height: 100%; object-fit: cover; object-position: 55% 53%; clip-path: polygon(17% 0, 100% 0, 100% 100%, 0 100%); }
.page-banner.has-image::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, var(--primary-dark) 17%, transparent 100%); }
.page-banner h1 { color: white; max-width: 17ch; }
.page-banner p { margin: 12px 0 0; font-size: clamp(16px, 1.65vw, 22px); max-width: 48ch; }
.page-banner .btn { margin-top: 19px; }
.crumbs { background: var(--surface-alt); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; list-style: none; min-height: 48px; font-size: .87rem; }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--muted); }
.driver-summary { margin-bottom: 42px; }
.tab-links { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.tab-links a {
  display: flex; min-height: 52px; padding: 12px 22px; align-items: center; text-decoration: none;
  border-bottom: 3px solid transparent; font-weight: 800;
}
.tab-links a:hover, .tab-links a[aria-selected="true"] { border-color: var(--accent); background: var(--surface-alt); }
.tab-panel { padding: 32px 0 15px; }
.tab-panel .section-title { font-size: clamp(28px, 3vw, 36px); }
.pay-card { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 28px; }
.pay-card > div { padding: 20px 24px; }
.pay-card > div + div { border-left: 1px solid var(--line); }
.pay-card h3 { font-size: 17px; }
.pay-card p { color: var(--primary); font: 800 clamp(23px, 3.5vw, 38px)/1.2 var(--heading); letter-spacing: -.04em; margin: 7px 0 0; }
.pay-card small { color: var(--muted); }
.calendar h3 { margin-bottom: 6px; }
.calendar table { width: 100%; text-align: center; border-spacing: 3px; table-layout: fixed; font-size: .9rem; }
.calendar th { color: var(--muted); }
.calendar td { padding: 8px 2px; background: var(--surface-alt); }
.calendar .calendar-home { background: var(--accent); color: var(--primary-dark); font-weight: 800; }
.checklist { list-style: none; margin-bottom: 26px; }
.checklist li { position: relative; padding: 8px 8px 8px 32px; border-bottom: 1px solid var(--line); }
.checklist li::before { top: 16px; left: 7px; }
.hiring-steps { padding-left: 24px; margin: 12px 0 0; }
[data-el="faq"] details { border-bottom: 1px solid var(--line); }
[data-el="faq"] details:first-of-type { border-top: 1px solid var(--line); }
[data-el="faq"] summary { display: grid; grid-template-columns: 35px 1fr 15px; column-gap: 12px; align-items: center; min-height: 55px; list-style: none; cursor: pointer; padding: 10px 12px; font-weight: 750; }
[data-el="faq"] summary::-webkit-details-marker { display: none; }
[data-el="faq"] details[open] summary { background: var(--surface-alt); }
.faq-no { font-family: var(--heading); color: var(--primary); }
.faq-plus { position: relative; width: 14px; height: 14px; color: var(--primary); }
.faq-plus::before, .faq-plus::after { content: ''; position: absolute; background: currentColor; inset: 6px 0; }
.faq-plus::after { transform: rotate(90deg); }
details[open] .faq-plus::after { content: none; }
[data-el="faq"] details p { padding: 10px 16px 14px 59px; margin: 0; }
.equipment { margin-block: 42px 32px; }
.spec-photo, .diagonal-photo { overflow: hidden; position: relative; }
.spec-photo img, .diagonal-photo img { width: 100%; height: auto; aspect-ratio: 1.7; object-fit: cover; clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%); }
.spec-key { display: grid; grid-template-columns: 63% 37%; color: var(--primary-dark); padding-bottom: 10px; background: var(--surface-alt); font-weight: 800; text-align: center; }
.spec-key span { position: relative; padding-top: 14px; }
.spec-key span::before { content: ''; position: absolute; left: 50%; width: 2px; height: clamp(18px, 3.5vw, 45px); bottom: calc(100% - 9px); background: var(--accent); }
.recruiter { padding: 24px; }
.recruiter .icon { margin-bottom: 8px; }
.recruiter h2 { font-size: 23px; margin-bottom: 9px; }
.recruiter p { margin-bottom: 8px; }

.apply-layout { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(245px, 1fr); align-items: start; gap: 30px; }
.apply-side { display: grid; gap: 22px; }
.offer-note { padding: 25px; }
.offer-note h2 { font-size: 24px; margin-bottom: 13px; }
.offer-note dl { display: grid; gap: 12px; }
.offer-note dt { font-size: .86rem; }
.offer-note dd { font-size: 1.12rem; font-weight: 800; }
.next-steps { grid-column: 1 / -1; max-width: 72ch; }
.multi-form, .contact-form { position: relative; }
.multi-form { overflow: clip; }
.step-stack, .contact-form { padding: clamp(18px, 3vw, 30px); }
.step-stack h3 { margin-bottom: 18px; }
.step-stack [data-step] + [data-step] { margin-top: 25px; }
.multi-form.is-enhanced [data-step] { margin-top: 0; }
.form-progress { display: none; }
.is-enhanced .form-progress { display: block; background: var(--surface-alt); padding: 19px 23px; border-bottom: 1px solid var(--line); }
.step-status { font-weight: 800; margin: 0 0 7px; color: var(--primary); }
.progress-track { height: 4px; background: var(--line); overflow: hidden; }
.progress-track > div { height: 100%; transform: scaleX(var(--progress, 0)); transform-origin: left center; transition: transform .3s var(--arrival); background: var(--accent); }
.form-progress ol { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 12px; margin-top: 10px; }
.form-progress li { color: var(--muted); line-height: 1.4; font-size: .88rem; }
.form-progress li[aria-current="step"] { color: var(--primary-dark); font-weight: 800; }
.form-progress li span { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 6px; border: 1px solid var(--line); border-radius: 50%; }
.form-progress li[aria-current="step"] span { color: white; background: var(--primary); border-color: var(--primary); }
.apply-form.is-enhanced { display: grid; grid-template-columns: minmax(128px, .34fr) minmax(0, 1fr); align-items: stretch; }
.apply-form .form-progress { border-bottom: 0; border-right: 1px solid var(--line); padding: 19px 12px; }
.apply-form .form-progress ol { grid-auto-flow: row; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: grid; gap: 4px; align-content: end; font-size: .93rem; font-weight: 700; color: var(--primary-dark); }
.field.full { grid-column: 1 / -1; }
.field :is(input, select, textarea) {
  width: 100%; min-width: 0; min-height: 46px; padding: 8px 11px; border: 1px solid #8392a7; border-radius: var(--radius);
  color: var(--ink); background: white; font-size: 16px; font-weight: 400;
}
.field input[readonly] { background: var(--surface-alt); color: var(--muted); }
.field textarea { resize: vertical; }
.check-fields { margin: 14px 0 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 5px 10px; min-inline-size: 0; }
.check-fields legend { font-weight: 700; padding-inline: 5px; }
.check-fields > div { display: flex; flex-wrap: wrap; gap: 0 11px; }
.check-fields label, .checkbox-line { display: flex; align-items: center; min-height: 44px; gap: 6px; font-size: .94rem; }
.checkbox-line { margin-top: 12px; }
input[type="checkbox"] { width: 18px; height: 18px; margin: 0; flex: 0 0 18px; accent-color: var(--primary); }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
[data-prev], [data-next] { display: none; }
.is-enhanced [data-prev], .is-enhanced [data-next] { display: inline-flex; }
.form-alert { padding: 12px 16px; border: 1px solid var(--primary); background: var(--surface-alt); }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.application-review, .return-lane { background: var(--surface-alt); padding: 14px; margin: 0 0 16px; border-left: 4px solid var(--accent); }
.application-review p { font-size: .9rem; margin: 5px 0 9px; }
.application-review dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.application-review dt { color: var(--muted); font-size: .85rem; }
.application-review dd { overflow-wrap: anywhere; font-weight: 700; }
.return-lane { margin: 18px 0 0; }
.return-lane summary { min-height: 44px; padding: 7px 0; cursor: pointer; }
.return-lane > p { margin: 4px 0 7px; }
.return-lane .field { max-width: 295px; }
.return-preview { color: var(--primary); font-weight: 800; }

.ship-intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 6vw; }
.authority { padding: clamp(16px, 3vw, 35px); }
.authority table, .spec-table { width: 100%; border-collapse: collapse; text-align: left; }
.authority th, .authority td, .spec-table th, .spec-table td { padding: 9px; border-bottom: 1px solid var(--line); vertical-align: top; }
.authority th { width: 34%; }
.authority tr:nth-child(odd), .spec-table tr:nth-child(odd) { background: var(--surface-alt); }
.spec-table tr:nth-child(even) { background: white; }
.spec-table caption { color: var(--muted); text-align: left; padding-bottom: 10px; }
.spec-layout { align-items: start; }
.packet { margin-top: 19px; padding-top: 16px; border-top: 1px solid var(--line); }
.packet h3 { margin-bottom: 8px; }
.quote-wrap { max-width: 835px; }
.about-split address { margin-bottom: 22px; }
.owner-letter { max-width: 810px; padding: clamp(21px, 5vw, 55px); margin: auto; }
.owner-signature { margin-bottom: 0; font-family: var(--heading); font-weight: 800; font-style: italic; color: var(--primary); }
.owner-signature span { display: block; font: 400 .9rem/1.3 var(--body); color: var(--muted); }
.contact-grid .icon { margin-bottom: 14px; }
.contact-grid p:last-child { margin: 10px 0 0; }
.contact-grid address { margin-bottom: 5px; }
.contact-form-area { margin-top: 50px; align-items: start; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 30px; }
.contact-form-area .map-panel { margin-bottom: 13px; }
.prose { max-width: 810px; }
.prose h2 { font-size: 27px; margin: 0 0 11px; }
.prose p + h2 { margin-top: 27px; }

.js [data-anim="reveal"]:not(.is-in) {
  opacity: 0; transform: translateY(24px); animation: reveal-failsafe 0s 2.5s forwards;
}
.js [data-anim="reveal"].is-in { animation: reveal-up .45s var(--arrival) both; }
.js [data-anim="hero-slide"] :is(h1 span, p, .actions) { animation: hero-in .8s var(--arrival) both; }
.js [data-anim="hero-slide"] h1 span + span { animation-delay: .12s; }
.js [data-anim="hero-slide"] p { animation-delay: .24s; }
.js [data-anim="hero-slide"] .actions { animation-delay: .36s; }
.js [data-anim="map-draw"].is-in .tile.near { animation: map-in .6s var(--arrival) both; }
.js [data-anim="map-draw"].is-in .tile.home { animation: map-in .6s .35s var(--arrival) both; }
.js [data-anim="map-draw"].is-in .pin { animation: pin-in .6s .65s var(--arrival) both; }
.js [data-anim="icon-pop"].is-in > * .icon { animation: icon-in .4s var(--arrival) both; }
.js [data-anim="icon-pop"].is-in > :nth-child(2) .icon { animation-delay: .06s; }
.js [data-anim="icon-pop"].is-in > :nth-child(3) .icon { animation-delay: .12s; }
.js [data-anim="icon-pop"].is-in > :nth-child(4) .icon { animation-delay: .18s; }
.js [data-anim="icon-pop"].is-in > :nth-child(5) .icon { animation-delay: .24s; }
.js [data-anim="icon-pop"].is-in > :nth-child(6) .icon { animation-delay: .3s; }
.js [data-anim="icon-pop"].is-in > :nth-child(7) .icon { animation-delay: .36s; }
.js [data-anim="icon-pop"].is-in > :nth-child(8) .icon { animation-delay: .42s; }
[data-step].step-forward { animation: step-in .28s var(--arrival) both; }
[data-step].step-back { --step-shift: -30px; animation: step-in .28s var(--arrival) both; }
@keyframes reveal-failsafe { to { opacity: 1; transform: none; } }
@keyframes reveal-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes hero-in { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
@keyframes map-in { from { opacity: .35; } to { opacity: 1; } }
@keyframes pin-in { from { opacity: 0; transform: translateY(-24px); } to { opacity: 1; transform: none; } }
@keyframes icon-in { from { opacity: .2; transform: scale(.8); } to { opacity: 1; transform: scale(1); } }
@keyframes step-in { from { opacity: .15; transform: translateX(var(--step-shift, 30px)); } to { opacity: 1; transform: none; } }
@keyframes menu-in { from { opacity: 0; transform: translateY(-9px); } to { opacity: 1; transform: none; } }

@media (max-width: 1090px) {
  .primary-nav { gap: 10px; }
  .header-inner { padding-inline: 14px; gap: 14px; }
  .brand { gap: 7px; }
  .job-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { gap: 16px; }
}

@media (max-width: 899px) {
  :root { --section: 62px; --edge: clamp(20px, 5vw, 36px); }
  html { scroll-padding-top: 94px; }
  body { padding-bottom: 68px; }
  .site-header { inset: 12px 12px auto; }
  .header-inner { justify-content: flex-start; padding-inline: 12px; min-height: 69px; }
  .brand img { width: 36px; height: 40px; }
  .brand span { font-size: 12px; }
  .header-apply { margin-left: auto; min-height: 44px; padding-inline: 12px; font-size: .73rem; }
  .js .menu-toggle {
    display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; padding: 0;
    border: 1px solid var(--line); border-radius: 0; background: white; color: var(--primary);
  }
  .menu-toggle > span:first-child { width: 19px; height: 2px; background: currentColor; box-shadow: 0 -6px currentColor, 0 6px currentColor; }
  .primary-nav {
    position: absolute; left: 0; right: 0; top: calc(100% + 5px); margin: 0; display: grid; justify-content: stretch;
    max-height: calc(100dvh - 100px); overflow: auto; background: white;
    padding: 9px 15px; border: 1px solid var(--line); border-radius: var(--radius); gap: 0;
  }
  .js .primary-nav { display: none; }
  .js .primary-nav.is-open { display: grid; animation: menu-in .25s var(--arrival); }
  .nav-link { min-height: 45px; }
  .nav-group { display: grid; grid-template-columns: 1fr auto; }
  .nav-toggle { width: 44px; }
  .nav-dropdown { position: static; grid-column: 1 / -1; width: 100%; border: 0; border-left: 2px solid var(--accent); box-shadow: none; }
  html:not(.js) .primary-nav { position: static; display: flex; flex-wrap: wrap; padding: 0; border: 0; }
  html:not(.js) .header-inner { flex-wrap: wrap; }
  html:not(.js) .nav-toggle { display: none; }
  .mobile-bar { display: flex; align-items: center; justify-content: center; position: fixed; inset: auto 0 0; z-index: 9; padding: 9px var(--edge); background: var(--primary-dark); }
  .mobile-bar .btn { width: min(100%, 480px); background: var(--accent); color: var(--primary-dark); }
  body.form-visible .mobile-bar, body.menu-visible .mobile-bar { display: none; }
  .home-hero { min-height: 610px; padding-bottom: 34px; }
  .hero-mosaic { grid-template-columns: 69% 31%; }
  .hero-panel h1 { font-size: clamp(57px, 10.1vw, 88px); }
  .hero-content { padding-left: 19vw; }
  .hero-panel { padding: 24px 27px; border-left-width: 6px; }
  .split { gap: 30px; }
  .apply-layout { grid-template-columns: minmax(0, 1fr); }
  .apply-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { gap: 10px; }
  .contact-grid article { padding-inline: 14px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}

@media (max-width: 639px) {
  :root { --section: 49px; }
  .header-inner { gap: 8px; }
  .brand span { white-space: normal; max-width: 122px; }
  .home-hero { min-height: 0; display: block; padding: 0; }
  .hero-mosaic { position: relative; z-index: auto; height: clamp(330px, 105vw, 450px); grid-template-columns: 69% 31%; background: var(--primary-dark); }
  .hero-lead { margin-right: -13px; clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); }
  .hero-lead img { object-position: 33% 47%; }
  .hero-side { border-left-width: 4px; }
  .hero-content { position: relative; z-index: 1; margin-top: -106px; padding: 0 0 23px; }
  .hero-panel { width: 100%; padding: 20px 14px 10px; }
  .hero-panel h1 { font-size: clamp(43px, 12vw, 65px); }
  .hero-panel h1 span { display: inline; }
  .hero-panel p { margin: 12px 0 13px; }
  .hero-panel .actions { gap: 7px; }
  .hero-panel .btn { padding-inline: 9px; min-height: 44px; font-size: .7rem; }
  .section-title { margin-bottom: 17px; padding-left: 12px; border-left-width: 4px; }
  .job-card, .driver-summary { grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 15px; align-items: start; }
  .job-content { display: contents; }
  .job-badge { width: 73px; height: 73px; grid-column: 1; grid-row: 1; font-size: .60rem; }
  .job-badge .icon { width: 19px; height: 19px; }
  .job-content h3 { align-self: center; margin: 0; }
  .job-card .job-facts, .job-content .fine, .job-actions { grid-column: 1 / -1; }
  .job-actions { grid-template-columns: 1fr 1fr; align-items: center; }
  .driver-summary .job-badge { display: none; }
  .driver-summary .job-facts { grid-column: 1 / -1; }
  .driver-summary .btn { grid-column: 1 / -1; }
  .split, .ship-intro { grid-template-columns: minmax(0, 1fr); }
  .map-panel figcaption { display: grid; gap: 4px; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .benefit-grid li { padding: 15px 11px; min-height: 88px; gap: 9px; font-size: .94rem; }
  .service-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .tile-row { grid-template-columns: minmax(0, 1fr); }
  .photo-tile { min-height: 214px; }
  .photo-tile + .photo-tile img { clip-path: polygon(0 0, 100% 6%, 100% 100%, 0 100%); }
  .cta-inner { align-items: flex-start; flex-direction: column; padding-block: 37px; gap: 13px; }
  .cta-inner > div { max-width: 100%; }
  .cta-image { width: 75%; }
  .cta-background:has(.cta-image)::after { inset-inline-start: 23%; }
  .footer-grid { gap: 20px 15px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
  .page-banner { min-height: 242px; padding: 108px 0 27px; }
  .page-banner.has-image { min-height: 330px; }
  .page-banner img { width: 91%; }
  .page-banner.has-image::after { background: linear-gradient(90deg, var(--primary-dark) 12%, #08183495 68%, #08183435); }
  .tab-links { display: grid; grid-template-columns: 1fr 1fr; }
  .tab-links a { min-height: 44px; padding: 8px 10px; font-size: .9rem; }
  .pay-card > div { padding: 13px 10px; }
  .pay-card h3 { font-size: .92rem; }
  .pay-card p { font-size: 1.08rem; }
  .apply-side { grid-template-columns: minmax(0, 1fr); }
  .apply-form.is-enhanced { grid-template-columns: minmax(0, 1fr); }
  .apply-form .form-progress { border-right: 0; border-bottom: 1px solid var(--line); }
  .apply-form .form-progress ol { grid-auto-flow: column; }
  .form-progress li span { display: grid; margin: 0 0 4px; }
  .application-review dl { grid-template-columns: minmax(0, 1fr); }
  .field-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 359px) {
  .brand img { width: 30px; height: 35px; }
  .header-apply { padding-inline: 7px; }
  .header-inner { padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-anim="reveal"]:not(.is-in) { opacity: 1; transform: none; }
  .photo-tile:hover img, .photo-tile:focus-visible img, .photo-tile:hover > span, .photo-tile:focus-visible > span { transform: none; }
}
