/* ============================================================
   JOBS PAGE – HERO (DARK OVERLAY LIKE CONTACT)
============================================================ */

/* Jobs hero: same spacing and scale as .hero.hero--sub */
.hero.jobs-hero {
    min-height: 36vh;
    padding-top: calc(var(--nav-h) + 40px);
    padding-bottom: 40px;
    text-align: center;
}

.hero.jobs-hero h1 {
    font-size: clamp(52px, 7vw, 78px);
}

.hero.jobs-hero p {
    font-size: clamp(18px, 3vw, 24px);
    max-width: 620px;
    margin-inline: auto;
    margin-top: 8px;
    color: var(--gold);
}

/* Small pill above the H1 – subtle */
.jobs-hero-tag {
    display: inline-block;
    padding: 7px 18px;
    border-radius: 999px;

    /* brighter, gold-forward pill */
    background: linear-gradient(135deg, var(--gold), #f5e2b3);
    color: #4b2e00;

    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 14px;
    font-weight: 700;

    margin-bottom: 12px;
    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(0, 0, 0, 0.1);
}

/* Mobile breathing room */
@media (max-width: 900px) {
    .hero.jobs-hero {
        padding-top: calc(var(--nav-h) + 24px);
        padding-bottom: 30px;
    }
}


/* ============================================================
   JOBS SECTION – DARK BAND (MATCH CONTACT)
============================================================ */

.jobs-section.content-section,
.jobs-section.content-section.alt {
    position: relative;
    padding: clamp(40px, 7vw, 60px) 20px;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.04), transparent 60%),
        radial-gradient(circle at bottom right, rgba(246, 196, 83, 0.08), transparent 60%),
        var(--brand-deep);
    color: #fff;
}

/* Full-width gold divider between hero and jobs band */
.jobs-section::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
    background: linear-gradient(90deg, var(--gold), #ffe29b);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

/* Inner wrapper */
.jobs-section .section-inner {
    max-width: 1120px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}


/* ============================================================
   LAYOUT (LEFT COPY + RIGHT FORM CARD)
============================================================ */

.jobs-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: flex-start;
    gap: clamp(24px, 3vw, 40px);
}

@media (max-width: 880px) {
    .jobs-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Left-hand copy styled like dark contact band */
.jobs-copy h2 {
    margin: 0 0 10px;
    font-size: clamp(28px, 3.8vw, 44px);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ffffff;
    position: relative;
}

/* Gold underline bar like contact heading */
.jobs-copy h2::after {
    content: "";
    display: block;
    width: 230px;
    height: 7px;
    margin-top: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold), #ffe29b);
}

.jobs-copy h3 {
    margin-top: 14px;
    margin-bottom: 12px;
    font-size: 1.25rem;
    color: #fff8de;
}

.jobs-copy p {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.92);
}

.jobs-copy ul {
    margin: 6px 0 18px;
    padding-left: 1.15em;
    color: rgba(255, 255, 255, 0.9);
}

.jobs-copy li {
    margin-bottom: 6px;
}

/* Pay highlight pill */
.jobs-pay-highlight {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin-top: 10px;
    padding: 6px 18px;
    margin-bottom: 10px;
    border-radius: 999px;

    /* dark teal chip with gold accents */
    background: rgba(4, 43, 43, 0.96);
    border: 1px solid rgba(255, 227, 171, 0.9);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);

    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffe9b3;
}

/* “We’ll notify you” italic note */
.jobs-notice {
    margin-top: 12px;
    font-size: 0.98rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}


/* ============================================================
   JOBS FORM CARD (BRIGHT ON DARK, LIKE CONTACT)
============================================================ */

.jobs-form-card {
    border-radius: 22px;
    padding: clamp(18px, 3vw, 24px);
    background: #ffffff;
    color: var(--text);
    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.2),
        0 3px 12px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.jobs-form-card h2 {
    margin-top: 0;
    margin-bottom: 4px;
    font-size: 1.35rem;
    color: var(--brand-deep);
}

.jobs-form-card p {
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 0.98rem;
    color: rgba(0, 0, 0, 0.8);
}

/* Grid layout */
.jobs-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
}

.jobs-form .full-width {
    grid-column: 1 / -1;
}

@media (max-width: 640px) {
    .jobs-form {
        grid-template-columns: 1fr;
    }
}

/* Label treatment like contact fields */
.jobs-form label {
    display: block;
    margin-bottom: 4px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(4, 30, 30, 0.9);
}

.jobs-form small {
    display: block;
    margin-top: 2px;
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.6);
}

/* Inputs, selects, textareas */
.jobs-form input[type="text"],
.jobs-form input[type="email"],
.jobs-form input[type="tel"],
.jobs-form select,
.jobs-form textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.16);
    font: inherit;
    background: #ffffff;
    color: var(--text);
    box-sizing: border-box;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

.jobs-form textarea {
    min-height: 96px;
    resize: vertical;
}

/* Placeholder color */
.jobs-form input::placeholder,
.jobs-form textarea::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

/* Focus state to match contact */
.jobs-form input:focus,
.jobs-form select:focus,
.jobs-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.06),
        0 0 0 3px rgba(246, 196, 83, 0.45);
    background: #fffdf7;
}

/* Consent row */
.jobs-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.88rem;
    color: rgba(0, 0, 0, 0.8);
}

.jobs-consent input {
    margin-top: 3px;
}

/* Submit button alignment */
.jobs-submit-row {
    margin-top: 4px;
    display: flex;
    justify-content: flex-end;
}

.jobs-submit-row .btn {
    font-size: 0.95rem;
    padding-inline: 22px;
}

/* Optional inline error text */
.jobs-field-error {
    margin: 8px 0 0;
    font-size: 0.86rem;
    color: #c53232;
}


/* ============================================================
   CREW PHOTOS STRIP – DARKER VERSION
============================================================ */

/* Make this band dark too so the whole page feels like contact */
.jobs-photos.content-section {
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.03), transparent 60%),
        radial-gradient(circle at bottom right, rgba(246, 196, 83, 0.06), transparent 60%),
        #041b1b;
    color: #fff;
    padding: clamp(40px, 7vw, 60px) 20px;
}

.jobs-photos .section-inner {
    max-width: 1120px;
    margin: 0 auto;
}

.jobs-photos .section-heading {
    margin-bottom: clamp(24px, 3vw, 32px);
    text-align: left;
}

.jobs-photos .section-heading h2 {
    margin: 0;
    color: #ffffff;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: clamp(26px, 3.4vw, 32px);
}

.jobs-photos .section-heading h2::after {
    content: "";
    display: block;
    width: 200px;
    height: 6px;
    margin-top: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold), #ffe29b);
}

.jobs-photos .section-heading p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.9);
}

/* Grid of photo cards */
.jobs-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

@media (max-width: 880px) {
    .jobs-photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 540px) {
    .jobs-photo-grid {
        grid-template-columns: 1fr;
    }
}

/* Darker card frame but keep photos bright */
.jobs-photo {
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 12px 26px rgba(0, 0, 0, 0.4),
        0 3px 10px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(0, 0, 0, 0.4);
    background: #061c1c;
}

.jobs-photo img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.jobs-photo-caption {
    padding: 10px 12px 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Tighten card padding on very small screens */
@media (max-width: 480px) {
    .jobs-form-card {
        padding: 16px 14px;
    }

    .jobs-photo img {
        height: 200px;
    }
}

/* Remove caption styling area */
.jobs-photo-caption {
    display: none;
}

/* Center images */
.jobs-photo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

/* Make photo cards proportional and centered nicely */
.jobs-photo img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ============================================================
   JOBS PHOTOS – LIGHTBOX
============================================================ */

.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1200;
}

.lightbox.is-open {
    display: flex;
}

.lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

.lightbox__dialog {
    position: relative;
    max-width: min(960px, 90vw);
    max-height: min(80vh, 620px);
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.6),
        0 4px 14px rgba(0, 0, 0, 0.35);
    background: #000;
    z-index: 1;
}

.lightbox__dialog img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Close button */
.lightbox__close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: none;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        background 0.18s ease,
        transform 0.18s ease;
}

.lightbox__close:hover {
    background: rgba(0, 0, 0, 0.85);
    transform: translateY(-1px);
}

/* Show “zoom” affordance on the cards */
.jobs-photo img {
    cursor: zoom-in;
}