:root {
  --bg: #080808;
  --bg-alt: #111111;
  --bg-card: #161616;
  --gold: #c9a227;
  --gold-light: #e8c547;
  --gold-dim: #8a7420;
  --text: #f2efe6;
  --text-muted: #a39e90;
  --border: rgba(201, 162, 39, 0.25);
  --radius: 12px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --header-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold-light);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #fff;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
  padding: 0 1.25rem;
  background: rgba(8, 8, 8, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.logo span {
  color: var(--text-muted);
  font-weight: 500;
}

.nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--gold-light);
}

.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 1.25rem;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 1.5rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201, 162, 39, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(201, 162, 39, 0.08), transparent),
    linear-gradient(180deg, #0d0d0d 0%, var(--bg) 100%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/msg247_0.jpg");
  background-size: cover;
  background-position: center 30%;
  opacity: 0.12;
  mix-blend-mode: luminosity;
}

.hero-inner {
  position: relative;
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.5rem;
  color: #fff;
}

.hero-sub {
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero-note {
  font-size: 0.9rem;
  color: var(--gold-dim);
}

.update-badge {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin: 0 0 1rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.06);
}

.update-badge a {
  color: var(--gold-light);
}

.section--alert {
  padding: 0 0 2rem;
}

.alert-box {
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.12) 0%, var(--bg-card) 100%);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.alert-box h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold-light);
  margin: 0 0 0.5rem;
}

.alert-box p {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.source-ref {
  font-size: 0.8rem !important;
  margin-top: 0.75rem !important;
}

.pass-cards--wide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.muted-center {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.mk-list--schedule li {
  margin-bottom: 0.5rem;
}

.mk-list--schedule time {
  color: var(--gold-light);
  font-weight: 600;
}

.info-posters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.info-posters img {
  border-radius: 8px;
  border: 1px solid var(--border);
}

.gallery--parties img {
  cursor: default;
}

/* Maps */
.map-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.map-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.map-card--featured {
  border-color: rgba(201, 162, 39, 0.45);
}

.map-card-head {
  padding: 1.15rem 1.25rem 0.75rem;
}

.map-day {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.map-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  margin: 0 0 0.25rem;
}

.map-address {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

.map-link {
  font-size: 0.82rem;
  font-weight: 500;
  margin-right: 0.75rem;
}

.map-embed {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 220px;
  background: #1a1a1a;
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, #a8861a 100%);
  color: #0a0a0a;
  box-shadow: 0 4px 24px rgba(201, 162, 39, 0.35);
}

.btn-primary:hover {
  color: #000;
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--gold-light);
}

.btn-ghost:hover {
  border-color: var(--gold);
  background: rgba(201, 162, 39, 0.08);
}

/* Strip */
.strip {
  border-block: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 1.25rem 0;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  text-align: center;
}

.strip-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.strip strong {
  color: var(--gold-light);
  font-size: 0.95rem;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 600;
  color: var(--gold-light);
  margin: 0 0 0.5rem;
}

.section-head p {
  color: var(--text-muted);
  margin: 0;
  max-width: 560px;
  margin-inline: auto;
}

/* Days */
.days {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.day-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.day-card--featured {
  border-color: rgba(201, 162, 39, 0.5);
  box-shadow: 0 0 40px rgba(201, 162, 39, 0.08);
}

.day-meta {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.day-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.day-name {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.day-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
  color: #fff;
}

.venue {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.pin::before {
  content: "📍 ";
}

.day-card ul {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  flex: 1;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.day-card li {
  margin-bottom: 0.35rem;
}

.day-card time {
  color: var(--gold-light);
  font-weight: 500;
}

.poster {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.wide-poster {
  margin: 2rem auto 0;
  max-width: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.tl-block h3 {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.35rem;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.tl-block dl {
  margin: 0;
}

.tl-block div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.92rem;
}

.tl-block dt {
  color: var(--gold-light);
  font-weight: 600;
  margin: 0;
}

.tl-block dd {
  margin: 0;
  color: var(--text-muted);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.gallery img {
  border-radius: 8px;
  border: 1px solid var(--border);
}

.gallery--timing img {
  cursor: zoom-in;
}

/* Parties */
.party-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.party-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.party-card--gold {
  border-color: var(--gold-dim);
  background: linear-gradient(145deg, #1a1810 0%, var(--bg-card) 100%);
}

.party-card h3 {
  font-family: var(--font-display);
  color: #fff;
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.party-card p {
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.party-card .price {
  font-size: 1rem;
  color: var(--gold-light);
  margin: 0;
}

.price-note {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Pricing */
.pricing-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .pricing-layout {
    grid-template-columns: 1fr;
  }
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.price-table th,
.price-table td {
  padding: 0.65rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.price-table th {
  color: var(--gold);
  font-weight: 600;
}

.pass-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pass-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.pass-card h3 {
  margin: 0 0 0.25rem;
  color: var(--gold-light);
  font-family: var(--font-display);
}

.pass-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.75rem;
}

.pass-card ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Classes */
.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.class-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.class-card h3 {
  font-family: var(--font-display);
  color: var(--gold-light);
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
}

.class-card p,
.class-card .mk-list {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.class-card .link {
  display: inline-block;
  margin: 0.75rem 0 1rem;
}

.class-card img {
  border-radius: 8px;
  border: 1px solid var(--border);
}

.mk-list {
  padding-left: 1.1rem;
}

/* Brackets */
.brackets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.bracket {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.bracket h3 {
  color: var(--gold);
  font-family: var(--font-display);
  margin: 0 0 1rem;
}

.batlers {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--text);
}

.pairs {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

/* Info */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.info-card h3 {
  font-size: 1rem;
  color: var(--gold-light);
  margin: 0 0 0.75rem;
}

.info-card ul,
.links-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.links-list {
  list-style: none;
  padding: 0;
}

.links-list li {
  margin-bottom: 0.4rem;
}

/* Team */
.section--team .team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.team-banner {
  max-width: 640px;
  margin-inline: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* Contact */
.section--contact {
  background: linear-gradient(180deg, var(--bg-alt) 0%, #0a0906 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 640px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.pay-box {
  background: var(--bg-card);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.card-num {
  font-family: ui-monospace, monospace;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  margin: 0.5rem 0;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-source a {
  color: var(--gold-dim);
}

/* Mobile nav */
@media (max-width: 900px) {
  .menu-btn {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1rem 1.25rem 1.5rem;
    background: rgba(8, 8, 8, 0.98);
    border-bottom: 1px solid var(--border);
  }

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

/* Lightbox for timing images */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  cursor: zoom-out;
}

.lightbox img {
  max-height: 92vh;
  max-width: 96vw;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox[hidden] {
  display: none;
}
