/* Hall of Fans for clubs: the one stylesheet.
   Colours and type are copied from the HoF design system (SNES handoff,
   tokens/colors.css and tokens/typography.css) and the console's styles.css.
   This is the only file that holds a raw colour. Dark only, like the brand.
   No inline styles and no scripts: the Content-Security-Policy in
   netlify.toml allows this stylesheet, the fonts and the images, nothing else. */

@font-face { font-family: 'Barlow'; src: url('/assets/fonts/barlow-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('/assets/fonts/barlow-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Bebas Neue'; src: url('/assets/fonts/bebas-neue-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Rajdhani'; src: url('/assets/fonts/rajdhani-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Rajdhani'; src: url('/assets/fonts/rajdhani-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  color-scheme: dark;

  /* surfaces */
  --void: #040409;
  --abyss: #060810;
  --ink-900: #080c16;
  --ink-800: #0b1322;
  --ink-700: #0f1626;
  --ink-600: #141d30;
  --line: #1c2740;
  --line-strong: #2a3650;

  /* text */
  --text-hi: #f4f6fb;
  --text: #c9d2e2;
  --text-mid: #8a96ad;
  --text-dim: #5a6884;
  --text-inv: #0b1322;

  /* accent and signals */
  --gold: #ffb41e;
  --gold-hi: #ffd66b;
  --gold-press: #e2960a;
  --sky: #28b6e6;
  --green: #34d65f;
  --red: #ff3b4e;
  --violet: #8a45ff;

  /* participation tiers */
  --tier-special: #b15cff;
  --tier-gold: #ffb41e;
  --tier-silver: #9fb0c4;
  --tier-bronze: #c1763a;

  --rainbow: linear-gradient(115deg, #ff2d9b 0%, #ff2f3f 18%, #ff8a1e 34%, #ffd23d 48%, #34d65f 62%, #28b6e6 78%, #2f6df0 90%, #8a45ff 100%);

  /* type */
  --font-display: 'Bebas Neue', Impact, sans-serif;
  --font-hud: 'Rajdhani', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', system-ui, sans-serif;

  /* rhythm */
  --page: 1160px;
  --gutter: 24px;
  --radius: 14px;
  --radius-sm: 8px;
  --section: 128px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--abyss);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 8px; padding: 8px 14px; background: var(--gold); color: var(--text-inv); border-radius: var(--radius-sm); z-index: 100; font-weight: 600; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.eyebrow {
  margin: 0 0 16px;
  font-family: var(--font-hud);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
h1, h2, h3 { margin: 0; color: var(--text-hi); font-weight: 400; }
h1, h2 { font-family: var(--font-display); letter-spacing: 0.03em; line-height: 0.95; }
h1 { font-size: clamp(52px, 7.4vw, 92px); }
h2 { font-size: clamp(40px, 5vw, 64px); }
h3 { font-family: var(--font-body); font-weight: 600; font-size: 19px; line-height: 1.35; letter-spacing: 0; }
.lede { margin: 24px 0 0; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--text); max-width: 34em; }
.muted { color: var(--text-mid); }
.rb { background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-body); font-weight: 600; font-size: 16px; line-height: 1;
  text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn--primary { background: var(--gold); color: var(--text-inv); }
.btn--primary:hover { background: var(--gold-hi); }
.btn--primary:active { background: var(--gold-press); }
.btn--ghost { border-color: var(--line-strong); color: var(--text-hi); }
.btn--ghost:hover { border-color: var(--text-mid); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 15px; }
.arrow::after { content: '\2192'; font-family: var(--font-body); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgb(6 8 16 / 82%);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-head::before { content: ''; display: block; height: 2px; background: var(--rainbow); }
.head-row { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-hi); }
.brand img { width: 34px; height: auto; }
.brand-name { font-family: var(--font-display); font-size: 26px; letter-spacing: 0.08em; line-height: 1; }
.brand-tag {
  font-family: var(--font-hud); font-weight: 700; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px 9px 2px;
}
.nav { display: flex; gap: 26px; margin-right: auto; }
.nav a { text-decoration: none; color: var(--text-mid); font-size: 15px; font-weight: 600; }
.nav a:hover { color: var(--text-hi); }
.head-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang { font-family: var(--font-hud); font-weight: 700; font-size: 14px; letter-spacing: 0.12em; color: var(--text-mid); text-decoration: none; padding: 6px 8px; }
.lang:hover { color: var(--text-hi); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 104px 0 120px;
  background:
    radial-gradient(ellipse 60% 70% at 18% 20%, rgb(40 120 200 / 16%) 0%, transparent 60%),
    radial-gradient(ellipse 55% 60% at 88% 80%, rgb(200 40 60 / 12%) 0%, transparent 60%),
    var(--abyss);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.hero .lede { max-width: 30em; }
.hero-note { margin-top: 22px; font-size: 14px; color: var(--text-dim); }

/* ---------- sample UI (the illustrative mock-ups) ---------- */
.mock {
  position: relative;
  margin: 0;
  min-width: 0;
  background: linear-gradient(180deg, var(--ink-700) 0%, var(--ink-800) 100%);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / 70%), 0 0 0 1px rgb(255 255 255 / 2%) inset;
}
.mock-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.mock-title { font-family: var(--font-hud); font-weight: 700; font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-hi); }
.mock-chip { font-family: var(--font-hud); font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mid); border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px 9px 2px; white-space: nowrap; }
.mock-caption { margin: 14px 2px 0; font-size: 13px; color: var(--text-dim); }

.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpi { background: var(--ink-900); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 12px 10px; min-width: 0; }
.kpi-label { font-size: 12px; color: var(--text-mid); line-height: 1.3; }
.kpi-value { font-family: var(--font-hud); font-weight: 700; font-size: 28px; line-height: 1.1; color: var(--text-hi); margin-top: 4px; }
.kpi-delta { font-family: var(--font-hud); font-weight: 600; font-size: 13px; color: var(--green); }
.kpi-delta--down { color: var(--red); }

.split { margin-top: 18px; }
.split-label { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-mid); margin-bottom: 8px; }
.split-bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; gap: 2px; }
.split-bar span { display: block; height: 100%; }
.seg-inperson { background: var(--gold); }
.seg-remote { background: var(--sky); }
.seg-hybrid { background: var(--violet); }
.seg-inactive { background: var(--line-strong); }
.w28 { width: 28%; } .w34 { width: 34%; } .w22 { width: 22%; } .w16 { width: 16%; }
.legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--text); }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend i { width: 9px; height: 9px; border-radius: 2px; flex: none; }
.legend b { margin-left: auto; font-family: var(--font-hud); font-weight: 700; color: var(--text-hi); }

.bars { margin-top: 18px; }
.bars-plot { display: flex; align-items: flex-end; gap: 8px; height: 96px; padding: 0 2px; border-bottom: 1px solid var(--line); }
.bar { flex: 1; display: flex; flex-direction: column-reverse; gap: 2px; min-width: 0; }
.bar span { display: block; border-radius: 3px 3px 0 0; }
.bar .ip { background: var(--gold); border-radius: 0; }
.bar .rm { background: var(--sky); }
.h12 { height: 12px; } .h16 { height: 16px; } .h18 { height: 18px; } .h20 { height: 20px; } .h22 { height: 22px; } .h24 { height: 24px; }
.h26 { height: 26px; } .h28 { height: 28px; } .h30 { height: 30px; } .h32 { height: 32px; } .h34 { height: 34px; } .h36 { height: 36px; } .h40 { height: 40px; } .h44 { height: 44px; }
.bars-axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-dim); margin-top: 6px; }

.insight { margin-top: 16px; padding: 12px 14px; border-left: 2px solid var(--gold); background: var(--ink-900); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 14px; line-height: 1.5; color: var(--text); }

/* composer mock */
.field { margin-bottom: 12px; }
.field-label { font-family: var(--font-hud); font-weight: 700; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-mid); margin-bottom: 6px; }
.field-box { background: var(--ink-600); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 15px; color: var(--text-hi); }
.field-box small { display: block; color: var(--text-mid); font-size: 13px; margin-top: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 13px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text); }
.chip--on { border-color: var(--sky); background: rgb(40 182 230 / 12%); color: var(--text-hi); }
.phone {
  margin-top: 16px; background: var(--void); border: 1px solid var(--line); border-radius: 16px; padding: 12px;
}
.push { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; background: rgb(255 255 255 / 6%); border-radius: 12px; padding: 10px 12px; }
.push img { width: 30px; height: 30px; border-radius: 7px; background: var(--ink-800); padding: 3px; }
.push-app { font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-mid); }
.push-title { font-weight: 600; font-size: 14px; color: var(--text-hi); line-height: 1.3; }
.push-body { font-size: 13px; color: var(--text); line-height: 1.4; }
.mock-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.mock-btn { font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text-hi); }
.mock-btn--primary { background: var(--gold); border-color: var(--gold); color: var(--text-inv); }

/* ---------- sections ---------- */
.section { padding: var(--section) 0; border-bottom: 1px solid var(--line); }
.section--sunken { background: var(--ink-900); }
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head .lede { max-width: 40em; }

/* verified attendance */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tier { background: var(--ink-800); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; overflow: hidden; }
.tier::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 3px; }
.tier--gold::before { background: var(--tier-gold); }
.tier--silver::before { background: var(--tier-silver); }
.tier--bronze::before { background: var(--tier-bronze); }
.tier-badge { display: inline-block; font-family: var(--font-hud); font-weight: 700; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 16px; }
.tier--gold .tier-badge { color: var(--tier-gold); }
.tier--silver .tier-badge { color: var(--tier-silver); }
.tier--bronze .tier-badge { color: var(--tier-bronze); }
.tier p { margin: 10px 0 0; color: var(--text-mid); font-size: 16px; }
.tier .special { color: var(--tier-special); font-weight: 600; }
.footnote { margin-top: 28px; font-size: 15px; color: var(--text-mid); max-width: 52em; }

/* products */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.product + .product { margin-top: var(--section); padding-top: var(--section); border-top: 1px solid var(--line); }
.product--flip .product-copy { order: 2; }
.product-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.product-kicker .eyebrow { margin: 0; }
.product-num { font-family: var(--font-hud); font-weight: 700; font-size: 13px; color: var(--text-inv); background: var(--gold); border-radius: 6px; padding: 2px 8px 1px; letter-spacing: 0.08em; }
.features { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 26px; }
.features li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; }
.features li::before { content: ''; width: 10px; height: 10px; margin-top: 8px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); }
.features p { margin: 4px 0 0; color: var(--text-mid); font-size: 16px; }
.product-visual { position: sticky; top: 108px; }

/* privacy */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cell { background: var(--ink-900); padding: 32px 28px; }
.cell p { margin: 10px 0 0; color: var(--text-mid); font-size: 16px; }
.cell-mark { font-family: var(--font-hud); font-weight: 700; font-size: 13px; letter-spacing: 0.16em; color: var(--sky); margin-bottom: 14px; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid var(--line-strong); padding-top: 26px; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-display); font-size: 56px; line-height: 1; color: var(--gold); margin-bottom: 14px; }
.steps p { margin: 10px 0 0; color: var(--text-mid); font-size: 16px; }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.facts { margin: 32px 0 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 24px; font-size: 16px; }
.facts dt { color: var(--text-mid); }
.facts dd { margin: 0; color: var(--text-hi); }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.person { background: var(--ink-800); border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 24px; }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--ink-600); border: 1px solid var(--line-strong); margin-bottom: 18px; }
.person p { margin: 6px 0 0; color: var(--text-mid); font-size: 15px; }
.placeholder { font-family: var(--font-hud); font-weight: 700; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); }

/* final CTA */
.final { padding: 120px 0; text-align: center; background:
  radial-gradient(ellipse 50% 80% at 50% 100%, rgb(255 180 30 / 10%) 0%, transparent 70%), var(--abyss); }
.final h2 { max-width: 14em; margin: 0 auto; }
.final .lede { margin-left: auto; margin-right: auto; }
.final .cta-row { justify-content: center; }

/* footer */
.site-foot { border-top: 1px solid var(--line); padding: 64px 0 40px; background: var(--void); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot-grid h3 { font-family: var(--font-hud); font-weight: 700; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-mid); margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { text-decoration: none; color: var(--text); }
.foot-grid a:hover { color: var(--text-hi); }
.foot-brand p { margin: 14px 0 0; color: var(--text-mid); max-width: 22em; }
.foot-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--text-dim); font-size: 14px; }
.foot-base a { color: var(--text-mid); }

/* 404 */
.lost { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .nav { display: none; }
  .hero-grid, .product, .about { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .product--flip .product-copy { order: 0; }
  .product-visual { position: static; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; --section: 88px; }
  body { font-size: 16px; }
  .hero { padding: 64px 0 80px; }
  .tiers, .grid-3, .steps { grid-template-columns: minmax(0, 1fr); }
  .steps { gap: 32px; }
  .people { grid-template-columns: minmax(0, 1fr); }
  .section-head { margin-bottom: 44px; }
  .brand-tag { display: none; }
  .head-row { gap: 12px; min-height: 60px; }
  .head-actions .btn--primary { display: none; }
  .kpi-value { font-size: 22px; }
  .mock { padding: 16px; }
  .product + .product { margin-top: 72px; padding-top: 72px; }
}
@media (max-width: 380px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis .kpi:last-child { grid-column: 1 / -1; }
  .brand-name { font-size: 22px; }
}
