:root {
    color-scheme: light;
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--page-background);
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

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

.theme-art {
    display: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--header-line);
    background: var(--header-background);
    backdrop-filter: blur(14px);
    overflow: visible;
}

.shell {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 20px;
    position: relative;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.08rem;
    font-weight: 900;
    position: relative;
    z-index: 2;
}

.brand-logo {
    display: flex;
    width: 132px;
    height: 68px;
    align-items: center;
    transition: width .22s ease, height .22s ease, margin .22s ease, filter .22s ease;
}

.brand-logo img {
    width: 100%;
    max-height: 125px;
    object-fit: contain;
    transition: max-height .22s ease;
}

.brand-mark {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 2px solid var(--mark-border);
    border-radius: var(--radius-round);
    background: var(--brand-mark);
    color: var(--mark-ink);
    box-shadow: var(--short-shadow);
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 16px;
    color: var(--nav-ink);
    font-size: .9rem;
    font-weight: 800;
}

.nav-links a {
    padding: 9px 0;
    border-bottom: 3px solid transparent;
}

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

.nav-toggle,
.nav-backdrop {
    display: none;
}

.nav-toggle {
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 2px solid var(--button-border);
    border-radius: 8px;
    background: var(--button-background);
    box-shadow: 0 5px 0 rgba(30, 18, 48, .16);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 3px;
    border-radius: 999px;
    background: var(--button-ink);
    transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle span + span {
    margin-top: 5px;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 690px;
    color: var(--hero-ink);
    background: var(--hero-background);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: var(--hero-fade-height, 120px);
    background: var(--hero-fade, linear-gradient(180deg, transparent, var(--paper)));
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: center;
    min-height: 690px;
    padding: 76px 0 120px;
}

.hero-copy,
.hero-visual {
    min-width: 0;
}

.badge {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding: 9px 13px;
    border: 1px solid var(--badge-line);
    border-radius: 999px;
    background: var(--badge-background);
    font-size: .82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.badge-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--glow);
    box-shadow: 0 0 20px var(--glow);
}

h1 {
    max-width: 850px;
    margin: 0;
    font-size: clamp(3rem, 8vw, 7.4rem);
    line-height: .9;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-lead {
    max-width: 690px;
    margin: 28px 0 0;
    color: var(--hero-muted);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero-actions .button {
    min-height: 60px;
    padding: 0 30px;
    font-size: 1.08rem;
}

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    border: 2px solid var(--button-border);
    border-radius: 8px;
    background: var(--button-background);
    color: var(--button-ink);
    font-weight: 950;
    box-shadow: var(--button-shadow);
    transition: transform .16s ease, box-shadow .16s ease;
}

.button:hover {
    transform: translateY(2px);
    box-shadow: var(--button-shadow-hover);
}

.button.primary {
    background: var(--button-primary);
    color: var(--button-primary-ink);
}

.button.dark {
    background: var(--button-dark);
    color: white;
}

section {
    scroll-margin-top: 92px;
    padding: 74px 0;
}

.section-title {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
    gap: 26px;
    align-items: end;
    margin-bottom: 30px;
}

.section-title h2 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: .98;
    text-transform: uppercase;
}

.section-title p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.info-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: -86px;
    position: relative;
    z-index: 2;
}

.info-card,
.card,
.schedule-day,
.venue-card,
.faq-item,
.events-panel {
    border: 2px solid var(--panel-border);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: var(--panel-shadow);
}

.info-card {
    padding: 20px;
}

.info-card span,
.card span {
    display: block;
    margin-bottom: 8px;
    color: var(--accent);
    font-size: .78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.info-card strong {
    display: block;
    font-size: 1.35rem;
    line-height: 1.1;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.card {
    display: flex;
    min-height: 238px;
    flex-direction: column;
    padding: 22px;
}

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

.card p {
    margin: 14px 0 22px;
    color: var(--muted);
    line-height: 1.55;
}

.card a {
    margin-top: auto;
    color: var(--link);
    font-weight: 950;
}

.attractions {
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(125, 80, 214, .08), rgba(255, 77, 45, .08)),
        var(--paper);
}

.attractions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: end;
}

.attraction-card {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 540px;
    margin: 0;
    place-items: end center;
    overflow: hidden;
    border: 2px solid var(--panel-border);
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 42%, rgba(255, 216, 49, .34), transparent 18rem),
        linear-gradient(160deg, rgba(125, 80, 214, .18), rgba(255, 77, 45, .16)),
        var(--panel);
    box-shadow: var(--panel-shadow);
}

.attraction-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom center;
    filter: drop-shadow(0 16px 0 rgba(30, 18, 48, .18));
}

.icon {
    display: grid;
    width: 54px;
    height: 54px;
    margin-bottom: 18px;
    place-items: center;
    border: 2px solid var(--panel-border);
    border-radius: 8px;
    background: var(--icon-background);
    color: var(--icon-ink);
    font-size: 1.45rem;
    font-weight: 950;
}

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

.schedule-day {
    overflow: hidden;
}

.schedule-day h3 {
    margin: 0;
    padding: 18px 20px;
    background: var(--schedule-header);
    color: var(--schedule-header-ink);
    font-size: 1.25rem;
}

.slot {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 16px;
    padding: 18px 20px;
    border-top: 1px solid var(--line);
}

.slot time {
    display: grid;
    height: 100%;
    place-items: center;
    color: var(--accent);
    font-weight: 950;
}

.slot strong {
    display: block;
    margin-bottom: 4px;
}

.slot p {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}

.events-panel {
    overflow: hidden;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 18px;
    border-bottom: 2px solid var(--panel-border);
    background: var(--soft);
}

.filter {
    cursor: pointer;
    padding: 9px 14px;
    border: 2px solid var(--panel-border);
    border-radius: 999px;
    background: var(--filter-background);
    color: var(--filter-ink);
    font-weight: 950;
}

.filter.is-active {
    background: var(--accent);
    color: var(--accent-ink);
}

.event-row {
    display: grid;
    grid-template-columns: 84px 130px minmax(0, 1fr) 90px;
    gap: 18px;
    align-items: center;
    padding: 18px 20px;
    border-top: 1px solid var(--line);
}

.event-row:first-of-type {
    border-top: 0;
}

.pill {
    display: inline-flex;
    width: fit-content;
    padding: 6px 9px;
    border-radius: 999px;
    background: var(--pill-background);
    color: var(--pill-ink);
    font-size: .78rem;
    font-weight: 950;
}

.event-row strong {
    display: block;
}

.price {
    font-weight: 950;
    text-align: right;
}

.venue {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 450px);
    gap: 22px;
    align-items: stretch;
}

.venue-card {
    padding: 28px;
}

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

.venue-card p {
    color: var(--muted);
    line-height: 1.7;
}

.venue-photo {
    min-height: 360px;
    border: 2px solid var(--panel-border);
    border-radius: 8px;
    background: var(--venue-background);
    box-shadow: var(--panel-shadow);
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    padding: 22px;
}

.faq-item summary {
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 950;
}

.faq-item p {
    margin: 14px 0 0;
    color: var(--muted);
    line-height: 1.65;
}

.map-frame {
    position: relative;
    width: 100%;
    overflow: visible;
    border-block: 2px solid var(--panel-border);
    background: var(--panel);
    box-shadow: 0 8px 0 rgba(30, 18, 48, .12);
}

.map-frame iframe {
    display: block;
    width: 100%;
    height: min(58vh, 480px);
    min-height: 340px;
    border: 0;
}

.map-section {
    padding-bottom: 0;
}

.map-perched-art {
    position: absolute;
    right: clamp(12px, 4vw, 54px);
    bottom: 100%;
    z-index: 2;
    display: block;
    width: min(220px, 28vw);
    margin: 0 0 -2px;
    filter: drop-shadow(0 12px 14px rgba(30, 18, 48, .22));
    pointer-events: none;
}

.footer {
    padding: 46px 0 0;
    background: var(--footer-background);
    color: var(--footer-ink);
    border-top: 2px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
}

.footer p {
    margin: 8px 0 0;
    color: var(--footer-muted);
}

.footer-copy {
    width: 100%;
    margin: 34px 0 0;
    padding: 18px 16px;
    background: rgba(30, 18, 48, .08);
    color: var(--footer-ink);
    font-weight: 800;
    text-align: center;
}

.footer-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 34px;
    align-items: center;
    justify-content: center;
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.footer-logos img {
    width: auto;
    max-width: min(240px, 46vw);
    height: 82px;
    object-fit: contain;
}

.frieren-footer-art {
    display: none;
}

.frieren-about-art {
    display: none;
}

@media (max-width: 940px) {
    .nav {
        min-height: 68px;
        padding: 10px 0;
    }

    .nav-toggle {
        position: relative;
        z-index: 42;
        display: flex;
        margin-left: auto;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 41;
        display: flex;
        width: min(330px, 86vw);
        height: 100dvh;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 0;
        padding: 98px 24px 28px;
        border-left: 2px solid var(--panel-border);
        background: var(--panel);
        box-shadow: -16px 0 40px rgba(30, 18, 48, .18);
        transform: translateX(104%);
        transition: transform .24s ease;
    }

    .nav-links a {
        padding: 16px 0;
        border-bottom: 1px solid var(--line);
        font-size: 1.05rem;
    }

    .nav-backdrop {
        position: fixed;
        inset: 0;
        z-index: 40;
        border: 0;
        background: rgba(20, 14, 30, .42);
        cursor: pointer;
    }

    .is-menu-open {
        overflow: hidden;
    }

    .is-menu-open .nav-links {
        transform: translateX(0);
    }

    .is-menu-open .nav-backdrop {
        display: block;
    }

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

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

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

    .info-strip,
    .grid,
    .attractions-grid,
    .schedule,
    .venue,
    .section-title {
        grid-template-columns: 1fr;
    }

    .attraction-card {
        min-height: 500px;
    }

    .hero-visual {
        order: -1;
    }

    .hero-copy,
    .hero-visual {
        text-align: center;
    }

    .hero-copy h1,
    .hero-lead {
        margin-inline: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero,
    .hero-content {
        min-height: 620px;
    }

    .info-strip {
        margin-top: -66px;
    }
}

@media (max-width: 640px) {
    .shell {
        width: min(100% - 24px, 1160px);
    }

    .nav-links {
        gap: 10px 14px;
        font-size: .82rem;
    }

    .hero-actions,
    .button {
        width: 100%;
    }

    .event-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .price {
        text-align: left;
    }

    .footer-logos img {
        max-width: min(210px, 82vw);
        height: 68px;
    }

    .map-perched-art {
        width: min(150px, 38vw);
    }

    .attraction-card {
        min-height: 420px;
    }
}
