/* ============================================================
   THE VOLT — concept demo site (Swenson Digital portfolio piece)
   Dark, kinetic, neon-adjacent. No real photography — visuals are
   built from gradients, canvas, and type instead.
   ============================================================ */

:root {
  --bg: #08080b;
  --bg-alt: #131217;
  --surface: #18171d;
  --ink: #f6f4ef;
  --muted: #9d99a8;
  --volt: #e4ff3d;
  --magenta: #ff2ec4;
  --violet: #8b5cf6;
  --line: rgba(246, 244, 239, 0.12);
  --line-soft: rgba(246, 244, 239, 0.07);

  --font-display: "Unbounded", "Arial Black", sans-serif;
  --font-body: "Space Grotesk", "Segoe UI", sans-serif;

  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--volt);
  color: #0a0a0d;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  z-index: 300;
}
.skip-link:focus { left: 1rem; top: 1rem; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--volt);
  margin-bottom: 1em;
}
.eyebrow::before {
  content: "";
  width: 1.6em;
  height: 2px;
  background: var(--volt);
}

.section-sub {
  color: var(--muted);
  max-width: 46ch;
  font-size: 1.05rem;
}

section { position: relative; padding: clamp(4rem, 9vw, 7rem) 0; }

/* ============ GRAIN + PROGRESS ============ */

.grain {
  position: fixed;
  inset: 0;
  z-index: 250;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
}

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--volt), var(--magenta));
  z-index: 260;
  transition: width 0.08s linear;
}

/* ============ PRELOADER ============ */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.25rem;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader.is-hidden { opacity: 0; visibility: hidden; }
.preloader-mark {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  letter-spacing: 0.02em;
  color: var(--ink);
}
.preloader-mark span { color: var(--volt); }
.preloader-bar {
  width: min(220px, 60vw);
  height: 2px;
  background: var(--line);
  overflow: hidden;
}
.preloader-bar::after {
  content: "";
  display: block;
  height: 100%;
  width: 40%;
  background: var(--volt);
  animation: preload-sweep 1.1s ease-in-out infinite;
}
@keyframes preload-sweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}
@media (prefers-reduced-motion: reduce) {
  .preloader { display: none; }
}

/* ============ CUSTOM CURSOR ============ */

.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 270;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
  opacity: 0;
  transition: opacity 0.2s ease;
}
body.has-custom-cursor .cursor-dot,
body.has-custom-cursor .cursor-ring {
  opacity: 1;
}
.cursor-dot {
  width: 7px; height: 7px;
  background: var(--volt);
}
.cursor-ring {
  width: 34px; height: 34px;
  border: 1.5px solid rgba(228, 255, 61, 0.5);
  transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.cursor-ring.is-active {
  width: 54px; height: 54px;
  border-color: var(--magenta);
}
body.cursor-none, body.cursor-none a, body.cursor-none button {
  cursor: none;
}

/* ============ HEADER ============ */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: linear-gradient(to bottom, rgba(8,8,11,0.85), transparent);
  padding: 1.1rem 0;
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(8, 8, 11, 0.86);
  backdrop-filter: blur(10px);
  padding: 0.8rem 0;
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--ink);
}
.logo-bolt { color: var(--volt); }

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.4vw, 2rem);
}
.primary-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--ink); }
.primary-nav .nav-cta {
  color: #0a0a0d;
  background: var(--volt);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
}
.primary-nav .nav-cta:hover { background: var(--ink); color: #0a0a0d; }

/* ============ HERO ============ */

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  overflow: hidden;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at center, transparent 30%, var(--bg) 92%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5em 1.1em;
  margin-bottom: 1.6rem;
}
.hero-tag .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--volt);
  box-shadow: 0 0 10px var(--volt);
}
.hero h1 {
  font-size: clamp(3rem, 9vw, 7.2rem);
  text-transform: uppercase;
  margin-bottom: 0.3em;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .accent { color: var(--volt); }
.hero h1 .accent-alt { color: var(--magenta); }
.hero-sub {
  max-width: 42ch;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--muted);
  margin-bottom: 2.2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero-scroll-cue {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero-scroll-cue .cue-line {
  width: 1px; height: 34px;
  background: linear-gradient(to bottom, var(--volt), transparent);
  animation: cue-pulse 1.8s ease-in-out infinite;
}
@keyframes cue-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ============ BUTTONS ============ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  background: var(--volt);
  color: #0a0a0d;
}
.btn-primary:hover { background: var(--ink); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-magnetic { position: relative; }

/* ============ MARQUEE ============ */

.marquee-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 1.1rem 0;
  overflow: hidden;
}
.marquee-band.alt {
  background: var(--volt);
  border-color: var(--volt);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 26s linear infinite;
}
.marquee-band.alt .marquee-track { animation-duration: 20s; animation-direction: reverse; }
.marquee-track span {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  text-transform: uppercase;
  padding: 0 1.5rem;
  white-space: nowrap;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
}
.marquee-band.alt .marquee-track span { color: #0a0a0d; }
.marquee-track span::after { content: "\2726"; color: var(--volt); font-size: 0.7em; }
.marquee-band.alt .marquee-track span::after { color: #0a0a0d; opacity: 0.5; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ============ STATS ============ */

.stats { background: var(--bg-alt); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--ink);
  display: block;
}
.stat-num .accent { color: var(--volt); }
.stat-label {
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
@media (max-width: 800px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============ SHOWS ============ */

.shows-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.show-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.show-row {
  display: grid;
  grid-template-columns: 90px 1fr auto auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  position: relative;
  transition: padding-left 0.3s ease;
}
.show-row:hover, .show-row:focus-visible { padding-left: 0.75rem; }
.show-date {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.2;
}
.show-date strong { display: block; font-size: 1.6rem; color: var(--ink); }
.show-info h3 { margin: 0 0 0.2em; font-size: clamp(1.15rem, 2.4vw, 1.6rem); }
.show-info p { margin: 0; font-size: 0.9rem; }
.show-swatch {
  width: 46px; height: 46px;
  border-radius: 10px;
  flex-shrink: 0;
  background: var(--swatch, linear-gradient(135deg, var(--volt), var(--magenta)));
  opacity: 0;
  transform: scale(0.6) rotate(-8deg);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.show-row:hover .show-swatch, .show-row:focus-visible .show-swatch {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
.show-link {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: var(--muted);
  transition: color 0.2s ease;
}
.show-row:hover .show-link, .show-row:focus-visible .show-link { color: var(--volt); }
@media (max-width: 640px) {
  .show-row { grid-template-columns: 70px 1fr; row-gap: 0.4rem; }
  .show-swatch, .show-link { display: none; }
}

/* ============ VENUE / ABOUT ============ */

.venue {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.venue-art {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  background: radial-gradient(circle at 30% 20%, rgba(228,255,61,0.25), transparent 55%),
              radial-gradient(circle at 75% 75%, rgba(255,46,196,0.28), transparent 55%),
              var(--surface);
  border: 1px solid var(--line);
}
.venue-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.venue-art .layer-back { transform: translateY(0); }
.venue-art .layer-front { transform: translateY(0); }
.venue ul {
  list-style: none;
  margin: 1.6rem 0 2rem;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}
.venue ul li {
  display: flex;
  align-items: baseline;
  gap: 0.7em;
  color: var(--ink);
  font-weight: 500;
}
.venue ul li::before { content: "\26A1"; color: var(--volt); font-size: 0.85em; }
@media (max-width: 820px) {
  .venue { grid-template-columns: 1fr; }
}

/* ============ TESTIMONIALS ============ */

.testimonial-band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.testimonial-track {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  animation: marquee-scroll 34s linear infinite;
}
.testimonial-card {
  width: min(420px, 82vw);
  flex-shrink: 0;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg);
}
.testimonial-card p { color: var(--ink); font-size: 1.05rem; margin-bottom: 1rem; }
.testimonial-card footer { font-size: 0.85rem; color: var(--muted); }
.testimonial-card footer strong { color: var(--volt); }
@media (prefers-reduced-motion: reduce) {
  .testimonial-track { animation: none; flex-wrap: wrap; }
}

/* ============ BOOKING CTA ============ */

.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(2.2rem, 6vw, 4rem); }
.cta-band .section-sub { margin: 0 auto 2rem; }
.cta-band .btn { font-size: 1.05rem; padding: 1.15rem 2.4rem; }

/* ============ BOOK FORM ============ */

.book-form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: start;
}
.field-group { margin-bottom: 1.2rem; }
.field-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.5em;
}
.field-group input, .field-group select, .field-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.98rem;
}
.field-group input:focus, .field-group select:focus, .field-group textarea:focus {
  outline: none;
  border-color: var(--volt);
}
.field-group textarea { resize: vertical; min-height: 110px; }

.placeholder-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(255, 46, 196, 0.16);
  color: var(--magenta);
  padding: 0.2em 0.55em;
  border-radius: 5px;
  margin-left: 0.5em;
}

@media (max-width: 800px) {
  .book-form-wrap { grid-template-columns: 1fr; }
}

/* ============ FOOTER ============ */

.site-footer { border-top: 1px solid var(--line); padding: 3.5rem 0 2rem; background: var(--bg-alt); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}
.footer-tagline { max-width: 34ch; }
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { text-decoration: none; color: var(--muted); font-size: 0.95rem; }
.footer-links a:hover { color: var(--volt); }
.footer-heading {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
  margin-bottom: 1rem;
}
.footer-bottom-row {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.demo-disclosure {
  margin-top: 1.2rem;
  padding: 1rem 1.2rem;
  border: 1px dashed var(--line);
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 60ch;
}
.demo-disclosure strong { color: var(--ink); }
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============ SCROLL REVEAL ============ */

.js-motion .stat-item,
.js-motion .show-row,
.js-motion .venue-copy > *,
.js-motion .book-form-wrap > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js-motion .stat-item.is-visible,
.js-motion .show-row.is-visible,
.js-motion .venue-copy > *.is-visible,
.js-motion .book-form-wrap > *.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js-motion .hero h1 .line span {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  animation: line-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes line-rise {
  to { opacity: 1; transform: translateY(0); }
}
.js-motion .hero-tag,
.js-motion .hero-sub,
.js-motion .hero-actions,
.js-motion .hero-scroll-cue {
  opacity: 0;
  transform: translateY(14px);
  animation: fade-up 0.7s ease forwards;
}
.js-motion .hero-tag { animation-delay: 0.05s; }
.js-motion .hero-sub { animation-delay: 0.5s; }
.js-motion .hero-actions { animation-delay: 0.62s; }
.js-motion .hero-scroll-cue { animation-delay: 1s; }
@keyframes fade-up {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .js-motion .stat-item, .js-motion .show-row, .js-motion .venue-copy > *,
  .js-motion .book-form-wrap > *,
  .js-motion .hero h1 .line span, .js-motion .hero-tag, .js-motion .hero-sub,
  .js-motion .hero-actions, .js-motion .hero-scroll-cue {
    opacity: 1; transform: none; animation: none;
  }
  .cursor-dot, .cursor-ring, .scroll-progress, .hero-scroll-cue .cue-line { display: none; }
}

/* ============ MOBILE NAV ============ */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  /* The open .primary-nav panel is position:fixed and covers the header
     area too, so without this it paints over the toggle button (later in
     DOM order) and the button becomes unclickable to close the menu. */
  position: relative;
  z-index: 210;
}
.nav-toggle span {
  display: block;
  width: 16px; height: 2px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--bg-alt);
    border-left: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.8rem;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }
  .site-header.nav-open .primary-nav { transform: translateX(0); }
  .primary-nav a { font-size: 1.15rem; }
  .site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
