:root {
    --black: #000;
    --panel: #111;
    --white: #fff;
    --soft-white: #e2e2e2;
    --gray: #969696;
    --orange: #ef4b17;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--black); color: var(--soft-white); font-family: "Quicksand", sans-serif; font-size: 16px; line-height: 1.65; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: 1rem; z-index: 100; background: #fff; color: #000; padding: .6rem 1rem; transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.site-header { background: #000; padding: 2rem 2rem 1.5rem; border-bottom: 1px solid #181818; position: sticky; top: 0; z-index: 20; }
.nav-wrap { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.small-logo { display: none; width: 78px; height: 55px; overflow: hidden; }
.small-logo img { width: 100%; height: 100%; object-fit: cover; }
nav { width: 100%; display: flex; align-items: center; justify-content: center; gap: clamp(1.1rem, 2.1vw, 2.2rem); }
nav a { color: #919191; font-size: .78rem; font-weight: 700; letter-spacing: .143em; text-decoration: none; text-transform: uppercase; white-space: nowrap; padding-top: .7rem; border-top: 2px solid transparent; transition: color .2s; }
nav a:hover, nav a:focus-visible { color: #fff; }
nav a.active { color: #fff; border-color: #fff; }
.menu-button { display: none; margin-left: auto; border: 0; background: transparent; padding: .5rem; }
.menu-button span:not(.sr-only) { display: block; width: 28px; height: 2px; margin: 5px 0; background: #fff; }

.page-panel { display: none; min-height: calc(100svh - 162px); background: #000; padding: 4rem 1.5rem 6rem; }
.page-panel.active-panel { display: block; animation: fade .22s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.page-width { width: min(1100px, 100%); margin: 0 auto; }
.page-width.narrow { width: min(820px, 100%); }
.centered { text-align: center; }
.page-panel h1 { margin: 0; color: #fff; font: 400 clamp(2rem, 4vw, 3.25rem)/1.2 "Muli", sans-serif; text-align: center; text-transform: uppercase; }
.page-panel h2 { margin: 2rem 0 .6rem; color: #fff; font: 700 1rem/1.4 "Quicksand", sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.page-panel p { color: #aaa; }
.page-panel a { color: #fff; }
.rule { width: 60px; height: 1px; margin: 1.4rem auto 3rem; background: #555; }
.muted { text-align: center; }

.home-panel { padding-top: 0; text-align: center; }
.hero-logo { width: min(720px, 88vw); max-height: 560px; object-fit: contain; margin: 0 auto 1.5rem; }
.home-copy { max-width: 940px; margin: 0 auto; }
.home-copy > h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.home-copy > p { max-width: 800px; margin: 1rem auto 2.8rem; }
.home-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; text-align: left; padding-top: 2rem; border-top: 1px solid #282828; }
.home-details article h2 { margin-top: 0; }
.home-details article p { margin-bottom: 0; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: start; }
.content-grid > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.content-grid h2:first-child { margin-top: 0; }
.plain-list { list-style: none; margin: 0; padding: 0; color: #aaa; }
.plain-list li { padding: .65rem 0; border-bottom: 1px solid #252525; }
.plain-list strong { color: #fff; }

.schedule-box { padding: 1.5rem 0; border-top: 1px solid #282828; }
.schedule-box:last-child { border-bottom: 1px solid #282828; }
.schedule-box h2 { margin-top: 0; }
.schedule-box p { margin-bottom: 0; }
.button { display: inline-block; margin: 2rem 0; padding: .9rem 1.8rem; background: #fff; color: #111 !important; border: 1px solid #fff; border-radius: 3px; font-weight: 700; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.button:hover { background: #ddd; }
.registration-logo { width: min(500px, 85vw); margin: 1rem auto 0; }

.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.photo-grid img { width: 100%; height: 290px; object-fit: cover; }
.photo-grid img:first-child { grid-column: span 2; }

.board-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #292929; }
.board-list li { display: flex; justify-content: space-between; gap: 2rem; padding: 1.2rem 0; border-bottom: 1px solid #292929; }
.board-list strong { color: #fff; font-weight: 400; }
.board-list span { color: #888; text-align: right; }

footer { max-width: 1100px; margin: 0 auto; padding: 2rem 1.5rem 3rem; display: flex; justify-content: space-between; gap: 2rem; color: #727272; font-size: .74rem; border-top: 1px solid #202020; }
footer p { margin: 0; }
footer a { color: #aaa; }

@media (max-width: 1050px) {
    .site-header { padding: .75rem 1.25rem; }
    .small-logo { display: block; }
    .menu-button { display: block; }
    nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 1.5rem 1.5rem 2rem; background: #111; flex-direction: column; align-items: stretch; gap: 0; }
    nav.open { display: flex; }
    nav a { padding: .9rem 0; border-top: 0; border-bottom: 1px solid #292929; }
    nav a.active { color: #fff; border-bottom-color: #777; }
    .page-panel { min-height: calc(100svh - 136px); }
}

@media (max-width: 760px) {
    .page-panel { padding: 3rem 1.25rem 4rem; }
    .home-panel { padding-top: 0; }
    .hero-logo { margin-top: 0; margin-bottom: 1rem; }
    .home-details { grid-template-columns: 1fr; gap: 1.5rem; }
    .content-grid { grid-template-columns: 1fr; gap: 2rem; }
    .photo-grid { grid-template-columns: 1fr 1fr; }
    .photo-grid img, .photo-grid img:first-child { height: 210px; grid-column: auto; }
    .photo-grid img:first-child { grid-column: span 2; }
    footer { flex-direction: column; gap: .5rem; }
}

@media (max-width: 480px) {
    .photo-grid { grid-template-columns: 1fr; }
    .photo-grid img, .photo-grid img:first-child { grid-column: auto; height: 240px; }
    .board-list li { flex-direction: column; gap: .15rem; }
    .board-list span { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .page-panel.active-panel { animation: none; }
}
