/* /careers/ — страница найма. Корпоративная сетка: hero → факты → секции с CTA → форма.
   Токены сайта: --accent-yellow, Druk (заголовки), Roboto (текст), чёрный фон. */

body, html { background-color: #000; }

#careers {
    --ink: #e8e8e8;
    --muted: #a9a9b4;
    --line: #ffffff22;
    --panel: #0b1020;
    --panel-2: #060913;
    color: var(--ink);
}

#careers h1, #careers h2, #careers h3 {
    font-family: "Druk", "Roboto", system-ui, sans-serif;
    font-style: italic;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
    text-wrap: balance;
}
#careers h2 {
    font-size: 4.2rem;
    color: var(--accent-yellow);
    margin-bottom: 1.6rem;
}
#careers h3 {
    font-size: 2.4rem;
    color: #fff;
    margin-bottom: 1rem;
}
#careers p, #careers li {
    font-size: 1.7rem;
    line-height: 1.55;
    font-weight: 300;
    color: var(--ink);
}
#careers b { color: var(--accent-yellow); font-weight: 600; }
#careers a:not(.btn):not(.btn-ghost) { color: var(--accent-yellow); text-underline-offset: 3px; text-decoration-thickness: 1px; }
#careers section { padding-block: 9rem; }
#careers .section-lead {
    max-width: 78rem;
    font-size: 1.9rem;
    color: var(--muted);
    margin-bottom: 4rem;
}
#careers .eyebrow {
    font-size: 1.3rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--accent-yellow);
    margin-bottom: 1.6rem;
}

/* кнопки: сайтовая .btn.-yellow + второстепенная */
#careers .btn { max-width: none; height: 5rem; padding-inline: 3rem; font-size: 1.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
#careers .btn-ghost {
    display: inline-flex; align-items: center; height: 5rem; padding-inline: 2.6rem;
    font-size: 1.5rem; font-weight: 600; letter-spacing: .03em; color: #fff; text-decoration: none;
    border: 1px solid #ffffff88; transition: border-color .2s, background .2s;
}
#careers .btn-ghost:hover { border-color: var(--accent-yellow); background: #ffffff10; }
#careers .cta-row {
    margin-top: 4.5rem;
    display: flex; flex-wrap: wrap; align-items: center; gap: 2rem 3rem;
}
#careers .cta-note { font-size: 1.5rem; color: var(--muted); }

/* ===== HERO ===== */
.hero {
    position: relative; isolation: isolate;
    padding-block: 16rem 0 !important;
    /* keep the hero as tall as the 16:9 artwork so the superhero is not cropped when copy is short */
    min-height: min(56.25vw, 92vh);
    display: grid; align-content: end; gap: 7rem;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 62%; display: block; filter: brightness(.55) contrast(1.1) saturate(.9); }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(to right, #00000066 0%, #00000026 45%, transparent 100%),
                linear-gradient(to top, #000 0%, transparent 18%);
}
.hero-inner { max-width: 100rem; }
.hero h1 {
    font-size: min(6rem, 5.8vw);   /* two lines exactly: the <br> is the only break */
    white-space: nowrap;
    color: #fff;
    margin-bottom: 2.4rem;
}
.hero h1::after { content: ""; display: block; width: 9rem; height: .6rem; background: var(--accent-yellow); margin-top: 2.4rem; }
.hero .lead { font-size: 2rem; max-width: 70rem; color: #ddd; margin-bottom: 3.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1.6rem; }

.stats {
    list-style: none;
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: var(--accent-yellow);
    color: #000;
    transform: translateY(5rem);
    margin-top: -5rem;
    box-shadow: 0 20px 60px #00000099;
}
.stats li {
    padding: 2.4rem 2.2rem;
    display: grid; gap: .4rem;
    border-right: 1px solid #00000022;
    color: #000;
}
.stats li:last-child { border-right: 0; }
.stats strong {
    font-family: "Druk", "Roboto", system-ui, sans-serif; font-style: italic; font-weight: 900; text-transform: uppercase;
    font-size: 3rem; line-height: 1; color: #000;
    font-variant-numeric: tabular-nums;
}
.stats strong small { font-size: 1.6rem; font-family: inherit; }
.stats span { font-size: 1.3rem; line-height: 1.3; color: #111; font-weight: 500; }

/* ===== GLANCE ===== */
.glance { background: #000; }
.glance-grid {
    list-style: none;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
    margin-top: 3rem;
}
.glance-grid li {
    padding: 3rem 2.8rem;
    background: var(--panel);
    border: 1px solid var(--line);
    border-top: 4px solid var(--accent-yellow);
    display: grid; gap: 1.2rem; align-content: start;
}
.glance-grid svg { width: 3.6rem; height: 3.6rem; fill: none; stroke: var(--accent-yellow); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.glance-grid h3 { font-size: 2.2rem; margin: 0; }
.glance-grid p { font-size: 1.55rem; color: var(--muted); margin: 0; }

/* ===== LANES ===== */
.lanes { background: linear-gradient(to bottom, #000, var(--panel-2)); }
.lane-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; }
.lane {
    padding: 4rem 3.6rem;
    background: var(--panel);
    border: 1px solid var(--line);
    display: grid; gap: 1.8rem; align-content: start;
    scroll-margin-top: 12rem;
}
.lane .tag { font-size: 1.3rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--accent-yellow); margin: 0; }
.lane h3 { font-size: 3rem; margin: 0; }
.lane ul { list-style: none; display: grid; gap: 1rem; }
.lane li { padding-left: 2.4rem; position: relative; font-size: 1.6rem; color: var(--ink); }
.lane li::before { content: ""; position: absolute; left: 0; top: .9rem; width: 1.2rem; height: .3rem; background: var(--accent-yellow); }
.lane .reqs { font-size: 1.45rem; color: var(--muted); padding-top: 1.4rem; border-top: 1px solid var(--line); margin: 0; }
.lane .btn { justify-self: start; }

/* ===== NUMBERS ===== */
.numbers { background: var(--panel-2); scroll-margin-top: 10rem; }
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; align-items: stretch; }
.tier {
    padding: 3.4rem 3rem;
    background: #000;
    border: 1px solid var(--line);
    display: grid; gap: 1.6rem; align-content: start;
}
.tier.-featured { border-color: var(--accent-yellow); box-shadow: 0 0 0 1px var(--accent-yellow) inset; }
.tier-name { font-size: 1.3rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--accent-yellow); margin: 0; }
.tier-amount {
    font-family: "Druk", "Roboto", system-ui, sans-serif; font-style: italic; font-weight: 900; text-transform: uppercase;
    font-size: 3.4rem; line-height: 1; color: #fff; margin: 0;
    font-variant-numeric: tabular-nums;
}
.tier-amount span { display: block; font-family: "Roboto", system-ui, sans-serif; font-style: normal; font-weight: 300; text-transform: none; font-size: 1.4rem; color: var(--muted); margin-top: .8rem; }
.tier ul { list-style: none; display: grid; gap: .8rem; }
.tier li { font-size: 1.55rem; color: var(--ink); padding-left: 2rem; position: relative; }
.tier li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-yellow); font-weight: 700; }

/* ===== SUPERHERO STORY ===== */
.hero-story { background: #000; }
.story-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 6rem; align-items: center; }
.story-copy h2 { color: #fff; font-size: 3.8rem; margin-bottom: 2.4rem; }
.story-copy p { color: var(--ink); margin-bottom: 1.8rem; }
.story-copy p:last-of-type { color: var(--accent-yellow); font-weight: 500; }
.story-copy .btn { margin-top: 1.6rem; }
.story-media { margin: 0; display: grid; gap: 1.2rem; }
.story-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); }
.story-media figcaption { font-size: 1.4rem; color: var(--muted); }

/* ===== BACKED ===== */
.backed { background: var(--panel-2); }
.backed-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.backed-grid article { background: #000; border: 1px solid var(--line); display: grid; grid-template-rows: auto auto 1fr; }
.backed-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.backed-grid h3 { font-size: 2.1rem; margin: 2rem 2.2rem 0; }
.backed-grid p { font-size: 1.5rem; color: var(--muted); margin: 1rem 2.2rem 2.4rem; }

/* ===== STEPS ===== */
.steps { background: #000; }
.step-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: none; }
.step-grid li { padding: 3rem 2.8rem; background: var(--panel); border: 1px solid var(--line); display: grid; gap: 1.2rem; align-content: start; }
.step-no {
    width: 5.2rem; height: 5.2rem; display: grid; place-items: center;
    font-family: "Druk", "Roboto", system-ui, sans-serif; font-style: italic; font-weight: 900; font-size: 2.6rem; color: #000;
    background: var(--accent-yellow);
}
.step-grid h3 { font-size: 2.2rem; margin: 0; }
.step-grid p { font-size: 1.55rem; color: var(--muted); margin: 0; }

/* ===== TRUST ===== */
.trust { background: var(--panel-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust h2 { font-size: 3.2rem; }
.trust-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem 3rem; margin-top: 2.4rem; }
.trust-grid li { padding: 2rem 0; border-top: 1px solid var(--line); display: grid; gap: .6rem; }
.trust-grid strong { font-family: "Druk", "Roboto", system-ui, sans-serif; font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 2.4rem; color: #fff; }
.trust-grid span { font-size: 1.45rem; color: var(--muted); }

/* ===== FAQ ===== */
.faq { background: #000; }
.faq-list { display: grid; gap: .8rem; max-width: 96rem; }
.faq-list details { background: var(--panel); border: 1px solid var(--line); }
.faq-list summary {
    cursor: pointer; list-style: none;
    padding: 2rem 2.4rem;
    font-size: 1.8rem; font-weight: 600; color: #fff;
    display: flex; justify-content: space-between; align-items: center; gap: 2rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 2.6rem; line-height: 1; color: var(--accent-yellow); flex: none; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { padding: 0 2.4rem 2.2rem; color: var(--muted); font-size: 1.6rem; margin: 0; }

/* ===== STICKY CTA (phones) ===== */
.sticky-cta { display: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1150px) {
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stats li:nth-child(even) { border-right: 0; }
    .stats li { border-bottom: 1px solid #00000022; }
    .glance-grid, .tier-grid, .step-grid, .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .backed-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
    #careers section { padding-block: 6.5rem; }
    #careers h2 { font-size: 3.2rem; }
    .hero { min-height: 56.25vw; padding-top: 13rem !important; gap: 5rem; }
    .hero h1 { font-size: min(6rem, 5.8vw); }
    .hero .lead { font-size: 1.7rem; }
    .stats { grid-template-columns: 1fr 1fr; transform: none; margin-top: 0; }
    .stats li:nth-child(3) { border-right: 1px solid #00000022; }
    .stats li:nth-child(even) { border-right: 0; }
    .stats strong { font-size: 2.4rem; }
    .glance { padding-top: 6.5rem !important; }
    .glance-grid, .lane-grid, .tier-grid, .step-grid, .backed-grid, .trust-grid, .story-grid { grid-template-columns: 1fr; }
    .story-media { order: -1; }
    .lane { padding: 3rem 2.4rem; }
    .lane h3 { font-size: 2.5rem; }
    .tier-amount { font-size: 2.9rem; }
    .cta-row .btn { width: 100%; justify-content: center; }
    .sticky-cta {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
        display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center;
        padding: 1rem 1.4rem calc(1rem + env(safe-area-inset-bottom, 0px));
        background: #000000ee; border-top: 1px solid var(--line); backdrop-filter: blur(6px);
    }
    .sticky-cta .btn { height: 4.6rem; justify-content: center; }
    .sticky-call { font-size: 1.4rem; color: #fff; text-decoration: none; white-space: nowrap; }
    #apply { padding-bottom: 9rem; }
}
@media (prefers-reduced-motion: reduce) {
    #careers .btn-ghost { transition: none; }
}

.lane-foot { margin-top: 2.4rem; display: grid; gap: 1rem; max-width: 100rem; }
.lane-foot p { font-size: 1.5rem; color: var(--muted); margin: 0; }

/* big annual number in hero */
.hero-number {
    display: flex; align-items: baseline; flex-wrap: wrap; gap: 1.2rem 2.4rem;
    margin: 0 0 3.4rem;
    padding-left: 2rem; border-left: .6rem solid var(--accent-yellow);
}
.hero-number strong {
    font-family: "Druk", "Roboto", system-ui, sans-serif; font-style: italic; font-weight: 900; text-transform: uppercase;
    font-size: clamp(5.6rem, 9vw, 11rem); line-height: .9; color: var(--accent-yellow);
    font-variant-numeric: tabular-nums; letter-spacing: -.01em;
}
.hero-number span { font-size: 1.6rem; line-height: 1.3; color: #ddd; font-weight: 400; text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 820px) {
    .hero-number { padding-left: 1.4rem; margin-bottom: 2.6rem; }
    .hero-number span { font-size: 1.3rem; }
}

/* glance: image cards, 4 x 2 */
.glance-grid { grid-template-columns: repeat(4, 1fr); gap: 1.8rem; }
.glance-grid li { padding: 0; gap: 0; grid-template-rows: auto 1fr; border-top: 4px solid var(--accent-yellow); }
.glance-grid li img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.glance-grid .txt { padding: 2.2rem 2.2rem 2.6rem; display: grid; gap: 1rem; align-content: start; }
.glance-grid h3 { font-size: 2.1rem; }
.glance-grid p { font-size: 1.45rem; }
@media (max-width: 1150px) { .glance-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px)  { .glance-grid { grid-template-columns: 1fr; } .glance-grid li img { aspect-ratio: 16 / 9; } }

.glance-grid .line2 { color: var(--accent-yellow); font-weight: 400; }

/* Druk Trial has no $, /, + glyphs → they fall back to Roboto; make the fallback heavy italic so it blends */
#careers h1, #careers h2, #careers h3, #careers .stats strong, #careers .hero-number strong, #careers .tier-amount, #careers .step-no, #careers .trust-grid strong {
    font-synthesis: weight style;
}
#careers .stats strong small { font-size: .55em; letter-spacing: 0; }

/* buttons on this page: single label, no marquee (the site's running-text hover needs a fixed max-width) */
#careers .btn .btn__marquee span[aria-hidden="true"] { display: none; }
#careers .btn .btn__marquee span { padding-right: 0; }
#careers .btn:is(:hover, :focus-visible) .btn__marquee { animation: none; }
#careers .btn { transition: background-color .2s, border-color .2s, transform .15s; }
#careers .btn:is(:hover, :focus-visible) { background-color: #fff; border-color: var(--accent-yellow); transform: translateY(-1px); }

/* USDOT / MC / SCAC band after the cards (same look as the service pages) */
#careers .mcdot-band { padding-block: 0 !important; background: #000; }
/* same two slants as the service pages: hero's bottom (thick left → thin right, black hairline on top)
   and MCDOT's bottom-line (thin left → thick right); heights come from the viewBox, not from CSS */
#careers .mcdot-band svg.top-line { display: block; width: 100%; fill: var(--accent-yellow); stroke: #000; }
#careers .mcdot-band svg.bottom-line { display: block; width: 100%; }


/* ===== WHO QUALIFIES ===== */
.qualify { background: linear-gradient(to bottom, #000, var(--panel-2)); }
.qualify-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 6rem; align-items: center; }
.qualify-copy h2 { margin-bottom: 2rem; }
.qualify-copy p { color: var(--muted); margin-bottom: 2.8rem; max-width: 46rem; }
.check-list { list-style: none; display: grid; gap: 1.2rem; }
.check-list li {
    display: grid; grid-template-columns: 5.2rem 1fr; gap: 2rem; align-items: center;
    padding: 1.8rem 2.2rem;
    background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--accent-yellow);
}
.check-list .ico {
    width: 5.2rem; height: 5.2rem; display: grid; place-items: center;
    background: var(--accent-yellow); color: #000; border-radius: 50%;
}
.check-list .ico svg { width: 2.8rem; height: 2.8rem; fill: none; stroke: #000; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.check-list .ico.-money svg, .check-list .ico.-pin svg { stroke-width: 2.2; }
.check-list strong { display: block; font-family: "Druk", "Roboto", system-ui, sans-serif; font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 2.2rem; line-height: 1; color: #fff; margin-bottom: .5rem; font-variant-numeric: tabular-nums; }
.check-list span:not(.ico) { font-size: 1.45rem; color: var(--muted); line-height: 1.4; }
@media (max-width: 1150px) { .qualify-grid { grid-template-columns: 1fr; gap: 3.5rem; } }
@media (max-width: 820px) {
    .check-list li { grid-template-columns: 4.2rem 1fr; gap: 1.4rem; padding: 1.5rem 1.6rem; }
    .check-list .ico { width: 4.2rem; height: 4.2rem; }
    .check-list .ico svg { width: 2.2rem; height: 2.2rem; }
    .check-list strong { font-size: 1.9rem; }
}

/* hero number: "/ year" in the same face, smaller */
.hero-number strong small { font-size: .42em; font-family: inherit; letter-spacing: 0; }
.hero-number { margin-top: 1rem; }

/* ===== MEET YOUR DISPATCH (same card as /about/dispatch/) ===== */
.dispatch { background: linear-gradient(to bottom, var(--panel-2), #000); }
#careers .dispatch .dispatch-lead { max-width: none; width: 100%; text-align: justify; text-wrap: pretty; hyphens: auto; }
.dispatch-gallery { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr)); gap: 3rem; margin-top: 1rem; }
.dispatch-gallery li { display: grid; gap: 1rem; align-content: start; }
.dispatch-gallery .photo { width: 100%; aspect-ratio: 1; position: relative; isolation: isolate; overflow: hidden; }
.dispatch-gallery .photo svg { width: 100%; height: 100%; display: block; }
.dispatch-gallery image[data-exists="true"] { filter: grayscale(100%); opacity: .75; }
@property --position { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
.dispatch-gallery image.color { --mask: circle at top left; mask-image: radial-gradient(var(--mask), #000 var(--position), #0000 0); mask-size: 100%; transition: --position .35s ease-in-out; }
.dispatch-gallery li:nth-child(even) image.color { --mask: circle at bottom right; }
.dispatch-gallery li:is(:hover, :focus-within) image.color { --position: 100%; }
.dispatch-gallery em, .dispatch-gallery i { display: block; font-family: "Druk", "Roboto", system-ui, sans-serif; font-style: italic; font-weight: 900; text-transform: uppercase; line-height: 1; color: #fff; }
.dispatch-gallery em { font-size: 2.4rem; margin-top: .6rem; }
.dispatch-gallery i { font-size: 1.6rem; color: var(--accent-yellow); }
.dispatch-gallery p { font-size: 1.5rem; margin: .6rem 0 0; }
.dispatch-gallery p a { color: #fff !important; text-decoration: none; }
.dispatch-gallery p a:hover { color: var(--accent-yellow) !important; }
@media (max-width: 820px) { .dispatch-gallery { grid-template-columns: repeat(2, 1fr); gap: 2rem; } .dispatch-gallery em { font-size: 2rem; } }

/* trust: one row, bigger FMCSA link */
.trust-grid li span a { font-size: 1.8rem; font-weight: 600; text-underline-offset: 4px; }

#careers .cta-call { font-size: 1.9rem; color: #fff; }
#careers .cta-call a { font-weight: 700; text-decoration: none; }
#careers .cta-call a:hover { text-decoration: underline; }

/* cards heading on one row (desktop); wraps normally on phones */
#careers h2.one-row { white-space: nowrap; font-size: min(4.2rem, 3vw); }
@media (max-width: 820px) { #careers h2.one-row { white-space: normal; font-size: 3.2rem; } }

/* form sits right under the hero: leave room for the yellow stats bar overhang */
#careers #apply .apply-inner { padding-top: 13rem; }
@media (max-width: 820px) { #careers #apply .apply-inner { padding-top: 6rem; } }

#careers .cross-link { margin-top: 3rem; font-size: 1.6rem; color: var(--muted); }
