/*
  A J Express Inc | Modern fleet, dark theme, centered circle-badge header.
  Primary #1144bb / deep blue #0d338c / gold #f4c025.
  Exo 2 sentence-case headings, Roboto body, 1240px container, airy spacing, 8px inputs.
  Bottom-left hiring hero; statement, alternating splits, tile row, service area, job line.
  Flat borders, pill buttons, diagonal photo edges, title rules and photo-strip footer.
  Photography: clear spring daylight, green landscape, silver and gold tractors.
*/
@font-face {
  font-family: 'Exo 2';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/exo-2/exo-2-2.woff2') format('woff2');
}
@font-face {
  font-family: 'Exo 2';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/exo-2/exo-2-1.woff2') format('woff2');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/roboto/roboto-2.woff2') format('woff2');
}
:root {
  color-scheme: dark;
  --primary: #1144bb;
  --primary-dark: #0d338c;
  --accent: #f4c025;
  --ink: #1d1a17;
  --surface: #0f1215;
  --surface-alt: #201c18;
  --white: #fff;
  --muted: #c4c9d0;
  --border: #41464e;
  --heading: 'Exo 2', sans-serif;
  --body: 'Roboto', sans-serif;
  --container: 1240px;
  --radius: 8px;
  --gutter: clamp(20px, 5vw, 72px);
  --space: clamp(64px, 9vw, 128px);
  --header-height: 126px;
  --arrival: cubic-bezier(.22,1,.36,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-height) + 16px); }
body { margin: 0; color: var(--white); background: var(--surface); font: 400 17px/1.55 var(--body); }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .19em; overflow-wrap: anywhere; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .65; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-family: var(--heading); line-height: 1.08; font-weight: 760; }
h1 { font-size: clamp(48px, 6vw, 64px); }
h2 { font-size: clamp(31px, 4vw, 51px); }
h3 { font-size: clamp(21px, 2.1vw, 30px); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
address { font-style: normal; }
.wrap { width: min(var(--container), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section-space { padding-block: var(--space); }
.small { font-size: .9rem; color: var(--muted); }
.flat { border: 1px solid var(--border); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: .64rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  text-align: center;
  text-decoration: none;
  font-weight: 750;
  line-height: 1.15;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.button:hover { background: var(--primary-dark); transform: translateY(-2px); }
.gold { background: var(--accent); color: var(--ink); }
.gold:hover { background: #ddb022; color: var(--ink); }
.outline { border-color: #fff; background: transparent; }
.outline:hover { background: #fff; color: var(--ink); }
.text-link { display: inline-block; min-height: 44px; padding-block: 9px; font-weight: 750; }
.text-link:hover { color: var(--accent); }
.section-title { margin-bottom: 1.15rem; }
.section-title::after { display: block; content: ""; width: 52px; height: 4px; margin-top: 15px; background: var(--accent); }
.skip { position: fixed; z-index: 100; top: 8px; left: 8px; transform: translateY(-180%); padding: 12px 18px; background: var(--accent); color: var(--ink); }
.skip:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 20; background: var(--surface); }
.brand-row {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 72px;
}
.brand { display: block; width: 244px; }
.brand img { width: 100%; transform-origin: center; transition: transform .25s ease; }
.site-header.is-scrolled .brand img { transform: scale(.86); }
.nav-row { border-block: 1px solid #ffffff29; }
.main-menu {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  gap: clamp(14px, 2.5vw, 38px);
  font-size: .94rem;
  font-weight: 680;
}
.main-menu > a:not(.button), .nav-label > a { display: flex; align-items: center; min-height: 48px; text-decoration: none; }
.main-menu a[aria-current="page"], .main-menu > a:not(.button):hover, .nav-label > a:hover { color: var(--accent); }
.nav-group { position: relative; }
.nav-label { display: flex; align-items: center; }
.sub-trigger {
  display: none;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  background: transparent;
  color: inherit;
  border: 0;
}
html.js .sub-trigger { display: grid; place-items: center; }
.sub-trigger::before { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
.sub-trigger[aria-expanded="true"]::before { transform: translateY(2px) rotate(225deg); }
.subnav {
  display: none;
  position: absolute;
  z-index: 2;
  top: 100%;
  left: -14px;
  width: 288px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
}
.nav-group.open .subnav, html:not(.js) .nav-group:is(:hover,:focus-within) .subnav { display: block; }
.subnav a { display: block; padding: 10px 14px; text-decoration: none; }
.subnav a + a { border-top: 1px solid var(--border); }
.subnav a:is(:hover,:focus-visible) { background: var(--primary-dark); }
.subnav span { display: block; color: var(--muted); font-size: .83rem; }
.desktop-apply { position: absolute; right: 0; min-height: 38px; font-size: .91rem; }
.mobile-apply, .menu-trigger { display: none; }

.hero {
  isolation: isolate;
  display: flex;
  position: relative;
  align-items: flex-end;
  min-height: max(630px, 89svh);
  overflow: hidden;
  background: #242b30;
  border-bottom: 4px solid var(--primary);
}
.hero-photo, .hero-photo img, .banner-photo, .banner-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo img, .banner-photo img { object-fit: cover; }
.hero-photo img { object-position: 50% 54%; }
.hero::after, .banner.with-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(12deg, #090d13f5 0%, #10151b87 28%, #10151b00 63%);
  pointer-events: none;
}
.hero-copy, .banner-copy { z-index: 1; position: relative; }
.hero-copy { padding-block: 44px clamp(48px, 7vw, 95px); }
.hero-copy h1 { letter-spacing: -.035em; }
.hero-copy p { margin-top: .48em; font-size: clamp(17px, 2.1vw, 23px); }
.statement { padding-top: var(--space); padding-bottom: calc(var(--space) + 70px); }
.statement p { max-width: 975px; margin-bottom: 22px; font: 550 clamp(28px, 3.35vw, 36px)/1.29 var(--heading); }
.statement strong { font-weight: 800; }
.statement .text-link { border-top: 1px solid var(--border); width: 100%; padding-top: 20px; }
.split-section { background: var(--surface-alt); padding-bottom: var(--space); }
.split-row { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(0,1fr); align-items: center; gap: clamp(30px, 6vw, 92px); }
.split-row:first-child { position: relative; top: -70px; margin-bottom: 6px; }
.split-row.reversed { grid-template-columns: minmax(0,1fr) minmax(0,1.55fr); }
.split-row.reversed .split-photo { grid-column: 2; grid-row: 1; }
.split-row.reversed .split-copy { grid-column: 1; grid-row: 1; }
.diagonal { clip-path: polygon(0 0,100% 0,100% 90%,93% 100%,0 100%); }
.split-photo img { width: 100%; aspect-ratio: 1.64; object-fit: cover; }
.split-copy p, .region p { color: var(--muted); max-width: 52ch; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: .75rem 0; border-top: 1px solid var(--border); text-align: left; vertical-align: top; }
.spec-table th { padding-right: 12px; font-weight: 650; }
.spec-table td { color: var(--muted); }
.spec-control { border-bottom: 1px solid var(--border); }
.spec-control summary { padding: 12px 0; cursor: pointer; }
.spec-control summary::marker { color: var(--accent); }
.spec-control p { margin-bottom: 0; }
.tile-row { position: relative; overflow: hidden; isolation: isolate; background: var(--surface-alt); }
.tile-photo { position: absolute; inset: -55px 0; z-index: -1; will-change: transform; }
.tile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 53%; }
.tile-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.tile-links a {
  display: flex;
  align-items: flex-end;
  min-height: clamp(290px, 31vw, 480px);
  text-decoration: none;
  background: linear-gradient(0deg, #0b0e12ed, #0b0e1242 35%, transparent 67%);
}
.tile-links a + a { border-left: 1px solid #ffffff5e; }
.tile-links a div { width: 100%; padding: 27px clamp(20px, 4vw, 58px); transition: transform .2s ease; }
.tile-links a:hover div { transform: translateY(-6px); }
.tile-links a:hover h3 { color: var(--accent); }
.tile-links p { margin-top: 5px; }
.region { background: var(--primary-dark); padding-block: clamp(56px, 7vw, 100px); }
.region-inner { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 8%; }
.region p { color: white; }
.region-address { position: relative; padding: 16px 0 16px 28px; }
.region-address::before { position: absolute; content: ""; inset: 0 auto 0 0; width: 3px; background: var(--accent); transform-origin: top; }
.region-address address { margin-top: 12px; }
.hiring .section-title { margin-bottom: 28px; }
.job-line { padding: 22px 0; border-block: 1px solid var(--border); }
.facts { display: flex; flex-wrap: wrap; gap: 12px 30px; margin: 14px 0 20px; }
.facts dt { color: var(--muted); font-size: .91rem; }
.facts dd { margin: 0; font-weight: 750; }
.job-line .facts { margin-block: 16px 20px; }

.site-footer { background: var(--surface-alt); }
.footer-photos { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-bottom: 4px solid var(--primary); }
.footer-photos img { object-fit: cover; width: 100%; height: clamp(85px, 12vw, 180px); filter: grayscale(1); }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 24px 34px; padding-block: 56px; }
.footer-grid h2 { font-size: 22px; margin-bottom: 12px; }
.footer-grid a { display: flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; }
.footer-grid a:hover, .footer-end a:hover { color: var(--accent); text-decoration: underline; }
.footer-end { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 24px; padding-block: 16px; border-top: 1px solid var(--border); color: var(--muted); font-size: .9rem; }
.footer-end div { display: flex; gap: 16px; }
.footer-end a { display: grid; place-items: center; min-height: 44px; }
.mobile-bar { display: none; }
.back-top { position: fixed; z-index: 10; right: 18px; bottom: 18px; width: 46px; height: 46px; font-size: 22px; background: var(--surface); color: white; border: 1px solid var(--border); border-radius: 50%; }

.banner { position: relative; isolation: isolate; display: flex; align-items: flex-end; background: var(--primary-dark); min-height: 220px; }
.banner.with-photo { min-height: clamp(280px, 36vw, 480px); background: var(--surface-alt); }
.banner.with-photo::after { background: linear-gradient(18deg, #0a1018f2 10%, #0a10189c 38%, transparent 76%); }
.banner-photo img { object-position: 50% 46%; }
.banner-copy { padding-block: clamp(34px, 5vw, 68px); }
.banner-copy p { margin-top: .65em; font-size: 1.14rem; }
.driver-highlights { display: flex; flex-wrap: wrap; gap: 6px 26px; color: var(--accent); font: 750 clamp(22px, 3.2vw, 35px)/1.12 var(--heading); margin-bottom: 19px; }
.breadcrumbs { padding-top: 14px; font-size: .92rem; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; padding: 0; margin: 0; list-style: none; gap: 6px; }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 7px; }
.content-grid { display: grid; grid-template-columns: minmax(0,2.1fr) minmax(0,1fr); gap: clamp(24px,5vw,74px); align-items: start; }
.content-grid.section-space { padding-top: clamp(45px, 6vw, 85px); }
.driver-sidebar { position: sticky; top: calc(var(--header-height) + 28px); display: grid; gap: 16px; }
.driver-sidebar h2 { font-size: clamp(22px, 2.5vw, 29px); margin-bottom: .65em; }
.sidebar-apply, .recruiter, .paystub, .weekend-card, .owner-letter { padding: clamp(18px,3vw,32px); }
.sidebar-apply { border-top: 3px solid var(--accent); background: var(--surface-alt); }
.sidebar-apply .facts { display: grid; margin-bottom: 0; }
.recruiter a { display: inline-block; padding-block: 8px; color: var(--accent); }
.content-block + .content-block, .content-block.next-steps, .contact-cards + .content-block, .authority + .content-block { margin-top: clamp(48px,7vw,94px); }
.paystub > div { display: grid; border-bottom: 1px solid var(--border); padding-bottom: 14px; }
.paystub > div strong { font: 760 clamp(28px,4vw,42px)/1.12 var(--heading); color: var(--accent); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery figure { margin: 0; }
.gallery a { display: block; overflow: hidden; }
.gallery img { aspect-ratio: 4/3; width: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery a:hover img { transform: scale(1.04); }
.gallery figcaption { font-size: .9rem; color: var(--muted); margin-top: .55em; }
.gallery-dialog { max-width: min(92vw, 1000px); max-height: 90vh; background: var(--surface); color: white; border: 1px solid var(--border); padding: 16px; }
.gallery-dialog::backdrop { background: #000d; }
.gallery-dialog img { max-height: 70vh; object-fit: contain; margin: 10px auto; }
.checklist { list-style: none; padding: 0; }
.checklist li { padding: 8px 0 8px 27px; position: relative; }
.checklist li::before { position: absolute; content: ""; border: solid var(--accent); border-width: 0 2px 2px 0; width: 7px; height: 12px; top: 12px; left: 5px; transform: rotate(45deg); }
.benefit-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 15px; }
.week-dots { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 6px; text-align: center; font-size: .85rem; }
.week-dots span::before { display: block; margin: 0 auto 6px; width: 13px; height: 13px; content: ""; border: 1px solid var(--muted); border-radius: 50%; }
.week-dots .weekend::before { background: var(--accent); border-color: var(--accent); }
.week-caption { margin-top: 15px; }
.hiring-steps { padding-left: 23px; }
.hiring-steps li { padding: 8px 0 8px 8px; }
.topic-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.topic-tabs button { min-height: 44px; background: transparent; border: 1px solid var(--border); color: white; padding: 8px 12px; font-weight: 650; }
.topic-tabs button[aria-selected="true"] { border-color: var(--accent); background: var(--accent); color: var(--ink); }
.faq-topic h3 { margin-bottom: 8px; }
.js .faq-topic h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.faq-topic + .faq-topic { margin-top: 12px; }
.faq-topic details { border-block-start: 1px solid var(--border); }
.faq-topic details:last-child { border-block-end: 1px solid var(--border); }
.faq-topic summary { min-height: 44px; padding: 12px 0; cursor: pointer; font-weight: 690; }
.faq-topic details p { padding-bottom: 16px; color: var(--muted); }
.cta { background: var(--primary); padding-block: 44px; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.authority, .service-split, .contact-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(22px,5vw,68px); }
.authority, .contact-cards { grid-template-columns: repeat(3,minmax(0,1fr)); }
.authority { padding: clamp(18px,3vw,30px); align-items: center; gap: 18px; }
.authority h2, .authority h3, .contact-cards h2 { font-size: clamp(20px, 2.25vw, 28px); margin-bottom: .55em; }
.contact-cards { gap: 16px; }
.contact-cards section { padding: clamp(16px,3vw,28px); }
.contact-cards address { margin-bottom: .85em; }
.owner-letter { border-top: 3px solid var(--accent); }
.owner-letter h2 { font-size: clamp(25px,3vw,37px); margin-bottom: .65em; }
.owner-letter cite { font: italic 720 1.35rem var(--heading); }
.quote-section { max-width: 860px; }
.prose { max-width: 760px; }
.prose .section-title:not(:first-child) { margin-top: 1em; }

.stepped-form, .contact-form { position: relative; padding: clamp(18px, 4vw, 36px); }
.form-step h3 { margin: 5px 0 17px; }
.form-step + .form-step { margin-top: 24px; }
.js .form-step + .form-step { margin-top: 0; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.wide { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 5px; font-weight: 650; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 46px;
  padding: 9px 11px;
  border: 1px solid #747b85;
  border-radius: var(--radius);
  color: white;
  background: #1a2027;
}
.field textarea { resize: vertical; }
.field input[readonly] { color: var(--muted); }
.choice-set { border: 1px solid var(--border); margin: 14px 0 0; min-inline-size: 0; }
.choice-set legend { padding-inline: 6px; font-weight: 650; }
.check-options { display: flex; flex-wrap: wrap; gap: 0 15px; }
.check-options label, .consent { display: flex; min-height: 44px; align-items: center; gap: 8px; }
.check-options input, .consent input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }
.consent { align-items: flex-start; margin-top: 15px; }
.consent input { margin-top: 4px; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.progress-wrap { margin-bottom: 20px; }
.step-count { font-size: .88rem; font-weight: 750; margin-bottom: 6px; }
.progress-track { height: 4px; background: var(--border); }
.progress-track span { display: block; background: var(--accent); height: 100%; transform: scaleX(var(--progress, .33)); transform-origin: left; transition: transform .3s ease; }
.stepped-form .small { margin-top: 20px; }
.form-actions, .contact-form .actions { margin-top: 20px; }
.form-error { border-left: 3px solid var(--accent); padding: 10px 15px; background: var(--surface-alt); }

[data-anim="hero-zoom"] { animation: hero-zoom 22s ease-in-out infinite alternate; }
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.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 .48s var(--arrival) both; }
@keyframes reveal { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes reveal-failsafe { to { opacity: 1; transform: none; } }
[data-anim="map-draw"].is-in::before { animation: region-line .6s var(--arrival) both; }
@keyframes region-line { from { transform: scaleY(0); } to { transform: none; } }
[data-anim="hotspot-pulse"] summary::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  margin-left: 9px;
  animation: hotspot-pulse 2.5s ease infinite;
}
[data-anim="hotspot-pulse"].was-opened summary::after { animation: none; }
@keyframes hotspot-pulse { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.6); opacity: .48; } }
.step-forward { animation: forward .28s var(--arrival) both; }
.step-back { animation: backward .28s var(--arrival) both; }
@keyframes forward { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes backward { from { transform: translateX(-30px); opacity: 0; } to { transform: none; opacity: 1; } }

@media (max-width: 899px) {
  :root { --header-height: 66px; }
  html.js body { padding-bottom: 65px; }
  .brand-row { height: 66px; justify-content: space-between; gap: 6px; padding: 0 var(--gutter); }
  .brand { width: clamp(148px, 25vw, 210px); }
  .mobile-apply { display: inline-flex; margin-left: auto; min-height: 44px; padding-inline: 13px; font-size: .88rem; }
  html.js .menu-trigger { display: grid; place-items: center; }
  .menu-trigger { flex: 0 0 44px; height: 44px; color: white; background: transparent; border: 1px solid var(--border); border-radius: var(--radius); }
  .menu-trigger span, .menu-trigger span::before, .menu-trigger span::after { display: block; width: 17px; height: 2px; background: currentColor; }
  .menu-trigger span { position: relative; }
  .menu-trigger span::before, .menu-trigger span::after { position: absolute; content: ""; left: 0; }
  .menu-trigger span::before { top: -5px; }
  .menu-trigger span::after { top: 5px; }
  .desktop-apply { display: none; }
  .main-menu { flex-wrap: wrap; column-gap: 14px; }
  .js .nav-row { position: absolute; width: 100%; top: 100%; background: var(--surface); visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(-8px); transition: transform .25s var(--arrival), opacity .25s ease, visibility .25s; }
  .js .site-header.menu-open .nav-row { visibility: visible; opacity: 1; pointer-events: auto; transform: none; }
  .js .main-menu { display: block; padding: 8px 0 14px; max-height: calc(100svh - 140px); overflow-y: auto; }
  .js .main-menu > a:not(.button), .js .nav-label { border-bottom: 1px solid #ffffff20; }
  .nav-label { justify-content: space-between; }
  .js .subnav { position: static; width: 100%; }
  .js .mobile-bar { display: grid; position: fixed; z-index: 12; bottom: 0; inset-inline: 0; padding: 8px var(--gutter) max(8px,env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--border); }
  .js .mobile-bar.form-in-view { display: none; }
  .back-top { bottom: 78px; }
  .hero { min-height: max(520px, 86svh); }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .content-grid { grid-template-columns: minmax(0,1fr); }
  .driver-sidebar { position: static; }
}

@media (max-width: 620px) {
  h1 { font-size: clamp(43px, 10vw, 54px); }
  .hero { min-height: max(540px, 85svh); }
  .hero-photo img { object-position: 67% center; }
  .hero::after { background: linear-gradient(0deg,#0a1018fa 0%,#0a101894 29%, transparent 68%); }
  .hero-copy { padding-bottom: 36px; }
  .banner.with-photo { min-height: 365px; }
  .banner.with-photo::after { background: linear-gradient(0deg,#0a1018f5 4%,#0a1018b3 45%,#0a101822 95%); }
  .split-row, .split-row.reversed { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .split-row:first-child { top: -60px; margin-bottom: -7px; }
  .split-row.reversed .split-photo, .split-row.reversed .split-copy { grid-column: auto; grid-row: auto; }
  .split-photo img { aspect-ratio: 1.53; }
  .tile-links { grid-template-columns: minmax(0,1fr); padding-top: 120px; background: linear-gradient(0deg,#0b0e12f0,#0b0e1260 65%,transparent); }
  .tile-links a { min-height: 0; background: none; }
  .tile-links a + a { border-left: 0; border-top: 1px solid #ffffff5e; }
  .tile-links a div { padding-block: 14px; }
  .tile-photo img { object-position: center; }
  .region-inner, .service-split, .contact-cards, .authority { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .region-address { margin-top: 4px; }
  .job-line .facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .fields { grid-template-columns: minmax(0,1fr); }
  .footer-photos img { height: 84px; }
  .footer-grid { padding-block: 36px; }
  .footer-contact { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-anim="reveal"]:not(.is-in) { opacity: 1; transform: none; }
  .tile-photo { transform: none !important; }
}
.estimator { padding: clamp(18px,3vw,32px); align-self: start; }
.paystub + .estimator { margin-top: 18px; }
.estimator h3 { margin-bottom: 10px; }
.estimator .fields { align-items: end; }
.estimator .fields + .button { margin-top: 15px; }
.estimator [role="status"] { margin-top: 12px; }
.estimator [role="status"]:empty { margin: 0; }
@media (min-width: 900px) {
  .site-header { transition: transform .25s ease; }
  .site-header.is-scrolled { transform: translateY(-20px); }
  .site-header.is-scrolled .brand img { transform: translateY(9px) scale(.82); }
}
