/* Layout: full-bleed stage hero, then a single 1120px column of sections
   on a warm black, with gold used for light (borders, glows, particles). */
:root {
  --ink: #0b0905;          /* page ground, warm black */
  --ink-2: #14100a;        /* raised surface */
  --line: #3a2d14;         /* hairlines */
  --gold: #e6b450;         /* primary accent */
  --gold-hi: #ffe2a0;      /* lamp highlight */
  --gold-lo: #9c6f1e;      /* deep gold */
  --text: #f4ede0;
  --muted: #b9ad98;

  --f-display: "Big Shoulders Display", "Oswald", "Arial Narrow", Impact, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 1rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 8px 14px; font-weight: 600;
}
.skip:focus { top: 12px; }

/* ---------- Header ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) var(--gutter) 10px;
  transition: background .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgb(11 9 5 / .82);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom-color: rgb(230 180 80 / .18);
}
.brand { flex: none; display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 52px; height: auto; }
.brand__text {
  border-left: 1px solid rgb(230 180 80 / .55);
  padding-left: 12px;
  font: 600 .78rem/1.25 var(--f-body);
  letter-spacing: .32em; text-transform: uppercase; color: var(--text);
}
.nav__links { display: flex; gap: clamp(14px, 3vw, 36px); list-style: none; margin: 0; padding: 0; }
.nav__links a {
  position: relative; display: block; padding: 6px 0;
  font: 600 clamp(.9rem, 2.4vw, 1.05rem)/1 var(--f-display);
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  color: var(--text); white-space: nowrap; transition: color .25s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--gold); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100svh, 980px);
  display: grid; place-items: center;
  padding: calc(110px + env(safe-area-inset-top, 0px)) var(--gutter) clamp(90px, 10vw, 130px);
  background: var(--ink);
}
.hero::after { /* fade into page */
  content: ""; position: absolute; inset: auto 0 0 0; height: 90px; z-index: 3;
  background: linear-gradient(transparent, var(--ink));
}
.hero__layers { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.layer { position: absolute; will-change: transform; }

/* Photo layers: each fills the hero with some overscan so edges never show
   while the layers drift; --drop lowers a layer within the frame. */
.layer--art { inset: -3.5% -3% -4%; }
.layer--art img {
  position: absolute; left: 0; top: var(--drop, 0%);
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 40%;
}
.particles { inset: 0; width: 100%; height: 100%; }
/* Page-wide particles sit behind every section; the hero has its own set
   between the stage and crowd layers. */
.page-particles { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main, .footer { position: relative; z-index: 1; }
.hero__shade { /* keeps the headline readable over the lights */
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgb(11 9 5 / .7), transparent 18%),
    radial-gradient(ellipse 50% 55% at 50% 55%, rgb(8 6 3 / .55), transparent 75%);
}

.hero__content {
  position: relative; z-index: 2;
  display: grid; justify-items: center; text-align: center; gap: 18px;
  max-width: 760px;
}
.hero__brand { margin: 0; display: grid; justify-items: center; gap: clamp(16px, 2.2vw, 26px); }
.hero__logo {
  width: clamp(190px, min(42vw, 36svh), 400px);
  filter: drop-shadow(0 0 22px rgb(255 196 90 / .35));
  animation: power-on 1.6s steps(1, end) .15s both;
}
@keyframes power-on {
  0%   { filter: brightness(.25) drop-shadow(0 0 0 transparent); }
  12%  { filter: brightness(1.1) drop-shadow(0 0 22px rgb(255 196 90 / .35)); }
  18%  { filter: brightness(.35) drop-shadow(0 0 0 transparent); }
  30%  { filter: brightness(1.15) drop-shadow(0 0 22px rgb(255 196 90 / .35)); }
  36%  { filter: brightness(.6) drop-shadow(0 0 8px rgb(255 196 90 / .2)); }
  48%, 100% { filter: brightness(1) drop-shadow(0 0 22px rgb(255 196 90 / .35)); }
}
.hero__sub {
  font: 500 clamp(1.1rem, 3.6vw, 1.65rem)/1 var(--f-body);
  letter-spacing: .45em; margin-right: -.45em; text-transform: uppercase; color: var(--text);
}
.hero__headline {
  margin: 10px 0 0;
  font: 800 clamp(2.4rem, 8vw, 4.6rem)/.98 var(--f-display);
  letter-spacing: .005em; text-wrap: balance;
  text-shadow: 0 2px 30px rgb(0 0 0 / .6);
}
.hero__lede { margin: 0; color: var(--text); opacity: .86; font-size: clamp(1rem, 2.5vw, 1.12rem); max-width: 44ch; text-wrap: balance; text-shadow: 0 1px 12px rgb(0 0 0 / .9), 0 0 2px rgb(0 0 0 / .8); }

.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 10px; padding: 15px 30px;
  background: linear-gradient(180deg, #f2c86a, #c9902c);
  color: #1a1206; text-decoration: none;
  font: 800 1.05rem/1 var(--f-display); letter-spacing: .18em; text-transform: uppercase;
  border-radius: 2px;
  box-shadow: 0 8px 30px -8px rgb(230 180 80 / .6), inset 0 1px 0 rgb(255 255 255 / .4);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn::before { /* light sweep */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / .55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn svg { transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px rgb(230 180 80 / .8), inset 0 1px 0 rgb(255 255 255 / .4); }
.btn:hover::before { transform: translateX(120%); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(0); }

/* ---------- Sections ---------- */
.section {
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding: clamp(48px, 8vw, 88px) var(--gutter) 0;
  scroll-margin-top: 70px;
}
.section__head { display: flex; align-items: center; gap: 24px; }
.section__head h2 {
  margin: 0; flex: none;
  font: 800 clamp(1.7rem, 4.5vw, 2.4rem)/1 var(--f-display);
  letter-spacing: .1em; text-transform: uppercase;
}
.section__head::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--gold), rgb(230 180 80 / .1));
}
.section__lede { margin: 10px 0 0; color: var(--muted); }

.eyebrow {
  margin: 0; color: var(--gold);
  font: 600 .8rem/1 var(--f-body); letter-spacing: .32em; text-transform: uppercase;
}

/* Spotlight that follows the pointer on cards */
.glow-card { --mx: 70%; --my: 30%; position: relative; }
.glow-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgb(255 214 130 / .12), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.glow-card:hover::after { opacity: 1; }

/* Current events card */
.soon {
  margin-top: 28px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  min-height: 260px; overflow: hidden;
  border: 1px solid rgb(230 180 80 / .55);
  background: linear-gradient(100deg, var(--ink-2) 30%, #1d1508);
  transition: border-color .4s, box-shadow .4s, transform .4s var(--ease);
}
.soon:hover { border-color: var(--gold); box-shadow: 0 0 0 1px rgb(230 180 80 / .25), 0 24px 60px -30px rgb(230 180 80 / .5); }
.soon__text { position: relative; z-index: 1; padding: clamp(28px, 5vw, 48px); display: grid; align-content: center; gap: 12px; }
.soon__text h3 { margin: 0; font: 800 clamp(2rem, 5.5vw, 3rem)/.98 var(--f-display); }
.soon__text p:last-child { margin: 0; color: var(--muted); }

.soon__stage { position: relative; min-height: 220px; overflow: hidden; }
.soon__stage .lamp {
  position: absolute; top: 0; left: var(--x); width: 34%; height: 85%; margin-left: -17%;
  background: linear-gradient(to bottom, rgb(255 222 150 / .5), rgb(230 180 80 / .08) 70%, transparent);
  clip-path: polygon(47% 0, 53% 0, 100% 100%, 0 100%);
  transform-origin: 50% 0;
  transition: opacity .5s, transform .8s var(--ease);
  opacity: .5;
}
.soon__stage .lamp::before {
  content: ""; position: absolute; top: 4px; left: 50%; width: 10px; height: 10px; margin-left: -5px;
  border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 14px 4px rgb(255 214 130 / .8);
}
.soon:hover .lamp { opacity: .9; }
.soon:hover .lamp:nth-child(odd) { transform: rotate(-6deg); }
.soon:hover .lamp:nth-child(even) { transform: rotate(6deg); }
.soon__stage .floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: 32%;
  background:
    radial-gradient(60% 80% at 50% 0%, rgb(230 180 80 / .35), transparent 70%),
    linear-gradient(#1a1208, #0b0905);
  border-top: 1px solid rgb(230 180 80 / .35);
}
.soon__stage::before { /* fade into the text side */
  content: ""; position: absolute; inset: 0 auto 0 0; width: 40%; z-index: 1;
  background: linear-gradient(90deg, var(--ink-2), transparent);
}

/* Past events */
.posters {
  margin-top: 28px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 44px);
}
.poster { display: grid; gap: 18px; align-content: start; }
.poster__frame {
  --rx: 0deg; --ry: 0deg;
  position: relative; display: block; width: 100%; padding: 0; cursor: zoom-in;
  border: 1px solid rgb(230 180 80 / .6); background: var(--ink-2);
  overflow: hidden; aspect-ratio: 4 / 5;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.poster__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.poster__frame:hover, .poster__frame:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 30px 60px -28px rgb(0 0 0 / .9), 0 0 40px -10px rgb(230 180 80 / .45);
}
.poster__frame:hover img { transform: scale(1.04); }
.poster__shine {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgb(255 230 170 / .18), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.poster__frame:hover .poster__shine { opacity: 1; }

.poster__meta { text-align: center; }
.poster__meta h3 {
  margin: 0; font: 800 clamp(1.4rem, 3.2vw, 1.8rem)/1.1 var(--f-display);
  letter-spacing: .08em; text-transform: uppercase;
}
.poster__when {
  margin: 6px 0 0; color: var(--gold);
  font-size: .8rem; letter-spacing: .3em; text-transform: uppercase;
}
/* ---------- Footer ---------- */
.footer {
  margin-top: clamp(64px, 10vw, 110px);
  padding: 40px var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--gold), transparent) 1;
  display: grid; justify-items: center; gap: 18px; text-align: center;
}
.brand--footer img { width: 64px; }
.footer p { margin: 0; color: var(--muted); font-size: .85rem; }

/* ---------- Lightbox ---------- */
.lightbox {
  padding: 0; border: 1px solid rgb(230 180 80 / .6); background: var(--ink);
  max-width: min(92vw, 640px); max-height: 92vh; overflow: visible;
}
.lightbox::backdrop { background: rgb(5 4 2 / .88); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lightbox[open] { animation: pop .35s var(--ease); }
.lightbox img { max-height: 90vh; width: auto; margin: auto; }
.lightbox__close {
  position: absolute; top: -18px; right: -18px; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--gold); background: var(--ink); color: var(--gold);
  font: 400 1.6rem/1 var(--f-body); cursor: pointer;
}
@keyframes pop { from { opacity: 0; transform: scale(.96); } }

/* ---------- Reveal on scroll (content is visible by default) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  .brand img { width: 42px; }
  .brand__text { font-size: .62rem; padding-left: 9px; letter-spacing: .26em; }
  .soon { grid-template-columns: 1fr; }
  .soon__stage { order: -1; min-height: 170px; }
  .soon__stage::before { inset: auto 0 0 0; width: auto; height: 40%; background: linear-gradient(transparent, var(--ink-2)); }
}
@media (max-width: 560px) {
  .posters { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .lightbox__close { top: 8px; right: 8px; }
}
@media (max-width: 480px) {
  .brand__text { display: none; }
}

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