@font-face {
    font-family: Bricolage;
    src: url("/fonts/bricolage.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
}

@font-face {
    font-family: DM Sans;
    src: url("/fonts/dm-sans.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
}

:root {
    color-scheme: light;
    --ink: #142e67;
    --muted: #545a57;
    --paper: #f6f6f1;
    --accent: #ffdf42;
    --soft-accent: #fff0a3;
    --line: #d9d5ca;
    --display: Bricolage, "Trebuchet MS", sans-serif;
    font-family: "DM Sans", system-ui, sans-serif;
    line-height: 1.55;
    color: var(--ink);
    background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, p, figure, dl, dd { margin: 0; }
body { min-width: 280px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #2d5e83; outline-offset: 4px; }
.hero :focus-visible, .detail-header :focus-visible, .site-header :focus-visible, .site-footer :focus-visible {
    outline-color: var(--accent);
}

h1, h2 { font-family: var(--display); font-weight: 760; line-height: .98; letter-spacing: -.047em; }
h1 { font-size: clamp(3rem, 7vw, 6.75rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.65rem); }
.wrap { width: min(1200px, calc(100% - 7rem)); margin-inline: auto; }

.skip {
    position: absolute;
    top: .8rem;
    left: .8rem;
    z-index: 2;
    transform: translateY(-160%);
    background: var(--paper);
    padding: .65rem 1rem;
}
.skip:focus { transform: translateY(0); }

.site-header { background: var(--ink); color: var(--paper); border-bottom: 4px solid var(--accent); }
.header-inner { min-height: 87px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: .75rem;
    text-decoration: none;
}
/* Follow the shield outline to hide the source image's white margins. */
.brand-crest {
    width: clamp(38px, 5vw, 49px);
    height: auto;
    clip-path: polygon(
        2.1% 1.2%, 97.9% 1.2%, 97.9% 54%, 97.4% 61%, 95.6% 68%,
        92.5% 74%, 88.4% 80%, 82.4% 86%, 74.5% 91.5%, 66% 95.7%,
        58% 98%, 50% 99%, 42% 98%, 34% 95.7%, 25.5% 91.5%,
        17.6% 86%, 11.6% 80%, 7.5% 74%, 4.4% 68%, 2.6% 61%, 2.1% 54%
    );
}
.brand-name { display: grid; font: 780 clamp(1.55rem, 3.2vw, 2rem) / .98 var(--display); letter-spacing: -.04em; }
.brand-name small { margin-top: .27rem; color: #dce4eb; font: 650 .78rem / 1.2 "DM Sans", sans-serif; letter-spacing: .035em; }
nav { display: flex; align-items: center; gap: clamp(1.2rem, 3.2vw, 2.75rem); }
nav a { font-size: .95rem; font-weight: 650; text-decoration: none; padding-block: .35rem; }
nav a:hover, nav a.active { color: var(--accent); }
nav a.active { box-shadow: 0 2px var(--accent); }

.hero, .detail-header { color: var(--paper); background: var(--ink); }
.hero-inner {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: clamp(2.2rem, 5vw, 5rem);
    padding-block: clamp(2.4rem, 5.1vw, 5rem);
}
.eyebrow { font-size: .74rem; font-weight: 700; line-height: 1.3; letter-spacing: .115em; text-transform: uppercase; }
.hero-kicker { color: var(--accent); display: flex; align-items: center; gap: .7rem; }
.hero-kicker::before { content: ""; width: 1.55rem; height: 1px; background: currentColor; }
.hero h1 { margin: .85rem 0 1.2rem; white-space: nowrap; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-copy > p:not(.eyebrow) { color: #dce4eb; font-size: clamp(1rem, 1.5vw, 1.15rem); max-width: 31ch; }
.button {
    width: fit-content;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .66rem .95rem .66rem 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 5px;
}
.button span { font-size: 1.14em; line-height: 1; }
.button-accent { background: var(--accent); color: var(--ink); }
.button-accent:hover { background: #f6dfa0; }
.hero .button { margin-top: 1.65rem; }
.hero-image { position: relative; overflow: hidden; border-radius: 9px; background: #302a23; }
.hero-image img { width: 100%; height: clamp(300px, 33vw, 435px); object-fit: cover; object-position: 50% 50%; }
.hero-image figcaption {
    position: absolute;
    bottom: .8rem;
    left: .8rem;
    color: var(--paper);
    background: #17283bee;
    padding: .35rem .6rem;
    border-radius: 4px;
    font-size: .78rem;
}

.featured { background: var(--accent); }
.featured-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: clamp(1rem, 3vw, 2.55rem); padding-block: 1.3rem; }
.featured h2 { font-size: clamp(1.65rem, 3.5vw, 2.8rem); margin-top: .25rem; }
.featured-meta { line-height: 1.3; font-weight: 700; }
.featured-meta span { font-weight: 500; }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: #294862; }

.home-program { padding-block: clamp(2.9rem, 6vw, 5.7rem); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.text-link { display: inline-flex; align-items: center; gap: .42rem; font-weight: 700; }
.text-link:hover { color: #285778; }
.event-list { padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.event-list li { border-bottom: 1px solid var(--line); }
.event-row {
    min-height: 105px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: clamp(1rem, 3vw, 1.8rem);
    align-items: center;
    padding: .85rem .45rem;
    text-decoration: none;
}
.event-row:hover { background: #edf1f3; }
.date-tile {
    min-width: 4.4rem;
    min-height: 4.2rem;
    display: grid;
    place-items: center;
    padding: .45rem .55rem;
    border-radius: 5px;
    background: var(--soft-accent);
    text-align: center;
}
.date-tile time { display: grid; gap: .2rem; }
.date-tile strong { font: 800 1.55rem / 1 var(--display); letter-spacing: -.05em; }
.date-tile span { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.date-dark { color: var(--paper); background: var(--ink); }
.row-text { display: grid; gap: .22rem; }
.row-text > .eyebrow { color: #3b5c75; }
.row-text > strong { font: 740 clamp(1.15rem, 2.5vw, 1.68rem) / 1.12 var(--display); letter-spacing: -.035em; overflow-wrap: anywhere; }
.row-text > small { color: var(--muted); font-size: .85rem; }
.row-link { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; font-size: .9rem; }
.row-link span { display: grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid #bbb3a6; border-radius: 50%; }

.visit { background: #e7efff; padding-block: clamp(2.9rem, 5vw, 4.75rem); }
.visit-inner { display: grid; grid-template-columns: 1.06fr 1fr; align-items: center; gap: clamp(1.9rem, 6vw, 6.25rem); }
.visit img { width: 100%; height: clamp(230px, 29vw, 355px); object-fit: cover; border-radius: 7px; }
.visit p { margin-top: 1rem; max-width: 37ch; }
address { font-style: normal; margin-block: 1.15rem .75rem; }

.site-footer { background: var(--ink); color: var(--paper); }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1.2rem 2rem; padding-block: 2.1rem; }
.footer-inner small { display: block; color: #dce4eb; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }

.page-intro { background: var(--ink); color: var(--paper); padding-block: clamp(2.8rem, 7vw, 5.5rem); }
.page-intro p { margin-top: 1rem; color: #dce4eb; font-size: 1.1rem; }
.program-body { padding-block: 2.5rem 5rem; }
.year-section { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem 2rem; margin-bottom: 2.3rem; }
.year-section h2 { margin-top: .6rem; font-size: clamp(2rem, 4.3vw, 3.5rem); }
.past { margin-left: 11rem; }
.past summary { cursor: pointer; font-weight: 700; padding: .6rem 0; }

.detail-header { padding-block: 1.35rem clamp(2.3rem, 6vw, 4.4rem); }
.back-link { display: inline-block; color: #dce4eb; font-weight: 650; margin-bottom: 1.6rem; }
.detail-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: center; }
.detail-grid-text { grid-template-columns: 1fr; }
.detail-copy h1 { margin-block: .75rem 1.6rem; font-size: clamp(2.65rem, 7vw, 6.25rem); overflow-wrap: anywhere; }
.facts { max-width: 34rem; }
.facts div { display: grid; grid-template-columns: 6rem 1fr; gap: .5rem; padding-block: .48rem; border-top: 1px solid #474d4c; }
.facts dt { color: #dce4eb; }
.facts dd { font-weight: 700; }
.detail-copy .button { margin-top: 1.25rem; }
.event-image { justify-self: end; }
.event-image img { max-height: 420px; max-width: 100%; border-radius: 7px; object-fit: contain; }
.detail-content { display: grid; grid-template-columns: 1fr .85fr; align-items: start; gap: clamp(1.6rem, 6vw, 5.5rem); padding-block: clamp(2.5rem, 6vw, 5rem); }
.detail-content h2 { margin-bottom: 1rem; font-size: clamp(1.9rem, 3.5vw, 2.9rem); }
.detail-content p { max-width: 54ch; }
.source-link { color: var(--muted); margin-top: 1.5rem; font-size: .87rem; }
.ticket-panel { background: #edf2f6; border: 1px solid #d6e0e7; border-radius: 8px; padding: clamp(1.2rem, 3vw, 2rem); }
.ticket-list div { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: .8rem; padding-block: .7rem; border-top: 1px solid #d3dfe8; }
.ticket-list dt, .ticket-list dd { font-weight: 700; }
.ticket-list small { display: block; color: var(--muted); font-weight: 500; }
.ticket-panel .text-link { margin-top: .9rem; }
.missing { padding-block: 5rem; }
.missing h1 { margin-bottom: 1rem; font-size: clamp(2.6rem, 6vw, 5.5rem); }

@media (max-width: 1000px) {
    .wrap { width: calc(100% - 4rem); }
    .hero h1 { font-size: clamp(3rem, 8vw, 5.1rem); }
}
@media (max-width: 760px) {
    .wrap { width: calc(100% - 2.5rem); }
    .header-inner { min-height: 88px; }
    .hero-inner, .visit-inner, .detail-grid, .detail-content { grid-template-columns: 1fr; }
    .hero-inner { gap: 1.5rem; }
    .hero h1 { font-size: clamp(3.35rem, 11vw, 5.4rem); }
    .hero-image img { height: clamp(210px, 56vw, 400px); }
    .featured-inner { grid-template-columns: auto 1fr; column-gap: .85rem; row-gap: .7rem; }
    .featured-meta { grid-column: 2; }
    .featured .button { grid-column: 2; }
    .featured h2 { font-size: clamp(1.7rem, 6vw, 2.65rem); }
    .year-section { grid-template-columns: 1fr; gap: .8rem; }
    .past { margin-left: 0; }
    .event-image { justify-self: start; }
    .event-image img { max-height: 360px; }
}
@media (max-width: 520px) {
    .header-inner { min-height: 0; flex-direction: column; justify-content: center; padding-block: .8rem .65rem; gap: .45rem; }
    .header-inner nav { justify-content: center; width: 100%; }
}
@media (max-width: 450px) {
    .wrap { width: calc(100% - 2rem); }
    nav { gap: 1.5rem; }
    nav a { font-size: .9rem; }
    .section-heading { align-items: start; flex-direction: column; gap: .55rem; }
    .row-link { font-size: 0; gap: 0; }
    .row-link span { font-size: .9rem; }
    .date-tile { min-width: 3.7rem; }
}
@media (max-width: 340px) {
    .hero h1 { font-size: clamp(2.75rem, 13.2vw, 3.35rem); }
}

.event-description { white-space: pre-line; }
.admin-shell {
    --admin-blue: #123785;
    --admin-deep: #122958;
    --admin-yellow: #ffdf42;
    --admin-border: #ccd8eb;
    --admin-wash: #edf3ff;
    min-height: 100vh;
    color: var(--admin-deep);
    background: #f5f8fd;
    font-size: 1.125rem;
}
.admin-topbar { background: var(--admin-blue); border-bottom: 5px solid var(--admin-yellow); color: white; }
.admin-container { width: min(1240px, calc(100% - 4rem)); margin-inline: auto; }
.admin-topbar .admin-container { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; min-height: 84px; }
.admin-topbar .brand-name { color: var(--admin-yellow); }
.admin-topbar .brand-name small { color: white; }
.admin-topbar :focus-visible { outline-color: var(--admin-yellow); }
.admin-top-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 0 1.4rem; font-size: 1rem; }
.admin-top-actions a, .admin-logout { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; }
.admin-logout { border: 0; padding: .3rem .7rem; background: transparent; color: inherit; text-decoration: underline; font: inherit; cursor: pointer; }
.admin-frame { padding-block: clamp(1.4rem, 3vw, 2.4rem) 4rem; }
.admin-frame > main { min-width: 0; }
.admin-signed-in { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.25rem); }
.admin-navigation { position: sticky; top: 1rem; display: grid; gap: .25rem; align-content: start; padding: .5rem; border: 1px solid var(--admin-border); border-radius: 12px; background: white; }
.admin-navigation a {
    display: flex;
    align-items: center;
    min-height: 50px;
    border-radius: 7px;
    padding: .55rem .9rem;
    color: var(--admin-deep);
    font-size: 1rem;
    overflow-wrap: anywhere;
}
.admin-navigation a:hover { color: var(--admin-blue); background: var(--admin-wash); }
.admin-navigation a.active { color: var(--admin-deep); background: var(--admin-yellow); box-shadow: none; }
.admin-page { width: 100%; max-width: none; padding: 0; }
.admin-page h1 { margin: .25rem 0 1.15rem; font-size: clamp(2.35rem, 4.6vw, 3.8rem); line-height: 1.03; overflow-wrap: anywhere; }
.admin-page h2 { margin: 0; font-size: clamp(1.55rem, 2.6vw, 2.2rem); line-height: 1.1; }
.admin-page p { max-width: 65ch; }
.admin-page button { cursor: pointer; font: inherit; font-weight: 700; }
.admin-page .button { min-height: 50px; border-radius: 7px; font-size: 1rem; justify-content: center; }
.admin-shell .button-dark { border-color: #ceaa00; background: var(--admin-yellow); color: var(--admin-deep); }
.admin-shell .button-dark:hover { background: #ffeb80; }
.admin-shell .admin-outline { border-color: #7189b0; background: white; color: var(--admin-blue); }
.admin-shell .admin-outline:hover { background: var(--admin-wash); }
.admin-shell .text-link:hover { color: var(--admin-blue); }
.admin-dashboard { background: var(--admin-yellow); border: 1px solid #e6c32f; border-radius: 14px; padding: clamp(1rem, 3.1vw, 2.1rem); }
.admin-dashboard h1 { margin-block: 0 1.2rem; }
.admin-shortcuts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.admin-shortcut {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .4rem;
    min-height: 78px;
    padding: .85rem 1rem;
    border-radius: 9px;
    border: 1px solid #c3a830;
    background: #fff9da;
    text-decoration: none;
    line-height: 1.23;
}
.admin-shortcut:hover { background: white; }
.admin-shortcut span { font-size: 1.7rem; line-height: 1; }
.admin-shortcut small { display: block; margin-top: .23rem; }
.admin-shortcut-primary { background: var(--admin-blue); border-color: var(--admin-blue); color: white; }
.admin-shortcut-primary:hover { background: var(--admin-deep); }
.admin-list-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; margin-block: 2rem .85rem; }
.admin-quiet-action { display: inline-flex; align-items: center; min-height: 44px; color: var(--admin-blue); background: transparent; border: 0; padding: .15rem .2rem; text-decoration: underline; text-underline-offset: .2em; font-size: .95rem; }
.admin-shell [hidden] { display: none; }
.admin-tag { display: inline-block; background: #fff3b4; color: #57450b; border-radius: 4px; font-size: .84rem; font-weight: 700; margin-top: .3rem; padding: .05rem .45rem; }
.admin-login { max-width: 510px; margin: 2rem auto; }
.admin-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem 1rem; margin-block: 1rem 1.25rem; }
.admin-form {
    display: grid;
    gap: 1.1rem;
    margin-top: 1.15rem;
    border: 1px solid var(--admin-border);
    border-radius: 12px;
    background: white;
    padding: clamp(.85rem, 2.5vw, 1.6rem);
}
.admin-form label { display: grid; gap: .3rem; min-width: 0; font-weight: 700; }
.admin-form input:not([type="hidden"], [type="file"]), .admin-form textarea, .admin-form select {
    color: var(--admin-deep);
    width: 100%;
    min-width: 0;
    min-height: 50px;
    border: 1px solid #778cae;
    border-radius: 6px;
    padding: .6rem .7rem;
    background: white;
    font: inherit;
    font-weight: 500;
}
.admin-form textarea { resize: vertical; }
.admin-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1rem; }
.admin-disclosure, .admin-year {
    min-width: 0;
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    background: var(--admin-wash);
    padding: .15rem .85rem;
}
.admin-disclosure > summary, .admin-year > summary { cursor: pointer; font-weight: 700; min-height: 46px; padding-block: .55rem; }
.admin-disclosure[open], .admin-year[open] { padding-bottom: .8rem; }
.admin-disclosure .admin-filter { margin: .35rem 0 0; }
.admin-timing { margin-block: .5rem .25rem; }
div.admin-timing:not(.admin-fields) { display: grid; gap: .75rem; }
.admin-ticket-fields { display: grid; gap: .9rem; margin-top: .6rem; }
.admin-ticket-fields fieldset { margin: 0; padding: .8rem; border: 1px solid var(--admin-border); min-width: 0; }
.admin-ticket-fields legend { padding-inline: .4rem; font-weight: 700; }
.admin-events { list-style: none; padding: 0; margin: .9rem 0 0; border: 1px solid var(--admin-border); border-radius: 10px; background: white; }
.admin-events li { display: flex; align-items: center; justify-content: space-between; gap: .7rem 1rem; padding: .85rem 1rem; }
.admin-events li + li { border-top: 1px solid var(--admin-border); }
.admin-events strong { overflow-wrap: anywhere; }
.admin-events small { display: block; color: #34496d; }
.admin-row-actions { display: flex; gap: .4rem .75rem; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.admin-form .admin-actions, .admin-section .admin-actions { margin-block: 0; }
.admin-page .admin-status, .admin-page .admin-error { margin-block: .8rem; }
.admin-result-links { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.admin-result-links:empty { display: none; }
.admin-result-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.admin-status, .admin-error, .admin-form .validation-errors:not(:empty) { padding: .8rem 1rem; border-radius: 5px; }
.admin-status { background: #e5efdf; }
.admin-error, .admin-form .validation-errors:not(:empty) { background: #f9e0d5; color: #742c19; }
.admin-form .validation-errors { margin: 0; padding-left: 2rem; }
.admin-form .validation-errors:empty { display: none; }
.admin-image { display: grid; gap: .55rem; border: 1px solid var(--admin-border); border-radius: 8px; margin: 0; min-width: 0; padding: .6rem .85rem .85rem; }
.admin-image legend { font-weight: 700; padding-inline: .35rem; }
.admin-form .admin-checkbox { display: flex; align-items: center; gap: .6rem; min-height: 44px; font-weight: 600; cursor: pointer; }
.admin-form .admin-checkbox input { flex: none; width: 1.3rem; min-height: 1.3rem; margin: 0; accent-color: var(--admin-blue); }
.admin-form .admin-dropzone {
    position: relative;
    display: flex;
    align-items: center;
    gap: .7rem 1rem;
    background: #f7faff;
    border: 2px dashed #718bb7;
    border-radius: 8px;
    min-height: 100px;
    padding: .8rem 1rem;
    cursor: pointer;
}
.admin-dropzone:hover, .admin-dropzone.is-dragging { background: #fff8ce; border-color: var(--admin-blue); }
.admin-dropzone:focus-within { outline: 3px solid var(--admin-blue); outline-offset: 3px; }
.admin-file-input { position: absolute; inline-size: 1px; block-size: 1px; clip-path: inset(50%); }
.admin-drop-symbol { display: grid; place-items: center; flex: 0 0 44px; aspect-ratio: 1; border-radius: 7px; background: var(--admin-yellow); font-size: 1.45rem; }
.admin-drop-copy { flex: 1; line-height: 1.3; }
.admin-drop-copy span { display: block; margin-top: .22rem; font-size: .9rem; font-weight: 500; }
.admin-dropzone .button { flex: none; }
.admin-file-status { display: flex; align-items: center; flex-wrap: wrap; gap: .1rem .8rem; overflow-wrap: anywhere; }
.admin-file-status p { margin-block: .25rem; font-size: 1rem; }
.admin-file-status p:empty { display: none; }
.admin-file-status .file-error { color: #742c19; font-weight: 700; }
.admin-upload-preview { max-height: 190px; max-width: min(100%, 290px); object-fit: contain; border-radius: 7px; margin-top: .5rem; }
.admin-hint { color: #34496d; font-size: .95rem; }
.admin-hint:empty { display: none; }
.admin-year { margin-bottom: .6rem; }
.admin-year small { margin-left: .5rem; font-weight: 500; }
.admin-section { margin-top: 1.7rem; scroll-margin-top: 1rem; }
.admin-gallery { list-style: none; margin: 1.3rem 0 0; padding: 0; display: grid; gap: .9rem; }
.admin-gallery li { display: grid; grid-template-columns: minmax(5rem, 9rem) minmax(0, 1fr); gap: 1rem; align-items: start; }
.admin-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 7px; }
.admin-photo-form { margin-top: 0; }
.admin-photo-form button { justify-self: start; }
@media (max-width: 950px) {
    .admin-signed-in { grid-template-columns: 1fr; gap: 1.25rem; }
    .admin-navigation { position: static; display: flex; flex-wrap: wrap; }
}
@media (max-width: 640px) {
    .admin-container { width: calc(100% - 1.4rem); }
    .admin-topbar .admin-container { padding-block: .55rem; flex-wrap: wrap; }
    .admin-top-actions { justify-content: flex-start; gap: 0 .7rem; }
    .admin-navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-navigation a { padding-inline: .55rem; }
    .admin-shortcuts, .admin-fields { grid-template-columns: 1fr; }
    .admin-shortcut { min-height: 54px; }
    .admin-events li { flex-direction: column; align-items: flex-start; }
    .admin-row-actions { justify-content: flex-start; }
    .admin-form .admin-dropzone { flex-wrap: wrap; }
    .admin-dropzone .button { margin-left: auto; }
    .admin-gallery li { grid-template-columns: 1fr; }
    .admin-gallery img { max-width: 11rem; }
}

.gallery-overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.65rem;
    padding-block: 3rem 5rem;
}
.gallery-year-card { display: block; text-decoration: none; background: #e8eef3; border-radius: 7px; overflow: hidden; }
.gallery-year-card > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.gallery-card-label { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .9rem 1rem; }
.gallery-card-label strong { font: 760 2.4rem / 1 var(--display); letter-spacing: -.04em; }
.gallery-card-label > span { color: var(--muted); font-size: .95rem; }
.gallery-year-card:hover { background: var(--soft-accent); }
.gallery-year-card:hover img { filter: brightness(1.06); }
.gallery-year-content { padding-block: 1.8rem 4rem; }
.gallery-intro .back-link { margin-bottom: 1.2rem; }
.gallery-years { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: .5rem; margin-bottom: 2.8rem; }
.gallery-years a { padding: .4rem .7rem; border: 1px solid var(--line); border-radius: 4px; font-size: .9rem; color: var(--ink); }
.gallery-years a.selected { color: var(--paper); background: var(--ink); border-color: var(--ink); box-shadow: none; }
.gallery-years a:hover { background: var(--soft-accent); color: var(--ink); }
.gallery-album { padding-bottom: 3.5rem; margin-bottom: 3rem; border-bottom: 1px solid var(--line); }
.gallery-album h2 { max-width: 28ch; font-size: clamp(1.9rem, 4.2vw, 3.5rem); line-height: 1.08; margin-bottom: 1.3rem; overflow-wrap: anywhere; }
.gallery-report { max-width: 76ch; margin-bottom: 1.7rem; }
.gallery-report p + p { margin-top: .8rem; }
.gallery-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.gallery-photo { display: block; border-radius: 5px; overflow: hidden; background: #e5dfd5; }
.gallery-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-photo:hover img { filter: brightness(1.08); }
.gallery-lightbox { padding: 0; border: 0; background: #17283b; color: #f6f6f1; width: min(1100px, calc(100vw - 2rem)); max-width: none; max-height: calc(100dvh - 2rem); border-radius: 7px; }
.gallery-lightbox::backdrop { background: #000d; }
.lightbox-inner { padding: 1rem; }
.lightbox-inner form { display: flex; justify-content: flex-end; margin-bottom: .65rem; }
.lightbox-inner button { font: 650 .95rem / 1.3 "DM Sans", sans-serif; min-height: 44px; padding: .6rem .8rem; color: #f6f6f1; border: 1px solid #717875; background: transparent; border-radius: 4px; cursor: pointer; }
.lightbox-inner button:hover { background: #37433e; }
.lightbox-inner button:focus-visible { outline-color: var(--accent); }
.lightbox-inner > img { width: 100%; height: min(65dvh, 720px); object-fit: contain; }
.lightbox-controls { display: flex; align-items: center; gap: 1rem; justify-content: space-between; margin-top: .8rem; }
.lightbox-controls p { font-size: .9rem; text-align: center; }
@media (max-width: 850px) {
    .gallery-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .header-inner { flex-wrap: wrap; justify-content: center; padding-block: .75rem; gap: .7rem 2rem; }
    .header-inner nav { justify-content: center; }
}
@media (max-width: 600px) {
    .gallery-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
    .gallery-overview { gap: .8rem; padding-top: 1.5rem; }
    .gallery-card-label { padding: .7rem; gap: .35rem; flex-wrap: wrap; }
    .gallery-card-label strong { font-size: 2rem; }
    .lightbox-controls { flex-wrap: wrap; gap: .5rem; }
    .lightbox-controls p { order: -1; width: 100%; }
    .gallery-album { margin-bottom: 2rem; padding-bottom: 2rem; }
}

.nav-more { position: relative; }
.nav-more summary { font-weight: 650; cursor: pointer; font-size: .95rem; padding: .35rem 0; }
.nav-more[open] summary { color: var(--accent); }
.nav-more > div { position: absolute; right: 0; top: 2.3rem; z-index: 5; width: 200px; display: grid; padding: .55rem; background: #21374c; border: 1px solid #5d625f; border-radius: 5px; box-shadow: 0 8px 24px #0004; }
.nav-more a { padding: .55rem .6rem; font-size: .95rem; }
.information-page { padding-block: 2.5rem 4rem; }
.imported-content { max-width: 80ch; font-size: 1rem; overflow-wrap: anywhere; }
.imported-content p { line-height: 1.7; }
.imported-content p + p, .imported-content ul, .imported-content ol { margin-top: .85rem; }
.imported-content h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.15; margin-block: 1.5rem 1rem; }
.imported-content h3, .imported-content h4, .imported-content h5, .imported-content h6 { font: 700 1.3rem / 1.3 var(--display); margin-block: 1.2rem .7rem; }
.content-block { margin-bottom: 1.3rem; }
.imported-content img { max-height: 760px; width: auto; max-width: 100%; height: auto; margin-block: 1rem; object-fit: contain; }
.imported-content hr { border: 0; border-top: 1px solid var(--line); margin-block: 2rem; }
.imported-content table { width: 100%; border-collapse: collapse; }
.imported-content td, .imported-content th { padding: .5rem; text-align: left; }
.content-with-image { display: flow-root; margin-block: 1.5rem; }
.content-with-image img { max-width: min(100%, 280px); max-height: 380px; float: left; margin: 0 1.5rem 1rem 0; }
.board-content .content-with-image { padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.board-content .content-with-image img { width: 150px; max-height: 200px; }
.section-navigation { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: .6rem; margin-bottom: 2rem; }
.section-navigation a { color: var(--ink); padding: .5rem .75rem; border: 1px solid var(--line); border-radius: 4px; font-size: .95rem; }
.section-navigation a.active { background: var(--ink); color: var(--paper); box-shadow: none; }
.document-index, .download-list, .partner-links { padding-left: 1.25rem; }
.document-index li, .download-list li, .partner-links li { margin-block: .8rem; }
.download-section { margin-block: 2rem; }
.download-section h2, .contact-grid h2, .guestbook-grid h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.1; margin-bottom: 1rem; }
.print-button { display: block; margin-top: 2.5rem; background: transparent; border: 1px solid #a9a197; border-radius: 4px; padding: .6rem .9rem; cursor: pointer; font: inherit; color: var(--ink); }
.contact-grid, .guestbook-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.guestbook-note { color: var(--muted); }
.guestbook-entries article { border-top: 1px solid var(--line); padding-block: 1rem; }
.guestbook-entries time { display: block; color: var(--muted); font-size: .9rem; }
.guestbook-entries p { margin-top: .7rem; white-space: pre-line; overflow-wrap: anywhere; }
.guestbook-grid .admin-status, .guestbook-grid .admin-error { margin-top: 1rem; }
.community-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 6rem); padding-block: 3.5rem; }
.community-section h2 { font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 1rem; line-height: 1.1; }
.community-section p { max-width: 48ch; margin-bottom: .9rem; }
.sponsors-section { background: #e8eef3; padding-block: 3rem; }
.sponsors-section h2 { margin-bottom: 1.8rem; font-size: clamp(2rem, 4vw, 3.5rem); }
.sponsor-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.sponsor-grid > div { background: white; border-radius: 5px; padding: 1rem; height: 125px; display: grid; place-items: center; }
.sponsor-grid img { width: 100%; height: 100%; max-height: 93px; object-fit: contain; }
.programme-archives { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.page-intro .button { margin-top: 1.3rem; }
.ticket-info { margin-block: .8rem 1.2rem; }

@media (max-width: 1050px) {
    .header-inner { flex-wrap: wrap; justify-content: center; padding-block: .75rem; gap: .7rem 2rem; }
    .header-inner nav { justify-content: center; }
}
@media (max-width: 700px) {
    .header-inner > nav { width: 100%; flex-wrap: wrap; gap: .45rem 1.2rem; }
    .contact-grid, .guestbook-grid, .community-section { grid-template-columns: 1fr; }
    .sponsor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .imported-content table { display: block; overflow-x: auto; }
}
@media print {
    :root { background: white; color: black; }
    .site-header nav, .site-footer, .print-button, .section-navigation, .admin-form, .gallery-lightbox { display: none; }
    .page-intro, .hero, .detail-header, .featured, .visit, .sponsors-section { background: white; color: black; }
    .wrap { width: 100%; }
    .page-intro { padding-block: 1rem; }
    a { color: black; }
    img { break-inside: avoid; }
    h1, h2, h3 { break-after: avoid; }
}

.board-content .content-with-image p { margin-block: .25rem; }
.editable-copy, .gallery-report p { white-space: pre-line; overflow-wrap: anywhere; }
.ticket-outlets { margin-bottom: 2.5rem; }
.ticket-outlets ul { padding: 0; list-style: none; }
.ticket-outlets li { border-top: 1px solid var(--line); padding: .9rem 0; }
.ticket-outlets li p { margin-block: .3rem; }
.guestbook-intro .content-with-image img { float: none; max-height: 180px; margin: 0 0 1rem; }
@media (max-width: 700px) {
    .content-with-image img { float: none; margin: 0 0 1rem; max-width: 100%; }
}
