/* ===========================
   RESET & BASE
=========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #080808;
  --dark: #111111;
  --mid: #1c1c1c;
  --border: #2a2a2a;
  --red: #e8180c;
  --red-bright: #ff2a1c;
  --red-glow: rgba(232, 24, 12, 0.25);
  --white: #ffffff;
  --off-white: #f0ece6;
  --grey: #888888;
  --light-grey: #cccccc;
  --font-display: 'Bebas Neue', sans-serif;
  --font-cond: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   NAV
=========================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--white);
  text-decoration: none;
}

.nav-logo span {
  color: var(--red);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--grey);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-cta {
  font-family: var(--font-cond);
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--white);
  background: var(--red);
  padding: 10px 22px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
  background: var(--red-bright);
  transform: translateY(-1px);
}

/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--black);
  z-index: 0;
}

/* Soundwave bars background */
.soundwave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  opacity: 0.07;
  padding: 0 20px;
}

.soundwave span {
  flex: 1;
  background: var(--red);
  border-radius: 2px 2px 0 0;
  animation: wave 1.4s ease-in-out infinite alternate;
}

.soundwave span:nth-child(1) {
  height: 40%;
  animation-delay: 0s;
}

.soundwave span:nth-child(2) {
  height: 70%;
  animation-delay: 0.05s;
}

.soundwave span:nth-child(3) {
  height: 55%;
  animation-delay: 0.1s;
}

.soundwave span:nth-child(4) {
  height: 90%;
  animation-delay: 0.15s;
}

.soundwave span:nth-child(5) {
  height: 65%;
  animation-delay: 0.2s;
}

.soundwave span:nth-child(6) {
  height: 80%;
  animation-delay: 0.25s;
}

.soundwave span:nth-child(7) {
  height: 45%;
  animation-delay: 0.3s;
}

.soundwave span:nth-child(8) {
  height: 95%;
  animation-delay: 0.35s;
}

.soundwave span:nth-child(9) {
  height: 60%;
  animation-delay: 0.4s;
}

.soundwave span:nth-child(10) {
  height: 75%;
  animation-delay: 0.45s;
}

.soundwave span:nth-child(11) {
  height: 50%;
  animation-delay: 0.5s;
}

.soundwave span:nth-child(12) {
  height: 88%;
  animation-delay: 0.55s;
}

.soundwave span:nth-child(13) {
  height: 40%;
  animation-delay: 0.6s;
}

.soundwave span:nth-child(14) {
  height: 72%;
  animation-delay: 0.65s;
}

.soundwave span:nth-child(15) {
  height: 58%;
  animation-delay: 0.7s;
}

.soundwave span:nth-child(16) {
  height: 95%;
  animation-delay: 0.75s;
}

.soundwave span:nth-child(17) {
  height: 45%;
  animation-delay: 0.8s;
}

.soundwave span:nth-child(18) {
  height: 78%;
  animation-delay: 0.85s;
}

.soundwave span:nth-child(19) {
  height: 62%;
  animation-delay: 0.9s;
}

.soundwave span:nth-child(20) {
  height: 85%;
  animation-delay: 0.95s;
}

.soundwave span:nth-child(21) {
  height: 50%;
  animation-delay: 1.0s;
}

.soundwave span:nth-child(22) {
  height: 90%;
  animation-delay: 1.05s;
}

.soundwave span:nth-child(23) {
  height: 38%;
  animation-delay: 1.1s;
}

.soundwave span:nth-child(24) {
  height: 68%;
  animation-delay: 1.15s;
}

.soundwave span:nth-child(25) {
  height: 55%;
  animation-delay: 1.2s;
}

.soundwave span:nth-child(26) {
  height: 82%;
  animation-delay: 1.25s;
}

.soundwave span:nth-child(27) {
  height: 44%;
  animation-delay: 1.3s;
}

.soundwave span:nth-child(28) {
  height: 76%;
  animation-delay: 1.35s;
}

.soundwave span:nth-child(29) {
  height: 60%;
  animation-delay: 1.4s;
}

.soundwave span:nth-child(30) {
  height: 92%;
  animation-delay: 1.45s;
}

@keyframes wave {
  from {
    transform: scaleY(0.4);
  }

  to {
    transform: scaleY(1);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 80px 60px;
  animation: fadeUp 0.9s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-eyebrow {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: var(--red);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  line-height: 0.9;
  margin-bottom: 40px;
}

.hero-title .line1 {
  display: block;
  font-size: clamp(5rem, 16vw, 14rem);
  color: var(--white);
  text-shadow: 0 0 80px var(--red-glow);
}

.hero-title .line2 {
  display: block;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  color: var(--red);
  line-height: 1;
}

.hero-record-bar {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  margin-bottom: 40px;
  width: fit-content;
}

.record-stat {
  padding: 18px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-label {
  font-family: var(--font-cond);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--grey);
  text-transform: uppercase;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  line-height: 1;
}

.stat-value small {
  font-size: 0.9rem;
  color: var(--grey);
}

.hero-record-bar .divider {
  width: 1px;
  height: 60px;
  background: var(--border);
}

.btn-primary {
  display: inline-block;
  font-family: var(--font-cond);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--white);
  background: var(--red);
  padding: 16px 36px;
  text-decoration: none;
  margin-right: 16px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-primary:hover {
  background: var(--red-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--red-glow);
}

.btn-primary.full-width {
  display: block;
  width: 100%;
  text-align: center;
}

.btn-ghost {
  display: inline-block;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--grey);
  border: 1px solid var(--border);
  padding: 15px 28px;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}

.btn-ghost:hover {
  color: var(--white);
  border-color: var(--grey);
}

.btn-outline {
  display: inline-block;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 14px 28px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  margin-top: 16px;
}

.btn-outline:hover {
  background: var(--red);
  color: var(--white);
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 60px;
  font-family: var(--font-cond);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--grey);
  writing-mode: vertical-rl;
  z-index: 1;
}

/* ===========================
   SECTION LABELS
=========================== */
.section-label {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-label.light {
  color: rgba(232, 24, 12, 0.8);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
}

.section-title.light {
  color: var(--white);
}

.section-sub {
  max-width: 600px;
  color: var(--light-grey);
  margin-top: 12px;
}

.section-sub.light {
  color: rgba(240, 236, 230, 0.75);
}

/* ===========================
   ABOUT
=========================== */
.about {
  padding: 120px 0;
  background: var(--dark);
  border-top: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--white);
}

.about-text h2 em {
  color: var(--red);
  font-style: normal;
}

.about-text p {
  color: var(--light-grey);
  margin-bottom: 16px;
}

.about-text strong {
  color: var(--white);
}

.about-number {
  text-align: center;
}

.big-number {
  font-family: var(--font-display);
  font-size: clamp(5rem, 10vw, 9rem);
  color: var(--white);
  line-height: 1;
  text-shadow: 0 0 60px var(--red-glow);
}

.big-number-label {
  font-family: var(--font-cond);
  font-size: 1rem;
  color: var(--grey);
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}

.about-bar {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  margin-bottom: 12px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  width: 0%;
  background: var(--red);
  border-radius: 3px;
  transition: width 1.5s ease;
}

.about-bar-label {
  font-size: 0.82rem;
  color: var(--grey);
  line-height: 1.4;
}

/* ===========================
   RSVP
=========================== */
.rsvp-section {
  padding: 120px 0;
  background: var(--red);
  position: relative;
  overflow: hidden;
}


.rsvp-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
  align-items: start;
}

.rsvp-count-box {
  background: rgba(0, 0, 0, 0.25);
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.count-label {
  font-family: var(--font-cond);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.count-number {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.count-goal {
  font-family: var(--font-cond);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.count-goal strong {
  color: var(--white);
}

.progress-wrap {
  height: 6px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: var(--white);
  border-radius: 3px;
  transition: width 1s ease;
}

/* Tally embed placeholder */
.tally-placeholder {
  background: rgba(0, 0, 0, 0.2);
  border: 2px dashed rgba(255, 255, 255, 0.3);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-inner {
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  padding: 40px;
}

.placeholder-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.placeholder-inner p {
  margin-bottom: 8px;
}

.placeholder-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.placeholder-note a {
  color: var(--white);
}

/* ===========================
   RULES TEASER
=========================== */
.rules-teaser {
  padding: 120px 0;
  background: var(--black);
  border-top: 1px solid var(--border);
}

.rules-teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.rules-teaser h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.05;
}

.rules-teaser p {
  color: var(--light-grey);
  margin-bottom: 28px;
}

.rules-preview-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rule-pill {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--off-white);
  background: var(--mid);
  border: 1px solid var(--border);
  padding: 12px 18px;
  border-left: 3px solid var(--red);
}

/* ===========================
   FAQ
=========================== */
.faq-section {
  padding: 120px 0;
  background: var(--dark);
  border-top: 1px solid var(--border);
}

.faq-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 48px;
  margin-top: 8px;
}

.faq-list {
  max-width: 800px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--off-white);
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  text-align: left;
  padding: 24px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s;
}

.faq-q:hover {
  color: var(--white);
}

.faq-arrow {
  color: var(--red);
  font-size: 1.2rem;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-q.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-a {
  display: none;
  color: var(--light-grey);
  padding-bottom: 24px;
  line-height: 1.7;
}

.faq-a.visible {
  display: block;
}

/* ===========================
   CONTACT
=========================== */
.contact-section {
  padding: 120px 0;
  background: var(--black);
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-left h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.05;
}

.contact-left h2.light {
  color: var(--white);
}

.contact-left p {
  color: var(--light-grey);
  margin-bottom: 12px;
}

.contact-left p.light {
  color: var(--light-grey);
}

.contact-email {
  font-family: var(--font-cond);
  font-size: 1rem;
  color: var(--off-white) !important;
  margin-top: 8px !important;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--mid);
  border: 1px solid var(--border);
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
}

.form-group select {
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
}

::placeholder {
  color: var(--grey);
}

.form-note {
  font-size: 0.78rem;
  color: var(--grey);
  text-align: center;
  margin-top: -4px;
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  font-family: var(--font-cond);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--grey);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--grey);
}

/* ===========================
   RULES PAGE
=========================== */
.rules-hero {
  background: var(--black);
  padding: 160px 0 80px;
  border-bottom: 1px solid var(--border);
}

.rules-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  color: var(--white);
  line-height: 0.95;
  margin-bottom: 20px;
  margin-top: 8px;
}

.rules-subtitle {
  color: var(--light-grey);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.rules-body {
  padding: 80px 0 120px;
  background: var(--dark);
}

.rules-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.rules-intro {
  max-width: 700px;
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.rules-intro p {
  color: var(--light-grey);
  font-size: 1.05rem;
  line-height: 1.7;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 60px;
}

.rule-card {
  background: var(--mid);
  padding: 32px 28px;
  display: flex;
  gap: 20px;
  transition: background 0.2s;
}

.rule-card:hover {
  background: #222;
}

.rule-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--red);
  line-height: 1;
  flex-shrink: 0;
  min-width: 40px;
}

.rule-content h3 {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.rule-content p {
  color: var(--light-grey);
  font-size: 0.9rem;
  line-height: 1.6;
}

.rules-footer-cta {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 900px) {
  .nav {
    padding: 14px 20px;
  }

  .nav-links {
    display: none;
  }

  .hero-content {
    padding: 80px 24px 60px;
  }

  .hero-record-bar {
    flex-direction: column;
    width: 100%;
  }

  .hero-record-bar .divider {
    width: 100%;
    height: 1px;
  }

  .about-grid,
  .rsvp-wrapper,
  .rules-teaser-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-number {
    text-align: left;
  }

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

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

  .scroll-hint {
    display: none;
  }
}