@font-face {
    font-family: Poppins;
    src: url('/public/font/poppins-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

:root {
    color-scheme: dark;
    --fb-bg: #080a14;
    --fb-surface: #111626;
    --fb-surface-raised: #191e32;
    --fb-border: #272d44;
    --fb-text: #f6f5ff;
    --fb-muted: #a9adc2;
    --fb-accent: #b8a6ff;
    --fb-action: #6549d5;
    --fb-action-hover: #7459e1;
    --fb-radius: 1rem;
}

.fb-document, .fb-site, .fb-admin {
    background: var(--fb-bg);
    color: var(--fb-text);
}
.fb-site, .fb-admin {
    min-height: 100vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background-image: radial-gradient(ellipse at 20% 0, #231946 0, transparent 38rem),
        radial-gradient(ellipse at 91% 33rem, #151b3a 0, transparent 42rem);
}
.fb-site h1, .fb-site h2, .fb-admin h1 { text-wrap: balance; }
.fb-site :where(p) { text-wrap: pretty; }
.fb-site [hidden], .fb-admin [hidden] { display: none !important; }
.fb-site :focus-visible, .fb-admin :focus-visible { outline: 2px solid var(--fb-accent); outline-offset: 4px; }
.fb-shell { width: min(100% - 3.5rem, 88rem); margin-inline: auto; }
.fb-skip { position: fixed; top: .75rem; left: .75rem; z-index: 30; padding: .8rem 1rem; background: var(--fb-surface); transform: translateY(-170%); }
.fb-skip:focus { transform: translateY(0); }
.fb-header { position: relative; z-index: 20; border-bottom: 1px solid var(--fb-border); background: #090c18e8; }
.fb-header-row { min-height: 4.95rem; display: flex; align-items: center; gap: clamp(1rem, 2.3vw, 2.5rem); }
.fb-brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.fb-brand img { display: block; width: clamp(9.5rem, 14vw, 11.75rem); height: auto; }
.fb-footer .fb-brand { max-width: 100%; }
.fb-footer .fb-brand img { width: min(11rem, 100%); }
.fb-desktop-nav { margin-left: auto; display: flex; gap: .22rem; align-items: center; }
.fb-desktop-nav > a, .fb-more > summary, .fb-mobile-nav > summary {
    border-radius: .65rem; padding: .72rem .85rem; color: var(--fb-muted);
    font-size: .9rem; font-weight: 650; cursor: pointer; white-space: nowrap;
}
.fb-desktop-nav a:hover, .fb-menu-panel a:hover, .fb-desktop-nav a[aria-current], .fb-menu-panel a[aria-current],
.fb-more[open] > summary, .fb-mobile-nav[open] > summary { color: var(--fb-text); background: var(--fb-surface-raised); }
.fb-more, .fb-mobile-nav { position: relative; }
.fb-header summary { list-style: none; }
.fb-header summary::-webkit-details-marker { display: none; }
.fb-header summary::after { content: ''; display: inline-block; width: .37rem; height: .37rem; margin-left: .55rem; border-right: 1px solid; border-bottom: 1px solid; transform: translateY(-.16rem) rotate(45deg); }
.fb-menu-panel {
    position: absolute; right: 0; top: 100%; min-width: 17rem; padding: .45rem; z-index: 5;
    border: 1px solid var(--fb-border); border-radius: var(--fb-radius); background: var(--fb-surface);
    box-shadow: 0 18px 48px #03040a80;
}
.fb-menu-panel a { display: grid; padding: .7rem .85rem; border-radius: .6rem; gap: .1rem; }
.fb-menu-panel small { color: var(--fb-muted); font-size: .8rem; }
.fb-mobile-nav { display: none; margin-left: auto; }
.fb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.fb-button {
    display: inline-flex; align-items: center; justify-content: center; padding: .65rem 1rem; min-height: 2.75rem;
    border: 1px solid transparent; border-radius: .68rem; font-size: .9rem; font-weight: 700;
    line-height: 1.25; text-align: center; cursor: pointer; transition: background-color .15s, border-color .15s;
}
.fb-button-primary { background: var(--fb-action); color: white; }
.fb-button-primary:hover { background: var(--fb-action-hover); }
.fb-button-secondary { background: #232840; border-color: #343b57; color: var(--fb-text); }
.fb-button-secondary:hover, .fb-button-outline:hover { background: #2e3151; border-color: #625098; }
.fb-button-outline { color: var(--fb-accent); border-color: var(--fb-border); }
.fb-window, .fb-panel { background: var(--fb-surface); border: 1px solid var(--fb-border); border-radius: var(--fb-radius); }
.fb-window { box-shadow: 0 18px 55px #04050d4d; }
.fb-window-bar {
    display: flex; align-items: center; gap: .66rem; padding: .85rem 1rem; color: var(--fb-muted);
    border-bottom: 1px solid var(--fb-border); font-size: .82rem; font-weight: 650;
}
.fb-window-bar time { margin-left: auto; font-variant-numeric: tabular-nums; }
.fb-window-dot { width: .5rem; height: .5rem; border-radius: 50%; background: #a88cff; box-shadow: 0 0 .8rem #a88cff75; flex: none; }
.fb-eyebrow { color: var(--fb-accent); font-size: .79rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 750; }
.fb-hero {
    display: grid; grid-template-columns: 1fr minmax(0, 1.03fr); align-items: center; gap: clamp(1.75rem, 5.5vw, 6.4rem);
    padding-block: clamp(2.4rem, 4vw, 4.5rem) clamp(2.2rem, 4vw, 3.5rem);
}
.fb-hero h1 {
    font-family: Poppins, system-ui, sans-serif; font-weight: 700; font-size: clamp(2.5rem, 5.05vw, 5.1rem);
    line-height: 1.07; letter-spacing: -.064em; margin-block: .9rem 1.25rem; text-wrap: initial;
}
.fb-hero h1 span { color: var(--fb-accent); }
.fb-hero-intro { min-width: 0; }
.fb-hero-description { font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.65; color: var(--fb-muted); max-width: 30rem; }
.fb-hero .fb-actions { margin-top: 1.5rem; }
.fb-hero-location { margin-top: 1.45rem; color: var(--fb-muted); font-size: .88rem; }
.fb-hero-location span { color: var(--fb-accent); padding-inline: .32rem; }
.fb-hero-window { overflow: hidden; min-width: 0; }
.fb-hero-art { display: block; background: #191629; aspect-ratio: 1.84; max-height: 20rem; overflow: hidden; }
.fb-hero-art img { width: 100%; height: 100%; object-fit: contain; }
.fb-hero-brand { display: grid; place-items: center; background: radial-gradient(ellipse, #372965, #161729 72%); }
.fb-hero-brand img { width: min(55%, 17rem); height: auto; object-fit: contain; }
.fb-hero-caption { padding: 1rem 1.15rem; display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.fb-hero-caption h2 { margin-top: .2rem; font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 750; line-height: 1.2; }
.fb-hero-caption .fb-button { flex: 0 0 auto; }
.fb-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.2rem; }
.fb-section-heading h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); font-weight: 770; line-height: 1.12; letter-spacing: -.04em; }
.fb-section-heading .fb-eyebrow { margin-bottom: .45rem; }
.fb-event-rail {
    display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3rem)/4);
    gap: 1rem; overflow-x: auto; overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: .55rem;
    scrollbar-color: #4e436f transparent; scrollbar-width: thin;
}
.fb-event-rail > * { scroll-snap-align: start; }
.fb-rail-controls { display: flex; gap: .38rem; }
.fb-carousel-button { border-color: var(--fb-border); background: var(--fb-surface); width: 2.75rem; font-size: 1.55rem; padding: 0; }
.fb-carousel-button:hover:not(:disabled) { background: var(--fb-surface-raised); }
.fb-carousel-button:disabled { opacity: .42; cursor: default; }
.fb-event-card {
    display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--fb-border);
    border-radius: .85rem; background: var(--fb-surface);
}
.fb-event-card:hover { border-color: #5b4a88; }
.fb-event-art { display: block; aspect-ratio: 1.68; background: #191629; overflow: hidden; }
.fb-event-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fb-event-art:hover img { opacity: .87; }
.fb-event-content { padding: .95rem 1rem .4rem; overflow-wrap: anywhere; }
.fb-event-date { color: var(--fb-accent); font-size: .8rem; font-weight: 700; line-height: 1.45; }
.fb-event-content h3 { margin-top: .28rem; font-size: 1.14rem; font-weight: 750; line-height: 1.25; }
.fb-event-content h3 a:hover { color: var(--fb-accent); }
.fb-event-content p { color: var(--fb-muted); font-size: .92rem; margin-top: .4rem; line-height: 1.45; }
.fb-event-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.fb-event-content .fb-event-tags { margin-top: .62rem; }
.fb-tag { display: inline-flex; padding: .19rem .45rem; border-radius: .4rem; background: #272d41; color: #dcdfef; font-size: .75rem; font-weight: 650; }
.fb-tag-accent { background: #382a60; color: #e2d6ff; }
.fb-tag-live { background: #153b35; color: #abf7d3; }
.fb-event-actions { display: flex; flex-wrap: wrap; gap: .4rem; padding: .7rem 1rem 1rem; margin-top: auto; }
.fb-event-actions .fb-button { min-height: 2.35rem; padding: .45rem .65rem; font-size: .82rem; }
.fb-visit { margin-top: clamp(2.85rem, 6vw, 5rem); }
.fb-visit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.fb-visit-card { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.2rem; }
.fb-visit-card:hover { border-color: #6c579c; }
.fb-visit-card h3 { font-weight: 750; font-size: 1.06rem; }
.fb-visit-card p, .fb-rental-banner p { color: var(--fb-muted); margin-top: .25rem; font-size: .9rem; }
.fb-visit-icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: .6rem; background: #292145; color: var(--fb-accent); font-size: 1.23rem; font-weight: 750; flex: none; }
.fb-rental-banner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.35rem 1.5rem; margin-block: 1.35rem 4.5rem; background: linear-gradient(120deg, #1b1733, var(--fb-surface) 67%); }
.fb-rental-banner h2 { font-size: 1.15rem; font-weight: 750; }
.fb-footer { background: #0b0e1a; border-top: 1px solid var(--fb-border); padding-block: 2.2rem 1.45rem; color: var(--fb-muted); font-size: .92rem; }
.fb-footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 1.5rem; padding-bottom: 1.6rem; }
.fb-footer-grid a:not(.fb-brand) { display: block; width: fit-content; margin-top: .48rem; }
.fb-footer-grid h2 { color: var(--fb-text); font-size: .92rem; font-weight: 750; margin-bottom: .5rem; }
.fb-footer-grid p { margin-top: .35rem; line-height: 1.5; }
.fb-footer a:hover { color: var(--fb-accent); }
.fb-footer-legal { display: flex; align-items: baseline; gap: 1rem; border-top: 1px solid var(--fb-border); padding-top: 1rem; flex-wrap: wrap; }
.fb-footer-legal span { margin-right: auto; }
.fb-footer-note { font-size: .78rem; line-height: 1.5; color: #9196ad; margin-top: .5rem; }
.fb-inner { padding-block: clamp(1.6rem, 3vw, 3rem) 4.5rem; min-height: 55vh; }
.fb-page-intro h1, .fb-detail h1, .fb-page-heading h1 {
    font-family: Poppins, system-ui, sans-serif; font-size: clamp(2.1rem, 4.9vw, 4.3rem); font-weight: 700;
    line-height: 1.12; letter-spacing: -.055em; overflow-wrap: anywhere;
}
.fb-page-intro h1 { margin-top: .48rem; }
.fb-page-intro p:not(.fb-eyebrow), .fb-page-heading > p:not(.fb-eyebrow) { margin-block: .7rem 1rem; max-width: 48rem; color: var(--fb-muted); line-height: 1.6; }
.fb-calendar-intro { overflow: hidden; background: linear-gradient(132deg, #211b3a, var(--fb-surface) 67%); }
.fb-calendar-intro-body { padding: clamp(1.45rem, 4vw, 3.2rem); }
.fb-calendar-intro-body p { margin-bottom: 0 !important; }
.fb-calendar-tools { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.fb-calendar { margin-top: 1.3rem; }
.fb-search { display: block; width: min(26rem, 100%); }
.fb-search input { width: 100%; padding: .65rem .85rem; min-height: 2.75rem; border: 1px solid var(--fb-border); border-radius: .68rem; background: var(--fb-surface); }
.fb-search input::placeholder { color: var(--fb-muted); }
.fb-view-toggle { display: flex; border: 1px solid var(--fb-border); background: var(--fb-surface); border-radius: .68rem; padding: .18rem; }
.fb-view-toggle button { font-size: .87rem; color: var(--fb-muted); padding: .5rem .72rem; border-radius: .45rem; cursor: pointer; }
.fb-view-toggle button[aria-pressed="true"] { color: var(--fb-text); background: #382d5a; }
.fb-months { display: flex; gap: .5rem; overflow-x: auto; padding: .7rem .25rem .45rem; }
.fb-months a { white-space: nowrap; padding: .4rem .66rem; border-radius: .45rem; border: 1px solid var(--fb-border); color: var(--fb-accent); background: var(--fb-surface); font-size: .85rem; }
.fb-months a:hover { background: var(--fb-surface-raised); }
.fb-month { margin-top: 1.75rem; scroll-margin-top: 1rem; }
.fb-event-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.fb-calendar-list .fb-event-grid { grid-template-columns: 1fr; gap: .55rem; }
.fb-calendar-list .fb-event-card { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) auto; align-items: center; }
.fb-calendar-list .fb-event-art { height: 100%; aspect-ratio: auto; }
.fb-calendar-list .fb-event-content, .fb-calendar-list .fb-event-actions { padding: .7rem .85rem; margin: 0; }
.fb-empty { border: 1px dashed #3b3555; border-radius: .85rem; padding: 1.15rem; margin-top: 1rem; color: var(--fb-muted); }
.fb-back { display: inline-block; color: var(--fb-accent); margin-bottom: 1rem; font-weight: 650; }
.fb-detail { overflow: hidden; }
.fb-detail-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; }
.fb-detail-art { background: linear-gradient(120deg, #211b3a, #101626); height: 100%; display: grid; align-content: start; overflow: hidden; }
.fb-detail-art img { width: 100%; max-height: 40rem; object-fit: contain; display: block; }
.fb-detail-info { padding: clamp(1.35rem, 3vw, 2.75rem); }
.fb-detail-info h1 { margin-block: .7rem .6rem; font-size: clamp(1.9rem, 4vw, 3.55rem); }
.fb-detail-subtitle { color: var(--fb-muted); font-size: 1.1rem; }
.fb-detail-times { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .75rem; padding: 1.15rem 0; margin-block: 1rem .4rem; border-block: 1px solid var(--fb-border); }
.fb-detail-times dt { color: var(--fb-muted); font-size: .82rem; }
.fb-detail-times dd { margin-top: .28rem; font-weight: 650; }
.fb-detail-body { display: grid; grid-template-columns: 2fr 1fr; align-items: start; gap: 1rem; margin-top: 1.15rem; }
.fb-prose { padding: clamp(1.15rem, 2.5vw, 1.8rem); }
.fb-prose h2 { font-size: 1.3rem; font-weight: 750; }
.fb-prose p { margin-top: .75rem; color: var(--fb-muted); line-height: 1.65; }
.fb-prose .fb-button { margin-top: 1rem; }
.fb-page-heading { padding: clamp(1.45rem, 3vw, 2.65rem); background: linear-gradient(130deg, #231b40, #111626 66%); border: 1px solid var(--fb-border); border-radius: var(--fb-radius); margin-bottom: 1.15rem; }
.fb-page-heading h1 { margin-top: .5rem; }
.fb-legacy-page { min-height: 64vh; }
.fb-legacy-page :where(.max-w-7xl) { max-width: 91.5rem; }
.fb-legacy-page :where(.max-w-5xl) { max-width: 72rem; }
.fb-legacy-page :where(a, button, input, summary):focus-visible { outline-offset: 2px; }
.fb-legacy-page details[open] { border-color: #685499; }
.fb-legal-page .fb-panel { max-width: 76ch; }
.fb-panel :where(a:not([class])) { color: var(--fb-accent); text-decoration: underline; text-underline-offset: .18em; }
.fb-admin .fb-header-row { min-height: 4.95rem; gap: 1rem; flex-wrap: wrap; padding-block: .6rem; }
.fb-admin .fb-desktop-nav { display: flex; flex-wrap: wrap; }
.fb-admin main { padding-block: 1.5rem 3rem; }
.fb-admin :where(input:not([type=checkbox]), select, textarea) { border: 1px solid var(--fb-border); border-radius: .55rem; }
.fb-admin :where(table) { color: var(--fb-text); }

@media (max-width: 70rem) {
    .fb-event-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .fb-event-rail { grid-auto-columns: calc((100% - 2rem)/3); }
}
@media (max-width: 56rem) {
    .fb-shell { width: min(100% - 2rem, 88rem); }
    .fb-header .fb-desktop-nav, .fb-header .fb-header-action { display: none; }
    .fb-admin .fb-header .fb-desktop-nav, .fb-mobile-nav { display: block; }
    .fb-hero { gap: 1.4rem; }
    .fb-hero-caption { flex-wrap: wrap; }
    .fb-visit-grid { gap: .7rem; }
    .fb-event-rail { grid-auto-columns: calc((100% - 1rem)/2); }
    .fb-event-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 43rem) {
    .fb-header-row { min-height: 4.35rem; }
    .fb-header .fb-brand img { width: clamp(9.25rem, 38.5vw, 10.5rem); }
    .fb-hero { grid-template-columns: minmax(0,1fr); padding-top: 2rem; }
    .fb-hero h1 { font-size: clamp(2.45rem, 9vw, 3.85rem); }
    .fb-hero-location { margin-top: .95rem; }
    .fb-hero .fb-actions { margin-top: 1rem; }
    .fb-hero-caption { flex-wrap: nowrap; }
    .fb-event-rail { grid-auto-columns: min(77%, 19rem); }
    .fb-event-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: .7rem; }
    .fb-section-heading { align-items: start; flex-wrap: wrap; gap: .7rem; margin-bottom: .9rem; }
    .fb-home-program .fb-section-heading .fb-actions { margin-left: auto; }
    .fb-visit-grid, .fb-detail-grid, .fb-detail-body { grid-template-columns: 1fr; }
    .fb-detail-art img { max-height: 65svh; }
    .fb-footer-grid { grid-template-columns: repeat(2, 1fr); }
    .fb-footer-legal span { width: 100%; }
    .fb-rental-banner { align-items: start; flex-direction: column; }
    .fb-calendar-list .fb-event-card { grid-template-columns: 4.25rem minmax(0,1fr); }
    .fb-calendar-list .fb-event-art { grid-row: span 2; width: 3.6rem; height: 3.6rem; border-radius: .45rem; margin-left: .55rem; }
    .fb-calendar-list .fb-event-actions { padding-top: 0; }
    .fb-legacy-page .fb-page-heading { padding: 1.2rem; }
}
@media (max-width: 25rem) {
    .fb-footer-grid > :first-child { grid-column: 1 / -1; }
    .fb-event-grid { grid-template-columns: 1fr; }
    .fb-hero-caption { flex-wrap: wrap; }
}
/* 60% of the way from round (1) to squircle (2). */
@supports (corner-shape: superellipse(1.6)) {
    :root { --fb-radius: 1.5rem; }

    :is(.fb-window, .fb-panel, .fb-menu-panel, .fb-page-heading, .fb-event-card, .fb-empty),
    :is(.fb-button, .fb-visit-icon, .fb-view-toggle),
    :is(.fb-desktop-nav, .fb-menu-panel, .fb-months) > a,
    :is(.fb-more, .fb-mobile-nav) > summary,
    .fb-search input,
    .fb-view-toggle button,
    .fb-calendar-list .fb-event-art,
    .fb-admin :where(input:not([type=checkbox], [type=radio]), select, textarea),
    :where(.fb-document, .fb-admin) :where(.rounded, .rounded-md, .rounded-lg, .rounded-xl, .rounded-2xl):not(.rounded-full, .rounded-none) {
        corner-shape: superellipse(1.6);
    }

    :is(.fb-event-card, .fb-empty) { border-radius: 1.25rem; }
    :is(.fb-button, .fb-view-toggle),
    .fb-search input,
    :is(.fb-desktop-nav, .fb-menu-panel) > a,
    :is(.fb-more, .fb-mobile-nav) > summary { border-radius: 1rem; }
    .fb-visit-icon,
    .fb-view-toggle button,
    .fb-months a,
    .fb-admin :where(input:not([type=checkbox], [type=radio]), select, textarea) { border-radius: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
    .fb-site *, .fb-admin * { scroll-behavior: auto !important; transition: none !important; }
}

.fb-menu-intro { padding-top: 2rem; }
.fb-article-title { font-size: clamp(2rem, 4.4vw, 3.5rem); line-height: 1.15; letter-spacing: -.045em; font-weight: 760; }
