*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    height: 100%;
    background: #000;
    color: #fff;
}

body {
    overflow: hidden;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.site-shell {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    position: fixed;
    inset: 0;
}

.banner-frame {
    width: 100%;
    height: 40px;
    border: 0;
    z-index: 51;
    flex-shrink: 0;
}

.header-frame {
    width: 100%;
    height: 60px;
    border: 0;
    z-index: 50;
    flex-shrink: 0;
}

.page-scroll {
    height: calc(100vh - 100px);
    width: 100vw;
    overflow-y: auto;
    overflow-x: hidden;
    background: #000;
}

.hero {
    position: relative;
    height: 100%;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 50%, #000 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-copy {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-copy h2 {
    margin: 0;
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.2;
}

.hero-copy h2 span {
    color: #facc15;
}

.hero-copy p {
    margin: 0 0 32px;
    color: #d1d5db;
    font-size: 0.9rem;
    line-height: 1.6;
}

.bounce-arrow {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 1s infinite;
    pointer-events: none;
}

@keyframes bounce {
    0%,
    100% {
        transform: translateX(-50%) translateY(-25%);
    }

    50% {
        transform: translateX(-50%) translateY(0);
    }
}

.jobs-section,
.job-detail {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 72px 0 112px;
}

.section-heading {
    margin-bottom: 32px;
}

.section-heading h2 {
    margin-top: 8px;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.1;
}

.section-heading > p:last-child {
    margin-top: 10px;
    color: #9ca3af;
    line-height: 1.6;
}

.jobs-status,
.empty-state {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 32px;
    color: #9ca3af;
    text-align: center;
    border: 1px solid #1f2937;
    border-radius: 14px;
    background: rgba(17, 24, 39, 0.35);
}

.jobs-status[hidden] {
    display: none;
}

.loading-spinner {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 3px solid rgba(250, 204, 21, 0.18);
    border-top-color: #facc15;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.job-card {
    display: flex;
    flex-direction: column;
    min-height: 270px;
    padding: 26px;
    color: #fff;
    text-decoration: none;
    border: 1px solid #1f2937;
    border-radius: 14px;
    background: rgba(17, 24, 39, 0.45);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.job-card:hover,
.job-card:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(250, 204, 21, 0.55);
    background: rgba(31, 41, 55, 0.52);
    outline: none;
}

.job-types {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.job-type {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    color: #000;
    background: #facc15;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    text-transform: capitalize;
}

.job-card h3 {
    margin-top: 22px;
    font-size: 1.55rem;
    line-height: 1.2;
}

.job-card-description {
    margin-top: 10px;
    color: #b6bdc8;
    line-height: 1.6;
}

.job-card-footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-top: auto;
    padding-top: 28px;
}

.job-card-meta {
    display: flex;
    gap: 18px;
    color: #9ca3af;
    font-size: 0.85rem;
}

.job-card-meta strong {
    display: block;
    margin-top: 2px;
    color: #fff;
    font-size: 0.95rem;
}

.view-position {
    color: #facc15;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
}

.back-link {
    display: inline-flex;
    margin-bottom: 24px;
    color: #9ca3af;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.back-link:hover,
.back-link:focus-visible {
    color: #facc15;
    outline: none;
}

.job-detail-card {
    overflow: hidden;
    border: 1px solid #1f2937;
    border-radius: 16px;
    background: rgba(17, 24, 39, 0.45);
}

.job-detail-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 48px;
    padding: 38px;
}

.job-detail-header h1 {
    margin-top: 18px;
    font-size: clamp(2.2rem, 6vw, 4rem);
    line-height: 1.05;
}

.job-description {
    max-width: 720px;
    margin-top: 16px;
    color: #c4cad3;
    line-height: 1.7;
}

.job-meta {
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.meta-item {
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.meta-item span {
    display: block;
    color: #9ca3af;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.meta-item strong {
    display: block;
    margin-top: 5px;
    color: #fff;
    font-size: 1.05rem;
}

.job-body {
    padding: 38px;
    border-top: 1px solid #1f2937;
    color: #d1d5db;
    line-height: 1.75;
}

.job-body:empty {
    display: none;
}

.job-body h1,
.job-body h2,
.job-body h3,
.job-body h4 {
    margin: 1.5em 0 0.55em;
    color: #fff;
    line-height: 1.2;
}

.job-body h1:first-child,
.job-body h2:first-child,
.job-body h3:first-child,
.job-body h4:first-child {
    margin-top: 0;
}

.job-body p,
.job-body ul,
.job-body ol {
    margin: 0.85em 0;
}

.job-body ul,
.job-body ol {
    padding-left: 1.4rem;
}

.job-body a {
    color: #facc15;
}

.footer-frame {
    width: 100%;
    height: 60px;
    border: 0;
    background: transparent;
    display: block;
}

@media (max-width: 760px) {
    .hero-copy h2 {
        font-size: 1.5rem;
    }

    .hero-copy p {
        font-size: 0.75rem;
    }

    .jobs-section,
    .job-detail {
        width: min(100% - 32px, 1180px);
        padding: 52px 0 80px;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .job-card {
        min-height: 0;
        padding: 22px;
    }

    .job-card-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .job-detail-header {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 26px;
    }

    .job-meta {
        min-width: 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .job-body {
        padding: 26px;
    }
}
