:root {
  --bg: #0b0b0c;
  --bg-alt: #111113;
  --fg: #f2efe9;
  --muted: #8b8b90;
  --accent: #e8543f;
  --line: rgba(242, 239, 233, 0.12);
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 56px);
  transition: background 0.3s, backdrop-filter 0.3s, padding 0.3s;
}
.nav.scrolled {
  background: rgba(11, 11, 12, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 14px;
  text-decoration: none;
  margin-right: auto;
}
.brand em { font-style: normal; color: var(--accent); }
.brand-mark {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(232, 84, 63, 0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 12px rgba(232, 84, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 84, 63, 0); }
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--fg); }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 34px; height: 34px;
  flex-direction: column; justify-content: center; gap: 6px;
}
.nav-toggle span { display: block; height: 1.5px; background: var(--fg); transition: 0.3s; }
.nav-toggle.open span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle.open span:last-child  { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border: 0;
  border-radius: 100px;
  background: var(--accent);
  color: #fff;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, opacity 0.2s;
}
.btn:hover { transform: translateY(-2px); background: #f2664f; }
.btn-sm { padding: 10px 18px; font-size: 12.5px; }
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: rgba(242,239,233,0.06); }
.btn[disabled] { opacity: 0.45; pointer-events: none; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px clamp(20px, 5vw, 56px) 90px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 75% 25%, rgba(232, 84, 63, 0.26), transparent 70%),
    radial-gradient(50% 50% at 10% 85%, rgba(63, 94, 232, 0.18), transparent 70%),
    linear-gradient(180deg, #131316, #0b0b0c);
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent);
}
.hero-inner { position: relative; max-width: var(--max); margin: 0 auto; width: 100%; }

.eyebrow {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 22px;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3rem, 10vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0 0 28px;
}
.outline {
  -webkit-text-stroke: 1.5px var(--fg);
  color: transparent;
}
.lede {
  max-width: 46ch;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: #cfcbc3;
  margin: 0 0 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 64px; }

.hero-stats {
  display: flex;
  gap: clamp(28px, 6vw, 72px);
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
}
.hero-stats span {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}
.scroll-cue {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}
.scroll-cue::after {
  content: "";
  display: block;
  width: 1px; height: 34px;
  margin: 10px auto 0;
  background: linear-gradient(var(--muted), transparent);
}

/* ---------- SECTIONS ---------- */
.section {
  padding: clamp(80px, 11vw, 150px) clamp(20px, 5vw, 56px);
}
.section-alt { background: var(--bg-alt); }
.section-head { max-width: var(--max); margin: 0 auto clamp(44px, 6vw, 72px); }
.tag {
  display: inline-block;
  font-family: var(--display);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.section h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 22ch;
}
.section-sub { color: var(--muted); max-width: 56ch; margin: 18px 0 0; }
.note { max-width: var(--max); margin: 32px auto 0; font-size: 13px; color: var(--muted); }
.muted { color: var(--muted); }
.link { color: var(--accent); text-decoration: none; }
.link:hover { text-decoration: underline; }

/* ---------- ABOUT ---------- */
.about-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.about-copy p { color: #bdb9b2; margin: 0 0 18px; }
.about-copy .big {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.35;
  color: var(--fg);
  margin-bottom: 26px;
}
.about-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.about-cards li {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  background: rgba(242, 239, 233, 0.02);
  transition: border-color 0.25s, transform 0.25s;
}
.about-cards li:hover { border-color: rgba(232, 84, 63, 0.5); transform: translateY(-3px); }
.about-cards h3 {
  font-family: var(--display);
  font-size: 1.05rem;
  margin: 0 0 8px;
}
.about-cards p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ---------- EVENTS ---------- */
.events { max-width: var(--max); margin: 0 auto; display: grid; gap: 12px; }
.event {
  display: grid;
  grid-template-columns: 96px 1fr auto auto;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
  padding: 24px clamp(18px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(242, 239, 233, 0.02);
  transition: border-color 0.25s, background 0.25s;
}
.event:hover { border-color: rgba(232, 84, 63, 0.45); background: rgba(232, 84, 63, 0.04); }
.event-date {
  font-family: var(--display);
  text-align: center;
  border-right: 1px solid var(--line);
  padding-right: 16px;
}
.event-date .d { display: block; font-size: 2rem; font-weight: 700; line-height: 1; }
.event-date .m {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}
.event-title { font-family: var(--display); font-size: 1.25rem; font-weight: 500; margin: 0 0 6px; }
.event-meta { font-size: 13.5px; color: var(--muted); margin: 0; }
.event-price { font-family: var(--display); font-size: 1.05rem; white-space: nowrap; }
.badge {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  margin-left: 10px;
  vertical-align: middle;
}
.badge.few  { background: rgba(232, 84, 63, 0.16); color: var(--accent); }
.badge.out  { background: rgba(242, 239, 233, 0.08); color: var(--muted); }

/* ---------- PAST ---------- */
.past {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.past-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-alt);
}
.past-thumb {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.4s, transform 0.5s;
}
.past-card:hover .past-thumb { filter: none; transform: scale(1.04); }
.past-body { padding: 20px; }
.past-body h3 { font-family: var(--display); font-size: 1.05rem; margin: 0 0 6px; }
.past-body p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* ---------- GALLERY ---------- */
.gallery {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  grid-auto-flow: dense;
  gap: 12px;
}
.gallery figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  cursor: zoom-in;
  transition: transform 0.4s;
}
.gallery figure:hover { transform: scale(1.015); }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }

/* ---------- LOCATION ---------- */
.location {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 5vw, 56px);
}
.location-info { display: grid; gap: 28px; align-content: start; }
.info-block h3 {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}
.info-block p { margin: 0; color: #cfcbc3; }
.info-block .link { display: inline-block; margin-top: 10px; font-size: 14px; }
.map {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  min-height: 380px;
}
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(0.9) invert(0.9) hue-rotate(180deg); }

/* ---------- FOOTER ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 56px clamp(20px, 5vw, 56px) 34px;
  background: var(--bg-alt);
}
.footer-top {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
}
.footer-brand {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.14em;
  margin: 0 0 6px;
}
.footer-brand em { font-style: normal; color: var(--accent); }
.footer-top p { margin: 0; font-size: 14px; }
.socials { display: flex; gap: 22px; }
.socials a {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
}
.socials a:hover { color: var(--fg); }
.copyright {
  max-width: var(--max);
  margin: 40px auto 0;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- MODAL ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(5, 5, 6, 0.78);
  backdrop-filter: blur(6px);
}
.modal-card {
  position: relative;
  width: min(440px, 100%);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 34px;
  animation: rise 0.3s ease;
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.modal-card h3 { font-family: var(--display); font-size: 1.5rem; margin: 0 0 6px; }
.modal-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: 0; cursor: pointer;
  color: var(--muted); font-size: 26px; line-height: 1;
}
#ticketForm { display: grid; gap: 14px; margin-top: 24px; }
#ticketForm label {
  display: grid; gap: 7px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
#ticketForm input, #ticketForm select {
  font-family: var(--body);
  font-size: 15px;
  color: var(--fg);
  background: rgba(242, 239, 233, 0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  text-transform: none;
  letter-spacing: 0;
}
#ticketForm input:focus, #ticketForm select:focus {
  outline: none;
  border-color: var(--accent);
}
#ticketForm .btn { margin-top: 6px; }
#formNote { margin: 0; }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .about-grid, .location { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .event { grid-template-columns: 72px 1fr; row-gap: 14px; }
  .event-price, .event .btn { grid-column: 2; justify-self: start; }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(11, 11, 12, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .nav-links.open { max-height: 320px; }
  .nav-links a { padding: 16px clamp(20px, 5vw, 56px); border-top: 1px solid var(--line); }
  .nav-toggle { display: flex; }
  .nav > .btn-sm { display: none; }
  .hero-stats { flex-wrap: wrap; gap: 24px 40px; }
  .scroll-cue { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
