/* ==========================================================================
   Catalyst 2026 — from Figma Brand Kit (desktop 109-1152 / mobile 156-27)
   ========================================================================== */

@font-face {
  font-family: 'Open Sauce Sans';
  src: url('../assets/fonts/OpenSauceSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Open Sauce Sans';
  src: url('../assets/fonts/OpenSauceSans-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Open Sauce Sans';
  src: url('../assets/fonts/OpenSauceSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #1c1717;
  --ink: #e5e5e5;
  --muted: #b2b2b2;
  --accent: #005cb2;
  --ink-dark: #1c1717;
  --gray-warm: #504949;
  --light: #fafafa;
  --card-border: #b3b3b3;
  --hairline: rgba(128, 128, 128, 0.45);
  --grad-blue: #0069da;
  --grad-pink-deep: #ca76b2;
  --grad-pink: #efa2df;

  --font-display: 'Funnel Display', sans-serif;
  --font-body: 'Open Sauce Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-tier: 'Poppins', sans-serif;

  --gutter: clamp(20px, 6.6vw, 100px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  max-width: 1728px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- fluted glass texture over dark sections ---------- */
/* Temporarily hidden per design feedback (2026-08-10) — remove display:none to restore */
.flutes {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg,
      rgba(255, 255, 255, 0.055) 0px,
      rgba(255, 255, 255, 0.012) 14px,
      rgba(0, 0, 0, 0.10) 36px,
      rgba(255, 255, 255, 0.005) 58px,
      rgba(255, 255, 255, 0.055) 76px),
    repeating-linear-gradient(90deg,
      rgba(0, 0, 0, 0.22) 0px,
      rgba(0, 0, 0, 0.22) 1px,
      transparent 1px,
      transparent 76px);
}

section, header.hero, footer { position: relative; z-index: 2; }

/* Light sections sit above the flutes and cover them */
.section-light {
  background: var(--light);
  color: var(--ink-dark);
}

/* ---------- type ---------- */
.display-xl {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(80px, 10.5vw, 160px);
  line-height: 0.875;
  letter-spacing: -0.01em;
}
.display-l {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(44px, 6.6vw, 100px);
  line-height: 0.96;
  letter-spacing: -0.01em;
}
.display-m {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(44px, 4.8vw, 72px);
  line-height: 1.16;
}
.eyebrow {
  color: var(--accent);
  font-weight: 700;
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.33;
}
.muted { color: var(--muted); }

.line { display: block; overflow: hidden; }
.line > span { display: inline-block; }
.line-indent { padding-left: 0.38em; }

/* ---------- icons ---------- */
.icon { width: 32px; height: 32px; flex-shrink: 0; }
.icon-lg { width: 60px; height: 60px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-body);
}
.btn-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 14px 24px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.btn-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.btn-chip .icon { width: 26px; height: 26px; transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); }
.btn:hover .btn-chip .icon { transform: rotate(45deg); }
.btn:hover .btn-pill { transform: translateX(2px); }
.btn:active .btn-chip { transform: scale(0.94); }

.btn-light .btn-pill { background: var(--light); color: var(--ink-dark); }
.btn-chip-dark { background: var(--ink-dark); color: var(--light); }
.btn-dark .btn-pill { background: var(--ink-dark); color: var(--ink); }
.btn-chip-light { background: var(--light); color: var(--ink-dark); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  min-height: min(872px, 100svh);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-mesh {
  position: absolute;
  left: 22%;
  top: 30%;
  width: 78%;
  aspect-ratio: 1083 / 511;
  pointer-events: none;
  z-index: 0;

  /* aurora palette — from the Figma mesh-gradient control points (Vector 2) */
  --au-emerald: #05d6a1;
  --au-teal: #1ab3a6;
  --au-green: #0b7a24;
  --au-blue: #0069da;
  --au-sky: #66bfff;
  --au-pale: #e8f3ff;
  --au-slate: #667f9f;
}
.mesh-layer {
  position: absolute;
  inset: 0;
  transform: translateZ(0);
  will-change: transform;
  border-radius: 50%;
}
.mesh-back {
  background:
    radial-gradient(55% 65% at 22% 78%, var(--au-teal) 0%, transparent 70%),
    radial-gradient(60% 70% at 78% 45%, var(--au-blue) 0%, transparent 72%),
    radial-gradient(45% 55% at 12% 40%, var(--au-slate) 0%, transparent 70%),
    radial-gradient(50% 55% at 55% 12%, var(--au-pale) 0%, transparent 68%);
  filter: blur(90px) saturate(1.3);
  opacity: 0.55;
}
.mesh-mid {
  background:
    radial-gradient(50% 62% at 30% 70%, var(--au-emerald) 0%, transparent 68%),
    radial-gradient(55% 65% at 72% 55%, var(--au-sky) 0%, transparent 70%),
    radial-gradient(42% 52% at 55% 20%, var(--au-pale) 0%, transparent 65%);
  filter: blur(70px) saturate(1.25);
  opacity: 0.5;
  mix-blend-mode: screen;
}
.mesh-front {
  background:
    radial-gradient(32% 42% at 32% 72%, var(--au-green) 0%, transparent 66%),
    radial-gradient(45% 55% at 68% 60%, var(--au-blue) 0%, transparent 68%),
    radial-gradient(30% 40% at 88% 30%, var(--au-teal) 0%, transparent 66%),
    radial-gradient(28% 36% at 48% 30%, var(--au-pale) 0%, transparent 62%);
  filter: blur(48px) saturate(1.25);
  opacity: 0.7;
}
/* Fallback drift when JS is disabled or reduced motion turns the follow loop off */
@media (prefers-reduced-motion: no-preference) {
  .no-js .mesh-layer { animation: mesh-drift 14s ease-in-out infinite alternate; }
}
@keyframes mesh-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-4%, 4%, 0) scale(1.08); }
}

.nav {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  padding-bottom: 32px;
}
.brand img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 40px; }
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.33;
  transition: opacity 0.25s ease;
}
.nav-links a:hover { opacity: 0.6; }

.hero-body {
  position: relative;
  z-index: 3;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(48px, 6vh, 84px);
  padding-bottom: clamp(48px, 8vh, 120px);
}

.hero-copy {
  max-width: 656px;
  margin-top: clamp(40px, 5.3vw, 80px);
  color: var(--muted);
  font-size: clamp(16px, 1.32vw, 20px);
  line-height: 1.4;
}

.countdown {
  align-self: flex-end;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.countdown-heading {
  font-weight: 700;
  font-size: clamp(24px, 2.1vw, 32px);
  line-height: 1.25;
  padding: 0 12px;
}
.countdown-timer { display: flex; gap: clamp(16px, 1.9vw, 29px); align-items: flex-start; }
.timer-block { display: flex; flex-direction: column; gap: 10px; min-width: clamp(72px, 6.9vw, 104px); }
.time-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 4.2vw, 64px);
  line-height: 1.19;
  font-variant-numeric: tabular-nums;
}
.time-sep {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 4.2vw, 64px);
  line-height: 1.19;
}
.time-label { color: var(--muted); font-weight: 500; font-size: clamp(16px, 1.32vw, 20px); }

/* Short viewports: compress hero spacing so the countdown stays in view */
@media (max-height: 780px) {
  .hero .display-xl { font-size: min(clamp(80px, 10.5vw, 160px), 15vh); }
  .hero-copy { margin-top: 24px; }
  .hero-body { gap: 24px; padding-bottom: 36px; }
  .countdown { gap: 8px; }
  .countdown-heading { font-size: min(clamp(24px, 2.1vw, 32px), 4vh); }
  .time-value, .time-sep { font-size: min(clamp(44px, 4.2vw, 64px), 7.5vh); }
}

/* ==========================================================================
   STATS
   ========================================================================== */
.stats { padding: 120px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  background: rgba(255, 255, 255, 0.10);
  border-radius: 30px;
  padding: 32px;
  min-height: 364px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background 0.35s ease, transform 0.35s ease;
}
.stat-card:hover { background: rgba(255, 255, 255, 0.15); transform: translateY(-6px); }
.stat-value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(56px, 6.6vw, 100px);
  line-height: 0.96;
}
.stat-desc { font-size: clamp(18px, 1.45vw, 22px); line-height: 1.45; }

/* ==========================================================================
   VENUE
   ========================================================================== */
.venue { padding: 120px 0; }
.venue-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 32px;
}
.venue-sponsor { max-width: 318px; display: flex; flex-direction: column; gap: 12px; padding-top: 24px; }
.venue-logo { width: 218px; height: auto; }
.venue-sponsor .muted { font-size: clamp(16px, 1.32vw, 20px); }
.venue-address { font-weight: 500; font-size: clamp(18px, 1.45vw, 22px); }

.venue-overview {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 29px;
}
.room-info { max-width: 348px; display: flex; flex-direction: column; gap: 24px; padding-bottom: 0; transition: opacity 0.18s ease; }
.room-info.is-swapping { opacity: 0; }
.room-info h3 { font-size: clamp(24px, 2.1vw, 32px); font-weight: 700; line-height: 1.25; }
.room-info .muted { font-size: clamp(18px, 1.45vw, 22px); }

.room-gallery { display: flex; gap: 20px; align-items: flex-end; min-height: 430px; }
.room-img {
  border-radius: 20px;
  overflow: hidden;
  width: 168px;
  height: 196px;
  flex-shrink: 0;
  cursor: pointer;
  transition: width 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), height 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.room-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.room-img:not(.is-active):hover img { transform: scale(1.06); }
.room-img:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.room-img.is-active { width: 370px; height: 430px; cursor: default; }

/* ==========================================================================
   SPONSOR TIERS
   ========================================================================== */
.sponsors { padding: 120px 0; }
.section-intro { display: flex; flex-direction: column; gap: 24px; margin-bottom: 64px; }
.section-sub {
  color: var(--gray-warm);
  font-weight: 700;
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.33;
  max-width: 646px;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tier-card {
  position: relative;
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 48px 32px;
  min-height: 611px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.tier-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(28, 23, 23, 0.10); }
.tier-title {
  font-family: var(--font-tier);
  font-weight: 500;
  font-size: clamp(44px, 4.8vw, 72px);
  line-height: 1.4;
}
.tier-perks { display: flex; flex-direction: column; gap: 32px; }
.perk { display: flex; flex-direction: column; gap: 18px; }
.perk-head { display: flex; align-items: center; gap: 10px; }
.perk-head h4 { font-size: clamp(20px, 1.6vw, 24px); font-weight: 700; line-height: 1.33; }
.perk p { font-size: clamp(16px, 1.32vw, 20px); line-height: 1.4; }

.tier-platinum {
  border: none;
  color: var(--ink);
  /* five vertical gradient ribbons, blue <-> pink */
  background-image:
    linear-gradient(180deg, var(--grad-pink-deep) 0%, var(--grad-blue) 72%),
    linear-gradient(180deg, var(--grad-pink-deep) 0%, var(--grad-blue) 100%),
    linear-gradient(180deg, var(--grad-pink-deep) 1%, var(--grad-blue) 55%, var(--grad-pink-deep) 100%),
    linear-gradient(180deg, var(--grad-pink-deep) 0%, var(--grad-blue) 72%),
    linear-gradient(180deg, var(--grad-pink-deep) 0%, var(--grad-blue) 100%);
  background-size: 20.4% 100%, 20.4% 100%, 20.4% 100%, 20.4% 100%, 20.4% 100%;
  background-position: 0 0, 25% 0, 50% 0, 75% 0, 100% 0;
  background-repeat: no-repeat;
}

/* ==========================================================================
   PITCH A CASE STUDY
   ========================================================================== */
.pitch {
  background-image:
    linear-gradient(115deg, rgba(0, 0, 0, 0.62) 0%, rgba(28, 23, 23, 0.42) 55%, rgba(64, 64, 64, 0.10) 100%),
    url('../assets/img/event.jpg');
  background-size: cover;
  background-position: center;
  padding: 120px 0;
}
.pitch-content { max-width: 716px; display: flex; flex-direction: column; gap: 32px; }
.pitch-lede { display: none; }
.pitch-copy { font-weight: 700; font-size: clamp(20px, 1.6vw, 24px); line-height: 1.33; }
.pitch-content .btn { margin-top: 16px; align-self: flex-start; }

/* ==========================================================================
   COLLAB / BENEFITS
   ========================================================================== */
.collab { padding: 120px 0; }
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.benefit-card {
  border: 1px solid var(--card-border);
  border-radius: 30px;
  padding: 32px;
  min-height: 276px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.benefit-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(28, 23, 23, 0.10); }
.benefit-card p { font-weight: 500; font-size: clamp(18px, 1.45vw, 22px); line-height: 1.45; }

/* ==========================================================================
   ACADEMICS / TICKETS
   ========================================================================== */
.academics { padding: 120px 0; }
.academics-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(40px, 8vw, 120px);
  margin-bottom: 112px;
}
.academics-head .section-intro { margin-bottom: 0; }
.academics-cta {
  max-width: 426px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: clamp(0px, 4.7vw, 72px);
}
.academics-cta p { color: var(--gray-warm); font-size: clamp(18px, 1.45vw, 22px); line-height: 1.45; }

.ticket-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1047px;
  margin: 0 auto;
}
.ticket-card {
  background: #e5e5e5;
  color: var(--ink-dark);
  border-radius: 30px;
  padding: 32px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 29px;
  transition: transform 0.35s ease;
}
.ticket-card:hover { transform: translateY(-6px); }
.ticket-gradient {
  color: var(--ink);
  background-image:
    linear-gradient(180deg, var(--grad-blue) 0%, var(--grad-pink) 100%),
    linear-gradient(180deg, var(--grad-blue) 28%, var(--grad-pink) 100%),
    linear-gradient(180deg, var(--grad-pink) 0%, var(--grad-blue) 50%, var(--grad-pink) 100%),
    linear-gradient(180deg, var(--grad-pink) 0%, var(--grad-blue) 72%),
    linear-gradient(180deg, var(--grad-pink) 0%, var(--grad-blue) 100%);
  background-size: 20.4% 100%, 20.4% 100%, 20.4% 100%, 20.4% 100%, 20.4% 100%;
  background-position: 0 0, 25% 0, 50% 0, 75% 0, 100% 0;
  background-repeat: no-repeat;
}
.ticket-qty {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 4.2vw, 64px);
  line-height: 1.19;
}
.ticket-type { font-weight: 700; font-size: clamp(24px, 2.1vw, 32px); line-height: 1.25; }
.ticket-benefit { font-size: 18px; line-height: 1.45; }

/* ==========================================================================
   GRAND PRIZE
   ========================================================================== */
.prize { padding: 120px 0; }
.prize .display-l { margin-bottom: 120px; }
.prize-rows { display: flex; flex-direction: column; }
.prize-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  align-items: center;
  gap: 24px;
  padding: 40px 24px;
  border-top: 1px solid var(--hairline);
  transition: opacity 0.6s ease;
}
.prize-row:last-child { border-bottom: 1px solid var(--hairline); }
.prize-row { opacity: 0.45; }
.prize-row.active { opacity: 1; }
.prize-value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 4.8vw, 72px);
  line-height: 1.16;
}
.prize-note { max-width: 348px; font-weight: 500; font-size: clamp(18px, 1.45vw, 22px); line-height: 1.45; }
/* Placeholder for the empty Figma image slot — hidden per design feedback (2026-08-10) */
.prize-panel {
  display: none;
  position: absolute;
  right: clamp(180px, 28vw, 480px);
  top: -42px;
  width: clamp(240px, 26vw, 397px);
  height: clamp(200px, 22vw, 334px);
  border-radius: 30px;
  z-index: 2;
  background-image:
    linear-gradient(180deg, var(--grad-blue) 0%, var(--grad-pink) 100%),
    linear-gradient(180deg, var(--grad-blue) 28%, var(--grad-pink) 100%),
    linear-gradient(180deg, var(--grad-pink) 0%, var(--grad-blue) 50%, var(--grad-pink) 100%),
    linear-gradient(180deg, var(--grad-pink) 0%, var(--grad-blue) 72%),
    linear-gradient(180deg, var(--grad-pink) 0%, var(--grad-blue) 100%);
  background-size: 20.4% 100%, 20.4% 100%, 20.4% 100%, 20.4% 100%, 20.4% 100%;
  background-position: 0 0, 25% 0, 50% 0, 75% 0, 100% 0;
  background-repeat: no-repeat;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { padding: 120px 0; }
.contact-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(40px, 5vw, 80px);
}
.contact-info { max-width: 731px; display: flex; flex-direction: column; gap: 80px; }
.contact-copy { max-width: 547px; font-size: clamp(16px, 1.32vw, 20px); }
.contact-email {
  color: var(--ink);
  font-weight: 500;
  font-size: clamp(18px, 1.45vw, 22px);
  text-decoration: none;
  border-bottom: 1px solid var(--muted);
  align-self: flex-start;
  margin-top: -48px;
  transition: opacity 0.25s ease;
}
.contact-email:hover { opacity: 0.7; }
.form-error a { color: inherit; }
.line > .mobile-only { display: none; }

.contact-form {
  flex: 1 1 571px;
  max-width: 744px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 12px;
}
.contact-form .input-block { display: flex; flex-direction: column; gap: 13px; }
.contact-form .input-block + .input-block { margin-top: 24px; }
.contact-form label { font-size: clamp(16px, 1.32vw, 20px); }
.contact-form input,
.contact-form select {
  width: 100%;
  height: 52px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #363030;
  background: rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(16px, 1.32vw, 20px);
  transition: border-color 0.25s ease, background 0.25s ease;
  appearance: none;
  -webkit-appearance: none;
}
.contact-form input::placeholder { color: rgba(229, 229, 229, 0.75); }
.contact-form select:invalid { color: rgba(229, 229, 229, 0.75); }
.contact-form select option { color: var(--ink-dark); background: var(--light); }
.contact-form input:focus,
.contact-form select:focus {
  outline: none;
  border-color: rgba(229, 229, 229, 0.7);
  background: rgba(255, 255, 255, 0.28);
}
.select-wrap { position: relative; }
.select-chevron {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  pointer-events: none;
}
.btn-submit { align-self: flex-start; }
.btn-submit:disabled { opacity: 0.6; cursor: wait; }
.form-success { color: var(--ink); font-weight: 500; }
.form-error { color: #f2a1a1; font-weight: 500; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { padding: 32px 0 48px; }
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-logo { height: 32px; width: auto; }
.footer-note { color: var(--muted); font-weight: 500; font-size: 16px; }

/* ==========================================================================
   REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.65, 0.25, 1), transform 0.8s cubic-bezier(0.2, 0.65, 0.25, 1);
}
.reveal.in { opacity: 1; transform: none; }
.stats-grid .reveal:nth-child(2), .tier-grid .reveal:nth-child(2),
.benefit-grid .reveal:nth-child(2), .ticket-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.stats-grid .reveal:nth-child(3), .tier-grid .reveal:nth-child(3),
.benefit-grid .reveal:nth-child(3), .ticket-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.stats-grid .reveal:nth-child(4), .benefit-grid .reveal:nth-child(4) { transition-delay: 0.3s; }

/* hero load choreography */
.hero .line > span {
  transform: translateY(110%);
  animation: rise 0.9s cubic-bezier(0.2, 0.65, 0.25, 1) forwards;
}
.hero .line-indent > span { animation-delay: 0.12s; }
.hero-copy, .countdown { opacity: 0; animation: fade-up 0.9s cubic-bezier(0.2, 0.65, 0.25, 1) 0.35s forwards; }
.countdown { animation-delay: 0.5s; }
.nav { opacity: 0; animation: fade-in 0.8s ease 0.2s forwards; }
@keyframes rise { to { transform: translateY(0); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero .line > span, .hero-copy, .countdown, .nav { animation: none; transition: none; opacity: 1; transform: none; }
  .hero-mesh img { animation: none; }
  .prize-row { opacity: 1; }
}

/* ==========================================================================
   13" LAPTOP  (Figma 226-39, 1280px frame)
   ========================================================================== */
@media (max-width: 1400px) {
  :root { --gutter: clamp(20px, 5vw, 64px); }

  .display-xl { font-size: clamp(80px, 10.2vw, 130px); }
  .display-l { font-size: clamp(44px, 7.5vw, 96px); }
  .display-m { font-size: clamp(44px, 5vw, 64px); }

  .time-value, .time-sep { font-size: clamp(44px, 4.4vw, 56px); }

  .stat-card { min-height: 272px; }
  .stat-value { font-size: clamp(48px, 5vw, 64px); line-height: 1.3; }
  .stat-desc { font-size: 18px; line-height: 1.45; }

  .tier-card { min-height: 586px; }
  .tier-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 56px;
    line-height: 1.35;
  }

  .ticket-qty { font-size: clamp(48px, 4.4vw, 56px); }

  .academics-head { gap: 64px; }
  .academics-cta { max-width: 380px; }

  .prize-panel { right: 39%; }
}

/* ==========================================================================
   MOBILE  (Figma 156-27, 402px frame)
   ========================================================================== */
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .tier-grid, .benefit-grid, .ticket-grid { grid-template-columns: 1fr; }
  .tier-card { min-height: 0; }
  .venue-head { flex-direction: column; }
  .academics-head { flex-direction: column; margin-bottom: 56px; }
  .academics-cta { padding-top: 0; }
  .contact-grid { flex-direction: column; align-items: stretch; }
  .contact-form { flex: 0 0 auto; width: 100%; max-width: none; }
  .prize-panel { position: static; width: 100%; height: 278px; margin-top: 8px; }
  .prize-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }

  .nav { padding-top: 24px; padding-bottom: 24px; }
  .nav-links { display: none; }

  .hero { min-height: 100svh; }
  .display-xl { font-size: clamp(64px, 20vw, 80px); line-height: 0.95; }
  .hero-copy { margin-top: 48px; font-size: 16px; line-height: 1.5; }
  .hero-body { gap: 48px; }
  .countdown { align-self: flex-start; gap: 10px; }
  .countdown-heading { font-size: 24px; padding: 0 10px; }
  .countdown-timer { gap: 20px; }
  .timer-block { min-width: 72px; gap: 8px; }
  .time-value, .time-sep { font-size: 44px; }
  .time-label { font-size: 14px; }
  .hero-mesh { left: 0; top: 38%; width: 155%; }

  .stats { padding: 64px 0; }
  .stats-grid { grid-template-columns: 1fr; gap: 16px; }
  .stat-card { min-height: 164px; padding: 24px; gap: 8px; }
  .stat-value { font-size: 56px; }
  .stat-desc { font-size: 18px; }

  .venue { padding: 64px 0; }
  .venue-head { gap: 24px; margin-bottom: 24px; }
  .venue-sponsor { padding-top: 0; }
  .venue-logo { width: 178px; }
  .venue-overview { flex-direction: column-reverse; align-items: stretch; gap: 20px; }
  .room-gallery {
    min-height: 314px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    margin-right: calc(-1 * var(--gutter));
    padding-right: var(--gutter);
    scrollbar-width: none;
  }
  .room-gallery::-webkit-scrollbar { display: none; }
  .room-img { scroll-snap-align: start; width: 206px; height: 240px; }
  .room-img.is-active { width: 270px; height: 314px; }
  .room-info { gap: 12px; }

  .sponsors, .collab, .academics, .prize, .contact { padding: 64px 0; }
  .section-intro { gap: 16px; margin-bottom: 40px; }
  .tier-card { padding: 32px 24px; gap: 24px; min-height: 0; }
  .tier-title { font-family: var(--font-display); font-weight: 500; font-size: 56px; line-height: 1; }
  .perk { gap: 14px; }

  .pitch { padding: 64px 0; }
  .pitch-content { gap: 24px; }
  .pitch-lede { display: block; font-weight: 700; font-size: 20px; line-height: 1.4; }

  .ticket-card { min-height: 166px; padding: 24px; gap: 20px; }
  .ticket-qty { font-size: 48px; }
  .ticket-type { font-size: 24px; }

  .prize .display-l { margin-bottom: 64px; }
  .prize-row { padding: 32px 16px; }
  .prize-note { max-width: none; font-size: 18px; }

  .contact-info { gap: 48px; }
  .contact-email { margin-top: -32px; font-size: 18px; }
  .line > .desktop-only { display: none; }
  .line > .mobile-only { display: inline-block; }
  .contact-form { gap: 32px; padding-top: 0; }
  .contact-form .input-block + .input-block { margin-top: 16px; }
  .contact-form input, .contact-form select { height: 48px; }
  .btn-pill { padding: 10px 16px; font-size: 16px; }
  .btn-chip { width: 44px; height: 44px; }
  .btn-chip .icon { width: 22px; height: 22px; }
  .btn-submit { align-self: stretch; }
  .btn-submit .btn-pill { flex: 1; justify-content: center; }

  .footer { padding: 24px 0; }
  .footer-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-note { font-size: 14px; }
}
