:root {
    --c-teal: #0d5c63;
    --c-lime: #a8c83a;
    --c-gold: #c4a035;
    --c-ink: #1a2a2e;
    --c-muted: #5a6a6e;
}

* { box-sizing: border-box; }

body.careers-page {
    margin: 0;
    font-family: "Outfit", sans-serif;
    color: var(--c-ink);
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.careers-page > main {
    flex: 1 0 auto;
}

.public-topnav {
    background: #fff;
    border-bottom: 1px solid rgba(13, 92, 99, 0.12);
    padding: .85rem 0;
    position: sticky;
    top: 0;
    z-index: 20;
}

.public-brand {
    font-weight: 800;
    color: var(--c-teal);
    text-decoration: none;
}

.public-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.35rem;
    align-items: center;
}

.public-links a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
}

.public-links a:hover { color: var(--c-teal); }

.public-links a.is-cta {
    background: linear-gradient(180deg, #c6e055 0%, #a8c83a 100%);
    color: #1a2a10;
    padding: .35rem .85rem;
    border-radius: 8px;
}

.careers-hero {
    background: linear-gradient(135deg, #0d5c63 0%, #147a84 55%, #1a9099 100%);
    color: #fff;
    padding: 2.5rem 0 2rem;
}

.careers-hero--detail { padding-bottom: 2.5rem; }

.careers-eyebrow {
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .75rem;
    opacity: .85;
}

.careers-hero h1 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0;
}

.careers-lead { opacity: .9; max-width: 36rem; }

.careers-search { border-radius: 14px; }

.btn-careers {
    background: linear-gradient(180deg, #c6e055 0%, #a8c83a 100%);
    color: #1a2a10;
    font-weight: 700;
    border: 0;
    border-radius: 8px;
}

.btn-careers:hover { filter: brightness(1.05); color: #1a2a10; }

.job-card {
    background: #fff;
    border: 1px solid rgba(13, 92, 99, 0.12);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(13, 92, 99, 0.06);
}

.job-card__body { padding: 1.15rem 1.2rem 1.25rem; }
.job-card h2 { color: var(--c-teal); margin-bottom: .35rem; }

.tag {
    display: inline-block;
    font-size: .75rem;
    font-weight: 600;
    padding: .2rem .55rem;
    border-radius: 999px;
    background: rgba(13, 92, 99, 0.08);
    color: var(--c-teal);
}

.tag-light {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.closing {
    font-size: .78rem;
    font-weight: 700;
    color: var(--c-muted);
    white-space: nowrap;
}

.closing.is-urgent { color: #b45309; }

.content-block {
    background: #fff;
    border-radius: 14px;
    padding: 1.25rem 1.35rem;
    border: 1px solid rgba(13, 92, 99, 0.1);
}

.rich-html { line-height: 1.55; }
.rich-html ul { padding-left: 1.2rem; }

.hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.careers-footer {
    margin-top: auto;
    flex-shrink: 0;
    padding: 1.25rem 1rem 1rem;
    background: #fff;
    border-top: 1px solid rgba(13, 92, 99, 0.12);
}

.careers-footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    max-width: 720px;
    margin: 0 auto;
}

.careers-footer__inner a {
    color: #1a1a1a;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
}

.careers-footer__inner a:hover {
    color: var(--c-teal);
}

.careers-footer__copy {
    margin-top: .75rem;
    text-align: center;
    font-size: .75rem;
    color: var(--c-muted);
}

.success-card {
    max-width: 480px;
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(13, 92, 99, 0.12);
    box-shadow: 0 12px 32px rgba(13, 92, 99, 0.12);
}

.success-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto;
    border-radius: 50%;
    background: rgba(168, 200, 58, 0.25);
    color: #5a7a12;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 800;
}

.ref-code code {
    font-size: 1.05rem;
    color: var(--c-teal);
}

.text-teal { color: var(--c-teal); }

body.intake-page { background: #f0f2f4; }

body.intake-page > main {
    flex: 1 0 auto;
}

.intake-card {
    max-width: 920px;
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem 1.5rem 1.75rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.intake-title {
    font-family: "Cormorant Garamond", Georgia, serif;
    color: var(--c-gold);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.intake-section {
    color: var(--c-gold);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin: 1.1rem 0 .65rem;
}

.intake-card .form-label {
    font-size: .78rem;
    color: #7a858a;
    margin-bottom: .25rem;
}

.intake-input {
    background: #f7f9fa;
    border: 1px solid #d5dcdf;
    border-radius: 10px;
    min-height: 44px;
    color: var(--c-ink);
}

.intake-input:focus {
    background: #fff;
    border-color: var(--c-teal);
    box-shadow: 0 0 0 .2rem rgba(13, 92, 99, 0.12);
}

.age-stepper {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    gap: .35rem;
    align-items: center;
}

.age-btn {
    height: 44px;
    border-radius: 10px;
    border: 1px solid #d5dcdf;
    background: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--c-teal);
}

.upload-box {
    border: 1px dashed #c9d2d6;
    border-radius: 12px;
    background: #f7f9fa;
    padding: 1.15rem;
    text-align: center;
}

.upload-title { color: #7a858a; font-size: .92rem; }

.upload-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: #fff;
    border: 1px solid #c9d2d6;
    border-radius: 10px;
    padding: .55rem 1rem;
    font-weight: 700;
    cursor: pointer;
}

.upload-hint { color: #8a9498; font-size: .8rem; margin-top: .55rem; }

.btn-submit {
    background: #2f9e44;
    color: #fff;
    font-weight: 800;
    border: 0;
    border-radius: 10px;
    padding: .85rem 1rem;
    font-size: 1.05rem;
}

.btn-submit:hover { background: #278a3a; color: #fff; }

.yb-public-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: .35rem auto 1rem;
}

.yb-public-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    font-weight: 700;
    text-decoration: none;
    font-size: .95rem;
    line-height: 1.25;
    min-height: 2rem;
}

.yb-public-nav a:hover { color: var(--yb-teal, #0d5c63); }

.yb-public-nav a.is-cta {
    color: #1a2a10;
    background: linear-gradient(180deg, #c6e055 0%, #a8c83a 100%);
    padding: .35rem .85rem;
    border-radius: 8px;
    line-height: 1.25;
}

.news-attachment__image {
    max-height: 520px;
    width: auto;
    max-width: 100%;
    display: block;
}

.news-attachment__pdf {
    width: 100%;
    min-height: 520px;
    border: 1px solid rgba(13, 92, 99, 0.12);
    border-radius: 12px;
}
