/*
  Family-heritage carrier. Highway blue #1871bc, deep blue #12568f, orange #df7720,
  ink #14171c, white #ffffff and cool grey #f1f3f6. Montserrat title-case headings
  and Lato body. Dark masthead, blue hero with a right-hand photo arch.
  Home: owner story, photo strip, alternating features, equipment, region, hiring,
  boxed CTA. Shield wordmark, 1320px container, regular spacing and 4px controls.
*/
@import url("../fonts/montserrat/font.css");
@import url("../fonts/lato/font.css");

:root {
  --primary: #1871bc;
  --primary_dark: #12568f;
  --accent: #df7720;
  --ink: #14171c;
  --surface: #ffffff;
  --surface_alt: #f1f3f6;
  --heading: Montserrat, Arial, sans-serif;
  --body: Lato, Arial, sans-serif;
  --container: 1320px;
  --radius: 4px;
  --section: 88px;
  --edge: clamp(22px, 4.2vw, 64px);
  --line: #d7dce3;
  --muted: #46505e;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 114px; }
body { margin: 0; color: var(--ink); background: var(--surface); font: 400 17px/1.58 var(--body); }
body, input, select, textarea, button { font-family: var(--body); }
h1, h2, h3, .brand { font-family: var(--heading); line-height: 1.09; }
h1, h2, h3, p, ul, ol, dl, figure { margin-top: 0; }
h1 { margin-bottom: 22px; font-size: clamp(40px, 6vw, 76px); font-weight: 850; letter-spacing: -.05em; }
h2 { margin-bottom: 21px; font-size: clamp(31px, 3.35vw, 50px); font-weight: 820; letter-spacing: -.045em; }
h3 { margin-bottom: 15px; font-size: clamp(22px, 2.15vw, 31px); font-weight: 780; letter-spacing: -.03em; }
p { margin-bottom: 19px; }
p:last-child { margin-bottom: 0; }
a { color: var(--primary_dark); text-underline-offset: .2em; }
a, address { overflow-wrap: anywhere; }
img { display: block; max-width: 100%; height: auto; }
address { font-style: normal; }
button { color: inherit; }
button, select { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(var(--container), calc(100% - var(--edge) * 2)); margin-inline: auto; }
.narrow { max-width: 860px; }
.section { padding-block: var(--section); }
.light { background: var(--surface_alt); }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(34px, 6vw, 94px); }
.align-start { align-items: start; }
.lead { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.48; }
.fineprint { font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 20; padding: 10px 18px; transform: translateY(-160%); color: var(--ink); background: var(--surface); }
.skip:focus { transform: none; }

.button {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center;
  background: var(--primary_dark); color: var(--surface); border: 1px solid transparent;
  border-radius: var(--radius); padding: 10px 21px; text-decoration: none; font-size: 15px;
  font-weight: 900; line-height: 1.25; text-align: center; overflow-wrap: normal;
  transition: filter 180ms ease;
}
.button:hover { filter: brightness(.92); }
.accent { background: var(--accent); color: var(--ink); }
.outline { background: transparent; border-color: currentColor; color: var(--surface); }
.outline:hover { background: rgba(255,255,255,.09); filter: none; }
.secondary { background: transparent; border-color: var(--primary_dark); color: var(--primary_dark); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; font-weight: 900; text-decoration-thickness: 1px; }
.text-link .icon { width: .75em; height: .75em; }
.icon { display: inline-block; flex: none; width: 24px; height: 24px; background: currentColor; mask-position: center; mask-repeat: no-repeat; mask-size: contain; }
.icon-arrow-right { mask-image: url("../icons/arrow-right.svg"); }
.icon-boxes-stacked { mask-image: url("../icons/boxes-stacked.svg"); }
.icon-truck { mask-image: url("../icons/truck.svg"); }
.icon-envelope { mask-image: url("../icons/envelope.svg"); }
.icon-location-dot { mask-image: url("../icons/location-dot.svg"); }

.masthead { height: 88px; position: sticky; top: 0; z-index: 10; color: var(--surface); }
.masthead::before {
  content: ""; position: absolute; inset: 0; background: var(--ink);
  transform-origin: top; transition: transform 250ms var(--ease);
}
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 88px; }
.header-inner > * { transition: transform 250ms var(--ease); }
.masthead.scrolled { pointer-events: none; }
.masthead.scrolled::before { transform: scaleY(.75); }
.masthead.scrolled .header-inner > * { transform: translateY(-11px); pointer-events: auto; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--surface); text-decoration: none; flex: 0 0 auto; }
.brand img { width: 42px; }
.brand strong { display: block; font-size: clamp(14px, 1.22vw, 18px); font-weight: 850; letter-spacing: -.025em; }
.brand small { display: block; margin-top: 5px; font-size: 10px; font-weight: 800; letter-spacing: .19em; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.header-actions .button { min-height: 44px; white-space: nowrap; padding-inline: 16px; }
.main-nav > ul, .submenu { list-style: none; padding: 0; margin: 0; }
.main-nav > ul { display: flex; align-items: center; gap: clamp(8px, 1.4vw, 23px); }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a { display: flex; align-items: center; min-height: 52px; color: var(--surface); font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.nav-item > a:hover, .nav-item > a[aria-current] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.submenu-toggle, .menu-toggle { background: transparent; border: 0; color: var(--surface); }
.submenu-toggle { display: inline-grid; place-items: center; width: 22px; min-height: 44px; padding: 0; }
.submenu-toggle span { width: 7px; height: 7px; margin-top: -3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.submenu { display: none; position: absolute; left: -12px; top: 100%; width: 280px; border-top: 3px solid var(--accent); background: var(--ink); border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 10px 22px #14171c33; }
.submenu a { display: block; padding: 10px 15px; color: var(--surface); text-decoration: none; }
.submenu a:hover, .submenu a:focus-visible { background: var(--primary_dark); }
.submenu small { display: block; font-size: 14px; color: #e1e8ef; font-weight: 400; }
.submenu-toggle[aria-expanded="true"] + .submenu,
html:not(.js) .has-submenu:focus-within .submenu,
html:not(.js) .has-submenu:hover .submenu { display: block; }
.menu-toggle, .mobile-bar { display: none; }

.hero { background: var(--primary_dark); color: var(--surface); overflow: clip; }
.hero-inner { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); min-height: 570px; gap: clamp(20px, 4vw, 64px); align-items: end; }
.hero-copy { align-self: center; padding-block: 48px 54px; }
.hero h1 { margin-bottom: 24px; font-size: clamp(58px, 7.3vw, 108px); line-height: .96; letter-spacing: -.061em; }
.hero p { max-width: 405px; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.45; margin-bottom: 31px; }
.hero .button { min-height: 52px; padding-inline: 23px; }
.hero-photo {
  overflow: hidden; width: 100%; height: clamp(360px, 35.8vw, 520px);
  border-radius: 50% 50% 0 0 / 46% 46% 0 0; background: #d4dfeb;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 50%; }
[data-anim="hero-zoom"] img { animation: hero-zoom 21s ease-in-out infinite alternate; }
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }

.photo-frame { position: relative; isolation: isolate; margin: 0 12px 12px 0; }
.photo-frame::before { content: ""; position: absolute; z-index: -1; inset: 14px -14px -14px 14px; background: var(--primary); }
.photo-frame img { width: 100%; aspect-ratio: 1.68; object-fit: cover; }
.owner-story .photo-frame img { object-position: center 62%; }
.owner-story .photo-frame { max-width: 565px; }
.story-copy { max-width: 530px; }

.gallery-section { background: var(--ink); color: var(--surface); padding-block: 61px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
.section-head h2 { margin-bottom: 0; }
.gallery-controls { display: none; gap: 8px; }
.js .gallery-controls { display: flex; }
.gallery-controls button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #ffffff73; border-radius: var(--radius); background: transparent; font-size: 28px; line-height: 1; }
.gallery-controls button:hover:not(:disabled) { background: var(--primary_dark); }
.gallery-controls button:disabled { opacity: .48; cursor: default; }
.photo-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(238px, 25%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-color: #697483 var(--ink); padding-bottom: 12px; }
.photo-tile { position: relative; display: grid; align-content: end; min-height: 185px; scroll-snap-align: start; color: var(--surface); text-decoration: none; overflow: hidden; background: var(--primary_dark); border-radius: var(--radius); }
.photo-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.photo-tile > span:last-child { position: relative; padding: 8px 13px; font-weight: 900; background: var(--ink); transform: translateY(0); transition: transform 500ms var(--ease); }
.photo-tile > .icon { position: absolute; top: 34%; left: calc(50% - 19px); width: 38px; height: 38px; color: var(--surface); }
.photo-tile:hover img { transform: scale(1.04); }
.photo-tile:hover > span:last-child { transform: translateY(-6px); }
.photo-tile:focus-visible { outline-offset: -4px; }
.split-row + .split-row { margin-top: var(--section); }
.split-row p, .coverage-section p { max-width: 48ch; }
.reverse > :first-child { order: 2; }
.home-timeline { padding: clamp(20px, 3vw, 36px); border: 1px solid var(--line); background: var(--surface_alt); border-radius: var(--radius); }
.home-timeline strong { font-family: var(--heading); font-size: 21px; }
.home-timeline p { font-size: 15px; color: var(--muted); }
.timeline-track { display: grid; grid-template-columns: 2fr 1fr; color: var(--surface); margin-block: 17px 12px; min-height: 48px; border-radius: var(--radius); overflow: hidden; }
.timeline-track span { padding: 8px 12px; display: flex; align-items: center; font-weight: 700; background: var(--primary_dark); }
.timeline-track span + span { background: var(--accent); color: var(--ink); }

.fleet-section { color: var(--surface); background: var(--ink); }
.fleet-section .photo-frame img { aspect-ratio: 2.14; }
.fleet-section .photo-frame::before { background: var(--primary); }
.fleet-section a, .dark-card a:not(.button) { color: var(--surface); }
.spec-table { margin-bottom: 17px; width: 100%; border-collapse: collapse; text-align: left; }
.spec-table th, .spec-table td { vertical-align: top; border-bottom: 1px solid var(--line); padding: 11px 12px 11px 0; }
.spec-table th { line-height: 1.4; }
.spec-table thead th { color: var(--primary_dark); }
.fleet-section th, .fleet-section td { border-color: #ffffff40; }
.coverage-section { background: var(--surface_alt); }
.locator { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 4vw, 52px); padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); }
.locator .cmap { width: clamp(66px, 13vw, 141px); height: auto; flex: none; }
.cmap .state { fill: #dceaf5; stroke: var(--primary_dark); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.cmap .pin-dot { fill: var(--accent); stroke: var(--ink); stroke-width: .8; }
.locator strong { font-size: 19px; font-family: var(--heading); display: block; margin-bottom: 5px; }

.hiring-area { position: relative; isolation: isolate; background: var(--ink); color: var(--surface); overflow: hidden; }
.hiring-section { position: relative; z-index: 1; padding-bottom: 42px; pointer-events: none; }
.hiring-section > .wrap > * { pointer-events: auto; width: fit-content; }
.hiring-section > .wrap > .job-card { width: 100%; }
.hiring-image { position: absolute; top: 0; bottom: 0; right: 0; left: 49%; z-index: -1; overflow: hidden; }
.hiring-image img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.hiring-section h2, .hiring-section > .wrap > .fineprint { background: var(--ink); }
.hiring-section > .wrap > .fineprint { padding: 4px 8px 4px 0; margin-top: 10px; }
.dark-card { color: var(--surface); background: var(--ink); border-radius: var(--radius); }
.job-card { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr); overflow: hidden; }
.hiring-section .job-card { background: transparent; }
.job-body { background: var(--ink); padding: clamp(24px, 4vw, 52px); }
.hiring-section .job-body { border: 1px solid #ffffff48; border-radius: var(--radius); }
.job-card h2, .job-card h3 { margin-bottom: 17px; }
.job-card h2 { font-size: clamp(28px, 3vw, 46px); }
.route-label { font-weight: 900; color: var(--surface); margin-bottom: 11px; }
.route-label span { color: var(--accent); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin-bottom: 21px; }
.facts > div { border-top: 1px solid #ffffff48; padding-top: 8px; }
.facts > div:first-child { grid-column: 1 / -1; }
.facts dt { font-size: 14px; }
.facts dd { margin: 3px 0 0; font-weight: 900; line-height: 1.35; }
.facts > div:first-child dd { font-family: var(--heading); font-size: clamp(25px, 3vw, 41px); font-weight: 820; }
.hiring-section .job-photo { anchor-name: --diamond-job-photo; }
.job-photo img { width: 100%; height: 100%; object-fit: cover; }
.cta-section { padding-block: 44px 68px; background: #14171c85; backdrop-filter: grayscale(1); }
.cta-box { width: fit-content; max-width: 590px; padding: clamp(24px, 3vw, 40px); background: var(--primary_dark); border-radius: var(--radius); }
.cta-box h2 { font-size: clamp(27px, 3vw, 43px); margin-bottom: 11px; }
.cta-box p { max-width: 45ch; }

.banner { background: var(--primary_dark); color: var(--surface); overflow: hidden; }
.banner-inner { min-height: 260px; display: grid; align-items: center; }
.banner-inner > div:first-child { padding-block: 34px; }
.banner.has-photo .banner-inner { grid-template-columns: 1.12fr .88fr; gap: 35px; min-height: 301px; }
.banner p { font-size: clamp(17px, 1.6vw, 22px); max-width: 44ch; }
.banner-photo { height: 262px; align-self: end; border-radius: 50% 50% 0 0 / 49% 49% 0 0; overflow: hidden; }
.banner-photo img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { border-bottom: 1px solid var(--line); }
.crumbs ol { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; list-style: none; padding: 5px 0; margin-block: 0; font-size: 15px; }
.crumbs li { display: flex; align-items: center; gap: 10px; min-height: 35px; }
.crumbs li + li::before { content: "/"; color: var(--muted); }
.crumbs a { display: inline-flex; min-height: 44px; align-items: center; }
.crumbs a[aria-current] { text-decoration: none; }
.recruiter { padding: clamp(22px, 3vw, 38px); display: flex; align-items: center; flex-wrap: wrap; gap: 15px 28px; justify-content: space-between; }
.recruiter h2, .authority-card h2, .contact-card h2 { font-size: clamp(23px, 2.25vw, 33px); margin-bottom: 9px; }
.recruiter .icon, .contact-card .icon { color: var(--accent); margin-bottom: 9px; }
.hire-actions { margin-top: 20px; }
.signature { padding: clamp(24px, 4vw, 40px); }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
.signature details { border-color: #ffffff44; }
summary { display: flex; min-height: 49px; justify-content: space-between; align-items: center; gap: 12px; padding-block: 10px; cursor: pointer; font-weight: 900; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--primary_dark); font-size: 23px; line-height: 1; }
details[open] > summary::after { content: "−"; }
.signature summary::after { color: var(--accent); }
details > p { padding-bottom: 15px; }
.check-list { list-style: none; padding-left: 0; }
.check-list li { padding: 9px 0 9px 27px; position: relative; border-bottom: 1px solid var(--line); }
.check-list li::before { position: absolute; left: 0; top: 14px; width: 15px; height: 15px; content: ""; background: var(--primary_dark); mask: url("../icons/clipboard-check.svg") center / contain no-repeat; }
.hiring-steps { padding-left: 22px; }
.hiring-steps li { padding-left: 5px; margin-bottom: 12px; }
.authority-card { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 34px); padding: clamp(22px, 3vw, 38px); }
.authority-card address { margin-block: 6px; }
.authority-seal { width: 88px; height: 88px; flex: none; display: grid; place-items: center; border: 1px solid #ffffff72; border-radius: 50%; }
.owner-letter { border-left: 3px solid var(--primary); padding-left: clamp(16px, 3vw, 37px); font-size: 19px; }
.signature-name { font-family: var(--heading); font-style: italic; font-weight: 750; }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.contact-card { padding: clamp(20px, 2.5vw, 32px); }
.contact-details { margin-top: 60px; }
.prose h2:not(:first-child) { margin-top: 35px; }
.prose h2 { font-size: clamp(25px, 3vw, 38px); }

.step-form { padding: clamp(18px, 3vw, 34px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-bottom: 17px; }
.step-progress p { margin-bottom: 9px; font-weight: 900; }
.step-progress ol { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 20px; padding: 0; margin-bottom: 12px; font-size: 14px; }
.step-progress li { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.step-progress li[aria-current] { font-weight: 900; color: var(--ink); }
.step-progress li span { display: inline-grid; place-items: center; width: 25px; height: 25px; background: var(--surface_alt); border-radius: 50%; font-weight: 900; }
.step-progress li[aria-current] span { background: var(--primary_dark); color: var(--surface); }
.progress-track { height: 4px; background: var(--surface_alt); margin-bottom: 23px; }
.progress-track span { display: block; width: 100%; height: 100%; background: var(--primary); transform: scaleX(var(--progress, 0)); transform-origin: left center; transition: transform 300ms var(--ease); }
.steps { display: grid; gap: 24px; }
.inline-steps .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.form-step > legend { display: block; width: 100%; padding: 0 0 9px; margin-bottom: 10px; border-bottom: 1px solid var(--line); font-family: var(--heading); font-weight: 800; font-size: 19px; }
.form-step.step-forward { animation: step-forward 280ms var(--ease) both; }
.form-step.step-back { animation: step-back 280ms var(--ease) both; }
@keyframes step-forward { from { opacity: 0; transform: translateX(30px); } }
@keyframes step-back { from { opacity: 0; transform: translateX(-30px); } }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; font-size: 15px; font-weight: 700; }
input:not([type="checkbox"]), select, textarea { width: 100%; min-width: 0; min-height: 46px; border: 1px solid #838e9c; border-radius: var(--radius); background: var(--surface); color: var(--ink); font-size: 16px; padding: 8px 10px; }
textarea { min-height: 96px; resize: vertical; }
input[type="checkbox"] { width: 19px; height: 19px; flex: none; margin: 0; accent-color: var(--primary_dark); }
.form-step .field:last-child { margin-bottom: 0; }
.check-group { border: 0; padding: 0; min-width: 0; margin: 12px 0 0; font-size: 15px; }
.check-group legend { padding: 0; font-weight: 700; }
.check-options { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.check-options label, .consent { display: flex; min-height: 44px; gap: 7px; align-items: center; cursor: pointer; }
.consent { align-items: flex-start; font-size: 15px; margin-top: 10px; }
.consent input { margin-top: 3px; }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.step-actions { display: flex; gap: 9px; margin-top: 20px; }
.form-error, .server-error { margin-block: 10px 0; font-weight: 700; color: #9c2c14; }
.load-plan-calc { display: flex; align-items: end; gap: 14px; margin-bottom: 12px; }
.load-plan-calc .field { flex: 0 0 126px; margin: 0; }
.load-plan-result { padding-bottom: 8px; line-height: 1.35; font-weight: 900; }

.footer { background: var(--primary_dark); color: var(--surface); }
.footer a { color: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 22px 40px; padding-block: 54px; }
.footer-grid h2 { font-size: 19px; letter-spacing: -.02em; margin-bottom: 11px; }
.footer-grid ul { padding: 0; margin-bottom: 0; list-style: none; }
.footer-grid ul a { display: inline-flex; align-items: center; min-height: 35px; }
.footer .brand { margin: 0 0 12px; }
.legal-name { font-weight: 900; font-size: 14px; margin-bottom: 5px; }
.footer-bottom { background: var(--ink); font-size: 14px; }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 22px; padding-block: 14px; }
.back-top { display: none; position: fixed; align-items: center; justify-content: center; bottom: 18px; right: 18px; width: 44px; height: 44px; z-index: 8; color: var(--surface); background: var(--primary_dark); border: 1px solid var(--surface); border-radius: var(--radius); text-decoration: none; font-size: 22px; line-height: 1; }
.back-top.is-visible { display: flex; }

.dark-card[data-anim="hover-lift"] { transition: transform 200ms ease; }
.dark-card[data-anim="hover-lift"]:hover { transform: translateY(-3px); box-shadow: 0 9px 25px #14171c30; }
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 440ms var(--ease) forwards; }
html.js [data-anim="reveal"].is-in > :nth-child(2) { animation-delay: 80ms; }
html.js [data-anim="reveal"].is-in > :nth-child(n+3) { animation-delay: 120ms; }
@keyframes reveal { to { opacity: 1; transform: none; } }
@keyframes reveal-failsafe { to { opacity: 1; transform: none; } }
[data-anim="map-draw"].is-in .state { animation: state-fill 600ms var(--ease) both; }
[data-anim="map-draw"].is-in .pin-dot { animation: pin-drop 580ms 330ms var(--ease) both; }
@keyframes state-fill { from { opacity: .2; } }
@keyframes pin-drop { from { opacity: 0; transform: translateY(-30px); } }
[data-anim="icon-pop"].is-in .icon { animation: icon-pop 400ms var(--ease) both; }
[data-anim="icon-pop"].is-in :nth-child(2) > .icon { animation-delay: 60ms; }
[data-anim="icon-pop"].is-in :nth-child(3) > .icon { animation-delay: 120ms; }
@keyframes icon-pop { from { opacity: 0; transform: scale(.8); } }

@media (max-width: 1140px) {
  .header-inner { gap: 12px; }
  .main-nav > ul { gap: 10px; }
  .header-actions .button { padding-inline: 11px; }
  .hero-inner { min-height: 508px; }
}
@media (min-width: 900px) and (max-width: 1060px) {
  .nav-item > a, .header-actions .button { font-size: 13px; }
  .header-inner .brand img { width: 32px; }
}
@media (max-width: 899px) {
  :root { --section: 62px; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .masthead, .header-inner { height: 72px; }
  .masthead.scrolled::before { transform: scaleY(.89); }
  .masthead.scrolled .header-inner > * { transform: translateY(-4px); }
  .header-quote { display: none; }
  .menu-toggle { display: flex; justify-content: center; align-items: center; flex-direction: column; gap: 5px; width: 44px; height: 44px; padding: 0; }
  .menu-toggle span { display: block; width: 21px; height: 2px; background: currentColor; }
  .main-nav { position: absolute; inset: 100% calc(var(--edge) * -1) auto; background: var(--ink); padding: 7px var(--edge) 18px; border-top: 1px solid #ffffff38; max-height: 74vh; overflow-y: auto; }
  .masthead.scrolled .header-inner > .main-nav { transform: translateY(-8px); }
  .js .main-nav { display: none; }
  .js .main-nav.is-open { display: block; animation: menu-open 250ms var(--ease) both; }
  .masthead:has(.main-nav.is-open) .main-nav { animation-name: menu-open; }
  @keyframes menu-open { from { opacity: 0; clip-path: inset(0 0 100%); } to { opacity: 1; clip-path: inset(0); } }
  html:not(.js) .masthead, html:not(.js) .header-inner { height: auto; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 10px; }
  html:not(.js) .header-actions { order: 0; }
  html:not(.js) .menu-toggle, html:not(.js) .submenu-toggle { display: none; }
  html:not(.js) .main-nav { order: 1; position: relative; inset: auto; width: 100%; padding: 0; }
  .main-nav > ul { display: block; }
  .nav-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; border-bottom: 1px solid #ffffff32; }
  .submenu-toggle { width: 44px; }
  .submenu { position: static; grid-column: 1 / -1; width: 100%; border-top: 0; box-shadow: none; margin-bottom: 8px; background: #ffffff0f; }
  .mobile-bar { display: flex; align-items: center; justify-content: center; gap: 10px; position: fixed; inset: auto 0 0; z-index: 9; background: var(--ink); padding: 8px var(--edge) calc(8px + env(safe-area-inset-bottom)); min-height: 64px; }
  .mobile-bar .button { flex: 1 1 0; max-width: 240px; min-height: 44px; }
  .back-top { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .hero-inner { min-height: 420px; }
  .hero h1 { font-size: clamp(43px, 7.4vw, 69px); }
  .hero-photo { height: clamp(250px, 46vw, 410px); }
  .contact-grid { grid-template-columns: 1fr; }
  .inline-steps .steps { grid-template-columns: 1fr; }
}
@media (max-width: 630px) {
  .wrap { width: calc(100% - var(--edge) * 2); }
  :root { --section: 48px; }
  .header-inner { gap: 8px; }
  .header-actions { gap: 3px; }
  .brand { gap: 6px; }
  .brand img { width: 34px; }
  .brand strong { font-size: 13px; }
  .brand small { font-size: 8px; }
  .header-actions .button { font-size: 13px; padding-inline: 10px; }
  .hero-inner, .two-col, .banner.has-photo .banner-inner, .job-card { grid-template-columns: 1fr; }
  .hero-inner { gap: 0; }
  .hero-copy { padding-block: 37px 24px; }
  .hero h1 { font-size: clamp(46px, 12vw, 72px); margin-bottom: 15px; }
  .hero p { margin-bottom: 20px; }
  .hero .button { padding-inline: 13px; min-height: 47px; font-size: 14px; }
  .hero-photo { height: clamp(216px, 65vw, 330px); }
  .hero-photo img { object-position: 47% center; }
  .two-col { gap: 23px; }
  .owner-story > .wrap { gap: 33px; }
  .owner-story .story-copy { order: -1; }
  .photo-strip { grid-auto-columns: minmax(214px, 76%); }
  .gallery-section { padding-block: 38px; }
  .gallery-controls { gap: 4px; }
  .gallery-controls button { width: 42px; }
  .split-row + .split-row { margin-top: 37px; }
  .reverse > :first-child { order: 0; }
  .job-photo:not(:empty) img { aspect-ratio: 1.85; }
  .hiring-section { padding-bottom: 25px; }
  .hiring-section .job-photo { min-height: 184px; }
  .hiring-image { top: auto; bottom: 0; left: 0; height: 490px; }
  .hiring-image img { object-position: 63% center; }
  .cta-section { padding-block: 27px 43px; }
  .banner-inner { min-height: 200px; }
  .banner.has-photo .banner-inner { gap: 0; }
  .banner-photo { height: 165px; }
  .authority-seal { width: 58px; height: 58px; }
  .authority-seal img { width: 32px; }
  .field-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { gap: 28px; padding-block: 42px; }
  .contact-details { margin-top: 38px; }
}
@media (max-width: 360px) {
  :root { --edge: 16px; }
  .brand strong { font-size: 11px; }
  .brand img { width: 30px; }
  .load-plan-calc { flex-wrap: wrap; }
}
@supports (top: anchor(top)) {
  .hiring-image { position-anchor: --diamond-job-photo; top: anchor(top); height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html.js [data-anim="reveal"] > * { opacity: 1; transform: none; }
}
