/*
 * Starlyte Transportation: heavy-haul-tough, dark theme, compact fluid layout.
 * Brand yellow #e4bf2b and #f4c025 on charcoal. Anton upright uppercase
 * headings (XL hero), Sofia Sans body, 4px radius, wordmark, pill buttons.
 * Transparent header, slanted full-bleed natural hero, diagonal image edges.
 * Home: photo tiles, equipment, hiring ticket, benefits photo, Arlington
 * watermark, driver/shipper doors, full-color apply band.
 */
@import url("../fonts/anton/font.css");
@import url("../fonts/sofia-sans/font.css");

:root {
  --primary: #e4bf2b;
  --primary_dark: #c3a119;
  --accent: #f4c025;
  --ink: #1d1a17;
  --surface: #0f1215;
  --surface_alt: #201c18;
  --heading: "Anton", sans-serif;
  --body: "Sofia Sans", sans-serif;
  --radius: 4px;
  --gutter: 5vw;
  --section: 56px;
  --text: #faf8f3;
  --muted: #ccc8c2;
  --line: #45413c;
  --mobile-bar: 66px;
  --arrival: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { color-scheme: dark; scroll-padding-top: 114px; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.48;
}
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--primary); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--primary); color: var(--ink); }
h1, h2, h3 {
  font: normal 400 1.65rem/1.12 var(--heading);
  text-transform: uppercase;
  margin: 0 0 .45em;
}
h1 { font-size: clamp(3rem, 5.85vw, 5.5rem); line-height: 1.07; }
h2 { font-size: clamp(1.95rem, 3.2vw, 3rem); }
p, figure, dl, ol, ul { margin: 0 0 1rem; }
p:last-child, ul:last-child, figure:last-child { margin-bottom: 0; }
address { font-style: normal; overflow-wrap: anywhere; }
.wrap { padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.alternate { background: var(--surface_alt); }
.kicker {
  color: var(--primary);
  font-weight: 800;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .075em;
  margin-bottom: .65rem;
}
.fineprint { color: var(--muted); font-size: .9rem; }
.visually-hidden, .form-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 20; transform: translateY(-150%); }
.skip-link:focus { transform: none; background: var(--primary); color: var(--ink); padding: .6rem 1rem; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: .63rem 1.55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--primary);
  color: var(--ink);
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  font-size: .86rem;
  font-weight: 850;
  line-height: 1.2;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.button:hover { background: var(--primary_dark); color: var(--ink); }
.button.secondary { background: transparent; color: var(--text); border-color: #b7b2ab; }
.button.secondary:hover { background: var(--text); color: var(--ink); }
.button.inverse { background: var(--surface); color: var(--text); }
.button.inverse:hover { background: var(--surface_alt); }
.button:disabled { opacity: .48; cursor: default; }
.button.inverse:focus-visible, .announcement :focus-visible { outline-color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.35rem; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 10; }
.site-header.is-ready { position: fixed; }
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--surface);
  opacity: 0;
  transition: opacity 250ms ease;
}
.site-header.is-scrolled::before, .site-header.menu-open::before { opacity: 1; }
.announcement {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 34px;
  position: relative;
  padding: .2rem 46px;
  color: var(--ink);
  background: var(--primary);
  line-height: 1.25;
  font-size: .9rem;
  font-weight: 780;
}
.announcement a { text-decoration: none; }
.announcement a:hover { color: var(--ink); text-decoration: underline; }
.dismiss {
  position: absolute;
  right: max(4px, calc(var(--gutter) - 12px));
  inset-block: 0;
  min-width: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1;
}
.header-inner {
  position: relative;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 2rem;
  transition: min-height 250ms ease;
}
.is-scrolled .header-inner { min-height: 64px; }
.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: center;
  width: max-content;
  max-width: 100%;
  color: var(--text);
  line-height: 1;
  text-decoration: none;
}
.wordmark strong { font: 400 2rem/1 var(--heading); letter-spacing: .035em; }
.wordmark span { font-size: .65rem; font-weight: 850; margin-top: .33rem; letter-spacing: .11em; }
.site-nav, .header-actions { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 44px); }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  font-weight: 800;
  font-size: .95rem;
  text-transform: uppercase;
  text-decoration: none;
}
.site-nav a:hover, .site-nav a[aria-current] { color: var(--primary); }
.header-actions { gap: .5rem; }
.menu-button {
  min-width: 44px;
  min-height: 44px;
  display: none;
  place-items: center;
  background: transparent;
  color: var(--text);
  border: 1px solid #99958d;
  border-radius: var(--radius);
}
.menu-lines, .menu-lines::before, .menu-lines::after { width: 19px; height: 2px; background: currentColor; }
.menu-lines { position: relative; }
.menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
.menu-lines::before { top: -6px; }
.menu-lines::after { top: 6px; }
.menu-open .menu-lines { background: transparent; }
.menu-open .menu-lines::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-lines::after { top: 0; transform: rotate(-45deg); }
.mobile-bar { display: none; }

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(575px, 49vw, 780px);
  padding-block: 145px 96px;
  background: #232624;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3.8vw), 0 100%);
}
.hero > img, .page-banner > img, .benefits-photo > img, .door > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero > img { object-position: center 52%; }
.hero::after, .page-banner.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(10,12,14,.91) 0%, rgba(10,12,14,.66) 27%, transparent 67%),
              linear-gradient(180deg, rgba(10,12,14,.73), transparent 28%);
}
.hero-content { width: 100%; }
.hero h1 { margin-bottom: .24em; }
.hero h1 span { color: var(--primary); }
.hero p { max-width: 30rem; font-size: clamp(1.16rem, 1.8vw, 1.45rem); line-height: 1.34; }
.hero .button.secondary { background: rgba(15,18,21,.58); border-color: var(--text); }
.hero .button.secondary:hover { background: var(--text); }

.tile-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}
.photo-tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(235px, 23vw, 330px);
  overflow: hidden;
  isolation: isolate;
  border-right: 1px solid var(--surface);
  color: var(--text);
  text-decoration: none;
  background: var(--surface_alt);
}
.photo-tile:last-child { border-right: 0; }
.photo-tile > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 500ms var(--arrival);
}
.photo-tile::after, .door::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(11,13,15,.95), rgba(11,13,15,.65) 25%, transparent 73%);
}
.photo-tile:hover, .photo-tile:focus-visible { color: var(--text); }
.photo-tile:hover img { transform: scale(1.04); }
.photo-tile:focus-visible { outline-offset: -5px; }
.tile-label { padding: clamp(18px, 3vw, 38px); transition: transform 200ms ease; }
.tile-label::before { content: ""; display: block; background: var(--primary); width: 38px; height: 3px; margin-bottom: 13px; }
.tile-label h2 { font-size: clamp(1.5rem, 2.5vw, 2.3rem); margin-bottom: .2em; }
.photo-tile:hover .tile-label { transform: translateY(-6px); }

.equipment {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(20px, 5vw, 86px);
  align-items: center;
}
.equipment-copy p:not(.kicker) { max-width: 31rem; color: var(--muted); }
.spec-list { max-width: 33rem; margin-block: 1.2rem; }
.spec-list > div {
  display: flex;
  justify-content: space-between;
  gap: .5rem 1rem;
  padding: .58rem 0;
  border-top: 1px solid var(--line);
}
.spec-list dd { margin: 0; text-align: right; font-weight: 770; }
.diagonal { clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%); background: var(--surface_alt); }
.equipment-photo img { width: 100%; height: auto; min-height: 285px; max-height: 470px; aspect-ratio: 1.95; object-fit: cover; object-position: 70% 73%; }

.hiring { position: relative; background: var(--surface_alt); border-top: 1px solid var(--line); }
.hiring::before {
  content: "";
  position: absolute;
  top: -1px;
  left: calc(50% - 19px);
  width: 38px;
  height: 15px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: var(--primary);
}
.job-ticket {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(155px, 17vw, 240px);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0;
  margin-top: 1.15rem;
}
.ticket-details { padding: clamp(17px, 2.6vw, 36px); }
.ticket-details h3 { font-size: clamp(1.55rem, 2.4vw, 2.3rem); }
.job-facts {
  display: grid;
  grid-template-columns: 1.3fr 1fr .8fr;
  margin: 1rem 0 0;
  border-top: 1px solid var(--line);
}
.job-facts div { min-width: 0; padding: 12px clamp(8px, 1.5vw, 25px) 2px; border-left: 1px solid var(--line); }
.job-facts div:first-child { padding-left: 0; border-left: 0; }
.job-facts dt { color: var(--muted); font-size: .92rem; }
.job-facts dd { margin: .15rem 0 0; font-size: clamp(1.03rem, 1.55vw, 1.35rem); font-weight: 850; line-height: 1.22; }
.job-facts [data-el="pay-card"] dd { color: var(--primary); font: 400 clamp(1.2rem, 2.65vw, 2.5rem)/1.13 var(--heading); }
.ticket-actions {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: .6rem;
  padding: 1.2rem;
  border-left: 2px dotted #918679;
  background: #17191c;
  text-align: center;
}

.benefits-photo {
  min-height: 385px;
  position: relative;
  isolation: isolate;
  background: var(--ink);
}
.benefits-photo > img { object-position: center 48%; }
.benefits-photo-inner { display: flex; justify-content: flex-start; }
.benefits-panel { background: rgba(15,18,21,.90); padding: clamp(20px, 3vw, 40px); border-bottom: 3px solid var(--primary); }
.checks {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem 1.6rem;
  padding: 0;
}
.checks li { padding-left: 1.45rem; position: relative; }
.checks li::before {
  content: "";
  position: absolute;
  top: .31rem;
  left: 0;
  width: .87rem;
  height: .87rem;
  background: var(--primary);
  mask: url("../icons/check.svg") center/contain no-repeat;
}
.benefits-panel .button { margin-top: .3rem; }

.watermark {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 5vw, 75px);
  align-items: center;
}
.watermark-type {
  position: absolute;
  top: 47%;
  left: var(--gutter);
  transform: translateY(-50%);
  z-index: -1;
  font: 400 clamp(5rem, 17vw, 16rem)/1 var(--heading);
  color: #24231f;
  user-select: none;
}
.coverage-intro p:not(.kicker) { max-width: 34rem; }
.lane-form { padding: clamp(16px, 2.5vw, 30px); border: 1px solid var(--line); background: var(--surface_alt); }
.lane-fields { display: flex; align-items: end; gap: .65rem; flex-wrap: wrap; }
.lane-fields label { flex: 1 1 100px; }
.lane-followup { margin-top: 1rem; }
.lane-followup p { margin-bottom: .5rem; }

.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.door {
  display: flex;
  align-items: flex-end;
  min-height: clamp(285px, 28vw, 435px);
  position: relative;
  isolation: isolate;
  background: var(--surface_alt);
}
.door > div { padding: clamp(20px, 4.5vw, 65px); }
.door h2 { margin-bottom: .13em; }
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  padding-block: 33px;
  background: var(--primary);
  color: var(--ink);
}
.cta-band h2 { margin: 0; }

.site-footer { padding-top: 45px; background: #0b0d0f; }
.footer-grid { display: grid; grid-template-columns: .9fr 1.3fr; gap: 2rem 5vw; padding-bottom: 32px; }
.footer-contact > p { margin-block: .7rem .4rem; }
.footer-links { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 1rem 1.5rem; }
.footer-links h2 { font-size: 1.35rem; }
.footer-links ul { list-style: none; padding: 0; }
.footer-links li + li { margin-top: .3rem; }
.footer-links li a { text-decoration: none; }
.footer-links li a:hover { text-decoration: underline; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-block: 1.15rem;
  color: var(--muted);
  font-size: .91rem;
}
.footer-bottom div { display: flex; gap: 1.35rem; }

.page-banner {
  isolation: isolate;
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 255px;
  padding-top: 112px;
  padding-bottom: 34px;
  background: var(--surface_alt);
  border-bottom: 1px solid var(--line);
}
.page-banner.has-photo { min-height: clamp(335px, 33vw, 490px); padding-bottom: clamp(48px, 5vw, 80px); }
.page-banner.has-photo::before {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: clamp(12px, 3vw, 44px);
  background: var(--surface);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.page-banner > img { object-position: center 43%; }
.page-banner > .ixgz { object-position: 86% 85%; }
.page-banner h1 { font-size: clamp(2.6rem, 5.1vw, 4.75rem); margin-bottom: .2em; }
.page-banner p { font-size: 1.22rem; }
.page-banner p:last-child { margin-bottom: 0; }
.breadcrumbs { border-bottom: 1px solid var(--line); }
.breadcrumbs ol { list-style: none; padding: .55rem 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-size: .92rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: .6rem; color: var(--muted); }
.breadcrumbs li[aria-current] { color: var(--muted); }

.flat { border: 1px solid var(--line); background: var(--surface_alt); }
.contact-panel, .signature, .trailer-panel { padding: clamp(17px, 2.75vw, 35px); }
.contact-panel h2, .trailer-panel h2 { font-size: clamp(1.55rem, 2.35vw, 2rem); }
.contact-panel a, .authority a, .form-sidebar a, .prose a { overflow-wrap: anywhere; }
.driver-offer .fineprint { margin-top: .6rem; }
.driver-details, .shipper-services, .two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: clamp(20px, 6vw, 90px);
}
.gallery-grid, .contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.gallery-grid figure { margin: 0; }
.gallery-grid a { display: block; background: var(--surface); overflow: hidden; }
.gallery-grid img { width: 100%; height: auto; aspect-ratio: 1.65; object-fit: cover; transition: transform 500ms var(--arrival); }
.gallery-grid a:hover img { transform: scale(1.04); }
.gallery-grid figcaption { margin-top: .4rem; }
.gallery-dialog {
  width: min(1050px, 92vw);
  max-height: 92vh;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  padding: 1rem;
}
.gallery-dialog::backdrop { background: rgba(0,0,0,.84); }
.gallery-dialog img { max-height: 71vh; max-width: 100%; object-fit: contain; margin: .75rem auto; }
.hiring-steps { padding-left: 1.45rem; max-width: 55rem; }
.hiring-steps li { padding: .5rem .3rem; }
.hiring-steps li::marker { color: var(--primary); font-weight: 850; }
.faq-panel { max-width: 58rem; }
.faq-panel + .faq-panel { margin-top: 1.5rem; }
.faq-tabs { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 1rem; }
.faq-tabs [aria-selected="true"] { background: var(--primary); color: var(--ink); border-color: transparent; }
.faq-tabs:not([hidden]) ~ .faq-panel h3 { display: none; }
.faq-tabs:not([hidden]) ~ .faq-panel { margin-top: 0; }
details { border-bottom: 1px solid var(--line); }
summary { padding: .75rem 0; min-height: 44px; cursor: pointer; font-weight: 780; }
summary::marker { color: var(--primary); }
details p { color: var(--muted); padding: 0 0 1rem; overflow-wrap: anywhere; }

.authority {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 2.5rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
  background: var(--surface_alt);
}
.authority > div:first-child { display: flex; gap: .85rem; align-items: center; }
.authority h2 { font-size: 1.5rem; margin-bottom: .2rem; }
.icon { flex: none; filter: invert(74%) sepia(75%) saturate(550%) hue-rotate(2deg) brightness(101%); }
.contact-panel > .icon { margin-bottom: .85rem; }
.locator { display: flex; align-items: center; gap: .9rem; margin-top: 1.15rem; }
.locator img { width: clamp(65px, 9vw, 140px); height: auto; }
.locator figcaption { font-size: .95rem; }
.trailer-panel table { width: 100%; border-collapse: collapse; }
.trailer-panel caption { text-align: left; color: var(--muted); padding-bottom: .75rem; }
.trailer-panel th, .trailer-panel td { padding: .55rem .25rem; text-align: left; border-top: 1px solid var(--line); }
.owner-letter .signature-name { color: var(--primary); font: italic 800 1.25rem var(--body); }
.prose { max-width: 64rem; }
.prose p + h2 { margin-top: 1.7rem; }
.prose h2 { font-size: 1.85rem; }

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, .85fr);
  gap: clamp(24px, 5vw, 85px);
  align-items: start;
}
.form-sidebar { display: grid; gap: 1rem; }
.form-sidebar .contact-panel { background: var(--surface); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem 1rem; }
.form-grid > .wide, .choice-set { grid-column: 1 / -1; }
label { display: block; font-size: 1rem; font-weight: 720; }
label > input:not([type="checkbox"]), label > textarea, label > select {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: .47rem .68rem;
  margin: .25rem 0 0;
  border: 1px solid #85817b;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-weight: 500;
}
label > select {
  appearance: none;
  padding-right: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23e4bf2b' stroke-width='2' d='m3 6 5 5 5-5'/%3E%3C/svg%3E");
  background-position: right .65rem center;
  background-repeat: no-repeat;
}
textarea { resize: vertical; }
input[readonly] { color: var(--muted); }
input[type="checkbox"] { width: 1.15rem; height: 1.15rem; margin: 0; accent-color: var(--primary); }
.form-step {
  min-width: 0;
  margin: 1.1rem 0 0;
  padding: clamp(14px, 2.2vw, 28px);
  border: 1px solid var(--line);
  background: var(--surface_alt);
}
[data-el="quote-steps"] .form-step { background: var(--surface); }
.form-step legend {
  margin: 0;
  padding: 0 .55rem 0 0;
  font: 400 1.4rem/1.2 var(--heading);
  text-transform: uppercase;
}
.step-number { color: var(--primary); font-size: 2.25rem; margin-left: .35rem; }
.choice-set { min-width: 0; margin: 0; padding: .6rem .65rem .25rem; border: 1px solid var(--line); }
.choice-set legend { font: 700 1rem/1.3 var(--body); text-transform: none; padding-inline: .3rem; }
.choice-row { display: flex; flex-wrap: wrap; gap: 0 1rem; }
.choice-row label, .consent { display: flex; align-items: center; gap: .5rem; min-height: 44px; }
.consent input { flex: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-block: 1rem; }
.step-progress p { margin: 0 0 .35rem; font-weight: 800; }
.progress-track { height: 4px; background: var(--line); overflow: hidden; }
.progress-track span {
  display: block;
  background: var(--primary);
  width: 100%;
  height: 100%;
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
  transition: transform 300ms var(--arrival);
}
[data-step].step-enter { animation: step-slide 280ms var(--arrival) both; }
@keyframes step-slide {
  from { opacity: 0; transform: translateX(var(--step-offset, 30px)); }
  to { opacity: 1; transform: none; }
}
.form-error { border: 1px solid #ffc1af; color: #ffc1af; padding: .7rem; }
.contact-form { padding-bottom: 0; }
.signature h3 { font-size: 1.55rem; }
.signature-result { color: var(--primary); font-size: 1.15rem; font-weight: 820; display: block; min-height: 1.65rem; margin-top: .5rem; }
.budget input { max-width: 16rem; }
.reference-card { display: grid; grid-template-columns: .83fr 1.17fr; gap: 1rem 3vw; }
.reference-card h2 { font-size: clamp(1.55rem, 2.7vw, 2.3rem); }
.reference-card .form-grid { margin-bottom: .75rem; }

@media (max-width: 899px) {
  :root { --section: 42px; }
  body:has(.mobile-bar.is-visible) { padding-bottom: var(--mobile-bar); }
  .header-inner { min-height: 74px; gap: .5rem; }
  .header-actions .button { padding-inline: .85rem; }
  .site-header:not(.is-ready) { position: relative; background: var(--surface); }
  .site-header:not(.is-ready) .header-inner { flex-wrap: wrap; }
  .site-header:not(.is-ready) .site-nav { flex-wrap: wrap; order: 3; width: 100%; }
  .site-header.is-ready .menu-button { display: grid; }
  .site-header.is-ready .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1rem;
    max-height: 70vh;
    overflow-y: auto;
  }
  .site-header.menu-open .site-nav { display: grid; gap: 0; animation: menu-open 250ms var(--arrival) both; }
  .site-nav a { min-height: 48px; }
  .site-header.menu-open .site-nav a + a { border-top: 1px solid var(--line); }
  @keyframes menu-open {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: none; }
  }
  .mobile-bar.is-visible {
    display: flex;
    position: fixed;
    z-index: 9;
    inset: auto 0 0;
    min-height: var(--mobile-bar);
    padding: 8px var(--gutter) max(8px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: var(--surface);
  }
  .mobile-bar .button { width: 100%; }
  .tile-label { padding: 16px; }
  .tile-row .photo-tile { min-height: 205px; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-banner h1 { font-size: clamp(2.55rem, 6.7vw, 4.2rem); }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid section:last-child { grid-column: span 2; }
}
@media (max-width: 620px) {
  :root { --section: 36px; --mobile-bar: calc(64px + max(0px, env(safe-area-inset-bottom) - 8px)); }
  h1 { font-size: clamp(2.9rem, 12vw, 4.45rem); }
  .wordmark strong { font-size: 1.62rem; }
  .wordmark span { font-size: .53rem; }
  .announcement { font-size: .8rem; }
  .hero { min-height: 570px; align-items: flex-end; padding-block: 232px 35px; }
  .hero > img { height: 366px; object-position: 76% 45%; }
  .hero::after {
    background: linear-gradient(180deg, rgba(10,12,14,.76) 5%, transparent 27%, transparent 40%, rgba(15,18,21,.91) 61%, var(--surface) 73%);
  }
  .hero { background: var(--surface); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), 0 100%); }
  .hero p { margin-bottom: .45rem; line-height: 1.3; }
  .hero .actions { margin-top: 1rem; gap: .5rem; }
  .hero .button { padding-inline: .9rem; }
  .tile-row { grid-template-columns: 1fr; }
  .tile-row .photo-tile { min-height: 155px; border-right: 0; border-bottom: 1px solid var(--surface); }
  .tile-row .photo-tile > img { object-position: center 45%; }
  .tile-label { padding-inline: var(--gutter); }
  .tile-label::before { margin-bottom: .47rem; }
  .equipment, .watermark, .driver-details, .shipper-services, .two-columns, .form-layout, .reference-card {
    grid-template-columns: minmax(0, 1fr);
  }
  .equipment-photo img { min-height: 0; aspect-ratio: 1.64; }
  .job-ticket { grid-template-columns: 1fr; }
  .job-facts { grid-template-columns: 1fr; }
  .job-facts div, .job-facts div:first-child { padding: .48rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .job-facts div:last-child { border-bottom: 0; }
  .ticket-actions { align-items: flex-start; flex-direction: row; justify-content: flex-start; flex-wrap: wrap; border-left: 0; border-top: 2px dotted #918679; padding: .85rem 16px; }
  .ticket-actions > a:last-child { padding: .63rem .2rem; }
  .benefits-photo { padding-top: 150px; }
  .benefits-photo > img { height: 240px; object-position: center 45%; }
  .benefits-photo-inner { padding-top: 0; }
  .benefits-panel { width: 100%; padding: 1rem; }
  .checks { gap: .55rem .6rem; }
  .watermark-type { top: 27%; font-size: 22vw; }
  .doors { grid-template-columns: 1fr; }
  .door { min-height: 230px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-apply { grid-column: span 2; }
  .footer-bottom { font-size: .86rem; }
  .page-banner { min-height: 223px; }
  .page-banner.has-photo { min-height: 324px; }
  .page-banner.has-photo::after {
    background: linear-gradient(90deg, rgba(10,12,14,.84), rgba(10,12,14,.28)),
                linear-gradient(180deg, rgba(10,12,14,.65), transparent 50%);
  }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid section:last-child { grid-column: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .form-step { padding-inline: .75rem; }
  .authority { flex-direction: column; align-items: flex-start; gap: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (min-width: 621px) {
  .hero::after, .page-banner.has-photo::after {
    background: linear-gradient(90deg, rgba(10,12,14,.91) 0%, rgba(10,12,14,.66) 27%, transparent 67%),
                linear-gradient(180deg, rgba(10,12,14,.77) 0%, rgba(10,12,14,.64) 14%, transparent 36%);
  }
}
