:root {
  --bg: #08070a;
  --bg-soft: #100d12;
  --surface: #151117;
  --surface-2: #1d171e;
  --text: #f2e8df;
  --muted: #b7a9a7;
  --accent: #d50b3f;
  --accent-dark: #8d082f;
  --accent-hot: #ff164f;
  --purple: #6d2e79;
  --line: rgba(242, 232, 223, 0.14);
  --shadow: 0 24px 70px rgba(0,0,0,.45);
  --display: "Barlow Condensed", Impact, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background-color: var(--bg);
  background-image: linear-gradient(rgba(8,7,10,.78), rgba(8,7,10,.90)), url('assets/earthbrake-site-background.png');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  font-family: var(--body);
  line-height: 1.6;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.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: fixed; left: 16px; top: -80px; background: white; color: black; padding: 12px 16px; z-index: 9999; transition: top .2s; }
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(8,7,10,.86);
  backdrop-filter: blur(18px);
  border-color: var(--line);
}
.nav-wrap { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { width: 88px; filter: drop-shadow(0 8px 18px rgba(0,0,0,.45)); }
.brand img { aspect-ratio: 1; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 28px; font-family: var(--display); text-transform: uppercase; font-size: 1.05rem; font-weight: 700; letter-spacing: .06em; }
.main-nav a { position: relative; padding: 8px 0; }
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px; background: var(--accent); transition: right .2s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.nav-cta { background: var(--accent); padding: 11px 20px !important; transform: skew(-7deg); box-shadow: 0 8px 24px rgba(213,11,63,.25); }
.nav-cta:hover { background: var(--accent-hot); }
.menu-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line); background: rgba(0,0,0,.2); align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer; }
.menu-toggle span { width: 22px; height: 2px; background: var(--text); transition: transform .2s, opacity .2s; }

.hero { min-height: 920px; height: 100svh; position: relative; display: grid; align-items: center; isolation: isolate; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -4; background-image: url('assets/earthbrake-site-background.png'); background-size: cover; background-position: center; transform: scale(1.04); }
.hero-overlay { position: absolute; inset: 0; z-index: -3; background:
  linear-gradient(90deg, rgba(4,3,5,.92) 0%, rgba(4,3,5,.72) 38%, rgba(4,3,5,.30) 66%, rgba(4,3,5,.62) 100%),
  linear-gradient(0deg, var(--bg) 0%, transparent 24%, rgba(0,0,0,.22) 100%); }
.hero-grain { position: absolute; inset: 0; z-index: -2; opacity: .20; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.12) .55px, transparent .55px); background-size: 5px 5px; mix-blend-mode: soft-light; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(260px, .55fr); align-items: end; gap: 80px; padding-top: 118px; }
.hero-copy { max-width: 720px; }
.eyebrow, .section-kicker { margin: 0 0 16px; color: var(--accent-hot); font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before, .section-kicker::before { content: ""; display: inline-block; width: 44px; height: 3px; background: currentColor; margin: 0 12px 4px 0; }
.hero h1, .section h2, .newsletter h2 { font-family: var(--display); text-transform: uppercase; line-height: .88; letter-spacing: -.035em; margin: 0; }
.hero h1 { font-size: clamp(4.6rem, 9vw, 9rem); max-width: 900px; text-shadow: 0 10px 36px rgba(0,0,0,.55); }
.hero h1 span, .section h2 span { color: var(--accent); }
.hero-text { max-width: 650px; margin: 26px 0 0; color: #e3d7d0; font-size: clamp(1rem, 1.4vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; border: 1px solid transparent; font-family: var(--display); font-size: 1.16rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--accent); box-shadow: 0 14px 34px rgba(213,11,63,.28); }
.btn-primary:hover { background: var(--accent-hot); }
.btn-ghost { border-color: rgba(255,255,255,.5); background: rgba(0,0,0,.18); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: white; background: rgba(255,255,255,.08); }
.hero-badge { justify-self: end; width: min(280px, 100%); border: 1px solid rgba(255,255,255,.22); background: rgba(7,5,8,.62); padding: 28px; backdrop-filter: blur(12px); transform: rotate(-2deg); box-shadow: var(--shadow); }
.badge-kicker, .badge-sub { font-family: var(--display); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.badge-main { color: var(--accent-hot); font-family: var(--display); text-transform: uppercase; font-weight: 900; font-size: 4.2rem; line-height: .95; margin: 10px 0; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; color: var(--muted); }
.scroll-cue span { width: 1px; height: 38px; background: linear-gradient(var(--accent), transparent); animation: scrollCue 1.8s infinite; }
@keyframes scrollCue { 0%,100%{transform:scaleY(.5);transform-origin:top}50%{transform:scaleY(1);transform-origin:top} }

.countdown-strip { position: relative; z-index: 2; background: var(--accent); border-block: 1px solid rgba(255,255,255,.22); }
.countdown-wrap { min-height: 142px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.countdown-wrap > p { margin: 0; font-family: var(--display); font-size: clamp(1.8rem,4vw,3.6rem); text-transform: uppercase; font-weight: 900; letter-spacing: -.02em; }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(82px, 1fr)); gap: 10px; }
.countdown div { min-width: 92px; text-align: center; padding: 14px 10px; border-left: 1px solid rgba(255,255,255,.28); }
.countdown strong { display: block; font-family: var(--display); font-size: 2.2rem; line-height: 1; }
.countdown span { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; opacity: .82; }

.section { position: relative; padding: 130px 0; }
.section-dark { background: rgba(8,7,10,.91); backdrop-filter: blur(2px); }
.section-dark::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 8% 16%, rgba(109,46,121,.16), transparent 30%), radial-gradient(circle at 95% 75%, rgba(213,11,63,.1), transparent 28%); }
.section h2, .newsletter h2 { font-size: clamp(3.2rem, 6vw, 6rem); }
.section p { color: var(--muted); }
.section-kicker.light { color: #f8dfe7; }
.split-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.section-copy > p:not(.section-kicker) { font-size: 1.06rem; max-width: 610px; }
.mini-stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-top: 38px; }
.mini-stats div { padding: 18px 16px; border-top: 1px solid var(--line); }
.mini-stats strong { display: block; font-family: var(--display); font-size: 2.6rem; color: var(--text); }
.mini-stats span { display: block; color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.poster-frame { margin: 0; position: relative; background: #0a080a; border: 1px solid var(--line); box-shadow: var(--shadow); transform: rotate(1deg); }
.poster-frame::before { content: ""; position: absolute; inset: -18px 22px 18px -22px; border: 1px solid rgba(213,11,63,.38); z-index: -1; }
.poster-frame img { width: 100%; }
.poster-frame figcaption { padding: 12px 16px; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }

.lineup-section { background: linear-gradient(180deg, rgba(13,10,14,.94) 0%, rgba(22,13,18,.94) 100%); overflow: hidden; }
.lineup-section::before { content: "EARTHBRAKE"; position: absolute; top: 70px; left: 50%; transform: translateX(-50%); font-family: var(--display); font-size: clamp(8rem,20vw,20rem); font-weight: 900; line-height: .7; color: rgba(255,255,255,.025); white-space: nowrap; pointer-events: none; }
.section-heading { position: relative; display: grid; grid-template-columns: 1fr .55fr; gap: 80px; align-items: end; margin-bottom: 60px; }
.section-heading > p { margin: 0 0 8px; max-width: 440px; }
.day-tabs { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--line); }
.day-tab { border: 0; border-right: 1px solid var(--line); background: rgba(255,255,255,.02); min-height: 100px; padding: 20px; cursor: pointer; font-family: var(--display); font-size: 1.5rem; font-weight: 800; text-transform: uppercase; transition: background .2s, color .2s; }
.day-tab:last-child { border-right: 0; }
.day-tab span { display: block; color: var(--muted); font-size: .9rem; letter-spacing: .08em; }
.day-tab.is-active { background: var(--accent); }
.day-tab.is-active span { color: #ffeef3; }
.lineup-panels { border: 1px solid var(--line); border-top: 0; background: rgba(0,0,0,.28); }
.lineup-panel { min-height: 330px; padding: 64px 44px; display: grid; place-content: center; text-align: center; position: relative; overflow: hidden; }
.lineup-panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(213,11,63,.18), transparent 46%); }
.lineup-headliner { position: relative; font-family: var(--display); font-size: clamp(3rem,7vw,7rem); line-height: .9; font-weight: 900; text-transform: uppercase; }
.lineup-support { position: relative; margin-top: 18px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }

.experience-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.experience-card { position: relative; min-height: 280px; padding: 30px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.012)); overflow: hidden; transition: transform .25s, border-color .25s, background .25s; }
.experience-card:hover { transform: translateY(-8px); border-color: rgba(213,11,63,.55); background: linear-gradient(145deg, rgba(213,11,63,.12), rgba(255,255,255,.018)); }
.experience-card::after { content: ""; position: absolute; right: -55px; bottom: -55px; width: 160px; height: 160px; border: 1px solid rgba(213,11,63,.2); border-radius: 50%; box-shadow: 0 0 0 24px rgba(213,11,63,.035), 0 0 0 48px rgba(213,11,63,.025); }
.card-number { font-family: var(--display); font-size: 1rem; color: var(--accent-hot); letter-spacing: .12em; }
.experience-card h3 { margin: 42px 0 12px; font-family: var(--display); font-size: 2.2rem; text-transform: uppercase; }
.experience-card p { margin: 0; max-width: 300px; }

.ticket-section { background: var(--accent); overflow: hidden; }
.ticket-section::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(0,0,0,.1), transparent 48%, rgba(0,0,0,.16)); }
.ticket-noise { position: absolute; inset: 0; opacity: .13; background-image: radial-gradient(rgba(255,255,255,.7) .6px, transparent .6px); background-size: 5px 5px; mix-blend-mode: overlay; }
.ticket-grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: center; }
.ticket-copy p { color: #f7dfe6; max-width: 520px; }
.ticket-copy h2 span { color: #18070d; }
.ticket-copy small { display: block; margin-top: 18px; color: rgba(255,255,255,.78); }
.btn-light { background: var(--text); color: #16070c; margin-top: 16px; }
.btn-light:hover { background: white; }
.ticket-card { position: relative; min-height: 360px; display: grid; grid-template-columns: 1fr 150px; grid-template-rows: auto 1fr auto; padding: 30px; background: #efe3da; color: #130b0d; clip-path: polygon(0 0, 100% 0, 100% 43%, 97% 50%, 100% 57%, 100% 100%, 0 100%, 0 57%, 3% 50%, 0 43%); box-shadow: var(--shadow); transform: rotate(2deg); }
.ticket-card::after { content: ""; position: absolute; top: 0; bottom: 0; right: 150px; border-left: 2px dashed rgba(19,11,13,.25); }
.ticket-top { grid-column: 1 / -1; display: flex; justify-content: space-between; text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; font-weight: 700; }
.ticket-mark { align-self: center; font-family: var(--display); font-weight: 900; font-size: 12rem; line-height: .7; color: var(--accent); }
.ticket-info { align-self: end; display: grid; gap: 4px; }
.ticket-info strong { font-family: var(--display); text-transform: uppercase; font-size: 2rem; }
.ticket-info span { color: #5c4c50; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.ticket-stub { grid-column: 2; grid-row: 2 / 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--display); font-weight: 900; font-size: 2rem; letter-spacing: .08em; }

.faq-grid { position: relative; display: grid; grid-template-columns: .65fr 1.35fr; gap: 90px; align-items: start; }
.faq-intro { position: sticky; top: 130px; }
.accordion { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 26px 54px 26px 0; position: relative; font-family: var(--display); font-size: 1.55rem; font-weight: 700; text-transform: uppercase; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 10px; top: 21px; color: var(--accent-hot); font-size: 2rem; font-weight: 400; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 40px 26px 0; margin: 0; }

.newsletter { padding: 72px 0; background: #3f154a; position: relative; overflow: hidden; }
.newsletter::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0,0,0,.28), transparent 55%), radial-gradient(circle at 90% 50%, rgba(213,11,63,.28), transparent 30%); }
.newsletter-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.newsletter h2 { font-size: clamp(2.8rem,5vw,5rem); }
.newsletter p { margin: 10px 0 0; color: #d9cadf; }
.newsletter-form { display: grid; grid-template-columns: 1fr auto; gap: 0; position: relative; }
.newsletter-form input { min-height: 62px; border: 1px solid rgba(255,255,255,.35); border-right: 0; background: rgba(7,5,8,.36); color: white; padding: 0 18px; outline: none; }
.newsletter-form input::placeholder { color: #cbbdce; }
.newsletter-form input:focus { border-color: white; }
.newsletter-form button { border: 0; padding: 0 24px; background: var(--accent); color: white; font-family: var(--display); font-weight: 800; text-transform: uppercase; cursor: pointer; }
.form-status { grid-column: 1 / -1; min-height: 24px; font-size: .85rem; margin-top: 8px !important; }

.site-footer { background: rgba(5,4,6,.96); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.8fr repeat(3,1fr); gap: 50px; padding: 78px 0 52px; }
.footer-brand img { width: 145px; }
.footer-brand p { max-width: 320px; color: var(--muted); }
.footer-grid h3 { margin: 0 0 16px; font-family: var(--display); text-transform: uppercase; color: var(--accent-hot); letter-spacing: .08em; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 10px; }
.footer-grid a, .footer-grid span { color: var(--muted); }
.footer-grid a:hover { color: white; }
.footer-bottom { min-height: 74px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #81767b; font-size: .84rem; }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: none; }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }

@media (max-width: 980px) {
  .menu-toggle { display: flex; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 88px 0 0 0; background: rgba(8,7,10,.98); flex-direction: column; align-items: stretch; padding: 34px 24px; transform: translateX(100%); transition: transform .25s ease; }
  .main-nav.is-open { transform: none; }
  .main-nav a { font-size: 1.7rem; padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 16px; text-align: center; border-bottom: 0 !important; }
  .hero { min-height: 780px; height: auto; padding: 120px 0 80px; }
  .hero-media { background-position: 62% center; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-badge { justify-self: start; }
  .scroll-cue { display: none; }
  .countdown-wrap { flex-direction: column; align-items: stretch; padding: 26px 0; gap: 16px; }
  .countdown-wrap > p { text-align: center; }
  .split-grid, .ticket-grid, .faq-grid, .newsletter-inner { grid-template-columns: 1fr; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .split-grid { gap: 70px; }
  .faq-intro { position: static; }
  .experience-grid { grid-template-columns: repeat(2,1fr); }
  .ticket-grid { gap: 60px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / 4; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1180px); }
  .nav-wrap { min-height: 74px; }
  .brand { width: 70px; }
  .main-nav { top: 74px; }
  .hero { min-height: 760px; padding-top: 96px; }
  .hero-media { background-image: url('assets/earthbrake-site-background.png'); background-size: cover; background-repeat: no-repeat; background-position: 50% center; opacity: .82; }
  .hero-overlay { background: linear-gradient(180deg, rgba(5,4,6,.96), rgba(5,4,6,.73) 46%, rgba(5,4,6,.94)); }
  .hero h1 { font-size: clamp(3.9rem, 20vw, 6.4rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-badge { display: none; }
  .countdown { grid-template-columns: repeat(2,1fr); }
  .countdown div:nth-child(3) { border-top: 1px solid rgba(255,255,255,.28); }
  .countdown div:nth-child(4) { border-top: 1px solid rgba(255,255,255,.28); }
  .section { padding: 88px 0; }
  .section h2, .newsletter h2 { font-size: clamp(3rem, 15vw, 4.9rem); }
  .mini-stats { grid-template-columns: 1fr; }
  .section-heading { margin-bottom: 40px; }
  .day-tabs { grid-template-columns: 1fr; }
  .day-tab { border-right: 0; border-bottom: 1px solid var(--line); min-height: 76px; }
  .day-tab:last-child { border-bottom: 0; }
  .lineup-panel { min-height: 280px; padding: 44px 18px; }
  .experience-grid { grid-template-columns: 1fr; }
  .ticket-card { min-height: 300px; grid-template-columns: 1fr 90px; padding: 20px; }
  .ticket-card::after { right: 90px; }
  .ticket-mark { font-size: 8rem; }
  .ticket-info strong { font-size: 1.5rem; }
  .ticket-stub { font-size: 1.45rem; }
  .newsletter-form { grid-template-columns: 1fr; gap: 10px; }
  .newsletter-form input { border-right: 1px solid rgba(255,255,255,.35); }
  .newsletter-form button { min-height: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px 22px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; justify-content: center; padding: 18px 0; }
}

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