/* ==========================================================================
   A-ROK — Global Fitness Community
   Design system + components
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. FONTS — self-hosted (no external requests)
   -------------------------------------------------------------------------- */
/* Archivo — latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../fonts/archivo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Archivo — latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../fonts/archivo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Inter — latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter — latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Base — granite / basalt */
  --bg:            #08090B;
  --bg-raise:      #0E1013;
  --surface:       #131619;
  --surface-2:     #1A1E22;
  --surface-3:     #23282D;

  /* Ink */
  --ink:           #F4F6F8;
  --ink-2:         #B7BFC8;
  --ink-3:         #7E8894;
  --ink-4:         #5A626C;

  /* Ember — the single signal colour */
  --ember:         #FF4B26;
  --ember-hot:     #FF6B45;
  --ember-deep:    #C7331A;
  --ember-wash:    rgba(255, 75, 38, 0.10);
  --ember-line:    rgba(255, 75, 38, 0.32);

  /* Lines */
  --line:          rgba(255, 255, 255, 0.09);
  --line-2:        rgba(255, 255, 255, 0.15);
  --line-3:        rgba(255, 255, 255, 0.24);

  /* Type */
  --display: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono:    ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  /* Metrics */
  --shell:      1280px;
  --shell-tight: 940px;
  --gut:        clamp(20px, 5vw, 56px);
  --sec:        clamp(72px, 11vw, 148px);
  --r-sm:       4px;
  --r:          8px;
  --r-lg:       14px;

  --ease:  cubic-bezier(0.22, 1, 0.36, 1);
  --ease-2: cubic-bezier(0.65, 0, 0.35, 1);
}

/* --------------------------------------------------------------------------
   2. RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "kern" 1, "liga" 1;
}

img, svg, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--ember); color: #fff; }

/* Grain overlay — adds tooth to the flat dark */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   3. TYPE SCALE
   -------------------------------------------------------------------------- */
.display, h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  font-stretch: 112%;
}

.t-hero   { font-size: clamp(3rem, 10.5vw, 8.5rem); }
.t-xl     { font-size: clamp(2.4rem, 6.4vw, 5rem); }
.t-lg     { font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
.t-md     { font-size: clamp(1.35rem, 2.4vw, 1.85rem); }
.t-sm     { font-size: clamp(1.05rem, 1.5vw, 1.2rem); letter-spacing: -0.01em; }

.lede {
  font-size: clamp(1.05rem, 1.9vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink-2);
  font-weight: 400;
  letter-spacing: -0.005em;
}

.body-2 { color: var(--ink-2); }
.body-3 { color: var(--ink-3); font-size: 0.94rem; }

/* Eyebrow / section index */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--ember);
  flex: none;
}
.eyebrow.no-rule::before { display: none; }

.em { color: var(--ember); }
.muted { color: var(--ink-3); }

/* --------------------------------------------------------------------------
   4. LAYOUT
   -------------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.shell-tight { max-width: var(--shell-tight); }

.section { padding-block: var(--sec); position: relative; }
.section-sm { padding-block: clamp(48px, 7vw, 88px); }
.section-raise { background: var(--bg-raise); }
.hairline-top { border-top: 1px solid var(--line); }

.sec-head { max-width: 700px; margin-bottom: clamp(38px, 5vw, 62px); }
.sec-head .eyebrow { margin-bottom: 20px; }
.sec-head h2 { margin-bottom: 20px; }

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.stack-sm  > * + * { margin-top: 10px; }
.stack     > * + * { margin-top: 18px; }
.stack-lg  > * + * { margin-top: 32px; }

.row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--ember);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-stretch: 108%;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
              border-color 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); background: var(--ember-hot); }
.btn:active { transform: translateY(0); }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-3);
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: var(--ink); }

.btn-solid {
  --btn-bg: var(--ink);
  --btn-fg: var(--bg);
}
.btn-solid:hover { background: #fff; }

.btn-sm { padding: 11px 20px; font-size: 0.78rem; }
.btn-block { display: flex; width: 100%; }

.btn .arw { transition: transform 0.3s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

/* Text link with underline sweep */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-2);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.tlink:hover { color: var(--ember); border-color: var(--ember); }
.tlink:hover .arw { transform: translateX(4px); }
.tlink .arw { transition: transform 0.3s var(--ease); }

/* --------------------------------------------------------------------------
   6. HEADER / NAV
   -------------------------------------------------------------------------- */
.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
              backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-head.stuck {
  background: rgba(8, 9, 11, 0.82);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: var(--line);
}

.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.32rem;
  letter-spacing: 0.02em;
  font-stretch: 120%;
  flex: none;
}
/* Chevron mark — the folded banner from the A-ROK logo */
.brand-mark {
  width: 26px;
  height: 32px;
  flex: none;
  display: block;
  transition: transform 0.3s var(--ease);
}
.brand:hover .brand-mark { transform: translateY(-2px); }

/* Wordmark sits in the site's signal colour */
.brand-word { color: var(--ember); }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  position: relative;
  padding-block: 6px;
  transition: color 0.2s var(--ease);
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }

.head-cta { display: flex; align-items: center; gap: 12px; flex: none; }

.burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  place-items: center;
  flex: none;
}
.burger span {
  display: block;
  width: 17px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.burger span + span { margin-top: 4.5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 74px 0 0 0;
  z-index: 890;
  background: var(--bg);
  padding: 34px var(--gut) 48px;
  display: none;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  border-top: 1px solid var(--line);
}
.drawer.open { display: flex; }
.drawer a.d-link {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.9rem;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  padding-block: 15px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink);
}
.drawer a.d-link .idx {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--ink-4);
  letter-spacing: 0.1em;
}
.drawer .btn { margin-top: 26px; }
body.locked { overflow: hidden; }

/* --------------------------------------------------------------------------
   7. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: 128px;
  padding-bottom: 52px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 88% at 78% 8%, rgba(255,75,38,0.20), transparent 58%),
    radial-gradient(90% 70% at 12% 92%, rgba(255,75,38,0.07), transparent 60%),
    linear-gradient(180deg, rgba(8,9,11,0.30) 0%, rgba(8,9,11,0.86) 62%, var(--bg) 100%);
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.42; }

/* Topographic line pattern — geological, ties to "ROK" */
.hero-topo {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.13;
  background-image:
    repeating-linear-gradient(115deg, transparent 0 58px, rgba(255,255,255,0.5) 58px 59px);
  mask-image: radial-gradient(80% 70% at 70% 30%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(80% 70% at 70% 30%, #000 0%, transparent 72%);
}

.hero-inner { width: 100%; }

.hero h1 { margin-bottom: 26px; }
.hero h1 .ln { display: block; overflow: hidden; }
.hero h1 .ln > span {
  display: block;
  animation: riseIn 1s var(--ease) both;
}
.hero h1 .ln:nth-child(2) > span { animation-delay: 0.09s; }
.hero h1 .ln:nth-child(3) > span { animation-delay: 0.18s; }

@keyframes riseIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.hero-copy {
  max-width: 560px;
  animation: fadeUp 1s var(--ease) 0.42s both;
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 1s var(--ease) 0.54s both;
}

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

.hero-meta {
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: clamp(28px, 6vw, 76px);
  flex-wrap: wrap;
  animation: fadeUp 1s var(--ease) 0.66s both;
}
.hero-meta .stat-n {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  font-stretch: 112%;
}
.hero-meta .stat-l {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 9px;
}

/* Page hero (inner pages) */
.phero {
  padding-top: clamp(136px, 17vw, 190px);
  padding-bottom: clamp(48px, 7vw, 82px);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.phero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(78% 130% at 88% 0%, rgba(255,75,38,0.13), transparent 62%);
}
.phero h1 { margin-bottom: 22px; }
.phero .lede { max-width: 640px; }
.phero .eyebrow { margin-bottom: 22px; }

/* --------------------------------------------------------------------------
   8. TICKER — global belonging strip
   -------------------------------------------------------------------------- */
.ticker {
  border-block: 1px solid var(--line);
  background: var(--bg-raise);
  overflow: hidden;
  padding-block: 17px;
  position: relative;
}
.ticker::before, .ticker::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 110px;
  z-index: 2;
  pointer-events: none;
}
.ticker::before { left: 0;  background: linear-gradient(90deg, var(--bg-raise), transparent); }
.ticker::after  { right: 0; background: linear-gradient(270deg, var(--bg-raise), transparent); }

.ticker-track {
  display: flex;
  width: max-content;
  animation: slide 64s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-inline: 22px;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  white-space: nowrap;
}
.ticker-track span::after {
  content: "";
  width: 4px; height: 4px;
  background: var(--ember);
  border-radius: 50%;
  flex: none;
}
@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   9. CARDS
   -------------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(24px, 3vw, 32px);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease),
              background 0.3s var(--ease);
}
.card::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 2px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.card:hover { border-color: var(--line-2); transform: translateY(-4px); background: var(--surface-2); }
.card:hover::after { transform: scaleX(1); }

.card-n {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--ember);
  margin-bottom: 22px;
  display: block;
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--ink-3); font-size: 0.95rem; }

/* Station cards (numbered format list) */
.station {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  gap: clamp(16px, 3vw, 34px);
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.35s var(--ease);
}
.station:hover { padding-left: 12px; }
.station:hover .station-i { color: var(--ember); }
.station-i {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ink-4);
  letter-spacing: -0.02em;
  transition: color 0.3s var(--ease);
  font-stretch: 112%;
}
.station-b h3 { margin-bottom: 6px; }
.station-b p { color: var(--ink-3); font-size: 0.92rem; }
.station-m {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--ink-2);
  text-align: right;
  letter-spacing: 0.04em;
  line-height: 1.7;
  white-space: nowrap;
}
.station-m b { color: var(--ink); font-weight: 600; }

/* Division table */
.divs { border-top: 1px solid var(--line-2); }
.div-row {
  display: grid;
  grid-template-columns: 1.1fr 2.4fr auto;
  gap: clamp(14px, 3vw, 32px);
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.div-row h3 { margin-bottom: 5px; }
.div-row .tag-set { justify-content: flex-end; }

/* Chips / tags */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
}
.tag-ember { border-color: var(--ember-line); color: var(--ember); background: var(--ember-wash); }
.tag-live  { border-color: rgba(74,222,128,0.34); color: #6EE7A0; background: rgba(74,222,128,0.09); }
.tag-set { display: flex; gap: 7px; flex-wrap: wrap; }

.dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: currentColor; flex: none;
}
.dot-pulse { animation: pulse 2s var(--ease-2) infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.28; }
}

/* --------------------------------------------------------------------------
   10. FINDER (chapters + events shared controls)
   -------------------------------------------------------------------------- */
.finder-bar {
  position: sticky;
  top: 74px;
  z-index: 40;
  background: rgba(8,9,11,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding-block: 18px;
}

.search-wrap { position: relative; margin-bottom: 15px; }
.search-wrap svg {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--ink-3);
  pointer-events: none;
}
.search {
  width: 100%;
  padding: 14px 16px 14px 46px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  color: var(--ink);
  font-size: 0.95rem;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.search::placeholder { color: var(--ink-4); }
.search:focus { outline: none; border-color: var(--ember); background: var(--surface-2); }

.pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 3px;
  scrollbar-width: none;
}
.pills::-webkit-scrollbar { display: none; }
.pill {
  padding: 9px 16px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
  transition: all 0.22s var(--ease);
  flex: none;
}
.pill:hover { color: var(--ink); border-color: var(--line-3); }
.pill.on {
  background: var(--ember);
  border-color: var(--ember);
  color: #fff;
}

.result-count {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-block: 26px 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}
.result-count b { color: var(--ink); font-weight: 600; }

/* Chapter card */
.ch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 14px;
}
.ch {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.28s var(--ease), transform 0.28s var(--ease),
              background 0.28s var(--ease);
  position: relative;
}
.ch:hover {
  border-color: var(--ember-line);
  background: var(--surface-2);
  transform: translateY(-3px);
}
.ch-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ch-cc {
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  border: 1px solid var(--line-2);
  border-radius: 3px;
  padding: 3px 7px;
  flex: none;
}
.ch h3 { font-size: 1.28rem; line-height: 1.05; margin-bottom: 4px; }
.ch .ch-country { font-size: 0.85rem; color: var(--ink-3); }
.ch-meta {
  border-top: 1px solid var(--line);
  padding-top: 13px;
  display: grid;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--ink-3);
  margin-top: auto;
}
.ch-meta div { display: flex; align-items: center; gap: 9px; }
.ch-meta svg { flex: none; color: var(--ink-4); }
.ch-meta b { color: var(--ink-2); font-weight: 500; }

/* Event row */
.ev-list { border-top: 1px solid var(--line-2); }
.ev {
  display: grid;
  grid-template-columns: 92px 1fr 190px auto;
  gap: clamp(16px, 3vw, 30px);
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.3s var(--ease), background 0.3s var(--ease);
}
.ev:hover { padding-left: 14px; }
.ev-date {
  font-family: var(--display);
  text-align: center;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 10px 6px;
  flex: none;
  transition: border-color 0.3s var(--ease);
}
.ev:hover .ev-date { border-color: var(--ember-line); }
.ev-date .d { font-size: 1.55rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.ev-date .m {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--ember);
  margin-top: 5px;
  text-transform: uppercase;
}
.ev-b h3 { font-size: 1.34rem; margin-bottom: 6px; }
.ev-b p { font-size: 0.86rem; color: var(--ink-3); }
.ev-venue { font-size: 0.85rem; color: var(--ink-3); line-height: 1.5; }
.ev-venue b { display: block; color: var(--ink-2); font-weight: 500; margin-bottom: 2px; }

.empty {
  text-align: center;
  padding: 80px 20px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r);
}
.empty h3 { margin-bottom: 10px; }
.empty p { color: var(--ink-3); max-width: 420px; margin-inline: auto; }

/* --------------------------------------------------------------------------
   11. SPLIT / FEATURE BLOCKS
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 84px);
  align-items: center;
}
.split-media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  background: var(--surface);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }

/* Poster — image-free feature panel built from type + gradient.
   Swap for a real <img> when you have photography. */
.poster {
  position: relative;
  height: 100%;
  padding: clamp(26px, 3.4vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(105% 88% at 88% 6%, rgba(255,75,38,0.30), transparent 58%),
    linear-gradient(168deg, var(--surface-2), var(--bg));
  overflow: hidden;
}
.poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(88% 78% at 40% 60%, #000, transparent 76%);
  -webkit-mask-image: radial-gradient(88% 78% at 40% 60%, #000, transparent 76%);
}
.poster > * { position: relative; z-index: 1; }
.poster-big {
  font-family: var(--display);
  font-size: clamp(3.4rem, 8.5vw, 6rem);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.04em;
  font-stretch: 118%;
  text-transform: uppercase;
}
.poster-big em { font-style: normal; color: var(--ember); }
.poster-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  border-top: 1px solid var(--line-2);
  padding-top: 18px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Numbered principle list */
.principles { counter-reset: p; }
.principle {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(18px, 3vw, 32px);
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: p;
}
.principle::before {
  content: counter(p, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--ember);
  padding-top: 7px;
}
.principle h3 { margin-bottom: 10px; }
.principle p { color: var(--ink-3); max-width: 62ch; }

/* Quote / voice cards */
.voice {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 2px solid var(--ember);
  border-radius: var(--r);
  padding: clamp(24px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.voice blockquote {
  font-size: 1.02rem;
  line-height: 1.62;
  color: var(--ink-2);
}
.voice figcaption { margin-top: auto; display: flex; align-items: center; gap: 13px; }
.voice-av {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--surface-3);
  display: grid; place-items: center;
  font-family: var(--display);
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--ink-2);
  flex: none;
  border: 1px solid var(--line-2);
}
.voice-n { font-weight: 600; font-size: 0.92rem; }
.voice-r { font-size: 0.79rem; color: var(--ink-3); }

/* Stat block */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface);
}
.stat {
  padding: clamp(26px, 3.4vw, 40px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat .n {
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  font-stretch: 112%;
  margin-bottom: 12px;
}
.stat .l {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  padding-block: clamp(72px, 10vw, 130px);
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(66% 130% at 50% 118%, rgba(255,75,38,0.24), transparent 66%);
}
.cta-band h2 { margin-bottom: 22px; }
.cta-band .lede { max-width: 540px; margin-inline: auto; }
.cta-band .row { justify-content: center; margin-top: 34px; }

/* --------------------------------------------------------------------------
   12. FORMS
   -------------------------------------------------------------------------- */
.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.field .req { color: var(--ember); }
.input, .select, .textarea {
  width: 100%;
  padding: 13px 15px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: 0.95rem;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--ink-4); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--ember); background: var(--surface-2);
}
.textarea { resize: vertical; min-height: 118px; line-height: 1.6; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%237E8894' stroke-width='1.6'%3E%3Cpath d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
  cursor: pointer;
}
.select option { background: var(--surface); color: var(--ink); }
.select:disabled { color: var(--ink-4); cursor: not-allowed; opacity: 0.7; }

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--ink-2);
  cursor: pointer;
  line-height: 1.55;
}
.check input {
  appearance: none;
  width: 18px; height: 18px;
  border: 1px solid var(--line-3);
  border-radius: 3px;
  flex: none;
  margin-top: 2px;
  position: relative;
  transition: all 0.2s var(--ease);
  cursor: pointer;
}
.check input:checked { background: var(--ember); border-color: var(--ember); }
.check input:checked::after {
  content: "";
  position: absolute;
  left: 5px; top: 1.5px;
  width: 5px; height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-note {
  font-size: 0.8rem;
  color: var(--ink-4);
  line-height: 1.6;
}
.form-msg {
  padding: 14px 16px;
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  display: none;
  border: 1px solid transparent;
}
.form-msg.show { display: block; }
.form-msg.ok {
  background: rgba(74,222,128,0.09);
  border-color: rgba(74,222,128,0.32);
  color: #7CE8AC;
}
.form-msg.err {
  background: var(--ember-wash);
  border-color: var(--ember-line);
  color: var(--ember-hot);
}

.form-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 4vw, 44px);
}

/* Inline signup */
.signup-inline {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.signup-inline .input { flex: 1 1 240px; }

/* --------------------------------------------------------------------------
   12b. WELCOME SPLASH — shown for ~4s after joining.
        Backdrop sits at 60% so the page you just joined stays visible behind it.
   -------------------------------------------------------------------------- */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9990;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: rgba(8, 9, 11, 0.60);
  backdrop-filter: blur(7px) saturate(120%);
  -webkit-backdrop-filter: blur(7px) saturate(120%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s var(--ease), visibility 0s linear 0.45s;
}
.splash.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.35s var(--ease), visibility 0s;
}

.splash-word {
  display: flex;
  align-items: baseline;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(3.4rem, 15vw, 10rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-stretch: 118%;
  text-transform: uppercase;
  text-shadow: 0 12px 60px rgba(0, 0, 0, 0.55);
}
.splash-a {
  color: var(--ember);
  display: inline-block;
  min-width: 0.78em;
  text-align: center;
  /* Latin subset only — fall back to the OS for other scripts */
  font-family: var(--display), "Noto Sans", "Segoe UI", system-ui, sans-serif;
}
.splash-a.flip { animation: glyphIn 0.34s var(--ease); }
@keyframes glyphIn {
  from { opacity: 0; transform: translateY(0.10em) scale(0.86); filter: blur(3px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}

.splash-sub {
  font-family: var(--mono);
  font-size: clamp(0.6rem, 1.5vw, 0.72rem);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-2);
  text-align: center;
  padding-inline: 20px;
}
.splash-bar {
  width: min(220px, 44vw);
  height: 2px;
  background: var(--line-2);
  overflow: hidden;
}
.splash-bar i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: left;
}

/* --------------------------------------------------------------------------
   13. ACCORDION (FAQ)
   -------------------------------------------------------------------------- */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  text-align: left;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
  text-transform: uppercase;
  letter-spacing: -0.012em;
  font-stretch: 108%;
  color: var(--ink);
  transition: color 0.22s var(--ease);
}
.acc-btn:hover { color: var(--ember); }
.acc-ic {
  width: 22px; height: 22px;
  flex: none;
  position: relative;
}
.acc-ic::before, .acc-ic::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: currentColor;
  transition: transform 0.32s var(--ease);
}
.acc-ic::before { width: 13px; height: 1.5px; transform: translate(-50%,-50%); }
.acc-ic::after  { width: 1.5px; height: 13px; transform: translate(-50%,-50%); }
.acc-btn[aria-expanded="true"] .acc-ic::after { transform: translate(-50%,-50%) rotate(90deg); }
.acc-btn[aria-expanded="true"] { color: var(--ember); }

.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s var(--ease);
}
.acc-panel.open { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel p { color: var(--ink-3); padding-bottom: 26px; max-width: 68ch; }

/* --------------------------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------------------------- */
.site-foot {
  border-top: 1px solid var(--line);
  background: var(--bg-raise);
  padding-top: clamp(52px, 7vw, 82px);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: clamp(30px, 4vw, 56px);
  padding-bottom: clamp(44px, 5vw, 62px);
}
.foot-brand .brand { margin-bottom: 18px; }
.foot-brand p { color: var(--ink-3); font-size: 0.92rem; max-width: 300px; }
.foot-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--ink-4);
  margin-bottom: 18px;
  font-family: var(--mono);
  font-weight: 500;
  text-transform: uppercase;
}
.foot-col li + li { margin-top: 11px; }
.foot-col a {
  font-size: 0.9rem;
  color: var(--ink-2);
  transition: color 0.2s var(--ease);
}
.foot-col a:hover { color: var(--ember); }

.foot-bar {
  border-top: 1px solid var(--line);
  padding-block: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--ink-4);
}
.foot-bar .row { gap: 22px; }
.foot-bar a:hover { color: var(--ink-2); }

.socials { display: flex; gap: 9px; }
.socials a {
  width: 36px; height: 36px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  color: var(--ink-3);
  transition: all 0.24s var(--ease);
}
.socials a:hover { border-color: var(--ember); color: var(--ember); transform: translateY(-2px); }

/* --------------------------------------------------------------------------
   15. REVEAL ANIMATION
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }

/* --------------------------------------------------------------------------
   16. UTILITIES
   -------------------------------------------------------------------------- */
.skip {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 999;
  background: var(--ember);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--r-sm);
  font-weight: 600;
}
.skip:focus { left: 12px; }

.sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.center { text-align: center; }
.mt-lg { margin-top: clamp(34px, 5vw, 56px); }
.mb-0 { margin-bottom: 0; }
.max-60 { max-width: 60ch; }

/* --------------------------------------------------------------------------
   17. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: grid; }
  .head-cta .btn { display: none; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .g-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split-media { aspect-ratio: 16 / 11; order: -1; }
  .ev { grid-template-columns: 76px 1fr; row-gap: 14px; }
  .ev-venue { grid-column: 2; }
  .ev .btn { grid-column: 2; justify-self: start; }
  .div-row { grid-template-columns: 1fr; }
  .div-row .tag-set { justify-content: flex-start; }
  .station { grid-template-columns: 44px 1fr; row-gap: 10px; }
  .station-m { grid-column: 2; text-align: left; white-space: normal; }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 80px; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero { min-height: 92svh; padding-top: 112px; }
  .hero-meta { gap: 26px 34px; }
  .ch-grid { grid-template-columns: 1fr; }
  .stat { border-right: none; }
  .foot-bar { flex-direction: column; align-items: flex-start; }
  .drawer a.d-link { font-size: 1.55rem; }
  .btn { width: 100%; }
  .hero-actions .btn, .cta-band .btn { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* Print */
@media print {
  body { background: #fff; color: #000; }
  .site-head, .drawer, .ticker, .cta-band, .site-foot { display: none; }
}
