:root {
  --bg: #0b0f1a;
  --surface: #151b2c;
  --text: #E8EBF4;
  --muted: #8A93A8;
  --cyan: #22d3ee;
  --violet: #7C6CFF;
  --violet-deep: #7466E8;
  --gutter: clamp(24px, 5vw, 72px);
  --font-text: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
}

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
::selection { background: rgba(124, 108, 255, .4); }

.root {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--bg);
  font-family: var(--font-text);
}

/* Background effects */
.fx { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.fx-stars { z-index: 0; }
.fx-trail { z-index: 50; }

/* Header */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px var(--gutter);
}
.header-date { font-size: 15px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.header-nav { display: flex; align-items: center; gap: 24px; }
.nav-link { font-size: 15px; font-weight: 500; color: var(--muted); text-decoration: none; white-space: nowrap; }

/* Pill buttons */
.pill {
  display: inline-flex; align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(232, 235, 244, .1);
  background: rgba(21, 27, 44, .35);
  font-weight: 500; color: var(--muted); text-decoration: none; white-space: nowrap;
  transition: background .25s, border-color .25s, color .25s;
}
.pill-sm { padding: 9px 16px; font-size: 14px; }
.pill-lg {
  gap: 12px; padding: 15px 24px; font-size: 16px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}

/* "Coming soon" tooltips */
.tip-wrap { position: relative; display: inline-flex; }
.tip {
  position: absolute; display: none;
  padding: 7px 12px; border-radius: 8px;
  background: var(--surface); border: 1px solid rgba(232, 235, 244, .12);
  font-size: 13px; font-weight: 500; color: var(--text); white-space: nowrap;
  pointer-events: none; box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}
.tip-wrap:has(:focus-visible) .tip, .tip-wrap.is-tapped .tip { display: block; }
.tip-below { right: 0; top: calc(100% + 10px); }
.tip-above { left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%); }

/* Hero */
.hero {
  position: relative; z-index: 1; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 140px var(--gutter) calc(clamp(56px, 10svh, 112px) + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}
.hero-inner { display: flex; flex-direction: column; gap: 22px; max-width: 1400px; }
.hero-presents {
  display: flex; align-items: center; gap: 14px;
  font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: -.005em;
}
.hero-logo { height: 34px; width: auto; display: block; }
.hero-title {
  margin: 0;
  font-family: var(--font-display); font-weight: 500; font-style: normal;
  font-size: clamp(60px, 12.5vw, 210px); line-height: .92; letter-spacing: -.05em;
  color: var(--text); overflow-wrap: anywhere; min-width: 0;
}
.hero-title-serif {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: 1.1em; letter-spacing: -.025em; color: var(--violet-deep); padding-right: .04em;
}
.hero-sub {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 28px; padding-left: .4%;
}
.hero-sub p {
  margin: 0;
  font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500; letter-spacing: -.02em; color: var(--text);
}
.hero-sub p.accent { color: var(--cyan); }
.hero-ctas {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px;
  margin-top: 12px; padding-left: .4%;
}
.text-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 500; color: var(--muted); text-decoration: none; white-space: nowrap;
}

/* Sponsors */
.sponsors {
  position: relative; z-index: 1; min-height: 100vh; min-height: 100svh;
  padding: clamp(88px, 12vh, 128px) var(--gutter);
  box-sizing: border-box;
  display: flex; flex-direction: column; justify-content: center;
  gap: clamp(36px, 6vh, 56px);
}
.sponsors-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px;
}
.sponsors-head-text { display: flex; flex-direction: column; gap: 14px; }
.eyebrow { font-size: 16px; font-weight: 500; color: var(--cyan); }
.sponsors h2 {
  margin: 0;
  font-family: var(--font-display); font-weight: 500; font-style: normal;
  font-size: clamp(40px, 5.6vw, 76px); letter-spacing: -.045em; line-height: 1; color: var(--text);
}
.muted-lg { margin: 0; font-size: 17px; font-weight: 500; color: var(--muted); }

.tier { display: flex; flex-direction: column; gap: 14px; }
.tier-label { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--muted); }
.dot { width: 7px; height: 7px; }
.row { display: flex; flex-wrap: wrap; gap: 14px; }

.card {
  background: rgba(21, 27, 44, .62);
  border: 1px solid rgba(232, 235, 244, .09);
  border-radius: 22px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: border-color .3s;
}
.blurred { user-select: none; -webkit-user-select: none; color: var(--text); }

.card-ai {
  display: flex; align-items: center; justify-content: center;
  height: clamp(170px, 24vh, 240px);
}
.blur-ai {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(34px, 4.4vw, 56px); letter-spacing: -.04em; filter: blur(22px);
}

.card-track {
  flex: 1 1 240px; min-width: 0; height: 200px; box-sizing: border-box;
  padding: 20px 22px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.track-num { font-size: 13px; font-weight: 500; color: var(--muted); }
.blur-track { display: flex; flex-direction: column; gap: 8px; filter: blur(16px); }
.track-name { font-weight: 600; font-size: 28px; letter-spacing: -.03em; color: var(--text); }
.track-theme { font-size: 16px; color: var(--muted); }

.card-partner {
  flex: 1 1 180px; min-width: 0; height: 120px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(21, 27, 44, .5);
  border-color: rgba(232, 235, 244, .08);
  border-radius: 18px;
}
.blur-partner { font-weight: 600; font-size: 22px; letter-spacing: -.02em; filter: blur(14px); }

/* Footer */
.site-footer {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(232, 235, 244, .08);
  padding: 26px var(--gutter) calc(26px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 14px; font-weight: 500; color: var(--muted);
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.footer-email { color: var(--muted); text-decoration: none; }
.footer-logo { height: 24px; width: auto; display: block; opacity: .85; }

/* Scroll reveal: only hidden once main.js has opted in, so content never stays invisible */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s cubic-bezier(.16, 1, .3, 1), transform 1s cubic-bezier(.16, 1, .3, 1);
  transition-delay: calc(120ms + var(--i, 0) * 130ms);
}
.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }

/* Hover effects only where a real pointer can hover, so taps don't leave them stuck on */
@media (hover: hover) {
  a:hover { color: var(--text); }
  .nav-link:hover { color: var(--text); }
  .pill:hover {
    border-color: rgba(124, 108, 255, .45);
    background: rgba(124, 108, 255, .08);
    color: var(--text);
  }
  .text-cta:hover { color: var(--cyan); }
  .card-ai:hover { border-color: rgba(124, 108, 255, .5); }
  .card-track:hover { border-color: rgba(34, 211, 238, .45); }
  .card-partner:hover { border-color: rgba(232, 235, 244, .22); }
  .tip-wrap:hover .tip { display: block; }
}

@media (max-width: 600px) {
  .site-footer { flex-direction: column; align-items: flex-start; }
  .footer-meta { flex-direction: column; align-items: flex-start; }
}
