:root {
  --bg: #000;
  --red: #e31e24;
  --gold: #ffcc00;
  --text: #f2f2f2;
  --panel: #111;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px 16px 24px;
}

/* ---------- Hamburger menu ---------- */
.menu-btn {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 20;
  width: 48px;
  height: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.75);
  border: 2px solid var(--red);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
}
.menu-btn span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-open .menu-btn span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 15;
  width: min(280px, 80vw);
  height: 100vh;
  padding: 80px 0 24px;
  background: var(--panel);
  border-left: 3px solid var(--red);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  text-align: left;
}
.menu-open .site-nav { transform: translateX(0); }
.site-nav a {
  display: block;
  padding: 14px 24px;
  color: var(--gold);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid #222;
}
.site-nav a:hover { background: #1c1c1c; color: #fff; }
.site-nav a[aria-current="page"] { color: var(--red); }
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 10;
  background: rgba(0, 0, 0, 0.6);
  display: none;
}
.menu-open .nav-scrim { display: block; }

/* ---------- Shared content ---------- */
.skully {
  width: min(280px, 60vw);
  height: auto;
  filter: drop-shadow(0 0 24px rgba(227, 30, 36, 0.35));
}
.skully.small { width: min(140px, 36vw); }
h1 {
  color: var(--gold);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 16px 0 4px;
  text-transform: uppercase;
}
.chapter {
  color: var(--red);
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 700;
  margin: 0 0 28px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.splash {
  display: block;
  width: 100%;
  height: auto;
  border: 3px solid var(--red);
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--gold), 0 10px 40px rgba(0, 0, 0, 0.6);
}
.flyer-link {
  display: block;
  max-width: 640px;
  margin: 32px auto 0;
}
.email-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin: 28px auto 0;
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.email-link img {
  width: 110px;
  height: auto;
  transition: transform 0.2s ease;
}
.email-link:hover img { transform: scale(1.08); }
.email-link:hover span { color: #fff; }
.notice {
  margin: 32px auto 0;
  max-width: 720px;
}
.notice h2 {
  color: var(--red);
  font-size: clamp(1.4rem, 4vw, 2rem);
  margin: 0 0 8px;
}
.notice p {
  color: var(--gold);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin: 0 0 8px;
}
.rule {
  width: 120px;
  height: 3px;
  margin: 28px auto 0;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--red));
  border: 0;
}

/* ---------- Command & Staff ---------- */
.roster-group { margin-top: 40px; }
.roster-group h2 {
  color: var(--red);
  font-size: clamp(1.3rem, 3.5vw, 1.8rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 20px;
}
.roster {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.card {
  width: 220px;
  background: var(--panel);
  border: 1px solid #2a2a2a;
  border-top: 3px solid var(--red);
  border-radius: 10px;
  padding: 24px 16px 20px;
}
.photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  object-fit: cover;
  background: #000;
}
.photo.placeholder {
  object-fit: contain;
  padding: 18px;
  opacity: 0.35;
  filter: grayscale(1);
}
.position {
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  margin: 14px 0 4px;
}
.name {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}
.road-name {
  display: block;
  color: var(--red);
  font-weight: 700;
}
@media (max-width: 520px) {
  .roster { gap: 12px; }
  .card { width: calc(50% - 6px); padding: 16px 8px 14px; }
  .photo { width: 88px; height: 88px; }
  .photo.placeholder { padding: 12px; }
  .position { font-size: 0.75rem; }
  .name { font-size: 0.95rem; }
}

/* ---------- Footer ---------- */
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 16px 16px;
}
.legal {
  color: #888;
  font-size: 0.8rem;
  max-width: 640px;
}
.credit {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 0.8rem;
  white-space: nowrap;
}
.maker {
  display: block;
  width: 56px;
  height: auto;
  transition: transform 0.2s ease;
}
.credit a:hover .maker { transform: scale(1.08); }
