/* ===== CAREERS V1 SPECIFIC STYLES ===== */
/* Note: nav/logo (hero-top in the source) is NOT here — that becomes
   part of the shared header.php later. Footer styles live in global.css. */

/* ===== 01 HERO ===== */
.hero {
    background: var(--ink);
    color: var(--ivory);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(40px, 8vh, 80px) 5vw 90px;
}

.hero .eyebrow {
    color: var(--brass-soft);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero .eyebrow::before {
    content: '';
    width: 34px;
    height: 1px;
    background: var(--brass-soft);
    display: inline-block;
}

.hero h1 {
    font-family: var(--ff-display);
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(34px, 6.6vw, 84px);
    line-height: 1.04;
    max-width: 1000px;
}

.hero-sub {
    margin-top: 28px;
    max-width: 540px;
    font-size: 16px;
    line-height: 1.75;
    color: var(--ivory-dim);
}

.hero-stats {
    margin-top: 72px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--line-dark);
    border: 1px solid var(--line-dark);
    max-width: 920px;
}

@media (min-width: 640px) {
    .hero-stats { grid-template-columns: repeat(4, 1fr); }
}

.hero-stat {
    background: var(--ink);
    padding: 26px;
}

.stat-num {
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1;
    color: var(--brass-soft);
}

.stat-label {
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ivory-dim);
    margin-top: 10px;
    opacity: .8;
}

/* ===== 02 WHY AGAPE ===== */
.why { padding: 130px 5vw 110px; }

.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 44px;
    margin-bottom: 56px;
    align-items: start;
}

@media (min-width: 900px) {
    .why-grid {
        grid-template-columns: 1.3fr 1fr;
        column-gap: 80px;
        row-gap: 44px;
    }
}

.why-head { grid-column: 1; grid-row: 1; max-width: 820px; }
.why-head h2 {
    font-family: var(--ff-display);
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(30px, 4.4vw, 54px);
    margin-top: 16px;
    line-height: 1.1;
}

.why-lede {
    grid-column: 1;
    grid-row: 2;
    max-width: 700px;
    font-size: 16.5px;
    line-height: 1.85;
    color: #403c30;
}
.why-lede p + p { margin-top: 20px; }

.why-photo {
    grid-column: 1;
    grid-row: 3;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--ink-2);
}

@media (min-width: 900px) {
    .why-photo {
        grid-column: 2;
        grid-row: 1 / span 2;
    }
}

.why-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.why-pillars {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--line-light);
    border: 1px solid var(--line-light);
}

@media (min-width: 760px) {
    .why-pillars { grid-template-columns: repeat(3, 1fr); }
}

.pillar {
    background: var(--ivory);
    padding: 44px 34px 40px;
    position: relative;
}

.pillar-num {
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .08em;
    color: var(--clay);
    margin-bottom: 26px;
}

.pillar-statement {
    font-family: var(--ff-display);
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(18px, 1.9vw, 22px);
    line-height: 1.25;
    margin-bottom: 14px;
}

.pillar p.pillar-desc {
    font-size: 14px;
    line-height: 1.75;
    color: #403c30;
}

/* ===== 03 OPEN ROLES ===== */
.roles {
    background: var(--ink);
    color: var(--ivory);
    padding: 130px 5vw 120px;
}

.roles-head { max-width: 720px; margin-bottom: 48px; }
.roles .eyebrow { color: var(--brass-soft); }

.roles-head h2 {
    font-family: var(--ff-display);
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(30px, 4.4vw, 54px);
    margin-top: 16px;
    line-height: 1.1;
}

.roles-head p.roles-sub {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.75;
    color: var(--ivory-dim);
    max-width: 560px;
}

.roles-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }

.chip {
    padding: 10px 18px;
    font-family: var(--ff-body);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 700;
    border: 1px solid var(--line-dark);
    color: var(--ivory-dim);
    cursor: pointer;
    background: transparent;
    transition: all .25s ease;
}
.chip:hover { border-color: var(--brass-soft); color: var(--brass-soft); }
.chip.active { background: var(--brass-soft); color: var(--ink); border-color: var(--brass-soft); }

.roles-list { border-top: 1px solid var(--line-dark); }

.role-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 26px 0;
    border-bottom: 1px solid var(--line-dark);
    transition: padding-left .3s ease, opacity .3s ease;
    cursor: pointer;
}
.role-row:hover { padding-left: 14px; }

.role-main { flex: 1; min-width: 240px; }

.role-title {
    font-family: var(--ff-display);
    font-weight: 600;
    text-transform: uppercase;
    font-size: clamp(16px, 1.7vw, 19px);
    letter-spacing: .02em;
    margin-bottom: 8px;
}

.role-meta {
    font-size: 13px;
    color: var(--ivory-dim);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.role-meta .dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--ivory-dim);
    opacity: .5;
    display: inline-block;
}

.role-side { display: flex; align-items: center; gap: 20px; }

.role-tag {
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 6px 12px;
    border: 1px solid var(--line-dark);
    color: var(--brass-soft);
    white-space: nowrap;
}

.role-arrow {
    color: var(--brass-soft);
    font-size: 20px;
    line-height: 1;
    transition: transform .3s ease;
}
.role-row:hover .role-arrow { transform: translateX(6px); }

.roles-note {
    margin-top: 44px;
    font-size: 13px;
    line-height: 1.8;
    color: var(--ivory-dim);
    opacity: .7;
    max-width: 640px;
}

/* ===== 04 LIFE AT AGAPE ===== */
.life { padding: 130px 5vw 110px; }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 {
    font-family: var(--ff-display);
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(30px, 4.4vw, 54px);
    margin-top: 16px;
    line-height: 1.1;
}

.life-list { border-top: 1px solid var(--line-light); }

.life-row {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 32px;
    padding: 38px 0;
    border-bottom: 1px solid var(--line-light);
    align-items: baseline;
    position: relative;
    cursor: pointer;
    transition: padding-left .4s cubic-bezier(.2, .7, .2, 1);
}
.life-row:hover { padding-left: 18px; }

.life-num {
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .06em;
    color: var(--clay);
    transition: color .3s ease;
}

.life-title {
    font-family: var(--ff-display);
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(18px, 2vw, 22px);
    margin-bottom: 10px;
    letter-spacing: .01em;
    transition: color .3s ease;
}

.life-desc {
    font-size: 15px;
    line-height: 1.8;
    color: #403c30;
    max-width: 680px;
    transition: color .3s ease;
}

.life-row:hover .life-title { color: var(--clay); }

@media (max-width: 600px) {
    .life-row { grid-template-columns: 1fr; gap: 10px; }
}

.life-preview {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    aspect-ratio: 3/4;
    pointer-events: none;
    z-index: 60;
    opacity: 0;
    overflow: hidden;
    background: var(--ink-2);
    transition: opacity .35s ease;
    will-change: transform;
    box-shadow: 0 24px 60px rgba(21, 19, 15, .28);
    transform: translate(-1000px, -1000px);
}
.life-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.life-preview.on { opacity: 1; }

@media (hover: none) {
    .life-preview { display: none; }
}

/* ===== 05 HOW TO APPLY + FORM ===== */
.apply {
    background: var(--ink);
    color: var(--ivory);
    padding: 140px 5vw 110px;
}

.apply-head { max-width: 620px; margin-bottom: 56px; }
.apply .eyebrow { color: var(--brass-soft); }

.apply-head h2 {
    font-family: var(--ff-display);
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(30px, 4.4vw, 54px);
    margin-top: 16px;
    line-height: 1.1;
}

.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--line-dark);
    border: 1px solid var(--line-dark);
    max-width: 1000px;
    margin-bottom: 72px;
}

@media (min-width: 760px) {
    .steps { grid-template-columns: repeat(3, 1fr); }
}

.step { background: var(--ink); padding: 36px 30px; }

.step-num {
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: 28px;
    color: var(--brass-soft);
    margin-bottom: 16px;
    line-height: 1;
}

.step-title {
    font-family: var(--ff-display);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: .02em;
    margin-bottom: 10px;
}

.step-desc { font-size: 13.5px; line-height: 1.75; color: var(--ivory-dim); }

.apply-form-wrap {
    border-top: 1px solid var(--line-dark);
    padding-top: 56px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 900px) {
    .apply-form-wrap { grid-template-columns: .7fr 1.3fr; gap: 80px; }
}

.form-intro h3 {
    font-family: var(--ff-display);
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(22px, 2.6vw, 32px);
    line-height: 1.15;
    margin-bottom: 18px;
}

.form-intro p {
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--ivory-dim);
    margin-bottom: 16px;
}

.form-intro a.contact-link {
    font-size: 14px;
    color: var(--brass-soft);
    border-bottom: 1px solid var(--brass-soft);
    padding-bottom: 3px;
    display: inline-block;
    margin-top: 8px;
    transition: opacity .3s ease;
}
.form-intro a.contact-link:hover { opacity: .7; }

.apply-form { display: flex; flex-direction: column; gap: 20px; }

.form-row { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) {
    .form-row.two { grid-template-columns: 1fr 1fr; }
}

.form-field { display: flex; flex-direction: column; gap: 10px; }

.form-field label {
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--ivory-dim);
    opacity: .85;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    background: transparent;
    border: 1px solid var(--line-dark);
    color: var(--ivory);
    font-family: var(--ff-body);
    font-size: 14px;
    padding: 14px 16px;
    outline: none;
    transition: border-color .25s ease, background .25s ease;
    border-radius: 0;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--ivory-dim); opacity: .5; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--brass-soft);
    background: rgba(216, 185, 136, .04);
}

.form-field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d8b988' stroke-width='1.5'><path d='M6 9l6 6 6-6'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 42px;
}

.form-field select option { background: var(--ink); color: var(--ivory); }
.form-field textarea { resize: vertical; min-height: 120px; font-family: var(--ff-body); }

.form-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 30px;
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 700;
    font-family: var(--ff-body);
    border: 1px solid var(--brass-soft);
    background: var(--brass-soft);
    color: var(--ink);
    cursor: pointer;
    transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.btn:hover { background: var(--ivory); border-color: var(--ivory); }
.btn svg { width: 18px; height: 18px; }

.form-note { font-size: 12px; color: var(--ivory-dim); opacity: .7; }

/* ===== LOOKING FORWARD ===== */
.forward {
    background: var(--ivory);
    color: var(--ink);
    padding: 130px 5vw 90px;
}

.forward-head { max-width: 600px; margin-bottom: 56px; }
.forward .eyebrow { color: var(--clay); }

.forward-head h2 {
    font-family: var(--ff-display);
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(28px, 4vw, 48px);
    margin-top: 16px;
    line-height: 1.1;
}

.forward-links { border-top: 1px solid var(--line-light); }

.fwd-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 34px 0;
    border-bottom: 1px solid var(--line-light);
    transition: opacity .3s ease;
}
.fwd-link:hover { opacity: .65; }

.fwd-left { max-width: 640px; }

.fwd-title {
    font-family: var(--ff-display);
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(20px, 2.6vw, 30px);
    display: flex;
    align-items: center;
    gap: 14px;
}

.fwd-title svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform .3s ease;
}
.fwd-link:hover .fwd-title svg { transform: translateX(8px); }

.fwd-desc { margin-top: 8px; font-size: 14px; line-height: 1.7; color: #403c30; }

.fwd-index {
    font-family: var(--ff-display);
    font-size: 12px;
    letter-spacing: .18em;
    color: #8a836e;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}