:root {
    --bg: #050505;
    --bg-soft: #0d0d0f;
    --surface: rgba(255, 255, 255, 0.05);
    --surface-strong: rgba(255, 255, 255, 0.08);
    --line: rgba(255, 255, 255, 0.12);
    --text: #f5efe2;
    --muted: rgba(245, 239, 226, 0.72);
    --accent: #d6ae60;
    --accent-strong: #f0d089;
    --shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --container: 1180px;
}

html {
    background: var(--bg);
}

body {
    background:
        radial-gradient(circle at top, rgba(214, 174, 96, 0.08), transparent 30%),
        linear-gradient(180deg, #090909 0%, #050505 40%, #070707 100%);
    color: var(--text);
    font-family: "Inter", Arial, sans-serif;
    line-height: 1.6;
}

body.menu-open {
    overflow: hidden;
}

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
}

.page-shell {
    overflow: clip;
}

.section {
    position: relative;
    padding: 6rem 0;
}

.section-card::before,
.hero-visual-frame::before,
.participate-panel::before,
.support-card::before,
.news-card::before,
.news-highlight::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.eyebrow {
    margin-bottom: 0.9rem;
    color: var(--accent-strong);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 700;
}

h1,
h2,
h3 {
    font-family: "Cormorant Garamond", Georgia, serif;
    line-height: 0.98;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3rem, 7vw, 6rem);
}

h2 {
    font-size: clamp(2.4rem, 4vw, 4.25rem);
}

h3 {
    font-size: clamp(1.6rem, 2vw, 2rem);
}

p {
    color: var(--muted);
}

.lead {
    font-size: 1.1rem;
    max-width: 58ch;
}

.section-heading {
    max-width: 60rem;
    margin-bottom: 2rem;
}

.section-heading p + p,
.section-heading h2 + p {
    margin-top: 1rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    backdrop-filter: blur(18px);
    background: rgba(6, 6, 8, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 5rem;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto;
    min-width: 0;
    gap: 1rem;
    margin-left: auto;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 0.85rem;
    min-width: 0;
}

.brand-copy {
    display: inline-flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.brand-logo {
    width: 2.6rem;
    height: 2.6rem;
    object-fit: contain;
    flex: 0 0 auto;
}

.brand-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(245, 239, 226, 0.52);
    white-space: nowrap;
}

.brand-title {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2rem;
    letter-spacing: 0.02em;
    line-height: 1;
    white-space: nowrap;
}

.site-nav {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    min-width: 0;
    gap: 1.35rem;
}

.site-nav a {
    color: rgba(245, 239, 226, 0.86);
    font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--accent-strong);
}

.header-cta {
    min-height: 2.9rem;
    padding-inline: 1.15rem;
    white-space: nowrap;
    font-size: 0.92rem;
}

.header-cta-mobile {
    display: none;
}

.site-nav .header-cta-mobile {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
    width: 2.8rem;
    height: 2.8rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    width: 1rem;
    height: 1px;
    margin: 0 auto;
    background: var(--text);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero-section {
    padding-top: 6.5rem;
}

.hero-grid,
.split-grid,
.support-grid {
    display: grid;
    gap: 2rem;
}

.hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    align-items: center;
}

.hero-copy > * + * {
    margin-top: 1.25rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.35rem;
    padding: 0.8rem 1.45rem;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
}

.button-primary {
    background: linear-gradient(135deg, #cda154 0%, #f1cf84 100%);
    color: #080808;
    font-weight: 700;
}

.button-secondary {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.03);
}

.facts-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.facts-list li {
    padding: 1.2rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.facts-list strong {
    display: block;
    color: var(--text);
    font-size: 1.5rem;
}

.facts-list span {
    color: var(--muted);
    font-size: 0.95rem;
}

.hero-visual {
    position: relative;
}

.hero-visual-frame {
    position: relative;
    padding: 2rem;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at center, rgba(214, 174, 96, 0.18), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    box-shadow: var(--shadow);
}

.hero-visual-frame img {
    width: min(100%, 38rem);
    margin: 0 auto;
    filter: drop-shadow(0 40px 70px rgba(0, 0, 0, 0.55));
}

.hero-video {
    display: block;
    width: 100%;
    max-height: 34rem;
    border-radius: calc(var(--radius-xl) - 0.5rem);
    object-fit: cover;
    background: #050505;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35);
}

.section-card .container {
    padding: 2rem;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.news-highlight,
.news-card,
.support-card,
.participate-panel {
    position: relative;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.035);
    box-shadow: var(--shadow);
}

.news-highlight {
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.news-highlight h3,
.news-card h3,
.support-card h3 {
    margin-top: 0.9rem;
}

.news-highlight small {
    display: inline-block;
    margin-top: 1rem;
    color: rgba(245, 239, 226, 0.56);
}

.news-grid,
.support-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.news-card,
.support-card {
    padding: 1.5rem;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(214, 174, 96, 0.13);
    color: var(--accent-strong);
    border: 1px solid rgba(214, 174, 96, 0.18);
    font-size: 0.85rem;
    font-weight: 600;
}

.status-pill.muted {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(245, 239, 226, 0.82);
    border-color: rgba(255, 255, 255, 0.08);
}

.split-grid {
    grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
}

.sticky-copy {
    position: sticky;
    top: 6.5rem;
}

.prose-block > * + * {
    margin-top: 1rem;
}

.timetravel-section {
    padding-bottom: 2rem;
}

.timetravel-intro {
    margin-bottom: 2.5rem;
}

.timetravel-scroll {
    position: relative;
    min-height: 220vh;
}

.timetravel-stage {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 1.4rem;
    align-items: stretch;
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
}

.timetravel-scene,
.timetravel-years {
    position: relative;
    min-height: 78vh;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
}

.timetravel-scene {
    background: #040404;
}

.timetravel-backgrounds,
.timetravel-scene-overlay,
.timetravel-egg,
.egg-opening,
.egg-core-glow {
    position: absolute;
    inset: 0;
}

.timetravel-background-layer {
    position: absolute;
    inset: 0;
    opacity: 0;
    background-position: center center;
    background-size: cover;
    transform: scale(1.04);
    transition: opacity 0.45s ease;
}

.timetravel-background-layer.is-active {
    opacity: 1;
}

.timetravel-backgrounds::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 72%, rgba(214, 174, 96, 0.12), transparent 25%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.48) 60%, rgba(0, 0, 0, 0.7));
}

.timetravel-scene-overlay {
    background:
        radial-gradient(circle at 50% 60%, rgba(255, 214, 139, 0.08), transparent 26%),
        radial-gradient(circle at top, rgba(255, 255, 255, 0.06), transparent 40%);
    mix-blend-mode: screen;
    pointer-events: none;
}

.timetravel-egg {
    display: grid;
    place-items: center;
    padding: clamp(1.5rem, 4vw, 3rem);
}

.egg-whole {
    width: min(82%, 44rem);
    max-height: 68vh;
    object-fit: contain;
    filter: drop-shadow(0 35px 60px rgba(0, 0, 0, 0.48));
    transform-origin: center bottom;
}

.egg-opening {
    opacity: 0;
    pointer-events: none;
}

.egg-half {
    position: absolute;
    top: 50%;
    width: min(41%, 22rem);
    aspect-ratio: 1.35 / 1;
    background-image: url("../../images/ovum.png");
    background-repeat: no-repeat;
    background-size: 200% 100%;
    filter: drop-shadow(0 35px 50px rgba(0, 0, 0, 0.42));
    transform-origin: center center;
}

.egg-half-left {
    left: 50%;
    background-position: left center;
    clip-path: inset(0 49.7% 0 0);
    transform: translate(-48%, -50%);
}

.egg-half-right {
    left: 50%;
    background-position: right center;
    clip-path: inset(0 0 0 49.7%);
    transform: translate(-52%, -50%);
}

.egg-core-glow {
    inset: auto;
    left: 50%;
    top: 50%;
    width: 14rem;
    height: 14rem;
    background: radial-gradient(circle, rgba(241, 207, 132, 0.5), rgba(241, 207, 132, 0.08) 55%, transparent 75%);
    filter: blur(6px);
    opacity: 0;
    transform: translate(-50%, -44%);
}

.timetravel-years {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
        rgba(10, 10, 10, 0.88);
}

.years-kicker,
.year-delta,
.years-caption,
.footer-kicker {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
}

.years-kicker,
.footer-kicker {
    color: rgba(245, 239, 226, 0.62);
}

.current-year-wrap {
    margin-top: 1rem;
}

.current-year {
    display: block;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(4rem, 8vw, 6.5rem);
    line-height: 0.9;
    color: var(--accent-strong);
}

.year-delta {
    display: block;
    margin-top: 0.75rem;
    color: rgba(245, 239, 226, 0.56);
}

.years-caption {
    max-width: 32ch;
    margin-top: 1.5rem;
    color: rgba(245, 239, 226, 0.74);
    letter-spacing: 0.06em;
    line-height: 1.8;
}

.year-rail {
    position: relative;
    margin-top: 2rem;
    min-height: 18rem;
    overflow: hidden;
}

.year-rail-line {
    position: absolute;
    left: 1.15rem;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, rgba(214, 174, 96, 0), rgba(214, 174, 96, 0.6), rgba(214, 174, 96, 0));
}

.year-list {
    position: relative;
    will-change: transform;
}

.year-item {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 3.75rem;
    padding-left: 2.6rem;
    color: rgba(245, 239, 226, 0.38);
    transition: color 0.25s ease, transform 0.25s ease;
}

.year-item::before {
    content: "";
    position: absolute;
    left: 0.82rem;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 999px;
    background: rgba(245, 239, 226, 0.14);
    border: 1px solid rgba(245, 239, 226, 0.2);
}

.year-item.is-active {
    color: var(--accent-strong);
    transform: translateX(0.18rem);
}

.year-item.is-active::before {
    background: rgba(214, 174, 96, 0.95);
    border-color: rgba(214, 174, 96, 1);
    box-shadow: 0 0 22px rgba(214, 174, 96, 0.45);
}

.participate-grid {
    align-items: start;
}

.participate-panel {
    padding: 2rem;
}

.message-form {
    display: grid;
    gap: 1rem;
}

.message-form label {
    display: grid;
    gap: 0.45rem;
}

.message-form span {
    color: rgba(245, 239, 226, 0.9);
    font-weight: 600;
}

.message-form input[type="text"],
.message-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    padding: 0.95rem 1rem;
}

.message-form textarea {
    resize: vertical;
    min-height: 12rem;
}

.field-hint {
    color: rgba(245, 239, 226, 0.48);
    font-size: 0.85rem;
}

.checkbox-row {
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 0.8rem;
}

.checkbox-row input {
    margin-top: 0.3rem;
}

.honeypot-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-status {
    min-height: 1.75rem;
    color: var(--accent-strong);
}

.form-status.is-error {
    color: #f0b1a6;
}

.support-grid {
    gap: 2rem;
}

.sponsor-section {
    padding: 2.25rem;
}

.sponsor-heading {
    max-width: 52rem;
}

.sponsor-packages {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.sponsor-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.6rem;
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
        rgba(12, 12, 12, 0.88);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.sponsor-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.sponsor-card-featured {
    background:
        radial-gradient(circle at top, rgba(214, 174, 96, 0.16), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
        rgba(12, 12, 12, 0.92);
    transform: translateY(-0.35rem);
}

.sponsor-icon {
    display: inline-grid;
    place-items: center;
    width: 4rem;
    height: 4rem;
    margin-bottom: 1rem;
    border-radius: 20px;
    background: rgba(214, 174, 96, 0.1);
    border: 1px solid rgba(214, 174, 96, 0.16);
}

.sponsor-icon svg {
    width: 2rem;
    height: 2rem;
    fill: none;
    stroke: var(--accent-strong);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sponsor-price {
    margin-top: 0.75rem;
    color: var(--text);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.2rem, 4vw, 3rem);
    line-height: 0.95;
}

.sponsor-audience {
    margin-top: 0.9rem;
    color: rgba(245, 239, 226, 0.82);
}

.sponsor-benefits {
    display: grid;
    gap: 0.7rem;
    margin-top: 1.25rem;
}

.sponsor-benefits li {
    position: relative;
    padding-left: 1.35rem;
    color: var(--muted);
}

.sponsor-benefits li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 16px rgba(214, 174, 96, 0.35);
}

.sponsor-mail {
    width: 100%;
    margin-top: auto;
    padding-top: 1rem;
}

.site-footer {
    padding: 2rem 0 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copy {
    margin-top: 0.75rem;
}

.footer-legal-nav {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 0.75rem;
}

.footer-legal-nav a {
    color: rgba(245, 239, 226, 0.82);
}

.footer-legal-nav a:hover,
.footer-legal-nav a:focus-visible {
    color: var(--accent-strong);
}

.legal-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top, rgba(214, 174, 96, 0.08), transparent 30%),
        linear-gradient(180deg, #090909 0%, #050505 55%, #070707 100%);
}

.legal-shell {
    padding: 2rem 0 5rem;
}

.legal-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1.5rem;
}

.legal-back {
    color: rgba(245, 239, 226, 0.88);
}

.legal-back:hover,
.legal-back:focus-visible {
    color: var(--accent-strong);
}

.legal-card {
    padding: 2rem;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
}

.legal-card h1 {
    font-size: clamp(2.8rem, 5vw, 4.2rem);
}

.legal-card h2 {
    margin-top: 2.4rem;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.legal-card p,
.legal-card li,
.legal-card address {
    color: var(--muted);
}

.legal-card p + p,
.legal-card p + ul,
.legal-card ul + p {
    margin-top: 1rem;
}

.legal-card ul {
    display: grid;
    gap: 0.7rem;
    margin-top: 1rem;
}

.legal-card li {
    position: relative;
    padding-left: 1.2rem;
}

.legal-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: var(--accent);
}

.legal-card address {
    margin-top: 1rem;
    font-style: normal;
    line-height: 1.8;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 960px) {
    .menu-toggle {
        display: inline-flex;
    }

    .header-actions {
        margin-left: 0;
    }

    .site-nav {
        position: absolute;
        inset: calc(100% + 0.5rem) 1rem auto 1rem;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        border-radius: 20px;
        background: rgba(10, 10, 10, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .site-nav.is-open {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    .header-cta-mobile {
        display: inline-flex;
        width: 100%;
        margin-top: 0.35rem;
    }

    .site-nav .header-cta-mobile {
        display: inline-flex;
    }

    .hero-grid,
    .split-grid,
    .news-grid,
    .support-cards,
    .sponsor-packages,
    .footer-grid,
    .timetravel-stage {
        grid-template-columns: 1fr;
    }

    .facts-list {
        grid-template-columns: 1fr;
    }

    .sticky-copy {
        position: static;
    }

    .timetravel-scene,
    .timetravel-years {
        min-height: auto;
    }

    .timetravel-scene {
        min-height: 56vh;
    }

    .timetravel-years {
        padding: 1.5rem;
    }

    .year-rail {
        min-height: 14rem;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 4.5rem 0;
    }

    .header-inner {
        min-height: 4.4rem;
    }

    .brand-title {
        font-size: 1.65rem;
    }

    .brand {
        gap: 0.65rem;
    }

    .brand-logo {
        width: 2.2rem;
        height: 2.2rem;
    }

    .hero-section {
        padding-top: 5rem;
    }

    .hero-visual-frame,
    .news-highlight,
    .participate-panel,
    .sponsor-section,
    .legal-card,
    .section-card .container,
    .timetravel-years {
        padding: 1.25rem;
    }

    .sponsor-card-featured {
        transform: none;
    }

    .current-year {
        font-size: 4.2rem;
    }

    .year-item {
        min-height: 3.3rem;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
