/* ═══ Work-with-us — scoped (.ww-* namespace) ═══
              Sits on top of contact.css (cx-*) and Tailwind utilities.
              Only owns: hero variant (different bg image), stat strip,
              feature grid, who-we-are split, 4-step stepper, form theming. */

.ww {
    font-family: var(--fb);
    color: var(--text-dark);
    background: var(--bg-cream);
}

/* ── HERO ─────────────────────────────────────── */
.ww-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background-color: var(--text-dark);
    background-image: url('../../images/work_with_us.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: clamp(112px, 16vw, 180px) 24px clamp(80px, 11vw, 128px);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(460px, 70svh, 660px);
}

.ww-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 55%, rgba(12, 7, 5, .08) 0%, rgba(12, 7, 5, .28) 70%, rgba(12, 7, 5, .55) 100%),
        linear-gradient(180deg, rgba(255, 248, 240, .55) 0%, rgba(255, 248, 240, .35) 50%, rgba(245, 220, 220, .25) 100%);
    z-index: 0;
}

@media (max-width: 640px) {
    .ww-hero::before {
        background:
            linear-gradient(180deg, rgba(255, 248, 240, .8) 0%, rgba(255, 248, 240, .55) 100%);
    }
}

.ww-hero::after {
    content: '';
    position: absolute;
    inset: 0 0 -1px 0;
    top: auto;
    height: 60px;
    background: linear-gradient(to top,
    var(--bg-cream) 0%,
    rgba(250, 247, 242, .6) 40%,
    rgba(250, 247, 242, .15) 75%,
    transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.ww-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.ww-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .65);
    border: 1px solid rgba(136, 13, 30, .18);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: var(--crimson);
    font-family: var(--fb);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.ww-hero__eyebrow::before,
.ww-hero__eyebrow::after {
    content: '';
    display: inline-block;
    width: 22px;
    height: 1.5px;
    background: var(--crimson);
    opacity: .55;
}

.ww-hero__title {
    font-family: var(--f-display);
    font-size: clamp(2.25rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -.03em;
    color: var(--text-dark);
    margin: 0 0 18px;
}

.ww-hero__title em {
    display: block;
    font-style: italic;
    color: var(--crimson);
}

.ww-hero__sub {
    font-size: clamp(1rem, 1.8vw, 1.0625rem);
    line-height: 1.75;
    color: var(--ink-mid);
    max-width: 540px;
    margin: 0 auto 36px;
}

.ww-hero__btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}


.ww-btn--ghost-light {
    background: rgba(255, 255, 255, .85);
    color: var(--text-dark);
    border: 1.5px solid var(--cream-dark);
    box-shadow: 0 2px 12px rgba(58, 11, 11, .08);
}

.ww-btn--ghost-light:hover,
.ww-btn--ghost-light:focus-visible {
    background: #fff;
    border-color: var(--accent-color-light);
    transform: translateY(-2px);
}

.ww-hero__entrance > * {
    opacity: 0;
    animation: cx-fade-up .6s ease forwards;
}

.ww-hero__entrance > *:nth-child(1) { animation-delay: .05s; }
.ww-hero__entrance > *:nth-child(2) { animation-delay: .12s; }
.ww-hero__entrance > *:nth-child(3) { animation-delay: .2s; }
.ww-hero__entrance > *:nth-child(4) { animation-delay: .28s; }

/* ── STATS STRIP ──────────────────────────────── */
.ww-stats {
    background: #fff;
    border-bottom: 1px solid var(--cream-dark);
}

.ww-stats__grid {
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(36px, 6vw, 64px) 24px;
    display: grid;
    gap: 28px;
    grid-template-columns: 1fr;
    text-align: center;
}

@media (min-width: 760px) {
    .ww-stats__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}

.ww-stat__val {
    font-family: var(--f-display);
    font-size: clamp(2.25rem, 4.5vw, 3.25rem);
    font-weight: 800;
    color: var(--crimson);
    line-height: 1;
    letter-spacing: -.02em;
    margin-bottom: 10px;
}

.ww-stat__label {
    font-size: 14px;
    color: var(--ink-mid);
    line-height: 1.6;
    max-width: 260px;
    margin: 0 auto;
}

/* ── SECTION HEADERS (shared) ────────────────── */
.ww-section {
    padding: clamp(56px, 8vw, 96px) 24px;
}

.ww-section--cream { background: var(--bg-cream); }
.ww-section--white { background: #fff; }

.ww-section__inner {
    max-width: 1180px;
    margin: 0 auto;
}

.ww-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-family: var(--fb);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--crimson);
    position: relative;
}

.ww-eyebrow::after {
    content: '';
    display: inline-block;
    width: 64px;
    height: 1.5px;
    background: var(--crimson);
    opacity: .35;
}

.ww-h2 {
    margin: 0 0 32px;
    font-family: var(--f-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.03em;
    color: var(--text-dark);
}

.ww-h2 em {
    font-style: italic;
    color: var(--crimson);
}

/* ── WHY HOMIE — features grid ───────────────── */
.ww-features {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
}

@media (min-width: 720px) {
    .ww-features { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .ww-features { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.ww-feat {
    position: relative;
    background: #fff;
    border: 1.5px solid var(--cream-dark);
    border-radius: 20px;
    padding: 28px 24px 26px;
    box-shadow: 0 2px 14px rgba(58, 11, 11, .04);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.ww-feat:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(58, 11, 11, .09);
    border-color: var(--coral-pale);
}

.ww-feat__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    font-size: 26px;
    margin-bottom: 22px;
}

.ww-feat--cream .ww-feat__icon { background: #FBE9C7; }
.ww-feat--sky   .ww-feat__icon { background: #E0EBF7; }
.ww-feat--rose  .ww-feat__icon { background: var(--crimson-pale); }

.ww-feat__title {
    margin: 0 0 10px;
    font-family: var(--f-display);
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -.01em;
}

.ww-feat__body {
    margin: 0;
    font-size: 14.5px;
    color: var(--ink-mid);
    line-height: 1.7;
}

/* ── WHO WE LOOK FOR — split layout ──────────── */
.ww-who {
    display: grid;
    gap: 32px;
    grid-template-columns: 1fr;
    align-items: stretch;
}

@media (min-width: 960px) {
    .ww-who {
        grid-template-columns: 1fr 1fr;
        gap: 56px;
    }
}

.ww-who__sub {
    font-size: 1.0625rem;
    color: var(--ink-mid);
    line-height: 1.75;
    margin: 0 0 28px;
    max-width: 480px;
}

.ww-who__points {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ww-who__point {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--coral-pale);
    border-radius: 16px;
    padding: 18px 22px;
    border: 1px solid rgba(155, 130, 248, .18);
}

.ww-who__check {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--crimson);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    font-size: 14px;
    font-weight: 800;
}

.ww-who__point-title {
    margin: 0 0 4px;
    font-family: var(--f-display);
    font-size: 15px;
    font-weight: 800;
    color: var(--text-dark);
}

.ww-who__point-desc {
    margin: 0;
    font-size: 14px;
    color: var(--ink-mid);
    line-height: 1.65;
}

/* Quote card */
.ww-quote {
    position: relative;
    overflow: hidden;
    background: var(--crimson);
    color: #fff;
    border-radius: 24px;
    padding: 36px 32px 32px;
    box-shadow: 0 12px 40px rgba(136, 13, 30, .22);
}

.ww-quote::before {
    content: '\201C\201C';
    position: absolute;
    top: 6px;
    left: 32px;
    font-family: var(--f-display);
    font-size: 100px;
    font-weight: 900;
    line-height: 1;
    color: rgba(255, 255, 255, .12);
    pointer-events: none;
}

.ww-quote::after {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    right: -100px;
    bottom: -120px;
    background: radial-gradient(circle, rgba(255, 255, 255, .08) 0%, transparent 70%);
    pointer-events: none;
}

.ww-quote__text {
    position: relative;
    font-family: var(--f-display);
    font-style: italic;
    font-size: 1.0625rem;
    line-height: 1.6;
    margin: 36px 0 16px;
}

.ww-quote__text em {
    font-style: italic;
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, .35);
    text-underline-offset: 3px;
}

.ww-quote__author {
    position: relative;
    margin: 0 0 24px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, .85);
}

.ww-quote__stats {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ww-quote__stat {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    padding: 14px 16px;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.ww-quote__stat-val {
    display: block;
    font-family: var(--f-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.02em;
}

.ww-quote__stat-label {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: rgba(255, 255, 255, .75);
    line-height: 1.4;
}

/* ── 4-STEP STEPPER ──────────────────────────── */
.ww-steps {
    position: relative;
    display: grid;
    gap: 36px;
    grid-template-columns: 1fr;
    margin-top: 16px;
}

@media (min-width: 760px) {
    .ww-steps {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }

    .ww-steps::before {
        content: '';
        position: absolute;
        top: 30px;
        left: 12.5%;
        right: 12.5%;
        height: 2px;
        background: var(--cream-dark);
        z-index: 0;
    }
}

.ww-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 12px;
}

.ww-step__num {
    position: relative;
    z-index: 1;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--cream-dark);
    color: var(--text-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--f-display);
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 18px;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.ww-step:first-child .ww-step__num,
.ww-step:hover .ww-step__num {
    background: var(--crimson);
    border-color: var(--crimson);
    color: #fff;
    box-shadow: 0 8px 22px rgba(136, 13, 30, .25);
}

.ww-step__title {
    margin: 0 0 8px;
    font-family: var(--f-display);
    font-size: 15px;
    font-weight: 800;
    color: var(--text-dark);
}

.ww-step__desc {
    margin: 0;
    font-size: 13.5px;
    color: var(--ink-mid);
    line-height: 1.6;
    max-width: 220px;
}

/* ── APPLICATION FORM SECTION ────────────────── */
.ww-form-section {
    padding: clamp(48px, 8vw, 88px) 24px clamp(72px, 11vw, 112px);
    background: var(--bg-cream);
}

.ww-form-card {
    max-width: 720px;
    margin: 0 auto;
}

.ww-form-head {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--cream-dark);
}

.ww-form-head__title {
    margin: 0 0 6px;
    font-family: var(--f-display);
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -.02em;
}

.ww-form-head__sub {
    margin: 0;
    font-size: 14px;
    color: var(--ink-mid);
}

/* ── Reduced motion ──────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .ww-hero__entrance > *,
    .ww-feat,
    .ww-step__num {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ── Mobile button stretching ─────────────────── */
@media (max-width: 600px) {
    .ww-hero__btns {
        flex-direction: column;
        align-items: stretch;
    }

    .ww-hero__btns .cx-btn {
        justify-content: center;
    }
}

/* Smooth scroll target */
#wwApplyForm {
    scroll-margin-top: 100px;
}

/* ── File uploader (drag & drop) ────────────────── */
.ww-drop {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 28px 18px;
    border: 1.5px dashed var(--cream-dark, #E5DDCD);
    border-radius: 14px;
    background: #FAF7F2;
    cursor: pointer;
    text-align: center;
    transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.ww-drop:hover,
.ww-drop:focus-within {
    border-color: var(--accent-color, #880D1E);
    background: #FFF;
}

.ww-drop.is-dragover {
    border-color: var(--accent-color, #880D1E);
    background: #FDF4F5;
    transform: translateY(-1px);
}

.ww-drop__icon {
    font-size: 32px;
    color: var(--accent-color, #880D1E);
    opacity: .85;
}

.ww-drop__title {
    font-weight: 700;
    color: var(--text-dark, #181B22);
    font-size: 14px;
}

.ww-drop__sub {
    color: var(--ink-mid, #7B8090);
    font-size: 12.5px;
    line-height: 1.45;
}

.ww-drop__input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    border: 0;
}

.ww-files {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ww-file {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #FFF;
    border: 1px solid var(--cream-dark, #E5DDCD);
    border-radius: 12px;
}

.ww-file__icon {
    font-size: 22px;
    color: var(--accent-color, #880D1E);
    flex: 0 0 auto;
}

.ww-file__meta {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
}

.ww-file__name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-dark, #181B22);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ww-file__size {
    font-size: 12px;
    color: var(--ink-mid, #7B8090);
}

.ww-file__remove {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid transparent;
    background: transparent;
    color: var(--ink-mid, #7B8090);
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.ww-file__remove:hover {
    background: #FDF4F5;
    color: var(--accent-color, #880D1E);
    border-color: #F1D4DA;
}

.ww-file__remove .material-symbols-outlined {
    font-size: 18px;
}

