@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/barlow-condensed-800.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/assets/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #091728;
  --navy-deep: #071322;
  --ink: #111f31;
  --muted: #4d5b6a;
  --paper: #f3f6f9;
  --line: #d9e0e7;
  --steel: #516d87;
  --steel-light: #a4bdd5;
  --white: #fff;
  --display: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 5.75rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 var(--body);
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2 { text-wrap: balance; }

:focus-visible {
  outline: 3px solid #1670cf;
  outline-offset: 4px;
}

.site-header :focus-visible,
.hero :focus-visible,
.driver-support :focus-visible,
.company-banner :focus-visible,
.site-footer :focus-visible,
.apply-intro :focus-visible { outline-color: #aacefc; }

.skip-link {
  position: fixed;
  z-index: 5;
  inset: 10px auto auto 10px;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--ink);
  padding: .7rem 1rem;
  font-weight: 700;
}

.skip-link:focus { transform: translateY(0); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.container { width: min(100% - 5rem, 77rem); margin-inline: auto; }
.section-pad { padding-block: clamp(3.75rem, 7vw, 7rem); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 4;
  background: var(--navy);
  color: var(--white);
  border-bottom: 1px solid #ffffff20;
}

.header-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  width: fit-content;
  text-decoration: none;
}

.brand-mark { flex: none; width: 43px; height: 43px; }
.wordmark { display: grid; gap: .15rem; text-transform: uppercase; line-height: 1; }
.wordmark strong {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.65rem;
  letter-spacing: .055em;
  transform: skewX(-6deg);
  transform-origin: bottom left;
}
.wordmark > span { font-size: .65rem; font-weight: 700; letter-spacing: .33em; }

.site-nav { display: flex; gap: clamp(1rem, 2.2vw, 2.6rem); }
.site-nav a { color: #dce3eb; font-size: .9rem; font-weight: 600; text-decoration: none; }
.site-nav a:hover, .footer-bottom a:hover { color: var(--white); text-decoration: underline; }
.header-apply { justify-self: end; }
.mobile-menu { display: none; }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: .7rem 1.2rem;
  font-size: .95rem;
  line-height: 1.25;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.button-primary { background: #11263c; color: var(--white); }
.button-primary:hover { background: #23435f; }
.hero .button-primary, .footer-contact .button-primary { background: #f7f9fc; color: var(--navy); }
.hero .button-primary:hover, .footer-contact .button-primary:hover { background: #dbe6f1; }
.button-outline { border-color: #a4bdd570; color: var(--white); background: transparent; }
.button-outline:hover { border-color: var(--white); background: #ffffff12; }
.header-apply { min-height: 42px; padding-inline: .95rem; font-size: .875rem; }
.text-link {
  color: inherit;
  font-size: .925rem;
  font-weight: 700;
  text-underline-offset: .3em;
  text-decoration-color: #516d8790;
}
.text-link:hover { text-decoration-color: currentColor; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--white);
}

.hero-media, .hero-media::after { position: absolute; inset: 0; }
.hero-media { z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 27%; }
.hero-media::after {
  content: "";
  background:
    linear-gradient(90deg, #071322fa 0%, #071322e0 23%, #07132291 44%, #0713221a 65%, #07132200 82%),
    linear-gradient(0deg, #07132275, #07132200 27%);
}

.hero-inner {
  min-height: clamp(37rem, 46vw, 46rem);
  display: flex;
  align-items: center;
  padding-block: 4rem 6rem;
}
.hero-copy { position: relative; width: min(100%, 42rem); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .62rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .17em;
  line-height: 1.5;
  text-transform: uppercase;
}
.eyebrow > span { width: 1.05rem; height: 2px; background: var(--steel); flex: none; }
.hero .eyebrow, .driver-support .eyebrow, .company-banner .eyebrow, .footer-contact .eyebrow, .apply-intro .eyebrow { color: #e0e7ef; }
.hero .eyebrow > span, .driver-support .eyebrow > span, .company-banner .eyebrow > span,
.footer-contact .eyebrow > span, .apply-intro .eyebrow > span { background: var(--steel-light); }
.hero h1, .display-heading, .apply-intro h1 {
  font-family: var(--display);
  font-weight: 800;
  line-height: .91;
  text-transform: uppercase;
  letter-spacing: -.012em;
}
.hero h1 { margin: 1.05rem 0 1.25rem; font-size: clamp(5rem, 7.8vw, 7.7rem); }
.hero-description { max-width: 25rem; color: #edf1f5; font-size: clamp(1.05rem, 1.5vw, 1.24rem); }
.hero-actions, .career-actions, .contact-actions { display: flex; align-items: center; gap: .85rem 1.15rem; flex-wrap: wrap; }
.hero-actions { margin-top: 1.8rem; }

.display-heading { margin-top: .65rem; font-size: clamp(3.1rem, 5.8vw, 5.65rem); }
.opening-summary { position: relative; z-index: 1; margin-top: -3.25rem; }
.job-facts {
  display: grid;
  grid-template-columns: 1fr 1.12fr .85fr 1.13fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 14px 30px #10293f14;
}
.job-facts > div { min-width: 0; padding: clamp(.9rem, 2.1vw, 1.55rem) clamp(1rem, 2.1vw, 2.1rem); }
.job-facts > div + div { border-left: 1px solid var(--line); }
.job-facts dt {
  color: var(--muted);
  font-size: .79rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.job-facts dd { display: grid; gap: .18rem; margin-top: .35rem; }
.job-facts dd strong {
  font-family: var(--display);
  font-size: clamp(2.1rem, 3.5vw, 3.45rem);
  font-weight: 800;
  line-height: 1.04;
  text-transform: uppercase;
}
.job-facts dd span { color: var(--muted); font-size: .95rem; }

.career-grid, .dispatch-grid, .questions-grid {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 6vw, 6.25rem);
}
.career-grid { grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); }
.career-copy > p:not(.eyebrow), .dispatch-copy > p:not(.eyebrow), .company-copy > p:not(.eyebrow), .questions-intro > p:not(.eyebrow) {
  max-width: 31rem;
  margin-top: 1.2rem;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
}
.career-copy > p:not(.eyebrow), .questions-intro > p:not(.eyebrow) { color: var(--muted); }
.career-actions { margin-top: 1.5rem; }
.career-photo, .dispatch-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  background: #52657a;
}

.driver-support {
  color: var(--white);
  background: linear-gradient(120deg, #0b1d31, #132b41);
}
.dispatch-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
.dispatch-photo { border: 1px solid #a4bdd550; object-position: 52% center; }
.dispatch-copy > p:not(.eyebrow), .dispatch-services dd { color: #dce7f3; }
.dispatch-services { margin-top: 1.45rem; }
.dispatch-services > div { padding-block: .85rem; border-top: 1px solid #a4bdd546; }
.dispatch-services dt { font-weight: 700; }
.dispatch-services dd { margin-top: .18rem; font-size: .95rem; }

.company { background: #e9eff4; }
.company-banner {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(23rem, 35vw, 29rem);
  overflow: hidden;
  padding: clamp(1.5rem, 5.2vw, 5.3rem);
  border-radius: 12px;
  background: var(--navy-deep);
  color: var(--white);
}
.company-photo, .company-banner::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.company-photo { z-index: -2; object-fit: cover; object-position: 54% 55%; }
.company-banner::after {
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, #071322fa, #071322d9 29%, #07132232 67%, #07132200);
}
.company-copy > p:not(.eyebrow) { color: #edf1f5; max-width: 25rem; }

.driver-questions { background: var(--white); }
.questions-grid { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); align-items: start; }
.questions-intro .text-link { font: inherit; font-weight: 700; color: var(--ink); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative;
  display: block;
  list-style: none;
  padding: 1.05rem 2.8rem 1.05rem 0;
  font-weight: 700;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: #25557e; }
.faq-list summary::before, .faq-list summary::after {
  position: absolute;
  top: 50%;
  right: .45rem;
  width: .85rem;
  height: 2px;
  background: currentColor;
  content: "";
}
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { content: none; }
.faq-list details p { max-width: 40rem; padding: 0 2rem 1.05rem 0; color: var(--muted); }
.faq-list details p a { color: var(--ink); text-underline-offset: .2em; }

.site-footer { background: var(--navy); color: var(--white); }
.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: start;
  gap: 1.35rem 2.4rem;
  padding-block: 2rem 2.3rem;
}
.footer-nav nav, .footer-recruiting { display: grid; gap: .32rem; }
.footer-nav nav a, .footer-recruiting { color: #d4dfeb; font-size: .89rem; }
.footer-nav nav a { width: fit-content; text-decoration: none; }
.footer-nav nav a:hover { color: var(--white); text-decoration: underline; }
.footer-recruiting span { font-weight: 700; color: var(--white); }
.footer-recruiting a { width: fit-content; text-underline-offset: .2em; }
.footer-contact {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.6rem 3rem;
  padding-block: clamp(2.75rem, 5vw, 4rem);
  border-bottom: 1px solid #ffffff29;
}
.footer-contact h2 { font-size: clamp(2.7rem, 5vw, 4.65rem); margin-top: .5rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .7rem 1.5rem;
  min-height: 82px;
  padding-block: 1.25rem;
  color: #c2cddb;
  font-size: .86rem;
}
.footer-bottom a { text-underline-offset: .25em; }
.footer-bottom .footer-brand { color: var(--white); font-size: .93rem; font-weight: 700; text-decoration: none; }

.application-page { min-height: 100vh; display: flex; flex-direction: column; }
.form-main { flex: 1; padding-block: clamp(2rem, 5vw, 4.8rem); }
.apply-layout { display: grid; grid-template-columns: minmax(0, .76fr) minmax(0, 1.16fr); gap: clamp(1.3rem, 3vw, 2.5rem); width: min(100% - 5rem, 68rem); align-items: start; }
.apply-intro {
  min-width: 0;
  min-height: 540px;
  padding: clamp(1.4rem, 3.9vw, 3.05rem);
  color: var(--white);
  border-radius: 10px;
  background: linear-gradient(167deg, #091728 29%, #091728e6 66%, #0917288c), url("/assets/california-highway.webp") 54% 92% / cover;
}
.back-link { display: inline-block; color: #dce3eb; font-size: .9rem; font-weight: 700; text-underline-offset: .22em; margin-bottom: 2.3rem; }
.back-link:hover { color: var(--white); }
.apply-intro h1 { margin-top: .55rem; font-size: clamp(3.35rem, 5.25vw, 4.5rem); }
.apply-summary { color: #edf1f5; margin-top: 1rem; }
.apply-facts { margin-top: 1.65rem; }
.apply-facts > div { display: grid; grid-template-columns: 5rem 1fr; gap: .2rem .7rem; padding-block: .7rem; border-top: 1px solid #ffffff4a; }
.apply-facts dt { font-size: .86rem; color: #e1e8ef; }
.apply-facts dd { font-size: .93rem; font-weight: 700; }
.apply-contact { border-top: 1px solid #ffffff4a; padding-top: .85rem; color: #edf1f5; font-size: .9rem; }
.apply-contact a { color: var(--white); font-weight: 700; text-underline-offset: .2em; }

.form-card {
  min-width: 0;
  padding: clamp(1.45rem, 4vw, 2.8rem);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 14px 35px #13263c0c;
}
.form-card h2 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 4.1vw, 3.9rem);
  font-weight: 800;
  line-height: .95;
  text-transform: uppercase;
}
.form-intro { margin-top: .6rem; color: var(--muted); font-size: .96rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .95rem 1rem; margin-top: 1.55rem; }
.field { display: grid; gap: .3rem; align-content: start; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field > span, .field legend { font-size: .92rem; font-weight: 700; }
.field legend { padding: 0; margin-bottom: .3rem; }
.optional { color: var(--muted); font-size: .79rem; font-weight: 500; }
.field input:not([type="radio"]), .field select {
  width: 100%;
  min-height: 46px;
  padding: .52rem .72rem;
  border: 1px solid #9ca8b3;
  border-radius: 4px;
  background-color: #f8fafc;
  color: var(--ink);
}
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2rem;
}
.field input:focus-visible, .field select:focus-visible { outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: #ab1625; }
fieldset.field { margin: 0; padding: 0; border: 0; }
.radio-group { display: flex; gap: .6rem; }
.radio-group label {
  display: flex;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  min-width: 75px;
  padding: .35rem .75rem;
  border: 1px solid #9ca8b3;
  border-radius: 4px;
  background: #f8fafc;
  font-size: .93rem;
  cursor: pointer;
}
.radio-group label:has(input:checked) { border-color: #163856; background: #edf3f8; }
.radio-group input { margin: 0; accent-color: #163856; width: 1rem; height: 1rem; }
.privacy-note { color: var(--muted); font-size: .85rem; line-height: 1.5; margin-top: 1rem; }
#verification { max-width: 100%; }
.form-error { margin-top: .8rem; font-size: .9rem; font-weight: 600; color: #a31e29; }
.submit-button { margin-top: 1.05rem; }
.submit-button:disabled { cursor: not-allowed; background: #dbe2e9; color: #4d6071; }
.form-success { padding-block: 1.9rem; }
.success-mark { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1.2rem; border-radius: 50%; background: #dcefe7; color: #1e5c47; font-size: 1.3rem; font-weight: 700; }
.form-success p { max-width: 26rem; margin-block: .9rem 1.3rem; color: var(--muted); }

@media (min-width: 1600px) {
  .hero-media { left: auto; width: min(100%, 100rem); }
  .hero-media img { object-position: center 23%; }
}

@media (max-width: 850px) {
  .container, .apply-layout { width: calc(100% - 3rem); }
  .hero h1 { font-size: clamp(4.65rem, 10.6vw, 6.25rem); }
  .hero-media img { object-position: 56% 43%; }
  .job-facts > div { padding: .95rem; }
  .job-facts dd strong { font-size: clamp(1.75rem, 3.8vw, 2.7rem); }
  .apply-layout { grid-template-columns: minmax(0, .72fr) minmax(0, 1fr); }
  .apply-facts > div { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  html { scroll-padding-top: 4.85rem; }
  .container, .apply-layout { width: calc(100% - 2rem); }
  .header-inner { grid-template-columns: 1fr auto auto; gap: .5rem; min-height: 66px; }
  .site-nav { display: none; }
  .brand { gap: .48rem; }
  .brand-mark { width: 38px; height: 38px; }
  .wordmark strong { font-size: 1.45rem; }
  .wordmark > span { font-size: .6rem; }
  .header-apply { min-height: 44px; padding-inline: .56rem; font-size: .82rem; }
  .mobile-menu { display: block; }
  .mobile-menu summary {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid #a4bdd570;
    border-radius: 5px;
    list-style: none;
    cursor: pointer;
  }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .menu-lines, .menu-lines::before, .menu-lines::after { width: 16px; height: 2px; background: #e3edf7; }
  .menu-lines { position: relative; }
  .menu-lines::before, .menu-lines::after { position: absolute; left: 0; content: ""; }
  .menu-lines::before { top: -5px; }
  .menu-lines::after { top: 5px; }
  .mobile-menu[open] .menu-lines { background: transparent; }
  .mobile-menu[open] .menu-lines::before { top: 0; transform: rotate(45deg); }
  .mobile-menu[open] .menu-lines::after { top: 0; transform: rotate(-45deg); }
  .mobile-menu nav {
    position: absolute;
    top: calc(100% + .4rem);
    right: 1rem;
    display: grid;
    width: min(19rem, 100% - 2rem);
    padding: .35rem .8rem;
    border: 1px solid #a4bdd570;
    border-radius: 8px;
    background: #102439;
    box-shadow: 0 12px 26px #07132255;
  }
  .mobile-menu nav a {
    display: flex;
    min-height: 46px;
    align-items: center;
    padding-inline: .3rem;
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
  }
  .mobile-menu nav a + a { border-top: 1px solid #a4bdd536; }
  .mobile-menu nav a:hover { text-decoration: underline; }
  .hero-media { bottom: auto; height: clamp(20rem, 90vw, 28rem); }
  .hero-media img { object-position: 58% 45%; }
  .hero-media::after {
    background: linear-gradient(0deg, #071322 2%, #071322e8 10%, #07132270 31%, #07132200 60%);
  }
  .hero-inner { min-height: 0; padding-block: clamp(13.4rem, 63vw, 18.5rem) 4.1rem; }
  .hero h1 { font-size: clamp(3.15rem, 13.6vw, 5.8rem); margin-block: .65rem .95rem; }
  .hero-description { max-width: 20rem; }
  .hero-actions { margin-top: 1.35rem; gap: .65rem; }
  .hero-actions .button { padding-inline: .8rem; font-size: .875rem; }
  .opening-summary { margin-top: -1.8rem; }
  .job-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .job-facts > div:nth-child(odd) { border-left: 0; }
  .job-facts > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .job-facts dd strong { font-size: clamp(1.95rem, 6.3vw, 2.75rem); }
  .job-facts dd span { font-size: .89rem; }
  .career-grid, .dispatch-grid, .questions-grid { grid-template-columns: 1fr; gap: 1.65rem; }
  .career-photo, .dispatch-photo { aspect-ratio: 3 / 2; }
  .dispatch-copy { grid-row: 1; }
  .company-banner { min-height: 23rem; align-items: end; }
  .company-photo { object-position: 53% center; }
  .company-banner::after {
    background: linear-gradient(0deg, #071322fa, #071322dc 42%, #07132230 88%);
  }
  .footer-contact { display: grid; align-items: start; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-nav .brand { grid-column: 1 / -1; }
  .footer-bottom { justify-content: start; }
  .apply-layout { grid-template-columns: 1fr; }
  .apply-intro { min-height: 0; padding: 1.25rem; background-position: center, 65% 75%; }
  .back-link { margin-bottom: 1.15rem; }
  .apply-intro h1 { font-size: clamp(3.2rem, 12vw, 4.2rem); }
  .apply-intro h1 br { display: none; }
  .apply-summary { margin-top: .55rem; }
  .apply-facts { margin-top: .8rem; }
  .apply-facts > div { grid-template-columns: 4.8rem 1fr; padding-block: .35rem; }
  .apply-contact { padding-top: .65rem; }
  .form-main { padding-block: 1rem 2.6rem; }
  .form-card { padding: 1.25rem; }
}

@media (max-width: 420px) {
  .form-grid { grid-template-columns: 1fr; }
  .submit-button { width: 100%; }
}

@media (max-width: 360px) {
  .job-facts > div { padding-inline: .7rem; }
  .job-facts dd strong { font-size: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
