/* Drive KC — careers page styles (moved out of careers.html Oct 21 2026) */
    /* ╔══════════════════════════════════════════════════════╗
       ║  DRIVE KC — Careers Application                     ║
       ╚══════════════════════════════════════════════════════╝ */

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

    :root {
      --bg:       #07090f;
      --bg2:      #0e1420;
      --bg3:      #17202e;
      --bg4:      #1d2a3e;
      --border:   rgba(255,255,255,0.07);
      --border2:  rgba(255,255,255,0.13);
      --gold:     #f5a623;
      --gold-dim: rgba(245,166,35,0.10);
      --red:      #E31837;
      --red-dark: #b8102c;
      --red-dim:  rgba(227,24,55,0.12);
      --green:    #22c55e;
      --text:     #eef1f8;
      --text2:    #7a8ca8;
      --text3:    #3f5066;
      --display:  'Bebas Neue', cursive;
      --body:     'DM Sans', system-ui, sans-serif;
      --mono:     'JetBrains Mono', monospace;
      --max:      980px;
      --r:        12px;
      --r-sm:     8px;
    }
    /* Light theme (theme-spec.md, Nov 4 2026): same tokens as site.css; dark above stays the default */
    :root[data-theme=light] {
      --bg:       #f4f6fa;
      --bg2:      #ffffff;
      --bg3:      #e7ebf2;
      --bg4:      #dde3ec;
      --border:   rgba(10,20,40,0.08);
      --border2:  rgba(10,20,40,0.16);
      --gold:     #c47a08;
      --gold-dim: rgba(196,122,8,0.10);
      --text:     #0b1220;
      --text2:    #4a5a74;
      --text3:    #8a98ad;
      color-scheme: light;
    }

    html { scroll-behavior: smooth; }
    body {
      font-family: var(--body);
      background: var(--bg);
      color: var(--text);
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
      min-height: 100vh;
    }

    ::-webkit-scrollbar { width: 5px; }
    ::-webkit-scrollbar-track { background: var(--bg); }
    ::-webkit-scrollbar-thumb { background: var(--bg4); border-radius: 3px; }
    ::-webkit-scrollbar-thumb:hover { background: var(--border2); }

    /* NAV */
    #nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      background: rgba(7,9,15,0.94);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      border-bottom: 1px solid var(--border);
    }
    .nav-inner {
      max-width: 1160px;
      margin: 0 auto;
      padding: 0 24px;
      height: 66px;
      display: flex;
      align-items: center;
      gap: 24px;
    }
    .nav-logo {
      font-family: var(--display);
      font-size: 30px;
      letter-spacing: 1.5px;
      text-decoration: none;
      color: var(--text);
      flex-shrink: 0;
    }
    .nav-logo span { color: var(--gold); }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 2px;
      margin-left: auto;
      list-style: none;
    }
    .nav-links a {
      color: var(--text2);
      text-decoration: none;
      font-size: 14px;
      font-weight: 500;
      padding: 8px 14px;
      border-radius: var(--r-sm);
      transition: color 0.15s, background 0.15s;
    }
    .nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
    .nav-links .thm {
      width: 34px; height: 34px; margin-left: 6px; padding: 0;
      display: inline-flex; align-items: center; justify-content: center;
      border-radius: 999px; border: 1px solid var(--border2);
      background: var(--bg3); color: var(--text2); cursor: pointer;
    }
    .nav-links .thm:hover { color: var(--gold); border-color: var(--gold); }
    .nav-back {
      background: rgba(255,255,255,0.07) !important;
      border: 1px solid var(--border2);
      color: var(--text) !important;
    }
    @media (max-width: 560px) {
      .nav-links li:not(:last-child) { display: none; }
    }

    /* HEADER */
    #header {
      position: relative;
      padding: 130px 24px 56px;
      text-align: center;
      border-bottom: 1px solid var(--border);
      background:
        radial-gradient(circle at 20% 0%, rgba(245,166,35,0.08), transparent 50%),
        radial-gradient(circle at 80% 100%, rgba(227,24,55,0.08), transparent 50%),
        var(--bg);
    }
    .h-kicker {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--gold-dim);
      border: 1px solid rgba(245,166,35,0.22);
      border-radius: 999px;
      padding: 6px 18px;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 18px;
    }
    .h-kicker::before {
      content: '';
      width: 6px; height: 6px;
      background: var(--gold);
      border-radius: 50%;
    }
    .h-title {
      font-family: var(--display);
      font-size: clamp(48px, 9vw, 92px);
      line-height: 0.92;
      letter-spacing: 2px;
      margin-bottom: 14px;
    }
    .h-title .accent { color: var(--gold); }
    .h-sub {
      font-size: clamp(14px, 1.8vw, 17px);
      color: var(--text2);
      max-width: 56ch;
      margin: 0 auto;
      line-height: 1.6;
    }

    /* FORM SECTION */
    #form-section {
      padding: 56px 24px 100px;
    }
    .form-wrap {
      max-width: var(--max);
      margin: 0 auto;
    }

    /* STEPPER */
    .stepper {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0;
      margin-bottom: 36px;
      flex-wrap: wrap;
    }
    .step-pill {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 8px 14px;
    }
    .step-num {
      width: 28px; height: 28px;
      border-radius: 50%;
      background: var(--bg3);
      border: 1px solid var(--border2);
      color: var(--text2);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 13px;
      font-weight: 700;
      flex-shrink: 0;
      transition: background 0.2s, border-color 0.2s, color 0.2s;
    }
    .step-lbl {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 1.2px;
      text-transform: uppercase;
      color: var(--text2);
      transition: color 0.2s;
    }
    @media (max-width: 560px) { .step-lbl { display: none; } }
    .step-pill.active .step-num {
      background: var(--gold);
      border-color: var(--gold);
      color: #000;
    }
    .step-pill.active .step-lbl { color: var(--gold); }
    .step-pill.done .step-num {
      background: rgba(34,197,94,0.15);
      border-color: var(--green);
      color: var(--green);
    }
    .step-pill.done .step-lbl { color: var(--green); }
    .step-sep {
      width: 32px;
      height: 1px;
      background: var(--border2);
    }
    @media (max-width: 560px) { .step-sep { width: 14px; } }

    /* CARD */
    .card {
      background: var(--bg2);
      border: 1px solid var(--border);
      border-radius: var(--r);
      padding: 36px;
    }
    @media (max-width: 560px) { .card { padding: 24px 20px; } }
    .card-title {
      font-family: var(--display);
      font-size: 30px;
      letter-spacing: 1px;
      margin-bottom: 6px;
    }
    .card-desc {
      font-size: 14px;
      color: var(--text2);
      margin-bottom: 26px;
      line-height: 1.6;
    }

    /* CHOICE GRID (locations, jobs) */
    .choice-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 14px;
    }
    .choice {
      background: var(--bg3);
      border: 1px solid var(--border2);
      border-radius: var(--r);
      padding: 22px;
      cursor: pointer;
      text-align: left;
      color: var(--text);
      font-family: var(--body);
      transition: transform 0.15s, border-color 0.15s, background 0.15s;
      position: relative;
      overflow: hidden;
    }
    .choice:hover {
      border-color: var(--gold);
      transform: translateY(-2px);
    }
    .choice.selected {
      border-color: var(--gold);
      background: linear-gradient(180deg, rgba(245,166,35,0.10), rgba(245,166,35,0.02));
    }
    .choice.selected::after {
      content: '✓';
      position: absolute;
      top: 14px; right: 14px;
      width: 24px; height: 24px;
      background: var(--gold);
      color: #000;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 14px;
    }
    .choice-code {
      font-family: var(--mono);
      font-size: 11px;
      color: var(--gold);
      font-weight: 500;
      letter-spacing: 1px;
      text-transform: uppercase;
      margin-bottom: 8px;
    }
    .choice-name {
      font-family: var(--display);
      font-size: 22px;
      letter-spacing: 0.8px;
      color: var(--text);
      margin-bottom: 6px;
    }
    .choice-meta {
      font-size: 13px;
      color: var(--text2);
      line-height: 1.5;
    }

    /* FIELDS */
    .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    .row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
    @media (max-width: 560px) { .row2, .row3 { grid-template-columns: 1fr; } }
    .f { margin-bottom: 16px; }
    .l {
      display: block;
      font-size: 10.5px;
      font-weight: 600;
      letter-spacing: 0.8px;
      text-transform: uppercase;
      color: var(--text2);
      margin-bottom: 7px;
    }
    .l .req { color: var(--red); margin-left: 2px; }
    .in, .sel, .ta {
      width: 100%;
      background: var(--bg3);
      border: 1px solid var(--border2);
      border-radius: var(--r-sm);
      padding: 11px 14px;
      font-family: var(--body);
      font-size: 15px;
      color: var(--text);
      outline: none;
      transition: border-color 0.15s;
      -webkit-appearance: none;
    }
    .in:focus, .sel:focus, .ta:focus { border-color: var(--gold); }
    .in::placeholder, .ta::placeholder { color: var(--text3); }
    .ta { resize: vertical; min-height: 100px; }
    .sel option { background: var(--bg3); color: var(--text); }
    @media (max-width: 767px) { .in, .sel, .ta { font-size: 16px; } }

    /* Radio / Yes-No pills */
    .radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
    .radio-pill {
      flex: 1;
      min-width: 100px;
      position: relative;
    }
    .radio-pill input { position: absolute; opacity: 0; pointer-events: none; }
    .radio-pill label {
      display: block;
      padding: 11px 14px;
      background: var(--bg3);
      border: 1px solid var(--border2);
      border-radius: var(--r-sm);
      font-size: 14px;
      text-align: center;
      cursor: pointer;
      transition: background 0.15s, border-color 0.15s, color 0.15s;
      color: var(--text2);
    }
    .radio-pill label:hover { color: var(--text); border-color: var(--gold); }
    .radio-pill input:checked + label {
      background: rgba(245,166,35,0.10);
      border-color: var(--gold);
      color: var(--gold);
      font-weight: 600;
    }

    /* File upload */
    .file-drop {
      display: block;
      width: 100%;
      box-sizing: border-box;
      background: var(--bg3);
      border: 1.5px dashed var(--border2);
      border-radius: var(--r-sm);
      padding: 28px 22px;
      text-align: center;
      cursor: pointer;
      transition: border-color 0.15s, background 0.15s;
    }
    .file-drop:hover, .file-drop.drag {
      border-color: var(--gold);
      background: rgba(245,166,35,0.04);
    }
    .file-drop input[type=file] { display: none; }
    .fd-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 44px; height: 44px;
      margin: 0 auto 10px;
      border-radius: 50%;
      background: var(--gold-dim);
      border: 1px solid rgba(245,166,35,0.22);
      color: var(--gold);
    }
    .fd-txt { font-size: 14px; color: var(--text2); }
    .fd-txt strong { color: var(--gold); }
    .fd-hint { font-size: 11px; color: var(--text3); margin-top: 6px; letter-spacing: 0.3px; }
    .fd-file {
      display: none;
      align-items: center;
      gap: 10px;
      padding: 12px 14px;
      background: rgba(34,197,94,0.08);
      border: 1px solid rgba(34,197,94,0.22);
      border-radius: var(--r-sm);
      color: #86efac;
      font-size: 14px;
      margin-top: 10px;
    }
    .fd-file.show { display: flex; }
    .fd-file .x {
      margin-left: auto;
      background: none;
      border: none;
      color: #86efac;
      cursor: pointer;
      font-size: 18px;
      padding: 0 6px;
    }

    /* BUTTONS */
    .actions {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      margin-top: 28px;
      flex-wrap: wrap;
    }
    .btn {
      padding: 13px 26px;
      border-radius: var(--r-sm);
      font-family: var(--body);
      font-size: 15px;
      font-weight: 600;
      border: none;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      text-decoration: none;
      transition: opacity 0.15s, transform 0.15s, background 0.15s;
    }
    .btn-primary {
      background: var(--gold);
      color: #000;
    }
    .btn-primary:hover:not(:disabled) { opacity: 0.92; transform: translateY(-1px); }
    .btn-primary:disabled { opacity: 0.4; cursor: not-allowed; }
    .btn-ghost {
      background: rgba(255,255,255,0.05);
      color: var(--text);
      border: 1px solid var(--border2);
    }
    .btn-ghost:hover { background: rgba(255,255,255,0.10); }
    .btn-submit {
      background: var(--red);
      color: #fff;
      box-shadow: 0 4px 22px rgba(227,24,55,0.4);
    }
    .btn-submit:hover:not(:disabled) { background: var(--red-dark); transform: translateY(-1px); }
    .btn-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

    /* FEEDBACK */
    .fb {
      margin-top: 14px;
      padding: 12px 16px;
      border-radius: var(--r-sm);
      font-size: 14px;
      display: none;
    }
    .fb.ok {
      background: rgba(34,197,94,0.09);
      border: 1px solid rgba(34,197,94,0.22);
      color: #86efac;
      display: block;
    }
    .fb.err {
      background: var(--red-dim);
      border: 1px solid rgba(227,24,55,0.25);
      color: #fca5a5;
      display: block;
    }

    /* SUCCESS SCREEN */
    .success {
      text-align: center;
      padding: 40px 20px;
    }
    .success-icon {
      width: 72px; height: 72px;
      margin: 0 auto 20px;
      background: rgba(34,197,94,0.12);
      border: 2px solid var(--green);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--green);
      font-size: 36px;
      font-weight: 700;
    }
    .success h2 {
      font-family: var(--display);
      font-size: 38px;
      letter-spacing: 1.5px;
      margin-bottom: 10px;
    }
    .success p {
      color: var(--text2);
      max-width: 44ch;
      margin: 0 auto;
      line-height: 1.6;
    }

    /* Step visibility */
    .step { display: none; }
    .step.active { display: block; animation: stepIn 0.3s ease both; }
    @keyframes stepIn {
      from { opacity: 0; transform: translateY(8px); }
      to { opacity: 1; transform: none; }
    }

    /* FOOTER */
    footer {
      background: var(--bg2);
      border-top: 1px solid var(--border);
      padding: 36px 24px 24px;
    }
    .footer-wrap {
      max-width: var(--max);
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }
    .footer-copy { font-size: 12px; color: var(--text3); }
    .footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
    .footer-legal a { font-size: 12px; color: var(--text3); text-decoration: none; transition: color 0.15s; }
    .footer-legal a:hover { color: var(--text2); }

/* Header photo (Oct 21 2026): a real image on the page, dimmed behind the title */
#header { position: relative; overflow: hidden; }
#header .h-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; opacity: .22; z-index: 0; pointer-events: none; }
#header > :not(.h-img) { position: relative; z-index: 1; }

/* Roles section (Oct 21 2026) */
#roles { padding: 56px 24px 8px; }
.roles-wrap { max-width: var(--max); margin: 0 auto; }
.roles-h { font-family: var(--display); font-size: 34px; letter-spacing: 2px; margin-bottom: 10px; }
.roles-sub { color: var(--text2); font-size: 15px; line-height: 1.65; max-width: 70ch; margin-bottom: 26px; }
.roles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 720px) { .roles-grid { grid-template-columns: 1fr; } }
.role { background: var(--bg3); border: 1px solid var(--border); border-radius: 12px; padding: 20px 22px; }
.role h3 { font-family: var(--display); font-size: 22px; letter-spacing: 1px; margin-bottom: 8px; color: var(--gold); }
.role p { color: var(--text2); font-size: 14px; line-height: 1.65; }
.roles-foot { margin-top: 22px; color: var(--text2); font-size: 14px; line-height: 1.6; }
.roles-foot a { color: var(--gold); }

    /* ── Light theme overrides (Nov 4 2026) ── */
    /* Light theme nav: the home hero keeps its dark photo, so the bar is always solid-ish in light */
    [data-theme=light] #nav, [data-theme=light] #nav.scrolled { background: rgba(244,246,250,0.94); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom-color: var(--border); }
    [data-theme=light] #nav.scrolled { box-shadow: 0 6px 32px rgba(10,20,40,0.10); }
    [data-theme=light] .nav-links a:hover { background: rgba(10,20,40,0.05); }
    [data-theme=light] .btn-ghost { background: rgba(10,20,40,0.05); }
    [data-theme=light] .btn-ghost:hover { background: rgba(10,20,40,0.10); }
    [data-theme=light] .nav-back { background: rgba(10,20,40,0.05) !important; }
    [data-theme=light] .fd-file, [data-theme=light] .fd-file .x, [data-theme=light] .fb.ok { color: #15803d; }
    [data-theme=light] .fb.err { color: #b91c1c; }
