:root {
    --bg: #0B1120;
    --panel: #121A2E;
    --panel-alt: #182238;
    --border: rgba(232, 163, 61, 0.16);
    --border-soft: rgba(255, 255, 255, 0.08);
    --text: #EDEFF5;
    --text-muted: #8D96AC;
    --text-faint: #5C6480;
    --gold: #E8A33D;
    --gold-dim: #B9812E;
    --teal: #5FD8C4;
    --teal-dim: #3EA290;
    --radius: 10px;
    --maxw: 1120px;
    --font-display: 'Fraunces', serif;
    --font-body: 'IBM Plex Sans', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

::selection {
    background: var(--gold);
    color: #12140c;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 2px;
}

.wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 32px;
}

/* ---------- NAV ---------- */
header.site {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11, 17, 32, 0.86);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-soft);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    max-width: var(--maxw);
    margin: 0 auto;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 14px;
    letter-spacing: 0.06em;
    text-decoration: none;
    color: var(--text);
}

.brand .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 3px rgba(232, 163, 61, 0.15);
}

.brand strong {
    font-weight: 500;
}

nav.links {
    display: flex;
    gap: 28px;
    align-items: center;
}

nav.links a {
    font-family: var(--font-mono);
    font-size: 12.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    padding: 6px 0;
    border-bottom: 1px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

nav.links a:hover {
    color: var(--gold);
    border-color: var(--gold);
}

.nav-cta {
    font-family: var(--font-mono);
    font-size: 12.5px;
    letter-spacing: 0.06em;
    background: transparent;
    border: 1px solid var(--gold-dim);
    color: var(--gold);
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-cta:hover {
    background: var(--gold);
    color: #141008;
}

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-soft);
    color: var(--text);
    width: 38px;
    height: 38px;
    border-radius: 6px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.menu-toggle svg {
    width: 18px;
    height: 18px;
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    padding: 96px 32px 88px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-soft);
}

.hero-grid {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
}

.eyebrow {
    font-family: var(--font-mono);
    font-size: 12.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal);
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.eyebrow::before {
    content: "";
    width: 22px;
    height: 1px;
    background: var(--teal-dim);
}

h1.hero-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(40px, 6vw, 68px);
    line-height: 1.02;
    margin: 0 0 22px;
    letter-spacing: -0.01em;
}

h1.hero-title em {
    font-style: italic;
    font-weight: 500;
    color: var(--gold);
}

.hero-lede {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 46ch;
    margin: 0 0 34px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.05em;
    padding: 13px 24px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
    background: var(--gold);
    color: #171106;
    border: 1px solid var(--gold);
}

.btn-primary:hover {
    transform: translateY(-1px);
    background: #f0ad4d;
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-soft);
}

.btn-ghost:hover {
    border-color: var(--teal-dim);
    color: var(--teal);
}

.hero-meta {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--text-faint);
}

.hero-meta span strong {
    color: var(--text-muted);
    font-weight: 500;
    display: block;
    font-family: var(--font-body);
    font-size: 14px;
    margin-bottom: 2px;
}

.phase-space {
    position: relative;
    aspect-ratio: 1/1;
    max-width: 420px;
    margin: 0 auto;
}

.phase-space svg {
    width: 100%;
    height: 100%;
    display: block;
}

.ps-caption {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-faint);
    margin-top: 10px;
    letter-spacing: 0.05em;
}

/* ---------- SECTION SHELL ---------- */
section {
    padding: 88px 32px;
    border-bottom: 1px solid var(--border-soft);
}

section:last-of-type {
    border-bottom: none;
}

.section-head {
    max-width: 640px;
    margin: 0 auto 48px;
    text-align: left;
}

.section-head .eyebrow {
    margin-bottom: 14px;
}

h2.section-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(28px, 4vw, 38px);
    margin: 0 0 14px;
    letter-spacing: -0.01em;
}

.section-sub {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 60ch;
}

/* ---------- ABOUT / GENERAL INFO ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 56px;
    align-items: start;
}

.about-copy p {
    color: var(--text-muted);
    font-size: 16px;
    margin: 0 0 18px;
    max-width: 58ch;
}

.about-copy strong {
    color: var(--text);
    font-weight: 500;
}

.stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border-soft);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    overflow: hidden;
}

.stat {
    background: var(--panel);
    padding: 22px 20px;
}

.stat .num {
    font-family: var(--font-display);
    font-size: 30px;
    color: var(--gold);
    font-weight: 600;
    line-height: 1;
}

.stat .label {
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 8px;
}

/* ---------- PROGRAM ---------- */
.timeline {
    max-width: 760px;
    margin: 0 auto;
}

.t-row {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 24px;
    padding: 22px 0;
    border-top: 1px solid var(--border-soft);
    position: relative;
}

.t-row:first-child {
    border-top: 1px solid var(--border-soft);
}

.t-time {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--gold);
    padding-top: 2px;
}

.t-body h3 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16.5px;
    margin: 0 0 6px;
    color: var(--text);
}

.t-body p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14.5px;
}

.t-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--teal);
    border: 1px solid rgba(95, 216, 196, 0.28);
    border-radius: 4px;
    padding: 2px 8px;
    margin-bottom: 8px;
}

.t-row.break {
    opacity: 0.7;
}

.t-row.break .t-time {
    color: var(--text-faint);
}

/* ---------- LOCATION ---------- */
.loc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.loc-card {
    background: var(--panel);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 32px;
}

.loc-card h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 6px;
}

.loc-card .addr {
    color: var(--text-muted);
    font-size: 15px;
    margin: 0 0 22px;
}

.loc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.loc-list li {
    display: flex;
    gap: 12px;
    font-size: 14.5px;
    color: var(--text-muted);
}

.loc-list li .k {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    min-width: 82px;
    padding-top: 2px;
}

.loc-list li .v {
    color: var(--text);
}

.map-art {
    background: var(--panel-alt);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    aspect-ratio: 4/2;
    position: relative;
    overflow: hidden;
}

/* ---------- REGISTRATION ---------- */
.reg-panel {
    background: linear-gradient(180deg, var(--panel), var(--panel-alt));
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 44px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: center;
}

.reg-copy h3 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 600;
    margin: 0 0 12px;
}

.reg-copy p {
    color: var(--text-muted);
    font-size: 15px;
    margin: 0 0 20px;
    max-width: 44ch;
}

.reg-facts {
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.reg-facts li {
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    gap: 10px;
    align-items: baseline;
}

.reg-facts li::before {
    content: "—";
    color: var(--gold);
}

.reg-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.reg-form label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-faint);
}

.reg-form input,
.reg-form select {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-soft);
    border-radius: 6px;
    color: var(--text);
    padding: 11px 14px;
    font-family: var(--font-body);
    font-size: 14.5px;
    width: 100%;
}

.reg-form input::placeholder {
    color: var(--text-faint);
}

.reg-form input:focus,
.reg-form select:focus {
    border-color: var(--teal-dim);
}

.reg-form button {
    margin-top: 6px;
}

/* ---------- CONTACT ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.contact-card {
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 26px;
    background: var(--panel);
}

.contact-card .k {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--teal);
    margin-bottom: 10px;
}

.contact-card h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    margin: 0 0 6px;
}

.contact-card p {
    margin: 0 0 4px;
    color: var(--text-muted);
    font-size: 14px;
}

.contact-card a.email {
    color: var(--gold);
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid transparent;
}

.contact-card a.email:hover {
    border-color: var(--gold);
}

footer {
    padding: 36px 32px;
    text-align: center;
}

footer p {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-faint);
    margin: 4px 0;
}

footer a {
    color: var(--text-muted);
    text-decoration: none;
}

footer a:hover {
    color: var(--gold);
}

@media (max-width: 860px) {

    nav.links,
    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-grid,
    .about-grid,
    .loc-grid,
    .reg-panel {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 64px 20px;
    }

    .hero {
        padding: 64px 20px 56px;
    }

    .navbar {
        padding: 14px 20px;
    }

    .stat-grid {
        grid-template-columns: 1fr 1fr;
    }

    .phase-space {
        max-width: 280px;
        margin: 0 auto;
    }

    .t-row {
        grid-template-columns: 76px 1fr;
        gap: 16px;
    }
}