
/* ---------- PAGE HERO ---------- */
.page-hero {
    position: relative;
    padding: clamp(9rem, 16vw, 12rem) var(--pad-x) clamp(4rem, 8vw, 6rem);
    overflow: hidden;
    background:
        radial-gradient(90% 70% at 50% -10%, #1a1109 0%, transparent 60%),
        var(--bg-0);
}

/* animated starfield canvas for sub-page heroes (injected by main.js) */
.page-hero .hero-stars {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.page-hero-inner {
    max-width: var(--container);
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--ink-3);
    text-decoration: none;
}

.breadcrumb a {
    color: var(--ink-3);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--gold);
}

.breadcrumb .sep {
    opacity: 0.5;
}

.breadcrumb .current {
    color: var(--gold);
}

.page-hero h1 {
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    max-width: 20ch;
    margin: 0 auto 1.4rem;
    text-wrap: balance;
}

.page-hero .lede {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--ink-2);
    max-width: 58ch;
    margin: 0 auto 2.4rem;
}

.page-hero .btn-row {
    display: flex;
    gap: 0.9rem;
    justify-content: center;
    flex-wrap: wrap;
}

.page-hero .hero-meta {
    margin-top: 2.5rem;
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--ink-3);
}

.page-hero .hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.page-hero .hero-meta .material-icons-outlined {
    font-size: 1.05rem;
    color: var(--gold);
}

@media (max-width: 620px) {
    .page-hero .hero-meta {
        flex-direction: column;
        align-items: center;
        gap: 0.7rem;
        margin-top: 2rem;
    }
}

/* ---------- OFFER CARDS ---------- */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.1rem;
}

.offer-card {
    padding: 1.9rem 1.7rem;
    border-radius: var(--r-lg);
    background: var(--bg-2);
    border: 1px solid var(--line);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-6px);
    border-color: rgba(230, 169, 78, 0.35);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.5);
}

.offer-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    margin-bottom: 1.1rem;
    background: rgba(230, 169, 78, 0.13);
    color: var(--gold);
}

.offer-card h3 {
    font-size: 1.12rem;
    margin-bottom: 0.5rem;
}

.offer-card p {
    font-size: 0.9rem;
    color: var(--ink-2);
    margin-bottom: 0.9rem;
}

.offer-card ul {
    list-style: none;
}

.offer-card li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.45rem;
    font-size: 0.86rem;
    color: var(--ink-2);
}

.offer-card li::before {
    content: "check";
    font-family: "Material Icons Outlined";
    position: absolute;
    left: 0;
    top: 0.1rem;
    font-size: 0.95rem;
    color: var(--gold);
}

/* ---------- PATHWAY SPLIT ---------- */
.pathway-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.pathway-card {
    position: relative;
    overflow: hidden;
    padding: clamp(1.9rem, 3.5vw, 2.6rem);
    border-radius: var(--r-lg);
    background: var(--bg-2);
    border: 1px solid var(--line);
}

.pathway-card::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle,
        color-mix(in srgb, var(--tint, #e6a94e) 24%, transparent),
        transparent 65%);
    pointer-events: none;
}

.pathway-kicker {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--tint, var(--gold));
}

.pathway-card h3 {
    font-size: clamp(1.35rem, 2.6vw, 1.8rem);
    margin: 0.7rem 0 0.8rem;
}

.pathway-card > p {
    color: var(--ink-2);
    font-size: 0.95rem;
    margin-bottom: 1.4rem;
    max-width: 46ch;
}

.pathway-card ul {
    list-style: none;
    margin-bottom: 1.75rem;
}

.pathway-card li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.55rem;
    font-size: 0.9rem;
    color: var(--ink-2);
}

.pathway-card li::before {
    content: "arrow_forward";
    font-family: "Material Icons Outlined";
    position: absolute;
    left: 0;
    top: 0.12rem;
    font-size: 0.95rem;
    color: var(--tint, var(--gold));
}

@media (max-width: 860px) {
    .pathway-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- GUARANTEE STRIP ---------- */
.guarantees {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
}

.guarantee {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem 1.4rem;
    border-radius: var(--r-md);
    background: var(--light-card);
    border: 1px solid var(--light-line);
}

.guarantee .material-icons-outlined {
    color: var(--light-accent);
    font-size: 1.6rem;
}

.guarantee strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--light-ink);
}

.guarantee p {
    font-size: 0.85rem;
    color: var(--light-ink-2);
}

@media (max-width: 860px) {
    .guarantees {
        grid-template-columns: 1fr;
    }
}

/* ---------- FEATURE SPLIT ---------- */
.feature-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;
}

.feature-split .visual {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--r-lg);
    overflow: hidden;
    background:
        radial-gradient(120% 100% at 20% 0%, rgba(230, 169, 78, 0.18), transparent 55%),
        radial-gradient(120% 100% at 90% 100%, rgba(196, 86, 47, 0.2), transparent 55%),
        var(--bg-2);
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
}

.feature-split .visual .big-icon {
    font-size: 5rem;
    color: rgba(230, 169, 78, 0.7);
}

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
}

.feature-list li {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    margin-bottom: 1.1rem;
}

.feature-list .material-icons-outlined {
    color: var(--gold);
    font-size: 1.25rem;
    margin-top: 0.1rem;
}

.feature-list strong {
    display: block;
    font-size: 0.98rem;
    margin-bottom: 0.15rem;
}

.feature-list p {
    font-size: 0.88rem;
    color: var(--ink-2);
}

@media (max-width: 860px) {
    .feature-split {
        grid-template-columns: 1fr;
    }
}

/* ---------- CAREERS PAGE ---------- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
}

.benefit {
    padding: 1.8rem 1.6rem;
    border-radius: var(--r-lg);
    background: var(--bg-2);
    border: 1px solid var(--line);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.benefit:hover {
    transform: translateY(-5px);
    border-color: rgba(230, 169, 78, 0.35);
}

.benefit .material-icons-outlined {
    font-size: 1.7rem;
    color: var(--gold);
    margin-bottom: 0.9rem;
}

.benefit h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.benefit p {
    font-size: 0.87rem;
    color: var(--ink-2);
}

@media (max-width: 860px) {
    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* roles */
.roles-list {
    display: grid;
    gap: 1.1rem;
}

.role-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.25rem;
    align-items: center;
    padding: 1.6rem 1.7rem;
    border-radius: var(--r-lg);
    background: var(--bg-2);
    border: 1px solid var(--line);
    text-align: left;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.role-card:hover {
    border-color: rgba(230, 169, 78, 0.4);
    transform: translateY(-3px);
}

.role-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(230, 169, 78, 0.13);
    color: var(--gold);
}

.role-info h3 {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.role-info p {
    font-size: 0.88rem;
    color: var(--ink-2);
    max-width: 60ch;
}

.role-tags {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.6rem;
    flex-wrap: wrap;
}

.tag {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(230, 169, 78, 0.32);
    color: var(--gold);
}

.role-cta {
    white-space: nowrap;
}

.role-details {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
}

.role-details h4 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 0.6rem;
}

.role-details ul {
    list-style: none;
}

.role-details li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.45rem;
    font-size: 0.88rem;
    color: var(--ink-2);
}

.role-details li::before {
    content: "check";
    font-family: "Material Icons Outlined";
    position: absolute;
    left: 0;
    top: 0.1rem;
    font-size: 0.9rem;
    color: var(--gold);
}

@media (max-width: 720px) {
    .role-card {
        grid-template-columns: auto 1fr;
    }

    .role-cta {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .role-details {
        grid-template-columns: 1fr;
    }
}

/* values strip on careers */
.values-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.1rem;
    text-align: center;
}

.value-item {
    padding: 1.5rem 1rem;
}

.value-item .material-icons-outlined {
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 0.7rem;
}

.value-item h3 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.value-item p {
    font-size: 0.84rem;
    color: var(--ink-2);
}

@media (max-width: 860px) {
    .values-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* crew fallback form */
.crew-card {
    padding: clamp(1.9rem, 4vw, 2.75rem);
    border-radius: var(--r-lg);
    border: 1px solid rgba(230, 169, 78, 0.4);
    background: var(--bg-2);
    text-align: center;
}

.crew-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
}

.crew-card > p {
    color: var(--ink-2);
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
}

.crew-card form {
    text-align: left;
}

.crew-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
    align-items: stretch;
}

.crew-fields {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.crew-message {
    display: flex;
    flex-direction: column;
}

.crew-message textarea {
    flex: 1;
    min-height: 160px;
    height: 100%;
}

.crew-card .btn {
    width: 100%;
    margin-top: 1.2rem;
}

@media (max-width: 720px) {
    .crew-grid {
        grid-template-columns: 1fr;
    }

    .crew-message textarea {
        min-height: 120px;
    }
}

/* ---------- LEGAL / POLICY PAGES ---------- */
.legal-layout {
    display: block;
}

/* document body */
.legal-body {
    counter-reset: legal;
    max-width: 74ch;
    margin-inline: auto;
}

.legal-section + .legal-section {
    margin-top: clamp(2.25rem, 4vw, 3.25rem);
    padding-top: clamp(2.25rem, 4vw, 3.25rem);
    border-top: 1px solid var(--line);
}

/* the anchor target is the section itself, so it carries the offset that
   keeps the heading clear of the fixed navbar */
.legal-section {
    scroll-margin-top: 6.5rem;
}

.legal-section h2 {
    font-size: clamp(1.3rem, 2.4vw, 1.65rem);
    margin-bottom: 1rem;
}

.legal-section h2::before {
    counter-increment: legal;
    content: counter(legal) ".";
    margin-right: 0.6rem;
    color: var(--gold);
}

.legal-section h3 {
    font-size: 1.02rem;
    margin: 1.75rem 0 0.6rem;
    color: var(--ink);
}

.legal-section p {
    color: var(--ink-2);
    margin-bottom: 1rem;
}

.legal-section p:last-child,
.legal-section ul:last-child {
    margin-bottom: 0;
}

.legal-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.legal-section li {
    position: relative;
    padding-left: 1.4rem;
    color: var(--ink-2);
    font-size: 0.96rem;
}

.legal-section li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    opacity: 0.75;
}

.legal-section a:not(.btn) {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(230, 169, 78, 0.35);
}

.legal-section a:not(.btn):hover {
    border-bottom-color: var(--gold);
}

/* ---------- SUPPORT PAGE ---------- */
.page-hero .hero-meta a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.page-hero .hero-meta a:hover {
    color: var(--gold);
}

.support-form-card {
    max-width: 720px;
    margin-inline: auto;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--bg-2);
}

.support-form-card .section-head {
    margin-bottom: 2rem;
}

.support-form-card .section-head h2 {
    font-size: clamp(1.6rem, 3.2vw, 2.1rem);
}

.support-form-card .section-head a {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(230, 169, 78, 0.35);
}

.support-form-card .section-head a:hover {
    border-bottom-color: var(--gold);
}

.support-form-card .btn {
    width: 100%;
    margin-top: 1.2rem;
}