/*
 * JAS Transporting LLC — heavy-haul-tough, dark theme. Green #128927 and
 * deep green #0c5c1a, traffic yellow #f4c025, charcoal foundations.
 * Oblique uppercase Anton (XL), Roboto body, 1240px container, regular spacing,
 * square edges, road-mark logo. Clear spring daylight and green landscapes.
 * H8 minimal menu; tall bottom-left recruiting hero; flush photo tiles,
 * equipment, hiring and calendar, photo benefits, driver/freight doors,
 * angled CTA; two-column footer. Drivers / Freight / Equipment / Company / Contact.
 */
@import url("../fonts/anton/font.css");
@import url("../fonts/roboto/font.css");

:root {
  --primary: #128927;
  --primary-dark: #0c5c1a;
  --accent: #f4c025;
  --ink: #14171c;
  --surface: #0f1215;
  --surface-alt: #1a1e24;
  --white: #f8f9f8;
  --muted: #c4cbd0;
  --border: #3c4650;
  --font-heading: "Anton", sans-serif;
  --font-body: "Roboto", sans-serif;
  --container: 1240px;
  --section: 88px;
  --radius: 0;
  --gutter: clamp(20px, 5vw, 72px);
  --header: 84px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 85px; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
}
body:has(.site-menu[open]), body:has(.gallery-dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { color: var(--accent); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
address { font-style: normal; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 {
  margin: 0 0 .45em;
  font: oblique 400 1.75rem/1.12 var(--font-heading);
  text-transform: uppercase;
}
h1 { font-size: clamp(2.7rem, 6vw, 5.5rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); }
dl, dd, figure { margin: 0; }
svg { display: inline-block; flex: none; width: 1.25em; height: 1.25em; }
.container { width: min(var(--container), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: var(--section); }
.alternate { background: var(--surface-alt); }
.section-title {
  border-inline-start: 5px solid var(--primary);
  padding-inline-start: .44em;
}
.sr-only, .trap {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip { position: fixed; top: 8px; left: 8px; z-index: 20; padding: 12px; background: var(--ink); transform: translateY(-160%); }
.skip:focus { transform: none; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: .76em 1.45em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: .88rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 180ms ease, transform 180ms ease;
}
.btn:hover { color: inherit; opacity: .92; transform: translateY(-2px); }
.btn.primary { background: var(--primary-dark); color: white; }
.btn.yellow { background: var(--accent); color: var(--ink); }
.btn.outline { border-color: #b7c0c6; background: #0f1215c9; color: white; }
.text-link { display: inline-flex; gap: .55em; align-items: center; min-height: 44px; color: var(--accent); font-weight: 700; }
.text-link:hover { color: white; }
.card, .job-card, .calendar {
  min-width: 0;
  padding: clamp(22px, 3vw, 38px);
  border: 1px solid var(--border);
  background: var(--ink);
  overflow-wrap: anywhere;
}
.card p, .job-card p { color: var(--muted); }
.card .section-title { font-size: clamp(1.55rem, 2.5vw, 2.25rem); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(26px, 5vw, 74px); align-items: start; }

.site-header { position: sticky; z-index: 10; top: 0; min-height: var(--header); pointer-events: none; }
.site-header::before {
  position: absolute; inset: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  content: "";
  transform-origin: top;
  transition: transform 250ms var(--ease);
}
.site-header.is-shrunk::before { transform: scaleY(.77); }
.header-row, .menu-header {
  position: relative; display: flex; justify-content: space-between; align-items: center; min-height: var(--header); gap: 12px;
}
.header-row { pointer-events: auto; transition: transform 250ms var(--ease); }
.site-header.is-shrunk .header-row { transform: translateY(-9px); }
.brand { display: inline-flex; flex: none; align-items: center; gap: 8px; color: white; line-height: 1; text-decoration: none; }
.brand:hover { color: white; }
.brand img { width: 50px; height: auto; }
.brand strong { display: block; width: fit-content; font: oblique 400 1.95rem/1 var(--font-heading); letter-spacing: .04em; }
.brand small { display: block; margin-top: 3px; font-size: .62rem; font-weight: 800; letter-spacing: .105em; }
.header-actions { display: flex; align-items: center; gap: 24px; }
.menu-toggle, .menu-close, .gallery-close {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 8px 0; border: 0; background: transparent;
  color: white; font-size: .86rem; font-weight: 800; letter-spacing: .045em; text-transform: uppercase;
}
.menu-toggle:hover, .menu-close:hover, .gallery-close:hover { color: var(--accent); }
.site-menu {
  inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0 0 42px;
  border: 0; background: var(--surface); color: var(--white); pointer-events: auto;
}
.site-menu[open] { animation: menu-open 250ms var(--ease) both; }
@keyframes menu-open { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
.menu-header { border-bottom: 1px solid var(--border); }
.menu-links { display: grid; max-width: 920px; padding-top: clamp(26px, 6vh, 60px); }
.menu-links > a, .menu-links summary {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 66px; padding: 12px 4px; border-bottom: 1px solid var(--border);
  font: oblique 400 clamp(1.65rem, 4vw, 2.75rem)/1.1 var(--font-heading);
  text-decoration: none; text-transform: uppercase; cursor: pointer;
}
.menu-links > a::after, .menu-links summary::after { color: var(--accent); content: "→"; font: 400 .8em/1 var(--font-body); }
.menu-links summary::after { content: "+"; }
.menu-links [open] summary::after { content: "−"; }
.menu-links [aria-current] { color: var(--accent); }
.menu-detail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 24px; background: var(--surface-alt); padding: 14px; }
.menu-detail a { min-height: 44px; padding: 8px; font-weight: 700; }
.menu-detail small { display: block; color: var(--muted); font-weight: 400; }
.fallback-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-block: 10px; pointer-events: auto; }
body:has(.fallback-nav) .menu-toggle { display: none; }
.mobile-bar { display: none; }

.photo { position: relative; isolation: isolate; overflow: hidden; background: var(--surface-alt); }
.photo .backdrop { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg,#0f1215ed, #0f121536 72%); content: ""; pointer-events: none; }
.hero {
  display: flex;
  align-items: end;
  min-height: 85vh;
  min-height: 85svh;
}
.hero .backdrop { object-position: center 52%; }
.hero::after { background: linear-gradient(0deg, #0f1215fa, #0f121597 24%, #0f121522 56%, #0f121506 75%), linear-gradient(90deg, #0f121549, transparent 78%); }
.hero-content { padding-block: 72px 56px; }
.hero h1 { width: fit-content; margin-bottom: .14em; }
.hero p { margin-bottom: 21px; font-size: clamp(1.05rem,2vw,1.35rem); }
.livery { height: 10px; background: linear-gradient(var(--primary) 0 45%,var(--surface) 45% 65%,var(--accent) 65% 85%, var(--surface) 85%); }
.tile-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
.tile { display: flex; align-items: end; min-height: clamp(240px, 26vw, 400px); color: white; text-decoration: none; }
.tile + .tile { border-left: 1px solid #ffffff45; }
.tile::after { background: linear-gradient(0deg,#0f1215fa, #0f12153a 65%); }
.tile .backdrop { transition: transform 500ms var(--ease); }
.tile:hover .backdrop, .tile:focus-visible .backdrop { transform: scale(1.04); }
.tile-caption { position: relative; width: 100%; padding: 26px clamp(17px, 3.2vw, 48px); transition: transform 200ms ease; }
.tile:hover .tile-caption, .tile:focus-visible .tile-caption { transform: translateY(-6px); }
.tile-caption h2 { margin-bottom: .2em; font-size: clamp(1.45rem, 3vw, 2.7rem); }
.tile-caption p { padding-right: 1.4rem; color: var(--white); }
.tile-caption svg { position: absolute; right: clamp(17px, 3.2vw, 48px); bottom: 30px; color: var(--accent); }
.equipment { background: var(--surface); }
.equipment-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5.5vw, 78px); }
.equipment-photo { border-bottom: 4px solid var(--primary); }
.equipment-photo > img { width: 100%; height: 100%; min-height: 255px; aspect-ratio: 1.72; object-fit: cover; }
.equipment-photo::after { z-index: 0; background: linear-gradient(180deg,#ffffff33, transparent 52%,#0f1215b8); }
.equipment-photo figcaption { position: absolute; z-index: 1; bottom: 14px; left: 18px; font-weight: 700; }
.equipment-copy p { color: var(--muted); max-width: 38ch; }
.spec-list { margin-bottom: 16px; }
.spec-list > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; border-top: 1px solid var(--border); padding-block: 10px; }
.spec-list dt, .coverage-list dt, .job-facts dt, .offer-figures dt, .field-label { color: var(--muted); font-size: .86rem; font-weight: 700; }
.spec-list dd { font-weight: 700; }
.hiring { background: var(--surface-alt); }
.hiring-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 20px; margin-top: 32px; }
.job-card { background: var(--surface); }
.job-facts { margin: 18px 0 22px; }
.job-facts > div { padding: 8px 0; border-top: 1px solid var(--border); }
.job-facts dd { font-weight: 800; font-size: 1.17rem; }
.job-facts div:first-child dd { color: var(--accent); font-size: 1.42rem; }
.calendar p { max-width: 45ch; color: var(--muted); }
.calendar table { border-collapse: separate; border-spacing: 3px; margin-inline: -3px; width: calc(100% + 6px); table-layout: fixed; text-align: center; font-size: .82rem; }
.calendar th { color: var(--muted); font-weight: 600; }
.calendar td, .calendar th { height: 38px; padding: 2px; }
.calendar th:first-child { width: 18%; text-align: left; }
.calendar .on-road { background: var(--surface-alt); }
.calendar .at-home { background: var(--accent); color: var(--ink); font-weight: 800; }
.benefits-photo .backdrop { object-position: 55% 52%; }
.benefits-photo::after { background: linear-gradient(90deg,#0f1215fa 0%,#0f1215e8 40%,#0f121540 100%); }
.benefits-content .checklist { max-width: 620px; }
.checklist { display: grid; gap: 0 24px; margin: 20px 0; padding: 0; list-style: none; }
.checklist li { position: relative; padding: .55em 0 .55em 1.6em; }
.checklist li::before {
  position: absolute; top: 1em; left: .14em;
  width: .66em; height: .36em; border-bottom: 2px solid var(--accent); border-left: 2px solid var(--accent);
  content: ""; transform: rotate(-45deg);
}
.benefits-content .checklist, #benefits .checklist { grid-template-columns: repeat(2, minmax(0,1fr)); }
.doors-section { background: var(--surface); }
.doors { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.door { display: flex; align-items: end; min-height: 315px; padding: clamp(20px,3vw,40px); border: 1px solid var(--border); }
.door::after { background: linear-gradient(0deg,#0f1215fa,#0f12155c 74%); }
.door h2 { margin-bottom: .2em; }
.door p { max-width: 35ch; }
.callout { position: relative; isolation: isolate; overflow: hidden; background: var(--primary-dark); }
.callout::before {
  position: absolute; z-index: -1; inset: 0;
  background: var(--primary); clip-path: polygon(76% 0,100% 0,100% 100%,69% 100%);
  content: "";
}
.callout-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; min-height: 174px; padding-block: 30px; }
.callout h2 { margin: 0; border-color: var(--accent); }

.banner { background-color: var(--surface-alt); border-bottom: 4px solid var(--primary); }
.banner-content { padding-block: clamp(44px, 8vw, 106px) clamp(36px, 5vw, 72px); }
.banner h1 { max-width: 20ch; font-size: clamp(2.35rem, 5.2vw, 4.65rem); }
.banner p { max-width: 55ch; color: var(--white); font-size: clamp(1rem, 1.65vw, 1.25rem); }
.banner .btn { margin-top: 6px; }
.photo-banner .backdrop { object-position: center 54%; }
.photo-banner::after { background: linear-gradient(90deg, #0f1215f2, #0f121592 60%, #0f12155c), linear-gradient(0deg,#0f1215b8,transparent 55%); }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .75em; padding-block: 10px 0; color: var(--muted); font-size: .9rem; }
.breadcrumbs a { display: inline-flex; min-height: 44px; align-items: center; }
.offer-figures { display: flex; flex-wrap: wrap; gap: 18px 34px; margin: 18px 0; }
.offer-figures > div { border-left: 3px solid var(--accent); padding-inline-start: 13px; }
.offer-figures dt { color: white; }
.offer-figures dd { color: var(--accent); font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 2rem); }
.driver-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.driver-summary .field-label { display: block; }
.driver-summary strong { font-size: 1.5rem; }
.driver-details + #equipment { padding-top: 0; }
.tabs-list { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--border); }
.tabs-list a { display: flex; align-items: center; min-height: 48px; padding: 8px 18px; border-bottom: 4px solid transparent; text-decoration: none; font-weight: 700; }
.tabs-list a[aria-selected="true"] { border-color: var(--accent); background: var(--surface-alt); color: var(--accent); }
[data-panel] { padding-block: 32px 12px; }
[data-panel] p { max-width: 62ch; }
.fineprint { color: var(--muted); font-size: .9rem; }
.faq-list { max-width: 850px; }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary { display: flex; align-items: center; gap: 15px; min-height: 54px; padding: 10px 0; cursor: pointer; font-weight: 700; }
.faq-list summary::after { content: "+"; color: var(--accent); margin-left: auto; font-size: 1.45rem; line-height: 1; }
.faq-list [open] summary::after { content: "−"; }
.faq-no { color: var(--accent); font-family: var(--font-heading); font-size: 1.1rem; }
.faq-list details p { padding: 0 24px 14px 36px; }
.gallery, .contact-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.gallery figure { border: 1px solid var(--border); background: var(--surface-alt); }
.gallery a { display: block; overflow: hidden; }
.gallery a img { width: 100%; aspect-ratio: 1.55; object-fit: cover; transition: transform 450ms var(--ease); }
.gallery a:hover img { transform: scale(1.04); }
.gallery figcaption { padding: 12px 16px; }
.gallery-dialog { max-width: min(1050px, 94vw); max-height: 90vh; padding: 14px; border: 1px solid var(--border); background: var(--surface); color: white; }
.gallery-dialog::backdrop { background: #000c; }
.gallery-dialog img { max-height: 70vh; margin-inline: auto; object-fit: contain; }
.gallery-dialog figcaption { padding-block: 10px 2px; }
.gallery-close { margin: 0 0 5px auto; }
.plain-steps { padding-left: 1.4em; }
.plain-steps li { padding: 0 0 10px 7px; }
.plain-steps li::marker { color: var(--accent); font-weight: 800; }

.form-layout { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); align-items: start; gap: 24px; }
.form-aside { display: grid; gap: 16px; min-width: 0; }
.step-nav { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; padding: 0; margin: 0; list-style: none; }
.step-nav li { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 8px; padding: 10px 10px 8px; border: 1px solid var(--border); border-bottom: 0; color: var(--muted); font-weight: 700; line-height: 1.25; }
.step-nav li span { color: var(--accent); font-family: var(--font-heading); font-size: 1.05rem; }
.step-nav [aria-current="step"] { background: var(--surface-alt); color: white; border-top-color: var(--accent); }
.progress-track { height: 3px; margin-bottom: 27px; background: var(--border); overflow: hidden; }
.progress-fill { width: 100%; height: 100%; background: var(--accent); transform-origin: left center; transform: scaleX(var(--progress, 1)); transition: transform 300ms var(--ease); }
[data-step] + [data-step] { margin-top: 26px; }
.is-wizard [data-step] + [data-step] { margin-top: 0; }
[data-step].step-enter { animation: step-enter 280ms var(--ease) both; }
@keyframes step-enter { from { opacity: 0; transform: translateX(var(--step-offset, 30px)); } to { opacity: 1; transform: translateX(0); } }
.wizard-only { display: none; }
.is-wizard .wizard-only { display: inline-flex; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
form label { display: grid; align-content: start; gap: 5px; font-size: .92rem; font-weight: 700; }
form > label, [data-step] > label { margin-block: 16px; }
input:not([type="checkbox"]), select, textarea {
  width: 100%; min-width: 0; min-height: 46px; padding: 10px 11px; border: 1px solid #6d7983;
  border-radius: var(--radius); background: var(--surface); color: var(--white);
  font-size: 1rem; font-weight: 400;
}
input[readonly] { background: var(--surface-alt); color: var(--muted); }
textarea { resize: vertical; }
.choices { min-width: 0; margin: 18px 0 0; padding: 0; border: 0; }
.choices legend { padding: 0; font-size: .92rem; font-weight: 700; }
.choices > div { display: flex; flex-wrap: wrap; gap: 0 15px; }
.choices label, .choice { display: flex; align-items: center; gap: 8px; min-height: 44px; }
input[type="checkbox"] { flex: 0 0 auto; width: 19px; height: 19px; margin: 0; accent-color: var(--accent); }
.consent { align-items: flex-start; font-weight: 400; }
.consent input { margin-top: 2px; }
.form-actions { margin-top: 20px; }
.form-error { border-inline-start: 4px solid var(--accent); padding-inline-start: 12px; }
.review-box { margin: 18px 0; padding: 17px; border-left: 4px solid var(--primary); background: var(--surface-alt); }
.review-box h3 { font-size: 1.25rem; }
.review-box .fields + p { margin-top: 12px; }
.review-box dl { display: grid; grid-template-columns: max-content minmax(0,1fr); gap: 5px 12px; }
.review-box dt { font-weight: 700; }
.review-box dd { color: var(--muted); }

.data-table { width: 100%; border-collapse: collapse; }
.data-table tr { border-top: 1px solid var(--border); }
.data-table th, .data-table td { padding: 9px 10px 9px 0; vertical-align: top; text-align: left; }
.data-table th { width: 38%; font-size: .9rem; }
.data-table td { color: var(--muted); }
.coverage-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border-top: 1px solid var(--border); padding-top: 12px; }
.coverage-list dd { font-weight: 700; }
#safety { margin-top: 36px; }
.owner .owner-name { margin: 20px 0 0; color: white; font: oblique 400 1.55rem/1.2 var(--font-heading); }
.contact-body { margin-top: 32px; }
.prose { max-width: 64rem; }
.prose h2 { margin-top: 1em; font-size: 1.8rem; }
.prose h2:first-child { margin-top: 0; }

.site-footer { padding-block: 46px 16px; border-top: 1px solid var(--border); background: #0b0d0f; }
.footer-grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 24px; }
.footer-contact { color: var(--muted); overflow-wrap: anywhere; }
.footer-contact p { margin: 12px 0; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr auto; gap: 24px; align-items: start; }
.footer-nav h2 { font-size: 1.3rem; }
.footer-nav a:not(.btn) { display: block; width: fit-content; padding: 6px 0; color: var(--muted); }
.footer-nav a:hover { color: var(--accent); }
.footer-apply { border: 1px solid var(--border); padding: 16px; }
.footer-apply h2 { white-space: nowrap; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  border-top: 1px solid var(--border); padding-block: 15px 3px; margin-top: 29px; color: var(--muted); font-size: .86rem;
}
.footer-bottom div { display: flex; gap: 14px; }

@media (max-width: 899px) {
  :root { --header: 72px; --section: 60px; }
  body { padding-bottom: 69px; }
  .mobile-bar {
    position: fixed; z-index: 8; inset: auto 0 0;
    display: flex; justify-content: center;
    padding: 8px var(--gutter) max(8px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--border); background: var(--surface);
  }
  .mobile-bar .btn { width: min(100%, 480px); }
  .site-header.is-shrunk .header-row { transform: translateY(-5px); }
  .site-header.is-shrunk::before { transform: scaleY(.86); }
  .hero-content { padding-bottom: 44px; }
  .hiring-grid, .equipment-grid { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-apply { width: fit-content; }
  .form-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 579px) {
  :root { --section: 48px; }
  .header-actions { gap: 12px; }
  .header-actions .btn { min-height: 44px; padding-inline: 9px; font-size: .73rem; }
  .menu-toggle { min-width: 44px; }
  .menu-toggle span { display: none; }
  .brand { gap: 6px; }
  .brand img { width: 37px; }
  .brand strong { font-size: 1.55rem; }
  .brand small { font-size: .5rem; }
  .menu-detail { grid-template-columns: 1fr; }
  .menu-links > a, .menu-links summary { min-height: 58px; }
  .hero { min-height: 85svh; }
  .hero .backdrop { object-position: 54% center; }
  .hero::after { background: linear-gradient(0deg,#0f1215fc 0%, #0f1215a8 27%, #0f12151a 58%); }
  .hero p { margin-bottom: 16px; }
  .hero .actions { gap: 8px; }
  .hero .btn { padding-inline: 12px; font-size: .78rem; }
  .tile-row { grid-template-columns: 1fr; }
  .tile { min-height: 213px; }
  .tile + .tile { border-left: 0; border-top: 1px solid #ffffff45; }
  .tile-caption { padding: 19px var(--gutter); }
  .tile-caption svg { bottom: 23px; }
  .benefits-photo::after { background: linear-gradient(90deg,#0f1215fa, #0f1215b0); }
  .doors, .split, .footer-grid { grid-template-columns: minmax(0,1fr); }
  .door { min-height: 255px; }
  .calendar { padding-inline: 14px; }
  .calendar table { font-size: clamp(.49rem, 2.65vw, .73rem); border-spacing: 2px; margin-inline: -2px; width: calc(100% + 4px); }
  .calendar th:first-child { width: 16%; }
  .tabs-list a { padding-inline: 9px; font-size: .86rem; }
  .gallery { grid-template-columns: minmax(0,1fr); }
  .contact-grid, .fields { grid-template-columns: minmax(0,1fr); }
  .step-nav li { padding-inline: 7px; font-size: .81rem; }
  .card, .job-card { padding: 18px; }
  .footer-nav { gap: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .tile:hover .backdrop, .tile:hover .tile-caption, .btn:hover, .gallery a:hover img { transform: none; }
}

/* The office photo spans the freight door and the angled recruiting band. */
.closing {
  position: relative; isolation: isolate;
  --frame-edge: max(var(--gutter), calc((100% - var(--container)) / 2));
}
.closing-media {
  position: absolute; z-index: -1;
  inset: var(--section) var(--frame-edge) 0 auto;
  width: calc(50% - var(--frame-edge) - 9px);
  height: calc(100% - var(--section));
  object-fit: cover; object-position: 65% center;
}
.closing .doors-section { position: relative; background: transparent; }
.closing .doors-section::after {
  position: absolute; inset: auto 0 0; height: var(--section);
  background: var(--surface); content: "";
}
.closing .freight-door { background: transparent; }
.closing .callout { background: linear-gradient(90deg, var(--primary-dark) 0 45%, #0c5c1abc 100%); }
.closing .callout::before { opacity: .58; }
@media (max-width: 579px) {
  .closing-media {
    --photo-top: calc(var(--section) + 273px);
    inset: var(--photo-top) var(--frame-edge) 0;
    width: calc(100% - var(--frame-edge) * 2);
    height: calc(100% - var(--photo-top));
  }
  .closing .door:first-child { height: 255px; }
  .closing .callout { background: linear-gradient(90deg, var(--primary-dark), #0c5c1aca 70%, #0c5c1aab); }
  .hero .backdrop { object-position: 67% center; }
}
