/* ============================================================
   AgeInnovate — event-2026.css
   Page-specific styles for pitch-event-2026.html.
   Extends style.css and reuses shared components from pitch-event.css.
   Never duplicates base tokens.

   ⚠️  ONE-OFF EXCEPTION: Caroline asked for a second accent color
   (#CB6CE6, orchid) on this page only, now used for the countdown
   numbers and the hero glow specifically. The design system standard
   is ONE accent (teal) site-wide — this var is scoped to this
   file/page on purpose so it doesn't leak into the global system.
   Buttons/CTAs stay teal (the interactive accent) for consistency
   with the rest of the site.
   ============================================================ */

:root {
  --color-accent-2: #CB6CE6;
}


/* === 2026 HERO ===
   Full-bleed photo overlay hero, teal + orchid glow, big bold type.
   This is the whole page for now — countdown + ticket CTA only.
*/
.hero-2026 {
  position: relative;
  background: var(--color-surface-dark);
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-block: var(--space-9);
  overflow: hidden;
}
.hero-2026__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-2026__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-2026__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(203, 108, 230, 0.22) 0%, transparent 60%),
    linear-gradient(180deg, rgba(14, 31, 44, 0.82) 0%, rgba(14, 31, 44, 0.96) 100%);
}
.hero-2026__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-lg);
  text-align: center;
  margin-inline: auto;
}

.hero-2026 .eyebrow {
  margin-bottom: var(--space-4);
}
.hero-2026 h1 {
  font-family: var(--font-display);
  font-size: clamp(var(--fs-4xl), 7vw, 5rem);
  color: var(--color-ink-light);
  font-weight: var(--fw-bold);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-top: var(--space-5);
}
.hero-2026__tagline {
  display: block;
  font-style: italic;
  font-weight: var(--fw-bold);
  color: var(--color-accent);
  letter-spacing: -0.03em;
  margin-top: var(--space-5);
  font-size: clamp(var(--fs-3xl), 5vw, var(--fs-5xl));
}
.hero-2026__body {
  font-size: var(--fs-lg);
  color: var(--color-ink-muted-dark);
  line-height: var(--lh-loose);
  max-width: 44ch;
  margin: var(--space-7) auto 0;
}

/* Tickets-on-sale badge, reuses .winner__badge pattern from pitch-event.css */
.hero-2026 .winner__badge {
  font-size: var(--fs-base);
  padding: var(--space-2) var(--space-5);
  margin-bottom: var(--space-5);
  box-shadow: 0 0 32px rgba(34, 201, 151, 0.35);
}

/* === COUNTDOWN ===
   Leads the hero — first thing visitors see, above the badge/headline.
*/
.countdown {
  display: flex;
  justify-content: center;
  gap: var(--space-5);
  margin: 0 0 var(--space-7);
  flex-wrap: wrap;
}
.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 108px;
  padding: var(--space-6) var(--space-4);
  background: rgba(23, 41, 56, 0.75);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(203, 108, 230, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 48px rgba(203, 108, 230, 0.18);
}
.countdown__num {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: clamp(var(--fs-5xl), 5vw, var(--fs-6xl));
  color: var(--color-accent-2);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.countdown__label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-ink-muted-dark);
  margin-top: var(--space-2);
}

.hero-2026__cta {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-7);
}
.hero-2026__cta .button {
  font-size: var(--fs-lg);
  padding: var(--space-4) var(--space-7);
}
.hero-2026__rsvp-note {
  font-size: var(--fs-sm);
  color: var(--color-ink-muted-dark);
  margin-top: var(--space-5);
}

/* "Official popup of 36|86" credit — still sits at the bottom of the
   hero so it doesn't compete with the ticket CTA, but the logo itself
   is sized to actually read as a credential, not a footnote. */
.hero-2026__popup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-line-dark);
}
.hero-2026__popup-label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-ink-muted-dark);
}
.hero-2026__popup-logo {
  height: 56px;
  width: auto;
}
@media (min-width: 640px) {
  .hero-2026__popup-logo { height: 68px; }
}


/* === MOBILE (≤640px) ===
   The desktop hero leans on large clamp() type and a 4-across
   countdown row — both need tightening on small phones so nothing
   wraps awkwardly or forces horizontal scroll.
*/
@media (max-width: 640px) {
  .hero-2026 {
    min-height: 100vh;
    min-height: 100svh; /* avoids mobile browser toolbar jump */
    padding-block: var(--space-7);
  }

  .hero-2026 .winner__badge {
    font-size: var(--fs-sm);
    padding: var(--space-2) var(--space-4);
  }
  .hero-2026 .eyebrow {
    font-size: 10px;
    letter-spacing: 0.1em;
    max-width: 28ch;
    margin-inline: auto;
  }
  .hero-2026 h1 {
    font-size: var(--fs-4xl);
    letter-spacing: -0.02em;
  }
  .hero-2026__tagline {
    font-size: var(--fs-2xl);
    letter-spacing: -0.01em;
  }
  .hero-2026__body {
    font-size: var(--fs-lg);
    margin-top: var(--space-5);
  }

  /* Countdown: fixed 2x2 grid instead of wrapping flex row,
     so both rows stay centered and evenly sized. */
  .countdown {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
    max-width: 320px;
    margin: 0 auto var(--space-6);
  }
  .countdown__unit {
    min-width: 0;
    width: 100%;
    padding: var(--space-4) var(--space-2);
  }
  .countdown__num {
    font-size: var(--fs-4xl);
  }
  .countdown__label {
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  /* CTAs: full-width stacked buttons are easier to tap and read
     than two centered buttons wrapping mid-word. Extra margin-top
     so they don't crowd the body copy above them. */
  .hero-2026__cta {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
    margin-top: var(--space-8);
  }
  .hero-2026__cta .button {
    width: 100%;
    font-size: var(--fs-base);
    padding: var(--space-4) var(--space-5);
  }
}
