:root {
  --navy: #161c31;
  --navy-deep: #0d1120;
  --ink: #1a1f2e;
  --muted: #6b6455;
  --paper: #faf6ea;
  --panel: #fff;
  --line: #e8dfc7;
  --rust: #d9622b;
  --rust-dark: #b34e1f;
  --gold: #f2c15b;
  --cream: #f7ecd2;
  --green: #4f8a42;
  --red: #b45a4f;
  --blue: #517da8;
  --shadow: 0 18px 44px rgba(13, 17, 32, .22);
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: var(--ink); font-family: Arial, Helvetica, sans-serif; background: var(--paper); }
a { color: inherit; }
img { max-width: 100%; display: block; }

/* --- topbar: no logo, just a wordmark + nav, so it stays compact while scrolling --- */
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 24px; background: var(--navy-deep); color: #fff;
  position: sticky; top: 0; z-index: 10; flex-wrap: wrap;
  border-bottom: 3px solid var(--rust);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand strong { font-size: 18px; letter-spacing: .03em; text-transform: uppercase; }
.brand strong span { color: var(--gold); }
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a { text-decoration: none; font-weight: 700; font-size: 14px; letter-spacing: .02em; text-transform: uppercase; color: #d9d3c2; padding: 6px 2px; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a.active { color: #fff; border-bottom-color: var(--rust); }
.nav-closed { font-weight: 700; font-size: 14px; letter-spacing: .02em; text-transform: uppercase; color: #726c5c; padding: 6px 2px; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 999px; background: rgba(255,255,255,.08); color: #d9d3c2; }
.social-link:hover { background: var(--rust); color: #fff; }

/* --- hero: big logo, dark navy sunburst backdrop pulled from the show's own flyer art --- */
.hero {
  position: relative; overflow: hidden;
  display: grid; place-items: center; text-align: center; gap: 16px;
  padding: 56px 20px 64px;
  background:
    radial-gradient(circle at 50% 0%, rgba(242,193,91,.22), transparent 60%),
    conic-gradient(from 0deg at 50% -10%, rgba(217,98,43,.10) 0 10deg, transparent 10deg 20deg) repeat,
    var(--navy);
  color: #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.55) 1px, transparent 1px);
  background-size: 34px 34px; opacity: .12;
}
.hero-logo { position: relative; width: min(220px, 46vw); margin-bottom: 4px; filter: drop-shadow(0 14px 26px rgba(0,0,0,.45)); }
.hero .eyebrow { position: relative; margin: 0; color: var(--gold); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; }
.hero h1 { position: relative; margin: 0; font-size: clamp(36px, 6vw, 58px); text-transform: uppercase; letter-spacing: .01em; text-shadow: 0 4px 0 rgba(0,0,0,.25); }
.hero p { position: relative; margin: 0; max-width: 640px; color: #e7e2d3; font-size: 18px; line-height: 1.5; }
.hero .date-line { font-size: 20px; color: var(--gold); font-weight: 800; letter-spacing: .02em; margin-bottom: 0; }
.hero .date-note { font-size: 13px; color: #b9b2a0; font-style: italic; margin-top: 0; }

.cta-row { position: relative; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 13px 26px; border-radius: 999px; text-decoration: none;
  font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: .02em;
  border: 2px solid transparent; cursor: pointer; transition: transform .12s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--rust); color: #fff; box-shadow: 0 10px 22px rgba(217,98,43,.4); }
.btn-primary:hover { background: var(--rust-dark); }
.btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-secondary:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-closed { background: rgba(255,255,255,.06); color: #a39d8c; border-color: rgba(255,255,255,.18); cursor: default; }
.btn-closed:hover { transform: none; }

.section { max-width: 1080px; margin: 0 auto; padding: 52px 20px; }
.section h2 { font-size: 30px; margin: 0 0 4px; text-transform: uppercase; letter-spacing: .01em; }
.section h2::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 10px; background: var(--rust); border-radius: 2px; }
.section .section-sub { color: var(--muted); margin: 10px 0 26px; font-size: 15px; }

.stats-section { padding-top: 40px; padding-bottom: 8px; }

.year-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.year-card { padding: 18px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); }

.year-card-head { text-align: center; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.year-card-year { display: block; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.year-card-total { display: block; font-size: clamp(38px, 7vw, 52px); font-weight: 900; color: var(--rust); line-height: 1.05; margin-top: 2px; }
.year-card-total-label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }

.year-card-facts { display: grid; gap: 8px; margin-bottom: 16px; }
.year-card-fact { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 7px; background: var(--paper); }
.year-card-fact span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: var(--muted); }
.year-card-fact strong { font-size: 15px; font-weight: 900; color: var(--ink); }

.category-bars { display: grid; gap: 8px; }
.category-bar-row { display: grid; grid-template-columns: 84px 1fr 26px; align-items: center; gap: 8px; }
.category-bar-label { font-size: 12px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.category-bar-track { height: 11px; border-radius: 999px; background: var(--line); overflow: hidden; }
.category-bar-fill { height: 100%; background: linear-gradient(90deg, var(--rust), var(--gold)); border-radius: 999px; }
.category-bar-count { font-size: 12px; font-weight: 800; color: var(--muted); text-align: right; }

@media (max-width: 900px) {
  .year-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .year-cards { grid-template-columns: 1fr; }
}

.posts { display: grid; gap: 16px; }
.post-card { padding: 18px 20px; border: 1px solid var(--line); border-left: 5px solid var(--rust); border-radius: 10px; background: var(--panel); box-shadow: var(--shadow); }
.post-card h3 { margin: 0 0 6px; font-size: 19px; }
.post-card time { color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.post-card p { margin: 10px 0 0; line-height: 1.5; }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.photo-grid figure { margin: 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow); transition: transform .15s ease; }
.photo-grid figure:hover { transform: translateY(-4px) rotate(-.5deg); }
.photo-grid img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.photo-grid figcaption { padding: 9px 10px; font-size: 13px; color: var(--muted); }

.empty-state { padding: 26px; border: 2px dashed var(--line); border-radius: 10px; color: var(--muted); text-align: center; background: var(--panel); }

.sponsors { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: center; }
.sponsors a { display: block; border-radius: 10px; }
.sponsors img { height: 120px; width: auto; border-radius: 10px; background: #fff; padding: 10px; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; cursor: pointer; }
.sponsors img:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 20px 40px rgba(13,17,32,.28); }

.sponsor-cta { margin-top: 36px; padding: 28px; border-radius: 12px; background: var(--navy); color: #fff; text-align: center; }
.sponsor-cta h3 { margin: 0 0 8px; font-size: 20px; text-transform: uppercase; letter-spacing: .01em; }
.sponsor-cta p { margin: 0 auto 18px; max-width: 560px; color: #d9d3c2; font-size: 14px; line-height: 1.5; }

.sponsor-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.sponsor-card { display: grid; gap: 12px; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); box-shadow: var(--shadow); text-align: center; scroll-margin-top: 90px; }
.sponsor-card img { width: 100%; height: auto; max-height: 320px; object-fit: contain; border-radius: 8px; }
.sponsor-card p { margin: 0; font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: .02em; color: var(--ink); }

.site-footer { border-top: 3px solid var(--rust); padding: 30px 20px; text-align: center; color: var(--cream); font-size: 14px; background: var(--navy-deep); }
.site-footer a { color: var(--gold); }

.year-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.year-filter a { padding: 7px 16px; border-radius: 999px; border: 2px solid var(--line); text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 700; }
.year-filter a.active { background: var(--rust); border-color: var(--rust); color: #fff; }

/* --- site-admin --- */
.admin-shell { max-width: 960px; margin: 0 auto; padding: 28px 20px; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; flex-wrap: wrap; gap: 10px; }
.admin-card { padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); box-shadow: var(--shadow); margin-bottom: 20px; }
.admin-card h2 { margin-top: 0; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; color: var(--muted); font-weight: 700; }
.field input[type=text], .field input[type=number], .field input[type=file], .field textarea, .field select {
  padding: 11px 12px; border: 1px solid var(--line); border-radius: 7px; font: inherit; width: 100%;
}
.field textarea { min-height: 110px; resize: vertical; }
.checkbox-row { display: flex; align-items: center; gap: 8px; }
.table-list { display: grid; gap: 10px; }
.table-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fffdf5; flex-wrap: wrap; }
.table-row .row-main { display: flex; align-items: center; gap: 12px; }
.table-row img { width: 64px; height: 48px; object-fit: cover; border-radius: 5px; }
.row-actions { display: flex; gap: 8px; }
.btn-small { min-height: 36px; padding: 7px 12px; font-size: 13px; border-radius: 6px; text-transform: none; letter-spacing: normal; }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #953f36; }
.alert { padding: 12px 14px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; }
.alert-ok { background: #e6f2e3; color: #2c6a24; border: 1px solid #bfe0b8; }
.alert-error { background: #fbe7e5; color: #9b2d22; border: 1px solid #f0c3bd; }
.login-card { max-width: 400px; margin: 60px auto; padding: 28px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); box-shadow: var(--shadow); }
.login-card h1 { margin-top: 0; font-size: 22px; }

/* admin buttons keep a calmer, non-shouty style */
.admin-shell .btn, .login-card .btn { text-transform: none; letter-spacing: normal; border-radius: 7px; background: var(--rust); }
.admin-shell .btn:hover, .login-card .btn:hover { background: var(--rust-dark); }
.admin-shell .btn-secondary { background: #fff; color: var(--ink); border-color: var(--line); }

@media (max-width: 640px) {
  .topbar { justify-content: center; text-align: center; }
  .nav { justify-content: center; }
  .table-row { flex-direction: column; align-items: flex-start; }
}
