/* ============================================================
   JOBS PAGE — recruiting DJs & saxophonists
   Pinned-paper motif, reuses the site tokens. Page-specific
   components: now-hiring badge, role cards, perks, apply form.
   ============================================================ */

/* "now hiring" badge under the hero heading */
.jobs-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto var(--sp-4);
    padding: 8px 16px;
    background: var(--red);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--fs-sm);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    transform: rotate(-1.5deg);
    box-shadow: 0 6px 14px rgba(249,24,20,0.28);
}
.jobs-badge .dot {
    width: 9px; height: 9px; border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 0 rgba(255,255,255,0.8);
    animation: jobs-pulse 1.6s ease-out infinite;
}
@keyframes jobs-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
    70%  { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* ---- role cards (DJs / Saxophonists) ---- */
.role-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-6);
    margin-top: var(--sp-6);
}
.role-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    padding: var(--sp-6);
    box-shadow: 0 10px 26px rgba(0,0,0,0.07);
    transition: transform var(--transition), box-shadow var(--transition);
}
.role-card:nth-child(odd)  { transform: rotate(-0.6deg); }
.role-card:nth-child(even) { transform: rotate(0.6deg); }
.role-card:hover {
    transform: rotate(0deg) translateY(-4px);
    box-shadow: 0 18px 38px rgba(0,0,0,0.12);
}
.role-card::before {
    /* tape strip */
    content: "";
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%) rotate(-3deg);
    width: 96px; height: 26px;
    background: rgba(244,168,4,0.45);
    border: 1px dashed rgba(0,0,0,0.12);
}
.role-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: var(--mustard);
    color: var(--black);
    font-size: 1.6rem;
    margin-bottom: var(--sp-4);
}
.role-card h3 {
    font-size: var(--fs-xl);
    margin: 0 0 var(--sp-2);
}
.role-card > p { color: var(--text-muted); margin-bottom: var(--sp-4); }
.role-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.role-card li {
    position: relative;
    padding: 6px 0 6px 28px;
    border-bottom: 1px dashed var(--line);
}
.role-card li:last-child { border-bottom: 0; }
.role-card li::before {
    content: "\f00c";                 /* fa check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0; top: 7px;
    color: var(--mustard-deep);
    font-size: 0.85em;
}

/* ---- perks grid (what we offer) ---- */
.perks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--sp-5);
    margin-top: var(--sp-6);
}
.perk {
    text-align: center;
    padding: var(--sp-5);
    background: var(--surface-2, #fff);
    border-radius: var(--radius-card);
    border: 1px solid var(--line);
}
.perk i {
    font-size: 1.8rem;
    color: var(--red);
    margin-bottom: var(--sp-3);
}
.perk h3 { font-size: var(--fs-md); margin: 0 0 var(--sp-2); }
.perk p { color: var(--text-muted); font-size: var(--fs-sm); margin: 0; }

/* ---- apply: two-column (note + form) ---- */
.apply-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: var(--sp-7);
    align-items: start;
}
.apply-note {
    background: #fffdf3;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    padding: var(--sp-6);
    position: relative;
    box-shadow: 0 10px 26px rgba(0,0,0,0.06);
}
.apply-note h2 { margin-top: 0; }
.apply-note ol {
    margin: var(--sp-4) 0 0;
    padding-left: 1.2em;
}
.apply-note li { margin-bottom: var(--sp-3); color: var(--text-muted); }
.apply-note li strong { color: var(--text); }

.apply-form {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    padding: var(--sp-6);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.apply-form h2 { margin-top: 0; margin-bottom: var(--sp-5); }

/* honeypot — must stay hidden */
.apply-form .field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 880px) {
    .role-cards { grid-template-columns: 1fr; }
    .apply-grid { grid-template-columns: 1fr; }
}
