:root {
    --navy: #111037;
    --navy-2: #070714;
    --red: #9e1c20;
    --gold: #dfa426;
    --warm-gray: #cdc9c0;
    --blue: #2a4599;
    --olive: #968a58;
    --ink: #ffffff;
    --muted: rgba(255, 255, 255, 0.72);
    --glass: rgba(9, 10, 28, 0.68);
    --line: rgba(255, 255, 255, 0.15);
    --radius: 6px;
}

html[data-theme="light"] {
    --navy: #f7f8fa;
    --navy-2: #eceef2;
    --ink: #111037;
    --muted: rgba(17, 16, 55, 0.7);
    --glass: rgba(255, 255, 255, 0.72);
    --line: rgba(17, 16, 55, 0.14);
    --warm-gray: #574141;
}

html {
    background: var(--navy-2);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 12% 4%, rgba(223, 164, 38, 0.15), transparent 28rem),
        linear-gradient(135deg, var(--navy-2) 0%, var(--navy) 48%, #171004 100%);
    color: var(--ink);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

html[data-theme="light"] body {
    background:
        radial-gradient(circle at 14% 8%, rgba(255, 255, 255, 0.95), transparent 25rem),
        radial-gradient(circle at 86% 16%, rgba(180, 187, 198, 0.22), transparent 30rem),
        linear-gradient(135deg, rgba(17, 16, 55, 0.028) 0 1px, transparent 1px 22px),
        linear-gradient(45deg, rgba(17, 16, 55, 0.022) 0 1px, transparent 1px 28px),
        linear-gradient(135deg, #fbfcfd 0%, #f3f5f8 52%, #e8ebf0 100%);
}

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

.site-nav {
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: min(1180px, calc(100% - 32px));
    min-height: 82px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
}

html[data-theme="light"] .site-nav {
    background: transparent;
    box-shadow: none;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    padding: 6px 0;
}

.brand-lockup img {
    display: block;
    width: 76px;
    height: 104px;
    padding: 0;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.34));
}

.nav-links {
    min-height: 62px;
    padding: 7px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(8, 9, 24, 0.72);
    backdrop-filter: blur(28px) saturate(1.2);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 24px 80px rgba(0, 0, 0, 0.34);
}

html[data-theme="light"] .nav-links {
    background: rgba(255, 255, 255, 0.8);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.86),
        0 24px 80px rgba(17, 16, 55, 0.13);
}

.nav-links a,
.theme-toggle {
    min-height: 44px;
    padding: 11px 17px;
    display: inline-flex;
    align-items: center;
    border: 1px solid transparent;
    border-radius: var(--radius);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.86rem;
    font-weight: 850;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.theme-toggle:hover,
.theme-toggle:focus-visible {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.11);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.theme-toggle {
    gap: 9px;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.09);
    font-family: inherit;
    cursor: pointer;
}

.theme-toggle-icon {
    width: 1em;
    display: inline-flex;
    justify-content: center;
    color: var(--gold);
}

html[data-theme="light"] .nav-links a,
html[data-theme="light"] .theme-toggle {
    color: rgba(17, 16, 55, 0.72);
}

html[data-theme="light"] .nav-links a:hover,
html[data-theme="light"] .nav-links a:focus-visible,
html[data-theme="light"] .theme-toggle:hover,
html[data-theme="light"] .theme-toggle:focus-visible {
    border-color: rgba(17, 16, 55, 0.1);
    background: rgba(17, 16, 55, 0.065);
    color: #111037;
}

.site-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: flow-root;
}

.hero-panel {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    min-height: min(740px, calc(100vh - 120px));
    padding-block: clamp(120px, 13vw, 170px) clamp(52px, 7vw, 88px);
    padding-left: max(16px, calc((100vw - 1180px) / 2));
    padding-right: max(16px, calc((100vw - 1180px) / 2));
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: end;
    gap: 32px;
    overflow: hidden;
    border-block: 1px solid rgba(255, 255, 255, 0.16);
    border-inline: 0;
    border-radius: 0;
    background: #070714;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.42);
}

.hero-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(5, 6, 16, 0.94) 0%, rgba(10, 10, 30, 0.68) 43%, rgba(17, 16, 55, 0.06) 100%),
        linear-gradient(0deg, rgba(5, 5, 15, 0.76), rgba(5, 5, 15, 0.02) 58%),
        linear-gradient(135deg, rgba(223, 164, 38, 0.16) 0 1px, transparent 1px 22px),
        linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 28px);
    pointer-events: none;
}

html[data-theme="light"] .hero-panel::before {
    background:
        linear-gradient(90deg, rgba(248, 245, 237, 0.96) 0%, rgba(248, 245, 237, 0.76) 44%, rgba(248, 245, 237, 0.1) 100%),
        linear-gradient(0deg, rgba(248, 245, 237, 0.82), rgba(248, 245, 237, 0.04) 58%),
        linear-gradient(135deg, rgba(223, 164, 38, 0.14) 0 1px, transparent 1px 22px);
}

.hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% center;
    opacity: 0.78;
    filter: saturate(1.05) contrast(1.04);
}

html[data-theme="light"] .hero-photo {
    opacity: 0.72;
    filter: saturate(0.95) contrast(1.02);
}

.hero-content,
.hero-stat-panel {
    position: relative;
    z-index: 2;
}

.hero-content {
    min-width: 0;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--gold);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-content h1,
.section-heading h2,
.archive-band h2,
.closing-panel h2,
h1 {
    margin: 0;
    font-family: "Roboto Condensed", Inter, sans-serif;
    font-weight: 900;
    line-height: 0.92;
    text-transform: uppercase;
}

.hero-content h1 {
    max-width: 820px;
    font-size: clamp(3rem, 5.9vw, 6rem);
    text-wrap: balance;
}

html[data-theme="light"] .hero-content h1,
html[data-theme="light"] .archive-band h2,
html[data-theme="light"] .closing-panel h2,
html[data-theme="light"] .section-heading h2,
html[data-theme="light"] h1 {
    color: #111037;
}

.hero-copy {
    max-width: 680px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1rem, 1.8vw, 1.28rem);
    line-height: 1.55;
    overflow-wrap: anywhere;
}

html[data-theme="light"] .hero-copy {
    color: rgba(17, 16, 55, 0.76);
}

.hero-actions,
.archive-band {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

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

.btn {
    min-height: 44px;
    padding: 11px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-weight: 900;
    letter-spacing: 0.01em;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.btn-championship,
.btn-primary {
    border: 1px solid rgba(158, 28, 32, 0.78);
    background: linear-gradient(135deg, var(--red), #cf1d27);
    color: #fff;
    box-shadow: 0 18px 40px rgba(158, 28, 32, 0.28);
}

.btn-championship:hover,
.btn-primary:hover {
    border-color: rgba(158, 28, 32, 0.95);
    background: #b31822;
    color: #fff;
    transform: translateY(-1px);
}

.btn-ghost,
.btn-outline-primary {
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    backdrop-filter: blur(14px);
}

html[data-theme="light"] .btn-ghost,
html[data-theme="light"] .btn-outline-primary {
    border-color: rgba(17, 16, 55, 0.18);
    background: rgba(255, 255, 255, 0.62);
    color: #111037;
}

.btn-ghost:hover,
.btn-outline-primary:hover {
    border-color: var(--gold);
    background: rgba(223, 164, 38, 0.16);
    color: #fff;
}

.hero-stat-panel {
    align-self: stretch;
    padding: 22px;
    display: grid;
    align-content: end;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    background: rgba(9, 10, 28, 0.58);
    backdrop-filter: blur(20px);
}

.hero-stat-panel div {
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-stat-panel span {
    display: block;
    color: #fff;
    font-family: "Roboto Condensed", Inter, sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 0.95;
    text-transform: uppercase;
}

.hero-stat-panel p {
    margin: 8px 0 0;
    color: var(--warm-gray);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.section-heading {
    margin: clamp(54px, 8vw, 96px) 0 20px;
}

.site-shell > .section-heading:first-child {
    margin-top: clamp(144px, 13vw, 178px);
}

.compact-heading {
    margin-top: 42px;
}

.section-heading h2,
.archive-band h2,
.closing-panel h2,
h1 {
    font-size: clamp(2.2rem, 5vw, 4.8rem);
}

.page-kicker {
    margin: 0 0 28px;
    color: var(--warm-gray);
    font-size: clamp(1.1rem, 2.2vw, 1.55rem);
    font-weight: 800;
    line-height: 1.42;
}

.gallery-count {
    margin: -4px 0 22px;
    color: var(--muted);
    font-size: 0.96rem;
    font-weight: 800;
}

.admin-heading {
    max-width: 840px;
}

.admin-heading h1 {
    font-size: clamp(2.6rem, 5vw, 4.6rem);
}

.admin-heading .page-kicker {
    max-width: 720px;
    margin-bottom: 0;
}

.admin-tools {
    margin: 0 0 36px;
}

.admin-tools-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.admin-tool-card {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(42, 69, 153, 0.12), rgba(255, 255, 255, 0.05)),
        rgba(255, 255, 255, 0.05);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
}

.admin-tool-card-wide {
    grid-column: 1 / -1;
}

.admin-tool-card h2 {
    margin: 0;
    font-family: "Roboto Condensed", Inter, sans-serif;
    font-size: clamp(1.8rem, 2.8vw, 2.8rem);
    font-weight: 900;
    line-height: 0.96;
    text-transform: uppercase;
}

.admin-tool-copy {
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.admin-stat-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.admin-stat {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
}

.admin-stat strong,
.admin-event-row strong {
    display: block;
    font-family: "Roboto Condensed", Inter, sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 0.95;
    text-transform: uppercase;
}

.admin-stat span,
.admin-event-row span,
.admin-preview-row span {
    color: var(--muted);
}

.admin-event-list,
.admin-script-list,
.admin-command-list,
.admin-preview {
    margin-top: 18px;
    display: grid;
    gap: 10px;
}

.admin-event-row,
.admin-preview-row {
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.03);
}

.admin-tool-form {
    margin-top: 18px;
}

.admin-tool-actions {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.checkbox-row {
    min-height: 48px;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-row input {
    width: 18px;
    height: 18px;
    margin: 0;
}

.admin-preview-row strong {
    display: block;
    font-size: 1rem;
}

.admin-preview-row div:last-child {
    text-align: right;
}

.admin-script-item {
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
}

.admin-script-item p,
.admin-command-item p {
    margin: 6px 0 0;
    color: var(--muted);
    line-height: 1.5;
}

.admin-command-item {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
}

.admin-command-item code {
    margin-top: 10px;
    padding: 10px 12px;
    display: block;
    overflow-x: auto;
    border-radius: var(--radius);
    background: rgba(5, 6, 16, 0.72);
    color: #fff;
    font-size: 0.86rem;
    white-space: nowrap;
}

.filter-bar {
    margin: 0 0 24px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
}

.event-filter-bar {
    padding: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    border-radius: var(--radius);
    background: transparent;
    border: 0;
    gap: 14px;
}

.event-filter-bar.is-condensed {
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.045);
    scrollbar-width: none;
}

.event-filter-bar.is-condensed::-webkit-scrollbar {
    display: none;
}

.year-filter-bar {
    width: fit-content;
    max-width: 100%;
    padding: 8px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.035);
}

.filter-bar span {
    padding: 0 10px;
    color: var(--warm-gray);
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
}

.event-filter-bar > span {
    grid-column: 1 / -1;
    padding: 0;
}

.event-filter-bar.is-condensed > span {
    flex: 0 0 auto;
    padding: 0 12px 0 8px;
}

.filter-bar .is-active {
    border-color: var(--gold);
    background: var(--gold);
    color: #15100a;
}

.filter-bar small {
    margin-left: 6px;
    opacity: 0.7;
}

.event-filter-pill {
    position: relative;
    min-height: 150px;
    min-width: 0;
    padding: 18px;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius);
    background:
        linear-gradient(0deg, rgba(5, 5, 15, 0.9), rgba(5, 5, 15, 0.36)),
        var(--filter-image) center / cover;
    color: #fff;
    font-size: 0.86rem;
    font-weight: 900;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.event-filter-pill::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(0deg, rgba(5, 5, 15, 0.88), rgba(5, 5, 15, 0.28)),
        var(--filter-image) center / cover;
    transition: transform 500ms ease;
}

.event-filter-pill:hover::before,
.event-filter-pill:focus-visible::before {
    transform: scale(1.04);
}

.event-filter-pill img {
    position: relative;
    z-index: 1;
    width: auto;
    height: 44px;
    max-width: 128px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.28));
}

.event-filter-pill .filter-card-title {
    position: relative;
    z-index: 1;
    max-width: 100%;
    padding: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    color: #fff;
    font-family: "Roboto Condensed", Inter, sans-serif;
    font-size: clamp(1.2rem, 1.7vw, 1.55rem);
    line-height: 0.95;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
}

.event-filter-all {
    min-width: 0;
}

.year-filter-bar .btn {
    min-height: 38px;
    padding: 7px 14px;
}

.event-filter-pill small {
    position: relative;
    z-index: 1;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    text-transform: uppercase;
}

.event-filter-pill:hover,
.event-filter-pill:focus-visible,
.event-filter-pill.is-active {
    border-color: var(--gold);
    background: rgba(223, 164, 38, 0.18);
    color: #fff;
}

.event-filter-pill.is-active small {
    color: #fff;
}

.event-filter-bar.is-condensed .event-filter-pill {
    min-height: 50px;
    min-width: 0;
    width: auto;
    max-width: 280px;
    padding: 8px 14px;
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    border-radius: var(--radius);
    opacity: 0.46;
    filter: grayscale(1) saturate(0.45);
}

.event-filter-bar.is-condensed .event-filter-pill::before {
    background: rgba(255, 255, 255, 0.035);
    transform: none;
}

.event-filter-bar.is-condensed .event-filter-pill img {
    height: 34px;
    width: 46px;
    max-width: 46px;
}

.event-filter-bar.is-condensed .event-filter-pill .filter-card-title {
    max-width: 150px;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.8);
    font-family: Inter, sans-serif;
    font-size: 0.82rem;
    line-height: 1;
    text-shadow: none;
}

.event-filter-bar.is-condensed .event-filter-pill small {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.75rem;
    white-space: nowrap;
}

.event-filter-bar.is-condensed .event-filter-pill.is-active {
    opacity: 1;
    filter: none;
    background: rgba(223, 164, 38, 0.16);
    box-shadow: 0 12px 42px rgba(223, 164, 38, 0.12);
}

.event-filter-bar.is-condensed .event-filter-pill.is-active .filter-card-title,
.event-filter-bar.is-condensed .event-filter-pill.is-active small {
    color: #fff;
}

html[data-theme="light"] .event-filter-pill {
    border-color: rgba(17, 16, 55, 0.12);
    box-shadow: 0 20px 60px rgba(17, 16, 55, 0.1);
}

html[data-theme="light"] .event-filter-pill:hover,
html[data-theme="light"] .event-filter-pill:focus-visible,
html[data-theme="light"] .event-filter-pill.is-active {
    color: #fff;
}

html[data-theme="light"] .event-filter-bar.is-condensed {
    border-color: rgba(17, 16, 55, 0.1);
    background: rgba(255, 255, 255, 0.62);
    box-shadow: 0 18px 50px rgba(17, 16, 55, 0.08);
}

html[data-theme="light"] .event-filter-bar.is-condensed .event-filter-pill {
    border-color: rgba(17, 16, 55, 0.16);
    background: rgba(255, 255, 255, 0.74);
}

html[data-theme="light"] .event-filter-bar.is-condensed .event-filter-pill::before {
    background: rgba(255, 255, 255, 0.62);
}

html[data-theme="light"] .event-filter-bar.is-condensed .event-filter-pill .filter-card-title,
html[data-theme="light"] .event-filter-bar.is-condensed .event-filter-pill small {
    color: rgba(17, 16, 55, 0.62);
}

html[data-theme="light"] .event-filter-bar.is-condensed .event-filter-pill.is-active {
    border-color: var(--gold);
    background: rgba(223, 164, 38, 0.18);
}

html[data-theme="light"] .event-filter-bar.is-condensed .event-filter-pill.is-active .filter-card-title,
html[data-theme="light"] .event-filter-bar.is-condensed .event-filter-pill.is-active small {
    color: #111037;
}

.pagination,
.load-more-wrap {
    margin: 28px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.load-more-button {
    min-width: 160px;
}

.load-more-button[data-loading="true"] {
    pointer-events: none;
    opacity: 0.72;
}

.pagination .is-active {
    border-color: var(--gold);
    background: var(--gold);
    color: #15100a;
}

.photo-grid:not(.photo-masonry),
.event-grid {
    display: grid;
    gap: 16px;
}

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

.photo-item,
.event-card {
    position: relative;
    overflow: hidden;
    min-height: 340px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background:
        var(--photo-image, none) center / cover,
        rgba(255, 255, 255, 0.06);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.photo-masonry {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 8px;
    gap: 16px;
    align-items: start;
}

.photo-masonry .photo-item {
    width: 100%;
    min-height: 0;
    margin: 0;
    display: block;
    appearance: none;
    padding: 0;
    text-align: left;
    cursor: zoom-in;
    transform: translateZ(0);
}

.photo-item img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    transition: transform 500ms ease;
}

.photo-masonry .photo-item img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
}

.photo-item:hover img,
.event-card:hover .event-card-photo {
    transform: scale(1.04);
}

.photo-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px;
    color: #fff;
    background: linear-gradient(0deg, rgba(5, 6, 16, 0.94), rgba(5, 6, 16, 0));
}

.photo-info h5 {
    margin: 0;
    font-family: "Roboto Condensed", Inter, sans-serif;
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.photo-info p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.76);
}

.photo-yearmark {
    position: absolute;
    right: 14px;
    bottom: 10px;
    z-index: 2;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    font-family: "Roboto Condensed", Inter, sans-serif;
    font-size: clamp(1.35rem, 2.4vw, 2.2rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: 0;
    opacity: 0.34;
    text-transform: uppercase;
    pointer-events: none;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.72);
}

html[data-theme="light"] .photo-yearmark {
    color: #fff;
    opacity: 0.42;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    padding: clamp(18px, 4vw, 44px);
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(4, 4, 12, 0.94);
    backdrop-filter: blur(20px);
}

.lightbox.is-open {
    display: flex;
}

.lightbox-image {
    max-width: 94vw;
    max-height: 86vh;
    object-fit: contain;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.52);
}

.lightbox-close {
    position: fixed;
    top: 22px;
    right: 22px;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font: inherit;
    font-weight: 900;
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    z-index: 2;
    width: clamp(46px, 5vw, 64px);
    height: clamp(46px, 5vw, 64px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: Georgia, serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer;
    backdrop-filter: blur(18px);
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible,
.lightbox-close:hover,
.lightbox-close:focus-visible {
    border-color: var(--gold);
    background: rgba(223, 164, 38, 0.18);
    outline: none;
}

.lightbox-prev {
    left: clamp(16px, 3vw, 34px);
}

.lightbox-next {
    right: clamp(16px, 3vw, 34px);
}

.lightbox-caption {
    position: fixed;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    width: min(760px, calc(100% - 44px));
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: rgba(9, 10, 28, 0.72);
    color: #fff;
    text-align: center;
    backdrop-filter: blur(18px);
}

.lightbox-caption strong,
.lightbox-caption span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lightbox-caption span {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.86rem;
    font-weight: 800;
}

.archive-band {
    justify-content: space-between;
    margin: clamp(54px, 7vw, 86px) 0 18px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(42, 69, 153, 0.28), rgba(158, 28, 32, 0.18));
}

html[data-theme="light"] .archive-band {
    border-color: rgba(17, 16, 55, 0.13);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(223, 164, 38, 0.13)),
        rgba(255, 255, 255, 0.6);
    box-shadow: 0 24px 80px rgba(17, 16, 55, 0.08);
}

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

.event-card {
    min-height: 390px;
    background-image: var(--card-image);
    background-size: cover;
    background-position: center;
    isolation: isolate;
}

.event-card::before,
.event-card::after {
    content: "";
    position: absolute;
    inset: 0;
}

.event-card::before {
    display: none;
    opacity: 1;
    transition: transform 500ms ease;
}

.event-card::after {
    background:
        radial-gradient(circle at 22% 24%, rgba(17, 16, 55, 0.18), transparent 34%),
        linear-gradient(0deg, rgba(3, 4, 13, 0.96), rgba(4, 5, 18, 0.76) 36%, rgba(4, 5, 18, 0.28) 72%),
        linear-gradient(90deg, rgba(3, 4, 13, 0.76), rgba(3, 4, 13, 0.26) 66%),
        linear-gradient(180deg, rgba(3, 4, 13, 0.12), rgba(3, 4, 13, 0.6));
    z-index: 0;
}

.event-card a {
    position: relative;
    z-index: 2;
    min-height: 390px;
    padding: 26px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.event-card a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 22% 24%, rgba(17, 16, 55, 0.18), transparent 34%),
        linear-gradient(0deg, rgba(3, 4, 13, 0.92), rgba(4, 5, 18, 0.62) 34%, rgba(4, 5, 18, 0.14) 74%),
        linear-gradient(90deg, rgba(3, 4, 13, 0.62), rgba(3, 4, 13, 0.14) 68%),
        linear-gradient(180deg, rgba(3, 4, 13, 0.04), rgba(3, 4, 13, 0.48));
    pointer-events: none;
}

.event-card-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.event-card-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: grid;
    justify-items: start;
    gap: 10px;
}

.event-card-logo {
    display: block;
    width: 142px;
    height: 82px;
    max-width: 46%;
    margin: 0 0 6px;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.66));
}

.event-card-logo-throw-pink {
    width: 92px;
    height: 88px;
    max-width: 30%;
}

.event-card-logo-college-disc-golf-national-championship,
.event-card-logo-usdg-distance-championship {
    width: 190px;
    height: 84px;
    max-width: 58%;
}

.event-card-logo-usdgc-doubles {
    width: 120px;
    height: 86px;
    max-width: 38%;
}

.event-card-logo-united-states-disc-golf-putting-championship {
    width: 82px;
    height: 92px;
    max-width: 26%;
}

.event-card h3 {
    margin: 0;
    max-width: 14ch;
    font-family: "Roboto Condensed", Inter, sans-serif;
    font-size: clamp(1.45rem, 1.9vw, 1.95rem);
    font-weight: 900;
    line-height: 0.96;
    text-transform: uppercase;
    text-wrap: balance;
    color: #fff;
    text-shadow: 0 3px 22px rgba(0, 0, 0, 0.86);
}

.event-card span {
    display: inline-flex;
    margin-top: 2px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    color: rgba(255, 255, 255, 0.92);
    background: rgba(5, 5, 15, 0.5);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.event-card .eyebrow {
    margin: 0;
    color: var(--gold);
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.86);
}

.search-result-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    padding: 18px;
    color: #fff;
    background: linear-gradient(0deg, rgba(5, 5, 15, 0.9), rgba(5, 5, 15, 0));
    pointer-events: none;
}

.search-result-info h5 {
    margin: 0;
    font-family: "Roboto Condensed", Inter, sans-serif;
    font-size: clamp(1.25rem, 2vw, 1.85rem);
    font-weight: 900;
    line-height: 0.98;
    text-transform: uppercase;
}

.search-result-info p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

html[data-theme="light"] .event-card {
    border-color: rgba(17, 16, 55, 0.13);
    box-shadow: 0 24px 70px rgba(17, 16, 55, 0.13);
}

html[data-theme="light"] .event-card::after {
    background:
        radial-gradient(circle at 22% 24%, rgba(207, 29, 39, 0.13), transparent 34%),
        linear-gradient(0deg, rgba(3, 4, 13, 0.96), rgba(4, 5, 18, 0.78) 38%, rgba(4, 5, 18, 0.3) 74%),
        linear-gradient(90deg, rgba(3, 4, 13, 0.78), rgba(3, 4, 13, 0.28) 66%),
        linear-gradient(180deg, rgba(3, 4, 13, 0.12), rgba(3, 4, 13, 0.62));
}

html[data-theme="light"] .event-card a::after {
    background:
        radial-gradient(circle at 22% 24%, rgba(207, 29, 39, 0.14), transparent 34%),
        linear-gradient(0deg, rgba(3, 4, 13, 0.93), rgba(4, 5, 18, 0.66) 36%, rgba(4, 5, 18, 0.16) 74%),
        linear-gradient(90deg, rgba(3, 4, 13, 0.66), rgba(3, 4, 13, 0.16) 68%),
        linear-gradient(180deg, rgba(3, 4, 13, 0.04), rgba(3, 4, 13, 0.52));
}

html[data-theme="light"] .event-card span {
    color: rgba(255, 255, 255, 0.88);
}

html[data-theme="light"] .event-card h3 {
    color: #fff;
}

.closing-panel {
    margin: clamp(54px, 8vw, 96px) 0 0;
    padding: clamp(24px, 4vw, 46px);
    display: grid;
    grid-template-columns: 120px 1fr auto;
    align-items: center;
    gap: 28px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(158, 28, 32, 0.26), rgba(223, 164, 38, 0.12)),
        rgba(255, 255, 255, 0.06);
}

html[data-theme="light"] .closing-panel,
html[data-theme="light"] .empty-state,
html[data-theme="light"] .search-form,
html[data-theme="light"] .upload-form,
html[data-theme="light"] form.w-50,
html[data-theme="light"] .card {
    border-color: rgba(17, 16, 55, 0.13);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(223, 164, 38, 0.1)),
        rgba(255, 255, 255, 0.62);
    color: #111037;
}

.closing-panel img {
    width: 120px;
    max-width: 100%;
}

.closing-panel p:not(.eyebrow) {
    max-width: 640px;
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.site-footer {
    width: min(1180px, calc(100% - 32px));
    margin: 28px auto 44px;
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

html[data-theme="light"] .site-footer {
    border-top-color: rgba(17, 16, 55, 0.14);
    color: rgba(17, 16, 55, 0.62);
}

.search-form,
.upload-form,
.media-request-form,
form.w-50 {
    width: min(680px, 100%) !important;
    max-width: none;
    margin: 26px 0 0 !important;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(18px);
}

.media-request-form {
    width: min(860px, 100%) !important;
    padding: 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
}

.form-section,
.form-group-section {
    margin: 0 0 18px;
    padding: 20px 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(18px);
}

.form-section-title {
    margin: 0 0 14px;
    color: var(--warm-gray);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.form-help {
    margin: -6px 0 14px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.form-note {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.form-grid {
    display: grid;
    gap: 16px;
}

.form-grid.two-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-row {
    display: grid;
    gap: 7px;
}

.form-actions {
    margin-top: 22px;
    display: flex;
    justify-content: flex-end;
}

html[data-theme="light"] .form-section,
html[data-theme="light"] .form-group-section {
    border-color: rgba(17, 16, 55, 0.13);
    background: rgba(255, 255, 255, 0.64);
}

.form-control,
.form-select {
    min-height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    background: rgba(5, 6, 16, 0.66);
    color: #fff;
}

html[data-theme="light"] .form-control,
html[data-theme="light"] .form-select {
    border-color: rgba(17, 16, 55, 0.16);
    background: rgba(255, 255, 255, 0.76);
    color: #111037;
}

html[data-theme="light"] .form-label,
html[data-theme="light"] label {
    color: rgba(17, 16, 55, 0.76);
}

.form-control:focus {
    border-color: var(--gold);
    background: rgba(5, 6, 16, 0.86);
    color: #fff;
    box-shadow: 0 0 0 0.25rem rgba(223, 164, 38, 0.18);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.44);
}

.form-label,
label {
    color: rgba(255, 255, 255, 0.76);
    font-weight: 800;
}

.tag-suggestion-block {
    margin-top: 12px;
}

.tag-suggestion-block .form-note {
    margin: 0 0 10px;
}

.tag-suggestion-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-autocomplete-list[hidden] {
    display: none;
}

.tag-autocomplete-list {
    margin-top: 8px;
}

.tag-suggestion-chip {
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.tag-suggestion-chip:hover,
.tag-suggestion-chip:focus-visible {
    border-color: var(--gold);
    background: rgba(223, 164, 38, 0.16);
    color: #fff;
    transform: translateY(-1px);
    outline: none;
}

html[data-theme="light"] .tag-suggestion-chip {
    border-color: rgba(17, 16, 55, 0.14);
    background: rgba(255, 255, 255, 0.76);
    color: #111037;
}

html[data-theme="light"] .tag-suggestion-chip:hover,
html[data-theme="light"] .tag-suggestion-chip:focus-visible {
    border-color: rgba(223, 164, 38, 0.7);
    background: rgba(223, 164, 38, 0.14);
    color: #111037;
}

.upload-progress {
    margin: 0 0 20px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
}

.upload-progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 800;
}

.upload-progress-track {
    width: 100%;
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.upload-progress-bar {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #be1e2d 0%, #da2330 100%);
    box-shadow: 0 8px 28px rgba(190, 30, 45, 0.32);
    transition: width 180ms ease;
}

.upload-progress-note {
    margin: 10px 0 0;
}

html[data-theme="light"] .upload-progress {
    border-color: rgba(17, 16, 55, 0.12);
    background: rgba(255, 255, 255, 0.82);
}

html[data-theme="light"] .upload-progress-head {
    color: #111037;
}

html[data-theme="light"] .upload-progress-track {
    background: rgba(17, 16, 55, 0.08);
    border-color: rgba(17, 16, 55, 0.08);
}

.alert {
    margin: 0 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.card {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
}

.admin-panel .pending-photo {
    border-color: var(--gold);
}

.photo-grid.admin-panel {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-actions {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.empty-state {
    margin-top: 24px;
    padding: clamp(28px, 5vw, 52px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(42, 69, 153, 0.22), rgba(223, 164, 38, 0.1)),
        rgba(255, 255, 255, 0.06);
}

.empty-state h2 {
    margin: 0;
    max-width: 780px;
    font-family: "Roboto Condensed", Inter, sans-serif;
    font-size: clamp(2.1rem, 4vw, 4rem);
    font-weight: 900;
    line-height: 0.95;
    text-transform: uppercase;
}

.empty-state p:not(.eyebrow) {
    max-width: 640px;
    margin: 14px 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.admin-empty-state {
    margin-bottom: 48px;
}

@media (max-width: 1180px) {
    .photo-grid.admin-panel {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .photo-grid.admin-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .photo-grid.admin-panel {
        grid-template-columns: minmax(0, 1fr);
    }
}

html[data-theme="light"] .alert {
    border-color: rgba(17, 16, 55, 0.13);
    background: rgba(255, 255, 255, 0.72);
    color: #111037;
}

html[data-theme="light"] .admin-tool-card,
html[data-theme="light"] .admin-stat,
html[data-theme="light"] .admin-event-row,
html[data-theme="light"] .admin-preview-row,
html[data-theme="light"] .admin-script-item,
html[data-theme="light"] .admin-command-item {
    border-color: rgba(17, 16, 55, 0.12);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(223, 164, 38, 0.08)),
        rgba(255, 255, 255, 0.66);
    color: #111037;
    box-shadow: 0 24px 80px rgba(17, 16, 55, 0.08);
}

html[data-theme="light"] .admin-tool-copy,
html[data-theme="light"] .admin-stat span,
html[data-theme="light"] .admin-event-row span,
html[data-theme="light"] .admin-preview-row span,
html[data-theme="light"] .admin-script-item p,
html[data-theme="light"] .admin-command-item p {
    color: rgba(17, 16, 55, 0.68);
}

html[data-theme="light"] .admin-command-item code {
    background: rgba(17, 16, 55, 0.92);
    color: #fff;
}

.policy-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-top: clamp(30px, 5vw, 58px);
}

.policy-hero {
    margin: clamp(26px, 4vw, 46px) 0 0;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: stretch;
}

.policy-hero-copy {
    min-width: 0;
    align-self: center;
}

.policy-hero-points {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

.policy-hero-points span {
    padding: 15px 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 900;
    text-transform: uppercase;
}

.policy-visual {
    position: relative;
    min-height: clamp(320px, 36vw, 500px);
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
}

.policy-visual::after {
    content: "Winthrop access";
    position: absolute;
    left: 18px;
    bottom: 16px;
    z-index: 2;
    padding: 9px 11px;
    border-radius: var(--radius);
    background: rgba(7, 7, 20, 0.72);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    backdrop-filter: blur(14px);
}

.policy-visual img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: block;
    object-fit: cover;
}

.policy-section {
    display: grid;
    grid-template-columns: 64px minmax(210px, 0.38fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(16px, 3vw, 32px);
    padding: clamp(20px, 3vw, 30px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.045);
    backdrop-filter: blur(18px);
}

.policy-number {
    color: var(--gold);
    font-family: "Roboto Condensed", Inter, sans-serif;
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 900;
    line-height: 0.9;
}

.policy-section h2 {
    margin: 0;
    font-family: "Roboto Condensed", Inter, sans-serif;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    font-weight: 900;
    line-height: 0.94;
    text-transform: uppercase;
}

.policy-section p {
    margin: 0;
    color: var(--muted);
    font-size: clamp(0.98rem, 1.25vw, 1.12rem);
    line-height: 1.62;
}

.compact-policy-cta {
    margin-top: 26px;
}

html[data-theme="light"] .policy-section {
    border-color: rgba(17, 16, 55, 0.13);
    background: rgba(255, 255, 255, 0.58);
}

html[data-theme="light"] .policy-hero-points span,
html[data-theme="light"] .policy-visual {
    border-color: rgba(17, 16, 55, 0.13);
    background: rgba(255, 255, 255, 0.62);
}

@media (max-width: 900px) {
    .site-nav {
        align-items: flex-start;
        border-radius: var(--radius);
        flex-direction: column;
    }

    .nav-links {
        width: 100%;
        max-width: 100%;
        justify-content: flex-start;
    }

    .hero-panel {
        min-height: 720px;
        grid-template-columns: 1fr;
        background-position: 62% center;
    }

    .hero-stat-panel,
    .feature-grid,
    .event-grid,
    .closing-panel,
    .policy-layout,
    .policy-hero {
        grid-template-columns: 1fr;
    }

    .policy-section {
        grid-template-columns: 54px minmax(0, 1fr);
    }

    .policy-section p {
        grid-column: 2;
    }

    .photo-masonry {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .closing-panel {
        align-items: start;
    }

    .admin-tools-grid,
    .admin-stat-grid {
        grid-template-columns: 1fr;
    }

    .admin-script-item,
    .admin-preview-row,
    .admin-event-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-preview-row div:last-child {
        text-align: left;
    }
}

@media (max-width: 560px) {
    .site-nav,
    .site-shell,
    .site-footer {
        width: min(100% - 20px, 1180px);
    }

    .brand-lockup span {
        white-space: normal;
    }

    .site-nav {
        gap: 12px;
    }

    .brand-lockup img {
        width: 58px;
        height: 78px;
    }

    .nav-links {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-links a {
        flex: 0 0 auto;
        min-height: 38px;
        padding: 9px 11px;
        font-size: 0.82rem;
    }

    .theme-toggle {
        flex: 0 0 auto;
        min-height: 38px;
        padding: 9px 11px;
        font-size: 0.82rem;
    }

    .hero-panel {
        padding: 24px;
        min-height: 680px;
    }

    .site-shell > .section-heading:first-child {
        margin-top: 210px;
    }

    .hero-content {
        max-width: 20rem;
    }

    .hero-content h1 {
        max-width: 100%;
        font-size: clamp(1.95rem, 8.8vw, 2.22rem);
        text-wrap: wrap;
    }

    .hero-copy {
        max-width: 20rem;
        font-size: 1rem;
    }

    .archive-band h2,
    .closing-panel h2,
    .section-heading h2,
    h1 {
        font-size: clamp(2rem, 11vw, 2.8rem);
    }

    .archive-band,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .photo-item,
    .event-card,
    .event-card a {
        min-height: 300px;
    }

    .photo-masonry {
        grid-template-columns: 1fr;
    }

    .policy-section {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .policy-section p {
        grid-column: auto;
    }

    .policy-visual {
        min-height: 280px;
    }

    .photo-masonry .photo-item,
    .photo-masonry .photo-item img {
        min-height: 0;
    }

    .form-grid.two-up {
        grid-template-columns: 1fr;
    }

    .lightbox-caption {
        border-radius: var(--radius);
    }

    .admin-tool-card {
        padding: 18px;
    }

    .admin-tool-actions {
        flex-direction: column;
    }

    .admin-tool-actions .btn,
    .admin-script-item .btn {
        width: 100%;
    }
}
