/* =========================================================
   ZENTRIX DESIGN AWARDS · Q2 2026
   style.css
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --black:       #171717;
  --neon:        #D6FF3F;
  --white:       #FFFFFF;

  /* Extended */
  --ink-900:     #0E0E0E;
  --ink-800:     #171717;
  --ink-700:     #1E1E1E;
  --ink-600:     #242424;
  --ink-500:     #2E2E2E;
  --rule:        rgba(255, 255, 255, 0.08);
  --rule-2:      rgba(255, 255, 255, 0.16);
  --rule-3:      rgba(255, 255, 255, 0.32);
  --rule-dark:   rgba(23, 23, 23, 0.12);
  --rule-dark-2: rgba(23, 23, 23, 0.28);
  --text-dim:    rgba(255, 255, 255, 0.62);
  --text-soft:   rgba(255, 255, 255, 0.82);
  --neon-glow:   rgba(214, 255, 63, 0.22);
  --neon-soft:   rgba(214, 255, 63, 0.12);

  /* Type */
  --font: "Akzidenz-Grotesk", "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Space */
  --max: 1240px;
  --pad-x: clamp(20px, 4vw, 48px);
  --pad-y: clamp(96px, 12vw, 160px);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Radii */
  --r-card: 20px;
  --r-pill: 999px;
  --r-sm: 10px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
input, select, textarea, button { font: inherit; color: inherit; }

/* ---------- Base ---------- */
body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  cursor: none;
}
@media (pointer: coarse) { body { cursor: auto; } .cursor-dot, .cursor-ring { display: none !important; } }

::selection { background: var(--neon); color: var(--black); }

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed; top: 8px; left: 8px; padding: 8px 12px;
  background: var(--neon); color: var(--black); z-index: 100;
  border-radius: 6px; font-weight: 700; transform: translateY(-200%);
  transition: transform .2s var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- Grain / Cursor ---------- */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 90;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 200;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  will-change: transform, width, height;
}
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--neon);
  mix-blend-mode: difference;
  transition: width .18s var(--ease-out), height .18s var(--ease-out), background .2s;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid var(--neon);
  opacity: 0;
  transition: opacity .2s, width .2s var(--ease-out), height .2s var(--ease-out);
}
.cursor-dot.is-hover { width: 28px; height: 28px; }
.cursor-dot.is-cta   { width: 10px; height: 10px; }
.cursor-ring.is-cta  { opacity: 1; width: 52px; height: 52px; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  background: rgba(23, 23, 23, 0.68);
  border-bottom: 1px solid var(--rule);
  transition: transform .4s var(--ease-out), background .3s;
}
.nav.is-hidden { transform: translateY(-101%); }
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 14px var(--pad-x);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
}
.nav-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 900; font-style: italic; letter-spacing: -0.02em;
  font-size: 18px; text-transform: uppercase;
}
.logo-mark { width: 20px; height: 20px; color: var(--white); }
.nav-links {
  display: flex; gap: 36px; justify-content: center;
  font-size: 14px; letter-spacing: 0.02em;
}
.nav-links a { position: relative; padding: 4px 0; color: var(--text-soft); transition: color .2s; }
.nav-links a:hover { color: var(--white); }
.nav-links [data-underline] { position: relative; }
.nav-links [data-underline]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--neon);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.nav-links a:hover [data-underline]::after { transform: scaleX(1); }
.nav-cta { justify-self: end; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 22px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase;
  transition: transform .3s var(--ease-out), background .3s, color .3s, box-shadow .3s, filter .3s;
  position: relative; overflow: hidden;
}
.btn-sm { padding: 10px 16px; font-size: 12px; }
.btn-full { width: 100%; padding: 20px; font-size: 14px; }

.btn-primary { background: var(--neon); color: var(--black); }
.btn-primary::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.6) 40%, transparent 80%);
  transform: translateX(-120%); transition: transform .7s var(--ease-out);
}
.btn-primary:hover { transform: translateY(-1px) scale(1.02); box-shadow: 0 12px 30px -10px var(--neon-glow); }
.btn-primary:hover::before { transform: translateX(120%); }

.btn-outline {
  background: transparent; color: var(--white);
  border: 1px solid var(--rule-3);
}
.btn-outline:hover { border-color: var(--neon); color: var(--neon); transform: translateY(-1px); }

/* =========================================================
   PILLS · SECTION HEAD · TITLES
   ========================================================= */
.section {
  position: relative;
  max-width: var(--max); margin: 0 auto;
  padding: var(--pad-y) var(--pad-x);
}
.section-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: clamp(40px, 6vw, 72px);
  gap: 20px;
}
.pill-row { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--r-pill);
  border: 1px solid var(--rule-3); background: transparent;
  font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-soft);
  transition: border-color .25s, color .25s, background .25s;
}
.pill:hover { border-color: var(--neon); color: var(--neon); }
.pill-dark { border-color: var(--rule-dark-2); color: var(--black); }
.pill-dark:hover { background: var(--black); color: var(--neon); border-color: var(--black); }

.year-stamp {
  font-family: var(--font);
  font-style: italic; font-weight: 900;
  font-size: clamp(36px, 5vw, 56px);
  color: var(--neon);
  letter-spacing: -0.03em;
  line-height: 0.9;
}
.year-stamp-dark { color: var(--black); }

/* Headlines */
.h2 {
  font-family: var(--font);
  font-weight: 900; font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 0.92;
  font-size: clamp(46px, 9vw, 112px);
  margin: 0 0 36px;
  color: var(--white);
}
.h2-xl { font-size: clamp(54px, 11vw, 144px); }
.h2.invert { color: var(--black); }
.h2 .accent-text { color: var(--neon); }
.dot-accent { color: var(--neon); }
.dot-dark { color: var(--black) !important; }

.reveal-title { overflow: hidden; }
.reveal-title > span {
  display: inline-block;
  transform: translateY(105%);
  opacity: 0;
  transition: transform .9s var(--ease-out), opacity .9s var(--ease-out);
}
.reveal-title.in > span { transform: translateY(0); opacity: 1; }

.section-intro {
  max-width: 740px; font-size: clamp(16px, 1.2vw, 19px); color: var(--text-soft);
  margin: 0 0 48px;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  width: 100%;
  padding: 140px 0 0;
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}
.hero-head,
.hero-title,
.hero-sub,
.countdown {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
  width: 100%;
  box-sizing: border-box;
}
.hero-head { padding-top: 40px; margin-bottom: clamp(36px, 6vw, 72px); }

.hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
}
.aurora {
  position: absolute; width: 900px; height: 900px; border-radius: 50%;
  filter: blur(120px); opacity: 0.45;
  animation: aurora 18s ease-in-out infinite alternate;
}
.aurora-1 { top: -20%; left: -10%; background: radial-gradient(circle, var(--neon) 0%, transparent 60%); opacity: 0.3; }
.aurora-2 { top: 20%; right: -15%; background: radial-gradient(circle, var(--neon) 0%, transparent 60%); opacity: 0.18; animation-delay: -4s; }
.aurora-3 { bottom: -30%; left: 20%; background: radial-gradient(circle, var(--neon) 0%, transparent 60%); opacity: 0.14; animation-delay: -9s; }
@keyframes aurora {
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(60px, -40px) scale(1.1); }
  100% { transform: translate(-40px, 40px) scale(0.95); }
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
  opacity: 0.5;
}

.hero-title {
  font-family: var(--font);
  font-style: italic; font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.045em;
  line-height: 0.88;
  font-size: clamp(64px, 14vw, 200px);
  margin: 0;
  color: var(--white);
}
.hero-title .line { display: block; overflow: hidden; padding: 0.02em 0; }
.hero-title .word {
  display: inline-block;
  transform: translateY(105%);
  opacity: 0;
}
.hero-title.is-loaded .word { animation: riseIn 1.05s var(--ease-out) forwards; }
.hero-title.is-loaded .line:nth-child(1) .word { animation-delay: 0.05s; }
.hero-title.is-loaded .line:nth-child(2) .word { animation-delay: 0.18s; }
.hero-title.is-loaded .line:nth-child(3) .word { animation-delay: 0.30s; }
@keyframes riseIn {
  to { transform: translateY(0); opacity: 1; }
}

.hero-sub {
  margin-top: clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: 1fr auto; gap: 40px;
  align-items: end;
  opacity: 0; transform: translateY(24px);
  animation: fadeUp .8s var(--ease-out) .55s forwards;
}
.hero-sub-left { display: flex; flex-direction: column; gap: 14px; }
.q2-stamp {
  color: var(--neon); font-style: italic; font-weight: 900;
  font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.02em; text-transform: uppercase;
}
.hero-lede {
  font-size: clamp(17px, 1.4vw, 22px); font-weight: 400; color: var(--text-soft);
  max-width: 560px; margin: 0; line-height: 1.35;
}
.hero-ctas { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; }
.hero-ctas .btn { padding: 20px 30px; font-size: 15px; letter-spacing: 0.05em; }
.hero-ctas .btn svg { width: 18px; height: 18px; }
.prize-chip {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 13px 22px; border-radius: var(--r-pill);
  background: rgba(214, 255, 63, 0.08); border: 1px solid var(--neon);
  color: var(--neon); text-transform: uppercase; font-size: 14px; font-weight: 500; letter-spacing: 0.12em;
}
.prize-chip .spark { width: 14px; height: 14px; color: var(--neon); animation: spin 8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

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

/* Countdown */
.countdown {
  margin-top: clamp(36px, 5vw, 64px);
  padding: 20px 0;
  border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center;
  opacity: 0; transform: translateY(24px);
  animation: fadeUp .8s var(--ease-out) .8s forwards;
}
.cd-label {
  font-family: var(--mono); font-size: 12px;
  color: var(--text-dim); letter-spacing: 0.06em;
  display: inline-flex; align-items: center; gap: 10px;
}
.cd-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 12px var(--neon-glow); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; transform: scale(.8); } }
.cd-grid { display: inline-flex; align-items: center; gap: 10px; }
.cd-cell {
  display: inline-flex; flex-direction: column; align-items: center;
  padding: 10px 14px; min-width: 72px;
  border: 1px solid var(--rule-2); border-radius: 12px;
  background: rgba(255,255,255,0.02);
}
.cd-num {
  font-family: var(--mono); font-weight: 500;
  font-size: clamp(22px, 2.2vw, 28px);
  color: var(--neon); line-height: 1;
  font-variant-numeric: tabular-nums;
  display: inline-block; transition: transform .25s var(--ease-out);
}
.cd-num.tick { animation: tick .4s var(--ease-out); }
@keyframes tick {
  0%   { transform: translateY(0); opacity: 1; }
  50%  { transform: translateY(-6px); opacity: 0; }
  51%  { transform: translateY(6px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cd-lbl { font-size: 9px; letter-spacing: 0.14em; color: var(--text-dim); text-transform: uppercase; margin-top: 4px; }
.cd-sep { color: var(--text-dim); font-family: var(--mono); font-size: 22px; }

/* Ticker */
.ticker {
  margin: clamp(48px, 7vw, 96px) 0 0;
  width: 100%;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: tickerMove 32s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-row {
  display: inline-flex; align-items: center;
  padding: 24px 0; gap: 48px; padding-right: 48px;
  font-style: italic; font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.02em;
  font-size: clamp(28px, 4vw, 52px);
  color: var(--neon);
}
.ticker-row span:not(.ticker-star) { display: inline-block; }
.ticker-star { color: var(--neon); font-size: 0.7em; animation: spin 12s linear infinite; display: inline-block; }
@keyframes tickerMove { to { transform: translateX(-50%); } }

/* =========================================================
   CARDS (generic 3-up)
   ========================================================= */
.grid-3 {
  display: grid; gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}
.card {
  position: relative;
  padding: 28px 28px 24px;
  background: var(--ink-700);
  border-radius: var(--r-card);
  border: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 22px;
  transition: transform .35s var(--ease-out), border-color .3s, background .3s, box-shadow .35s;
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(600px 300px at var(--mx, 50%) var(--my, 0%), var(--neon-soft), transparent 60%);
  opacity: 0; transition: opacity .35s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(214,255,63,0.4); background: var(--ink-600); box-shadow: 0 24px 48px -30px var(--neon-glow); }
.card:hover::after { opacity: 1; }
.card-badge {
  align-self: flex-start;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 4px 10px; border-radius: 8px;
  background: var(--neon); color: var(--black);
  font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: 0.04em;
}
.card-body { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-title {
  margin: 0;
  font-weight: 900; font-style: italic;
  font-size: clamp(22px, 2vw, 26px);
  line-height: 1.02; letter-spacing: -0.02em; text-transform: uppercase;
}
.card-text { margin: 0; color: var(--text-soft); font-size: 15px; line-height: 1.55; }
.card-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 8px; border-top: 1px dashed var(--rule-2); }
.card-tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--text-dim); text-transform: uppercase; }
.card-arrow { color: var(--neon); font-size: 16px; transition: transform .3s var(--ease-out); }
.card:hover .card-arrow { transform: translate(3px, -3px); }

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: start;
}
.accent-text { color: var(--neon); display: inline-block; }
.lede {
  font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; color: var(--text-soft);
  margin: 0 0 20px; max-width: 620px;
}
.big-stat {
  font-style: italic; font-weight: 900;
  font-size: clamp(40px, 5vw, 72px);
  color: var(--neon); letter-spacing: -0.04em; line-height: 0.9;
  display: inline-block; margin-right: 6px;
  vertical-align: middle; transform: translateY(-2px);
}
.about-mock { position: relative; }
.mock-frame {
  background: linear-gradient(180deg, var(--ink-700), var(--ink-600));
  border: 1px solid var(--rule-2);
  border-radius: 16px; overflow: hidden;
  transform: rotate(-1.5deg);
  box-shadow: 0 60px 80px -50px rgba(0,0,0,0.6), 0 0 0 1px var(--rule);
  transition: transform .5s var(--ease-out);
}
.about-mock:hover .mock-frame { transform: rotate(0); }
.mock-topbar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: rgba(0,0,0,0.4); border-bottom: 1px solid var(--rule);
  font-family: var(--mono); font-size: 11px; color: var(--text-dim);
}
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-500); }
.mock-url { margin-left: 12px; }
.mock-body { display: grid; grid-template-columns: 72px 1fr; min-height: 280px; }
.mock-side { padding: 18px 12px; border-right: 1px solid var(--rule); display: flex; flex-direction: column; gap: 10px; }
.mock-ln { height: 8px; border-radius: 4px; background: var(--ink-500); }
.mock-ln.active { background: var(--neon); }
.mock-main { padding: 20px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 12px; }
.mock-card {
  background: rgba(0,0,0,0.3); border: 1px solid var(--rule); border-radius: 10px;
  padding: 14px; display: flex; flex-direction: column; gap: 8px;
  grid-column: span 2;
}
.mock-card.small { grid-column: span 1; }
.mock-lbl { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--text-dim); }
.mock-val { font-weight: 900; font-style: italic; font-size: 24px; letter-spacing: -0.02em; }
.mock-spark { width: 100%; height: 38px; }
.mock-caption {
  margin-top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  color: var(--text-dim); text-transform: uppercase; text-align: right;
}

/* =========================================================
   COMPETITION OVERVIEW (2-col)
   ========================================================= */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.comp-col {
  padding: 36px 32px;
  background: var(--ink-700);
  border: 1px solid var(--rule);
  border-radius: var(--r-card);
}
.comp-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.comp-title {
  font-weight: 900; font-style: italic; font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: -0.02em; line-height: 1.05; text-transform: uppercase; margin: 0;
}
.comp-body { color: var(--text-soft); font-size: 16px; line-height: 1.6; margin: 0; }
.hl { color: var(--white); border-bottom: 1px solid var(--neon); padding-bottom: 1px; }

/* =========================================================
   CATEGORIES (2x2)
   ========================================================= */
.grid-2x2 {
  display: grid; gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}
.cat-card {
  position: relative;
  padding: 32px;
  background: var(--ink-700);
  border: 1px solid var(--rule);
  border-radius: var(--r-card);
  display: flex; flex-direction: column; gap: 18px;
  min-height: 320px;
  transition: transform .35s var(--ease-out), border-color .3s, background .3s, box-shadow .35s;
  overflow: hidden;
}
.cat-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(800px 400px at var(--mx, 50%) var(--my, 0%), var(--neon-soft), transparent 60%);
  opacity: 0; transition: opacity .35s;
}
.cat-card:hover { transform: translateY(-4px); border-color: rgba(214,255,63,0.5); background: var(--ink-600); box-shadow: 0 24px 48px -30px var(--neon-glow); }
.cat-card:hover::after { opacity: 1; }
.cat-head { display: flex; justify-content: space-between; align-items: center; }
.cat-kicker {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  color: var(--text-dim); text-transform: uppercase;
}
.cat-title {
  font-weight: 900; font-style: italic;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 0.95; letter-spacing: -0.03em; text-transform: uppercase; margin: 8px 0 0;
}
.cat-text { color: var(--text-soft); font-size: 15px; line-height: 1.55; margin: 0; flex: 1; }
.cat-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  display: inline-flex; align-items: center;
  padding: 5px 10px; border-radius: var(--r-pill);
  border: 1px solid var(--rule-2); background: rgba(0,0,0,0.2);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-soft);
}

/* =========================================================
   JUDGING CRITERIA
   ========================================================= */
.judge-list {
  border-top: 1px solid var(--rule);
}
.judge-row {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px;
  padding: 28px 4px;
  border-bottom: 1px solid var(--rule);
  transition: background .25s;
}
.judge-row:hover { background: rgba(255,255,255,0.015); }
.judge-idx {
  font-family: var(--mono); font-size: 12px; color: var(--text-dim);
  letter-spacing: 0.1em;
}
.judge-body { display: flex; flex-direction: column; gap: 12px; }
.judge-name {
  margin: 0;
  font-weight: 700; font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.01em;
}
.judge-bar { height: 3px; background: var(--rule-2); border-radius: 999px; overflow: hidden; }
.judge-fill {
  height: 100%; width: 0;
  background: var(--neon); border-radius: 999px;
  transition: width 1.4s var(--ease-out);
  box-shadow: 0 0 14px var(--neon-glow);
}
.judge-row.in .judge-fill { width: var(--w); }
.judge-pct {
  font-style: italic; font-weight: 900;
  font-size: clamp(36px, 4.5vw, 56px);
  color: var(--neon); letter-spacing: -0.04em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.judge-pct .pct { font-size: 0.55em; margin-left: 2px; }

/* =========================================================
   PRIZES (INVERTED)
   ========================================================= */
.section-invert {
  max-width: none; padding-left: 0; padding-right: 0;
  background: var(--neon); color: var(--black);
  position: relative;
}
.section-invert::before,
.section-invert::after {
  content: ""; position: absolute; left: 0; right: 0; height: 60px;
  background: inherit;
}
.section-invert > * { color: var(--black); }
.section-invert .section-head,
.section-invert .h2,
.section-invert .prizes-grid {
  max-width: var(--max); margin-left: auto; margin-right: auto;
  padding-left: var(--pad-x); padding-right: var(--pad-x);
}
.section-head.invert { padding-left: var(--pad-x); padding-right: var(--pad-x); }

.prizes-grid {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px;
  margin-top: 20px;
}
.sub-head {
  display: inline-flex; align-items: baseline; gap: 12px;
  font-weight: 900; font-style: italic; font-size: clamp(20px, 2vw, 26px);
  text-transform: uppercase; letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.sub-num { font-family: var(--mono); font-weight: 500; font-style: normal; font-size: 12px; letter-spacing: 0.08em; color: rgba(23,23,23,0.55); }

.prize-card {
  position: relative;
  background: var(--black); color: var(--white);
  border-radius: var(--r-card);
  padding: 24px 28px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px;
  margin-bottom: 12px;
  border: 1px solid var(--black);
  transition: transform .4s var(--ease-out), box-shadow .4s;
}
.prize-card.grand { padding: 36px 32px; background: linear-gradient(180deg, #1c1c1c, #0c0c0c); }
.prize-card:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -22px rgba(0,0,0,0.45); }
.prize-rank {
  font-style: italic; font-weight: 900; letter-spacing: -0.04em;
  font-size: clamp(40px, 5vw, 72px); line-height: 0.9;
  color: var(--neon);
}
.prize-rank.small { font-size: clamp(22px, 2vw, 28px); line-height: 1; color: var(--white); padding-right: 4px; border-right: 1px solid var(--rule-2); padding-right: 24px; }
.prize-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.prize-amt {
  font-weight: 900; font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.02em; text-transform: uppercase; line-height: 1;
}
.prize-amt span { color: var(--text-dim); font-weight: 500; font-style: normal; font-size: 13px; letter-spacing: 0.1em; margin-left: 4px; }
.prize-amt-sm {
  font-weight: 900; font-style: italic; font-size: clamp(18px, 1.6vw, 22px);
  text-transform: uppercase; letter-spacing: -0.02em;
}
.prize-sub { margin: 4px 0 0; font-size: 14px; color: var(--text-soft); line-height: 1.5; }
.prize-mark { width: 40px; height: 40px; flex-shrink: 0; animation: spin 20s linear infinite; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 9px; top: 12px; bottom: 12px; width: 1px;
  background: rgba(23,23,23,0.3); border-left: 1px dashed rgba(23,23,23,0.35);
  background: none;
}
.t-item {
  position: relative;
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center;
  padding: 12px 0;
}
.t-dot {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--black);
  border: 4px solid var(--neon);
  position: relative; z-index: 1;
  transition: transform .3s var(--ease-out);
}
.t-item.highlight .t-dot { background: var(--neon); border-color: var(--black); box-shadow: 0 0 0 4px rgba(23,23,23,0.08); }
.t-item:hover .t-dot { transform: scale(1.25); }
.t-body { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.t-date {
  font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: 0.06em;
  color: var(--black); min-width: 106px; text-transform: uppercase;
  border-bottom: 1px dashed rgba(23,23,23,0.3); padding-bottom: 2px;
}
.t-text { margin: 0; font-size: 16px; color: rgba(23,23,23,0.82); line-height: 1.4; }
.t-item.highlight .t-text { font-weight: 700; color: var(--black); }

/* =========================================================
   FAQ
   ========================================================= */
.faq { border-top: 1px solid var(--rule); }
.faq-item {
  border-bottom: 1px solid var(--rule);
  transition: background .25s;
}
.faq-item:hover { background: rgba(255,255,255,0.015); }
.faq-item > summary {
  list-style: none;
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 28px; align-items: center;
  padding: 28px 4px;
  cursor: none;
  user-select: none;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-idx { font-family: var(--mono); font-size: 12px; color: var(--text-dim); letter-spacing: 0.1em; }
.faq-q {
  font-weight: 700; font-size: clamp(18px, 1.7vw, 22px);
  letter-spacing: -0.01em;
}
.faq-icon {
  position: relative;
  width: 22px; height: 22px; flex-shrink: 0;
  transition: transform .35s var(--ease-out);
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; background: var(--neon); border-radius: 2px;
}
.faq-icon::before { top: 10px; left: 0; right: 0; height: 2px; }
.faq-icon::after  { left: 10px; top: 0; bottom: 0; width: 2px; transition: transform .35s var(--ease-out); }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-a {
  padding: 0 4px 28px 52px;
  color: var(--text-soft); font-size: 16px; line-height: 1.6;
  max-width: 800px;
}
.faq-a p { margin: 0; }
.faq-item[open] .faq-a { animation: fadeIn .4s var(--ease-out) both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

/* =========================================================
   FORM
   ========================================================= */
.form {
  border-top: 1px solid var(--rule);
  padding-top: 40px;
}
.form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px;
}
.field { display: flex; flex-direction: column; gap: 10px; position: relative; }
.field.col-full { grid-column: 1 / -1; }
.field label {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-dim); font-weight: 500;
}
.field .req { color: var(--neon); }
.field .opt { color: rgba(255,255,255,0.3); text-transform: none; letter-spacing: 0.02em; }
.field .hint { color: var(--text-dim); text-transform: none; letter-spacing: 0.02em; font-size: 10px; margin-left: 6px; }

.field input[type=text],
.field input[type=email],
.field input[type=url],
.field textarea,
.field select {
  appearance: none; -webkit-appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule-3);
  padding: 14px 2px;
  color: var(--white); font-size: 16px;
  width: 100%;
  transition: border-color .3s, background .3s;
  border-radius: 0;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.28); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--neon);
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.55; }
.field.is-invalid input,
.field.is-invalid textarea,
.field.is-invalid select { border-color: #ff5a3d; }

.select-wrap { position: relative; }
.select-wrap select {
  padding-right: 32px; cursor: none;
  color: rgba(255,255,255,0.28);
}
.select-wrap select:valid, .select-wrap select.has-value { color: var(--white); }
.select-caret {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 12px; height: 8px; color: var(--text-dim); pointer-events: none;
  transition: color .3s, transform .3s;
}
.select-wrap select:focus ~ .select-caret { color: var(--neon); transform: translateY(-50%) rotate(180deg); }

.counter {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--text-dim); text-align: right;
  text-transform: uppercase;
}
.counter[data-over="true"] { color: #ff5a3d; }

/* Dropzone */
.dropzone {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 38px 24px;
  border: 1.5px dashed var(--rule-3);
  border-radius: var(--r-card);
  text-align: center;
  transition: border-color .3s, background .3s, color .3s;
  cursor: none;
}
.dropzone:hover { border-color: var(--neon); background: rgba(214,255,63,0.03); }
.dropzone.drag { border-color: var(--neon); background: rgba(214,255,63,0.08); animation: dashMove 1s linear infinite; }
@keyframes dashMove { to { background-position: 20px 0; } }
.dz-icon { width: 32px; height: 32px; color: var(--text-soft); }
.dz-main { font-weight: 600; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; }
.dz-link { color: var(--neon); text-decoration: underline; text-underline-offset: 3px; }
.dz-hint { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--text-dim); text-transform: uppercase; }

.file-list {
  list-style: none; padding: 0; margin: 14px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.file-item {
  position: relative;
  border: 1px solid var(--rule);
  border-radius: 12px; overflow: hidden;
  background: var(--ink-700);
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
}
.file-item img { width: 100%; height: 100%; object-fit: cover; }
.file-item .placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  text-align: center; padding: 10px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--text-dim);
}
.file-item .fname {
  position: absolute; inset: auto 0 0 0; padding: 6px 8px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  font-family: var(--mono); font-size: 10px; color: var(--white);
  letter-spacing: 0.05em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.file-item .remove {
  position: absolute; top: 8px; right: 8px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--black); color: var(--neon);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--rule-2);
  font-size: 14px; line-height: 1;
  transition: background .2s, color .2s, transform .2s;
}
.file-item .remove:hover { background: var(--neon); color: var(--black); transform: scale(1.08); }

/* Checkbox */
.check {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: flex-start;
  cursor: none; text-transform: none; letter-spacing: 0.01em; font-family: var(--font);
  font-size: 15px; color: var(--text-soft); font-weight: 400;
}
.check input[type=checkbox] { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.check-box {
  width: 22px; height: 22px; border-radius: 6px;
  border: 1px solid var(--rule-3); background: transparent;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s, border-color .25s;
}
.check-box svg { width: 12px; height: 10px; color: var(--black); opacity: 0; transition: opacity .2s; }
.check input:checked + .check-box { background: var(--neon); border-color: var(--neon); }
.check input:checked + .check-box svg { opacity: 1; }
.check input:focus-visible + .check-box { outline: 2px solid var(--neon); outline-offset: 2px; }
.check .link { color: var(--white); border-bottom: 1px solid var(--neon); }

/* Submit button spinner + loading state */
.btn-spinner {
  display: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(23,23,23,0.25);
  border-top-color: var(--black);
  animation: spin 0.8s linear infinite;
}
.btn.is-loading .btn-label { opacity: 0.65; }
.btn.is-loading .btn-arrow { display: none; }
.btn.is-loading .btn-spinner { display: inline-block; }
.btn[disabled], .btn.is-loading { cursor: not-allowed; filter: saturate(0.6); }
.btn[disabled]:hover { transform: none; box-shadow: none; }

/* Inline error banner under submit */
.form-error {
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 90, 61, 0.4);
  background: rgba(255, 90, 61, 0.08);
  color: #ff8566;
  border-radius: 12px;
  font-size: 14px; line-height: 1.4;
  font-family: var(--mono); letter-spacing: 0.02em;
  display: flex; align-items: flex-start; gap: 10px;
  animation: fadeIn .3s var(--ease-out);
}
.form-error::before {
  content: "!"; flex-shrink: 0;
  width: 20px; height: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #ff5a3d; color: var(--black);
  border-radius: 50%; font-weight: 900; font-size: 13px; font-family: var(--font);
}

/* Submitting — lock the whole form */
.form.is-submitting {
  pointer-events: none;
  user-select: none;
}
.form.is-submitting .field:not(:has(#submit-btn)) { opacity: 0.55; }

/* File item upload progress overlay */
.file-item.is-uploading::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(23,23,23,0.6);
  backdrop-filter: blur(2px);
  pointer-events: none;
}
.file-item .progress {
  position: absolute; left: 8px; right: 8px; bottom: 8px;
  height: 3px; border-radius: 999px;
  background: rgba(255,255,255,0.15); overflow: hidden;
  z-index: 2;
}
.file-item .progress-bar {
  height: 100%; width: 0%;
  background: var(--neon);
  transition: width .25s var(--ease-out);
}
.file-item.is-done .progress { opacity: 0; transition: opacity .4s .2s; }
.file-item.is-done::before {
  content: "✓"; position: absolute; top: 8px; left: 8px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--neon); color: var(--black);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 900; z-index: 3;
  animation: fadeIn .3s var(--ease-out);
}

/* Form success */
.form-success {
  margin-top: 40px;
  padding: 60px 40px;
  border: 1px solid var(--rule);
  border-radius: var(--r-card);
  background: var(--ink-700);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.form-success[hidden],
.form-error[hidden],
.form[hidden] { display: none !important; }
.success-check svg { width: 80px; height: 80px; }
.sc-circle { stroke-dasharray: 176; stroke-dashoffset: 176; animation: drawCircle .9s var(--ease-out) forwards; }
.sc-check  { stroke-dasharray: 60;  stroke-dashoffset: 60; animation: drawCheck  .6s var(--ease-out) .6s forwards; }
@keyframes drawCircle { to { stroke-dashoffset: 0; } }
@keyframes drawCheck  { to { stroke-dashoffset: 0; } }
.success-title {
  margin: 0;
  font-weight: 900; font-style: italic; font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.03em; text-transform: uppercase;
}
.success-body { margin: 0; color: var(--text-soft); font-size: 17px; max-width: 520px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  border-top: 1px solid var(--rule);
  padding: 32px var(--pad-x);
  background: var(--black);
}
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center;
  font-size: 13px; color: var(--text-dim); letter-spacing: 0.04em; text-transform: uppercase;
}
.footer-left { display: inline-flex; align-items: center; gap: 12px; color: var(--white); font-weight: 500; }
.footer-title { letter-spacing: 0.08em; }
.footer-links { display: inline-flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.footer-links a { color: var(--text-soft); transition: color .2s; }
.footer-links a:hover { color: var(--neon); }
.footer-links .sep { color: var(--rule-3); }
.footer-right { justify-self: end; }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal-stagger {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal-stagger.in { opacity: 1; transform: translateY(0); }
.prize-card.reveal-stagger { transform: translateY(20px) scale(0.97); }
.prize-card.reveal-stagger.in { transform: translateY(0) scale(1); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .prizes-grid { grid-template-columns: 1fr; gap: 48px; }
  .grid-3 { grid-template-columns: 1fr; }
  .hero-sub { grid-template-columns: 1fr; gap: 32px; }
  .hero-ctas { align-items: flex-start; }
  .cta-row { justify-content: flex-start; }
  .countdown { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-inner { grid-template-columns: auto auto; gap: 12px; }
  .nav-links { display: none; }
  .grid-2 { grid-template-columns: 1fr; gap: 16px; }
  .grid-2x2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-right { justify-self: center; }
  .judge-row { grid-template-columns: auto 1fr; gap: 16px; }
  .judge-pct { grid-column: 2; grid-row: 1; justify-self: end; font-size: 32px; }
  .judge-body { grid-column: 1 / -1; }
  .prize-card { grid-template-columns: 1fr; gap: 8px; }
  .prize-card .prize-mark { display: none; }
  .prize-rank.small { border-right: 0; padding-right: 0; }
  .cd-grid { flex-wrap: wrap; }
  .cd-cell { min-width: 60px; padding: 8px 10px; }
  .file-list { grid-template-columns: repeat(2, 1fr); }
  .mock-body { grid-template-columns: 1fr; min-height: auto; }
  .mock-side { flex-direction: row; border-right: 0; border-bottom: 1px solid var(--rule); }
  .mock-ln { width: 40px; height: 6px; }
  .faq-item > summary { grid-template-columns: 1fr auto; gap: 14px; }
  .faq-idx { display: none; }
  .faq-a { padding-left: 4px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .year-stamp { align-self: flex-end; }
}

@media (max-width: 480px) {
  .hero { padding-top: 110px; }
  .hero-head { padding-top: 24px; }
  .nav-cta { padding: 8px 12px; font-size: 11px; }
  .ticker-row { font-size: 30px; gap: 32px; padding: 18px 0; padding-right: 32px; }
  .btn { padding: 13px 18px; font-size: 13px; }
  .file-list { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero-title .word,
  .reveal-title > span { transform: none; opacity: 1; }
  .reveal-stagger { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
  .judge-fill { width: var(--w); }
  html { scroll-behavior: auto; }
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
}
