:root {
  --ink: #060914;
  --ink-soft: #0c1222;
  --cyan: #25d7ff;
  --cyan-soft: rgba(37, 215, 255, 0.2);
  --magenta: #ff4db8;
  --magenta-soft: rgba(255, 77, 184, 0.22);
  --gold: #ffba56;
  --lime: #c8ff19;
  --text: #f6fbff;
  --muted: #a9b9c7;
  --line: rgba(255, 255, 255, 0.16);
  --panel: rgba(8, 14, 29, 0.8);
  --max: 1160px;
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 77, 184, 0.2), transparent 28rem),
    radial-gradient(circle at 85% 18%, rgba(37, 215, 255, 0.16), transparent 26rem),
    linear-gradient(180deg, #050812 0%, #08101d 45%, #05070f 100%);
  color: var(--text);
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(37, 215, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 77, 184, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 80%, transparent);
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 8, 18, 0.76);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: flex;
  min-width: max-content;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.8rem;
  font-weight: 800;
}

.brand-mark img {
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(37, 215, 255, 0.38);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 24px rgba(37, 215, 255, 0.36);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.6rem);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav a {
  transition: color 180ms ease, text-shadow 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  text-shadow: 0 0 14px rgba(37, 215, 255, 0.7);
}

.hero {
  position: relative;
  display: grid;
  min-height: 84svh;
  overflow: hidden;
  place-items: center;
  padding: 5.7rem 1rem 2.8rem;
  border-bottom: 1px solid var(--line);
}

.hero-background {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(5, 8, 18, 0.35), rgba(5, 8, 18, 0.84)),
    url("assets/pyramid-logo.jpg") center / cover;
  filter: saturate(1.2) brightness(0.52);
  transform: scale(1.04);
}

.hero::before,
.hero::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.hero::before {
  bottom: -10rem;
  left: 50%;
  width: min(1180px, 140vw);
  height: 36rem;
  border-radius: 50%;
  background:
    repeating-conic-gradient(
      from 270deg,
      transparent 0deg 5deg,
      rgba(37, 215, 255, 0.28) 5.3deg 5.8deg,
      transparent 6.4deg 10deg
    );
  opacity: 0.5;
  transform: translateX(-50%) perspective(450px) rotateX(68deg);
}

.hero::after {
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(37, 215, 255, 0.18), transparent),
    linear-gradient(0deg, transparent 48%, rgba(255, 77, 184, 0.24), transparent 52%);
  mix-blend-mode: screen;
  opacity: 0.25;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(900px, 100%);
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo-orbit {
  position: relative;
  width: clamp(10rem, 24vw, 17rem);
  aspect-ratio: 1;
  margin-bottom: 1rem;
}

.logo-orbit::before,
.logo-orbit::after {
  position: absolute;
  inset: -0.9rem;
  content: "";
  border: 1px solid rgba(37, 215, 255, 0.26);
  border-radius: 50%;
  box-shadow:
    inset 0 0 42px rgba(37, 215, 255, 0.16),
    0 0 54px rgba(255, 77, 184, 0.22);
}

.logo-orbit::after {
  inset: -1.6rem;
  border-color: rgba(255, 186, 86, 0.18);
  transform: rotate(12deg);
}

.logo-orbit img {
  position: relative;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 50px rgba(37, 215, 255, 0.45),
    0 0 90px rgba(255, 77, 184, 0.34);
}

.eyebrow,
.section-kicker,
.event-day {
  margin: 0 0 0.85rem;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0.85rem;
  font-size: clamp(3rem, 8vw, 6.1rem);
  line-height: 0.92;
  text-shadow:
    0 0 16px rgba(37, 215, 255, 0.7),
    0 0 42px rgba(255, 77, 184, 0.52);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.05;
}

.hero-copy {
  width: min(690px, 100%);
  margin-bottom: 0.7rem;
  color: #dfeaff;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.62;
}

.hero-address {
  margin-bottom: 1.3rem;
  color: var(--gold);
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(255, 186, 86, 0.38);
}

.hero-actions,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  min-height: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 0.85rem 1.2rem;
  font-weight: 900;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(135deg, var(--magenta), var(--cyan));
  color: #03101a;
  box-shadow: 0 0 28px rgba(37, 215, 255, 0.36);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.band {
  position: relative;
  border-bottom: 1px solid var(--line);
  padding: clamp(4rem, 8vw, 7rem) 1rem;
}

main > section[id] {
  scroll-margin-top: 4.9rem;
}

.section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.intro {
  padding-top: clamp(3.25rem, 7vw, 5.5rem);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(12rem, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.intro-grid p:last-child,
.section-heading p,
.event-card p,
.artist-step p,
.contact-layout p {
  color: var(--muted);
  line-height: 1.75;
}

.section-heading {
  width: min(720px, 100%);
  margin-bottom: clamp(2rem, 5vw, 3.2rem);
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.event-card,
.artist-step,
.contact-form {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent),
    var(--panel);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.event-card {
  position: relative;
  min-height: 18rem;
  overflow: hidden;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.event-card > :not(.event-icon) {
  position: relative;
  z-index: 1;
}

.event-icon {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  z-index: 0;
  width: clamp(4.25rem, 7vw, 5.45rem);
  height: clamp(4.25rem, 7vw, 5.45rem);
  opacity: 0.42;
  overflow: visible;
  filter:
    drop-shadow(0 0 14px rgba(37, 215, 255, 0.34))
    drop-shadow(0 0 18px rgba(255, 77, 184, 0.24));
}

.event-icon .icon-prism,
.event-icon .icon-eye,
.event-icon .icon-rays,
.event-icon .icon-orbit {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.event-icon .icon-prism {
  stroke: rgba(37, 215, 255, 0.88);
  stroke-width: 3;
}

.event-icon .icon-prism.inner,
.event-icon .icon-eye,
.event-icon .icon-orbit {
  stroke: rgba(255, 77, 184, 0.82);
  stroke-width: 2.4;
}

.event-icon .icon-rays {
  stroke: rgba(200, 255, 25, 0.62);
  stroke-width: 2.2;
}

.event-icon .icon-orb {
  fill: rgba(255, 186, 86, 0.78);
  stroke: rgba(246, 251, 255, 0.82);
  stroke-width: 1.5;
}

.event-icon .icon-flame {
  fill: rgba(255, 77, 184, 0.18);
  stroke: rgba(255, 186, 86, 0.9);
  stroke-linejoin: round;
  stroke-width: 3;
}

.event-icon .icon-flame.core {
  fill: rgba(37, 215, 255, 0.18);
  stroke: rgba(255, 77, 184, 0.92);
  stroke-width: 2.4;
}

.event-icon .icon-flame.small {
  fill: rgba(255, 186, 86, 0.18);
  stroke-width: 2.3;
}

.event-card h3 {
  max-width: calc(100% - 5.6rem);
}

.wicked-icon {
  transform: rotate(7deg);
}

.flamin-icon {
  transform: rotate(-6deg);
}

.firejam-icon {
  transform: rotate(5deg);
}

.event-card:hover,
.event-card:focus-within {
  transform: translateY(-3px);
}

.wicked-event {
  border-color: rgba(114, 255, 102, 0.76);
}

.wicked-event:hover,
.wicked-event:focus-within {
  border-color: rgba(114, 255, 102, 0.95);
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.34),
    0 0 22px rgba(114, 255, 102, 0.36),
    0 0 58px rgba(114, 255, 102, 0.28),
    inset 0 0 24px rgba(114, 255, 102, 0.08);
}

.flamin-event {
  border-color: rgba(255, 77, 184, 0.76);
}

.flamin-event:hover,
.flamin-event:focus-within {
  border-color: rgba(255, 77, 184, 0.95);
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.34),
    0 0 22px rgba(255, 77, 184, 0.4),
    0 0 58px rgba(255, 77, 184, 0.3),
    inset 0 0 24px rgba(255, 77, 184, 0.08);
}

.firejam-event {
  border-color: rgba(37, 215, 255, 0.76);
}

.firejam-event:hover,
.firejam-event:focus-within {
  border-color: rgba(37, 215, 255, 0.95);
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.34),
    0 0 22px rgba(37, 215, 255, 0.4),
    0 0 58px rgba(37, 215, 255, 0.3),
    inset 0 0 24px rgba(37, 215, 255, 0.08);
}

.artists {
  background:
    linear-gradient(90deg, rgba(37, 215, 255, 0.08), transparent 40%),
    linear-gradient(270deg, rgba(255, 186, 86, 0.1), transparent 44%);
}

.artist-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.artist-panel {
  display: grid;
  gap: 1rem;
}

.artist-step {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1rem;
  padding: 1.25rem;
}

.artist-step span {
  grid-row: span 2;
  color: var(--cyan);
  font-size: 0.9rem;
  font-weight: 900;
}

.artist-step h3 {
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
}

.artist-step p {
  margin-bottom: 0;
}

.gallery-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.gallery-item {
  position: relative;
  min-height: 14rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 0;
  background: #07101d;
  cursor: pointer;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 240ms ease,
    filter 240ms ease;
}

.gallery-item:hover img,
.gallery-item:hover video,
.gallery-item:focus-visible img,
.gallery-item:focus-visible video {
  filter: saturate(1.18) brightness(1.1);
  transform: scale(1.035);
}

.gallery-item.square {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: 1;
}

.gallery-item.poster {
  grid-column: span 1;
  grid-row: span 2;
}

.gallery-item.tall,
.gallery-item.video-card {
  aspect-ratio: 3 / 4;
}

.video-card {
  box-shadow: inset 0 0 0 999px rgba(0, 0, 0, 0.08);
}

.play-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4rem;
  height: 4rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(5, 8, 18, 0.6);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(10px);
}

.play-indicator::after {
  position: absolute;
  top: 50%;
  left: 53%;
  width: 0;
  height: 0;
  border-top: 0.72rem solid transparent;
  border-bottom: 0.72rem solid transparent;
  border-left: 1.02rem solid var(--text);
  content: "";
  transform: translate(-50%, -50%);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.5rem);
}

label {
  display: grid;
  gap: 0.45rem;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  font: inherit;
  line-height: 1.4;
  outline: none;
  padding: 0.85rem 0.95rem;
}

select {
  color: var(--text);
}

option {
  color: #07101d;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(37, 215, 255, 0.75);
  box-shadow: 0 0 0 3px var(--cyan-soft);
}

.form-submit {
  width: fit-content;
  cursor: pointer;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem clamp(1rem, 4vw, 3rem);
  background: #04060d;
}

.site-footer p {
  margin-bottom: 0.2rem;
  font-weight: 900;
}

.site-footer span {
  color: var(--muted);
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
}

.instagram-link svg {
  width: 1.65rem;
  height: 1.65rem;
  fill: none;
  stroke: var(--magenta);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  filter: drop-shadow(0 0 12px rgba(255, 77, 184, 0.6));
}

.lightbox {
  width: min(92vw, 980px);
  max-height: 88vh;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 0;
  background: rgba(4, 6, 13, 0.96);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.68);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(8px);
}

.lightbox-stage {
  display: grid;
  min-height: min(72vh, 720px);
  place-items: center;
  padding: 3.2rem 1rem 1rem;
}

.lightbox-stage img,
.lightbox-stage video {
  max-width: 100%;
  max-height: 76vh;
  border-radius: 6px;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

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

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 86vh;
    padding-top: 8rem;
  }

  .intro-grid,
  .artist-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .event-grid {
    grid-template-columns: 1fr;
  }

  .event-card {
    min-height: auto;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .site-header {
    position: absolute;
  }

  main > section[id] {
    scroll-margin-top: 1rem;
  }

  .brand-mark span {
    font-size: 0.74rem;
  }

  .site-nav {
    gap: 0.45rem;
    font-size: 0.78rem;
  }

  .hero {
    min-height: 92vh;
    padding-top: 8.8rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.square,
  .gallery-item.poster {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-item.square,
  .gallery-item.poster,
  .gallery-item.tall,
  .gallery-item.video-card {
    aspect-ratio: 4 / 5;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
