:root {
    --bg-night: #170026;
    --bg-deep: #25033f;
    --panel-light: #fff4c8;
    --panel-dark: #1d1734;
    --ink: #160d2f;
    --white: #ffffff;
    --yellow: #ffe24d;
    --orange: #ff7a18;
    --pink: #ff3fa6;
    --cyan: #5cf6ff;
    --lime: #d7ff49;
    --red: #ff4633;
    --shadow: rgba(6, 1, 20, 0.32);
    --border: rgba(255, 255, 255, 0.16);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --content-width: 1180px;
    --body-font: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
    --display-font: Impact, Haettenschweiler, "Arial Black", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--body-font);
    color: var(--white);
    background:
        radial-gradient(circle at top, rgba(255, 63, 166, 0.4), transparent 30%),
        radial-gradient(circle at 85% 15%, rgba(92, 246, 255, 0.2), transparent 20%),
        linear-gradient(180deg, #12001e 0%, #26003c 40%, #13001f 100%);
    line-height: 1.6;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px),
        radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px),
        radial-gradient(circle at 35% 80%, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px);
    background-size: 160px 160px, 200px 200px, 220px 220px;
    pointer-events: none;
    opacity: 0.8;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 3px;
}

.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;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 999;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    background: var(--yellow);
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
}

.skip-link:focus {
    top: 1rem;
}

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

.announcement-bar {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.7rem;
    padding: 0.85rem 1rem;
    background: linear-gradient(90deg, var(--yellow), #fff08d, var(--orange));
    color: var(--ink);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.announcement-pill {
    padding: 0.15rem 0.75rem;
    border-radius: 999px;
    background: var(--ink);
    color: var(--yellow);
}

.announcement-sep {
    opacity: 0.65;
}

.site-header {
    position: relative;
    padding: 1rem 0 5rem;
    overflow: hidden;
}

.site-header::after {
    content: "";
    position: absolute;
    inset: auto -10% -8rem;
    height: 18rem;
    background:
        radial-gradient(circle at center, rgba(255, 122, 24, 0.75) 0 18%, transparent 19%),
        radial-gradient(circle at center, rgba(255, 226, 77, 0.9) 0 32%, transparent 33%),
        radial-gradient(circle at center, rgba(255, 63, 166, 0.55) 0 45%, transparent 46%);
    filter: blur(3px);
    opacity: 0.75;
    pointer-events: none;
}

.main-nav,
.hero-shell,
.panel,
.site-footer {
    position: relative;
    z-index: 1;
}

.main-nav {
    width: min(100% - 2rem, var(--content-width));
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(23, 0, 38, 0.72);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.22);
}

.brand {
    display: inline-flex;
    align-items: center;
    max-width: min(240px, 42vw);
    text-decoration: none;
}

.brand img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.28));
}

.brand:hover img,
.brand:focus-visible img {
    transform: translateY(-1px) scale(1.01);
}

.brand img,
.hero-logo,
.hero-flyer-image {
    transition: transform 180ms ease;
}

.hero-branding:hover .hero-flyer-image,
.hero-branding:focus-within .hero-flyer-image {
    transform: translateY(-2px);
}

.hero-logo {
    width: min(100%, 480px);
    margin: 0 auto 1rem;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.34));
}

.brand,
.brand:visited {
    text-decoration: none;
}

.nav-toggle {
    display: none;
    padding: 0.7rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.nav-menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu a {
    display: inline-flex;
    padding: 0.65rem 0.95rem;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
    text-decoration: none;
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--yellow);
    color: var(--ink);
    transform: translateY(-1px);
}

.hero-shell {
    width: min(100% - 2rem, var(--content-width));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: center;
}

.hero-copy {
    padding: 2rem 0 1rem;
}

.eyebrow,
.section-kicker,
.card-label,
.organizer-label,
.timeline-season {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 1rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2 {
    margin: 0;
    font-family: var(--display-font);
    line-height: 0.95;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.hero-copy h1 {
    font-size: clamp(3.5rem, 9vw, 6.8rem);
    color: var(--yellow);
    text-shadow:
        2px 2px 0 #ff491b,
        5px 5px 0 #173ea8,
        8px 8px 16px rgba(0, 0, 0, 0.3);
}

.hero-copy h1 span {
    display: block;
    margin-top: 0.45rem;
    font-size: clamp(1.25rem, 2.7vw, 2.2rem);
    color: var(--white);
    text-shadow: none;
    letter-spacing: 0.08em;
}

.hero-text,
.section-heading p,
.venue-note,
.organizer-card p,
.burst-card li,
.timeline-card p,
.card p {
    font-size: 1.05rem;
}

.hero-text {
    max-width: 42rem;
    margin: 1.25rem 0 1.75rem;
    color: rgba(255, 255, 255, 0.92);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.6rem;
}

.stat-burst {
    position: relative;
    padding: 1.2rem 1rem;
    border-radius: var(--radius-md);
    color: var(--ink);
    background:
        radial-gradient(circle at center, #fff8bf 0, #ffe24d 62%, #ffb000 100%);
    box-shadow: 0 16px 26px var(--shadow);
    transform: rotate(-2deg);
}

.stat-burst:nth-child(2) {
    transform: rotate(1.5deg);
    background: radial-gradient(circle at center, #d1ffff 0, #5cf6ff 64%, #3aa8ff 100%);
}

.stat-burst:nth-child(3) {
    transform: rotate(-1deg);
    background: radial-gradient(circle at center, #ffd5ed 0, #ff8ace 62%, #ff3fa6 100%);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stat-burst strong {
    display: block;
    margin-top: 0.4rem;
    font-size: 1.05rem;
    line-height: 1.2;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.35rem;
    border: 2px solid transparent;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    text-align: center;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.btn:hover {
    transform: translateY(-2px) scale(1.01);
}

.btn-primary {
    color: var(--ink);
    background: linear-gradient(180deg, #fff186 0%, var(--yellow) 100%);
    box-shadow: 0 14px 24px rgba(255, 226, 77, 0.28);
}

.btn-secondary {
    color: var(--white);
    background: linear-gradient(180deg, #ff5dbc 0%, var(--pink) 100%);
    box-shadow: 0 14px 24px rgba(255, 63, 166, 0.26);
}

.btn-map,
.btn-map-alt {
    width: 100%;
}

.btn-map {
    color: var(--ink);
    background: linear-gradient(180deg, #86fbff 0%, var(--cyan) 100%);
}

.btn-map-alt {
    color: var(--ink);
    background: linear-gradient(180deg, #fff7a5 0%, #ffd56c 100%);
}

.hero-notes {
    display: grid;
    gap: 0.7rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-notes li {
    padding: 0.75rem 0.95rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-branding {
    margin: 0;
    padding: 1rem;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(12px);
    text-align: center;
}

.hero-flyer-image {
    border-radius: 20px;
    border: 4px solid var(--yellow);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.35);
    margin: 0 auto;
}

.hero-branding figcaption {
    margin-top: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.92rem;
    text-align: center;
}

.panel {
    padding: 5rem 0;
}

.panel-warm,
.panel-pop,
.panel-light,
.panel-contact {
    color: var(--ink);
}

.panel-warm {
    background: linear-gradient(180deg, #fff2ca 0%, #ffe6b3 100%);
}

.panel-pop {
    background:
        radial-gradient(circle at top right, rgba(92, 246, 255, 0.45), transparent 28%),
        linear-gradient(180deg, #ff4fae 0%, #ff8b32 100%);
}

.panel-light {
    background: linear-gradient(180deg, #f5fbff 0%, #c8f8ff 100%);
}

.panel-map {
    background:
        radial-gradient(circle at 10% 15%, rgba(92, 246, 255, 0.2), transparent 18%),
        linear-gradient(180deg, #160027 0%, #22033b 100%);
}

.panel-dark {
    background: linear-gradient(180deg, rgba(17, 10, 33, 0.96), rgba(31, 16, 58, 0.96));
}

.panel-contact {
    background: linear-gradient(180deg, #fff3b5 0%, #ffe374 30%, #ff9a3d 100%);
}

.section-heading {
    max-width: 46rem;
    margin-bottom: 2.2rem;
}

.section-heading h2 {
    font-size: clamp(2.6rem, 6vw, 4.5rem);
    color: currentColor;
}

.section-heading p {
    margin: 1rem 0 0;
}

.show-cards,
.timeline-grid,
.categories-grid,
.contact-layout,
.directions-layout {
    display: grid;
    gap: 1.25rem;
}

.show-cards {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.card,
.timeline-card,
.venue-card,
.burst-card,
.organizer-card,
.form-wrap,
.schedule-shell {
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 34px var(--shadow);
}

.card {
    padding: 1.4rem;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(22, 13, 47, 0.08);
}

.card h3 {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.2;
}

.card p {
    margin: 0.6rem 0 0;
}

.panel-dark .section-heading,
.panel-map .section-heading {
    color: var(--white);
}

.timeline-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline-card {
    padding: 1.6rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.timeline-card.featured {
    background: linear-gradient(180deg, rgba(255, 226, 77, 0.95), rgba(255, 122, 24, 0.95));
    color: var(--ink);
}

.timeline-card h3 {
    margin: 0 0 0.65rem;
    font-size: 1.65rem;
}

.categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.category-card {
    position: relative;
    padding: 1.5rem 1rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
    border: 3px solid rgba(22, 13, 47, 0.1);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
    font-family: var(--display-font);
    font-size: 1.35rem;
    text-align: center;
    text-transform: uppercase;
    color: #0e1130;
    transform: rotate(-1.2deg);
}

.category-card:nth-child(2n) {
    background: linear-gradient(180deg, #fff387 0%, #ffca63 100%);
    transform: rotate(1.1deg);
}

.category-card:nth-child(3n) {
    background: linear-gradient(180deg, #abfbff 0%, #60dff5 100%);
}

.category-card:nth-child(4n) {
    background: linear-gradient(180deg, #ffd3ee 0%, #ff8ac8 100%);
}

.category-card:hover {
    transform: translateY(-3px) scale(1.02);
}

.schedule-shell {
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92);
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--ink);
}

.schedule-table thead {
    background: linear-gradient(90deg, var(--pink), var(--orange));
    color: var(--white);
}

.schedule-table th,
.schedule-table td {
    padding: 1rem 1.15rem;
    text-align: left;
}

.schedule-table tbody tr:nth-child(even) {
    background: rgba(92, 246, 255, 0.08);
}

.directions-layout {
    grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
    align-items: stretch;
}

.venue-card {
    padding: 1.7rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.venue-card h3 {
    margin-top: 0;
    font-size: 2rem;
}

.map-buttons {
    display: grid;
    gap: 0.8rem;
    margin-top: 1.25rem;
}

.map-frame {
    overflow: hidden;
    min-height: 420px;
    border-radius: var(--radius-lg);
    border: 3px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 34px rgba(0, 0, 0, 0.3);
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
}

.contact-layout {
    grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
    align-items: start;
}

.vendor-aside {
    display: grid;
    gap: 1rem;
}

.burst-card,
.organizer-card {
    padding: 1.4rem;
    background: rgba(255, 255, 255, 0.76);
}

.burst-card h3,
.organizer-card p:first-child {
    margin-top: 0;
}

.burst-card ul {
    margin: 0;
    padding-left: 1.2rem;
}

.form-wrap {
    padding: 1.4rem;
    background: rgba(255, 255, 255, 0.88);
}

.vendor-form {
    color: var(--ink);
}

.form-note {
    margin-top: 0;
    padding: 0.8rem 1rem;
    border-radius: 14px;
    background: rgba(255, 226, 77, 0.34);
    font-weight: 700;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.form-group label {
    margin-bottom: 0.45rem;
    font-weight: 800;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid rgba(22, 13, 47, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--ink);
    transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: rgba(255, 63, 166, 0.48);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--pink);
    transform: translateY(-1px);
    box-shadow: 0 0 0 4px rgba(255, 63, 166, 0.14);
}

.form-group input.invalid,
.form-group textarea.invalid {
    border-color: #c51f1f;
    box-shadow: 0 0 0 4px rgba(197, 31, 31, 0.14);
}

.submit-button {
    border: 0;
    cursor: pointer;
}

.submit-button[disabled] {
    cursor: progress;
    opacity: 0.7;
}

.message {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    color: var(--ink);
    font-weight: 700;
}

.success-message {
    background: #d7ff8d;
}

.error-message {
    background: #ffd3cf;
}

.site-footer {
    padding: 2rem 1rem 3rem;
    text-align: center;
}

.site-footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.site-footer a {
    color: var(--yellow);
    font-weight: 800;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 500ms ease, transform 500ms ease;
}

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

@media (max-width: 980px) {
    .hero-shell,
    .directions-layout,
    .contact-layout,
    .timeline-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        order: 2;
        padding-top: 0.5rem;
    }

    .hero-branding {
        order: 1;
        max-width: 30rem;
        justify-self: center;
    }

    .hero-stats,
    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .main-nav {
        align-items: flex-start;
        border-radius: 28px;
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding-top: 0.5rem;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu a {
        justify-content: center;
    }

    .panel {
        padding: 4rem 0;
    }

    .section-heading h2 {
        font-size: clamp(2.2rem, 12vw, 3.3rem);
    }

    .hero-copy h1 {
        font-size: clamp(3rem, 15vw, 4.6rem);
    }
}

@media (max-width: 520px) {
    .announcement-bar {
        font-size: 0.82rem;
    }

    .brand {
        max-width: 190px;
    }

    .hero-shell {
        gap: 1.25rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .show-cards,
    .categories-grid {
        grid-template-columns: 1fr;
    }

    .schedule-table th,
    .schedule-table td {
        padding: 0.85rem;
    }

    .map-frame,
    .map-frame iframe {
        min-height: 320px;
    }
}

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

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
