@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,500;0,600;0,700;0,800;0,900;1,700&family=Cinzel:wght@700;800;900&family=Inter:wght@400;500;600;700&display=swap');


:root {
    --bg: #050307;
    --panel: rgba(13, 8, 20, 0.95);
    --panel-strong: #100919;
    --panel-soft: rgba(24, 13, 34, 0.82);
    --text: #f8f5ff;
    --muted: #c7bdd1;
    --orange: #ff7a00;
    --orange-light: #ffb13b;
    --purple: #8d2cff;
    --purple-light: #c05cff;
    --lime: #b7ff12;
    --line: rgba(199, 145, 255, 0.26);
    --danger: #ff596e;
    --success: #9cff2e;
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
    --radius: 22px;
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 50% -10%, rgba(124, 20, 210, 0.30), transparent 38rem),
        radial-gradient(circle at 4% 28%, rgba(255, 103, 0, 0.12), transparent 24rem),
        linear-gradient(180deg, #030204 0%, #08040d 48%, #030204 100%);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
    overflow-x: hidden;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .24;
    background-image:
        linear-gradient(rgba(156, 55, 255, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(156, 55, 255, .06) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, black, transparent 75%);
}

a { color: var(--lime); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.ambient {
    position: fixed;
    z-index: -1;
    width: 26rem;
    height: 26rem;
    border-radius: 999px;
    filter: blur(90px);
    opacity: .16;
}
.ambient-one { background: var(--purple); top: 18rem; left: -12rem; }
.ambient-two { background: var(--orange); top: 52rem; right: -14rem; }

.primary-nav a {
    text-decoration: none;
}
.brand-link { display: inline-flex; }
.brand-logo {
    width: 310px;
    max-width: 72vw;
    height: auto;
    filter: drop-shadow(0 0 24px rgba(133, 32, 255, .26));
}

.page-shell {
    width: 980px;
    max-width: calc(100% - 32px);
    margin: 0 auto 70px;
    padding-top:150px;
}

.hero-card, .info-card, .application-form, .compliance-card, .success-card {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(19, 10, 29, .97), rgba(7, 5, 11, .97));
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .035);
    overflow: hidden;
}
.hero-card::after, .application-form::after, .info-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(130deg, rgba(255, 123, 0, .65), transparent 25%, transparent 70%, rgba(145, 44, 255, .55));
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.hero-card {
    min-height: 360px;
    display: grid;
    place-items: center;
    padding: 58px 62px;
    isolation: isolate;
}
.hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(105deg, rgba(1, 1, 3, .20), rgba(1, 1, 3, .72)),
        radial-gradient(circle at 73% 22%, rgba(159, 34, 255, .35), transparent 22rem),
        linear-gradient(135deg, rgba(255, 111, 0, .85) 0 19%, transparent 19.2% 100%);
    clip-path: polygon(0 0, 96% 0, 100% 13%, 97% 100%, 4% 100%, 0 87%);
}
.hero-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .28;
    background:
        radial-gradient(circle at 18% 25%, var(--orange) 0 2px, transparent 3px),
        radial-gradient(circle at 79% 74%, var(--purple-light) 0 2px, transparent 3px),
        repeating-linear-gradient(123deg, transparent 0 28px, rgba(177, 65, 255, .12) 29px, transparent 30px 58px);
}
.hero-content { max-width: 790px; }
.eyebrow, .kicker {
    margin: 0 0 8px;
    color: var(--lime);
    font-size: .77rem;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.hero-card h1 {
    margin: 0;
    max-width: 760px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.4rem, 7vw, 5.15rem);
    line-height: .94;
    letter-spacing: -.055em;
    text-shadow: 0 5px 0 rgba(0,0,0,.35), 0 0 28px rgba(161, 42, 255, .25);
}
.hero-date {
    margin: 24px 0 14px;
    color: var(--orange-light);
    font-weight: 850;
    letter-spacing: .045em;
}
.hero-date span { color: var(--purple-light); padding: 0 7px; }
.hero-copy { max-width: 700px; margin: 0; color: #e5ddeb; font-size: 1.05rem; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.hero-tags span {
    padding: 8px 12px;
    border: 1px solid rgba(183, 255, 18, .28);
    border-radius: 999px;
    background: rgba(12, 18, 4, .62);
    color: #eaffb4;
    font-size: .82rem;
    font-weight: 750;
}

.info-card, .application-form, .compliance-card { margin-top: 22px; padding: 38px; }
.section-heading { display: flex; gap: 16px; align-items: center; margin-bottom: 24px; }
.section-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border: 1px solid rgba(190, 67, 255, .55);
    clip-path: polygon(18% 0, 82% 0, 100% 18%, 100% 82%, 82% 100%, 18% 100%, 0 82%, 0 18%);
    background: linear-gradient(145deg, rgba(138, 31, 255, .28), rgba(255, 111, 0, .15));
    color: var(--orange-light);
    font-weight: 950;
    font-size: .78rem;
    letter-spacing: .1em;
}
.section-heading h2, .compliance-card h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.65rem, 4vw, 2.35rem);
    line-height: 1.08;
}
.section-heading .kicker { margin-bottom: 4px; }
.department-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.department-grid span {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 10px 13px;
    border: 1px solid rgba(155, 60, 255, .20);
    background: rgba(120, 35, 190, .08);
    border-radius: 10px;
    color: #e9def1;
    font-size: .9rem;
    font-weight: 700;
}
.department-grid span::before { content: ">"; color: var(--lime); margin-right: 8px; }
.requirements-box, .legal-panel, .review-box {
    margin-top: 24px;
    padding: 22px;
    border-left: 4px solid var(--orange);
    border-radius: 8px 14px 14px 8px;
    background: linear-gradient(90deg, rgba(255, 112, 0, .11), rgba(122, 33, 185, .07));
}
.requirements-box h3, .legal-panel h3 { margin: 0 0 10px; }
.requirements-box ul { margin: 0; padding-left: 20px; color: var(--muted); }
.requirements-box li + li { margin-top: 6px; }
.privacy-note { margin: 18px 0 0; color: #d7cadf; font-size: .9rem; }
.privacy-note strong { color: var(--orange-light); }

.alert { margin-top: 22px; padding: 15px 18px; border-radius: 12px; font-weight: 750; }
.alert-error { border: 1px solid rgba(255, 89, 110, .45); background: rgba(255, 89, 110, .10); color: #ffd4da; }

.application-form { overflow: visible; }
.progress-shell {
    position: sticky;
    top: 10px;
    z-index: 20;
    margin: -18px -18px 34px;
    padding: 14px 18px 16px;
    border: 1px solid rgba(165, 72, 255, .26);
    border-radius: 14px;
    background: rgba(7, 4, 12, .92);
    backdrop-filter: blur(16px);
}
.progress-meta { display: flex; justify-content: space-between; margin-bottom: 8px; color: #ddd3e4; font-size: .82rem; font-weight: 850; }
.progress-track { height: 7px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.09); }
.progress-bar { height: 100%; width: 25%; border-radius: inherit; background: linear-gradient(90deg, var(--orange), var(--purple), var(--lime)); box-shadow: 0 0 14px rgba(162, 54, 255, .6); transition: width .3s ease; }
.form-step { animation: stepIn .25s ease both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.required-note { margin: -12px 0 22px; color: var(--muted); font-size: .82rem; }
.required-note span, label span, legend span { color: var(--orange-light); }

.field-grid { display: grid; gap: 18px; }
.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.location-grid { grid-template-columns: .7fr .8fr 1.5fr; }
.field { margin-bottom: 21px; }
.field label, .field legend {
    display: block;
    margin-bottom: 8px;
    color: #f7f1fb;
    font-size: .92rem;
    font-weight: 800;
}
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field select, .field textarea {
    width: 100%;
    border: 1px solid rgba(190, 145, 215, .26);
    border-radius: 10px;
    outline: none;
    background: rgba(3, 2, 6, .82);
    color: var(--text);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.field input, .field select { min-height: 50px; padding: 0 14px; }
.field textarea { padding: 13px 14px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #786e80; }
.field input:focus, .field select:focus, .field textarea:focus {
    border-color: var(--purple-light);
    background: #07040b;
    box-shadow: 0 0 0 4px rgba(156, 55, 255, .15), 0 0 20px rgba(156, 55, 255, .12);
}
.field-error { display: none; margin-top: 7px; color: #ff9daa; font-weight: 700; }
.is-invalid .field-error { display: block; }
.is-invalid input, .is-invalid select, .is-invalid textarea { border-color: var(--danger) !important; }

.fieldset-card, .mini-fieldset {
    border: 1px solid rgba(178, 86, 255, .22);
    border-radius: 14px;
    background: rgba(120, 40, 175, .055);
    padding: 19px;
}
.fieldset-card legend, .mini-fieldset legend { padding: 0 8px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.choice, .date-choice, .consent-choice {
    position: relative;
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    margin: 0 !important;
    padding: 11px 12px;
    border: 1px solid rgba(190, 141, 220, .18);
    border-radius: 9px;
    background: rgba(0,0,0,.18);
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.choice:hover, .date-choice:hover, .consent-choice:hover { border-color: rgba(183, 255, 18, .45); background: rgba(184, 255, 18, .035); }
.choice input, .date-choice input, .consent-choice input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--purple); }
.choice span, .date-choice span, .consent-choice span { color: #ded3e5; font-size: .9rem; font-weight: 650; }
.choice:has(input:checked), .date-choice:has(input:checked), .consent-choice:has(input:checked) { border-color: rgba(183, 255, 18, .58); background: rgba(183, 255, 18, .07); }
.availability-grid { display: grid; gap: 8px; }
.date-choice { align-items: center; }
.mini-fieldset .choice { margin-bottom: 8px !important; }
.field-meta { display: flex; justify-content: space-between; color: #94889b; font-size: .78rem; }

.file-upload input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.file-upload > label {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 90px;
    padding: 18px;
    border: 1px dashed rgba(183, 255, 18, .42);
    border-radius: 12px;
    background: rgba(183, 255, 18, .035);
    cursor: pointer;
}
.upload-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; background: linear-gradient(145deg, var(--purple), #41105f); color: white !important; font-size: 1.4rem; }
.file-upload label span:last-child { display: grid; }
.file-upload label small { color: var(--muted); font-weight: 500; }
.file-upload p { margin: 9px 0 0; color: var(--muted); font-size: .82rem; }
.file-upload .file-error { color: var(--danger); }

.legal-panel { margin-top: 0; color: #d9cde0; }
.legal-panel p { margin: 10px 0 0; }
.consent-choice { margin-top: 12px !important; }
.consent-choice.is-invalid { border-color: var(--danger); }
.signature-grid { margin-top: 23px; }
.review-box { display: flex; align-items: center; gap: 12px; border-left-color: var(--lime); }
.review-box > span { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 999px; background: var(--lime); color: #081000; font-weight: 950; }
.review-box p { margin: 0; color: #e2d9e7; }

.form-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(180, 125, 210, .18); }
.button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: .025em;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.button:hover { transform: translateY(-2px); filter: brightness(1.07); }
.button:disabled { opacity: .65; cursor: wait; transform: none; }
.button-primary { background: linear-gradient(135deg, var(--orange), #ff9b15); color: #160700; box-shadow: 0 12px 32px rgba(255, 111, 0, .23); }
.button-secondary { border-color: rgba(194, 120, 235, .34); background: rgba(120, 50, 155, .09); color: #f6effa; }
.button-submit { background: linear-gradient(135deg, var(--lime), #7ccd00); color: #071000; box-shadow: 0 12px 34px rgba(164, 255, 20, .20); }
.form-status { min-height: 22px; margin: 12px 0 0; text-align: right; color: #ffb0bb; font-size: .84rem; font-weight: 700; }

.compliance-card { border-color: rgba(183, 255, 18, .22); background: linear-gradient(145deg, rgba(12, 20, 6, .82), rgba(7, 5, 11, .97)); }
.compliance-card h2 { font-size: 1.55rem; }
.compliance-card p { margin-bottom: 0; color: var(--muted); }

.site-footer { padding: 0 24px 55px; text-align: center; color: #8f8298; font-size: .82rem; }
.site-footer img { width: 86px; opacity: .5; }
.site-footer p { margin: 4px 0; }
.site-footer span { padding: 0 5px; color: var(--orange); }

.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.success-page { display: grid; place-items: center; padding: 28px; }
.success-shell { width: 680px;
    max-width: 100%; }
.success-card { padding: 46px; text-align: center; }
.success-card > img { width: 300px;
    max-width: 70vw; }
.success-check { width: 74px; height: 74px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 999px; background: linear-gradient(145deg, var(--lime), #6ab900); color: #071000; font-size: 2rem; font-weight: 950; box-shadow: 0 0 35px rgba(183, 255, 18, .24); }
.success-card h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 8vw, 3.7rem); }
.success-card > p { color: var(--muted); }
.confirmation-id { margin: 24px 0; padding: 17px; border: 1px solid rgba(158, 66, 255, .32); border-radius: 12px; background: rgba(123, 38, 173, .08); }
.confirmation-id span, .confirmation-id strong { display: block; }
.confirmation-id span { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .13em; }
.confirmation-id strong { margin-top: 4px; color: var(--orange-light); font-size: 1.16rem; letter-spacing: .08em; }
.success-card .button { margin-top: 18px; }

@media (max-width: 780px) {
    .page-shell { width: 980px; max-width: calc(100% - 20px); }
    .hero-card { min-height: 330px; padding: 42px 26px; }
    .hero-card::before { clip-path: polygon(0 0, 93% 0, 100% 8%, 97% 100%, 5% 100%, 0 92%); }
    .info-card, .application-form, .compliance-card { padding: 24px 18px; }
    .department-grid, .choice-grid, .two-col, .three-col, .location-grid { grid-template-columns: 1fr; }
    .progress-shell { margin: -10px -7px 28px; top: 6px; }
    .section-heading { align-items: flex-start; }
    .form-actions { flex-wrap: wrap; }
    .form-actions .button { flex: 1 1 130px; }
    .success-card { padding: 30px 20px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; transition-duration: .001ms !important; }
}


@page { size: 1440px 1800px; margin: 0; }
@media print {
    html, body { width: 1440px; min-height: 1800px; background: #050307 !important; }
    body { padding-top: 1px; }
    .site-header { width: 1120px; max-width: none; }
    .brand-logo { width: 300px; max-width: none; }
    .page-shell { width: 980px; max-width: none; }
    .hero-card h1 { font-size: 74px; }
    .section-heading h2 { font-size: 34px; }
    .progress-shell { position: relative; top: auto; }
    .ambient { display: none; }
}

input[type="hidden"] { display: none !important; }
