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

:root {
  /* ── Brand palette (from poster) ── */
  --bg:       #0c3e4e;        /* deep teal — poster base */
  --bg-dark:  #091f28;        /* darker teal variant */
  --surface:  rgba(255,255,255,0.06);
  --border:   rgba(255,255,255,0.12);
  --accent:   #f0a020;        /* amber/gold — from "16th-17th" dates in poster */
  --accent2:  #3ecbd4;        /* bright teal highlight */
  --accent3:  #f0a020;
  --text:     #e8f5f7;        /* near-white for dark bg */
  --muted:    #7bbcc7;        /* muted teal-gray */
  --radius:   14px;
  --font:     "Space Grotesk", sans-serif;
  --mono:     "Space Mono", monospace;

  /* Gradient stops */
  --grad-a: #f0a020;
  --grad-b: #3ecbd4;
  --grad-c: #f0a020;
}

html {
  scroll-behavior: smooth;
}

/* ── Body: teal base + subtle hex wall texture ────────────── */
body {
  font-family: var(--font);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;

  /* Dark teal base */
  background-color: var(--bg);

  /*
   * Hex wall texture — four 60° gradient strips create a
   * repeating honeycomb-like faceted pattern, matching the
   * geometric polygon backdrop visible in the brand poster.
   * Opacity kept very low (0.025) so it reads as texture,
   * not as a repeating pattern.
   */
  background-image:
    linear-gradient( 60deg, rgba(255,255,255,0.015) 25%, transparent 25.5%),
    linear-gradient(-60deg, rgba(255,255,255,0.015) 25%, transparent 25.5%),
    linear-gradient( 60deg, transparent 74.5%, rgba(255,255,255,0.015) 75%),
    linear-gradient(-60deg, transparent 74.5%, rgba(255,255,255,0.015) 75%);
  background-size: 12px 21px;
  background-position: 0 0, 0 10.5px, 6px -10.5px, -6px 0;
  background-attachment: fixed;
}

a {
  color: var(--accent2);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}


/* ── Logo ─────────────────────────────────────────────────── */
#logo {
  height: 72px;
  transition: opacity 0.2s;
}
#logo:hover { opacity: 0.85; }

/* ── Navbar ───────────────────────────────────────────────── */
.nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 3rem;
  z-index: 10;
  background: transparent;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-link {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  border: none;
  background: none;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  transition: color 0.2s;
}
.nav-link:hover {
  color: var(--accent);
  text-decoration: none;
}
/* Ghost nav button — glass on dark */
.nav-cta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.42rem 1.1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.35);
  color: #fff;
  text-decoration: none;
}
/* "Become a Member" — amber/gold from the poster */
.nav-cta--member {
  background: var(--accent);
  color: #0c3e4e;          /* dark teal text on gold = great contrast */
  border-color: transparent;
  box-shadow: 0 3px 16px rgba(240,160,32,0.4);
}
.nav-cta--member:hover {
  background: #d98e10;
  color: #0c3e4e;
  border-color: transparent;
  box-shadow: 0 5px 22px rgba(240,160,32,0.55);
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 9rem 1rem 5rem;
  z-index: 1;
  overflow: hidden;
}

/* ── Background parallax deco — the big "2026" ───────────── */
.hero-bg-deco {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--mono);
  font-size: clamp(9rem, 28vw, 20rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.07);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
  will-change: transform;
}

.hero-content {
  position: relative;
  z-index: 2;
  will-change: transform, opacity;
}

/* ── Hero meta row (date + live chip) ────────────────────── */
.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeSlideUp 0.7s 0.1s ease forwards;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.38rem 0.95rem;
  border-radius: 999px;
}
/* Date chip — glass on teal */
.hero-chip--date {
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
}
/* Live chip — bright teal */
.hero-chip--live {
  color: var(--accent2);
  border: 1px solid rgba(62,203,212,0.35);
  background: rgba(62,203,212,0.1);
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent2);
  box-shadow: 0 0 0 3px rgba(62,203,212,0.25);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(62,203,212,0.25); }
  50%       { box-shadow: 0 0 0 7px rgba(62,203,212,0.08); }
}

/* ── Headline ─────────────────────────────────────────────── */
.hero-content h1 {
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 1.2rem;
  /* First line is white, second is gradient */
  color: #fff;
  opacity: 0;
  animation: fadeSlideUp 0.7s 0.25s ease forwards;
}
.hero-content h1 .line {
  display: block;
}
/* Gold → teal → gold gradient on "Contributor Wall" line */
.gradient-text {
  background: linear-gradient(
    135deg,
    var(--grad-a) 0%,
    var(--grad-b) 50%,
    var(--grad-c) 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease infinite;
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── Sub-headline ─────────────────────────────────────────── */
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 440px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  opacity: 0;
  animation: fadeSlideUp 0.7s 0.4s ease forwards;
}
.hero-sub em {
  font-style: normal;
  color: var(--accent);   /* gold emphasis */
  font-weight: 600;
}

/* ── CTA Buttons ──────────────────────────────────────────── */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 2.8rem;
  opacity: 0;
  animation: fadeSlideUp 0.7s 0.55s ease forwards;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s, color 0.18s;
  text-decoration: none !important;
}
.btn:active { transform: scale(0.97) !important; }

/* Primary = amber/gold fill — ties to poster's date color */
.btn-primary {
  background: var(--accent);
  color: #0c3e4e;          /* dark teal on gold */
  box-shadow: 0 4px 22px rgba(240,160,32,0.4);
}
.btn-primary:hover {
  background: #d98e10;
  box-shadow: 0 6px 30px rgba(240,160,32,0.5);
  transform: translateY(-2px);
  color: #0c3e4e;
}

/* Ghost = glass on dark */
.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(62,203,212,0.5);
  color: var(--accent2);
  transform: translateY(-2px);
}

/* ── Stats bar ────────────────────────────────────────────── */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  font-family: var(--mono);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 18px;
  padding: 1rem 2.2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeSlideUp 0.7s 0.7s ease forwards;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}
.stat span {
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  min-width: 3ch;
  line-height: 1;
}
.stat label {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.stat-sep {
  color: rgba(255,255,255,0.2);
  font-size: 1.6rem;
  line-height: 1;
  user-select: none;
}

/* ── Tech pills ───────────────────────────────────────────── */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeSlideUp 0.7s 0.85s ease forwards;
}
.pill {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.5);
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.15s;
}
.pill:hover {
  background: rgba(240,160,32,0.1);
  border-color: rgba(240,160,32,0.4);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ── Scroll hint ──────────────────────────────────────────── */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.12em;
  animation: bob 2.8s ease-in-out infinite;
  opacity: 0.7;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}

/* ── Shared entrance animation ────────────────────────────── */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Contributors panel ───────────────────────────────────── */
/*
 * Kept white — this creates a dramatic reveal as the white panel
 * scrolls up over the dark teal hero, like lifting a stage curtain.
 */
.contributors-panel {
  position: relative;
  z-index: 2;
  background: #fff;
  min-height: 100vh;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.section-label {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: #71717a;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2.5rem 3rem 0;
  position: relative;
  z-index: 1;
}

/* ── Card grid ────────────────────────────────────────────── */
.grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
  gap: 5rem;
  padding: 1.5rem 3rem 5rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* ── Contributor card ─────────────────────────────────────── */
.card {
  width: 100% !important;
  max-width: 360px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  transition:
    transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
    box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
    border-color 0.3s;
  position: relative;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(
    135deg,
    rgba(240,160,32,0.07) 0%,
    rgba(62,203,212,0.05) 50%,
    rgba(240,160,32,0.06) 100%
  );
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 12px 40px rgba(0,0,0,0.1),
    0 0 0 1px rgba(62,203,212,0.3);
  border-color: rgba(62,203,212,0.35);
}
.card:hover::before {
  opacity: 1;
}

/* ── Fade-in for cards ────────────────────────────────────── */
.fade-in {
  opacity: 0;
  animation: fade 0.5s ease forwards;
}
@keyframes fade {
  to { opacity: 1; }
}

/* ── Footer ───────────────────────────────────────────────── */
footer {
  padding: 2rem 3rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: #71717a;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 800px) {
  .hero-stats {
    gap: 1rem;
    padding: 0.8rem 1.2rem;
  }
  .stat span { font-size: 1.35rem; }
}

@media (max-width: 600px) {
  .nav {
    padding: 1rem 1.25rem;
  }
  .nav-link { display: none; }
  .hero {
    padding: 7rem 1rem 5rem;
  }
  .hero-stats {
    flex-wrap: wrap;
    gap: 0.8rem 1.2rem;
    padding: 0.9rem 1.2rem;
  }
  .stat-sep { display: none; }
  .hero-actions {
    flex-direction: column;
    gap: 0.65rem;
  }
  .btn { width: 100%; justify-content: center; }
  .grid {
    padding: 1rem 1rem 4rem;
  }
  .section-label {
    padding: 2rem 1rem 0;
  }
  .footer-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}
