/*
  Vanguard Lines • recruiting-landing / mixed theme
  Maroon #9a1832, deep maroon #6e1124, gold #f4c025 and warm neutral surfaces.
  Upright uppercase Barlow Condensed XL headlines, Poppins body and navigation.
  Fluid 5vw gutters, regular spacing, 4px cards and pill buttons, shield mark.
  Full-bleed natural-color gal_front17 photo with a tilted maroon headline ribbon.
  Home order: why-drive, split-alternating, equipment, now-hiring, icon-strip,
  quote-strip, cta-band. Transparent header; address-only footer.
*/
:root {
  --primary: #9a1832;
  --primary_dark: #6e1124;
  --accent: #f4c025;
  --ink: #1d1a17;
  --surface: #ffffff;
  --surface_alt: #f4f2ef;
  --body-muted: #56504b;
  --border: #d7d0ca;
  --heading: "Barlow Condensed", sans-serif;
  --body: "Poppins", sans-serif;
  --heading-case: uppercase;
  --gutter: 5vw;
  --section: clamp(56px, 6.1vw, 88px);
  --radius: 4px;
  --shadow: 0 5px 26px rgb(29 26 23 / 9%);
  --arrive: cubic-bezier(.22, 1, .36, 1);
  scroll-padding-top: 85px;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed/barlow-condensed-8.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed/barlow-condensed-7.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/poppins-3.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/poppins-5.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/poppins-6.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 1rem/1.65 var(--body); }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #1460a4; outline-offset: 4px; }
.site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible,
.banner :focus-visible, .cta-band :focus-visible, .apply-panel :focus-visible { outline-color: var(--accent); }
h1, h2, h3 { margin: 0; font: 800 2rem/.99 var(--heading); text-transform: var(--heading-case); }
h1 { font-size: clamp(3rem, 5.7vw, 5.5rem); }
h2 { font-size: clamp(2.4rem, 4vw, 4rem); }
h3 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); }
p { margin: .9rem 0 0; }
figure { margin: 0; }
address { font-style: normal; }
.wrap { padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2rem; }
.icon { width: 24px; height: 24px; object-fit: contain; flex: none; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .65rem 1.5rem; border: 1px solid transparent;
  border-radius: 100vmax; text-align: center; text-decoration: none; text-transform: uppercase;
  font-size: .82rem; font-weight: 700; line-height: 1.3;
}
.button:hover { filter: brightness(.92); }
.primary { color: var(--surface); background: var(--primary); }
.gold { color: var(--ink); background: var(--accent); }
.light { color: var(--primary_dark); background: var(--surface); }
.outline { color: var(--surface); border-color: var(--surface); background: rgb(29 26 23 / 36%); }
.line { color: var(--primary_dark); border-color: var(--primary); background: var(--surface); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--primary_dark); font-size: .9rem; font-weight: 700; }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.card[data-anim="hover-lift"] { transition: transform 200ms ease, box-shadow 200ms ease; }
.card[data-anim="hover-lift"]:hover { transform: translateY(-3px); box-shadow: 0 9px 28px rgb(29 26 23 / 14%); }
.skip { position: fixed; z-index: 20; top: .75rem; left: 1rem; padding: .6rem 1rem; background: var(--surface); transform: translateY(-180%); }
.skip:focus { transform: none; }

.site-header { position: fixed; z-index: 10; inset: 0 0 auto; color: var(--surface); }
.header-inner { min-height: 88px; display: flex; align-items: center; gap: clamp(1rem, 3.2vw, 3.5rem); }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: var(--ink); transition: opacity 250ms ease;
}
.site-header.is-scrolled::before, .site-header.menu-open::before { opacity: 1; }
.site-header.is-scrolled .header-inner { min-height: 64px; }
.site-header.is-scrolled .brand img { width: 38px; height: 42px; }
.brand { display: inline-flex; flex: none; align-items: center; gap: .6rem; width: max-content; text-decoration: none; }
.brand span { display: block; font: 800 2rem/.86 var(--heading); }
.brand small { display: block; margin-top: .29rem; font: 700 .92rem/1 var(--heading); letter-spacing: .18em; }
.primary-nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.6vw, 2.7rem); margin-left: auto; }
.primary-nav > a, .nav-group > a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: .875rem; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.primary-nav > a:hover, .nav-group > a:hover, .primary-nav a[aria-current] { text-decoration: underline; }
.header-apply { min-width: 112px; }
.nav-group { position: relative; display: flex; align-items: center; }
.drop-toggle, .menu-toggle {
  border: 0; padding: 0; color: var(--surface); background: transparent;
  min-height: 44px; align-items: center; justify-content: center;
}
.drop-toggle { display: inline-flex; width: 32px; }
.drop-toggle .icon { width: 12px; height: 12px; }
.drop-toggle .icon, .menu-toggle .icon { filter: invert(1); }
.menu-toggle { display: none; }
.drop-panel {
  display: none; position: absolute; top: 100%; right: 0; width: min(290px, 80vw);
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow);
  border-top: 4px solid var(--primary); border-radius: 0 0 4px 4px;
}
.nav-group:focus-within:not(.dismissed) .drop-panel,
.nav-group:hover:not(.dismissed) .drop-panel, .nav-group.is-open .drop-panel { display: block; }
.drop-panel a { display: block; padding: .72rem 1rem; font-weight: 700; font-size: .9rem; text-decoration: none; }
.drop-panel a + a { border-top: 1px solid var(--surface_alt); }
.drop-panel a:hover, .drop-panel a:focus-visible { background: var(--surface_alt); }
.drop-panel small { display: block; font-weight: 400; color: var(--body-muted); margin-top: .14rem; }
.mobile-bar { display: none; }

.photo-frame { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--surface); }
.photo-frame .scene { width: 100%; height: 100%; object-fit: cover; }
.photo-frame::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(29 26 23 / 70%), transparent 58%); }
.photo-frame > .scene { position: absolute; inset: 0; z-index: -2; }
.hero {
  display: grid; align-items: end; min-height: clamp(570px, 51vw, 770px);
  background: #2e2824; padding-block: 120px 82px;
}
.hero .scene { object-position: 54% 54%; }
.hero::after { background: linear-gradient(180deg, rgb(18 15 14 / 76%), transparent 29%), linear-gradient(33deg, rgb(18 15 14 / 76%), rgb(18 15 14 / 28%) 37%, transparent 70%); }
.hero-content { width: 100%; }
.ribbon {
  display: table; position: relative; z-index: 0;
  margin: 0 0 1.6rem; padding: .08em .29em .18em .02em; line-height: 1.02;
  font-size: clamp(4rem, 6.7vw, 5.5rem);
}
.ribbon::before {
  content: ""; position: absolute; z-index: -1; inset: 0 0 0 calc(-1 * var(--gutter) - 12px);
  background: var(--primary); transform: rotate(-2.2deg); transform-origin: 60% 50%;
  border-right: 6px solid var(--accent);
}
.ribbon span { display: block; }
.hero-content p { max-width: 37ch; margin: 0 0 1.5rem; font-weight: 600; font-size: clamp(1.05rem, 1.65vw, 1.32rem); }
.hero-content .button { min-height: 51px; }
.banner {
  min-height: 244px; display: flex; align-items: end; padding-block: 116px 39px;
  background: var(--primary_dark); color: var(--surface);
}
.banner.photo-frame { min-height: 350px; }
.banner .scene { object-position: center 54%; }
.photo-frame .gal_trailer10 { object-position: right 54%; }
.banner.photo-frame::after { background: linear-gradient(180deg, rgb(29 26 23 / 72%), transparent 46%), linear-gradient(90deg, rgb(29 26 23 / 88%), rgb(29 26 23 / 40%) 78%); }
.banner h1 { font-size: clamp(3.2rem, 6.1vw, 5.15rem); }
.banner p { margin: .5rem 0 0; }
.banner .button { margin-top: 1rem; }
.banner-offer { display: flex; flex-wrap: wrap; gap: .7rem 2.4rem; margin-top: 1.15rem; }
.banner-offer small, .banner-offer strong { display: block; }
.banner-offer strong { font: 700 clamp(1.65rem, 3vw, 2.8rem)/1.12 var(--heading); }
.banner-offer small { color: var(--accent); font-weight: 700; }

.why { background: var(--surface); }
.perk-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0;
  list-style: none; column-gap: clamp(1.2rem, 4vw, 4rem);
}
.perk { display: flex; align-items: center; gap: 1rem; min-height: 78px; border-top: 1px solid var(--border); font-weight: 600; }
.perk .icon, .info-card .icon, .recruiter .icon, .authority .icon {
  filter: invert(13%) sepia(64%) saturate(4544%) hue-rotate(331deg) brightness(80%) contrast(99%);
}
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 365px; }
.split-copy { padding: clamp(42px, 6vw, 100px) var(--gutter); align-content: center; }
.split-copy p { max-width: 38ch; }
.split-copy .button { margin-top: 1.35rem; }
.first-split { background: var(--surface_alt); }
.second-split { background: var(--primary_dark); color: var(--surface); }
.second-split figure { order: 2; }
.caption-photo { min-height: 255px; display: flex; align-items: end; padding: 1rem 1.5rem; }
.caption-photo figcaption { font: 700 1.65rem/1 var(--heading); text-transform: uppercase; }
.home-planner { display: flex; align-items: center; gap: 1.5rem; margin-top: 1.5rem; }
.home-planner p { margin: 0; }
.donut { width: clamp(98px, 10vw, 147px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; flex: none;
  background: conic-gradient(var(--accent) 0% 14.28%, #d78a9b 14.28% 28.57%, var(--primary) 28.57%);
}
.donut span { display: grid; place-content: center; width: 78%; aspect-ratio: 1; border-radius: 50%; background: var(--surface_alt); text-align: center; font: 800 clamp(1.7rem, 3vw, 2.8rem)/.95 var(--heading); }
.donut small { font: 600 .65rem/1.3 var(--body); margin-top: .2rem; }
.key { list-style: none; padding: 0; margin: .9rem 0 0; display: flex; gap: .35rem 1rem; flex-wrap: wrap; font-size: .78rem; }
.key li::before { content: ""; display: inline-block; vertical-align: 0; width: .65rem; height: .65rem; margin-right: .4rem; background: var(--primary); }
.key li:nth-child(2)::before { background: var(--accent); }
.key li:nth-child(3)::before { background: #d78a9b; }

.tab-list { display: flex; flex-wrap: wrap; gap: .4rem; border-bottom: 1px solid var(--border); }
.tab-list a {
  display: inline-flex; align-items: center; min-height: 48px; padding: .6rem 1.4rem;
  color: var(--primary_dark); border-bottom: 3px solid transparent; text-decoration: none; font-weight: 700;
}
.tab-list a:hover { background: var(--surface_alt); }
.tab-list a[aria-selected="true"] { border-color: var(--primary); color: var(--ink); }
.tab-panel { padding-top: 1.8rem; }
.equipment-panel { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: center; }
.equipment-panel .caption-photo { min-height: clamp(240px, 29vw, 455px); }
.equipment-panel p { max-width: 38ch; }
.equipment-panel .text-link { margin-top: .6rem; }
.hiring { background: var(--surface_alt); }
.job-line {
  display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)) auto; align-items: center;
  gap: 1.2rem; padding: 1.7rem clamp(1.15rem, 2.4vw, 2.3rem); border-left: 4px solid var(--primary);
}
.job-heading p { font-size: .82rem; margin-top: .35rem; }
.job-detail { padding-inline-start: .9rem; border-inline-start: 1px solid var(--border); }
.job-detail small { display: block; color: var(--body-muted); }
.job-detail strong { display: block; font-size: .95rem; }
.qualify { margin-top: 2.1rem; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 2rem; max-width: 820px; }
.qualify h3, .qualify p, .qualify .text-link { grid-column: 1 / -1; margin: 0; }
.qualify fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.qualify legend { padding: 0; font-size: .9rem; font-weight: 600; margin-bottom: .5rem; }
.yes-no { display: flex; gap: .45rem; }
.yes-no label { min-height: 44px; padding: .4rem .8rem; display: flex; gap: .4rem; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer; }
.yes-no label:has(:checked) { border-color: var(--primary); background: var(--primary_dark); color: var(--surface); }
.icon-strip { background: var(--ink); color: var(--surface); }
.icon-strip ul { margin: 0; padding-block: 1.7rem; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .7rem 1.4rem; list-style: none; }
.icon-strip li { display: flex; align-items: center; gap: .7rem; font-size: .83rem; font-weight: 600; }
.icon-strip .icon { filter: invert(83%) sepia(89%) saturate(540%) hue-rotate(336deg) brightness(98%) contrast(95%); width: 20px; height: 20px; }
.quote-strip, .quote-section { background: var(--surface_alt); }
.inline-quote { display: grid; grid-template-columns: 1fr 1fr .75fr 1fr auto; align-items: end; gap: 1rem; }
.cta-band { display: grid; grid-template-columns: 1.08fr 1fr; background: var(--primary); color: var(--surface); min-height: 300px; }
.cta-copy { display: grid; justify-items: start; align-content: center; gap: 1.15rem; padding: 3.4rem var(--gutter); }
.cta-image { background: var(--primary_dark); }
.cta-image .scene { filter: grayscale(1) contrast(1.08); mix-blend-mode: luminosity; opacity: .63; z-index: 0; }
.cta-image::after { z-index: 1; background: linear-gradient(90deg, transparent, rgb(110 17 36 / 40%)); }

.site-footer { background: var(--ink); color: var(--surface); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2rem; padding-block: 3.25rem 2.5rem; }
.footer-grid h2 { font-size: 1.6rem; margin-bottom: .8rem; }
.footer-grid a { overflow-wrap: anywhere; }
.footer-grid ul { padding: 0; margin: 0; list-style: none; }
.footer-grid ul a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; text-decoration: none; }
.footer-grid ul a:hover { text-decoration: underline; }
.footer-address { border-right: 1px solid rgb(255 255 255 / 22%); padding-right: 1.5rem; }
.footer-address .brand { margin-bottom: 1.2rem; }
.footer-address address, .footer-address > a:not(.brand) { font-size: .88rem; }
.footer-address > a:not(.brand) { display: flex; align-items: center; min-height: 36px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .4rem 1.4rem;
  border-top: 1px solid rgb(255 255 255 / 22%); padding-block: .8rem; font-size: .78rem;
}
.footer-bottom div { display: flex; gap: 1rem; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }

.crumbs { padding-block: .3rem; background: var(--surface_alt); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .65rem; padding: 0; margin: 0; list-style: none; font-size: .82rem; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs li + li::before { content: "/"; display: inline-block; margin-right: .65rem; color: var(--body-muted); }
.driver-summary { display: flex; flex-wrap: wrap; gap: .5rem 2.5rem; margin-bottom: 1rem; }
.driver-summary p { margin: 0; }
.driver-summary strong { color: var(--primary_dark); margin-right: .3rem; }
.driver-tabs .tab-panel { max-width: 1070px; }
.pay-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center; }
.paystub, .form-card, .info-card, .owner-letter, .authority, .recruiter { padding: clamp(1.3rem, 3vw, 2.5rem); }
.paystub { border-top: 4px solid var(--primary); }
.paystub h2, .info-card h2, .authority h2, .recruiter h2 { font-size: clamp(2rem, 3vw, 2.8rem); margin-bottom: .65rem; }
.paystub dl { margin-bottom: .6rem; }
.paystub dl div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .2rem .9rem; padding-block: .55rem; border-top: 1px solid var(--border); }
.paystub dd { margin: 0; font-weight: 700; }
.paystub .pay-value { font: 800 clamp(1.5rem, 2.6vw, 2.4rem)/1.1 var(--heading); color: var(--primary_dark); }
.pay-layout h3 { margin-top: 1.2rem; }
.fine-print { font-size: .8rem; color: var(--body-muted); }
.driver-ending { display: grid; grid-template-columns: 1fr 1.3fr; gap: 1.4rem; padding-top: 0; }
.recruiter .icon, .info-card .icon, .authority .icon { margin-bottom: .75rem; }
.recruiter a, .authority a, .info-card a { display: inline-flex; align-items: center; min-height: 44px; color: var(--primary_dark); overflow-wrap: anywhere; }
.apply-panel { padding: clamp(1.4rem, 3vw, 2.8rem); background: var(--primary_dark); color: var(--surface); border-radius: var(--radius); }
.apply-panel .button { margin-top: 1rem; }
.apply-panel p { font-size: .82rem; }
.check-list, .plain-steps { padding-left: 1.45rem; margin: 1rem 0 1.5rem; }
.check-list li, .plain-steps li { padding: .26rem 0; }
.faq { max-width: 850px; }
.faq-filter { margin-block: 1.2rem; max-width: 340px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq details:first-of-type { border-top: 1px solid var(--border); margin-top: 1.1rem; }
.faq summary { padding: .95rem 0; font-weight: 700; cursor: pointer; }
.faq details p { margin: 0 0 1rem; }
table { width: 100%; border-collapse: collapse; margin-block: 1rem; text-align: left; }
caption { text-align: left; margin-bottom: .6rem; color: var(--body-muted); }
td, th { padding: .68rem .8rem; border-bottom: 1px solid var(--border); }
thead { background: var(--surface_alt); }
tbody th { font-weight: 600; }
.signature { padding: clamp(1.2rem, 2.8vw, 2.1rem); margin: 1.55rem 0 0; background: var(--surface_alt); border-left: 4px solid var(--primary); border-radius: var(--radius); align-self: start; }
.signature-choices { display: grid; gap: .3rem; margin: .8rem 0; }
.signature-choices label { display: flex; align-items: center; gap: .55rem; min-height: 44px; }
.pallet-tool { margin: 0; background: var(--surface); }
.pallet-tool .actions { margin-top: .85rem; }
.pallet-row { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: .55rem; margin-top: .75rem; }
.pallet-row button { min-width: 44px; min-height: 48px; border: 1px solid var(--border); background: var(--surface_alt); border-radius: var(--radius); padding-inline: .5rem; font-size: .8rem; }
.sidebar-layout, .shipper-intro { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(1.3rem, 4vw, 4rem); align-items: start; }
.shipper-intro { grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr); align-items: center; }
.shipper-detail, .driver-page { padding-top: 2.2rem; }
.authority { border-top: 4px solid var(--primary); }
.authority address { margin-top: .4rem; }
.coverage { margin-top: 1rem; }
.info-card h3, .about-links h3 { margin-top: 1.1rem; }
.coverage h3, .contact-grid h3 { margin-bottom: .4rem; }
.next-steps { margin-top: 1.7rem; }
.next-steps h2 { font-size: clamp(2rem, 3vw, 2.8rem); }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.35rem; margin-block: 1.6rem; }
.contact-form { max-width: 780px; margin-top: 2.5rem; }
.contact-form .button, .about-links .actions { margin-top: 1rem; }
.owner-letter { border-top: 4px solid var(--primary); }
.signature-name { color: var(--primary_dark); font: 700 italic 2.2rem/1 var(--heading); }
.prose > * { max-width: 72ch; }
.prose h2 { font-size: clamp(1.9rem, 3vw, 2.75rem); }
.prose h2:not(:first-child) { margin-top: 2rem; }
.prose .actions { margin-top: 1.2rem; }
.form-error { border: 1px solid var(--primary); padding: 1rem; border-radius: var(--radius); color: var(--primary_dark); }

form { position: relative; }
.form-card > p { margin-bottom: 1.2rem; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: .9rem; }
.full, .choices { grid-column: 1 / -1; }
.field { display: grid; gap: .35rem; min-width: 0; align-content: start; font-size: .88rem; }
.field > span, .choices legend { font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; min-height: 48px; padding: .6rem .7rem;
  border: 1px solid #918780; background: var(--surface); border-radius: var(--radius);
}
.field input[readonly] { background: var(--surface_alt); }
.field textarea { resize: vertical; }
input[type=radio], input[type=checkbox] { accent-color: var(--primary); width: 1.15rem; height: 1.15rem; margin: 0; flex: none; }
.choices { display: flex; flex-wrap: wrap; gap: 0 1.25rem; padding: 0; margin: 0; border: 0; }
.choices label, .consent { display: flex; align-items: center; gap: .42rem; min-height: 44px; font-size: .88rem; }
.consent { margin-top: .8rem; align-items: flex-start; }
.consent input { margin-top: .2rem; }
.pot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[data-step] + [data-step] { margin-top: 1.45rem; }
form.is-stepped [data-step] { margin-top: 0; }
.step-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.05rem; }
.step-progress { margin-bottom: 1.35rem; font-size: .82rem; font-weight: 700; }
.progress-track { height: 5px; background: var(--surface_alt); border-radius: 5px; overflow: hidden; margin-top: .45rem; }
[data-progress-fill] { height: 100%; transform: scaleX(var(--progress, .33)); transform-origin: left center; background: var(--primary); transition: transform 300ms var(--arrive); }
.step-forward { animation: step-forward 280ms var(--arrive) both; }
.step-back { animation: step-back 280ms var(--arrive) both; }
@keyframes step-forward { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
@keyframes step-back { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: none; } }

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 460ms var(--arrive) both; }
@keyframes reveal { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes reveal-failsafe { to { opacity: 1; transform: none; } }

@media (max-width: 1050px) {
  .job-line { grid-template-columns: 1fr 1fr 1fr; }
  .job-heading { grid-column: span 2; }
  .job-actions { grid-column: 3; grid-row: 1; justify-self: end; }
  .inline-quote { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inline-quote .button { justify-self: start; }
  .icon-strip ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  :root { scroll-padding-top: 74px; }
  body { padding-bottom: 62px; }
  .header-inner { min-height: 74px; gap: .65rem; }
  .header-inner .brand img { width: 39px; height: 44px; }
  .header-inner .brand span { font-size: 1.55rem; }
  .header-inner .brand small { font-size: .7rem; }
  .header-apply { min-width: auto; padding-inline: 1rem; min-height: 44px; }
  .menu-toggle { display: flex; gap: .3rem; margin-left: auto; padding: 0 .23rem; font-size: .8rem; font-weight: 600; }
  .menu-toggle .icon { width: 16px; height: 16px; }
  .primary-nav {
    display: none; margin: 0; position: absolute; inset: 100% 0 auto;
    max-height: calc(100dvh - 135px); overflow: auto; padding: .45rem var(--gutter) .8rem;
    color: var(--surface); background: var(--ink);
  }
  .menu-open .primary-nav { display: block; animation: menu-open 250ms var(--arrive) both; }
  .nav-group { flex-wrap: wrap; width: 100%; }
  .nav-group > a { flex: 1; }
  .primary-nav > a { display: flex; }
  .primary-nav > a, .nav-group { border-top: 1px solid rgb(255 255 255 / 20%); }
  .nav-group:hover:not(.dismissed) .drop-panel,
  .nav-group:focus-within:not(.dismissed) .drop-panel { display: none; }
  .nav-group.is-open .drop-panel { display: block; }
  .drop-panel { position: static; width: 100%; }
  .drop-toggle { width: 44px; }
  .mobile-bar {
    display: block; position: fixed; z-index: 8; inset: auto 0 0; text-align: center;
    padding: .45rem var(--gutter); background: var(--ink); border-top: 1px solid rgb(255 255 255 / 20%);
  }
  .mobile-bar .button { width: 100%; min-height: 46px; }
  .mobile-bar.is-out { visibility: hidden; }
  .hero { min-height: 615px; }
  .hero::after { background: linear-gradient(180deg, rgb(29 26 23 / 73%), transparent 26%, rgb(29 26 23 / 64%) 86%); }
  .split { min-height: 310px; }
  .home-planner { gap: .8rem; }
  .contact-grid { gap: .8rem; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-address { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid rgb(255 255 255 / 22%); padding: 0 0 .9rem; }
}
@keyframes menu-open { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@media (max-width: 650px) {
  .section-heading { align-items: flex-start; flex-direction: column; gap: .2rem; margin-bottom: 1.2rem; }
  .hero { min-height: 580px; align-items: end; padding-block: 120px 61px; }
  .hero .scene { object-position: 85% center; }
  .ribbon { font-size: clamp(3.2rem, 11vw, 4rem); margin-bottom: 1rem; padding-right: .2em; }
  .ribbon::before { border-right-width: 4px; }
  .hero-content p { font-size: .99rem; margin-bottom: 1rem; }
  .hero-content .button { min-height: 46px; padding-inline: .8rem; font-size: .75rem; }
  .banner { min-height: 218px; padding-block: 100px 30px; }
  .banner.photo-frame { min-height: 300px; }
  .banner h1 { font-size: clamp(2.65rem, 11vw, 3.7rem); }
  .banner p { font-size: .87rem; }
  .perk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 .8rem; }
  .perk { gap: .52rem; min-height: 68px; font-size: .84rem; }
  .perk .icon { width: 19px; height: 19px; }
  .split, .equipment-panel, .sidebar-layout, .shipper-intro, .pay-layout, .driver-ending, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .split figure { order: -1; }
  .caption-photo { min-height: 245px; }
  .home-planner p { font-size: .9rem; }
  .tab-list a { padding-inline: .65rem; font-size: .86rem; }
  .job-line { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .job-heading { grid-column: 1 / -1; }
  .job-actions { grid-column: auto; grid-row: auto; justify-self: start; align-self: center; }
  .job-detail { padding-inline-start: .55rem; }
  .job-detail strong { font-size: .87rem; }
  .qualify { grid-template-columns: 1fr; }
  .icon-strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inline-quote { gap: .75rem; }
  .inline-quote .button { grid-column: 1 / -1; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-image { min-height: 182px; }
  .cta-copy { padding-block: 2.5rem; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
  .footer-grid ul a { font-size: .78rem; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .driver-summary { font-size: .88rem; }
}
@media (max-width: 360px) {
  .ribbon { font-size: 2.65rem; }
  .header-inner .brand { gap: .4rem; }
  .header-inner .brand span { font-size: 1.35rem; }
  .header-inner .brand img { width: 33px; height: 36px; }
}
@media (min-width: 900px) {
  .site-header.is-scrolled .header-inner { transform-origin: top; animation: header-settle 250ms ease both; }
}
@keyframes header-settle { from { transform: translateY(8px); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js [data-anim="reveal"] { opacity: 1; transform: none; }
  .card[data-anim="hover-lift"]:hover { transform: none; }
}

button:disabled { opacity: .58; cursor: default; }
@media (max-width: 899px) {
  html:not(.js) .site-header { position: relative; background: var(--ink); }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: .55rem; }
  html:not(.js) .menu-toggle, html:not(.js) .drop-toggle { display: none; }
  html:not(.js) .header-apply { margin-left: auto; }
  html:not(.js) .primary-nav { display: flex; position: static; width: 100%; padding: 0; flex-wrap: wrap; gap: .45rem .8rem; order: 2; }
  html:not(.js) .primary-nav > a, html:not(.js) .nav-group { width: auto; border: 0; }
}
