:root {
  color-scheme: dark;
  --bg: #101619;
  --surface: rgba(25, 34, 37, 0.7);
  --surface-strong: rgba(29, 39, 42, 0.9);
  --text: #f3f5f2;
  --muted: #9da8a5;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #ef444e;
  --font-display: "Manrope", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f6f5;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --text: #1b2527;
  --muted: #52605c;
  --line: rgba(23, 32, 34, 0.16);
  --accent: #c62f3b;
}

:root[data-contrast="high"][data-theme="dark"] {
  --bg: #000000;
  --surface: #111111;
  --surface-strong: #000000;
  --text: #ffffff;
  --muted: #ffffff;
  --line: #ffffff;
  --accent: #ff767d;
}

:root[data-contrast="high"][data-theme="light"] {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --text: #000000;
  --muted: #171717;
  --line: #000000;
  --accent: #a00018;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img { user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { color: var(--bg); background: var(--accent); }

.route-transition-overlay { position: fixed; z-index: 10000; inset: 0; display: grid; place-items: center; background: rgba(16,22,25,.97); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .24s ease, visibility 0s linear .24s; }
body.is-route-transitioning .route-transition-overlay { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.route-transition-logo { width: min(180px, 45vw); aspect-ratio: 3 / 2; object-fit: cover; object-position: center; filter: drop-shadow(0 0 30px rgba(239,68,78,.4)); }
body.is-route-transitioning .route-transition-logo { animation: route-logo-spin .65s ease-in-out both; }

.page-glow { position: fixed; z-index: -1; width: 42rem; height: 42rem; border-radius: 50%; filter: blur(130px); opacity: .07; pointer-events: none; }
.page-glow--one { top: 20%; left: -20rem; background: #81bfff; }
.page-glow--two { top: 70%; right: -25rem; background: var(--accent); }
.topbar { position: fixed; z-index: 20; inset: 14px 5.5% auto; display: flex; align-items: center; justify-content: space-between; min-height: 66px; padding: 0 24px; border: 1px solid rgba(255,255,255,.13); border-radius: 18px; background: rgba(17, 24, 26, .68); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { display: block; width: 76px; height: 36px; flex: 0 0 auto; border: 1px solid rgba(239,68,78,.55); border-radius: 9px; background: rgba(239,68,78,.04); object-fit: cover; object-position: center; }
.brand-mark span { color: var(--accent); }
.brand-name { display: grid; gap: 2px; font: 800 12px var(--font-display); letter-spacing: .12em; }
.brand-name span { color: var(--muted); font: 600 8px var(--font-body); letter-spacing: .29em; }
.main-nav { display: flex; align-items: center; gap: 7px; padding: 5px; border: 1px solid rgba(255,255,255,.07); border-radius: 13px; background: rgba(255,255,255,.035); }
.nav-link { padding: 9px 16px; border-radius: 9px; color: #b7bfbc; font-size: 12px; transition: background .25s, color .25s; }
.nav-link:hover, .nav-link.is-active { color: var(--text); background: rgba(255,255,255,.1); }
.nav-link.is-active { box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.topbar-socials { display: flex; align-items: center; gap: 8px; }
.topbar-socials a { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid transparent; border-radius: 9px; color: #c0c8c4; transition: color .2s, border-color .2s, background .2s; }
.topbar-socials a:hover { color: var(--accent); border-color: var(--line); background: rgba(255,255,255,.05); }
.topbar-socials svg { width: 17px; height: 17px; fill: currentColor; }
.topbar-socials svg rect, .topbar-socials svg circle:not(.icon-fill), .topbar-socials svg path { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.topbar-socials svg .icon-fill { fill: currentColor; }
.appearance-controls { display: flex; align-items: center; gap: 4px; margin-left: 5px; padding-left: 8px; border-left: 1px solid var(--line); }
.appearance-toggle { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid transparent; border-radius: 9px; color: var(--text); background: transparent; font-size: 15px; cursor: pointer; }
.appearance-toggle--contrast { font-size: 11px; font-weight: 700; }
.appearance-toggle:hover { border-color: var(--line); background: rgba(255,255,255,.07); }
.menu-toggle { display: none; }

.page-section { position: relative; }
.hero { display: flex; min-height: min(840px, 100svh); align-items: center; overflow: hidden; padding: 130px 10% 110px; isolation: isolate; }
.hero-image, .hero-shade { position: absolute; z-index: -1; inset: 0; }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: center 54%; animation: hero-zoom 16s ease-out both; }
.hero-shade { background: linear-gradient(90deg, rgba(10,15,17,.92) 0%, rgba(10,15,17,.78) 38%, rgba(10,15,17,.24) 77%, rgba(10,15,17,.24) 100%), linear-gradient(0deg, #101619 0%, transparent 28%, rgba(7,11,12,.14) 100%); }
.hero-content { max-width: 640px; animation: rise-in .8s .1s both; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 13px var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-display); }
h1 { margin-bottom: 20px; font-size: clamp(48px, 7.5vw, 89px); font-weight: 700; letter-spacing: -.075em; line-height: 1.02; }
h1 span, h2 span { color: var(--accent); }
.hero-copy { max-width: 435px; margin-bottom: 30px; color: rgba(238,242,239,.73); font-size: 15px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 25px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 18px; padding: 0 19px; border: 0; border-radius: 11px; font-weight: 700; font-size: 12px; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: #1b1011; background: var(--accent); box-shadow: 0 6px 24px rgba(239,68,78,.13); }
.button--primary:hover { background: #ff747c; box-shadow: 0 8px 28px rgba(239,68,78,.23); }
.button--primary span { font-size: 16px; }
.text-link { color: var(--text); font-size: 12px; font-weight: 600; }
.text-link span { padding-left: 6px; color: var(--accent); }
.glass { border: 1px solid rgba(255,255,255,.11); background: var(--surface); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 18px 50px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.035); }
.hero-caption { position: absolute; right: 9%; bottom: 105px; display: flex; align-items: center; gap: 13px; padding: 15px 20px; border-radius: 14px; background: rgba(18,25,26,.55); }
.caption-icon { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 10px; color: var(--accent); background: rgba(239,68,78,.09); }
.hero-caption strong, .hero-caption small { display: block; }
.hero-caption strong { font-size: 11px; }
.hero-caption small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.hero-index { position: absolute; right: 5.5%; bottom: 38px; color: rgba(255,255,255,.45); font-size: 10px; letter-spacing: .12em; }
.hero-index span { color: var(--accent); }
.scroll-cue { position: absolute; bottom: 37px; left: 10%; display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.5); font-size: 8px; letter-spacing: .2em; }
.scroll-cue span { display: inline-block; width: 26px; height: 1px; background: var(--accent); }

.section-pad { padding: 105px 10%; }
.subpage-hero { position: relative; display: flex; min-height: 440px; align-items: end; padding: 150px 10% 62px; overflow: hidden; isolation: isolate; }
.subpage-hero::after { position: absolute; z-index: -1; inset: 0; content: ""; }
.subpage-hero::after { background: linear-gradient(90deg, rgba(10,15,17,.91), rgba(10,15,17,.47) 75%), linear-gradient(0deg, #101619, transparent 70%); }
.subpage-hero-image { position: absolute; z-index: -1; top: 50%; left: 50%; width: 100%; height: auto; transform: translate(-50%, -50%); }
.subpage-hero-content { max-width: 700px; }
.subpage-hero h1 { margin-bottom: 14px; font-size: clamp(46px, 6vw, 72px); }
.subpage-hero-content > p:last-child { max-width: 440px; margin-bottom: 0; color: rgba(238,242,239,.73); font-size: 13px; line-height: 1.8; }
.home-contact { border-top: 1px solid rgba(255,255,255,.045); }
.home-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.home-link { position: relative; display: grid; min-height: 130px; align-content: space-between; padding: 19px; border-radius: 15px; transition: transform .2s, border-color .2s; }
.home-link:hover { transform: translateY(-3px); border-color: rgba(239,68,78,.3); }
.home-link > span { color: var(--muted); font-size: 8px; letter-spacing: .12em; }
.home-link strong { font: 600 18px var(--font-display); letter-spacing: -.04em; }
.home-link b { position: absolute; right: 19px; bottom: 17px; color: var(--accent); font-size: 16px; }
.stories-section { border-top: 1px solid rgba(255,255,255,.045); }
.stories-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.story-card { overflow: hidden; border-radius: 16px; transition: transform .25s, border-color .25s; }
.story-card:hover { transform: translateY(-4px); border-color: rgba(239,68,78,.3); }
.story-photo { height: 210px; overflow: hidden; background-color: #293537; }
.story-upload-form { max-width: 760px; margin: 0 0 30px; padding: 23px; border-radius: 16px; }
.story-upload-form .form-heading { margin-bottom: 20px; }
.story-upload-form .form-heading .eyebrow { margin-bottom: 7px; font-size: 8px; }
.story-upload-form .form-heading h3 { margin: 0; font-size: 21px; letter-spacing: -.05em; }
.story-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 13px; }
.story-upload-form label:not(.story-file) { display: block; margin-bottom: 7px; color: #c4cdc8; font-size: 10px; }
.story-upload-form input:not([type="file"]) { width: 100%; height: 42px; margin-bottom: 15px; padding: 0 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; outline: none; color: var(--text); background: rgba(255,255,255,.035); font: 11px var(--font-body); transition: border-color .2s; }
.story-upload-form input::placeholder { color: #75817c; }
.story-upload-form input:focus { border-color: rgba(239,68,78,.48); }
.story-upload-form input[type="date"] { color-scheme: dark; }
.story-file { display: flex; min-height: 60px; align-items: center; gap: 11px; margin: 1px 0 17px; padding: 10px 12px; border: 1px dashed rgba(255,255,255,.18); border-radius: 9px; cursor: pointer; }
.story-file:hover { border-color: rgba(239,68,78,.42); }
.story-file input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.story-file strong, .story-file small { display: block; }
.story-file strong { font-size: 10px; }
.story-file small { margin-top: 4px; color: var(--muted); font-size: 8px; }
.story-file .file-name { max-width: 150px; }
.story-caption { padding: 17px; }
.story-quote { min-height: 34px; margin-bottom: 15px; color: #e8ede9; font: 500 13px/1.5 var(--font-display); }
.story-details { display: grid; gap: 9px; margin: 0; padding-top: 13px; border-top: 1px solid var(--line); }
.story-details div { display: flex; justify-content: space-between; gap: 10px; font-size: 9px; }
.story-details dt { color: var(--muted); }
.story-details dd { margin: 0; color: var(--accent); text-align: right; }
.section-heading { margin-bottom: 38px; }
.section-heading .eyebrow, .career-copy .eyebrow { margin-bottom: 13px; }
h2 { margin-bottom: 0; font-size: clamp(31px, 4vw, 46px); font-weight: 600; letter-spacing: -.06em; line-height: 1.2; }
.section-heading--row { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section-intro { max-width: 340px; margin: 13px 0 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.section-heading--row .section-intro { margin: 0 0 4px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat-card { min-height: 175px; padding: 22px; border-radius: 17px; transition: transform .25s, border-color .25s; }
.stat-card:hover, .truck-card:hover, .branch-card:hover { transform: translateY(-4px); border-color: rgba(239,68,78,.3); }
.stat-icon { display: grid; width: 33px; height: 33px; place-items: center; margin-bottom: 20px; border-radius: 10px; color: var(--accent); background: rgba(239,68,78,.09); font-size: 15px; }
.stat-card strong { display: block; font-family: var(--font-display); font-size: clamp(27px, 3vw, 38px); letter-spacing: -.06em; }
.stat-card strong span { color: var(--accent); font-size: .56em; letter-spacing: -.01em; }
.stat-label { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; }
.demo-note { margin: 17px 0 0; color: #71807a; font-size: 10px; }
.fleet-section { background: linear-gradient(180deg, rgba(255,255,255,.018), transparent 70%); }
.filter-row { display: flex; gap: 8px; margin: -13px 0 22px; }
.filter-button { display: inline-flex; align-items: center; gap: 8px; min-height: 35px; padding: 0 13px; border: 1px solid var(--line); border-radius: 9px; color: #b5bfbb; background: transparent; font-size: 11px; cursor: pointer; transition: .2s; }
.filter-button:hover, .filter-button.is-selected { color: var(--text); border-color: rgba(239,68,78,.38); background: rgba(239,68,78,.08); }
.filter-button.is-selected { color: var(--accent); }
.filter-button span { color: #83908a; font-size: 9px; }
.fleet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.truck-card { display: block; overflow: hidden; border-radius: 16px; color: inherit; transition: transform .25s, border-color .25s; }
.truck-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.truck-card[hidden] { display: none; }
.truck-photo { height: 190px; overflow: hidden; background-color: #293537; }
.truck-photo img, .story-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.truck-card-content { padding: 18px; }
.truck-brand { display: flex; align-items: center; gap: 9px; color: var(--accent); font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.model-year { padding: 4px 7px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font-size: 8px; letter-spacing: .04em; }
.truck-card h3 { margin: 12px 0 4px; font-size: 20px; letter-spacing: -.04em; }
.truck-card p { margin-bottom: 15px; color: var(--muted); font-size: 11px; }
.truck-specs { display: flex; gap: 7px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.truck-specs span { padding: 5px 8px; border-radius: 5px; color: #c7d0cb; background: rgba(255,255,255,.055); font-size: 9px; }
.truck-identity { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.truck-registration { display: block; width: 124px; height: 31px; }
.truck-driver { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; color: #c7d0cb; background: rgba(255,255,255,.055); font-size: 9px; white-space: nowrap; }
.truck-driver svg { width: 15px; height: 15px; flex: 0 0 auto; }
.trailer-line { display: flex; justify-content: space-between; gap: 8px; padding-top: 13px; font-size: 9px; }
.trailer-line span { color: var(--muted); }
.trailer-line strong { font-weight: 600; }

.vehicle-section { min-height: calc(100vh - 92px); padding-top: 125px; }
.vehicle-back { display: inline-flex; margin-bottom: 27px; color: var(--muted); font-size: 11px; transition: color .2s; }
.vehicle-back:hover { color: var(--accent); }
.vehicle-heading { margin-bottom: 26px; }
.vehicle-heading .eyebrow { margin-bottom: 8px; }
.vehicle-title { margin: 0 0 8px; font-size: clamp(36px, 5vw, 55px); }
.vehicle-lead { margin: 0; color: var(--muted); font-size: 12px; }
.vehicle-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr); align-items: start; gap: 18px; }
.vehicle-gallery { min-width: 0; }
.vehicle-main-photo { height: clamp(280px, 38vw, 450px); overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: #293537; }
.vehicle-main-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vehicle-thumbnails { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.vehicle-thumb { height: 94px; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #293537; cursor: pointer; opacity: .7; transition: opacity .2s, border-color .2s; }
.vehicle-thumb:hover, .vehicle-thumb.is-selected { border-color: var(--accent); opacity: 1; }
.vehicle-thumb:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.vehicle-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vehicle-details { padding: 25px; border-radius: 16px; }
.vehicle-details-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.vehicle-details-heading .eyebrow { margin: 0; }
.vehicle-status { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: 8px; letter-spacing: .1em; }
.vehicle-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 9px var(--accent); }
.vehicle-data { display: grid; margin: 0; }
.vehicle-data > div { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.055); font-size: 11px; }
.vehicle-data dt { color: var(--muted); }
.vehicle-data dd { margin: 0; color: var(--text); font-weight: 600; text-align: right; }
.vehicle-demo-note { margin: 13px 0 0; color: #78857f; font-size: 9px; line-height: 1.6; }
@media (min-width: 901px) {
  .vehicle-details-heading .eyebrow { font-size: 11px; }
  .vehicle-status { font-size: 9px; }
  .vehicle-data > div { padding: 14px 0; font-size: 14px; }
  .vehicle-data dd { font-size: 14px; }
  .vehicle-demo-note { font-size: 10px; }
}

.branches-section { border-top: 1px solid rgba(255,255,255,.045); }
.branch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 37px; }
.branch-card { position: relative; min-height: 235px; padding: 22px; overflow: hidden; border-radius: 16px; transition: transform .25s, border-color .25s; }
.branch-card::after { position: absolute; right: -35px; bottom: -78px; width: 165px; height: 165px; border: 1px solid rgba(239,68,78,.08); border-radius: 50%; box-shadow: 0 0 0 20px rgba(239,68,78,.018), 0 0 0 40px rgba(239,68,78,.012); content: ""; }
.branch-number { color: #83908a; font-size: 8px; letter-spacing: .12em; }
.branch-pin { display: grid; width: 34px; height: 34px; place-items: center; margin-top: 25px; border-radius: 10px; color: var(--accent); background: rgba(239,68,78,.08); font-size: 18px; }
.branch-card h3 { margin: 14px 0 5px; font-size: 23px; letter-spacing: -.05em; }
.branch-card p { color: var(--muted); font-size: 10px; line-height: 1.7; }
.branch-map { position: relative; z-index: 1; height: 145px; margin: 12px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #293537; }
.branch-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.branch-card > a { display: inline-flex; align-items: center; gap: 8px; margin-top: 2px; color: var(--accent); font-size: 10px; font-weight: 600; }
.branch-card > a span { font-size: 13px; }

.career-section { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 9%; border-top: 1px solid rgba(255,255,255,.045); background: radial-gradient(ellipse at 18% 55%, rgba(239,68,78,.045), transparent 37%); }
.career-copy h2 { margin-bottom: 21px; font-size: clamp(34px, 4.3vw, 52px); }
.career-copy > p:not(.eyebrow) { max-width: 410px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.career-perks { display: grid; gap: 12px; margin-top: 27px; color: #c5cfca; font-size: 11px; }
.career-perks b { margin-right: 9px; color: var(--accent); }
.career-form { padding: 27px; border-radius: 18px; background: rgba(25,34,37,.79); }
.form-heading { display: flex; align-items: start; justify-content: space-between; margin-bottom: 21px; }
.form-heading .eyebrow { margin-bottom: 7px; font-size: 8px; }
.form-heading h3 { margin: 0; font-size: 22px; letter-spacing: -.05em; }
.form-step { color: #7e8a85; font-size: 9px; }
.career-form label:not(.file-upload) { display: block; margin-bottom: 7px; color: #c4cdc8; font-size: 10px; }
.career-form input:not([type="file"]), .career-form select { width: 100%; height: 42px; margin-bottom: 15px; padding: 0 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; outline: none; color: var(--text); background: rgba(255,255,255,.035); font-size: 11px; transition: border-color .2s; }
.career-form input::placeholder { color: #75817c; }
.career-form input:focus, .career-form select:focus { border-color: rgba(239,68,78,.48); }
.career-form select { color: #a4afaa; }
.career-form select option { color: var(--text); background: #1d272a; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.file-upload { display: flex; min-height: 60px; align-items: center; gap: 11px; margin: 1px 0 17px; padding: 10px 12px; border: 1px dashed rgba(255,255,255,.18); border-radius: 9px; cursor: pointer; }
.file-upload:hover { border-color: rgba(239,68,78,.42); }
.file-upload input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.upload-icon { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border-radius: 8px; color: var(--accent); background: rgba(239,68,78,.09); }
.file-upload strong, .file-upload small { display: block; }
.file-upload strong { font-size: 10px; }
.file-upload small { margin-top: 4px; color: var(--muted); font-size: 8px; }
.file-name { max-width: 120px; margin-left: auto; overflow: hidden; color: #87938d; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.submit-button { width: 100%; min-height: 44px; }
.form-message { margin: 10px 0 0; color: var(--accent); font-size: 10px; line-height: 1.5; }
.form-demo-note { margin: 9px 0 0; color: #7e8a85; font-size: 8px; line-height: 1.5; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 92px; padding: 20px 10%; border-top: 1px solid rgba(255,255,255,.08); }
.footer > p { margin: 0; color: var(--muted); font-size: 10px; }
.footer-copy { color: #71807a; font-size: 9px; }

@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-zoom { from { transform: scale(1.045); } to { transform: scale(1); } }
@keyframes route-logo-spin { from { opacity: 0; transform: rotate(0deg) scale(.82); } 15% { opacity: 1; } to { opacity: 1; transform: rotate(360deg) scale(1); } }
@media (prefers-reduced-motion: no-preference) {
  .page-section, .subpage-hero, main > .section-pad { animation: section-in .65s ease both; }
  .scroll-reveal { animation: none; opacity: 0; translate: 0 28px; transition: opacity .55s ease, translate .55s cubic-bezier(.2,.7,.2,1); }
  main > .scroll-reveal { animation: none; }
  .scroll-reveal[data-scroll-direction="up"]:not(.is-visible) { translate: 0 -28px; }
  .scroll-reveal.is-visible { opacity: 1; translate: 0 0; }
  @keyframes section-in { from { opacity: .35; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) {
  .route-transition-logo { animation: none; }
  .route-transition-overlay { transition-duration: .01ms; }
}
@media (max-width: 900px) {
  .topbar { inset-inline: 3%; }
  .hero { padding-inline: 7%; }
  .section-pad { padding: 82px 7%; }
  .subpage-hero { padding-inline: 7%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .fleet-grid { grid-template-columns: repeat(2, 1fr); }
  .stories-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .career-section { gap: 5%; }
  .vehicle-layout { grid-template-columns: minmax(0, .95fr) minmax(300px, 1.05fr); gap: 12px; }
  .vehicle-details { padding: 19px; }
  .footer { padding-inline: 7%; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 72px; }
  .topbar { inset: 9px 4% auto; min-height: 56px; padding: 0 13px; border-radius: 15px; }
  .brand-mark { width: 60px; height: 32px; }
  .brand-name { font-size: 10px; }
  .brand-name span { font-size: 7px; }
  .menu-toggle { display: grid; width: 38px; height: 38px; place-content: center; gap: 5px; margin-left: auto; border: 1px solid var(--line); border-radius: 10px; background: transparent; }
  .menu-toggle span { display: block; width: 15px; height: 1px; background: var(--text); }
  .main-nav { position: absolute; top: calc(100% + 8px); right: 0; left: 0; display: none; align-items: stretch; padding: 8px; border-radius: 13px; background: rgba(17,24,26,.95); backdrop-filter: blur(20px); }
  .main-nav.is-open { display: grid; }
  .nav-link { padding: 12px; }
  .topbar-socials { gap: 1px; margin-left: 8px; }
  .topbar-socials a { width: 28px; height: 32px; }
  .topbar-socials svg { width: 15px; }
  .hero { min-height: 760px; min-height: 100svh; padding: 128px 7% 100px; }
  .hero-image { background-position: 58% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(10,15,17,.86), rgba(10,15,17,.34)), linear-gradient(0deg, #101619 0%, transparent 38%, rgba(7,11,12,.18)); }
  h1 { font-size: clamp(48px, 13vw, 72px); }
  .hero-copy { max-width: 360px; font-size: 13px; }
  .hero-caption { right: 7%; bottom: 77px; }
  .hero-index { right: 6%; bottom: 22px; }
  .scroll-cue { bottom: 24px; left: 7%; }
  .section-pad { padding: 69px 6%; }
  .subpage-hero { min-height: 390px; padding: 125px 6% 48px; }
  .subpage-hero h1 { font-size: clamp(43px, 12vw, 62px); }
  .home-links { grid-template-columns: 1fr; gap: 10px; }
  .home-link { min-height: 105px; }
  .section-heading--row { display: block; }
  .section-heading--row .section-intro { margin-top: 14px; }
  .stats-grid { gap: 10px; }
  .stat-card { min-height: 150px; padding: 16px; }
  .stat-icon { margin-bottom: 15px; }
  .stat-card strong { font-size: 30px; }
  .fleet-grid { gap: 11px; }
  .stories-grid { grid-template-columns: 1fr; }
  .story-upload-form { padding: 18px 14px; }
  .story-form-grid { grid-template-columns: 1fr; }
  .truck-photo { height: 145px; }
  .truck-card-content { padding: 13px; }
  .truck-card h3 { font-size: 17px; }
  .truck-card p { min-height: 30px; font-size: 10px; }
  .truck-specs { flex-wrap: wrap; gap: 5px; }
  .truck-specs span { padding: 5px 6px; font-size: 8px; }
  .trailer-line { flex-direction: column; gap: 5px; }
  .branch-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 27px; }
  .branch-card { min-height: 215px; }
  .career-section { grid-template-columns: 1fr; gap: 35px; }
  .vehicle-section { padding-top: 105px; }
  .vehicle-layout { grid-template-columns: 1fr; gap: 15px; }
  .vehicle-details { padding: 21px; }
  .vehicle-main-photo { height: 57vw; min-height: 230px; max-height: 380px; }
  .vehicle-thumb { height: 75px; }
  .career-form { padding: 21px 17px; }
  .footer { flex-wrap: wrap; padding: 20px 6%; }
  .footer > p { display: none; }
}
@media (max-width: 390px) {
  .topbar { padding-inline: 9px; }
  .topbar-socials { margin-left: 5px; }
  .topbar-socials a { width: 25px; }
  .brand { gap: 7px; }
  .brand-name { font-size: 9px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

:root[data-theme="light"] body { background: var(--bg); color: var(--text); }
:root[data-theme="light"] .topbar { border-color: rgba(23,32,34,.18); background: rgba(255,255,255,.92); }
:root[data-theme="light"] .main-nav { border-color: var(--line); background: rgba(23,32,34,.045); }
:root[data-theme="light"] .nav-link { color: #43514d; }
:root[data-theme="light"] .nav-link:hover, :root[data-theme="light"] .nav-link.is-active { color: var(--text); background: rgba(23,32,34,.08); }
:root[data-theme="light"] .topbar-socials a { color: #43514d; }
:root[data-theme="light"] .menu-toggle { background: rgba(255,255,255,.75); }
:root[data-theme="light"] .brand-mark { background: rgba(198,47,59,.06); }
:root[data-theme="light"] .hero h1, :root[data-theme="light"] .subpage-hero h1 { color: #f3f5f2; }
:root[data-theme="light"] .hero-copy, :root[data-theme="light"] .subpage-hero-content > p:last-child { color: rgba(255,255,255,.86); }
:root[data-theme="light"] .hero-caption { color: #f3f5f2; background: rgba(18,25,26,.76); }
:root[data-theme="light"] .hero-index, :root[data-theme="light"] .scroll-cue { color: rgba(255,255,255,.8); }
:root[data-theme="light"] .glass { border-color: rgba(23,32,34,.13); box-shadow: 0 12px 35px rgba(20,30,30,.08); }
:root[data-theme="light"] .home-contact, :root[data-theme="light"] .stories-section, :root[data-theme="light"] .career-section, :root[data-theme="light"] .footer { border-color: rgba(23,32,34,.15); }
:root[data-theme="light"] .story-upload-form label:not(.story-file), :root[data-theme="light"] .career-form label:not(.file-upload) { color: var(--muted); }
:root[data-theme="light"] .story-upload-form input:not([type="file"]), :root[data-theme="light"] .career-form input:not([type="file"]), :root[data-theme="light"] .career-form select { border-color: var(--line); color: var(--text); background: rgba(23,32,34,.035); }
:root[data-theme="light"] .story-upload-form input::placeholder, :root[data-theme="light"] .career-form input::placeholder { color: #64716d; }
:root[data-theme="light"] .story-upload-form input[type="date"] { color-scheme: light; }
:root[data-theme="light"] .story-file, :root[data-theme="light"] .file-upload { border-color: rgba(23,32,34,.28); }
:root[data-theme="light"] .story-quote, :root[data-theme="light"] .truck-specs span, :root[data-theme="light"] .truck-driver, :root[data-theme="light"] .career-perks { color: var(--text); }
:root[data-theme="light"] .truck-specs span, :root[data-theme="light"] .truck-driver { background: rgba(23,32,34,.055); }
:root[data-theme="light"] .career-form { background: rgba(255,255,255,.9); }
:root[data-theme="light"] .career-form select option { color: var(--text); background: var(--surface-strong); }
:root[data-theme="light"] .vehicle-main-photo, :root[data-theme="light"] .vehicle-thumb, :root[data-theme="light"] .branch-map { background-color: #e2e8e5; }
:root[data-theme="light"] .main-nav.is-open { background: rgba(255,255,255,.97); }
:root[data-theme="light"] .appearance-toggle:hover { background: rgba(23,32,34,.06); }

:root[data-contrast="high"] .topbar,
:root[data-contrast="high"] .main-nav,
:root[data-contrast="high"] .glass,
:root[data-contrast="high"] .stat-card,
:root[data-contrast="high"] .branch-card,
:root[data-contrast="high"] .truck-card,
:root[data-contrast="high"] .career-form,
:root[data-contrast="high"] .filter-button,
:root[data-contrast="high"] .appearance-toggle { border-color: var(--line); }
:root[data-contrast="high"] .glass { box-shadow: none; }
:root[data-contrast="high"] .nav-link,
:root[data-contrast="high"] .topbar-socials a,
:root[data-contrast="high"] .filter-button,
:root[data-contrast="high"] .story-upload-form label:not(.story-file),
:root[data-contrast="high"] .career-form label:not(.file-upload),
:root[data-contrast="high"] .career-perks,
:root[data-contrast="high"] .truck-specs span,
:root[data-contrast="high"] .truck-driver,
:root[data-contrast="high"] .demo-note,
:root[data-contrast="high"] .footer-copy,
:root[data-contrast="high"] .vehicle-demo-note,
:root[data-contrast="high"] .form-demo-note,
:root[data-contrast="high"] .form-step,
:root[data-contrast="high"] .file-name,
:root[data-contrast="high"] .story-file small { color: var(--text); }
:root[data-contrast="high"] :focus-visible { outline-width: 3px; }
:root[data-contrast="high"] .hero h1, :root[data-contrast="high"] .subpage-hero h1 { text-shadow: 0 1px 3px #000; }

.not-found { display: grid; min-height: 100svh; place-items: center; padding-top: 145px; text-align: center; }
.not-found-code { margin-bottom: 12px; color: var(--accent); font: 800 clamp(88px, 18vw, 170px)/.9 var(--font-display); letter-spacing: -.09em; }
.not-found .eyebrow { justify-content: center; }
.not-found h1 { font-size: clamp(42px, 7vw, 68px); }
.not-found-copy { margin: 0 0 25px; color: var(--muted); font-size: 14px; }
