@font-face {
    font-family: "BRS Bahnschrift";
    src: url("/assets/fonts/Bahnschrift.ttf") format("truetype");
    font-style: normal;
    font-weight: 300 700;
    font-stretch: 75% 100%;
    font-display: swap;
}

:root {
    --ink: #11182a;
    --navy: #090e1d;
    --navy-2: #101a34;
    --blue: #2f67ba;
    --red: #d94338;
    --gold: #f0b84f;
    --paper: #f4f0e7;
    --paper-2: #e9e6df;
    --white: #ffffff;
    --muted: #687184;
    --line: rgba(16, 24, 42, .16);
    --shadow: 0 20px 48px rgba(8, 13, 32, .14);
    --shell: 1180px;
    --condensed: "BRS Bahnschrift", "Bahnschrift Condensed", "Bahnschrift SemiCondensed", "Aptos Narrow", "Roboto Condensed", "PT Sans Narrow", "Arial Narrow", "Segoe UI", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.55;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

.top-anchor {
    display: block;
    height: 0;
}

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

a {
    color: inherit;
}

button,
input {
    font: inherit;
}

.shell {
    width: min(calc(100% - 40px), var(--shell));
    margin-inline: auto;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    color: var(--white);
    background: rgba(7, 11, 24, .86);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(14px);
}

.header-inner {
    min-height: 68px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 800;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 8px;
    background: linear-gradient(135deg, var(--red), #8a2929);
    font-size: 12px;
    letter-spacing: 0;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
}

.site-nav a,
.footer-links a {
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
}

.site-nav a:hover,
.footer-links a:hover {
    color: var(--white);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 8px;
    background: transparent;
    color: var(--white);
    cursor: pointer;
}

.menu-toggle span:not(.visually-hidden) {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: currentColor;
}

.hero {
    position: relative;
    min-height: min(78vh, 680px);
    overflow: hidden;
    color: var(--white);
    background:
        linear-gradient(180deg, rgba(7, 11, 24, .28), rgba(7, 11, 24, .84)),
        linear-gradient(180deg, #080b18 0%, #111a34 58%, #34435f 100%);
}

.stars {
    position: absolute;
    inset: 0;
    opacity: .72;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, .95) 0 1px, transparent 1.4px),
        radial-gradient(circle, rgba(99, 149, 235, .95) 0 1px, transparent 1.5px),
        radial-gradient(circle, rgba(255, 255, 255, .66) 0 1px, transparent 1.3px);
    background-size: 92px 92px, 143px 143px, 67px 67px;
    background-position: 9px 20px, 71px 44px, 35px 12px;
    mask-image: linear-gradient(to bottom, #000 0%, #000 76%, transparent 100%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
    gap: 56px;
    align-items: center;
    min-height: inherit;
    padding: 64px 0 72px;
}

.hero-copy {
    max-width: 690px;
}

.kicker,
.section-kicker {
    margin: 0 0 14px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero h1,
.section h2,
.final-cta h2 {
    margin: 0;
    font-family: var(--condensed);
    font-size: clamp(48px, 7vw, 104px);
    font-weight: 900;
    letter-spacing: 0;
    line-height: .98;
    text-transform: uppercase;
}

.hero-lead {
    margin: 22px 0 10px;
    font-size: clamp(22px, 2.5vw, 34px);
    font-weight: 750;
}

.hero-text {
    max-width: 640px;
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 18px;
}

.hero-actions,
.final-actions,
.venue-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-actions {
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 9px 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
}

.button-primary {
    background: var(--gold);
    color: #11182a;
}

.button-secondary {
    border-color: rgba(255, 255, 255, .3);
    background: rgba(255, 255, 255, .08);
    color: var(--white);
}

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

.hero-logo {
    margin: 0;
}

.hero-logo img {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    box-shadow: 0 26px 64px rgba(0, 0, 0, .35);
}

.section {
    padding: 86px 0;
}

.section-about,
.section-partners {
    background: var(--paper);
}

.section-venues {
    background: var(--paper-2);
}

.section-events {
    color: var(--white);
    background: var(--navy);
}

.section h2,
.final-cta h2 {
    font-size: clamp(34px, 5vw, 64px);
}

.about-grid,
.section-heading,
.final-inner {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: 56px;
    align-items: end;
}

.section-heading {
    margin-bottom: 28px;
}

.section-heading p,
.about-copy p {
    margin: 0;
    color: #555e70;
    font-size: 17px;
}

.section-events .section-heading p {
    color: rgba(255, 255, 255, .66);
}

.about-copy {
    display: grid;
    gap: 16px;
    align-self: start;
}

.about-copy .large-copy {
    color: var(--ink);
    font-size: clamp(22px, 2.2vw, 31px);
    font-weight: 650;
    line-height: 1.32;
}

.manifesto {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 58px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.manifesto a {
    padding: 18px 12px;
    border-right: 1px solid var(--line);
    color: var(--ink);
    font-size: 13px;
    font-weight: 850;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.manifesto a:hover {
    color: var(--blue);
    background: rgba(47, 103, 186, .06);
}

.manifesto a:last-child {
    border-right: 0;
}

.event-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
    margin-top: -8px;
    margin-bottom: 20px;
}

.event-source {
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .05);
    color: rgba(255, 255, 255, .78);
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
}

.event-source {
    margin-left: auto;
}

.event-list {
    display: grid;
    gap: 12px;
}

.event-card {
    display: grid;
    grid-template-columns: 132px 132px minmax(0, 1fr) 190px 128px;
    gap: 20px;
    align-items: center;
    min-height: 126px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 8px;
    background: rgba(255, 255, 255, .05);
    font-family: var(--condensed);
}

.event-card:hover {
    border-color: rgba(255, 255, 255, .26);
    background: rgba(255, 255, 255, .075);
}

.event-poster-button {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 6px;
    background: #18213a;
    padding: 6px;
    cursor: zoom-in;
}

.event-poster-button:focus-visible {
    outline: 3px solid rgba(240, 184, 79, .55);
    outline-offset: 3px;
}

.event-poster {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.event-date {
    display: grid;
    gap: 5px;
}

.event-date strong {
    color: var(--gold);
    font-family: var(--condensed);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
}

.event-date span {
    color: rgba(255, 255, 255, .64);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.event-date .event-weekday {
    color: rgba(255, 255, 255, .82);
    font-size: 15px;
}

.event-main h3 {
    margin: 0 0 7px;
    font-family: var(--condensed);
    font-size: 24px;
    font-weight: 850;
    line-height: 1.18;
}

.event-main p {
    margin: 0;
    color: rgba(255, 255, 255, .64);
    font-family: var(--condensed);
    font-size: 16px;
    font-weight: 700;
}

.event-place {
    color: rgba(255, 255, 255, .68);
    font-size: 16px;
}

.event-place strong {
    display: block;
    color: var(--white);
}

.inline-link,
.address-map-button {
    color: var(--gold);
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.inline-link {
    overflow-wrap: anywhere;
}

.inline-link:hover,
.address-map-button:hover {
    color: var(--white);
}

.address-map-button {
    display: inline;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.event-place .address-map-button {
    color: rgba(255, 255, 255, .72);
}

.event-place .address-map-button:hover {
    color: var(--gold);
}

.event-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 8px;
    color: var(--white);
    font-weight: 800;
    text-decoration: none;
}

.event-link:hover {
    background: var(--white);
    color: var(--navy);
}

.event-empty {
    padding: 26px;
    border: 1px dashed rgba(255, 255, 255, .22);
    border-radius: 8px;
    color: rgba(255, 255, 255, .7);
}

.venue-grid,
.partner-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.venue-card,
.partner-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.venue-card {
    overflow: hidden;
    padding: 0;
}

.venue-card-dark {
    background: var(--navy-2);
    color: var(--white);
}

.venue-number,
.partner-index {
    margin: 0 0 14px;
    color: var(--red);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: uppercase;
}

.venue-card-dark .venue-number,
.venue-card-dark .text-link {
    color: var(--gold);
}

.venue-card h3 {
    margin: 0 0 10px;
    font-size: 32px;
    line-height: 1.1;
}

.venue-map-image {
    margin: 0;
    background: #d5d6db;
}

.venue-map-image img {
    width: 100%;
    aspect-ratio: 718 / 734;
    object-fit: cover;
}

.venue-content {
    padding: 24px 26px 26px;
}

.venue-address {
    margin: 0 0 16px;
    color: #586174;
    font-size: 17px;
}

.venue-card-dark .venue-address {
    color: rgba(255, 255, 255, .72);
}

.venue-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 22px;
}

.venue-meta span {
    padding: 6px 9px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: #586174;
    font-size: 13px;
    font-weight: 650;
}

.venue-card-dark .venue-meta span {
    border-color: rgba(255, 255, 255, .18);
    color: rgba(255, 255, 255, .72);
}

.text-link {
    color: var(--blue);
    font-weight: 800;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.muted-link {
    color: var(--muted);
}

.partner-card {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 18px;
    align-items: center;
    min-height: 176px;
    padding: 18px;
    color: inherit;
    text-decoration: none;
}

.partner-card:hover {
    border-color: rgba(47, 103, 186, .38);
}

.partner-card img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    object-fit: contain;
    background: #eef2f8;
}

.partner-card h3 {
    margin: 0;
    font-size: 24px;
    line-height: 1.18;
}

.final-cta {
    padding: 74px 0;
    color: var(--white);
    background:
        linear-gradient(180deg, rgba(7, 11, 24, .18), rgba(7, 11, 24, .88)),
        linear-gradient(135deg, #111a37, #070b18);
}

.final-inner {
    align-items: center;
}

.final-actions {
    justify-content: flex-end;
}

.partner-footer-band {
    padding: 24px 0;
    background: #090e1d;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.partner-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.partner-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    max-width: 210px;
    padding: 4px 10px 4px 5px;
    border: 1px solid rgba(0, 79, 159, .22);
    border-radius: 8px;
    background: rgba(255, 255, 255, .88);
    color: #004f9f;
    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .16);
}

.partner-link:hover {
    border-color: rgba(255, 255, 255, .56);
    background: var(--white);
}

.partner-link.brand-blue {
    border-color: rgba(7, 22, 143, .22);
    color: #07168f;
}

.partner-link.brand-red {
    border-color: rgba(123, 23, 23, .24);
    color: #7b1717;
}

.partner-link.brand-sky {
    border-color: rgba(8, 120, 184, .26);
    color: #0878b8;
}

.partner-link.brand-brown {
    border-color: rgba(117, 69, 29, .26);
    color: #75451d;
}

.partner-link img {
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
    border-radius: 6px;
    object-fit: cover;
    background: var(--white);
}

.partner-link span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-footer {
    padding: 30px 0;
    color: rgba(255, 255, 255, .68);
    background: #050814;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.site-footer strong {
    color: var(--white);
}

.site-footer p {
    margin: 4px 0 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

body.modal-open {
    overflow: hidden;
}

.event-modal[hidden] {
    display: none;
}

.event-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 22px;
}

.event-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 20, .76);
}

.event-dialog {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: min(1080px, 100%);
    max-height: calc(100vh - 44px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: #10182e;
    color: var(--white);
    box-shadow: 0 32px 90px rgba(0, 0, 0, .42);
}

.event-dialog-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.event-dialog-type {
    margin: 0 0 6px;
    color: var(--gold);
    font-family: var(--condensed);
    font-size: 13px;
    font-weight: 850;
    text-transform: uppercase;
}

.event-dialog-head h2 {
    margin: 0;
    font-family: var(--condensed);
    font-size: clamp(26px, 3.5vw, 42px);
    line-height: 1.08;
}

.event-dialog-close {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 8px;
    background: transparent;
    color: var(--white);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.event-dialog-body {
    display: grid;
    grid-template-columns: minmax(360px, 1.08fr) minmax(300px, .8fr);
    min-height: 0;
    overflow: auto;
}

.event-dialog-poster {
    display: grid;
    place-items: center;
    min-height: 580px;
    margin: 0;
    padding: 20px;
    background: #080d1b;
}

.event-dialog-poster img {
    width: 100%;
    height: 100%;
    max-height: calc(100vh - 210px);
    object-fit: contain;
}

.event-dialog-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 22px;
    background: rgba(255, 255, 255, .04);
}

.event-dialog-date {
    color: var(--gold);
    font-family: var(--condensed);
    font-size: 28px;
    font-weight: 850;
    line-height: 1.1;
    white-space: pre-line;
}

.event-dialog-info dl {
    display: grid;
    gap: 15px;
    margin: 0;
}

.event-dialog-info dt {
    margin-bottom: 3px;
    color: rgba(255, 255, 255, .58);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
}

.event-dialog-info dd {
    margin: 0;
    color: rgba(255, 255, 255, .9);
    font-size: 17px;
    line-height: 1.42;
    white-space: pre-wrap;
}

.event-dialog-info .address-map-button {
    color: rgba(255, 255, 255, .9);
}

.event-dialog-info .address-map-button:hover {
    color: var(--gold);
}

.event-dialog-link {
    margin-top: auto;
    width: fit-content;
}

.map-modal[hidden] {
    display: none;
}

.map-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 22px;
}

.map-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 20, .72);
}

.map-dialog {
    position: relative;
    z-index: 1;
    width: min(880px, 100%);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: #10182e;
    color: var(--white);
    box-shadow: 0 32px 90px rgba(0, 0, 0, .42);
}

.map-dialog-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.map-dialog-kicker {
    margin: 0 0 6px;
    color: var(--gold);
    font-family: var(--condensed);
    font-size: 13px;
    font-weight: 850;
    text-transform: uppercase;
}

.map-dialog h2 {
    margin: 0;
    font-family: var(--condensed);
    font-size: 34px;
    line-height: 1.08;
}

.map-dialog p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, .72);
}

.map-frame {
    display: block;
    width: 100%;
    height: min(58vh, 520px);
    min-height: 360px;
    border: 0;
    background: #d5d6db;
}

.map-dialog-footer {
    padding: 14px 18px 18px;
    background: rgba(255, 255, 255, .04);
}

@media (max-width: 980px) {
    .header-inner {
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .menu-toggle {
        display: inline-block;
    }

    .site-nav {
        position: fixed;
        inset: 68px 0 auto 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 20px 18px;
        background: rgba(7, 11, 24, .96);
        border-bottom: 1px solid rgba(255, 255, 255, .12);
    }

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

    .site-nav a {
        padding: 12px 0;
    }

    .hero-inner,
    .about-grid,
    .section-heading,
    .final-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-inner {
        padding-top: 50px;
    }

    .hero-logo {
        max-width: 620px;
    }

    .event-card {
        grid-template-columns: 130px minmax(0, 1fr);
    }

    .event-date,
    .event-place,
    .event-link {
        grid-column: 2;
    }

    .event-link {
        justify-self: start;
    }
}

@media (max-width: 760px) {
    .shell {
        width: min(calc(100% - 28px), var(--shell));
    }

    .hero {
        min-height: auto;
    }

    .hero h1 {
        font-size: clamp(42px, 15vw, 74px);
    }

    .hero-lead {
        font-size: 23px;
    }

    .hero-text,
    .section-heading p,
    .about-copy p {
        font-size: 16px;
    }

    .section {
        padding: 66px 0;
    }

    .manifesto,
    .venue-grid,
    .partner-grid {
        grid-template-columns: 1fr;
    }

    .manifesto a {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .manifesto a:last-child {
        border-bottom: 0;
    }

    .event-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .event-source {
        margin-left: 0;
        text-align: center;
    }

    .event-card {
        grid-template-columns: 1fr;
    }

    .event-date,
    .event-place,
    .event-link {
        grid-column: auto;
    }

    .event-poster-button {
        aspect-ratio: 4 / 3;
    }

    .partner-card {
        grid-template-columns: 96px 1fr;
    }

    .footer-inner {
        flex-direction: column;
    }

    .event-dialog {
        max-height: calc(100vh - 20px);
    }

    .event-dialog-body {
        grid-template-columns: 1fr;
    }

    .event-dialog-poster {
        min-height: 360px;
        padding: 12px;
    }

    .event-dialog-poster img {
        max-height: 58vh;
    }

    .map-frame {
        height: 46vh;
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .hero-actions,
    .final-actions,
    .venue-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .button,
    .event-link {
        width: 100%;
    }

    .partner-card {
        grid-template-columns: 1fr;
    }

    .partner-card img {
        width: 128px;
    }

    .event-modal,
    .map-modal {
        padding: 10px;
    }

    .event-dialog-head,
    .event-dialog-info,
    .map-dialog-head {
        padding: 14px;
    }

    .map-dialog h2 {
        font-size: 28px;
    }

    .map-frame {
        height: 45vh;
        min-height: 260px;
    }

    .map-dialog-footer {
        padding: 12px 14px 14px;
    }
}

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

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
