.apply-shell {
    display: grid;
    gap: clamp(44px, 6vw, 72px);
    max-width: 940px;
    padding-top: calc(var(--header-height) + 90px);
    padding-bottom: 120px;
}

.apply-intro { text-align: center; }
.apply-intro .pa-eyebrow { justify-content: center; }
.apply-intro h1 { max-width: 860px; margin: 0 auto; color: var(--pa-white); font-size: clamp(2.6rem, 5vw, 4.6rem); }
.apply-intro h1 em { color: transparent; font-style: normal; background: linear-gradient(100deg, var(--pa-teal), #6ee9ff 55%, var(--pa-blue)); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.apply-intro > p { max-width: 620px; margin: 28px auto 0; color: rgba(247,255,253,.68); font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.8; }

.apply-flow[hidden] { display: none; }
.apply-flow { position: relative; z-index: 1; display: grid; gap: 34px; }

.apply-selector span { color: var(--pa-teal); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }

.contact-field select {
    width: 100%;
    padding: 15px 48px 15px 18px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius-sm);
    color: var(--pa-white);
    background: rgba(8,17,22,.72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%2300d9a3' stroke-width='1.6'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 18px center / 12px 8px;
    font: inherit;
    appearance: none;
    cursor: pointer;
    transition: border-color var(--ease), box-shadow var(--ease), background-color var(--ease);
}
.contact-field select:focus { border-color: var(--pa-teal); outline: none; background-color: rgba(8,17,22,.92); box-shadow: 0 0 0 4px rgba(0,217,163,.12); }
.contact-field select:invalid { color: rgba(147,169,174,.75); }
.contact-field select option { color: var(--pa-white); background: var(--pa-charcoal-soft); }
.apply-selector select { padding-top: 19px; padding-bottom: 19px; font-family: var(--heading); font-size: 1.08rem; font-weight: 600; }

.contact-field span i { color: var(--pa-teal); font-style: normal; }
.contact-field span small { margin-left: 6px; color: var(--pa-muted); font-size: .72rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.contact-field input:user-invalid, .contact-field textarea:user-invalid, .contact-field select:user-invalid { border-color: rgba(255,120,120,.55); }

.apply-form { padding-top: 34px; border-top: 1px solid rgba(0,217,163,.16); animation: apply-reveal .5s cubic-bezier(.2,.7,.2,1); }
.apply-form[hidden] { display: none; }
.apply-form .contact-field textarea { min-height: 132px; }

.apply-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
.apply-span { grid-column: 1 / -1; }

.apply-card .contact-success { justify-items: center; padding: 28px 0; text-align: center; }
.apply-card .contact-success:focus { outline: none; }
.apply-success-copy { max-width: 520px; color: var(--pa-white) !important; font-family: var(--heading); font-size: clamp(1.2rem, 2.2vw, 1.5rem); font-weight: 500; line-height: 1.55; }

@keyframes apply-reveal {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .apply-form { animation: none; }
}

@media (max-width: 980px) {
    .apply-shell { padding-top: calc(var(--header-height) + 60px); }
}

@media (max-width: 680px) {
    .apply-shell { padding-bottom: 80px; }
    .apply-intro h1 { font-size: clamp(2.2rem, 10vw, 3.2rem); }
    .apply-grid { grid-template-columns: 1fr; }
}

.apply-nugrant-link { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); text-align: center; }
.apply-nugrant-link p { margin: 0; color: var(--muted); font-weight: 600; }
