:root {
    --ink: #004185;
    --muted: #3d6a7d;
    --paper: #ffffff;
    --white: #ffffff;
    --blue: #e4f3fb;
    --blue-deep: #cfe8f6;
    --line: #c5dce8;
    --accent: #0077b6;
    --accent-mid: #2aa0d2;
    --accent-dark: #004185;
    --gold: #c4a35a;
    --font: system-ui, -apple-system, "Segoe UI", sans-serif;
    --display: Georgia, "Iowan Old Style", "Times New Roman", serif;
    --wrap: 1180px;
    --radius: 999px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
h1, h2, h3 {
    font-family: var(--display);
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
p { margin: 0 0 1em; }
.wrap {
    width: min(var(--wrap), calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.58);
    backdrop-filter: blur(18px) saturate(1.35);
    -webkit-backdrop-filter: blur(18px) saturate(1.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 1px 0 rgba(0, 65, 133, 0.06);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 84px;
    gap: 24px;
}
.logo img { height: 68px; width: auto; }
.nav-desktop { display: flex; gap: 22px; align-items: center; }
.nav-desktop a, .nav-drop summary {
    color: var(--ink);
    font-size: 0.95rem;
    cursor: pointer;
    list-style: none;
}
.nav-desktop .btn,
.nav-mobile .btn {
    margin-left: 6px;
    color: #fff;
}
.nav-desktop .btn:hover,
.nav-mobile .btn:hover { color: #fff; }
.nav-drop summary::-webkit-details-marker { display: none; }
.nav-drop { position: relative; }
.nav-drop-list {
    position: absolute;
    right: 0;
    top: 120%;
    background: var(--white);
    border: 1px solid var(--line);
    min-width: 120px;
    padding: 8px 0;
    display: grid;
    border-radius: 10px;
}
.nav-drop-list a { padding: 6px 14px; color: var(--ink); }
.nav-mobile { display: none; }
.nav-mobile > summary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    list-style: none;
    color: var(--ink);
}
.nav-mobile > summary::-webkit-details-marker { display: none; }
.nav-burger {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}
.nav-mobile[open] > summary { position: relative; z-index: 22; }
.nav-mobile[open] .nav-burger {
    position: relative;
    height: 18px;
    background: transparent;
    box-shadow: none;
}
.nav-mobile[open] .nav-burger::before,
.nav-mobile[open] .nav-burger::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 8px;
    height: 2px;
    background: currentColor;
}
.nav-mobile[open] .nav-burger::before { transform: rotate(45deg); }
.nav-mobile[open] .nav-burger::after { transform: rotate(-45deg); }
body.is-nav-open { overflow: hidden; }

.hero {
    position: relative;
    background: #fff;
    overflow: hidden;
}
.hero-scene {
    display: flex;
    flex-direction: column;
    min-height: calc((100svh - 84px) * 0.7);
    background: #fff url("/img/brand/hero.png?v=20260826-11") no-repeat right center;
    background-size: cover;
}
.hero-grid {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 40px 0 12px;
}
.hero-copy { max-width: 34rem; padding-bottom: 12px; }
.hero-art { display: none; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4.1rem); margin-bottom: 0.25em; }
.hero-waves {
    display: block;
    width: 148px;
    height: 18px;
    color: #7ec8e8;
    margin: 0 0 18px;
}
.hero-bar {
    position: relative;
    z-index: 2;
    padding: 8px 0 36px;
}
.hero-bar-inner {
    display: flex;
    justify-content: flex-end;
}
.hero-plaque {
    display: flex;
    align-items: center;
    gap: 0;
    max-width: 100%;
    padding: 16px 28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 28px rgba(0, 65, 133, 0.08);
}
.hero-fact {
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    padding: 2px 22px;
    border-right: 1px solid rgba(0, 65, 133, 0.16);
}
.hero-fact:first-child { padding-left: 4px; }
.hero-fact:last-child { border-right: 0; padding-right: 4px; }
.hero-fact-icon {
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
    stroke: var(--ink);
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.hero-fact p { margin: 0; display: grid; gap: 2px; }
.hero-fact strong {
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.82rem;
    color: var(--ink);
}
.hero-fact span { color: var(--muted); font-size: 0.9rem; }

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    color: var(--muted);
    margin-bottom: 8px;
}
.lead { font-size: 1.12rem; color: var(--muted); }
.intro-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.intro-actions .btn {
    min-height: 44px;
    padding: 0 22px;
}

.btn, .chip, .btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--ink);
    font-size: 0.92rem;
    border-radius: var(--radius);
}
.btn { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-mid { background: var(--accent-mid); border-color: var(--accent-mid); color: #fff; }
.btn-mid:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-ghost {
    background: #fff;
    border-color: var(--accent-mid);
    color: var(--accent-dark);
}
.btn-ghost:hover {
    background: var(--blue);
    border-color: var(--accent-dark);
    color: var(--accent-dark);
}
.chip.is-active, .chip-accent {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #fff;
}

.section { padding: 80px 0; background: var(--white); }
.section-blue { background: var(--blue); }
.section-alt { background: var(--blue); }
.section-head { max-width: 720px; margin-bottom: 28px; }

#leaders,
#history,
#archive {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--ink);
    color: #fff;
}
#leaders > .wrap,
#history > .wrap,
#archive > .wrap {
    position: relative;
    z-index: 1;
}
#leaders::before,
#history::before,
#archive::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100%;
    width: auto;
    aspect-ratio: 478 / 1230;
    background: url("/img/brand/block-bg.webp?v=20260827-1") no-repeat center / 100% 100%;
    pointer-events: none;
    z-index: 0;
}
#leaders::before,
#archive::before {
    right: 0;
}
#history::before {
    left: 0;
    transform: scaleX(-1);
}
#leaders .eyebrow,
#leaders .section-head p,
#leaders .leaderboards-all a,
#history .wrap > div .eyebrow,
#history .wrap > div .lead,
#history .wrap > div p,
#archive .section-head .eyebrow {
    color: #fff;
}
#leaders .leaderboards-all a:hover {
    color: #fff;
}
#history .place-card,
#history .place-card span {
    color: #fff;
}
#history .place-card .place-note {
    color: rgba(255, 255, 255, 0.88);
}
#leaders .leaderboard,
#archive .archive-card {
    color: var(--ink);
}
#leaders .leaderboard .eyebrow,
#archive .archive-card .eyebrow {
    color: var(--muted);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
#photos-panel.is-loading,
#results-panel.is-loading {
    opacity: 0.55;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

.mosaic {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}
.mosaic-item {
    position: relative;
    overflow: hidden;
    background: #ddd;
    aspect-ratio: 1;
    border-radius: 16px;
}
.mosaic-item:nth-child(1),
.mosaic-item:nth-child(4) {
    grid-column: span 2;
    grid-row: span 2;
}
.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mosaic-item span {
    position: absolute;
    left: 8px;
    bottom: 8px;
    background: var(--white);
    color: var(--ink);
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 999px;
}
.mosaic-more {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.filters { margin-bottom: 24px; }
.search { display: grid; gap: 6px; max-width: 560px; margin-top: 8px; }
.search-label { font-size: 0.8rem; color: var(--muted); }
.search-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
}
.search input {
    border: 1px solid var(--line);
    background: var(--white);
    padding: 10px 12px;
    font: inherit;
    border-radius: 10px;
    flex: 1;
    min-width: 0;
}
.search-row .btn {
    flex: 0 0 auto;
    padding: 10px 16px;
}
.search-hits {
    margin: 8px 0 24px;
}
.search-hits-label {
    margin: 0 0 8px;
    font-size: 0.8rem;
    color: var(--muted);
}
.search-hits ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}
.search-hit {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2px 16px;
    align-items: baseline;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    color: inherit;
    text-decoration: none;
}
.search-hit-name { font-weight: 600; }
.search-hit-meta {
    grid-column: 1;
    color: var(--muted);
    font-size: 0.9rem;
}
.search-hit-time {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    color: var(--ink);
}
.search-hit:hover { border-color: var(--ink); }
.search-hit.is-active {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}
.search-hit.is-active .search-hit-meta,
.search-hit.is-active .search-hit-time { color: rgba(255, 255, 255, 0.88); }
table.results tr.is-hit td { background: var(--blue); }

.podium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}
.podium-card {
    background: var(--white);
    padding: 18px;
    border-top: 3px solid var(--line);
    border-radius: 12px;
}
.podium-card.medal-gold { border-top-color: var(--gold); }
.podium-card.medal-silver { border-top-color: #9aa3ad; }
.podium-card.medal-bronze { border-top-color: #b57a50; }
.podium-place { font-family: var(--display); font-size: 2rem; margin: 0; }
.note { color: var(--muted); font-size: 0.95rem; }

.leaderboards-slider {
    position: relative;
}
.leaderboards {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 8px 8px;
}
.leaderboards::-webkit-scrollbar { display: none; }
.leaderboard {
    flex: 0 0 calc(50% - 10px);
    scroll-snap-align: start;
    min-width: 0;
    background: var(--white);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
}
.leaderboard h3 { margin-bottom: 16px; }
.leaderboard ol {
    list-style: none;
    margin: 0;
    padding: 0;
}
.leaderboard li {
    display: grid;
    grid-template-columns: 2rem 1fr auto;
    gap: 12px;
    align-items: baseline;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}
.leaderboard li:last-child { border-bottom: 0; }
.leaderboard li:first-child .leader-rank { color: var(--gold); }
.leader-name { min-width: 0; }
.leader-name small {
    display: block;
    color: var(--muted);
    font-size: 0.8rem;
}
.leader-time {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    color: var(--ink);
}
.leaderboard .more-link { margin-top: auto; padding-top: 16px; }
.leaderboards-all { margin-top: 28px; }
.leaders-nav {
    position: absolute;
    top: 46%;
    z-index: 2;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 65, 133, 0.18);
}
.leaders-nav svg { width: 22px; height: 22px; display: block; }
.leaders-nav.is-prev { left: -8px; }
.leaders-nav.is-next { right: -8px; }
.leaders-nav:hover { background: var(--accent); color: #fff; }
.leaders-nav:disabled {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}
.leaders-dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}
.leaders-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
}
.leaders-dots button.is-active {
    width: 22px;
    background: #fff;
}

.table-wrap { overflow-x: auto; }
table.results {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
}
table.results th, table.results td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
}
table.results th { color: var(--muted); font-weight: 500; }
.medal-icon { width: 16px; height: 16px; display: inline-block; vertical-align: middle; margin-right: 4px; }
.more-link { margin-top: 20px; }

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 48px;
}
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }
.portrait img, .place-card img { width: 100%; border-radius: 16px; }
.place-card figcaption { margin-top: 10px; display: grid; gap: 4px; }
.place-card span { color: var(--muted); }
.place-card .place-note {
    margin: 8px 0 0;
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.45;
    font-weight: 400;
}

.medals-slider {
    position: relative;
}
.medals {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    align-items: end;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 44px 10px 8px;
    cursor: grab;
    touch-action: pan-x;
}
.medals::-webkit-scrollbar { display: none; }
.medals.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
}
.medals figure {
    flex: 0 0 auto;
    margin: 0;
    scroll-snap-align: start;
}
.medals img {
    display: block;
    height: var(--medal-h, 270px);
    width: auto;
    max-width: none;
    object-fit: contain;
    pointer-events: none;
}
.medals figcaption { text-align: center; margin-top: 10px; font-size: 0.9rem; }
.medals-nav {
    position: absolute;
    top: calc(50% - 12px);
    z-index: 2;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 65, 133, 0.18);
}
.medals-nav svg { width: 22px; height: 22px; display: block; }
.medals-nav.is-prev { left: -8px; }
.medals-nav.is-next { right: -8px; }
.medals-nav:hover { background: var(--accent); color: #fff; }
.medals-nav:disabled {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.archive {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.archive-card {
    background: var(--white);
    color: var(--ink);
    display: grid;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 65, 133, 0.06);
}
.archive-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}
.archive-card div { padding: 14px; }
.archive-card:hover { color: var(--ink); }

.jubilee {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
    padding: 12px 0;
}
.jubilee-copy { max-width: 32rem; }
.jubilee h2 { margin: 0 0 0.2em; max-width: 20ch; }
.jubilee-date {
    font-family: var(--display);
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    color: var(--ink);
    margin: 0 0 0.55em;
}
.jubilee-invite {
    display: inline-block;
    font-family: var(--display);
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 500;
    line-height: 1.3;
    color: var(--ink);
    margin: 1.15em 0 0;
    padding: 0.65em 1.15em;
    background: var(--white);
    border: 1.5px solid var(--ink);
    box-shadow: 0 0 0 4px var(--white), 0 0 0 5.5px var(--ink);
    border-radius: 6px;
}
.jubilee-art {
    width: 100%;
    max-height: 360px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.page-head {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 56px 0 36px;
    background: var(--blue);
}
.page-head::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("/img/brand/page-bg.webp?v=20260826-1") no-repeat center center;
    background-size: cover;
    opacity: 0.33;
    pointer-events: none;
    z-index: 0;
}
.page-head > .wrap {
    position: relative;
    z-index: 1;
}
.meta { display: flex; gap: 16px; list-style: none; padding: 0; color: var(--muted); }
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.gallery a { display: block; }
.gallery img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
}
.gallery-more {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}
.gallery-more[hidden] { display: none; }
.prose { max-width: 68ch; }
.prose img { margin: 16px 0; }

#team {
    position: relative;
    background: #fff;
    min-height: min(640px, 78vh);
    overflow: hidden;
}
#team::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("/img/brand/podporozhe.webp?v=20260826-12") no-repeat center center;
    background-size: cover;
    opacity: 0.33;
    pointer-events: none;
}
#team .wrap {
    position: relative;
    z-index: 1;
}
#team .split {
    margin-bottom: 0;
    align-items: center;
}
.team-copy {
    max-width: 38rem;
}

.site-footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 72px 0 40px;
    color: var(--ink);
    font-size: 0.92rem;
    background: var(--blue);
}
.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("/img/brand/footer.webp?v=20260826-24") no-repeat center bottom;
    background-size: 102% auto;
    opacity: 0.33;
    pointer-events: none;
    z-index: 0;
}
.site-footer > .wrap {
    position: relative;
    z-index: 1;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 0.85fr;
    gap: 48px 32px;
    margin-bottom: 40px;
    align-items: start;
}
.footer-logo { height: 72px; width: auto; margin-bottom: 16px; }
.footer-brand p {
    max-width: 36ch;
    margin: 0 0 20px;
    color: var(--ink);
    line-height: 1.55;
}
.footer-social {
    display: flex;
    gap: 12px;
}
.footer-social-link {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
}
.site-footer .footer-social-link { color: #fff; }
.footer-social-link:hover {
    background: var(--accent);
    color: #fff;
}
.footer-social-link svg { width: 20px; height: 20px; display: block; }
.site-footer h3 {
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 14px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 8px; }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--accent); }
.site-footer .footer-social-link:hover { color: #fff; }
.footer-bottom {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 28px;
    border-top: 1px solid rgba(0, 65, 133, 0.18);
    padding-top: 24px;
}
.footer-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.footer-note p { margin: 0; line-height: 1.45; }
.footer-note-icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
}
.footer-note-icon svg { width: 18px; height: 18px; display: block; }

.lightbox {
    border: 0;
    padding: 0;
    background: transparent;
    max-width: min(1100px, 94vw);
}
.lightbox::backdrop { background: rgba(20, 32, 43, 0.82); }
.lightbox img { max-height: 86vh; width: auto; margin: 0 auto; }

@media (max-width: 900px) {
    .nav-desktop { display: none; }
    .nav-mobile { display: block; }
    .logo { position: relative; z-index: 22; }
    .site-header:has(.nav-mobile[open]) {
        background: #fff;
        border-bottom-color: transparent;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .nav-mobile-list {
        position: fixed;
        inset: 0;
        z-index: 21;
        display: flex;
        flex-direction: column;
        padding: 72px 20px 24px;
        background: #fff;
        overflow: auto;
        text-align: left;
    }
    .nav-mobile-list::after {
        content: "";
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        aspect-ratio: 1536 / 1024;
        background: url("/img/brand/podporozhe.webp?v=20260826-12") no-repeat center bottom;
        background-size: 100% 100%;
        pointer-events: none;
        z-index: 0;
    }
    .nav-mobile-list > * {
        position: relative;
        z-index: 1;
    }
    .nav-mobile-list > a:not(.btn),
    .nav-mobile-years {
        border-bottom: 1px solid rgba(0, 65, 133, 0.12);
    }
    .nav-mobile-list > a:not(.btn),
    .nav-mobile-years > summary {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 4px;
        color: var(--ink);
        font-size: 1.08rem;
        cursor: pointer;
        list-style: none;
    }
    .nav-mobile-icon {
        width: 22px;
        height: 22px;
        flex: 0 0 auto;
        stroke: var(--ink);
        fill: none;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }
    .nav-mobile-years > summary::-webkit-details-marker { display: none; }
    .nav-mobile-years > summary {
        position: relative;
        width: 100%;
        padding-right: 28px;
        box-sizing: border-box;
    }
    .nav-mobile-years > summary::after {
        content: "";
        position: absolute;
        right: 8px;
        top: 50%;
        width: 7px;
        height: 7px;
        border-right: 1.6px solid var(--ink);
        border-bottom: 1.6px solid var(--ink);
        transform: translateY(-70%) rotate(45deg);
    }
    .nav-mobile-years[open] > summary::after {
        transform: translateY(-20%) rotate(225deg);
    }
    .nav-mobile-years div {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        padding: 4px 4px 14px;
    }
    .nav-mobile-years a {
        display: grid;
        place-items: center;
        min-height: 40px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        color: var(--ink);
        font-size: 0.95rem;
    }
    .nav-mobile-list > .btn {
        margin: 18px 0 0;
        justify-self: stretch;
        width: 100%;
        min-height: 48px;
        border: 0;
    }
    .intro-grid, .split, .split-reverse, .footer-grid, .footer-bottom, .podium, .archive, .jubilee {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    .site-footer { padding: 48px 0 28px; }
    .footer-grid { gap: 28px; margin-bottom: 28px; }
    .footer-bottom { gap: 16px; }
    .logo img { height: 56px; }
    .header-inner { min-height: 72px; }
    .hero { background: #faf8f8; }
    .hero-scene {
        min-height: 0;
        background-color: #faf8f8;
        background-image: none;
    }
    .hero-grid {
        flex: 0 0 auto;
        align-items: flex-start;
        padding: 24px 0 0;
    }
    .hero-copy {
        max-width: 100%;
        background: none;
        padding-right: 0;
        padding-bottom: 12px;
        position: relative;
        z-index: 1;
    }
    .intro-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-art {
        display: block;
        position: relative;
        z-index: 0;
        height: clamp(260px, 78vw, 400px);
        margin: -72px 0 -52px;
        background: url("/img/brand/hero.png?v=20260826-11") no-repeat 72% 18%;
        background-size: cover;
        pointer-events: none;
    }
    .hero-bar {
        z-index: 2;
        padding: 0 0 28px;
    }
    .hero-bar-inner { justify-content: stretch; }
    .hero-plaque {
        flex-direction: row;
        align-items: stretch;
        border-radius: 22px;
        padding: 12px 8px;
        width: 100%;
        background: rgba(255, 255, 255, 0.92);
    }
    .hero-fact {
        flex: 1 1 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        min-width: 0;
        padding: 6px 8px;
        border-right: 1px solid rgba(0, 65, 133, 0.14);
        border-bottom: 0;
    }
    .hero-fact:first-child { padding-left: 10px; }
    .hero-fact:last-child {
        border-right: 0;
        border-bottom: 0;
        padding-right: 10px;
    }
    .hero-fact-icon { width: 22px; height: 22px; }
    .hero-fact strong { font-size: 0.68rem; line-height: 1.25; }
    .hero-fact span { font-size: 0.72rem; line-height: 1.3; }
    .mosaic { grid-template-columns: repeat(2, 1fr); }
    .mosaic-item:nth-child(1),
    .mosaic-item:nth-child(4) {
        grid-column: span 1;
        grid-row: span 1;
    }
    .medals-nav { width: 36px; height: 36px; }
    .leaderboard { flex: 0 0 100%; }
    #leaders::before,
    #history::before,
    #archive::before {
        display: none;
    }
    .leaders-nav { width: 36px; height: 36px; }
    .leaders-nav.is-prev { left: 0; }
    .leaders-nav.is-next { right: 0; }
    .medals {
        gap: 12px;
        scroll-padding-inline: 0;
        padding: 4px 8px 10px;
    }
    .medals figure {
        flex: 0 0 calc((100% - 24px) / 2.5);
        width: calc((100% - 24px) / 2.5);
    }
    .medals img {
        height: auto;
        width: 100%;
    }
    .gallery { grid-template-columns: repeat(2, 1fr); }
}

.admin-body {
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: 100vh;
    background: var(--paper);
}
.admin-body.is-login { display: block; }
.admin-side {
    background: var(--white);
    border-right: 1px solid var(--line);
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.admin-brand {
    font-family: var(--display);
    font-size: 1.3rem;
    margin: 0;
}
    .admin-side nav { display: grid; gap: 6px; margin: 12px 0 24px; }
.admin-side nav a {
    color: var(--ink);
    padding: 8px 10px;
    border: 1px solid transparent;
}
.admin-side nav a.is-active {
    background: var(--ink);
    color: #fff;
}
.admin-main { padding: 32px; }
.admin-page-header { margin-bottom: 24px; }
.admin-page-header h1 { font-size: 2rem; }
.card-form {
    background: var(--white);
    border: 1px solid var(--line);
    padding: 20px;
    margin-bottom: 24px;
}
.admin-form { display: grid; gap: 12px; max-width: 820px; }
.admin-form label, .admin-form .form-grid label { display: grid; gap: 6px; font-size: 0.9rem; }
.admin-form input, .admin-form textarea, .admin-form select {
    font: inherit;
    padding: 8px 10px;
    border: 1px solid var(--line);
    background: var(--paper);
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.admin-table-wrap { overflow-x: auto; }
.admin-photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 16px;
}
.admin-photos figure {
    margin: 0;
    background: var(--paper);
    padding: 8px;
    border: 1px solid var(--line);
}
.admin-photos img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.admin-photos.is-cover, .admin-photos figure.is-cover { border-color: var(--accent); }
.admin-photos figcaption { display: grid; gap: 4px; margin-top: 8px; font-size: 0.8rem; }
.flash { padding: 10px 12px; border: 1px solid var(--line); background: var(--white); }
.flash-ok { border-color: var(--accent); }
.flash-error { border-color: #a33; color: #7a1f1f; }
.login-box { max-width: 360px; margin: 12vh auto; background: var(--white); padding: 32px; border: 1px solid var(--line); }
.admin-side .btn-ghost { width: 100%; }

@media (max-width: 900px) {
    .admin-body { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
}
