/* ==========================================================================
   RISE THE NATION — THE HALL
   Built from the flyer: an empty concrete hall, one hard shaft from the
   roof, thick smoke, and a crowd standing dark against a blown-out wall.
   The light is BEHIND the people, not on them — everything here is rim and
   silhouette. No warm colour anywhere; the room is cold and the costumes
   are the only colour that survives.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@300;400;500;700;800&family=Anton&family=Space+Grotesk:wght@300;400;500&display=swap');

:root {
  --void:      #04060a;   /* the hall in shadow */
  --iron:      #0a0f16;
  --beam:      #dceaf8;   /* the shaft */
  --beam-cold: #a9c6e0;
  --smoke:     #8ba0b6;
  --smoke-dim: #7e93a8;
  --text:      #e7eef6;
  --text-soft: #ccdaea;

  --type-display: 'Anton', 'Arial Narrow', sans-serif;
  --type-body:    'Archivo', system-ui, sans-serif;
  --type-mono:    'Space Grotesk', monospace;

  --ease-film: cubic-bezier(.16, 1, .3, 1);
}

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

html { background: var(--void); color: var(--text); font-family: var(--type-body); -webkit-font-smoothing: antialiased; }
body { background: var(--void); overflow-x: hidden; }

/* ══ THE HALL ════════════════════════════════════════════════════════════ */
.hall {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 92%, #0b1119 0%, #05070c 55%, #030509 100%);
}

/* the far wall, and the blown-out patch of it the shaft is hitting */
.wall-glow {
  position: absolute;
  left: 50%;
  bottom: 22vh;
  width: 90vmin;
  height: 74vmin;
  transform: translateX(-50%) scale(var(--glow-scale, 1));
  background:
    radial-gradient(50% 50% at 50% 50%,
      rgba(220, 234, 248, .55) 0%,
      rgba(169, 198, 224, .22) 34%,
      rgba(120, 150, 180, .07) 58%,
      transparent 76%);
  filter: blur(18px);
  opacity: var(--glow, .9);
  transition: opacity 1s var(--ease-film);
}

/* the shaft itself, coming down out of the roof */
.shaft {
  position: absolute;
  top: -6vh;
  left: 50%;
  width: 34vmin;
  height: 92vh;
  transform: translateX(-50%) rotate(var(--shaft-tilt, 0deg));
  transform-origin: 50% 0;
  clip-path: polygon(46% 0%, 54% 0%, 88% 100%, 12% 100%);
  background: linear-gradient(180deg,
    rgba(220, 234, 248, .40) 0%,
    rgba(200, 222, 240, .14) 46%,
    rgba(180, 208, 232, .05) 78%,
    transparent 100%);
  filter: blur(10px);
  opacity: var(--shaft-power, 1);
}

/* smoke, thick and slow — the hall is full of it in the image */
.smoke {
  position: absolute;
  inset: -25%;
  pointer-events: none;
  opacity: .75;
  background:
    radial-gradient(38% 26% at 42% 46%, rgba(160, 190, 215, .16), transparent 70%),
    radial-gradient(44% 30% at 62% 38%, rgba(140, 172, 200, .13), transparent 72%),
    radial-gradient(52% 22% at 50% 62%, rgba(180, 205, 228, .10), transparent 74%);
  animation: smoke-roll 42s ease-in-out infinite alternate;
}
@keyframes smoke-roll {
  from { transform: translate3d(-2%, 1%, 0) scale(1); }
  to   { transform: translate3d(3%, -2%, 0) scale(1.12); }
}

/* the concrete, and the bright ellipse thrown on it in the foreground */
.floor {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 0;
  height: 30vh;
  background:
    linear-gradient(180deg, rgba(150, 178, 205, .12) 0%, transparent 62%),
    linear-gradient(180deg, #0a0e14 0%, #05070b 100%);
}
.floor-pool {
  position: absolute;
  left: 50%;
  bottom: 3vh;
  width: 62vmin;
  height: 17vmin;
  transform: translateX(-50%) scale(var(--pool-scale, 1));
  background: radial-gradient(50% 50% at 50% 50%,
    rgba(226, 238, 250, .62) 0%,
    rgba(180, 208, 232, .18) 44%,
    transparent 72%);
  filter: blur(8px);
  opacity: var(--pool, 1);
}

.dust { position: absolute; inset: 0; pointer-events: none; }

/* ══ FILM TREATMENT ══════════════════════════════════════════════════════ */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 90;
  pointer-events: none;
  opacity: .12;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-jitter .6s steps(3) infinite;
}
@keyframes grain-jitter {
  0%   { transform: translate3d(0, 0, 0); }
  33%  { transform: translate3d(-2%, 1.5%, 0); }
  66%  { transform: translate3d(1.5%, -1%, 0); }
  100% { transform: translate3d(-1%, -1.5%, 0); }
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  background: radial-gradient(68% 60% at 50% 52%, transparent 34%, rgba(0, 0, 0, .88) 100%);
}

/* ══ TYPE — thin, wide, cold. Nothing gold, nothing gradient. ═══════════ */
.title {
  font-family: var(--type-body);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: clamp(1.6rem, 4.4vw, 3.5rem);
  line-height: 1.25;
  text-indent: .14em;
  color: var(--text);
}
/* the opening frame carries the name of the whole thing — it gets weight */
.title-xl {
  font-weight: 800;
  font-size: clamp(2.4rem, 8vw, 6.4rem);
  letter-spacing: .12em;
  text-indent: .12em;
  line-height: 1.06;
  color: var(--beam);
}

.heavy {
  font-family: var(--type-display);
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: .94;
  font-size: clamp(2rem, 5vw, 4.2rem);
}

.kicker {
  font-family: var(--type-mono);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--beam);
}

.lede {
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  font-weight: 400;
  line-height: 1.72;
  color: var(--text-soft);
  max-width: 50ch;
}

.mono { font-family: var(--type-mono); font-weight: 300; }

/* ══ CONTROLS ════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid rgba(220, 234, 248, .26);
  background: rgba(220, 234, 248, .04);
  color: var(--text);
  font-family: var(--type-mono);
  font-size: .68rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .4s var(--ease-film), border-color .4s var(--ease-film),
              box-shadow .4s var(--ease-film);
}
.btn:hover {
  background: rgba(220, 234, 248, .12);
  border-color: rgba(220, 234, 248, .7);
  box-shadow: 0 0 50px rgba(190, 216, 240, .22);
}
.btn-lit { background: var(--beam); color: #04060a; border-color: var(--beam); }
.btn-lit:hover { background: #fff; color: #04060a; box-shadow: 0 0 70px rgba(220, 234, 248, .5); }

/* ══ FORM ════════════════════════════════════════════════════════════════ */
.field { margin-bottom: 15px; }
.field label {
  display: block;
  font-family: var(--type-mono);
  font-size: .6rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--smoke-dim);
  margin-bottom: 7px;
}
.field input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(220, 234, 248, .04);
  border: none;
  border-bottom: 1px solid rgba(220, 234, 248, .22);
  color: var(--text);
  font-family: var(--type-body);
  font-weight: 300;
  font-size: .94rem;
  transition: border-color .3s var(--ease-film), background .3s var(--ease-film);
}
.field input:focus {
  outline: none;
  border-bottom-color: var(--beam);
  background: rgba(220, 234, 248, .08);
}
.field input::placeholder { color: #4a5a6c; }

@media (prefers-reduced-motion: reduce) {
  .grain, .smoke { animation: none; }
}
