:root{--navy:#07101f;--blue:#152a72;--orange:#f59e0b;--orange-dark:#d97706;--paper:#f5f7fb;--text:#172033;--muted:#667085;--border:#dfe4ec;--danger:#b42318}
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:Poppins,sans-serif;background:var(--paper);color:var(--text);line-height:1.6;overflow-x:hidden}
a{text-decoration:none}.site-header{position:sticky;top:0;z-index:20;background:rgba(7,16,31,.94);backdrop-filter:blur(12px);border-bottom:1px solid rgba(255,255,255,.08)}
.header-inner{max-width:1180px;margin:auto;padding:18px 24px;display:flex;align-items:center;justify-content:space-between;gap:15px}.brand{font-weight:800;font-size:25px;color:#fff}.brand span{color:var(--orange)}.header-badge{color:#fff;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.12);padding:8px 14px;border-radius:999px;font-size:13px}
.hero{min-height:460px;display:grid;place-items:center;text-align:center;color:#fff;padding:72px 24px;background:linear-gradient(135deg,rgba(7,16,31,.96),rgba(21,42,114,.88)),radial-gradient(circle at top right,rgba(245,158,11,.35),transparent 40%)}.hero-content{max-width:950px}.eyebrow{display:inline-block;text-transform:uppercase;letter-spacing:1.4px;font-weight:700;font-size:13px;color:#ffd27a;margin-bottom:14px}.eyebrow.dark{color:var(--orange-dark)}.hero h1{font-size:clamp(38px,6vw,70px);line-height:1.08;margin-bottom:20px}.hero p{max-width:760px;margin:0 auto 32px;color:#d9e0ee;font-size:clamp(16px,2vw,19px)}
.event-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;max-width:850px;margin:auto}.event-grid div{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.14);border-radius:16px;padding:18px;display:flex;flex-direction:column;gap:5px}.event-grid span{color:#e6eaf3;font-size:14px}
.content-wrap{max-width:1180px;margin:-55px auto 80px;padding:0 24px;display:grid;grid-template-columns:.9fr 1.3fr;gap:28px;position:relative;z-index:2}.role-panel,.form-card{background:#fff;border-radius:24px;box-shadow:0 20px 50px rgba(21,32,63,.1);padding:34px}.role-panel h2,.form-card h2{font-size:30px;line-height:1.2;margin-bottom:10px}.role-card{display:flex;gap:16px;padding:18px 0;border-bottom:1px solid #edf0f5}.role-card:last-child{border-bottom:0}.role-card>span{width:52px;height:52px;display:grid;place-items:center;border-radius:14px;background:#fff5df;font-size:25px;flex:0 0 auto}.role-card h3{font-size:18px;margin-bottom:3px}.role-card p,.form-intro{color:var(--muted);font-size:14px}.form-intro{margin-bottom:26px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.field{display:flex;flex-direction:column;gap:7px}.full-width{grid-column:1/-1}.field label{font-weight:600;font-size:14px}.required{color:var(--danger);margin-left:3px}.field input:not([type=checkbox]),.field select,.field textarea{width:100%;border:1px solid var(--border);background:#fff;border-radius:12px;padding:13px 14px;font:inherit;color:var(--text);outline:none;transition:.2s}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--orange);box-shadow:0 0 0 4px rgba(245,158,11,.14)}.field textarea{resize:vertical}.checkbox-field{border:1px solid var(--border);border-radius:12px;padding:14px}.check-label{display:flex;align-items:flex-start;gap:10px;cursor:pointer}.check-label input{margin-top:5px;width:17px;height:17px;accent-color:var(--orange)}.field small{color:var(--muted)}.field-error,.errorlist{color:var(--danger);font-size:13px;list-style:none}.submit-btn{display:inline-flex;justify-content:center;align-items:center;width:100%;border:0;border-radius:13px;padding:15px 20px;background:linear-gradient(135deg,var(--orange),var(--orange-dark));color:#fff;font:inherit;font-weight:700;cursor:pointer;margin-top:24px;box-shadow:0 12px 24px rgba(217,119,6,.24);transition:.2s}.submit-btn:hover{transform:translateY(-2px)}.privacy-note{text-align:center;color:var(--muted);font-size:12px;margin-top:12px}.messages{max-width:900px;margin:20px auto;padding:0 24px}.message{padding:14px 18px;border-radius:12px;background:#e7f7ec;color:#176b36}
.thank-you-wrap{min-height:calc(100vh - 150px);display:grid;place-items:center;padding:70px 24px;background:radial-gradient(circle at top,#fff4d8,transparent 38%)}.thank-you-card{max-width:760px;width:100%;background:#fff;padding:48px;border-radius:28px;text-align:center;box-shadow:0 25px 65px rgba(21,32,63,.12)}.success-icon{width:82px;height:82px;border-radius:50%;display:grid;place-items:center;margin:0 auto 22px;background:#e6f7ec;color:#16803d;font-size:42px;font-weight:800}.thank-you-card h1{font-size:clamp(34px,5vw,54px);line-height:1.1;margin-bottom:16px}.thank-you-card>p{color:var(--muted);max-width:620px;margin:0 auto 24px}.confirmation-box{display:grid;grid-template-columns:1fr 1fr;gap:12px;text-align:left;margin:28px 0}.confirmation-box div{background:#f7f8fb;border:1px solid #e8ebf1;padding:16px;border-radius:14px}.confirmation-box span{display:block;color:var(--muted);font-size:12px;margin-bottom:4px}.confirmation-box strong{font-size:15px}.link-btn{max-width:320px;margin:10px auto 0}
footer{text-align:center;padding:28px 20px;background:var(--navy);color:#aab3c3;font-size:13px}
@media(max-width:900px){.content-wrap{grid-template-columns:1fr;margin-top:-35px}.role-panel{order:2}.form-card{order:1}.event-grid{grid-template-columns:1fr 1fr}.event-grid div:last-child{grid-column:1/-1}}
@media(max-width:620px){.header-inner{padding:15px 18px}.brand{font-size:20px}.header-badge{display:none}.hero{min-height:auto;padding:60px 18px 75px}.event-grid{grid-template-columns:1fr}.event-grid div:last-child{grid-column:auto}.content-wrap{padding:0 14px;margin-top:-30px;margin-bottom:50px}.role-panel,.form-card{padding:24px 18px;border-radius:18px}.form-grid{grid-template-columns:1fr}.full-width{grid-column:auto}.role-panel h2,.form-card h2{font-size:25px}.thank-you-card{padding:34px 20px}.confirmation-box{grid-template-columns:1fr}}

/* Registration capacity and token lookup */
.header-nav { display:flex; gap:18px; align-items:center; }
.header-nav a { color:#fff; text-decoration:none; font-weight:600; font-size:14px; }
.header-nav a:hover { color:#ffb300; }
.availability { padding:12px 14px; background:#ecfdf5; color:#065f46; border-radius:12px; margin:12px 0 18px; }
.text-link { display:block; margin-top:16px; text-align:center; color:#1a237e; font-weight:600; }
.token-display { margin:24px 0; padding:24px; border:2px dashed #ff9800; border-radius:18px; background:#fff7ed; text-align:center; }
.token-display span, .token-display small { display:block; }
.token-display strong { display:block; margin:8px 0; font-size:clamp(28px, 7vw, 48px); color:#1a237e; letter-spacing:2px; overflow-wrap:anywhere; }
.lookup-wrap { min-height:calc(100vh - 160px); padding:130px 20px 80px; background:linear-gradient(135deg,#fff7ed,#f8fafc); }
.lookup-card { max-width:760px; margin:auto; background:#fff; border-radius:26px; padding:clamp(24px,5vw,48px); box-shadow:0 20px 50px rgba(15,23,42,.12); }
.lookup-card h1 { font-size:clamp(30px,5vw,46px); margin:10px 0 12px; }
.lookup-form { margin-top:28px; }
.lookup-form label { display:block; font-weight:600; margin-bottom:8px; }
.lookup-form input { width:100%; padding:15px 16px; border:1px solid #cbd5e1; border-radius:12px; font:inherit; margin-bottom:14px; }
.lookup-result { margin-top:28px; }
.success-result { padding-top:8px; }
.confirmation-box.compact { grid-template-columns:repeat(2,minmax(0,1fr)); }
.action-row { display:flex; gap:14px; justify-content:center; align-items:center; flex-wrap:wrap; margin-top:24px; }
.secondary-link { color:#1a237e; font-weight:600; text-decoration:none; padding:12px 18px; }
@media (max-width:640px) {
  .header-inner { align-items:flex-start; gap:10px; }
  .header-nav { flex-direction:column; align-items:flex-end; gap:6px; }
  .confirmation-box.compact { grid-template-columns:1fr; }
  .lookup-wrap { padding-top:120px; }
}

/* =========================
   RESPONSIVE NAVIGATION
========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(15, 23, 42, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(12px);
}

.header-inner {
    width: min(100% - 40px, 1200px);
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.brand span {
    color: #ff9800;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.header-nav a:hover,
.header-nav a:focus-visible {
    color: #ffffff;
    background: rgba(255, 152, 0, 0.18);
    transform: translateY(-1px);
    outline: none;
}

.header-nav a:first-child {
    color: #ffffff;
    background: linear-gradient(135deg, #ff9800, #f97316);
}

.header-nav a:first-child:hover {
    background: linear-gradient(135deg, #f97316, #ea580c);
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    width: 23px;
    height: 2px;
    border-radius: 10px;
    background: #ffffff;
    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.nav-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================
   TABLET AND MOBILE
========================= */

@media (max-width: 768px) {
    .header-inner {
        width: min(100% - 28px, 1200px);
        min-height: 68px;
        position: relative;
    }

    .brand {
        font-size: 20px;
    }

    .nav-toggle {
        display: flex;
        flex-shrink: 0;
    }

    .header-nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 14px;
        background: #0f172a;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 16px;
        box-shadow: 0 20px 45px rgba(15, 23, 42, 0.3);

        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        pointer-events: none;

        transition:
            opacity 0.25s ease,
            visibility 0.25s ease,
            transform 0.25s ease;
    }

    .header-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .header-nav a {
        width: 100%;
        min-height: 48px;
        justify-content: flex-start;
        padding: 12px 16px;
    }
}

/* =========================
   SMALL PHONES
========================= */

@media (max-width: 420px) {
    .header-inner {
        width: min(100% - 20px, 1200px);
    }

    .brand {
        max-width: 220px;
        font-size: 18px;
        white-space: normal;
        line-height: 1.2;
    }

    .nav-toggle {
        width: 42px;
        height: 42px;
    }

    .header-nav {
        top: calc(100% + 8px);
        padding: 10px;
        border-radius: 14px;
    }
}
