/* ═══════════════════════════════════════════════════════════
   QUANTUM CODERS. Season XI
   Design system: warm paper · ink · quantum indigo
   Serif display (Playfair) · grotesk body · mono micro-labels
   ═══════════════════════════════════════════════════════════ */

:root {
  --paper: #ece7db;
  --paper-2: #e4ded0;
  --paper-3: #dcd5c4;
  --ink: #17130c;
  --ink-2: #56503f;
  --ink-3: #8a8271;
  --line: rgba(23, 19, 12, 0.16);
  --line-soft: rgba(23, 19, 12, 0.09);
  --accent: #4534e0;
  --accent-deep: #2f21b8;
  --accent-soft: rgba(69, 52, 224, 0.09);
  --gold: #b98a2f;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Space Grotesk", "Helvetica Neue", sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --nav-h: 76px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: #fff; }

/* ── Layout ── */
.container { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: clamp(90px, 11vw, 150px) 0; border-top: 1px solid var(--line-soft); }
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; }
.col-5 { grid-column: span 5; }
.col-7 { grid-column: span 7; }

/* ── Grain ── */
.grain {
  position: fixed; inset: -50%; z-index: 2000; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.05;
  animation: grain-shift 9s steps(10) infinite;
}
@keyframes grain-shift {
  0%,100% { transform: translate(0,0); } 10% { transform: translate(-3%,-6%); }
  30% { transform: translate(5%,-3%); } 50% { transform: translate(-4%,5%); }
  70% { transform: translate(6%,3%); } 90% { transform: translate(-2%,6%); }
}

/* ── Custom cursor ── */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; position: fixed; inset: 0; z-index: 3000; pointer-events: none; }
  .cursor-dot {
    position: absolute; width: 6px; height: 6px; border-radius: 50%;
    background: var(--ink); transform: translate(-50%, -50%);
  }
  .cursor-ring {
    position: absolute; width: 34px; height: 34px; border-radius: 50%;
    border: 1px solid var(--ink); transform: translate(-50%, -50%) scale(1);
    display: grid; place-items: center; color: transparent;
    transition: transform 0.35s var(--ease-out), background 0.35s, border-color 0.35s, color 0.35s;
  }
  .cursor.is-hover .cursor-ring {
    transform: translate(-50%, -50%) scale(2.1);
    background: var(--ink); color: var(--paper);
  }
  .cursor.is-hover .cursor-dot { opacity: 0; }
  .cursor.is-down .cursor-ring { transform: translate(-50%, -50%) scale(1.6); }
  .cursor-arrow { opacity: 0; transition: opacity 0.25s; }
  .cursor.is-hover .cursor-arrow { opacity: 1; }
}

/* ── Micro labels ── */
.label-row {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-2);
  margin-bottom: clamp(28px, 4vw, 44px);
}
.label-num { color: var(--ink); font-weight: 600; }
.label-sep { flex: 0 0 56px; height: 1px; background: var(--ink); opacity: 0.5; }
.label-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── Display type ── */
.display-lg, .display-md {
  font-family: var(--serif); font-weight: 600; line-height: 1.02;
  letter-spacing: -0.015em;
}
.display-lg { font-size: clamp(46px, 8vw, 110px); }
.display-md { font-size: clamp(38px, 5.4vw, 72px); margin-bottom: clamp(26px, 3.5vw, 44px); }
.display-lg em, .display-md em, .hero-title em {
  font-style: italic; font-weight: 500; color: var(--accent);
}
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .display-md { margin-bottom: 0; }
.section-sub { max-width: 420px; color: var(--ink-2); font-size: 16px; }

.lede { font-size: clamp(19px, 2.1vw, 24px); line-height: 1.45; font-weight: 400; margin-bottom: 26px; }
.lede-center { max-width: 640px; margin-inline: auto; text-align: center; }
.body-text { color: var(--ink-2); margin-bottom: 20px; max-width: 62ch; }
.lede strong, .body-text strong { color: var(--ink); font-weight: 600; }

/* ── Buttons & links ── */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border: 1px solid var(--ink); border-radius: 999px;
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  letter-spacing: 0.02em; overflow: hidden; isolation: isolate;
  transition: color 0.4s var(--ease-out), border-color 0.4s;
  width: fit-content;
}
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-bg {
  position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: translateX(-101%); transition: transform 0.45s var(--ease-out);
  border-radius: inherit;
}
.btn:hover { color: var(--paper); }
.btn:hover .btn-bg { transform: translateX(0); }
.btn-icon { transition: transform 0.4s var(--ease-out); }
.btn:hover .btn-icon { transform: translateX(4px); }
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid .btn-bg { background: var(--accent); }
.btn-solid:hover { border-color: var(--accent); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 500; padding-bottom: 3px;
  background: linear-gradient(var(--ink), var(--ink)) left bottom / 0% 1px no-repeat;
  transition: background-size 0.4s var(--ease-out);
}
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow svg { transition: transform 0.35s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ── Nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: transform 0.45s var(--ease-out);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav-inner {
  height: var(--nav-h); width: min(1360px, calc(100% - 48px)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-links { display: flex; gap: 26px; }
.nav-link {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-2);
  padding: 4px 0; background: linear-gradient(var(--ink), var(--ink)) left bottom / 0% 1px no-repeat;
  transition: color 0.3s, background-size 0.35s var(--ease-out);
}
.nav-link:hover { color: var(--ink); background-size: 100% 1px; }
.nav-brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { color: var(--accent); }
.brand-word {
  font-family: var(--serif); font-size: 21px; font-weight: 700; letter-spacing: -0.01em;
}
.nav-right { display: flex; align-items: center; gap: 16px; }

.burger { display: none; flex-direction: column; gap: 5px; padding: 10px 4px; }
.burger span { width: 26px; height: 1.6px; background: var(--ink); transition: transform 0.35s var(--ease-out), opacity 0.3s; }
.burger.is-open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 900; background: var(--paper);
  display: flex; flex-direction: column; justify-content: center; gap: 40px;
  padding: 100px 32px 40px; overflow-y: auto;
  clip-path: inset(0 0 100% 0); transition: clip-path 0.6s var(--ease-io);
}
.mobile-menu.is-open { clip-path: inset(0); }
.mobile-menu-links { display: flex; flex-direction: column; }
.mobile-link {
  display: flex; align-items: baseline; gap: 16px; padding: 14px 0;
  font-family: var(--serif); font-size: clamp(30px, 7vw, 44px); font-weight: 600;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-link em { font-family: var(--mono); font-style: normal; font-size: 12px; color: var(--accent); }
.mobile-menu-foot {
  display: flex; justify-content: space-between; gap: 12px;
  font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--ink-2);
}

/* ── Hero ── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 48px) 0 80px;
  overflow: hidden;
}
.hero-watermark {
  position: absolute; right: -4vw; top: 50%; transform: translateY(-52%);
  font-family: var(--serif); font-style: italic; font-weight: 800;
  font-size: clamp(300px, 44vw, 640px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--line);
  pointer-events: none; user-select: none;
}
.live-badge {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
  text-transform: none; color: var(--ink);
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #2f9e44; animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero-title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(44px, 7.6vw, 104px);
  line-height: 1.04; letter-spacing: -0.015em;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.hero-line { display: block; }
.hero-rotate-line { min-height: 1.1em; }
.hero-rotate { color: var(--ink-2); font-style: italic; font-weight: 500; display: inline-block; }
.hero-rotate.swap-out { animation: rot-out 0.45s var(--ease-io) forwards; }
.hero-rotate.swap-in { animation: rot-in 0.45s var(--ease-io) forwards; }
@keyframes rot-out { to { opacity: 0; transform: translateY(-0.55em); filter: blur(3px); } }
@keyframes rot-in { from { opacity: 0; transform: translateY(0.55em); filter: blur(3px); } }

.img-chip {
  display: inline-block; vertical-align: baseline;
  width: clamp(72px, 9vw, 132px); height: clamp(38px, 4.8vw, 66px);
  border-radius: 999px; transform: translateY(0.12em);
  margin: 0 0.08em; position: relative; overflow: hidden;
}
.chip-a {
  background:
    radial-gradient(120% 160% at 15% 20%, #7a6cff 0%, transparent 55%),
    radial-gradient(120% 160% at 85% 80%, #241a9e 0%, transparent 60%),
    linear-gradient(115deg, #4534e0, #17130c);
}
.chip-b {
  background:
    radial-gradient(120% 160% at 80% 15%, #ffd88a 0%, transparent 52%),
    radial-gradient(130% 170% at 15% 85%, #e0611f 0%, transparent 58%),
    linear-gradient(115deg, #b98a2f, #17130c);
}
.img-chip::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-120%); animation: sheen 4.5s var(--ease-io) infinite;
}
@keyframes sheen { 0%, 60% { transform: translateX(-120%); } 90%, 100% { transform: translateX(120%); } }

.hero-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }
.hero-sub { max-width: 460px; color: var(--ink-2); font-size: clamp(16px, 1.6vw, 19px); }
.hero-ctas { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }

/* ── Ticker ── */
.ticker {
  border-block: 1px solid var(--line); overflow: hidden;
  padding: clamp(16px, 2.4vw, 26px) 0; background: var(--paper-2);
}
.ticker-track { display: flex; width: max-content; animation: ticker 26s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; align-items: center; }
.ticker-group span {
  font-family: var(--serif); font-weight: 600; white-space: nowrap;
  font-size: clamp(30px, 4.4vw, 58px); line-height: 1; padding: 0 0.35em;
}
.ticker-group i {
  font-style: normal; font-family: var(--serif);
  font-size: clamp(30px, 4.4vw, 58px); color: var(--accent);
}
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker-cta { display: block; }
.ticker-cta .ticker-group span { transition: color 0.3s; }

/* ── Stats ── */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.stat {
  padding: clamp(28px, 4vw, 48px) clamp(18px, 2.5vw, 36px);
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
  transition: background 0.4s;
}
.stat:first-child { border-left: 0; }
.stat:hover { background: var(--paper-2); }
.stat-value {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(40px, 5vw, 68px); line-height: 1; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--ink-2);
}

/* ── About reasons ── */
.reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.reason {
  display: flex; gap: 16px; padding: 22px;
  border: 1px solid var(--line); border-radius: 18px;
  transition: transform 0.4s var(--ease-out), background 0.4s;
}
.reason:hover { transform: translateY(-4px); background: var(--paper-2); }
.reason svg { flex-shrink: 0; color: var(--accent); margin-top: 3px; }
.reason h3 { font-family: var(--serif); font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.reason p { font-size: 14px; color: var(--ink-2); line-height: 1.5; }

/* ── Champions ── */
.champions-list { border-top: 1px solid var(--line); }
.champ { border-bottom: 1px solid var(--line); }
.champ-row {
  display: grid; grid-template-columns: 90px 1.4fr 1fr 1fr auto 40px;
  align-items: center; gap: 20px; width: 100%; text-align: left;
  padding: clamp(18px, 2.6vw, 30px) 8px; cursor: pointer;
  transition: background 0.35s, padding 0.35s var(--ease-out);
}
.champ-row:hover, .champ.is-open .champ-row { background: var(--paper-2); padding-left: 20px; }
.champ-year {
  font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--ink-2);
}
.champ-name { font-family: var(--serif); font-size: clamp(19px, 2.2vw, 26px); font-weight: 700; line-height: 1.15; }
.champ-country, .champ-domain { font-size: 14px; color: var(--ink-2); }
.champ-country .flag { margin-right: 8px; }
.champ-prize {
  font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--accent);
  white-space: nowrap;
}
.champ-toggle { position: relative; width: 16px; height: 16px; justify-self: end; }
.champ-toggle::before, .champ-toggle::after {
  content: ""; position: absolute; background: var(--ink); inset: 0; margin: auto;
  transition: transform 0.4s var(--ease-out);
}
.champ-toggle::before { width: 100%; height: 1.5px; }
.champ-toggle::after { width: 1.5px; height: 100%; }
.champ.is-open .champ-toggle::after { transform: rotate(90deg); }
.champ-detail {
  overflow: hidden; max-height: 0; transition: max-height 0.55s var(--ease-io);
}
.champ-detail-inner {
  display: grid; grid-template-columns: 90px 1fr; gap: 20px;
  padding: 4px 8px 30px 28px;
}
.champ-achievement { max-width: 640px; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.champ-achievement strong { color: var(--ink); }
.champ-tags { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.champ-tag {
  font-family: var(--mono); font-size: 10.5px; text-transform: uppercase;
  letter-spacing: 0.1em; padding: 5px 12px; border: 1px solid var(--line);
  border-radius: 999px; color: var(--ink-2);
}
.champ:first-child .champ-year { color: var(--accent); }

/* ── Accordion (domains) ── */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head {
  display: flex; align-items: center; gap: 18px; width: 100%;
  padding: clamp(18px, 2.4vw, 26px) 8px; text-align: left; cursor: pointer;
  transition: background 0.35s, padding-left 0.35s var(--ease-out);
}
.acc-head:hover, .acc-item.is-open .acc-head { background: var(--paper-2); padding-left: 20px; }
.acc-swatch {
  flex-shrink: 0; width: 14px; height: 14px; border-radius: 50%;
  border: 1px solid var(--line); position: relative;
}
.acc-swatch::after { content: ""; position: absolute; inset: 2.5px; border-radius: 50%; background: var(--swatch, var(--accent)); }
.acc-title { font-family: var(--serif); font-size: clamp(19px, 2vw, 25px); font-weight: 700; flex: 1; }
.acc-count {
  font-family: var(--mono); font-size: 11px; color: var(--ink-2);
  text-transform: uppercase; letter-spacing: 0.1em; white-space: nowrap;
}
.acc-toggle { position: relative; width: 15px; height: 15px; flex-shrink: 0; }
.acc-toggle::before, .acc-toggle::after {
  content: ""; position: absolute; background: var(--ink); inset: 0; margin: auto;
  transition: transform 0.4s var(--ease-out);
}
.acc-toggle::before { width: 100%; height: 1.5px; }
.acc-toggle::after { width: 1.5px; height: 100%; }
.acc-item.is-open .acc-toggle::after { transform: rotate(90deg); }
.acc-body { overflow: hidden; max-height: 0; transition: max-height 0.55s var(--ease-io); }
.acc-body-inner { padding: 2px 8px 26px 52px; color: var(--ink-2); font-size: 15.5px; max-width: 560px; }
.acc-body-inner .acc-meta { display: block; margin-top: 12px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); }

/* ── Judges ── */
.judges-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.judge {
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: clamp(22px, 2.8vw, 34px); min-height: 230px;
  display: flex; flex-direction: column; gap: 6px; position: relative;
  transition: background 0.4s;
}
.judge:hover { background: var(--paper-2); }
.judge-num {
  font-family: var(--mono); font-size: 10.5px; color: var(--ink-3);
  letter-spacing: 0.1em; margin-bottom: 12px;
}
.judge-name { font-family: var(--serif); font-size: 20px; font-weight: 700; line-height: 1.2; }
.judge-title { font-size: 13.5px; color: var(--accent); font-weight: 500; }
.judge-affil { font-size: 13px; color: var(--ink-2); }
.judge-bio {
  font-size: 12.5px; color: var(--ink-3); line-height: 1.55; margin-top: 10px;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.5s var(--ease-io), opacity 0.4s, margin-top 0.4s;
}
.judge:hover .judge-bio { max-height: 140px; opacity: 1; }

/* ── History timeline ── */
.timeline { border-top: 1px solid var(--line); }
.timeline-years {
  display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line);
}
.year-btn {
  flex: 1 1 0; min-width: 72px; padding: 18px 6px;
  font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--ink-2);
  border-left: 1px solid var(--line-soft); position: relative;
  transition: color 0.3s, background 0.3s;
}
.year-btn:first-child { border-left: 0; }
.year-btn::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--accent); transform: scaleX(0); transition: transform 0.4s var(--ease-out);
}
.year-btn:hover { color: var(--ink); background: var(--paper-2); }
.year-btn.is-active { color: var(--ink); font-weight: 600; }
.year-btn.is-active::after { transform: scaleX(1); }
.timeline-panel { padding: clamp(34px, 5vw, 60px) 8px 8px; }
.tl-grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.6fr; gap: 32px; align-items: start; }
.tl-stat { display: flex; flex-direction: column; gap: 8px; }
.tl-stat-value {
  font-family: var(--serif); font-weight: 600; line-height: 1;
  font-size: clamp(30px, 3.6vw, 52px); letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.tl-stat-label {
  font-family: var(--mono); font-size: 10.5px; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--ink-2);
}
.tl-highlight {
  font-size: clamp(16px, 1.7vw, 19px); line-height: 1.55; color: var(--ink-2);
  border-left: 2px solid var(--accent); padding-left: 24px;
}
.tl-highlight strong { color: var(--ink); }
.timeline-panel.fade-out { animation: tl-out 0.28s var(--ease-io) forwards; }
.timeline-panel.fade-in { animation: tl-in 0.34s var(--ease-io) forwards; }
@keyframes tl-out { to { opacity: 0; transform: translateY(10px); } }
@keyframes tl-in { from { opacity: 0; transform: translateY(-10px); } }

/* ── Countries ── */
.countries-list { border-top: 1px solid var(--line); }
.country {
  display: grid; grid-template-columns: 44px 1fr auto; align-items: center;
  gap: 18px; padding: 16px 8px; border-bottom: 1px solid var(--line);
  transition: background 0.3s, padding-left 0.35s var(--ease-out);
}
.country:hover { background: var(--paper-2); padding-left: 20px; }
.country-flag { font-size: 26px; line-height: 1; }
.country-main { min-width: 0; }
.country-name-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 7px; }
.country-name { font-family: var(--serif); font-size: 18px; font-weight: 700; }
.country-solved { font-family: var(--mono); font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.country-bar { height: 3px; background: var(--line-soft); border-radius: 99px; overflow: hidden; }
.country-bar-fill {
  height: 100%; width: 0; background: var(--accent); border-radius: 99px;
  transition: width 1.1s var(--ease-out);
}
.country-coder { font-family: var(--mono); font-size: 11px; color: var(--ink-3); white-space: nowrap; }
.country-coder b { color: var(--ink-2); font-weight: 500; }

/* ── Press ── */
.press-list { border-top: 1px solid var(--line); }
.press-item {
  display: grid; grid-template-columns: 190px 1fr auto; gap: 24px;
  align-items: baseline; padding: clamp(20px, 2.6vw, 30px) 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s, padding-left 0.35s var(--ease-out);
}
.press-item:hover { background: var(--paper-2); padding-left: 20px; }
.press-outlet {
  font-family: var(--mono); font-size: 11.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent);
}
.press-title {
  font-family: var(--serif); font-size: clamp(18px, 2vw, 24px);
  font-weight: 600; line-height: 1.3;
}
.press-date { font-family: var(--mono); font-size: 12px; color: var(--ink-2); white-space: nowrap; }

/* ── CTA ── */
.cta { border-top: 1px solid var(--line); }
.cta-inner { padding: clamp(90px, 11vw, 150px) 0; text-align: center; }
.cta .label-row { justify-content: center; }
.cta .display-lg { margin-bottom: 30px; }
.cta .hero-ctas { justify-content: center; margin-top: 36px; }

/* ── Footer ── */
.footer { border-top: 1px solid var(--line); background: var(--paper-2); }
.footer-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; padding: 44px 0 30px;
}
.footer-brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--serif); font-size: 24px; font-weight: 700;
}
.footer-brand .brand-mark { color: var(--accent); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--ink-2); transition: color 0.3s;
}
.footer-links a:hover { color: var(--ink); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 22px 0; border-top: 1px solid var(--line-soft);
  font-family: var(--mono); font-size: 11.5px; color: var(--ink-3);
  letter-spacing: 0.04em;
}

/* ── Reveal animations ── */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .judges-grid { grid-template-columns: repeat(3, 1fr); }
  .tl-grid { grid-template-columns: repeat(3, 1fr); }
  .tl-highlight { grid-column: 1 / -1; }
  .nav-links { display: none; }
}
@media (max-width: 860px) {
  .grid-12 { grid-template-columns: 1fr; gap: 20px; }
  .col-5, .col-7 { grid-column: 1 / -1; }
  .col-5 { margin-bottom: 30px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat { border-top: 1px solid var(--line-soft); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .judges-grid { grid-template-columns: repeat(2, 1fr); }
  .champ-row { grid-template-columns: 64px 1fr auto 30px; }
  .champ-country, .champ-domain { display: none; }
  .champ-detail-inner { grid-template-columns: 1fr; padding-left: 8px; }
  .press-item { grid-template-columns: 1fr; gap: 6px; }
  .reasons { grid-template-columns: 1fr; }
  .nav .btn { display: none; }
  .burger { display: flex; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .hero-watermark { opacity: 0.6; }
  .live-badge { margin-left: 0; }
  .label-row { flex-wrap: wrap; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .judges-grid { grid-template-columns: 1fr; }
  .judge { min-height: 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .tl-grid { grid-template-columns: 1fr 1fr; }
  .tl-highlight { grid-column: 1 / -1; }
  .year-btn { min-width: 60px; font-size: 12px; padding: 14px 4px; }
  .country { grid-template-columns: 34px 1fr; }
  .country-coder { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   SUBPAGES · MEMBERSHIP · ARCHIVE · NEWSROOM (Season XIII)
   ═══════════════════════════════════════════════════════════ */

/* ── Nav live dot ── */
.nav-live {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: #2f9e44; margin-left: 6px; vertical-align: 1px;
  animation: pulse 1.8s infinite;
}

/* ── Page hero (subpages) ── */
.page-hero {
  padding: calc(var(--nav-h) + clamp(48px, 7vw, 84px)) 0 clamp(44px, 6vw, 72px);
  border-bottom: 1px solid var(--line-soft);
  position: relative; overflow: hidden;
}
.page-hero + .section { border-top: none; }
.crumb {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-3);
  margin-bottom: clamp(24px, 3.4vw, 36px);
}
.crumb a { color: var(--ink-2); transition: color 0.3s; }
.crumb a:hover { color: var(--ink); }
.page-title {
  font-family: var(--serif); font-weight: 600; line-height: 1.02;
  letter-spacing: -0.015em; font-size: clamp(42px, 6.4vw, 92px);
  margin-bottom: clamp(20px, 2.8vw, 30px);
}
.page-title em { font-style: italic; font-weight: 500; color: var(--accent); }
.page-sub { max-width: 640px; color: var(--ink-2); font-size: clamp(16px, 1.8vw, 20px); line-height: 1.55; }
.page-sub strong { color: var(--ink); font-weight: 600; }

/* ── Membership tiers ── */
.tiers-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; align-items: stretch; }
.tier {
  position: relative; display: flex; flex-direction: column;
  padding: 28px 24px 24px; border: 1px solid var(--line); border-radius: 18px;
  transition: transform 0.4s var(--ease-out), background 0.4s, box-shadow 0.4s;
}
.tier:hover { transform: translateY(-5px); background: var(--paper-2); }
.tier-badge {
  position: absolute; top: -11px; left: 20px;
  font-family: var(--mono); font-size: 9.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 4px 12px; background: var(--paper);
  border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2);
}
.tier-name { font-family: var(--serif); font-size: 23px; font-weight: 700; }
.tier-who { font-size: 13px; color: var(--ink-2); line-height: 1.5; margin-top: 6px; min-height: 40px; }
.tier-price {
  font-family: var(--serif); font-size: 32px; font-weight: 600;
  letter-spacing: -0.02em; margin: 10px 0 14px;
}
.tier-per { font-family: var(--mono); font-size: 12px; color: var(--ink-3); margin-left: 4px; }
.tier-feats { list-style: none; margin-bottom: 24px; }
.tier-feats li {
  font-size: 13px; color: var(--ink-2); line-height: 1.45;
  padding: 7px 0; border-top: 1px solid var(--line-soft);
}
.tier-feats li::before { content: ", "; color: var(--accent); margin-right: 8px; }
.tier-btn { margin-top: auto; width: 100%; justify-content: center; }

/* Fellow, the prestigious grade */
.tier-fellow { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.tier-fellow:hover { background: var(--ink); box-shadow: 0 24px 48px -20px rgba(23, 19, 12, 0.55); }
.tier-fellow .tier-badge { background: var(--ink); border-color: var(--gold); color: #e7c97a; }
.tier-fellow .tier-name { color: #e7c97a; }
.tier-fellow .tier-who, .tier-fellow .tier-feats li { color: rgba(236, 231, 219, 0.72); }
.tier-fellow .tier-feats li { border-top-color: rgba(236, 231, 219, 0.14); }
.tier-fellow .tier-feats li::before { color: #e7c97a; }
.tier-fellow .tier-price { color: var(--paper); }
.tier-fellow .tier-per { color: rgba(236, 231, 219, 0.55); }
.tier-fellow .btn { border-color: var(--paper); color: var(--paper); }
.tier-fellow .btn-bg { background: var(--gold); }
.tier-fellow .btn:hover { color: var(--ink); border-color: var(--gold); }

/* ── People (fellows & members) ── */
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.person {
  display: flex; gap: 18px; align-items: flex-start;
  border: 1px solid var(--line); border-radius: 18px; padding: 22px;
  transition: transform 0.4s var(--ease-out), background 0.4s;
}
.person:hover { transform: translateY(-4px); background: var(--paper-2); }
.person-photo { flex-shrink: 0; }
.person-photo img {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover;
  filter: grayscale(1); transition: filter 0.5s var(--ease-out);
  background: var(--paper-3);
}
.person:hover .person-photo img { filter: grayscale(0); }
.people-fellows .person-photo img { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--gold); }
.person-info { min-width: 0; }
.person-name { font-family: var(--serif); font-size: 19px; font-weight: 700; line-height: 1.2; }
.person-name-link {
  cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  transition: color 0.25s var(--ease-out);
}
.person-name-link::after {
  content: "→"; font-family: var(--mono); font-size: 12px; opacity: 0;
  transform: translateX(-4px); transition: all 0.25s var(--ease-out);
}
.person-name-link:hover { color: var(--accent); }
.person-name-link:hover::after { opacity: 1; transform: translateX(0); }
.is-expanded .person-name-link::after {
  content: "↓"; opacity: 1; transform: translateX(0);
}
.person-blurb {
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--ink-2); line-height: 1.65;
  animation: fadeIn 0.3s var(--ease-out);
}
.person-meta { display: block; font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.person-note { font-size: 12.5px; color: var(--ink-3); line-height: 1.55; margin-top: 8px; }
.person-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.person-cls {
  font-family: var(--mono); font-size: 10.5px; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--ink-3);
}
.grade-badge {
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 4px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2);
}
.grade-fellow { background: rgba(185, 138, 47, 0.13); border-color: rgba(185, 138, 47, 0.5); color: #8a6520; }
.grade-senior-member { background: var(--accent-soft); border-color: rgba(69, 52, 224, 0.35); color: var(--accent-deep); }
.grade-member { background: rgba(23, 19, 12, 0.06); color: var(--ink); }
.grade-associate { color: var(--ink-2); }
.grade-student { color: var(--ink-3); }

/* ── Member directory tools ── */
.member-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.member-search {
  font-family: var(--sans); font-size: 14px; color: var(--ink);
  padding: 12px 20px; border: 1px solid var(--line); border-radius: 999px;
  background: transparent; outline: none; min-width: 250px;
  transition: border-color 0.3s, background 0.3s;
}
.member-search::placeholder { color: var(--ink-3); }
.member-search:focus { border-color: var(--accent); background: var(--paper-2); }
.members-count { margin-left: auto; font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); letter-spacing: 0.06em; }
.members-more-wrap { display: flex; justify-content: center; margin-top: 44px; }

/* ── Bylaws ── */
.bylaw-num {
  flex-shrink: 0; width: 74px;
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent);
}
.bylaws-body { line-height: 1.75; font-size: 15.5px; }
.bylaws-body strong { color: var(--ink); }

/* ── Chips (archive & directory filters) ── */
.ev-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.ev-chip {
  font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--ink-2);
  padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px;
  transition: color 0.3s, background 0.3s, border-color 0.3s;
}
.ev-chip:hover { color: var(--ink); background: var(--paper-2); }
.ev-chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ── Archive ── */
.ev-year-group { margin-bottom: clamp(48px, 6vw, 72px); }
.ev-year-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 18px; }
.ev-year-title { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; letter-spacing: -0.02em; }
.ev-year-count { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); }
.ev-table { border-top: 1px solid var(--line); }
.ev-row {
  display: grid; grid-template-columns: 140px 1.5fr 1.15fr 105px 1fr 105px 100px 26px;
  align-items: center; gap: 18px; width: 100%; text-align: left;
  padding: 16px 8px;
  transition: background 0.3s, padding-left 0.35s var(--ease-out);
}
.ev-row:not(.ev-head):hover, .ev-item.is-open .ev-row { background: var(--paper-2); padding-left: 20px; }
.ev-head {
  padding: 12px 8px; border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-3);
}
.ev-date { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.ev-name { font-family: var(--serif); font-size: 17.5px; font-weight: 700; line-height: 1.25; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.ev-type {
  font-family: var(--mono); font-size: 9px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-3);
}
.ev-loc, .ev-ppl, .ev-win { font-size: 13.5px; color: var(--ink-2); }
.ev-win { font-weight: 500; color: var(--ink); }
.ev-prize { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 9.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 4px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-3);
}
.pill-upcoming { color: var(--accent); border-color: rgba(69, 52, 224, 0.4); }
.pill-live { color: #2f9e44; border-color: rgba(47, 158, 68, 0.45); }
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: #2f9e44; animation: pulse 1.8s infinite; }

/* ── Countdown ── */
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.cd-cell {
  padding: clamp(24px, 3.4vw, 40px) clamp(16px, 2.2vw, 32px);
  border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px;
}
.cd-cell:first-child { border-left: 0; }
.cd-num {
  font-family: var(--serif); font-weight: 600; line-height: 1;
  font-size: clamp(40px, 5.6vw, 76px); letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.cd-lab { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-2); }
.cd-note { margin-top: 18px; font-family: var(--mono); font-size: 11.5px; color: var(--accent); letter-spacing: 0.06em; }

/* ── Schedule ── */
.sched-list { border-top: 1px solid var(--line); }
.sched-row {
  display: grid; grid-template-columns: 90px 165px 1.4fr 1fr 190px;
  align-items: center; gap: 20px;
  padding: clamp(20px, 2.6vw, 28px) 8px; border-bottom: 1px solid var(--line);
  transition: background 0.3s, padding-left 0.35s var(--ease-out);
}
.sched-row:hover { background: var(--paper-2); padding-left: 20px; }
.sched-num { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); }
.sched-date { font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); }
.sched-round { font-family: var(--serif); font-size: clamp(19px, 2vw, 24px); font-weight: 700; }
.sched-note { font-size: 13.5px; color: var(--ink-2); margin-top: 3px; }
.sched-loc { font-size: 13.5px; color: var(--ink-2); }
.sched-field { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }

/* ── Leaderboard ── */
.lb-list { border-top: 1px solid var(--line); }
.lb-row {
  display: grid; grid-template-columns: 56px 1.3fr 1fr auto;
  align-items: center; gap: 18px;
  padding: 15px 8px; border-bottom: 1px solid var(--line);
  transition: background 0.3s, padding-left 0.35s var(--ease-out);
}
.lb-row:hover { background: var(--paper-2); padding-left: 20px; }
.lb-rank { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--ink-3); }
.lb-top .lb-rank { color: var(--accent); }
.lb-name { font-family: var(--serif); font-size: 19px; font-weight: 700; }
.lb-country { font-size: 13.5px; color: var(--ink-2); }
.lb-country .flag { margin-right: 8px; }
.lb-pts { font-family: var(--mono); font-size: 13.5px; font-weight: 600; color: var(--ink); }

/* ── Prizes ── */
.prize-list { border-top: 1px solid var(--line); }
.prize-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  padding: 15px 8px; border-bottom: 1px solid var(--line);
}
.prize-place { font-family: var(--serif); font-size: 18px; font-weight: 600; }
.prize-amount { font-family: var(--mono); font-size: 14.5px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.prize-first .prize-place { font-size: 22px; }
.prize-total { border-top: 2px solid var(--ink); border-bottom: 0; margin-top: 6px; }
.prize-total .prize-place { font-weight: 700; }
.prize-total .prize-amount { color: var(--ink); font-size: 17px; }

/* ── Newsroom wire ── */
.wire-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.wire-stamp { font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.04em; }
.wire-list { border-top: 1px solid var(--line); }
.wire-item {
  display: block; padding: 20px 8px; border-bottom: 1px solid var(--line);
  transition: background 0.3s, padding-left 0.35s var(--ease-out);
}
.wire-item:hover { background: var(--paper-2); padding-left: 20px; }
.wire-title { display: block; font-family: var(--serif); font-size: clamp(17px, 1.9vw, 21px); font-weight: 600; line-height: 1.35; }
.wire-meta { display: block; margin-top: 7px; font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.03em; }
.wire-meta b { color: var(--ink-2); font-weight: 600; }

/* ── Home grades strip ── */
.grades-strip {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.grade-cell {
  padding: 24px 20px; border-left: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px;
  transition: background 0.35s;
}
.grade-cell:first-child { border-left: 0; }
.grade-cell:hover { background: var(--paper-2); }
.grade-name { font-family: var(--serif); font-size: 20px; font-weight: 700; }
.grade-price { font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); }
.grade-fellow { background: var(--ink); }
.grade-fellow .grade-name { color: #e7c97a; }
.grade-fellow .grade-price { color: rgba(236, 231, 219, 0.65); }
.grade-fellow:hover { background: #221c12; }

/* ── Footer grid ── */
.footer-grid {
  display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 32px;
  padding: 10px 0 34px;
}
.footer-col h4 {
  font-family: var(--mono); font-size: 10.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-3);
  margin-bottom: 14px;
}
.footer-col a {
  display: block; padding: 5px 0; font-size: 14px; color: var(--ink-2);
  transition: color 0.3s, padding-left 0.3s var(--ease-out);
}
.footer-col a:hover { color: var(--ink); padding-left: 6px; }
.footer-note { font-size: 13px; color: var(--ink-3); line-height: 1.6; max-width: 260px; }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { color: inherit; transition: color 0.3s; }
.footer-legal a:hover { color: var(--ink); }

/* ── Steps (join) ── */
.steps-3 { grid-template-columns: repeat(3, 1fr); }
.step-num {
  font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--accent);
  letter-spacing: 0.12em; margin-bottom: 8px; display: block;
}

/* ── Responsive (new components) ── */
@media (max-width: 1100px) {
  .tiers-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .ev-row { grid-template-columns: 125px 1.5fr 1fr 100px 95px 26px; }
  .ev-loc, .ev-ppl, .ev-head span:nth-child(3), .ev-head span:nth-child(4) { display: none; }
  .people-grid { grid-template-columns: repeat(2, 1fr); }
  .grades-strip { grid-template-columns: repeat(3, 1fr); }
  .grade-cell:nth-child(4) { border-left: 0; }
  .grade-cell { border-top: 1px solid var(--line-soft); }
  .grade-cell:nth-child(-n+3) { border-top: 0; }
  .sched-row { grid-template-columns: 80px 150px 1.4fr 1fr; }
  .sched-field { display: none; }
}
@media (max-width: 860px) {
  .tiers-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-3 { grid-template-columns: 1fr; }
  .countdown { grid-template-columns: repeat(2, 1fr); }
  .cd-cell:nth-child(3) { border-left: 0; }
  .cd-cell { border-top: 1px solid var(--line-soft); }
  .cd-cell:nth-child(-n+2) { border-top: 0; }
  .sched-row { grid-template-columns: 1fr; gap: 6px; padding: 20px 8px; }
  .sched-row:hover { padding-left: 8px; }
  .member-tools { flex-direction: column; align-items: stretch; }
  .members-count { margin-left: 0; }
  .ev-chips { margin-bottom: 28px; }
}
@media (max-width: 680px) {
  .people-grid { grid-template-columns: 1fr; }
  .tiers-grid { grid-template-columns: 1fr; }
  .ev-row { grid-template-columns: 1fr; gap: 4px; padding: 16px 8px; }
  .ev-row:hover { padding-left: 8px; }
  .ev-head { display: none; }
  .ev-item { position: relative; }
  .ev-toggle { position: absolute; top: 18px; right: 8px; }
  .ev-item.is-open .ev-row { padding-left: 8px; }
  .ev-date { order: -1; }
  .grades-strip { grid-template-columns: 1fr 1fr; }
  .grade-cell:nth-child(-n+3) { border-top: 1px solid var(--line-soft); }
  .grade-cell:nth-child(-n+2) { border-top: 0; }
  .grade-cell:nth-child(odd) { border-left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .lb-row { grid-template-columns: 40px 1fr auto; }
  .lb-country { display: none; }
}

/* ── Archive event details (brief + criteria) ── */
.ev-item { border-bottom: 1px solid var(--line); }
.ev-toggle { position: relative; width: 15px; height: 15px; justify-self: end; }
.ev-toggle::before, .ev-toggle::after {
  content: ""; position: absolute; background: var(--ink); inset: 0; margin: auto;
  transition: transform 0.4s var(--ease-out);
}
.ev-toggle::before { width: 100%; height: 1.5px; }
.ev-toggle::after { width: 1.5px; height: 100%; }
.ev-item.is-open .ev-toggle::after { transform: rotate(90deg); }
.ev-detail { overflow: hidden; max-height: 0; transition: max-height 0.55s var(--ease-io); }
.ev-detail-inner {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px;
  padding: 4px 8px 28px 28px;
}
.ev-desc { color: var(--ink-2); font-size: 15px; line-height: 1.65; max-width: 58ch; }
.ev-format { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.ev-fmt {
  font-family: var(--mono); font-size: 10.5px; text-transform: uppercase;
  letter-spacing: 0.1em; padding: 5px 12px; border: 1px solid var(--line);
  border-radius: 999px; color: var(--ink-2);
}
.ev-criteria { display: flex; flex-direction: column; gap: 13px; max-width: 360px; }
.ev-crit-title {
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-3);
}
.ev-crit-head {
  display: flex; justify-content: space-between; gap: 12px;
  font-family: var(--mono); font-size: 11px; color: var(--ink-2); margin-bottom: 6px;
}
.ev-crit-bar { height: 3px; background: var(--line-soft); border-radius: 99px; overflow: hidden; }
.ev-crit-fill {
  height: 100%; width: 0; background: var(--accent); border-radius: 99px;
  transition: width 0.8s var(--ease-out);
}
@media (max-width: 860px) {
  .ev-detail-inner { grid-template-columns: 1fr; gap: 24px; padding-left: 8px; }
}

/* ═══════════════════════════════════════════════════════════
   EVENT PAGES · GRADE PAGES · LOGIN & PORTAL
   ═══════════════════════════════════════════════════════════ */

/* ── Nav login ── */
.nav-login {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-2);
  transition: color 0.3s;
}
.nav-login:hover { color: var(--ink); }

/* ── Archive row arrow ── */
.ev-arrow { justify-self: end; color: var(--ink-3); transition: transform 0.35s var(--ease-out), color 0.3s; }
.ev-row:hover .ev-arrow { transform: translateX(4px); color: var(--ink); }

/* ── Event page (own space, per-type accent) ── */
.ev-page { --ev-accent: var(--accent); }
.ev-hero { position: relative; }
.ev-hero .wm {
  position: absolute; right: -3vw; bottom: -3vw;
  font-family: var(--serif); font-style: italic; font-weight: 800;
  font-size: clamp(170px, 24vw, 360px); line-height: 0.8;
  color: transparent; -webkit-text-stroke: 1px var(--line);
  pointer-events: none; user-select: none;
}
.ev-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(22px, 3vw, 32px); }
.ev-tag {
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2);
}
.ev-tag-accent { color: var(--ev-accent); border-color: var(--ev-accent); }
.ev-hero-meta {
  display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: clamp(26px, 3.6vw, 40px);
  font-family: var(--mono); font-size: 12px; color: var(--ink-2); letter-spacing: 0.04em;
}
.ev-hero-meta b { color: var(--ink); font-weight: 600; }
.ev-hero .page-title em { color: var(--ev-accent); }
.ev-ticker .ticker-group i { color: var(--ev-accent); }
.ev-brief p { max-width: 68ch; }
.ev-brief .lede { margin-bottom: 22px; }
.ev-brief .body-text { margin-bottom: 18px; }
.scoring-list { list-style: none; }
.scoring-list li {
  padding: 14px 0; border-top: 1px solid var(--line-soft);
  font-size: 15px; color: var(--ink-2); display: flex; gap: 12px;
}
.scoring-list li::before { content: "·"; color: var(--ev-accent); font-weight: 700; }
.ev-criteria .ev-crit-fill { background: var(--ev-accent); }

/* Podium */
.podium-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.podium {
  border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px;
  display: flex; flex-direction: column; gap: 6px;
  transition: transform 0.4s var(--ease-out), background 0.4s;
}
.podium:hover { transform: translateY(-4px); background: var(--paper-2); }
.podium-place {
  font-family: var(--mono); font-size: 10.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3);
}
.podium-name { font-family: var(--serif); font-size: 22px; font-weight: 700; }
.podium-score { font-family: var(--mono); font-size: 12.5px; color: var(--ev-accent); font-weight: 600; }
.podium-first { border-color: var(--ev-accent); box-shadow: inset 0 0 0 1px var(--ev-accent); }

/* Quote block (raptors-style) */
.quote-block { max-width: 760px; margin-inline: auto; text-align: center; }
.quote-text {
  font-family: var(--serif); font-size: clamp(22px, 3vw, 34px); font-weight: 600;
  line-height: 1.3; letter-spacing: -0.01em; margin-bottom: 22px;
}
.quote-text::before { content: "“"; color: var(--ev-accent); }
.quote-text::after { content: "”"; color: var(--ev-accent); }
.quote-who { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-2); }

/* Prev / next event */
.prevnext { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.prevnext a {
  padding: clamp(26px, 3.4vw, 40px) clamp(18px, 2.4vw, 32px);
  display: flex; flex-direction: column; gap: 8px;
  transition: background 0.35s;
}
.prevnext a:first-child { border-right: 1px solid var(--line); }
.prevnext a:hover { background: var(--paper-2); }
.prevnext-dir {
  font-family: var(--mono); font-size: 10.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3);
}
.prevnext-name { font-family: var(--serif); font-size: clamp(19px, 2.2vw, 26px); font-weight: 700; line-height: 1.2; }
.prevnext-next { text-align: right; }

/* ── Grade pages ── */
.grade-price-hero {
  font-family: var(--serif); font-size: clamp(34px, 4.4vw, 56px); font-weight: 600;
  letter-spacing: -0.02em; margin-top: 10px;
}
.grade-price-hero span { font-family: var(--mono); font-size: 14px; color: var(--ink-3); margin-left: 6px; }
.benefit-rows { border-top: 1px solid var(--line); }
.benefit-row {
  display: grid; grid-template-columns: 60px 1fr 1.2fr; gap: 24px; align-items: baseline;
  padding: clamp(20px, 2.6vw, 28px) 8px; border-bottom: 1px solid var(--line);
  transition: background 0.3s, padding-left 0.35s var(--ease-out);
}
.benefit-row:hover { background: var(--paper-2); padding-left: 20px; }
.benefit-num { font-family: var(--mono); font-size: 11px; color: var(--ev-accent, var(--accent)); font-weight: 600; }
.benefit-name { font-family: var(--serif); font-size: clamp(18px, 2vw, 23px); font-weight: 700; }
.benefit-desc { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }
.elig-list { list-style: none; }
.elig-list li {
  padding: 12px 0; border-top: 1px solid var(--line-soft);
  font-size: 15px; color: var(--ink-2); display: flex; gap: 12px;
}
.elig-list li::before { content: "·"; color: var(--accent); font-weight: 700; }
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 8px; }
.faq-q { font-family: var(--serif); font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.faq-a { font-size: 14.5px; color: var(--ink-2); line-height: 1.65; max-width: 64ch; }
.grade-fellow-page .page-title em { color: #b98a2f; }

/* ── Research meta ── */
.research-meta {
  display: block; font-family: var(--mono); font-size: 11px;
  color: var(--ink-3); margin-top: 6px; letter-spacing: 0.02em;
}
.research-item .press-outlet { color: var(--ink-2); }

/* ── Login ── */
.login-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; padding-top: var(--nav-h); }
.login-panel {
  background: var(--ink); color: var(--paper); position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(36px, 5vw, 64px);
}
.login-panel .wm {
  position: absolute; right: -6%; bottom: -8%;
  font-family: var(--serif); font-style: italic; font-weight: 800;
  font-size: clamp(220px, 26vw, 420px); line-height: 0.8;
  color: transparent; -webkit-text-stroke: 1px rgba(236, 231, 219, 0.18);
  pointer-events: none; user-select: none;
}
.login-panel-title { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 48px); font-weight: 600; line-height: 1.1; position: relative; }
.login-panel-title em { color: #e7c97a; font-style: italic; font-weight: 500; }
.login-panel-foot { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(236, 231, 219, 0.55); position: relative; }
.login-form-side { display: flex; align-items: center; justify-content: center; padding: clamp(36px, 5vw, 64px) 24px; }
.login-card { width: min(420px, 100%); }
.login-card h1 { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 42px); font-weight: 600; margin-bottom: 10px; }
.login-card .login-sub { color: var(--ink-2); font-size: 15px; margin-bottom: 32px; }
.field { margin-bottom: 18px; }
.field label {
  display: block; font-family: var(--mono); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-2); margin-bottom: 8px;
}
.field input {
  width: 100%; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px;
  background: transparent; font: inherit; font-size: 15px; color: var(--ink);
  outline: none; transition: border-color 0.3s, background 0.3s;
}
.field input:focus { border-color: var(--accent); background: var(--paper-2); }
.login-error { color: #c2410c; font-size: 13.5px; min-height: 22px; margin-bottom: 12px; }
.login-btn { width: 100%; justify-content: center; }
.login-alt { font-size: 14px; color: var(--ink-2); margin-top: 22px; }
.login-alt a { color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--line); }
.login-hint {
  margin-top: 26px; padding: 14px 18px; border: 1px dashed var(--line); border-radius: 12px;
  font-family: var(--mono); font-size: 11px; color: var(--ink-3); line-height: 1.6;
}
.shake { animation: shake 0.4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }

/* ── Portal ── */
.portal-head { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.portal-avatar {
  width: 72px; height: 72px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 30px; font-weight: 700;
}
.portal-id { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.06em; }
.portal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.portal-card {
  border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px;
  display: flex; flex-direction: column; gap: 8px;
  transition: transform 0.4s var(--ease-out), background 0.4s;
}
.portal-card:hover { transform: translateY(-4px); background: var(--paper-2); }
.portal-card h3 { font-family: var(--serif); font-size: 20px; font-weight: 700; }
.portal-card p { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.portal-card .portal-card-link { margin-top: auto; padding-top: 12px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); }

/* ── Responsive (new pages) ── */
@media (max-width: 1024px) {
  .portal-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .login-split { grid-template-columns: 1fr; }
  .login-panel { min-height: 38vh; }
  .benefit-row { grid-template-columns: 1fr; gap: 6px; }
  .benefit-row:hover { padding-left: 8px; }
  .podium-grid { grid-template-columns: 1fr; }
  .prevnext { grid-template-columns: 1fr; }
  .prevnext a:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
  .prevnext-next { text-align: left; }
  .nav-login { display: none; }
}
@media (max-width: 680px) {
  .portal-grid { grid-template-columns: 1fr; }
}

/* ── Credential verification ── */
.verify-card { max-width: 680px; margin-inline: auto; }
.verify-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.verify-form .btn { grid-column: 1 / -1; justify-content: center; }
.verify-result { display: none; margin-top: 34px; border-radius: 18px; padding: 28px; font-size: 15px; line-height: 1.6; }
.verify-result strong { display: block; font-family: var(--serif); font-size: 22px; margin-bottom: 8px; }
.verify-result p { color: var(--ink-2); max-width: 56ch; }
.verify-ok { display: block; border: 1px solid rgba(47, 158, 68, 0.5); background: rgba(47, 158, 68, 0.06); }
.verify-bad { display: block; border: 1px solid rgba(194, 65, 12, 0.5); background: rgba(194, 65, 12, 0.06); }
.verify-check {
  width: 44px; height: 44px; border-radius: 50%; margin-bottom: 14px;
  background: #2f9e44; color: #fff; display: grid; place-items: center;
  font-size: 22px; font-weight: 700;
}
.verify-details { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 28px; margin-top: 20px; }
.verify-details div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid var(--line-soft); }
.verify-details dt { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); }
.verify-details dd { font-size: 14px; font-weight: 500; text-align: right; }
@media (max-width: 680px) {
  .verify-form { grid-template-columns: 1fr; }
  .verify-details { grid-template-columns: 1fr; }
}
