/* Updrive Recruitment – custom styles on top of Tailwind */

:root {
    --navy: #0a1a3a;
    --navy-950: #050d1f;
    --flame: #f47b20;
}

.font-display { font-family: 'Archivo', system-ui, sans-serif; }
.wide { font-stretch: 118%; }
.xwide { font-stretch: 125%; }

/* Headline style inspired by the brand flyers: heavy, italic, wide, uppercase */
.headline {
    font-family: 'Archivo', system-ui, sans-serif;
    font-weight: 900;
    font-style: italic;
    font-stretch: 115%;
    text-transform: uppercase;
    line-height: .92;
    letter-spacing: -.01em;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-family: 'Archivo', system-ui, sans-serif;
    font-weight: 800;
    font-style: italic;
    font-stretch: 120%;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .75rem;
    color: var(--flame);
}
.eyebrow::before {
    content: '';
    width: 28px;
    height: 4px;
    background: var(--flame);
    transform: skewX(-25deg);
}

/* Skewed CTA button */
.btn-skew {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .8rem 1.6rem;
    font-family: 'Archivo', system-ui, sans-serif;
    font-weight: 800;
    font-style: italic;
    font-stretch: 112%;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #fff;
    isolation: isolate;
    transition: transform .2s ease;
}
.btn-skew::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, #ff9447, #f47b20 45%, #dc6510);
    transform: skewX(-14deg);
    border-radius: 6px;
    box-shadow: 0 10px 30px -10px rgba(244, 123, 32, .7);
    transition: box-shadow .2s ease, filter .2s ease;
}
.btn-skew:hover { transform: translateY(-2px); }
.btn-skew:hover::before { filter: brightness(1.08); box-shadow: 0 16px 36px -10px rgba(244, 123, 32, .9); }
.btn-skew.btn-ghost::before { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35); }
.btn-skew.btn-ghost:hover::before { background: rgba(255, 255, 255, .15); }
.btn-skew.btn-navy::before { background: var(--navy); box-shadow: 0 10px 30px -12px rgba(10, 26, 58, .7); }
.btn-skew.btn-lg { padding: 1.05rem 2.1rem; font-size: 1.05rem; }

/* Skewed label blocks like "IMMEDIATE START" on the flyer */
.tag-skew {
    display: inline-block;
    padding: .3rem 1rem;
    transform: skewX(-14deg);
}
.tag-skew > span { display: inline-block; transform: skewX(14deg); }

/* Nav underline */
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    left: .85rem;
    right: .85rem;
    bottom: 2px;
    height: 3px;
    background: var(--flame);
    transform: scaleX(0) skewX(-25deg);
    transform-origin: left;
    transition: transform .25s ease;
}
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1) skewX(-25deg); }

#siteHeader.scrolled { box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); }

.footer-h {
    color: #fff;
    font-family: 'Archivo', system-ui, sans-serif;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .85rem;
    margin-bottom: 1.1rem;
}

/* Diagonal stripes */
.stripes {
    background-image: repeating-linear-gradient(-55deg, rgba(10, 26, 58, .5) 0 14px, transparent 14px 46px);
}

/* Moving road markings */
.road-line {
    height: 4px;
    background-image: linear-gradient(90deg, var(--flame) 0 50%, transparent 50% 100%);
    background-size: 60px 4px;
    animation: road 1.2s linear infinite;
}
@keyframes road { to { background-position: -60px 0; } }

/* Hero */
.hero-bg {
    background:
        radial-gradient(1200px 600px at 85% 10%, rgba(244, 123, 32, .28), transparent 60%),
        radial-gradient(900px 500px at 10% 100%, rgba(35, 71, 138, .55), transparent 60%),
        linear-gradient(180deg, #0a1a3a 0%, #050d1f 100%);
}
.grid-fade {
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
            mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
}

/* Marquee ticker */
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; flex-shrink: 0; gap: 3rem; padding-right: 3rem; animation: marquee 38s linear infinite; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

/* Big outline numbers */
.num-outline {
    font-family: 'Archivo', system-ui, sans-serif;
    font-weight: 900;
    font-style: italic;
    font-stretch: 125%;
    color: transparent;
    -webkit-text-stroke: 2px rgba(244, 123, 32, .8);
    line-height: 1;
}

/* Cards */
.card-lift { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.card-lift:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -25px rgba(10, 26, 58, .35); }

/* Forms */
.field {
    width: 100%;
    border-radius: .75rem;
    border: 1.5px solid #dbe1ea;
    background: #fff;
    padding: .8rem 1rem;
    font-size: .95rem;
    color: #0a1a3a;
    transition: border-color .2s, box-shadow .2s;
}
.field:focus { outline: none; border-color: var(--flame); box-shadow: 0 0 0 4px rgba(244, 123, 32, .15); }
.field.invalid { border-color: #e11d48; }
.label { display: block; font-weight: 700; font-size: .85rem; color: #0a1a3a; margin-bottom: .4rem; }
.label .req { color: var(--flame); }

.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
    display: flex; align-items: center; justify-content: center; text-align: center;
    min-height: 3rem; padding: .6rem .9rem; border-radius: .75rem;
    border: 1.5px solid #dbe1ea; font-weight: 700; font-size: .9rem; color: #0a1a3a;
    cursor: pointer; transition: all .15s;
}
.choice span:hover { border-color: #f6a165; }
.choice input:checked + span { border-color: var(--flame); background: #fff4ec; color: #b44f0a; box-shadow: 0 0 0 3px rgba(244, 123, 32, .15); }
.choice input:focus-visible + span { outline: 2px solid var(--flame); outline-offset: 2px; }

.dropzone { border: 2px dashed #c6cfdc; transition: all .2s; }
.dropzone.drag, .dropzone:hover { border-color: var(--flame); background: #fff8f2; }

.step-dot { transition: all .3s; }
.step-dot.active { background: var(--flame); color: #fff; border-color: var(--flame); }
.step-dot.done { background: #0a1a3a; color: #fff; border-color: #0a1a3a; }

/* FAQ */
details summary::-webkit-details-marker { display: none; }
details[open] .faq-icon { transform: rotate(45deg); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}

body { padding-bottom: 0; }
@media (max-width: 639px) { body { padding-bottom: 56px; } }

/* Slow zoom on hero photos */
.ken-burns { animation: kenburns 24s ease-in-out infinite alternate; transform-origin: 60% 50%; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }

/* Route map */
.route-dash { animation: dash 2.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -26; } }
.hub-pulse { transform-box: fill-box; transform-origin: center; animation: hubPulse 2.2s ease-out infinite; }
@keyframes hubPulse { from { transform: scale(1); opacity: .6; } to { transform: scale(3.2); opacity: 0; } }

/* Photo frames */
.photo-frame { position: relative; border-radius: 2rem; overflow: hidden; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.photo-frame:hover img { transform: scale(1.04); }
.skew-panel { clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%); }

/* Audience tabs */
.tab-btn[aria-selected="true"] { background: var(--flame); color: #fff; border-color: var(--flame); }

/* Soft left edge when the hero photo only covers part of the width */
@media (min-width: 1024px) {
    .hero-fade { -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); mask-image: linear-gradient(90deg, transparent, #000 35%); }
}
