/* ===================================================================
   StoneX Recruiting — Global Design System (black & Bondi Blue #0095B6)
   Sections:
     1. Tokens            6. Hero scroll (home)
     2. Base / type       7. Page hero (inner pages)
     3. Utilities         8. Components
     4. Buttons           9. Forms
     5. Navigation       10. Footer / responsive
   =================================================================== */

/* ============================ 1. TOKENS ============================ */
:root {
  /* Brand: Bondi Blue (#0095B6) — constant across both themes */
  --gold-light: #5FC8E0;
  --gold:       #0095B6;
  --gold-deep:  #006C84;
  --gold-grad:  linear-gradient(120deg,
                  #4FC3DC 0%, #16A7C9 38%, #0095B6 62%, #00748D 100%);

  /* ---- LIGHT theme (default) ---- */
  --black:   #ffffff;   /* page background (token name kept) */
  --black-2: #f2f5f7;   /* alt surface: cards, footer, cta-band, stats */
  --panel:   #ffffff;
  --panel-2: #fbfcfd;
  --line:    rgba(12,34,43,0.12);
  --ink:     #14191d;
  --muted:   #525a61;
  --muted-2: #8b929a;
  --shadow:  0 22px 55px rgba(20,35,45,0.10);
  --nav-bg:  rgba(255,255,255,0.92);
  --nav-text:#2a2f35;

  --maxw: 1240px;
  --radius:   16px;
  --radius-sm: 10px;
  --ease:    cubic-bezier(.22,.61,.36,1);
  --space:   clamp(90px, 12vh, 165px);
}


/* ========================= 2. BASE / TYPE ========================= */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--black);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
}
/* the home page is extra-tall to drive the scroll hero */
body.home { min-height: 560vh; }

/* ---------- preloader (covers the page until everything is loaded) ---------- */
.preloader { position: fixed; inset: 0; z-index: 9999; background: #ffffff; display: grid; place-items: center; transition: opacity .5s ease, visibility .5s ease; }
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.preloader-logo { width: 210px; max-width: 62vw; height: auto; }
.preloader-bar { width: 220px; max-width: 70vw; height: 4px; border-radius: 4px; background: rgba(0,149,182,0.16); overflow: hidden; }
.preloader-bar span { display: block; width: 0; height: 100%; border-radius: 4px; background: var(--gold); }
.preloader-pct { font-family:"Oswald",sans-serif; font-weight: 700; font-size: 16px; letter-spacing: 2px; color: var(--gold); }

h1,h2,h3,h4 { font-family: "Oswald", sans-serif; font-weight: 600; line-height: 1.05; letter-spacing: .5px; }
a { color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--gold); color: #ffffff; }

/* Metallic-gold text helper */
.gold, .brand-mark, .intro-mark, .text-gold {
  background: var(--gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ========================== 3. UTILITIES ========================== */
.container { width: min(var(--maxw), 92vw); margin-inline: auto; }
.section { padding: var(--space) 0; position: relative; }
.section--tight { padding: clamp(40px,6vh,72px) 0; }
.center { text-align: center; }
.eyebrow {
  display: inline-block; font-family: "Oswald",sans-serif; letter-spacing: 4px;
  font-size: 13px; color: var(--gold); text-transform: uppercase; margin-bottom: 16px;
}
.section-title { font-size: clamp(30px, 4.6vw, 54px); }
.section-title .gold { display: inline; }
.lead { color: var(--muted); font-size: clamp(16px,1.4vw,19px); max-width: 620px; }
.center .lead { margin-inline: auto; }
/* consistent breathing room between a section heading and the intro line right below it */
.section-title + .lead { margin-top: 22px; }
.divider { height:1px; background: linear-gradient(90deg,transparent,var(--line),transparent); border:0; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* media placeholder (swap for real <img>/<video> later) */
.media-placeholder {
  position: relative; width: 100%; aspect-ratio: 16/9; border-radius: var(--radius);
  background:
    radial-gradient(80% 80% at 30% 20%, rgba(0,149,182,0.10), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.02) 0 14px, transparent 14px 28px),
    var(--panel);
  border: 1px dashed rgba(0,149,182,0.35);
  display: grid; place-items: center; text-align: center; color: var(--muted-2);
  overflow: hidden;
}
.media-placeholder[data-ratio="1"] { aspect-ratio: 1; }
.media-placeholder[data-ratio="portrait"] { aspect-ratio: 3/4; }
/* real media (video/image) dropped into a placeholder slot */
.media-video { width: 100%; height: auto; display: block; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.media-video[data-ratio="portrait"] { aspect-ratio: 3/4; }
.media-video[data-ratio="1"] { aspect-ratio: 1; }
.media-placeholder .mp-icon { font-size: 30px; color: var(--gold); opacity:.8; }
svg.mp-icon { width: 38px; height: 38px; }
.media-placeholder .mp-label { font-size: 13px; letter-spacing: 1px; margin-top: 8px; padding: 0 12px; }

/* ========================== 4. BUTTONS ========================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-family: "Oswald",sans-serif; font-weight: 600; letter-spacing: 1.5px; font-size: 14px;
  padding: 14px 26px; border-radius: var(--radius-sm); text-decoration: none; border: 1px solid transparent;
  transition: transform .15s var(--ease), box-shadow .2s, background .2s, color .2s;
}
.btn-gold { background: var(--gold); color: #ffffff; box-shadow: 0 10px 28px rgba(0,149,182,0.28); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,149,182,0.42); }
.btn-ghost { border-color: rgba(0,149,182,0.55); color: var(--gold); }
.btn-ghost:hover { background: rgba(0,149,182,0.1); }
.btn-lg { padding: 17px 34px; font-size: 15px; }

/* ========================= 5. NAVIGATION ========================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px clamp(20px,5vw,70px);
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  transition: background .3s, padding .3s, border-color .3s, transform .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: var(--nav-bg); padding-block: 12px; border-bottom-color: var(--line); }
/* over the dark hero (top) links are light; once scrolled into the body they follow the theme */
.nav.scrolled .nav-links a { color: var(--nav-text); }
.nav.scrolled .nav-links a:hover, .nav.scrolled .nav-links a.active { color: var(--gold); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-logo { height: 92px; width: auto; display: block; }
.footer .brand-logo { height: 112px; }
@media (max-width: 900px) { .brand-logo { height: 64px; } }
.brand-mark {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(0,149,182,0.5); background-color: #111;
  font-family: "Oswald",sans-serif; font-weight: 700; font-size: 18px;
}
.brand-name { font-family:"Oswald",sans-serif; font-weight: 600; letter-spacing: 2px; font-size: 22px; line-height: 1; }
.brand-name em { display: block; font-style: normal; font-size: 11px; letter-spacing: 5px; color: var(--gold); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--nav-text); text-decoration: none; font-size: 13px; letter-spacing: 1.5px; font-weight: 500; transition: color .2s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a.active::after { content:""; position:absolute; left:0; right:0; bottom:-7px; height:2px; background: var(--gold); }
.btn-apply {
  text-decoration: none; color: var(--gold); font-weight: 600; font-size: 14px;
  padding: 11px 22px; border-radius: 8px; border: 1px solid rgba(0,149,182,0.55); transition: all .2s; white-space: nowrap;
}
.btn-apply:hover { background: var(--gold); color: #ffffff; border-color: transparent; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--gold); transition: .3s; }

/* ======================= 6. HERO SCROLL (home) ======================= */
.scroll-track { position: relative; height: 560vh; }
.stage { position: sticky; top: 0; height: 100vh; width: 100%; overflow: hidden; display: grid; place-items: center; }
.bg-glow {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 50% at 50% 38%, rgba(0,149,182,0.10), transparent 70%),
    radial-gradient(80% 60% at 50% 120%, rgba(0,107,131,0.18), transparent 60%),
    var(--black);
}
/* scroll-scrubbed hero background video */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  /* light hero: keep the white video, soft scrim under the nav + fade into the white page */
  background:
    linear-gradient(180deg, rgba(255,255,255,0.55) 0%, transparent 13%, transparent 80%, #ffffff 100%);
}
.intro { position: absolute; inset: 0; z-index: 6; pointer-events: none; will-change: transform, opacity; }
/* headline split by the truck: "Drive Further." above, "Earn More." below */
.hero-line { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; font-family:"Oswald",sans-serif; font-weight: 700; font-size: clamp(40px,7vw,100px); line-height: 1; letter-spacing: 1px; }
.hero-line-top { top: 30vh; color: #111418; }
.hero-line-bottom { top: 76vh; }
/* value sentence sitting over the trailer */
.hero-trailer-text { position: absolute; top: 53vh; left: 70%; transform: translateX(-50%); width: min(30vw,420px); text-align: center; color: #ffffff; font-size: clamp(12px,1.05vw,15px); line-height: 1.55; text-shadow: 0 1px 8px rgba(0,0,0,0.30); }
.intro-mark { font-family:"Oswald",sans-serif; font-weight: 700; font-size: clamp(70px,14vw,170px); line-height: 1; }
.intro-title { position: absolute; left: 50%; transform: translateX(-50%); text-align: center; white-space: nowrap; font-family:"Oswald",sans-serif; font-weight: 700; letter-spacing: 5px; font-size: clamp(44px,9vw,120px); line-height: 1.02; }
.intro-top { top: 32vh; color: #121619; }
.intro-bottom { bottom: 17vh; }
/* scroll cue pinned to the bottom of the hero, always visible while scrolling */
.scroll-cue { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 6; display: flex; flex-direction: column; align-items: center; gap: 12px; color: #525a61; font-size: 12px; letter-spacing: 4px; will-change: opacity; }
.scroll-dot { width: 26px; height: 42px; border: 1px solid rgba(0,149,182,0.5); border-radius: 14px; display: flex; justify-content: center; padding-top: 7px; }
.scroll-dot i { width: 4px; height: 8px; border-radius: 2px; background: var(--gold); animation: scrolldot 1.5s infinite; }
@keyframes scrolldot { 0%{transform:translateY(0);opacity:1} 70%{transform:translateY(12px);opacity:0} 100%{opacity:0} }
.beats { position: absolute; z-index: 5; inset: 0; pointer-events: none; }
/* headlines sit in the clear band above the truck, centered */
.beat { position: absolute; left: 50%; top: 20vh; transform: translateX(-50%); width: min(1000px,92vw); text-align: center; opacity: 0; will-change: transform,opacity; }
.beat h2 { font-family:"Oswald",sans-serif; font-weight: 700; font-size: clamp(36px,6.6vw,84px); line-height: .98; color: #121619; }
.beat p { margin: 18px auto 0; max-width: 560px; color: #525a61; font-size: clamp(15px,1.4vw,19px); }
.road { position: absolute; bottom: 16vh; left: 0; right: 0; z-index: 4; height: 4px; will-change: opacity; }
.road-line { position: absolute; left: 0; right: 0; top: 50%; height: 3px; background: repeating-linear-gradient(90deg,var(--gold) 0 38px,transparent 38px 78px); opacity: .55; filter: drop-shadow(0 0 6px rgba(0,149,182,0.5)); }
.truck { position: absolute; bottom: -36px; left: 0; width: clamp(180px,22vw,300px); will-change: transform,filter; }
.truck svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 16px 24px rgba(0,0,0,0.7)); }
.truck-glow { position: absolute; inset: auto 0 -10px 0; height: 40px; background: radial-gradient(50% 100% at 50% 0,rgba(0,149,182,0.4),transparent 70%); filter: blur(8px); }
.speedlines { position: absolute; left: 0; right: 0; z-index: 3; height: 26vh; opacity: 0; pointer-events: none; }
.speedlines--top { top: 0; } .speedlines--bottom { bottom: 0; }
.streak { position: absolute; height: 2px; border-radius: 2px; background: linear-gradient(90deg,transparent,rgba(0,149,182,0.85),transparent); filter: blur(1px); }

/* ===================== 7. PAGE HERO (inner pages) ===================== */
.page-hero {
  position: relative; padding: clamp(150px,22vh,220px) 0 clamp(56px,9vh,90px);
  text-align: center; overflow: hidden;
  /* premium light: soft blue mesh glows + subtle fading dot grid */
  background:
    radial-gradient(38% 55% at 10% 16%, rgba(0,149,182,0.14), transparent 70%),
    radial-gradient(44% 62% at 90% 26%, rgba(0,149,182,0.11), transparent 72%),
    radial-gradient(72% 95% at 50% 128%, rgba(0,149,182,0.09), transparent 60%),
    linear-gradient(180deg, #eef2f5 0%, #e3e8ec 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(0,149,182,0.13) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(130% 100% at 50% -5%, #000 28%, transparent 82%);
          mask-image: radial-gradient(130% 100% at 50% -5%, #000 28%, transparent 82%);
  opacity: .55;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(40px,7vw,84px); color: #14191d; }
.page-hero .lead { margin: 22px auto 0; color: #525a61; }
.breadcrumb { color: #8b929a; font-size: 13px; letter-spacing: 2px; margin-bottom: 14px; }
.breadcrumb a { color: var(--gold); text-decoration: none; }

/* ========================= 8. COMPONENTS ========================= */
.card {
  background: linear-gradient(160deg, var(--panel-2), var(--black-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(0,149,182,0.4); box-shadow: var(--shadow); }
.card .ic { margin-bottom: 16px; }
/* golden line-icon system (Lucide svgs inherit currentColor) */
.ic { color: var(--gold); display: inline-flex; line-height: 0; }
svg.ic { width: 30px; height: 30px; stroke-width: 1.6px; }
.card svg.ic { width: 36px; height: 36px; }
.field svg.ic { width: 18px; height: 18px; }
.card h3 { font-size: 22px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }

/* stat strip */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--black-2); padding: 34px 20px; text-align: center; }
.stat .num { font-family:"Oswald",sans-serif; font-weight: 700; font-size: clamp(34px,5vw,52px); }
.stat .lbl { color: var(--muted); font-size: 13px; letter-spacing: 1.5px; margin-top: 6px; text-transform: uppercase; }

/* steps (the journey) */
.steps { counter-reset: step; display: grid; gap: 22px; }
.step { display: flex; gap: 22px; align-items: flex-start; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--black-2); }
.step::before { counter-increment: step; content: counter(step,decimal-leading-zero); font-family:"Oswald",sans-serif; font-weight: 700; font-size: 30px; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; min-width: 52px; }
.step h3 { font-size: 20px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }

/* route / job cards */
.job { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--black-2); transition: border-color .25s, transform .25s var(--ease); }
.job:hover { border-color: rgba(0,149,182,0.45); transform: translateY(-3px); }
.job .job-main { flex: 1 1 280px; }
.job .job-main h3 { font-size: 22px; }
.job .job-meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 14px; margin-top: 8px; }
.job .job-pay { font-family:"Oswald",sans-serif; font-size: 22px; color: var(--gold); white-space: nowrap; }
.badge { display: inline-block; font-size: 12px; letter-spacing: 1px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--gold); background: rgba(0,149,182,0.07); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.filter-btn { font-family:"Oswald",sans-serif; letter-spacing: 1px; font-size: 13px; padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; transition: .2s; }
.filter-btn.active, .filter-btn:hover { color: #ffffff; background: var(--gold); border-color: transparent; }

/* checklist */
.checklist { list-style: none; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.checklist li::before { content: "\2713"; color: #ffffff; background: var(--gold); width: 24px; height: 24px; min-width: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; margin-top: 2px; }

/* testimonial */
.quote { background: var(--black-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.quote p { font-size: 18px; line-height: 1.6; }
.quote .by { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.quote .by .avatar { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; }
/* gold initials avatar (placeholder until real driver photos are added) */
.avatar-initials { width: 54px; height: 54px; min-width: 54px; border-radius: 50%; display: grid; place-items: center; font-family:"Oswald",sans-serif; font-weight: 700; font-size: 19px; color: #ffffff; background: var(--gold); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.quote .by strong { display: block; } .quote .by span { color: var(--muted); font-size: 14px; }
.stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 14px; }

/* values / timeline */
.timeline { position: relative; display: grid; gap: 28px; padding-left: 28px; border-left: 2px solid var(--line); }
.timeline .t-item h3 { color: var(--gold); font-size: 20px; }
.timeline .t-item::before { content:""; position: absolute; left: -35px; top: 8px; width: 13px; height: 13px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--black); }
.timeline .t-item { position: relative; }

/* accordion / FAQ */
.faq { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--black-2); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; color: var(--ink); cursor: pointer; padding: 20px 24px; font-family:"Oswald",sans-serif; font-size: 17px; letter-spacing: .5px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-q .pm { color: var(--gold); transition: transform .25s; font-size: 22px; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-a p { padding: 0 24px 20px; color: var(--muted); }

/* CTA band */
.cta-band { text-align: center; background:
    radial-gradient(60% 140% at 50% 0,rgba(0,149,182,0.14),transparent 60%), var(--black-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-band h2 { font-size: clamp(32px,5vw,60px); }
.cta-band .lead { margin: 16px auto 30px; }

/* split feature row */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split.rev > :first-child { order: 2; }

/* ===== roomier spacing for content-heavy pages (drivers, about) ===== */
.roomy .section { padding-block: clamp(112px, 16vh, 210px); }
.roomy .section--tight { padding-block: clamp(60px, 9vh, 110px); }
.roomy .section > .container > .center { margin-bottom: 66px; }   /* header -> content */
.roomy .grid { gap: 36px; }
.roomy .split { gap: 74px; }
.roomy .steps { gap: 28px; }
.roomy .faq { gap: 16px; }
.roomy .grid + .stats { margin-top: 74px; }                       /* cards -> stats strip */
.roomy .split .section-title { margin-bottom: 14px; }             /* heading -> intro line */
.roomy .split .lead { margin-bottom: 8px; }                       /* intro line -> list */
.roomy .split .checklist { gap: 20px; margin: 22px 0 36px; }      /* roomier list + space before button */
.roomy .timeline { gap: 34px; }
/* requirements column fills the video's height: heading at top, button at bottom */
.req-split { align-items: stretch; }
.req-split > :last-child { align-self: start; }   /* video keeps its natural size */
.req-col { display: flex; flex-direction: column; justify-content: space-between; height: 100%; }

/* ========================= 9. FORMS ========================= */
/* home hero apply card */
.apply-card { position: absolute; z-index: 7; right: 6%; top: 50%; width: min(420px,86vw); transform: translate(60px,-50%); opacity: 0; will-change: transform,opacity; padding: 30px 28px 32px; border-radius: 20px; background: linear-gradient(160deg,rgba(255,255,255,0.94),rgba(244,248,250,0.96)); border: 1px solid rgba(0,149,182,0.30); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.6); backdrop-filter: blur(14px); }
.apply-card h3 { font-family:"Oswald",sans-serif; letter-spacing: 3px; font-size: 24px; text-align: center; margin-bottom: 22px; color: var(--gold); }
.field { display: flex; align-items: center; gap: 10px; position: relative; border: 1px solid rgba(0,149,182,0.3); border-radius: var(--radius-sm); padding: 0 14px; margin-bottom: 14px; background: rgba(0,0,0,0.03); transition: border-color .2s; }
.field:focus-within { border-color: var(--gold); }
.field .ic { color: var(--gold); font-size: 15px; }
.field input, .field select, .field textarea { flex: 1; background: transparent; border: 0; outline: 0; color: #14191d; font-size: 15px; padding: 14px 0; font-family: inherit; resize: vertical; }
.field input::placeholder { color: #8b929a; }
.field select { color: #525a61; cursor: pointer; }
.field option { background: #ffffff; color: #14191d; }
.field .hint { color: var(--gold); font-size: 13px; }
.submit { width: 100%; margin-top: 8px; border: 0; cursor: pointer; padding: 16px; border-radius: var(--radius-sm); font-family:"Oswald",sans-serif; font-weight: 700; letter-spacing: 2px; font-size: 15px; color: #ffffff; background: var(--gold); box-shadow: 0 8px 24px rgba(0,149,182,0.3); transition: transform .15s, box-shadow .2s; }
.submit:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,149,182,0.45); }

/* mobile quick-start hero (hidden on desktop; shown on phones — see responsive section) */
.m-hero { display: none; }

/* standalone form blocks (contact / apply pages) */
.form-card { background: linear-gradient(160deg,var(--panel-2),var(--black-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px,4vw,44px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; letter-spacing: 1px; color: var(--muted); margin-bottom: 8px; text-transform: uppercase; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: rgba(128,128,128,0.08); border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--ink); padding: 14px 16px; font-size: 15px; font-family: inherit; outline: none; transition: border-color .2s; resize: vertical;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group option { background: var(--panel); color: var(--ink); }
.form-note { color: var(--muted-2); font-size: 13px; margin-top: 4px; }
.form-success { display: none; text-align: center; padding: 40px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(0,149,182,0.06); }
.form-success.show { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.form-success .ic { font-size: 40px; margin-bottom: 4px; }
.form-success h3 { margin: 0; }
.form-success p { margin: 0; max-width: 46ch; line-height: 1.65; }
/* spam honeypot (hidden from humans) */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
/* submission error notice */
.form-error { display: none; margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(192,57,43,0.08); border: 1px solid rgba(192,57,43,0.4); color: #c0392b; font-size: 14px; }
.form-error.show { display: block; }

/* multi-step (apply) */
.steps-bar { display: flex; gap: 8px; margin-bottom: 34px; }
.steps-bar .sb { flex: 1; min-width: 0; overflow-wrap: break-word; text-align: center; padding-bottom: 12px; border-bottom: 2px solid var(--line); color: var(--muted-2); font-family:"Oswald",sans-serif; letter-spacing: 1px; font-size: 13px; }
.steps-bar .sb.active { color: var(--gold); border-bottom-color: var(--gold); }
.steps-bar .sb.done { color: var(--ink); border-bottom-color: rgba(0,149,182,0.5); }
.fstep { display: none; } .fstep.active { display: block; animation: fade .4s var(--ease); }
/* step heading + intro spacing/hierarchy */
.fstep .eyebrow { margin-bottom: 12px; }
.fstep h3 { font-size: 24px; margin-bottom: 10px; }
.fstep > p:not(.eyebrow) { color: var(--muted); line-height: 1.6; margin-bottom: 28px; }
@keyframes fade { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:none} }
.form-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }

/* consent checkbox — readable body text, not the uppercase field label */
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.55; color: var(--muted); text-transform: none; letter-spacing: 0; margin-top: 4px; cursor: pointer; }
.consent input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); flex: 0 0 auto; }

/* contact info list — aligned icon + label/value rows */
.info-list { display: grid; gap: 0; margin: 6px 0 4px; }
.info-row { display: flex; align-items: center; gap: 16px; padding: 18px 2px; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row svg.ic { width: 22px; height: 22px; flex: 0 0 auto; }
.info-row .k { display: block; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted-2); margin-bottom: 3px; }
.info-row .v { font-size: 17px; color: var(--ink); font-weight: 500; text-decoration: none; }
.info-row a.v:hover { color: var(--gold); }

/* ========================= 10. FOOTER ========================= */
.footer { background: var(--black-2); border-top: 1px solid var(--line); padding: clamp(50px,8vh,80px) 0 30px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand p { color: var(--muted); margin-top: 18px; max-width: 320px; font-size: 15px; }
.footer-col h4 { font-size: 15px; letter-spacing: 2px; color: var(--gold); margin-bottom: 18px; text-transform: uppercase; }
.footer-col a, .footer-col p { display: block; color: var(--muted); text-decoration: none; font-size: 14px; margin-bottom: 12px; transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted-2); font-size: 13px; }
.socials { display: flex; gap: 14px; }
.socials a { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--gold); text-decoration: none; transition: .2s; }
.socials a:hover { background: var(--gold); color: #ffffff; }
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }

/* long-form legal / prose pages */
.prose { max-width: 800px; margin-inline: auto; }
.prose .updated { color: var(--muted-2); font-size: 14px; letter-spacing: .5px; margin-bottom: 36px; }
.prose h2 { font-size: clamp(22px,2.4vw,28px); margin: 44px 0 14px; }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { font-size: 18px; margin: 26px 0 10px; color: var(--ink); }
.prose p { color: var(--muted); line-height: 1.75; margin-bottom: 16px; }
.prose ul { color: var(--muted); line-height: 1.7; margin: 0 0 18px 22px; }
.prose li { margin-bottom: 9px; }
.prose a { color: var(--gold); }
.prose strong { color: var(--ink); }

/* ========================= RESPONSIVE ========================= */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  /* remove backdrop-filter so it doesn't trap the fixed menu inside the navbar's box */
  .nav { backdrop-filter: none; -webkit-backdrop-filter: none; }
  /* hide-on-scroll-down, reveal-on-scroll-up (mobile only) */
  .nav.nav--hidden { transform: translateY(-100%); }
  .nav-links { position: fixed; inset: 0; width: 100%; height: 100vh; height: 100dvh; flex-direction: column; justify-content: center; align-items: center; gap: 30px; background: #ffffff; padding: 40px; transform: translateX(100%); transition: transform .35s var(--ease); z-index: 60; }
  .nav-links.open { transform: none; }
  .nav-links a { font-size: 21px; }
  .nav-toggle { display: flex; position: relative; z-index: 70; }
  .nav.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .btn-apply { display: none; }
}
@media (max-width: 760px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; } .split.rev > :first-child { order: 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  /* ============================================================
     MOBILE HOME HERO — no 560vh scroll story. One screen, one goal:
     get the tired driver to the application in a single tap.
     The video autoplays/loops (JS) instead of scroll-scrubbing.
     ============================================================ */
  body.home { min-height: 0; }
  .scroll-track { height: auto; padding-bottom: clamp(48px, 9vh, 80px); }
  .stage { position: relative; height: auto; min-height: 0; display: block; overflow: visible; }
  /* video + overlay cover only the first viewport, not the form below it */
  .bg-glow, .hero-video, .hero-overlay { position: absolute; inset: 0 0 auto 0; height: 100svh; }
  .hero-video { object-fit: cover; }
  .hero-overlay {
    background: linear-gradient(180deg,
      rgba(255,255,255,0.35) 0%, rgba(255,255,255,0) 26%,
      rgba(255,255,255,0) 52%, rgba(255,255,255,0.72) 82%, #ffffff 100%);
  }
  /* scroll-story pieces are meaningless without the long scroll — hide them */
  .intro, .beats, .scroll-cue { display: none !important; }

  /* the quick-start hero */
  .m-hero {
    display: flex; position: relative; z-index: 6;
    min-height: 100svh; box-sizing: border-box;
    flex-direction: column; justify-content: flex-start;
    gap: 14px; text-align: center;
    padding: 112px 22px calc(38px + env(safe-area-inset-bottom));
  }
  .m-hero-title {
    font-family: "Oswald", sans-serif; font-weight: 700; line-height: 1.04;
    font-size: clamp(38px, 11vw, 56px); letter-spacing: .5px; color: #111418;
    text-shadow: 0 2px 22px rgba(255,255,255,0.65);
  }
  .m-hero-sub {
    color: #2a3138; font-size: clamp(15px, 4.2vw, 18px); line-height: 1.5;
    max-width: 30ch; margin: 2px auto 6px; font-weight: 500;
    text-shadow: 0 1px 14px rgba(255,255,255,0.7);
  }
  .m-hero-cta {
    margin-top: auto; /* text stays at the top; button + call link drop to the bottom */
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    text-decoration: none; color: #fff; background: var(--gold);
    font-family: "Oswald", sans-serif; font-weight: 700; letter-spacing: 1.5px;
    font-size: 21px; text-transform: uppercase;
    padding: 18px 24px; border-radius: 14px;
    box-shadow: 0 14px 34px rgba(0,149,182,0.42);
    animation: mCtaPulse 2.6s var(--ease) infinite;
  }
  .m-hero-cta span {
    font-family: "Inter", sans-serif; font-weight: 500; letter-spacing: .5px;
    font-size: 13px; text-transform: none; opacity: .92;
  }
  .m-hero-cta:active { transform: scale(.98); }
  @keyframes mCtaPulse {
    0%, 100% { box-shadow: 0 14px 34px rgba(0,149,182,0.42); }
    50% { box-shadow: 0 14px 40px rgba(0,149,182,0.62); }
  }
  .m-hero-call {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    text-decoration: none; color: var(--gold); font-weight: 600; font-size: 15px;
    padding: 6px; text-shadow: 0 1px 12px rgba(255,255,255,0.8);
  }
  .m-hero-call svg.ic { width: 18px; height: 18px; }

  /* application: a normal, static card right under the hero — one tap from the button */
  .apply-card {
    position: static; transform: none !important; opacity: 1 !important;
    pointer-events: auto !important; left: auto; right: auto;
    width: min(480px, 92vw); margin: 4px auto 0; scroll-margin-top: 90px;
  }

  .beat { width: 92vw; }
  .beat p { margin-inline: auto; }
  /* compact wizard step bar */
  .steps-bar { gap: 4px; }
  .steps-bar .sb { font-size: 10px; letter-spacing: 0; padding-bottom: 8px; }
  /* keep stats readable, not razor-thin */
  .stat { padding: 24px 12px; }
  .stat .num { font-size: clamp(28px,9vw,40px); }
}
@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .page-hero { padding-top: clamp(120px,20vh,160px); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-dot i { animation: none; }
  .m-hero-cta { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
