.jobs-body {
    min-height: 100vh;
    min-height: 100svh;
    background:
        radial-gradient(circle at 92% 8%, rgba(15, 55, 104, 0.28), transparent 30rem),
        var(--ink);
}

.jobs-page {
    min-height: 100vh;
    min-height: 100svh;
    padding:
        max(1.35rem, env(safe-area-inset-top))
        0
        max(1.2rem, env(safe-area-inset-bottom));
}

.page-width {
    width: min(calc(100% - 2.4rem), 76rem);
    margin-inline: auto;
}

.jobs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.brand-link {
    color: inherit;
    text-decoration: none;
}

.brand-link:focus-visible,
.job-row:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}

.jobs-hero {
    position: relative;
    isolation: isolate;
    min-height: clamp(17rem, 30vw, 22rem);
    margin-top: clamp(1.2rem, 3vw, 2.2rem);
    overflow: hidden;
    border: 1px solid rgba(240, 204, 114, 0.23);
    background: #07101f;
}

.jobs-hero-photo,
.jobs-hero-photo img,
.jobs-hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.jobs-hero-photo {
    z-index: -2;
    display: block;
}

.jobs-hero-photo img {
    object-fit: cover;
    object-position: center 48%;
}

.jobs-hero-shade {
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(2, 5, 11, 0.97) 0%, rgba(2, 7, 16, 0.83) 38%, rgba(3, 8, 18, 0.25) 72%, rgba(2, 5, 11, 0.2) 100%),
        linear-gradient(0deg, rgba(2, 5, 11, 0.67), transparent 68%);
}

.jobs-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: min(100%, 43rem);
    min-height: inherit;
    padding: clamp(1.5rem, 4vw, 3.2rem);
}

.jobs-hero-copy .eyebrow {
    margin-bottom: 0.75rem;
}

.jobs-hero h1 {
    max-width: 12ch;
    font-size: clamp(3.2rem, 7vw, 6.4rem);
    line-height: 0.88;
}

.jobs-hero-copy > p:last-child {
    max-width: 34rem;
    margin: clamp(1rem, 2.2vw, 1.4rem) 0 0;
    color: rgba(248, 249, 253, 0.84);
    font-size: 1rem;
    line-height: 1.5;
}

.jobs-board {
    padding-block: clamp(3rem, 7vw, 6rem);
}

.jobs-board-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

.jobs-kicker {
    margin: 0 0 0.65rem;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.jobs-board h2 {
    max-width: 17ch;
    margin: 0;
    font-family: Impact, "Arial Narrow", Arial, sans-serif;
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.jobs-count {
    flex: 0 0 auto;
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.jobs-count strong {
    color: var(--gold);
    font-size: 1.15rem;
}

.job-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-bottom: 1px solid var(--line);
}

.job-row {
    display: grid;
    grid-template-columns: 3.2rem minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(1rem, 2.5vw, 2.2rem);
    min-height: 8rem;
    padding: clamp(1.3rem, 2.5vw, 2rem) clamp(0.25rem, 1.5vw, 1.1rem);
    color: var(--white);
    border-top: 1px solid var(--line);
    text-decoration: none;
}

.job-number {
    align-self: start;
    padding-top: 0.26rem;
    color: rgba(240, 204, 114, 0.7);
    font-family: "Arial Narrow", Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.job-content,
.job-title,
.job-meta {
    display: block;
}

.job-title {
    font-family: Impact, "Arial Narrow", Arial, sans-serif;
    font-size: clamp(1.55rem, 3vw, 2.55rem);
    line-height: 1;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1.7rem;
    margin-top: 0.8rem;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.job-meta span {
    position: relative;
}

.job-meta span:not(:last-child)::after {
    position: absolute;
    top: 0;
    right: -1rem;
    color: rgba(240, 204, 114, 0.62);
    content: "·";
}

.job-trailing {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.5vw, 2.2rem);
}

.job-status {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: rgba(248, 249, 253, 0.8);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.job-status > span {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 0.22rem rgba(240, 204, 114, 0.12);
}

.job-arrow {
    color: var(--gold);
    font-size: 1.8rem;
    line-height: 1;
}

.jobs-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-top: 1rem;
    color: var(--muted);
    border-top: 1px solid var(--line);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.jobs-footer p {
    margin: 0;
}

@media (hover: hover) {
    .job-row:hover {
        background: linear-gradient(90deg, rgba(9, 28, 55, 0.88), rgba(9, 28, 55, 0.18));
        border-top-color: rgba(240, 204, 114, 0.5);
    }
}

@media (max-width: 700px) {
    .page-width {
        width: min(calc(100% - 2rem), 76rem);
    }

    .jobs-hero {
        min-height: 13rem;
    }

    .jobs-hero-photo img {
        object-fit: contain;
        object-position: center;
    }

    .jobs-hero-shade {
        background:
            linear-gradient(90deg, rgba(2, 5, 11, 0.9), rgba(2, 5, 11, 0.18)),
            linear-gradient(0deg, rgba(2, 5, 11, 0.87), transparent 82%);
    }

    .jobs-hero-copy {
        padding: 1rem;
    }

    .jobs-hero-copy .eyebrow {
        margin-bottom: 0.5rem;
        font-size: 0.7rem;
    }

    .jobs-hero h1 {
        max-width: 11ch;
        font-size: clamp(2.35rem, 11.5vw, 3.8rem);
    }

    .jobs-hero-copy > p:last-child {
        max-width: 23rem;
        margin-top: 0.65rem;
        font-size: 0.88rem;
        line-height: 1.35;
    }

    .jobs-board {
        padding-block: 3rem;
    }

    .jobs-board-header {
        display: block;
    }

    .jobs-board h2 {
        max-width: 15ch;
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .jobs-count {
        margin-top: 1rem;
    }

    .job-row {
        grid-template-columns: 2rem minmax(0, 1fr);
        gap: 0.8rem;
        min-height: 0;
        padding: 1.4rem 0.2rem;
    }

    .job-title {
        font-size: clamp(1.45rem, 7.2vw, 2rem);
        line-height: 1.05;
    }

    .job-meta {
        display: grid;
        gap: 0.32rem;
        margin-top: 0.7rem;
        font-size: 0.88rem;
    }

    .job-meta span:not(:last-child)::after {
        content: none;
    }

    .job-trailing {
        grid-column: 2;
        justify-content: space-between;
        margin-top: 0.25rem;
    }

    .job-arrow {
        font-size: 1.55rem;
    }

    .jobs-footer {
        font-size: 0.62rem;
        letter-spacing: 0.1em;
    }
}

@media (max-width: 390px) {
    .jobs-hero-copy > p:last-child {
        display: none;
    }
}
