/* ═══════════════════════════════════════════════════════════════════════
   On Demand Transportation — Phase I homepage
   Palette + type ported from the selected comp (Mockup 2): cooler navy
   surfaces, brighter text, and light bands for air. Per Toyia, 4 Aug:
   "add more white space, as it's a little too dark."
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  /* Surfaces, dark → light */
  --deep:        #0B0F1A;
  --page:        #0F1420;
  --surface:     #141928;
  --surface-hi:  #1E2538;

  /* Light bands — the white space pass */
  --light:       #F5F7FB;
  --light-2:     #E7ECF4;
  --light-line:  #D3DBE8;
  --ink:         #0B0F1A;
  --ink-2:       #46506B;

  /* Hairlines */
  --line:        #1E2538;
  --line-2:      #28314A;
  --line-3:      #38415C;
  --line-4:      #4A5570;

  /* Brand */
  --orange:      #F97316;
  --amber:       #FBBF24;

  /* Text, brightest → dimmest */
  --white:       #FFFFFF;
  --text:        #F0EDE8;
  --dim-1:       #CBD4E6;
  --dim-2:       #A9B6CE;
  --dim-3:       #8B9CC0;
  --dim-4:       #6B7A99;

  --display: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --body:    Barlow, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono:    'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: 44px;
  --shell:  1240px;
  /* Inline padding that keeps a full-bleed band's contents on the same
     1240px grid as .section, so nothing drifts on wide screens. */
  --bleed-pad: max(var(--gutter), calc((100% - var(--shell)) / 2 + var(--gutter)));
  --header: 78px;
  --radius: 3px;
}

/* ── Reset ──────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, dl, dd, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

img, svg { display: block; max-width: 100%; }

a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--amber); }

input, select, textarea, button { font: inherit; color: inherit; }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
  border-radius: 2px;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--orange); color: var(--deep);
  font-family: var(--display); font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 12px 20px; border-radius: var(--radius);
  transition: top 160ms ease;
}
.skip-link:focus { top: 12px; color: var(--deep); }

/* ── Shared type ────────────────────────────────────────────────────── */

.h2 {
  font-family: var(--display);
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--white);
  text-wrap: balance;
}
.h2--invert { color: var(--deep); }

.h3 {
  font-family: var(--display);
  font-size: clamp(23px, 2.1vw, 28px);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--white);
}
.h3--lg { font-size: clamp(24px, 2.3vw, 30px); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange);
}
.eyebrow--rule {
  display: flex; align-items: center; gap: 14px;
}
.eyebrow--rule::before {
  content: ""; width: 48px; height: 1px; background: var(--orange); flex: none;
}

.label {
  font-family: var(--display);
  font-size: 15px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--dim-3);
}

.muted     { color: var(--dim-3); font-size: 17px; line-height: 1.62; }
.footnote  { color: var(--dim-4); font-size: 13px; line-height: 1.6; }

.tag {
  display: inline-block;
  background: var(--orange); color: var(--deep);
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 4px 8px; border-radius: 2px;
  vertical-align: middle;
}

/* ── Layout primitives ──────────────────────────────────────────────── */

.section {
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(76px, 10vw, 128px) var(--gutter);
}

/* Light band — carries the "lighter and brighter" pass. Anything set on
   --light re-points the text tokens so the existing components invert
   without needing their own light-mode rules. */
.band--light {
  background: var(--light);
  --surface:    #FFFFFF;
  --surface-hi: var(--light-2);
  --deep:       var(--light-2);
  --line:       var(--light-line);
  --line-2:     var(--light-line);
  --line-3:     #BCC7DA;
  --line-4:     #A6B3CB;
  /* Amber is a text colour in this band; the display value fails contrast
     on white, so step it down rather than dropping the accent. */
  --amber:      #B45309;
  --white:      var(--ink);
  --text:       var(--ink);
  --dim-1:      #3C465F;
  --dim-2:      var(--ink-2);
  --dim-3:      #5A6480;
  --dim-4:      #77819B;
}

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.section-head--ruled {
  border-bottom: 1px solid var(--line);
  padding-bottom: 26px;
  margin-bottom: 44px;
}
.section-head > div { display: flex; flex-direction: column; gap: 16px; }
.section-head__aside {
  font-size: 15px; color: var(--dim-3); max-width: 40ch; text-align: right;
}

/* Anchor targets clear the sticky header */
[id] { scroll-margin-top: calc(var(--header) + 16px); }

/* ── Buttons ────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: var(--radius);
  padding: 15px 28px; font-size: 17px;
  cursor: pointer; text-align: center;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}
.btn--lg { font-size: clamp(17px, 1.8vw, 21px); padding: 19px 38px; }
.btn--sm { font-size: 15px; padding: 12px 20px; letter-spacing: 0.08em; }

.btn--primary { background: var(--orange); color: var(--deep); }
.btn--primary:hover { background: var(--amber); color: var(--deep); }

.btn--ghost { border-color: var(--line-4); color: var(--white); font-weight: 600; }
.btn--ghost:hover { border-color: var(--amber); color: var(--amber); }

.btn--outline { border-color: var(--line-4); color: var(--white); font-weight: 600; }
.btn--outline:hover { background: var(--orange); border-color: var(--orange); color: var(--deep); }

.btn--quiet {
  border-color: var(--line-2); color: var(--dim-3);
  font-family: var(--body); font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; padding: 11px 18px;
}
.btn--quiet:hover { border-color: var(--orange); color: var(--orange); }

.btn--dashed {
  align-self: flex-start;
  border: 1px dashed var(--line-3); color: var(--amber);
  font-size: 16px; font-weight: 600; letter-spacing: 0.08em; padding: 13px 22px;
}
.btn--dashed:hover { border-color: var(--amber); background: var(--surface-hi); color: var(--amber); }

/* ── Header ─────────────────────────────────────────────────────────── */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(13, 16, 19, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: var(--shell); margin-inline: auto;
  min-height: var(--header);
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; padding-inline: var(--gutter);
}

.brand { display: flex; align-items: center; gap: 12px; color: inherit; }
.brand:hover { color: inherit; }
.brand__mark {
  width: 30px; height: 30px; flex: none; background: var(--orange);
  clip-path: polygon(0 0, 62% 0, 100% 50%, 62% 100%, 0 100%, 38% 50%);
}
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--display); font-size: 25px; font-weight: 700;
  letter-spacing: 0.02em; text-transform: uppercase; color: var(--white);
}
.brand__sub {
  font-size: 10px; font-weight: 600; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--amber); margin-top: 3px;
}
.brand--footer .brand__mark { width: 26px; height: 26px; }
.brand--footer .brand__name { font-size: clamp(18px, 2vw, 23px); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav__list {
  display: flex; align-items: center; gap: 30px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.nav__list a { color: var(--dim-1); }
.nav__list a:hover,
.nav__list a[aria-current="true"] { color: var(--orange); }
.nav__cta { font-size: 16px; padding: 12px 22px; letter-spacing: 0.08em; }

.nav-toggle {
  display: none; align-items: center; gap: 10px;
  background: transparent; border: 1px solid var(--line-2);
  border-radius: var(--radius); color: var(--white);
  font-family: var(--display); font-size: 15px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 10px 14px; cursor: pointer;
}
.nav-toggle__bars { display: grid; gap: 4px; width: 18px; }
.nav-toggle__bars span {
  display: block; height: 2px; background: var(--orange);
  transition: transform 160ms ease, opacity 160ms ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── Hero ───────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: clamp(460px, 62vw, 620px);
  display: grid;
  overflow: hidden;
}
.hero__photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(105deg,
    rgba(13,16,19,0.94) 0%,
    rgba(13,16,19,0.82) 42%,
    rgba(13,16,19,0.15) 78%);
}
.hero__body {
  position: relative;
  align-self: center;
  width: 100%; max-width: var(--shell);
  margin-inline: auto;
  display: flex; flex-direction: column; gap: 26px;
  padding: clamp(48px, 7vw, 72px) var(--gutter);
}
.hero__body > * { max-width: 760px; }
.hero__title {
  font-family: var(--display);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 700; line-height: 0.94; letter-spacing: -0.01em;
  text-transform: uppercase; color: var(--white); text-wrap: balance;
}
.hero__lede {
  font-size: clamp(17px, 1.7vw, 20px); line-height: 1.5;
  color: var(--dim-1); max-width: 52ch;
}
.hero__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ── Information bar (marquee) ──────────────────────────────────────── */

.marquee {
  background: var(--orange);
  overflow: hidden;
  padding-block: 14px;
}
.marquee__track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}
.marquee__item {
  display: flex; align-items: center; gap: 26px;
  padding-inline: 34px;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 500;               /* unbolded, per Toyia */
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
}
.marquee__item::after {
  content: "◆";
  font-size: 13px;
  color: rgba(11, 15, 26, 0.4);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.3333%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ── Stat band ──────────────────────────────────────────────────────── */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-inline: calc(var(--bleed-pad) - clamp(20px, 2.6vw, 32px));
  border-bottom: 1px solid var(--light-line);
}
.stats > * + * { border-left: 1px solid var(--light-line); }
.stat { display: flex; flex-direction: column; gap: 7px; padding: 40px clamp(20px, 2.6vw, 32px); }
.stat__num {
  font-family: var(--display); font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 700; line-height: 1; color: var(--orange);
}
.stat__label {
  font-family: var(--mono);
  font-size: clamp(11px, 1.1vw, 12px); font-weight: 400;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-2);
}

/* ── What we do ─────────────────────────────────────────────────────── */
/* Hand port of Mockup 2's Services block into this stylesheet's own
   conventions — see handoff §2b. Structure and copy from stage1. */

.what__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  margin-top: 56px;
}
.what__card {
  display: flex; flex-direction: column; gap: 26px;
  background: var(--surface);
  padding: clamp(28px, 3.4vw, 40px);
  transition: background-color 140ms ease;
}
.what__card:hover { background: var(--surface-hi); }
.what__card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.what__icon {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; flex: none;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.22);
  color: var(--orange);
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}
.what__icon svg { width: 22px; height: 22px; }
.what__card:hover .what__icon {
  background: var(--orange); border-color: var(--orange); color: var(--deep);
}
.what__num {
  font-family: var(--display); font-size: 56px; font-weight: 700;
  line-height: 1; color: var(--line-2);
  transition: color 140ms ease;
}
.what__card:hover .what__num { color: rgba(249, 115, 22, 0.3); }
.what__sub {
  font-family: var(--mono);
  font-size: 11px; font-weight: 400; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--dim-3);
  margin-bottom: 10px;
}
.what__card p { font-size: 15px; line-height: 1.7; color: var(--dim-2); margin-top: 12px; }
.what__tag {
  margin-top: auto; padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--amber);
}

/* ── About us ───────────────────────────────────────────────────────── */

.about-us {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 84px);
  align-items: center;
}
.about-us__media { position: relative; }
.about-us__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--surface-hi);
  overflow: hidden;
}
.about-us__frame img { width: 100%; height: 100%; object-fit: cover; }
.about-us__badge {
  position: absolute; right: -22px; bottom: -22px;
  background: var(--orange); color: var(--ink);
  padding: 22px 26px;
  display: flex; flex-direction: column; gap: 5px;
}
.about-us__badge-num {
  font-family: var(--display); font-size: 40px; font-weight: 700; line-height: 1;
}
.about-us__badge-label {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(11, 15, 26, 0.8);
}
.about-us__rule {
  position: absolute; left: -16px; top: -16px;
  width: 80px; height: 80px;
  border-left: 3px solid var(--orange);
  border-top: 3px solid var(--orange);
}
.about-us__copy { display: flex; flex-direction: column; gap: 20px; }
.about-us__copy p { font-size: 17px; line-height: 1.72; color: var(--dim-2); }
.about-us__pillars {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin-top: 14px;
}
.pillar {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 18px;
  transition: border-color 140ms ease;
}
.pillar:hover { border-color: rgba(249, 115, 22, 0.4); }
.pillar__icon { color: var(--orange); flex: none; margin-top: 2px; }
.pillar__icon svg { width: 18px; height: 18px; }
.pillar__name { font-size: 15px; font-weight: 600; color: var(--white); }
.pillar__desc { font-size: 13px; line-height: 1.5; color: var(--dim-3); margin-top: 3px; }

/* ── Open roles ─────────────────────────────────────────────────────── */

.roles__list { display: flex; flex-direction: column; gap: 1px; background: var(--line); }

.role {
  display: grid;
  grid-template-columns: 2.1fr 1.1fr 1fr 1fr 150px;
  gap: 24px; align-items: center;
  background: var(--surface); padding: 26px 30px;
  transition: background-color 140ms ease;
}
.role:hover { background: var(--surface-hi); }
.role--featured { border-left: 3px solid var(--orange); }

.role__id { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.role__title {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-family: var(--display); font-size: clamp(22px, 2.2vw, 27px);
  font-weight: 700; text-transform: uppercase; color: var(--white);
  line-height: 1.1;
}
.role__meta { font-size: 14px; color: var(--dim-3); }

.role__field { display: flex; flex-direction: column; gap: 3px; }
.role__key {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--dim-4);
}
.role__val { font-size: 16px; color: var(--text); }
.role__val--pay { color: var(--amber); font-weight: 600; }
.role__apply { justify-self: end; }

/* ── Pay & benefits ─────────────────────────────────────────────────── */

.benefits {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.benefits__media { position: relative; min-height: 480px; }
.benefits__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.benefits__body {
  display: flex; flex-direction: column; gap: 30px;
  padding: clamp(48px, 6vw, 76px) clamp(28px, 4.8vw, 60px);
}
.benefits__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 34px; }
.benefit {
  display: flex; flex-direction: column; gap: 5px;
  border-top: 1px solid var(--line-2); padding-top: 14px;
}
.benefit dt {
  font-family: var(--display); font-size: 21px; font-weight: 700;
  text-transform: uppercase; color: var(--amber);
}
.benefit dd { font-size: 15px; line-height: 1.55; color: var(--dim-2); }

/* ── Contact ────────────────────────────────────────────────────────── */

.contact {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  background: var(--orange);
  padding: clamp(48px, 6vw, 76px) var(--bleed-pad);
  max-width: none;
}
.contact__copy { display: flex; flex-direction: column; gap: 18px; }
.contact__copy p {
  font-size: 18px; line-height: 1.55;
  color: rgba(13, 16, 19, 0.78); max-width: 40ch;
}
/* Interim state while the ODT communication flow is being defined — see
   handoff §6 blocker 2. Holds the block without shipping fake numbers. */
.contact__pending {
  display: flex; flex-direction: column; gap: 22px; align-items: flex-start;
  align-content: start;
}
.contact__pending p {
  font-size: 16px; line-height: 1.6;
  color: rgba(11, 15, 26, 0.78); max-width: 46ch;
}
.contact .btn--onbrand {
  background: var(--ink); color: var(--orange); border-color: var(--ink);
}
.contact .btn--onbrand:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

/* ── Footer ─────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--deep);
  max-width: var(--shell); margin-inline: auto;
  padding: 56px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 28px;
}
.site-footer__top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.social { display: flex; gap: 10px; }
.social a {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line-2); border-radius: var(--radius);
  color: var(--dim-1); font-family: var(--display);
  font-size: 16px; font-weight: 700;
  transition: border-color 140ms ease, color 140ms ease;
}
.social a:hover { border-color: var(--orange); color: var(--orange); }
.site-footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 22px;
  font-size: 13px; color: var(--dim-4);
}

/* ═══════════════════════════════════════════════════════════════════════
   Pre-qualification wizard
   ═══════════════════════════════════════════════════════════════════════ */

.pq {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 30px;
}

.pq__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding: 22px 28px;
  background: var(--deep);
  border-bottom: 1px solid var(--line-2);
}
.pq__title {
  font-family: var(--display); font-size: 26px; font-weight: 700;
  letter-spacing: 0.02em; text-transform: uppercase; color: var(--white);
}
.pq__legal { font-size: 13px; color: var(--dim-3); margin-top: 4px; }
.pq__stepcount {
  font-family: var(--display); font-size: 15px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--orange); white-space: nowrap;
}

.pq__progress { height: 3px; background: var(--line); }
.pq__progress-bar {
  height: 3px; width: 25%; background: var(--orange);
  transition: width 260ms ease;
}

.pq__body { padding: 28px; }

.pq__step { border: 0; margin: 0; padding: 0; min-width: 0; }
.pq__step[hidden] { display: none; }

.pq__legend {
  font-family: var(--display); font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim-3);
  margin-bottom: 18px;
}
.pq__legend-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.pq__legend-row .pq__legend { margin-bottom: 0; }

.pq__block { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 20px; }
.pq__block .pq__legend { margin-bottom: 12px; }

.pq__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px;
}
.pq__note {
  font-size: 13px; color: var(--dim-3);
}
.pq__grid > .pq__note {
  border-top: 1px solid var(--line); padding-top: 14px;
}

/* Fields */

.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field__label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--dim-2);
}

.field input, .field select, .field textarea {
  background: var(--deep);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 15px;
  padding: 11px 13px;
  width: 100%;
  outline: none;
  transition: border-color 140ms ease;
}
.field input[type="date"], .field input[type="month"] {
  padding-block: 10px;
  /* Renders the native picker icon and calendar popup dark-theme, so the
     icon isn't black-on-black. */
  color-scheme: dark;
}
.field input[type="date"]::-webkit-calendar-picker-indicator,
.field input[type="month"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 140ms ease;
}
.field input[type="date"]:hover::-webkit-calendar-picker-indicator,
.field input[type="month"]:hover::-webkit-calendar-picker-indicator,
.field input[type="date"]:focus::-webkit-calendar-picker-indicator,
.field input[type="month"]:focus::-webkit-calendar-picker-indicator {
  opacity: 1;
}
/* Empty date segments read as placeholder text, not as filled values. */
.field input[type="date"]::-webkit-datetime-edit-text,
.field input[type="month"]::-webkit-datetime-edit-text,
.field input[type="date"]:invalid::-webkit-datetime-edit,
.field input[type="month"]:invalid::-webkit-datetime-edit {
  color: var(--dim-4);
}
.field input[type="date"]::-webkit-datetime-edit-year-field:focus,
.field input[type="date"]::-webkit-datetime-edit-month-field:focus,
.field input[type="date"]::-webkit-datetime-edit-day-field:focus,
.field input[type="month"]::-webkit-datetime-edit-year-field:focus,
.field input[type="month"]::-webkit-datetime-edit-month-field:focus {
  background: var(--orange);
  color: var(--deep);
  border-radius: 3px;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); outline: none; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim-4); }
.field .upper { text-transform: uppercase; }
.field__input--sign { font-size: 17px; padding: 13px; letter-spacing: 0.02em; }

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--dim-2) 50%),
                    linear-gradient(135deg, var(--dim-2) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 34px;
}

.field.is-invalid input, .field.is-invalid select,
.field.is-invalid textarea { border-color: #E5484D; }

/* Narrative answers: the licence action statement, an accident description, and
   the employment gap explanation. Resizing is vertical only so a long answer
   cannot drag the field out past the form's column. */
.field textarea { resize: vertical; min-height: 76px; line-height: 1.5; }
.field__error {
  display: none;
  font-size: 12px; color: #FF8A8E; letter-spacing: 0.01em;
}
.field.is-invalid .field__error { display: block; }
.field__error--block { margin-top: 12px; }
.field__error--block.is-shown { display: block; }

/* Checkbox chips */

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips--wide { margin-top: 18px; }
.chip {
  display: flex; align-items: center; gap: 10px;
  background: var(--deep);
  border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 10px 14px; font-size: 14px; color: var(--dim-1);
  cursor: pointer;
  transition: border-color 140ms ease;
}
.chip:hover { border-color: var(--line-4); }
.chip:has(input:checked) { border-color: var(--orange); }
.chip input { width: 15px; height: 15px; margin: 0; flex: none; accent-color: var(--orange); }
.chip__code {
  font-family: var(--display); font-size: 17px; font-weight: 700; color: var(--amber);
}

/* Employment history */

.employers { display: flex; flex-direction: column; gap: 18px; margin: 18px 0; }
.employer {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px;
  background: var(--deep);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px;
}
.employer__head {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.employer__n {
  font-family: var(--display); font-size: 17px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--amber);
}
.employer__remove {
  background: transparent; border: 1px solid var(--line-2); border-radius: var(--radius);
  color: var(--dim-3); font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 7px 12px; cursor: pointer;
  transition: border-color 140ms ease, color 140ms ease;
}
.employer__remove:hover { border-color: var(--orange); color: var(--orange); }
.employer .field input { background: var(--surface); }
.employer__safety {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--dim-1); cursor: pointer;
}
.employer__safety input { width: 15px; height: 15px; margin: 0; flex: none; accent-color: var(--orange); }

/* Consents */

.consents { display: flex; flex-direction: column; gap: 14px; }
.consent {
  display: flex; gap: 14px;
  background: var(--deep);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; cursor: pointer;
  transition: border-color 140ms ease;
}
.consent:hover { border-color: var(--line-3); }
.consent:has(input:checked) { border-color: var(--orange); }
.consent input { width: 16px; height: 16px; margin: 3px 0 0; flex: none; accent-color: var(--orange); }
.consent > span:last-child { display: flex; flex-direction: column; gap: 5px; }
.consent__title { font-size: 15px; font-weight: 600; color: var(--white); }
.consent__body { font-size: 13px; line-height: 1.55; color: var(--dim-3); }

.pq__sign {
  display: grid; grid-template-columns: 2fr 1fr; gap: 20px;
  border-top: 1px solid var(--line); margin-top: 20px; padding-top: 20px;
}
.pq__fineprint {
  font-size: 12px; line-height: 1.6; color: var(--dim-4); margin-top: 20px;
}

/* Confirmation */

.pq__done {
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  padding: 32px 0 20px;
}
/* Without this the author display:flex beats the hidden attribute and the
   "Application received" panel renders on page load, before anyone submits. */
.pq__done[hidden] { display: none; }
.pq__check {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--orange); color: var(--deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 700;
}
.pq__done-title {
  font-family: var(--display); font-size: clamp(27px, 3.4vw, 34px);
  font-weight: 700; letter-spacing: 0.01em; text-transform: uppercase;
  color: var(--white); line-height: 1.05;
}
.pq__done-body { font-size: 16px; line-height: 1.6; color: var(--dim-2); max-width: 60ch; }
.pq__next {
  display: flex; flex-wrap: wrap; gap: 28px;
  margin-top: 8px; padding-top: 20px;
  border-top: 1px solid var(--line); width: 100%;
}
.pq__next > div { display: flex; flex-direction: column; gap: 4px; }
.pq__next dt {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--dim-4);
}
.pq__next dd { font-size: 15px; color: var(--text); }

/* Reference number. The applicant's only copy of it, so it gets the mono face
   and enough size to read off a phone screen and write down. */
.pq__ref {
  display: flex; flex-direction: column; gap: 6px;
  width: 100%; padding: 18px 20px;
  background: var(--surface-hi);
  border: 1px solid var(--line-3);
  border-radius: var(--radius);
}
.pq__ref-key {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--dim-4);
}
.pq__ref-val {
  font-family: var(--mono); font-size: clamp(20px, 2.6vw, 25px);
  font-weight: 500; letter-spacing: 0.04em; color: var(--amber);
  user-select: all;
}
.pq__ref-val:empty::before { content: '\2014'; color: var(--dim-4); }
.pq__ref-note { font-size: 13px; line-height: 1.5; color: var(--dim-3); }

/* Anti-automation trap. Off-screen rather than display:none, because a bot that
   reads computed styles skips a hidden field but fills a positioned one. */
.pq__trap {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

/* Error summary */

.pq__errors {
  margin: 0 28px 4px; padding: 16px 20px;
  background: rgba(229, 72, 77, 0.09);
  border: 1px solid #E5484D;
  border-left-width: 3px;
  border-radius: var(--radius);
}
.pq__errors[hidden] { display: none; }
.pq__errors:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.pq__errors-title {
  font-family: var(--display); font-size: 17px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; color: #FF8A8E;
  margin-bottom: 8px;
}
.pq__errors-list { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.pq__errors-list a {
  font-size: 14px; color: var(--dim-1); text-decoration: underline;
  text-underline-offset: 3px;
}
.pq__errors-list a:hover { color: var(--white); }

/* Submission failure. Deliberately not styled like the confirmation panel:
   nothing here should read as success. */
.pq__fail {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding: 32px 0 20px;
}
.pq__fail[hidden] { display: none; }
.pq__fail:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
.pq__fail-title {
  font-family: var(--display); font-size: clamp(24px, 3vw, 30px);
  font-weight: 700; letter-spacing: 0.01em; text-transform: uppercase;
  color: #FF8A8E; line-height: 1.1;
}
.pq__fail-body { font-size: 16px; line-height: 1.6; color: var(--dim-2); max-width: 60ch; }
.pq__fail-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }

/* Legal pages (privacy notice) */

.legal { padding: calc(var(--header) + 56px) var(--gutter) 80px; background: var(--page); }
.legal__inner { max-width: 74ch; margin: 0 auto; }
.legal__inner .h2 { margin-bottom: 10px; }
.legal__meta {
  font-family: var(--mono); font-size: 13px; color: var(--dim-4);
  margin-bottom: 28px;
}
.legal__flag {
  padding: 18px 20px; margin-bottom: 36px;
  background: rgba(251, 191, 36, 0.09);
  border: 1px solid var(--amber); border-left-width: 3px;
  border-radius: var(--radius);
}
.legal__flag p { font-size: 15px; line-height: 1.6; color: var(--dim-1); }
.legal__h2 {
  font-family: var(--display); font-size: 22px; font-weight: 700;
  letter-spacing: 0.03em; text-transform: uppercase; color: var(--white);
  margin: 36px 0 12px;
}
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: var(--dim-2); }
.legal p { margin-bottom: 14px; }
.legal__list { list-style: disc; padding-left: 22px; margin-bottom: 14px; }
.legal__list li { margin-bottom: 8px; }
.legal strong { color: var(--text); font-weight: 600; }
.legal code { font-family: var(--mono); font-size: 14px; color: var(--amber); }
.legal a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
.legal__tbc {
  padding: 14px 18px; border-left: 3px solid var(--line-4);
  background: var(--surface); border-radius: var(--radius);
}
.legal__back { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-2); }

/* Privacy notice link inside a consent row */
.consent__link {
  display: inline-block; margin-top: 6px;
  font-size: 13px; color: var(--amber);
  text-decoration: underline; text-underline-offset: 3px;
}

/* Wizard nav */

.pq__nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  padding: 20px 28px;
  background: var(--deep);
  border-top: 1px solid var(--line-2);
}
.pq__nav[hidden] { display: none; }
.pq__nav-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.pq__hint { font-size: 13px; color: var(--dim-4); }
.pq__nav .btn--outline {
  border-color: var(--line-2); color: var(--dim-2); font-size: 16px; padding: 13px 24px;
}
.pq__nav .btn--outline:hover {
  background: transparent; border-color: var(--line-4); color: var(--white);
}
.pq__nav .btn--primary { font-size: 17px; padding: 14px 30px; letter-spacing: 0.08em; }

.pq__status:empty { display: none; }
.pq__status {
  padding: 14px 28px 20px; font-size: 14px; color: var(--amber);
  background: var(--deep);
}

/* No-JS: show everything, hide the wizard chrome that can't work */
.no-js .pq__progress,
.no-js .pq__stepcount,
.no-js .pq__hint,
.no-js #pq-back { display: none; }
.no-js .pq__step { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 28px; }
.no-js .pq__step:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }

/* ═══════════════════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════════════════ */

/* Roles table → label/value rows */
@media (max-width: 1100px) {
  .role {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px 24px;
    align-items: start;
  }
  .role__id { grid-column: 1 / -1; }
  .role__apply { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 1000px) {
  :root { --gutter: 32px; }

  .what__grid { grid-template-columns: 1fr; margin-top: 40px; }
  .what__tag { margin-top: 0; }

  .about-us { grid-template-columns: 1fr; gap: 56px; }
  .about-us__media { max-width: 560px; }
  .about-us__copy { max-width: 68ch; }

  .benefits { grid-template-columns: 1fr; }
  .benefits__media { min-height: 300px; order: -1; }

  .contact { grid-template-columns: 1fr; gap: 36px; }
  .contact > * { max-width: 68ch; }
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }

  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--deep);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    display: none;
  }
  .nav.is-open { display: flex; }

  /* Without JS there is no toggle, so keep the nav in flow and visible. */
  .no-js .nav-toggle { display: none; }
  .no-js .nav { position: static; display: flex; border-bottom: 0; padding-inline: 0; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a {
    display: block; padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }
  .nav__cta { margin-top: 20px; justify-content: center; padding: 16px 22px; }

  .section-head__aside { text-align: left; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 760px) {
  :root { --gutter: 22px; }

  .stats { grid-template-columns: 1fr 1fr; }
  .stats > * + * { border-left: 0; }
  .stats > *:nth-child(even) { border-left: 1px solid var(--light-line); }
  .stats > *:nth-child(n + 3) { border-top: 1px solid var(--light-line); }

  .benefits__grid { grid-template-columns: 1fr; }
  .about-us__pillars { grid-template-columns: 1fr; }
  .about-us__badge { right: -12px; bottom: -14px; padding: 18px 20px; }

  .hero__title br { display: none; }
  .h2 br { display: none; }
  /* Keep the hero brand line on one row at phone widths */
  .eyebrow { font-size: 11px; letter-spacing: 0.14em; }
  .eyebrow--rule::before { width: 28px; }
  .hero__actions .btn { width: 100%; }

  .role { grid-template-columns: 1fr 1fr; }
  .role__apply { width: 100%; }

  .pq__body, .pq__head, .pq__nav, .pq__status { padding-inline: 20px; }
  .pq__errors { margin-inline: 20px; }
  .pq__fail-actions { width: 100%; }
  .pq__fail-actions .btn { width: 100%; }
  .pq__grid, .field__pair, .employer, .pq__sign { grid-template-columns: 1fr; }
  .pq__nav { flex-direction: column-reverse; align-items: stretch; }
  .pq__nav-right { flex-direction: column-reverse; align-items: stretch; }
  .pq__nav .btn { width: 100%; }
  .pq__hint { text-align: center; }
  .chips--wide .chip, .chip { width: 100%; }
}

@media (max-width: 460px) {
  .stats { grid-template-columns: 1fr; }
  .stats > * + * { border-left: 0; border-top: 1px solid var(--light-line); }
  .stats > *:nth-child(even) { border-left: 0; }
  .role { grid-template-columns: 1fr; }
  .brand__name { font-size: 21px; }
  .nav-toggle__label { display: none; }
}

/* ── Print ──────────────────────────────────────────────────────────── */

@media print {
  .site-header, .nav-toggle, .pq__nav, .hero__photo, .hero__scrim, .social { display: none !important; }
  body { background: #fff; color: #000; }
  .pq__step[hidden] { display: block !important; }
}
