:root {
  --paper: #f2eee6;
  --ink: #0a0a09;
  --red: #ef241c;
  --muted: #9b9b98;
  --line: rgba(10, 10, 9, 0.18);
  --pad: clamp(1.25rem, 4vw, 4.5rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.35;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

[hidden] {
  display: none !important;
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  background: white;
  color: black;
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

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

.site-header {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0 var(--pad);
  background: var(--ink);
  color: white;
  border-bottom: 1px solid #2b2b2b;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  width: max-content;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: 1.35rem;
  line-height: 1;
}

.brand-mark {
  width: 44px;
  height: 20px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  background: transparent;
  overflow: visible;
}

.brand-mark img {
  width: 44px;
  height: 20px;
  object-fit: contain;
}

.site-header nav {
  display: none;
}

.site-header nav .nav-ticket {
  color: var(--red);
}

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

.hero {
  min-height: calc(100svh - 76px);
  display: grid;
  align-items: stretch;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 9vw, 8rem) var(--pad);
}

.eyebrow,
.section-label {
  margin: 0 0 2rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.hero h1,
.event-info h1,
.event-info h2,
.upcoming h2,
.sound h2,
.about h2,
.connect h2 {
  margin: 0;
  font-size: clamp(3.25rem, 13.2vw, 10.5rem);
  line-height: 0.82;
  letter-spacing: -0.075em;
  font-weight: 950;
}

.hero h1 span {
  color: var(--red);
}

.claim-line {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 2.5rem;
}

.claim-line > span {
  width: 48px;
  height: 8px;
  margin-top: 0.35rem;
  background: var(--red);
  flex: 0 0 auto;
}

.claim-line p {
  margin: 0;
  font-style: italic;
  font-size: 0.95rem;
}

.hero-event {
  position: relative;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  overflow: hidden;
  background: #222;
  color: white;
  text-decoration: none;
}

.hero-event-image {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  background:
    #050505
    url("/assets/nightmare-mansion-card.png")
    center / contain
    no-repeat;
  transition: transform 350ms ease;
}

.hero-event:hover .hero-event-image {
  filter: brightness(1.08);
}

.hero-event-meta,
.hero-event-cta {
  position: relative;
  z-index: 1;
}

.hero-event-meta {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  top: 1.25rem;
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

.hero-event-meta strong {
  color: var(--red);
}

.hero-event-cta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: clamp(2.4rem, 9vw, 5.5rem);
  font-weight: 950;
  line-height: 0.88;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  flex: 0 0 auto;
  padding: 1.25rem;
  background: var(--ink);
}

.hero-event-cta span {
  color: var(--red);
}

/* =========================================================
   NEXT EVENT
   ========================================================= */

.event-section {
  padding: 5rem var(--pad);
  background: var(--ink);
  color: white;
}

.section-label {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.section-label span {
  color: var(--red);
}

.event-grid {
  display: grid;
  gap: 2rem;
}

.event-visual {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.event-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.event-visual > span {
  position: absolute;
  left: 1rem;
  top: 1rem;
  padding: 0.75rem 1rem;
  background: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.65rem;
  font-weight: 900;
}

.event-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.event-kicker {
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
}

.event-info h1,
.event-info h2 {
  font-size: clamp(3rem, 8vw, 7rem);
}

dl {
  width: 100%;
  margin: 2.5rem 0;
  border-top: 1px solid #333;
}

dl div {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid #333;
}

dt {
  color: #858585;
  text-transform: uppercase;
  font-size: 0.67rem;
  letter-spacing: 0.2em;
}

dd {
  margin: 0;
  font-weight: 800;
}

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

.button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border: 0;
  text-transform: uppercase;
  text-decoration: none;
  font-family: inherit;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

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

.button-red {
  background: var(--red);
  color: white;
}

.button-black {
  background: var(--ink);
  color: white;
}

/* =========================================================
   UPCOMING
   ========================================================= */

.upcoming {
  padding: 5rem var(--pad);
}

.section-label-dark {
  color: var(--ink);
}

.upcoming-grid {
  display: grid;
  gap: 2rem;
}

.upcoming h2 {
  font-size: clamp(4.2rem, 18vw, 12rem);
}

.coming-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  background: var(--red);
  color: white;
}

.coming-card p {
  margin: 0;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
}

.coming-card strong {
  font-size: clamp(3.4rem, 14vw, 7rem);
  line-height: 0.82;
  letter-spacing: -0.065em;
}

.coming-card a {
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-underline-offset: 0.3rem;
}

/* =========================================================
   SOUND / SPOTIFY
   ========================================================= */

.sound {
  display: grid;
  background: var(--red);
  color: white;
}

.sound-copy,
.spotify-frame {
  padding: 4rem var(--pad);
}

.sound h2 {
  font-size: clamp(4.5rem, 20vw, 13rem);
}

.sound-copy > p {
  max-width: 28rem;
  margin: 1.8rem 0;
  font-size: 1.1rem;
}

.spotify-frame {
  display: flex;
  align-items: center;
  background: #ca1c15;
}

.spotify-frame iframe {
  border: 0;
  border-radius: 0;
}

.spotify-consent-placeholder {
  width: 100%;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--paper);
  color: var(--ink);
}

.spotify-consent-placeholder[hidden] {
  display: none;
}

.spotify-consent-placeholder .eyebrow {
  margin-bottom: 1rem;
  color: var(--red);
}

.spotify-consent-placeholder > strong {
  display: block;
  margin-bottom: 0.8rem;
  font-size: clamp(1.8rem, 6vw, 3rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.spotify-consent-placeholder > p {
  margin: 0 0 1.5rem;
  max-width: 32rem;
}

#spotify-embed[hidden] {
  display: none;
}

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

.about {
  display: grid;
  background: var(--paper);
}

.about-image {
  min-height: 380px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-copy {
  padding: 5rem var(--pad);
}

.about > *,
.hero > *,
.event-grid > *,
.sound > *,
.upcoming-grid > * {
  min-width: 0;
}

.about h2 {
  font-size: clamp(2.75rem, 12vw, 10rem);
}

.event-landing .about h2 {
  font-size: clamp(2.75rem, 7vw, 6.5rem);
}

.about-copy > p:not(.about-claim) {
  max-width: 40rem;
  margin: 2.5rem 0;
  font-size: clamp(1.15rem, 2.3vw, 1.8rem);
}

.about-claim {
  color: var(--red);
  font-weight: 800;
  font-style: italic;
}

/* =========================================================
   CONNECT
   ========================================================= */

.connect {
  padding: 5rem var(--pad) 6rem;
  background: var(--ink);
  color: white;
}

.connect h2 {
  max-width: 1000px;
  font-size: clamp(4rem, 18vw, 13rem);
}

.connect-links {
  margin-top: 3rem;
  border-top: 1px solid #3a3a3a;
}

.connect-links a {
  display: grid;
  gap: 0.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid #3a3a3a;
  text-decoration: none;
}

.connect-links span {
  color: #8c8c8c;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.65rem;
}

.connect-links strong {
  font-size: clamp(1.15rem, 4vw, 2rem);
  overflow-wrap: anywhere;
}

.connect-links a:hover strong {
  color: var(--red);
}

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

footer {
  padding: 2rem var(--pad) 6rem;
  display: grid;
  gap: 1rem;
  align-items: center;
  background: var(--ink);
  color: white;
  border-top: 1px solid #2d2d2d;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.footer-brand span {
  color: var(--red);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links button,
.footer-links a {
  padding: 0;
  border: 0;
  background: none;
  color: white;
  font: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
  text-decoration: underline;
  cursor: pointer;
}

footer p {
  margin: 0;
  color: #777;
}

/* =========================================================
   MOBILE TICKET CTA
   ========================================================= */

.mobile-ticket {
  position: fixed;
  z-index: 30;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 1rem;
  background: var(--red);
  color: white;
  text-decoration: none;
  text-align: center;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* =========================================================
   LEGAL
   ========================================================= */

dialog {
  width: min(92vw, 650px);
  max-height: 85vh;
  overflow-y: auto;
  padding: 2rem;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 24px 100px rgba(0, 0, 0, 0.4);
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
}

dialog h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(3rem, 10vw, 6rem);
  line-height: 0.85;
  letter-spacing: -0.06em;
}

dialog a {
  color: var(--red);
}

.dialog-close {
  float: right;
  border: 0;
  background: none;
  font-size: 2rem;
  cursor: pointer;
}

.legal-copy {
  font-size: 0.95rem;
  line-height: 1.55;
}

.legal-copy h3 {
  margin: 2rem 0 0.6rem;
  font-size: 0.78rem;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-copy p {
  margin: 0 0 1rem;
}

.legal-copy a {
  overflow-wrap: anywhere;
}

/* =========================================================
   CONSENT
   ========================================================= */

body.consent-open {
  overflow: hidden;
}

.consent-layer[hidden] {
  display: none;
}

.consent-layer {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.72);
}

.consent-box {
  width: min(100%, 680px);
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(1.4rem, 4vw, 2.5rem);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 24px 100px rgba(0, 0, 0, 0.45);
}

.consent-box .eyebrow {
  margin-bottom: 0.9rem;
  color: var(--red);
}

.consent-box > h2 {
  margin: 0 0 1.1rem;
  font-size: clamp(2.6rem, 10vw, 5rem);
  line-height: 0.85;
  letter-spacing: -0.06em;
  font-weight: 950;
}

.consent-intro {
  max-width: 580px;
  margin: 0 0 1.6rem;
  line-height: 1.5;
}

.consent-main-actions {
  display: grid;
  gap: 0.65rem;
}

.consent-main-actions .button {
  text-align: left;
}

.consent-settings-button {
  padding: 0.85rem 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: underline;
  cursor: pointer;
}

.consent-detail-settings[hidden] {
  display: none;
}

.consent-detail-settings {
  margin-top: 0.5rem;
}

.consent-options {
  margin: 0 0 1.25rem;
  border-top: 1px solid var(--line);
}

.consent-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.consent-option span {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.consent-option strong {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.consent-option small {
  color: #666;
  line-height: 1.35;
}

.consent-option input {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  accent-color: var(--red);
}

.consent-required {
  cursor: default;
}

.consent-detail-actions {
  display: grid;
  gap: 0.65rem;
}

.consent-back {
  padding: 0.8rem 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: underline;
  cursor: pointer;
}

.consent-legal {
  margin: 1.15rem 0 0;
  font-size: 0.72rem;
  color: #666;
}

.consent-legal button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

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

@media (max-width: 759px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 70px;
    gap: 0.55rem;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }

  .brand {
    gap: 0.35rem;
    font-size: 0.82rem;
  }

  .brand-mark {
    width: 25px;
    height: 14px;
    flex-basis: 25px;
  }

  .brand-mark img {
    width: 25px;
    height: 14px;
  }

  .site-header nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(0.38rem, 1.8vw, 0.7rem);
    min-width: 0;
  }

  .site-header nav a {
    color: #b1b1b1;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    font-size: clamp(0.43rem, 1.85vw, 0.55rem);
    line-height: 1;
    letter-spacing: 0.045em;
    font-weight: 800;
  }

  .site-header nav .nav-ticket {
    color: var(--red);
  }

  .site-header nav a:active {
    color: white;
  }

  .site-header nav .nav-ticket:active {
    color: var(--red);
  }

  .hero {
    min-height: calc(100svh - 70px);
  }

  .consent-layer {
    padding: 0.75rem;
  }

  .consent-box {
    max-height: 88vh;
    padding: 1.4rem;
  }

  .consent-box > h2 {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .consent-intro {
    font-size: 0.94rem;
  }
}

/* =========================================================
   TABLET + DESKTOP
   ========================================================= */

@media (min-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: flex;
    gap: 2rem;
  }

  .site-header nav a {
    color: #b1b1b1;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.65rem;
    font-weight: 800;
  }

  .site-header nav a:hover {
    color: white;
  }

  .site-header nav .nav-ticket {
    color: var(--red);
  }

  .site-header nav .nav-ticket:hover {
    color: var(--red);
  }

  .hero {
    grid-template-columns: 56% 44%;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 7.8vw, 8rem);
  }

  .hero-event-cta {
    font-size: clamp(2.4rem, 6.5vw, 5.5rem);
  }

  .hero-event {
    min-height: 620px;
  }

  .event-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
  }

  .event-visual {
    min-height: 620px;
  }

  .event-info {
    padding-left: clamp(1rem, 3vw, 4rem);
  }

  .upcoming-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: stretch;
  }

  .coming-card strong {
    font-size: clamp(3.4rem, 8vw, 7rem);
  }

  .sound {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .about {
    grid-template-columns: 46% 54%;
  }

  .about-image {
    min-height: 720px;
  }

  .connect-links a {
    grid-template-columns: 12rem 1fr;
    align-items: baseline;
  }

  footer {
    grid-template-columns: 1fr auto auto;
    padding-bottom: 2rem;
  }

  .mobile-ticket {
    display: none;
  }

  .consent-layer {
    align-items: center;
  }

  .consent-main-actions {
    grid-template-columns: 1fr 1fr;
  }

  .consent-settings-button {
    grid-column: 1 / -1;
  }
}

/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (min-width: 1200px) {
  .hero-copy {
    padding-right: 2rem;
  }

  .event-section,
  .upcoming {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}