/* ============================================================================
   OFF BALANCE — design system
   Trivandrum, India. Palette is brand direction v2 (orange + navy) — see :root.
   Register: brand · Theme: warm near-black + bone + ember + dawn-gold
   See DESIGN.md / PRODUCT.md for the why.
   ========================================================================== */

:root {
  /* --- Colour — brand direction v2 (orange + navy) ---------------------
     PROVISIONAL. These hexes were read off the signed-off logo art, one
     source of which was a photograph of a monitor. They must be confirmed
     against the brand team's own files before anyone treats them as final.
     Token NAMES are unchanged on purpose: "ember" is now the brand orange,
     so the whole site re-skins from this block alone.
     Contrast figures below are computed, not measured — verify in-browser. */
  --ob-void:          #16203A;  /* page ground — deep navy */
  --ob-surface:       #1E2B4A;
  --ob-surface-2:     #26355A;
  --ob-border:        #35476E;
  --ob-border-strong: #4A5E8A;
  --ob-bone:          #F4F1EC;  /* ~13:1 on void */
  --ob-muted:         #BAC5D8;  /* ~7:1 on void */
  --ob-faint:         #8796B0;  /* ~4.3:1 — large / non-body only */
  --ob-ember:         #FA4616;  /* brand orange — fills, marks, large display */
  --ob-ember-text:    #FF8256;  /* small orange TEXT on navy — clears AA 4.5 */
  --ob-ember-cta:     #D93A0E;  /* filled CTA bg — white label clears AA 4.5 */
  --ob-ember-bright:  #FF6A38;
  --ob-ember-deep:    #B0300B;
  /* No third hue: status borrows the Brand Story's sky rather than gold. */
  --ob-gold:          #AEC3DD;

  --ob-ember-wash:    rgba(250,70,22,0.12);
  --ob-ember-glow:    rgba(250,70,22,0.30);
  --ob-on-ember:      #FFFFFF;

  /* semantic aliases used across the markup */
  --color-bg: var(--ob-void);
  --color-surface: var(--ob-surface);
  --color-border: var(--ob-border);
  --color-accent: var(--ob-ember);
  --color-text: var(--ob-bone);
  --color-muted: var(--ob-muted);
  --color-danger: var(--ob-ember-bright);

  /* --- Type --- */
  --font-display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --font-stencil: 'Big Shoulders Stencil Display', 'Big Shoulders Display', sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;

  /* --- Radius --- */
  --radius-card: 4px;
  --radius-btn: 3px;
  --radius-pill: 999px;

  /* --- Spacing rhythm --- */
  --gap-section: clamp(64px, 10vw, 132px);
  --pad-inline: clamp(20px, 5vw, 48px);
  --nav-height: 76px;

  /* --- Motion --- */
  --ease-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo:  cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.15s;
  --t-base: 0.25s;
  --t-slow: 0.45s;
  --t-slower: 0.6s;

  /* --- Z-index scale (semantic) --- */
  --z-grain: 1;
  --z-sticky: 50;
  --z-nav: 100;
  --z-overlay: 200;
}

/* Legacy hex fallback for browsers without OKLCH (older Android WebViews) */
@supports not (color: oklch(0 0 0)) {
  :root {
    --ob-void: #16203A;       --ob-surface: #1E2B4A;     --ob-surface-2: #26355A;
    --ob-border: #35476E;     --ob-border-strong: #4A5E8A;
    --ob-bone: #F4F1EC;       --ob-muted: #BAC5D8;       --ob-faint: #8796B0;
    --ob-ember: #FA4616;      --ob-ember-text: #FF8256;  --ob-ember-cta: #D93A0E;
    --ob-ember-bright: #FF6A38; --ob-ember-deep: #B0300B;
    --ob-gold: #AEC3DD;       --ob-ember-wash: rgba(250,70,22,0.12);
    --ob-ember-glow: rgba(250,70,22,0.30); --ob-on-ember: #FFFFFF;
  }
  /* color-mix(in oklch,…) is also unsupported here — give solid fallbacks so the
     scrolled nav, mobile overlay, and filter bar stay readable on legacy WebViews */
  .site-nav.scrolled { background: rgba(22,32,58,0.86); }
  .nav-overlay { background: rgba(22,32,58,0.97); }
  .filter-bar { background: rgba(22,32,58,0.82); }
  .filter-bar.scrolled { background: rgba(22,32,58,0.92); }
  .meta-tag.is-free { border-color: rgba(174,195,221,0.4); }
  .image-band::after {
    background: linear-gradient(to top, var(--ob-void) 2%, transparent 45%),
                linear-gradient(to bottom, rgba(22,32,58,0.55), transparent 40%);
  }
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background-color: var(--ob-void);
  color: var(--ob-bone);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--ob-ember); color: var(--ob-on-ember); }

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

.hidden { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Skip link — visible only on keyboard focus */
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: var(--z-overlay);
  background: var(--ob-ember-cta); color: var(--ob-on-ember);
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 11px 20px; border-radius: var(--radius-btn);
  transform: translateY(-160%); transition: transform var(--t-base) var(--ease-quint);
}
.skip-link:focus { transform: translateY(0); }

/* --- Film grain + pre-dawn horizon (atmosphere) --------------------------- */
.grain {
  position: fixed; inset: 0; z-index: var(--z-grain);
  pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================================
   Typography utilities
   ========================================================================== */
.text-display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.75rem, 8.5vw, 5.5rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}
.text-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.0;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}
.text-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.2;
}
.text-body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ob-muted);
  max-width: 68ch;
  text-wrap: pretty;
}
.text-accent { color: var(--ob-ember-text); }
.text-gold { color: var(--ob-gold); }
.text-danger { color: var(--ob-ember-bright); }
.text-bone { color: var(--ob-bone); }

/* ============================================================================
   Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--pad-inline);
}
.section { padding: var(--gap-section) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: clamp(24px, 4vw, 44px);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ob-border);
}
.section-link {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ob-ember-text);
  white-space: nowrap;
  transition: color var(--t-fast) ease;
}
.section-link:hover { color: var(--ob-ember-bright); }

.page-header { padding: calc(var(--nav-height) + clamp(32px, 7vw, 72px)) 0 clamp(24px, 4vw, 40px); }
.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 0.92;
  text-transform: uppercase;
}

/* ============================================================================
   Navigation
   ========================================================================== */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  height: var(--nav-height);
  padding: 0 var(--pad-inline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: background var(--t-base) ease, backdrop-filter var(--t-base) ease,
              border-color var(--t-base) ease;
  border-bottom: 1px solid transparent;
}
.site-nav.scrolled {
  background: color-mix(in oklch, var(--ob-void) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom-color: var(--ob-border);
}

.nav-logo { display: inline-flex; flex-direction: column; gap: 1px; line-height: 1; }
.nav-logo .logo-main {
  font-family: var(--font-stencil);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ob-bone);
}
.nav-logo .logo-sub {
  font-family: var(--font-display);
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ob-ember-text);
  padding-left: 0.15em;
}

.nav-links { display: none; align-items: center; gap: 34px; }
.nav-links a {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ob-muted);
  position: relative;
  transition: color var(--t-fast) ease;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px; background: var(--ob-ember);
  transform: scaleX(0); transform-origin: left center;
  transition: transform var(--t-base) var(--ease-quint);
}
.nav-links a:hover { color: var(--ob-bone); }
.nav-links a:hover::after { transform: scaleX(1); }

.btn-nav-cta {
  display: none;
  border: 1px solid var(--ob-ember);
  color: var(--ob-ember-text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: var(--radius-btn);
  transition: background var(--t-fast) ease, color var(--t-fast) ease,
              box-shadow var(--t-fast) ease;
}
.btn-nav-cta:hover {
  background: var(--ob-ember-cta);
  color: var(--ob-on-ember);
  box-shadow: 0 0 0 1px var(--ob-ember), 0 8px 24px -8px var(--ob-ember-glow);
}

.hamburger {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; background: none; border: none; cursor: pointer; padding: 10px;
}
.hamburger span {
  display: block; height: 2px; width: 100%; background: var(--ob-bone);
  transition: transform var(--t-base) var(--ease-quint), opacity var(--t-base) ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  position: fixed; inset: 0; z-index: var(--z-overlay);
  background: color-mix(in oklch, var(--ob-void) 96%, transparent);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  opacity: 0; visibility: hidden; transition: opacity var(--t-base) ease, visibility var(--t-base) ease;
}
.nav-overlay.open { opacity: 1; visibility: visible; }
.nav-overlay a {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--ob-bone); padding: 10px 0;
  transition: color var(--t-fast) ease;
}
.nav-overlay a:hover { color: var(--ob-ember-text); }
.nav-overlay .btn-nav-cta { display: inline-block; font-size: 0.95rem; padding: 14px 32px; margin-top: 20px; }

@media (min-width: 920px) {
  .nav-links { display: flex; }
  .btn-nav-cta { display: inline-block; }
  .hamburger { display: none; }
  .nav-overlay { display: none; }
}

/* ============================================================================
   Buttons
   ========================================================================== */
.btn-primary, .btn-outline, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  text-align: center;
  min-height: 48px;
  border: 1px solid transparent;
  transition: transform var(--t-fast) var(--ease-quint), background var(--t-fast) ease,
              color var(--t-fast) ease, border-color var(--t-fast) ease, box-shadow var(--t-base) ease;
}
.btn-primary {
  background: var(--ob-ember-cta);
  color: var(--ob-on-ember);
  box-shadow: 0 1px 0 var(--ob-ember-deep) inset, 0 0 0 0 var(--ob-ember-glow);
}
.btn-primary:hover {
  background: var(--ob-ember-bright);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px var(--ob-ember-glow), 0 0 0 1px var(--ob-ember-bright);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-outline { background: transparent; color: var(--ob-bone); border-color: var(--ob-border-strong); }
.btn-outline:hover { border-color: var(--ob-bone); transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--ob-muted); padding: 12px 16px; }
.btn-ghost:hover { color: var(--ob-bone); }

.full-width { width: 100%; }

/* ============================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-height) + 48px) 0 64px;
  overflow: hidden;
}
/* pre-dawn horizon: a single intentional ember band at the foot of the hero */
.hero::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 38vh;
  background: radial-gradient(120% 100% at 50% 130%,
              var(--ob-ember-wash) 0%, transparent 62%);
  pointer-events: none; z-index: 0;
}
.hero > * { position: relative; z-index: 1; }

.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ob-gold);
  margin-bottom: 26px;
}
.hero .text-display { font-size: clamp(3rem, 11vw, 5.5rem); }
/* Full brand orange, not the small-text variant: display type only needs 3:1,
   and #FA4616 on the navy ground clears that comfortably. */
.hero .text-display .line2 { color: var(--ob-ember); display: block; }
.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.6;
  color: var(--ob-bone);
  max-width: 32ch;
  margin-top: 26px;
}
.hero-sub strong { color: var(--ob-bone); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* honest fact-row instead of the hero-metric template */
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 0;
  margin-top: 52px; border-top: 1px solid var(--ob-border);
}
.hero-fact {
  padding: 18px 28px 0 0; margin-right: 28px;
  display: flex; flex-direction: column; gap: 3px;
}
.hero-fact .ff-key {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 800;
  letter-spacing: 0; text-transform: uppercase; color: var(--ob-bone); line-height: 1;
}
.hero-fact .ff-val {
  font-family: var(--font-display); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ob-muted);
}
.hero-fact.is-live .ff-key { color: var(--ob-ember-text); }

/* ============================================================================
   Manifesto / philosophy (replaces numbered-pillar scaffolding)
   ========================================================================== */
.manifesto-grid {
  display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vw, 72px);
  align-items: start;
}
@media (min-width: 920px) { .manifesto-grid { grid-template-columns: 1.4fr 1fr; } }

.manifesto-lead {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ob-bone);
}
.manifesto-lead em { color: var(--ob-ember-text); font-style: normal; }
.manifesto-body { margin-top: 24px; }

blockquote.quote-block { position: relative; padding: 28px 0 0 0; border-top: 2px solid var(--ob-ember); }
.quote-block p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700; line-height: 1.1; text-transform: uppercase;
  color: var(--ob-bone);
}
.quote-block cite {
  display: block; margin-top: 18px;
  font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ob-gold); font-style: normal;
}

/* the three commitments — a real typed list, not 01/02/03 scaffolding */
.creed { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--ob-border); }
@media (min-width: 820px) { .creed { grid-template-columns: repeat(3, 1fr); } }
.creed-item { padding: 32px clamp(0px, 3vw, 36px) 32px 0; border-bottom: 1px solid var(--ob-border); }
@media (min-width: 820px) {
  .creed-item { border-bottom: none; border-right: 1px solid var(--ob-border); padding: 8px 36px; }
  .creed-item:first-child { padding-left: 0; }
  .creed-item:last-child { border-right: none; padding-right: 0; }
}
.creed-mark {
  font-family: var(--font-display); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ob-ember-text); margin-bottom: 14px;
}
.creed-title {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  text-transform: uppercase; line-height: 1; margin-bottom: 12px;
}

/* ============================================================================
   Session cards  (NO side-stripe — full border + ember corner mark on hover)
   ========================================================================== */
.sessions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 16px;
  transition: opacity var(--t-base) ease, transform var(--t-base) ease;
}
.sessions-grid.is-fading { opacity: 0; transform: translateY(8px); }

.session-card {
  position: relative;
  background: var(--ob-surface);
  border: 1px solid var(--ob-border);
  border-radius: var(--radius-card);
  padding: 22px 22px 18px;
  display: flex; flex-direction: column; gap: 11px;
  cursor: pointer; overflow: hidden; color: inherit;
  transition: border-color var(--t-base) ease, transform var(--t-base) var(--ease-quint),
              background var(--t-base) ease, box-shadow var(--t-base) ease, opacity var(--t-base) ease;
}
/* corner mark (replaces the banned left side-stripe) */
.session-card::after {
  content: ''; position: absolute; top: 0; right: 0;
  width: 0; height: 0;
  border-top: 14px solid var(--ob-ember);
  border-left: 14px solid transparent;
  opacity: 0; transform: translate(4px, -4px);
  transition: opacity var(--t-base) ease, transform var(--t-base) var(--ease-quint);
}
.session-card:hover {
  border-color: var(--ob-border-strong);
  background: var(--ob-surface-2);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(0,0,0,0.8);
}
.session-card:hover::after { opacity: 1; transform: translate(0,0); }

.card-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.card-tag {
  font-family: var(--font-display); font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.card-tag.city { color: var(--ob-ember-text); }
.card-tag.city::before { content: '◢ '; color: var(--ob-ember-text); }
.card-tag.level { color: var(--ob-muted); }
.card-tag.level::before { content: '· '; color: var(--ob-border-strong); }

.card-title {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
  text-transform: uppercase; color: var(--ob-bone); line-height: 1.02; margin-top: 2px;
}
.card-coach, .card-datetime, .card-location { font-size: 0.9rem; color: var(--ob-muted); line-height: 1.5; }
.card-datetime { color: var(--ob-bone); font-weight: 500; }
.card-location { display: flex; align-items: flex-start; gap: 7px; }

.card-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--ob-border);
}
.register-link {
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ob-ember-text);
  white-space: nowrap; transition: gap var(--t-fast) ease, color var(--t-fast) ease;
}
.register-link:hover { color: var(--ob-ember-bright); }
/* full → waitlist affordance (no dead end) */
.card-full-link {
  font-family: var(--font-display); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ob-muted);
  white-space: nowrap; border: 1px solid var(--ob-border); padding: 6px 12px;
  border-radius: var(--radius-btn); transition: border-color var(--t-fast) ease, color var(--t-fast) ease;
}
.card-full-link:hover { color: var(--ob-bone); border-color: var(--ob-border-strong); }

/* --- Capacity meter (three honest tiers; never color-alone) --- */
.spots-row { display: flex; align-items: center; gap: 12px; width: 100%; }
.spots-bar {
  height: 3px; background: var(--ob-border); border-radius: var(--radius-pill);
  flex: 1; overflow: hidden;
}
.spots-fill {
  height: 100%; width: 100%; background: var(--ob-border-strong); border-radius: var(--radius-pill);
  transform: scaleX(var(--fill, 0)); transform-origin: left center;
  transition: transform var(--t-slow) var(--ease-quint), background var(--t-base) ease;
}
.spots-fill.tier-low { background: var(--ob-gold); }
.spots-fill.tier-scarce, .spots-fill.tier-full { background: var(--ob-ember); }
.spots-text {
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 600;
  color: var(--ob-muted); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
}
.spots-text.tier-low { color: var(--ob-gold); }
.spots-text.tier-scarce, .spots-text.tier-full { color: var(--ob-ember-text); }

/* ============================================================================
   Filter bar
   ========================================================================== */
.filter-bar {
  position: sticky; top: var(--nav-height); z-index: var(--z-sticky);
  background: color-mix(in oklch, var(--ob-void) 80%, transparent);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--ob-border);
  border-bottom: 1px solid var(--ob-border);
  padding: 14px 0;
}
.filter-bar.scrolled { background: color-mix(in oklch, var(--ob-void) 90%, transparent); }
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ============================================================================
   Cities
   ========================================================================== */
.cities-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 880px) { .cities-grid { grid-template-columns: repeat(4, 1fr); } }
.city-tile {
  position: relative; border: 1px solid var(--ob-border); border-radius: var(--radius-card);
  padding: clamp(20px, 3vw, 30px); min-height: 132px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  transition: border-color var(--t-base) ease, background var(--t-base) ease, transform var(--t-base) var(--ease-quint);
  overflow: hidden;
}
.city-tile.active { cursor: pointer; }
.city-tile.active:hover { border-color: var(--ob-ember-text); background: var(--ob-surface); transform: translateY(-3px); }
.city-tile.soon { opacity: 0.82; }
.city-name { font-family: var(--font-display); font-size: clamp(1.4rem, 2.5vw, 1.85rem); font-weight: 800; text-transform: uppercase; line-height: 0.95; }
.city-status { font-family: var(--font-display); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; display: inline-flex; align-items: center; }
.city-status.active { color: var(--ob-ember-text); }
.city-status.soon { color: var(--ob-muted); }

.pulse-dot {
  width: 7px; height: 7px; background: var(--ob-ember); border-radius: 50%;
  display: inline-block; margin-right: 9px; box-shadow: 0 0 0 0 var(--ob-ember-glow);
  animation: ob-pulse 2.4s var(--ease-quint) infinite;
}
@keyframes ob-pulse {
  0%   { box-shadow: 0 0 0 0 var(--ob-ember-glow); opacity: 1; }
  70%  { box-shadow: 0 0 0 8px transparent; opacity: 0.7; }
  100% { box-shadow: 0 0 0 0 transparent; opacity: 1; }
}

/* ============================================================================
   Forms
   ========================================================================== */
.form-panel {
  background: var(--ob-surface);
  border: 1px solid var(--ob-border);
  border-radius: var(--radius-card);
  padding: clamp(24px, 4vw, 36px);
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-family: var(--font-display); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ob-muted); margin-bottom: 8px;
}
.form-input, .form-select {
  width: 100%; background: var(--ob-surface-2);
  border: 1px solid var(--ob-border); border-radius: var(--radius-btn);
  padding: 13px 15px; font-family: var(--font-body); font-size: 1rem;
  color: var(--ob-bone); transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.form-input::placeholder { color: var(--ob-faint); }
.form-input:focus, .form-select:focus {
  outline: none; border-color: var(--ob-ember-text);
  box-shadow: 0 0 0 3px var(--ob-ember-wash);
}
.form-select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23BCAF9B' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.form-trust {
  text-align: center; margin-top: 16px; font-family: var(--font-display);
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ob-muted);
}
.form-trust .text-accent { color: var(--ob-ember-text); }
.form-error { color: var(--ob-ember-bright); font-size: 0.9rem; margin-bottom: 12px; font-weight: 500; }
.form-loading { color: var(--ob-muted); font-size: 0.9rem; margin-bottom: 12px; }

/* ============================================================================
   Empty state
   ========================================================================== */
.empty-state {
  text-align: center; padding: clamp(48px, 8vw, 96px) 24px;
  grid-column: 1 / -1; border: 1px dashed var(--ob-border); border-radius: var(--radius-card);
}
.empty-state .es-mark {
  font-family: var(--font-stencil); font-size: clamp(2.5rem, 7vw, 4rem); font-weight: 700;
  color: var(--ob-border-strong); text-transform: uppercase; line-height: 1; margin-bottom: 12px;
}
.empty-state .text-body { margin: 10px auto 24px; }

/* ============================================================================
   Session detail
   ========================================================================== */
.detail-layout {
  display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 56px);
  padding: calc(var(--nav-height) + clamp(32px, 6vw, 56px)) 0 clamp(56px, 9vw, 96px);
}
@media (min-width: 920px) { .detail-layout { grid-template-columns: 1.5fr 1fr; align-items: start; } }
.detail-form-panel { position: sticky; top: calc(var(--nav-height) + 20px); }

.breadcrumb {
  font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ob-muted); margin-bottom: 18px;
}
.breadcrumb span { color: var(--ob-faint); }

.meta-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.meta-tag {
  font-family: var(--font-display); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ob-muted);
  border: 1px solid var(--ob-border); padding: 7px 13px; border-radius: var(--radius-pill);
}
.meta-tag.is-free { color: var(--ob-gold); border-color: color-mix(in oklch, var(--ob-gold) 40%, transparent); }

.date-block {
  display: inline-flex; flex-direction: column; gap: 6px;
  background: var(--ob-surface); border: 1px solid var(--ob-border);
  border-radius: var(--radius-card);
  padding: 18px 22px; margin: 22px 0;
}
.date-block .date-line { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.date-block .date-line:last-child { color: var(--ob-muted); font-size: 0.92rem; }


.success-panel { text-align: center; padding: 20px 0; }
.success-panel p {
  font-family: var(--font-display); font-size: 1rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--ob-gold); line-height: 1.5;
}
.confirmed-check { color: var(--ob-ember-text); }

/* ============================================================================
   Waitlist + confirmed pages
   ========================================================================== */
.waitlist-page {
  min-height: 100svh; display: flex; align-items: center; justify-content: center;
  padding: calc(var(--nav-height) + 40px) var(--pad-inline) 80px; position: relative; overflow: hidden;
}
.waitlist-watermark {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: var(--font-stencil); font-size: clamp(5rem, 22vw, 18rem); font-weight: 700;
  letter-spacing: 0.04em; color: var(--ob-bone); opacity: 0.04;
  pointer-events: none; white-space: nowrap; text-transform: uppercase; line-height: 1;
}
.waitlist-inner { position: relative; z-index: 1; width: 100%; max-width: 480px; }
.waitlist-inner .wl-head { text-align: center; margin-bottom: 28px; }

.confirmed-page {
  min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: calc(var(--nav-height) + 40px) var(--pad-inline) 80px; text-align: center;
}
.confirmed-check-lg { width: 64px; height: 64px; margin: 0 auto 24px; color: var(--ob-ember-text); }
.confirmed-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }

/* ============================================================================
   Off Court band (sibling brand cross-link — distinct but related)
   ========================================================================== */
.offcourt-banner {
  position: relative; overflow: hidden;
  background: var(--ob-surface);
  border-top: 1px solid var(--ob-border); border-bottom: 1px solid var(--ob-border);
  padding: clamp(48px, 8vw, 88px) 0;
}
.offcourt-watermark {
  position: absolute; right: var(--pad-inline); top: 50%; transform: translateY(-50%);
  font-family: var(--font-stencil); font-size: clamp(4rem, 14vw, 13rem); font-weight: 700;
  letter-spacing: -0.01em; color: var(--ob-bone); opacity: 0.05;
  pointer-events: none; white-space: nowrap; text-transform: uppercase; line-height: 1;
}
.offcourt-content { position: relative; z-index: 1; max-width: 600px; }
.offcourt-eyebrow { color: var(--ob-gold); margin-bottom: 14px; }

/* ============================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--ob-border); padding: clamp(48px, 7vw, 80px) 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; margin-bottom: 44px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a, .footer-col-label {
  font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ob-muted); transition: color var(--t-fast) ease;
}
.footer-links a:hover { color: var(--ob-bone); }
.footer-col-label { color: var(--ob-faint); margin-bottom: 4px; }
.wear-brand { color: var(--ob-ember-text) !important; }
.wear-brand:hover { color: var(--ob-ember-bright) !important; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px;
  padding-top: 28px; border-top: 1px solid var(--ob-border);
  font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ob-faint);
}

/* ============================================================================
   Image bands (real, dark-graded photography)
   ========================================================================== */
.image-band { position: relative; overflow: hidden; }
.image-band img {
  width: 100%; height: clamp(280px, 46vw, 560px); object-fit: cover;
  filter: grayscale(0.25) contrast(1.05) brightness(0.62) sepia(0.18) hue-rotate(-8deg);
}
.image-band::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--ob-void) 2%, transparent 45%),
              linear-gradient(to bottom, color-mix(in oklch, var(--ob-void) 55%, transparent), transparent 40%);
}
.image-band .band-caption {
  position: absolute; left: var(--pad-inline); bottom: clamp(20px, 4vw, 40px); z-index: 1;
  max-width: 640px;
}

/* ============================================================================
   Motion — entrances & reveals
   ========================================================================== */
@keyframes ob-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes ob-sway {
  0%, 100% { transform: rotate(-0.6deg) translateY(0); }
  50%      { transform: rotate(0.6deg) translateY(-1px); }
}

/* hero load choreography — pure CSS, content visible after, safe for no-JS */
.hero-anim > * { animation: ob-rise var(--t-slower) var(--ease-expo) both; }
.hero-anim > :nth-child(1) { animation-delay: 0.05s; }
.hero-anim > :nth-child(2) { animation-delay: 0.14s; }
.hero-anim > :nth-child(3) { animation-delay: 0.23s; }
.hero-anim > :nth-child(4) { animation-delay: 0.32s; }
.hero-anim > :nth-child(5) { animation-delay: 0.41s; }

.nav-logo .logo-main { transform-origin: 8% 60%; }
.reveal-ready .nav-logo:hover .logo-main { animation: ob-sway 2.8s var(--ease-quint) infinite; }

/* scroll reveals — only armed when JS adds .reveal-ready to <body> */
.reveal-ready .reveal { opacity: 0; transform: translateY(18px); }
.reveal-ready .reveal.is-visible {
  opacity: 1; transform: none;
  transition: opacity var(--t-slow) var(--ease-expo), transform var(--t-slow) var(--ease-expo);
}

/* --- Hero: "first light" rising sun (desktop ambient, storytelling: dawn) --- */
.hero .hero-sun {
  display: none; position: absolute; z-index: 0; pointer-events: none;
  top: 12%; right: 1%;
  width: min(42vw, 540px); aspect-ratio: 1 / 1; border-radius: 50%;
  opacity: 0;
  animation: ob-sun-rise 1.9s var(--ease-expo) 0.15s forwards;
}
.hero .hero-sun::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 54%,
    var(--ob-ember) 0%,
    color-mix(in oklch, var(--ob-ember) 55%, transparent) 28%,
    color-mix(in oklch, var(--ob-ember) 14%, transparent) 50%,
    transparent 70%);
  filter: blur(3px);
  animation: ob-breathe 7s ease-in-out 2.1s infinite;
}
@media (min-width: 760px) { .hero .hero-sun { display: block; } }
@keyframes ob-sun-rise {
  from { opacity: 0; transform: translateY(70px) scale(0.92); }
  to   { opacity: 0.5; transform: translateY(0) scale(1); }
}
@keyframes ob-breathe {
  0%, 100% { transform: scale(1);     opacity: 0.82; }
  50%      { transform: scale(1.045); opacity: 1; }
}

/* --- Hero: masked line-reveal headline (entrance hierarchy) --- */
.hero-title .line-mask { display: block; overflow: hidden; padding-bottom: 0.09em; }
.hero-title .line-in { display: block; }
.hero-anim .hero-title { animation: none; }          /* lines animate, not the block */
.hero-anim .hero-title .line-in { animation: ob-line-up 0.9s var(--ease-expo) both; }
.hero-anim .hero-title .line-mask:nth-child(1) .line-in { animation-delay: 0.18s; }
.hero-anim .hero-title .line-mask:nth-child(2) .line-in { animation-delay: 0.30s; }
@keyframes ob-line-up { from { transform: translateY(105%); } to { transform: translateY(0); } }

/* ============================================================================
   Reduced motion — non-optional
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important; scroll-behavior: auto !important;
  }
  .grain { display: none; }
  .hero-anim > *, .reveal-ready .reveal { opacity: 1 !important; transform: none !important; }
  .hero-title .line-in { transform: none !important; }
  .hero .hero-sun { opacity: 0.4 !important; transform: none !important; }
  .hero .hero-sun::before { animation: none !important; }
  .pulse-dot { animation: none; box-shadow: 0 0 0 2px var(--ob-ember-glow); }
}

/* ============================================================================
   Small screens
   ========================================================================== */
@media (max-width: 620px) {
  .section-header { align-items: flex-start; }
  .hero-fact { padding-right: 20px; margin-right: 20px; }
  .filter-row .form-select { flex: 1 1 calc(50% - 5px); min-width: 0; }
}
