/* ============================================================
   WaitWithUs.com — Main Stylesheet
   Concept 4: The Remix · Void black + Starlight gold + Cinzel
   ============================================================ */

:root {
  --void:        #050508;
  --deep-space:  #0e0e18;
  --nebula:      #1c1c30;
  --starlight:   #c9a84c;
  --pale-gold:   #e8dfc8;
  --celestial:   #f5f0e8;
  --gold-dim:    rgba(212,175,90,0.92);
  --gold-faint:  rgba(212,175,90,0.18);
  --white-dim:   rgba(228,215,233,0.72);
  --white-faint: rgba(228,215,233,0.72);
  --white-ghost: rgba(228,215,233,0.50);

  /* ── Accessible text scale (middle lavender, size-calibrated) ── */
  --text-lg:      rgba(228,215,233,0.72);   /* large italic headings 20px+ */
  --text-body:    rgba(228,215,233,0.78);   /* body paragraphs 14–15px     */
  --text-sm:      rgba(228,215,233,0.82);   /* secondary text 13px         */
  --text-xs:      rgba(228,215,233,0.84);   /* small text 12px             */
  --text-xxs:     rgba(228,215,233,0.86);   /* footer text 11px            */
  --text-tiny:    rgba(228,215,233,0.88);   /* copyright / labels 10px     */
  --text-caption: rgba(228,215,233,0.66);   /* helper text, small italics  */
  --text-hint:    rgba(228,215,233,0.40);   /* faintest labels, SVG text   */

  /* ── Gold scale ── */
  --gold-mid:     rgba(212,175,90,0.60);    /* citations, secondary gold   */
  --gold-step:    rgba(212,175,90,0.20);    /* decorative step numbers     */

  /* ── Semantic ── */
  --green-live:   rgba(76,175,120,0.88);    /* live session indicator      */
  --error-text:   rgba(255,120,100,0.85);   /* error messages              */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--void);
  color: var(--celestial);
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── Typography ──────────────────────────────────────────── */
.wordmark {
  font-family: 'Cinzel', serif;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--pale-gold);
  text-shadow: 0 0 40px rgba(212,175,90,.25);
  text-decoration: none;
}
.tagline-caps {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-dim);
}
.section-eyebrow {
  font-size: 9px;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--gold-dim);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--starlight);
  opacity: .6;
  flex-shrink: 0;
}
.gold-rule {
  width: 48px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--starlight), transparent);
  border: none;
  margin: 0;
}

/* ─── Nav ─────────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(5,5,8,.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gold-faint);
  height: 64px;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo .wordmark { font-size: 13px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  padding: 6px 14px;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-tiny);
  text-decoration: none;
  transition: color .2s;
  border-radius: 3px;
}
.nav-link:hover, .nav-link.active { color: var(--pale-gold); }

/* ─── Buttons ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 34px;
  background: linear-gradient(135deg, rgba(201,168,76,.2), rgba(201,168,76,.08));
  border: 1px solid rgba(201,168,76,.6);
  border-radius: 2px;
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--pale-gold);
  cursor: pointer;
  transition: all .3s;
  box-shadow: 0 0 28px rgba(201,168,76,.1);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary:hover {
  background: linear-gradient(135deg, rgba(201,168,76,.3), rgba(201,168,76,.15));
  box-shadow: 0 0 48px rgba(201,168,76,.22);
}
.btn-primary.btn-sm { padding: 8px 20px; font-size: 10px; }

/* ─── Nav join button states ──────────────────────────────── */
#nav-join-btn {
  opacity: 0.35;
  pointer-events: none;
  cursor: default;
}
#nav-join-btn.session-active {
  background: #c9a84c;
  border-color: #c9a84c;
  color: #050508;
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
  box-shadow: 0 0 28px rgba(201,168,76,.45);
}
#nav-join-btn.session-active:hover {
  background: #e0be6a;
  border-color: #e0be6a;
  box-shadow: 0 0 48px rgba(201,168,76,.65);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border: 1px solid rgba(228,215,233,.2);
  border-radius: 2px;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--white-faint);
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.btn-ghost:hover { border-color: rgba(228,215,233,.4); color: var(--pale-gold); }

/* ─── Forms ───────────────────────────────────────────────── */
.input-gold {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,168,76,.3);
  border-radius: 2px;
  padding: 12px 18px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: var(--celestial);
  outline: none;
  transition: border-color .2s;
  width: 100%;
}
.input-gold::placeholder { color: var(--text-tiny); }
.input-gold:focus { border-color: rgba(201,168,76,.6); }

/* ─── Signup form selects ─────────────────────────────────── */
select.signup-input {
  background-color: #1a1a2e;
  color: var(--celestial);
  border: 1px solid rgba(201,168,76,.35);
  border-radius: 2px;
  padding: 10px 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a84c' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
  outline: none;
}
select.signup-input:focus {
  border-color: rgba(201,168,76,.6);
  box-shadow: 0 0 0 2px rgba(201,168,76,.1);
}
select.signup-input option {
  background-color: #1a1a2e;
  color: var(--celestial);
  padding: 8px;
}
select.signup-input optgroup {
  background-color: #0e0e18;
  color: var(--gold-dim);
  font-style: normal;
  font-size: 10px;
  letter-spacing: .1em;
}

/* ─── Cosmic background elements ─────────────────────────── */
.star-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.star {
  position: absolute;
  background: white;
  border-radius: 50%;
}
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--gold-faint);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation: ringpulse 10s ease-in-out infinite;
}

/* ─── Panel ───────────────────────────────────────────────── */
.panel-gold {
  border: 1px solid var(--gold-faint);
  border-radius: 4px;
  background: rgba(14,14,24,.6);
  padding: 28px;
}

/* ─── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--void);
  border-top: 1px solid var(--gold-faint);
  padding-top: 48px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}
.footer-wordmark { font-size: 14px; }
.footer-col-label {
  font-size: 9px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--text-tiny);
  margin-bottom: 12px;
}
.footer-link {
  display: block;
  font-size: 13px;
  color: var(--text-sm);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color .15s;
}
.footer-link:hover { color: var(--pale-gold); }
.footer-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 8px;
}
.footer-cite {
  font-size: 10px;
  color: rgba(212,175,90,.6);
  letter-spacing: .1em;
  font-style: normal;
}
.footer-base {
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 16px 48px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: var(--text-tiny);
  letter-spacing: .08em;
}
.footer-base a { color: inherit; text-decoration: none; }

/* ─── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
  background: var(--void);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 45%,
    rgba(28,28,48,.8) 0%, var(--void) 70%);
  pointer-events: none;
}
.hero-emblem { margin-bottom: 28px; position: relative; z-index: 2; }
.hero-wordmark {
  font-family: 'Cinzel', serif;
  font-weight: 400;
  font-size: clamp(26px, 4.5vw, 54px);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--pale-gold);
  text-shadow: 0 0 60px rgba(212,175,90,.3);
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}
.hero-tagline {
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 48px;
  position: relative;
  z-index: 2;
}

/* ─── Session block ───────────────────────────────────────── */
.session-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  border: 1px solid rgba(201,168,76,.35);
  border-radius: 100px;
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-dim);
}
.pulse-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--starlight);
  box-shadow: 0 0 8px 2px rgba(201,168,76,.4);
}
.countdown-display {
  font-family: 'Cinzel', serif;
  font-size: clamp(52px, 8vw, 96px);
  letter-spacing: .12em;
  color: var(--celestial);
  line-height: 1;
  text-shadow: 0 0 80px rgba(212,175,90,.2);
}
.countdown-label {
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--text-tiny);
}
.people-waiting {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--text-body);
}
.people-waiting strong { color: var(--pale-gold); font-style: normal; font-weight: 400; }

/* ─── CTA group ───────────────────────────────────────────── */
.cta-group {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 2;
}

/* ─── Proof bar ───────────────────────────────────────────── */
.proof-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px;
  padding: 20px 32px;
  background: rgba(14,14,24,.8);
  border-top: 1px solid var(--gold-faint);
  border-bottom: 1px solid var(--gold-faint);
}
.proof-stat-num {
  font-family: 'Cinzel', serif;
  font-size: 22px;
  letter-spacing: .1em;
  color: var(--pale-gold);
  display: block;
}
.proof-stat-label {
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-tiny);
  margin-top: 3px;
}

/* ─── Content sections ────────────────────────────────────── */
.content-section {
  padding: 80px 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.content-section.narrow { max-width: 760px; }
.content-section.center { text-align: center; }
.content-section.shaded {
  max-width: 100%;
  background: rgba(14,14,24,.5);
  border-top: 1px solid var(--gold-faint);
  border-bottom: 1px solid var(--gold-faint);
  padding: 80px 24px;
}
.content-section.shaded .inner {
  max-width: 1000px;
  margin: 0 auto;
}

/* ─── Steps grid ──────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--gold-faint);
  border: 1px solid var(--gold-faint);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 40px;
}
.step-card {
  background: var(--deep-space);
  padding: 36px 28px;
  text-align: center;
}
.step-num {
  font-family: 'Cinzel', serif;
  font-size: 32px;
  color: rgba(212,175,90,.2);
  letter-spacing: .1em;
  display: block;
  margin-bottom: 14px;
}
.step-title {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 20px;
  color: var(--pale-gold);
  margin-bottom: 10px;
}
.step-body { font-size: 13px; color: var(--text-sm); line-height: 1.75; }

/* ─── Tradition rotator ───────────────────────────────────── */
.tradition-rotator { text-align: center; padding: 80px 24px; }
.tradition-quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 2.5vw, 26px);
  color: var(--celestial);
  line-height: 1.65;
  margin-bottom: 14px;
  transition: opacity .4s ease;
}
.tradition-quote-cite {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-dim);
  transition: opacity .4s ease;
}
.tradition-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}
.tradition-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,90,.5);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background .3s;
}
.tradition-dot.active { background: var(--starlight); border-color: var(--starlight); }

/* ─── Email signup ────────────────────────────────────────── */
.signup-section {
  padding: 72px 24px;
  text-align: center;
  background: rgba(14,14,24,.6);
  border-top: 1px solid var(--gold-faint);
}
.signup-form {
  display: flex;
  max-width: 420px;
  margin: 28px auto 0;
  border: 1px solid rgba(201,168,76,.35);
  border-radius: 2px;
  overflow: hidden;
}
.signup-input {
  flex: 1;
  background: rgba(255,255,255,.04);
  border: none;
  padding: 13px 18px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  color: var(--celestial);
  outline: none;
}
.signup-input::placeholder { color: var(--text-tiny); }
.signup-btn {
  padding: 13px 22px;
  background: rgba(201,168,76,.15);
  border: none;
  border-left: 1px solid rgba(201,168,76,.35);
  font-family: 'Cinzel', serif;
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--starlight);
  cursor: pointer;
  white-space: nowrap;
}
.signup-message {
  margin-top: 12px;
  font-size: 13px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--pale-gold);
  min-height: 20px;
}
.signup-message.error { color: var(--error-text); font-style: normal; font-size: 12px; }

/* ─── Duration option buttons (reminder signup) ───────────────────── */
.duration-opt {
  padding: 8px 18px;
  border-radius: 2px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: var(--text-sm);
  transition: all .2s;
}
.duration-opt.sel {
  background: rgba(201,168,76,0.12);
  border-color: rgba(201,168,76,0.5);
  color: var(--pale-gold);
}

/* ─── Page hero (non-home) ────────────────────────────────── */
.page-hero {
  position: relative;
  padding: 140px 24px 72px;
  text-align: center;
  overflow: hidden;
  background: var(--void);
}
.page-title {
  font-family: 'Cinzel', serif;
  font-weight: 400;
  font-size: clamp(24px, 4vw, 46px);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--pale-gold);
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}
.page-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 18px;
  color: var(--text-lg);
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

/* ─── About story ─────────────────────────────────────────── */
.story-body p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.95;
  margin-bottom: 22px;
}
.story-body p strong { color: var(--pale-gold); font-weight: 400; }
.story-body p em { color: var(--celestial); }

/* ─── Science cards ───────────────────────────────────────── */
.science-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--gold-faint);
  border: 1px solid var(--gold-faint);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 40px;
}
.science-card { background: var(--deep-space); padding: 28px; }
.science-card-tag { font-size: 9px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-dim); margin-bottom: 10px; }
.science-card-title { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300; font-size: 18px; color: var(--pale-gold); margin-bottom: 10px; }
.science-card-body { font-size: 12px; color: var(--text-xs); line-height: 1.75; }

/* ─── Tradition cards ─────────────────────────────────────── */
.traditions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 36px;
}
.tradition-card {
  border: 1px solid var(--gold-faint);
  border-radius: 4px;
  padding: 24px;
  background: rgba(14,14,24,.4);
}
.tc-tradition {
  font-size: 9px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tc-tradition::before { content:''; display:inline-block; width:14px; height:1px; background:var(--starlight); opacity:.5; }
.tc-quote { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300; font-size: 15px; color: var(--celestial); line-height: 1.6; margin-bottom: 6px; }
.tc-cite { font-size: 10px; color: var(--text-tiny); }

/* ─── FAQ ─────────────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--gold-faint); padding: 22px 0; }
.faq-q { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300; font-size: 17px; color: var(--pale-gold); margin-bottom: 8px; }
.faq-a { font-size: 13px; color: var(--text-sm); line-height: 1.8; }

/* ─── Donate form ─────────────────────────────────────────── */
.donate-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: start; }
.donate-form-box { background: rgba(14,14,24,.7); border: 1px solid rgba(201,168,76,.22); border-radius: 4px; padding: 32px; }
.freq-toggle { display: flex; border: 1px solid var(--gold-faint); border-radius: 2px; overflow: hidden; margin-bottom: 22px; }
.freq-opt { flex: 1; padding: 9px; text-align: center; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-tiny); cursor: pointer; border: none; background: transparent; transition: all .15s; }
.freq-opt.sel { background: rgba(201,168,76,.12); color: var(--pale-gold); }
.freq-opt:not(:last-child) { border-right: 1px solid var(--gold-faint); }
.amount-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 12px; }
.amount-btn { padding: 11px; text-align: center; border: 1px solid var(--gold-faint); border-radius: 2px; font-family: 'Cinzel', serif; font-size: 14px; color: var(--text-sm); cursor: pointer; background: transparent; transition: all .15s; }
.amount-btn.sel { border-color: rgba(201,168,76,.6); background: rgba(201,168,76,.1); color: var(--pale-gold); }
.cost-table { width: 100%; border-collapse: collapse; border: 1px solid var(--gold-faint); border-radius: 4px; overflow: hidden; margin-top: 28px; }
.cost-table th { background: rgba(201,168,76,.07); padding: 10px 18px; text-align: left; font-size: 9px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-dim); font-weight: 400; border-bottom: 1px solid var(--gold-faint); }
.cost-table td { padding: 13px 18px; font-size: 13px; color: var(--text-sm); border-bottom: 1px solid rgba(255,255,255,.04); }
.cost-table tr:last-child td { border-bottom: none; color: var(--pale-gold); font-weight: 500; }

/* ─── Session room ────────────────────────────────────────── */
.session-room {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px 40px;
  background: var(--void);
  overflow: hidden;
}
.session-room-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(28,28,48,.9) 0%, var(--void) 70%);
  pointer-events: none;
}
.timer-wrap { position: relative; width: 180px; height: 180px; margin-bottom: 16px; }
@media (max-height: 700px) {
  .timer-wrap { width: 140px; height: 140px; margin-bottom: 10px; }
  .timer-time { font-size: 24px !important; }
  .session-room { padding: 16px 24px; }
}
.timer-svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.timer-track { fill: none; stroke: rgba(255,255,255,.06); stroke-width: 2; }
.timer-progress {
  fill: none; stroke: var(--starlight); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 691;
  stroke-dashoffset: 0;
  opacity: .7;
  filter: drop-shadow(0 0 6px rgba(201,168,76,.5));
  transition: stroke-dashoffset 1s linear;
}
.timer-inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px;
}
.timer-time { font-family: 'Cinzel', serif; font-size: 38px; letter-spacing: .1em; color: var(--celestial); line-height: 1; }
.timer-sublabel { font-size: 9px; letter-spacing: .26em; text-transform: uppercase; color: var(--text-tiny); }
.session-prompt-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-weight: 300;
  font-size: clamp(18px, 2.5vw, 26px);
  color: var(--celestial); line-height: 1.65;
  min-height: 80px;
  display: flex; align-items: center; justify-content: center;
  max-width: 560px;
  transition: opacity .6s ease;
}
/* .audio-controls bar removed — replaced by collapsed pill + popover (session.php) */
/* .audio-opt and .leave-btn removed — audio-opt now lives inside popover only */

/* ─── Ended screen panel layout ──────────────────────────────────────────── */
/* Panel strip and tab styles for the ended screen are defined inline in  */
/* session.php <style> block and reuse .panel-strip / .panel-tab classes. */
/* Ended-screen-specific layout is handled by inline styles + session.php */

/* ─── Celebration overlay ─────────────────────────────────── */
.celebration-overlay {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 20;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  pointer-events: none;
  overflow: hidden;
}
.celebration-overlay.active { display: flex; }

.celebration-gold-fill {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 0% 0% at 50% 42%, rgba(212,175,90,0) 0%, transparent 100%);
  transition: background 20s linear;
  pointer-events: none;
}
.celebration-gold-fill.filling {
  background: radial-gradient(ellipse 160% 120% at 50% 42%,
    rgba(212,175,90,0.95) 0%,
    rgba(212,175,90,0.80) 15%,
    rgba(190,155,60,0.60) 35%,
    rgba(180,140,50,0.30) 60%,
    transparent 80%);
  transition: background 20s linear;
}

.celebrate-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--starlight);
  pointer-events: none;
  animation: fountainRise var(--dur, 1.8s) ease-out var(--delay, 0s) infinite;
  opacity: 0;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes fountainRise {
  0%   { opacity: 0;   transform: translate(-50%, -50%) scale(0.5); }
  10%  { opacity: 1; }
  100% { opacity: 0;   transform: translate(calc(-50% + var(--tx, 0px)), calc(-50% + var(--ty, -260px))) scale(var(--s, 0.3)); }
}

.celebration-text {
  position: relative;
  z-index: 2;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(22px, 3.5vw, 36px);
  color: #1e6fa8;
  line-height: 1.5;
  text-align: center;
  max-width: 520px;
  padding: 0 24px;
  opacity: 0;
  transition: opacity 1s ease;
  text-shadow:
    0 0 20px rgba(255,255,255,0.6),
    0 0 40px rgba(255,255,255,0.4),
    0 2px 8px rgba(255,255,255,0.5);
}
.celebration-text.visible { opacity: 1; }

/* ─── Animations ──────────────────────────────────────────── */
@keyframes twinkle {
  0%,100% { opacity: .3; transform: scale(1); }
  50%      { opacity: 1;  transform: scale(1.8); }
}
@keyframes ringpulse {
  0%,100% { opacity: .6; transform: translate(-50%,-50%) scale(.97); }
  50%      { opacity: .2; transform: translate(-50%,-50%) scale(1.03); }
}
@keyframes orbpulse {
  0%,100% { opacity: .2; transform: scale(1); }
  50%      { opacity: .8; transform: scale(1.4); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp .8s ease forwards; }
.delay-1 { animation-delay: .1s; opacity: 0; }
.delay-2 { animation-delay: .2s; opacity: 0; }
.delay-3 { animation-delay: .35s; opacity: 0; }
.delay-5 { animation-delay: .5s; opacity: 0; }

/* ─── High contrast mode ─────────────────────────────────── */
body.high-contrast {
  --text-lg:      rgba(255,255,255,0.97);
  --text-body:    rgba(255,255,255,0.97);
  --text-sm:      rgba(255,255,255,0.95);
  --text-xs:      rgba(255,255,255,0.93);
  --text-xxs:     rgba(255,255,255,0.90);
  --text-tiny:    rgba(255,255,255,0.88);
  --text-caption: rgba(255,255,255,0.88);
  --text-hint:    rgba(255,255,255,0.75);
  --gold-dim:     rgba(212,175,90,1.0);
  --gold-mid:     rgba(212,175,90,1.0);
  --gold-step:    rgba(212,175,90,0.55);
  --white-dim:    rgba(255,255,255,0.95);
  --white-faint:  rgba(255,255,255,0.90);
  --white-ghost:  rgba(255,255,255,0.80);
  --green-live:   rgba(76,175,120,1.0);
  --error-text:   rgba(255,120,100,1.0);
}

/* Boost inline gold colours that can't be reached via variables */
/* Gold labels — boost to full gold */
body.high-contrast .section-eyebrow,
body.high-contrast .tagline-caps,
body.high-contrast .footer-cite,
body.high-contrast .tradition-quote-cite,
body.high-contrast .tradition-panel-cite,
body.high-contrast .timer-sublabel,
body.high-contrast .proof-stat-num,
body.high-contrast .countdown-label,
body.high-contrast .footer-col-label,
body.high-contrast .audio-opt,
body.high-contrast .step-num {
  color: rgba(212,175,90,1.0) !important;
  opacity: 1 !important;
}

/* Nav and UI labels — boost to white, not gold */
body.high-contrast .nav-link,
body.high-contrast .nav-link.active {
  color: var(--celestial) !important;
  opacity: 1 !important;
}

/* Boost citation and attribution text */
body.high-contrast cite,
body.high-contrast .footer-quote,
body.high-contrast .tradition-quote-text,
body.high-contrast .session-prompt-text,
body.high-contrast .people-waiting {
  color: rgba(255,255,255,0.97) !important;
  opacity: 1 !important;
}

/* Session page specific boosts */
body.high-contrast .panel-tab {
  color: rgba(255,255,255,0.88) !important;
}
body.high-contrast .panel-tab.active {
  color: var(--pale-gold) !important;
}
body.high-contrast .tradition-panel-dot {
  border-color: rgba(212,175,90,1.0) !important;
}

.help-toggle {
  position: fixed;
  bottom: 64px;
  right: 64px;
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.35);
  background: rgba(5,5,8,0.85);
  backdrop-filter: blur(8px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 600;
  color: rgba(201,168,76,0.8);
  transition: border-color .2s, background .2s, opacity .2s;
}
.help-toggle:hover { opacity: 1; border-color: rgba(201,168,76,0.7); }

.contrast-toggle {
  position: fixed;
  bottom: 64px;
  right: 20px;
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.35);
  background: rgba(5,5,8,0.85);
  backdrop-filter: blur(8px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s, background .2s;
  opacity: 0.85;
}
.contrast-toggle:hover { opacity: 1; border-color: rgba(201,168,76,0.7); }
.contrast-toggle svg { width: 16px; height: 16px; }
body.high-contrast .contrast-toggle { opacity: 1; border-color: rgba(201,168,76,0.9); background: rgba(201,168,76,0.15); }
body.high-contrast .help-toggle { opacity: 1; border-color: rgba(201,168,76,0.9); color: rgba(201,168,76,1.0); }
body.high-contrast .lang-form { opacity: 1; border-color: rgba(201,168,76,0.9); }
body.high-contrast .lang-select,
body.high-contrast .lang-submit { color: var(--pale-gold); }

/* ─── Language selector ──────────────────────────────────────── */
.lang-form {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(5,5,8,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 100px;
  padding: 5px 10px;
  opacity: 0.85;
  transition: opacity .2s, border-color .2s;
}
.lang-form:hover { opacity: 1; border-color: rgba(201,168,76,0.7); }
.lang-globe { font-size: 12px; line-height: 1; }
.lang-select {
  background: transparent;
  border: none;
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--text-tiny);
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  width: 30px;
}
.lang-select option { background: #0e0e18; color: var(--celestial); }
.lang-submit {
  background: none;
  border: none;
  font-size: 11px;
  color: var(--text-tiny);
  cursor: pointer;
  padding: 0 2px;
  line-height: 1;
  transition: color .2s;
}
.lang-form:hover .lang-submit,
.lang-form:hover .lang-select { color: var(--pale-gold); }

/* ─── Coach mark / feature tour overlay ─────────────────── */
.coach-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5,5,8,0.82);
  z-index: 200;
  pointer-events: all;
}
.coach-spotlight {
  position: fixed;
  border-radius: 6px;
  box-shadow: 0 0 0 4000px rgba(5,5,8,0.82), 0 0 0 2px rgba(201,168,76,0.8);
  animation: coach-pulse 2s ease-in-out infinite;
  z-index: 201;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
}
@keyframes coach-pulse {
  0%,100% { box-shadow: 0 0 0 4000px rgba(5,5,8,0.82), 0 0 0 2px rgba(201,168,76,0.8),  0 0 16px 4px rgba(201,168,76,0.3); }
  50%      { box-shadow: 0 0 0 4000px rgba(5,5,8,0.82), 0 0 0 2px rgba(201,168,76,1.0),  0 0 28px 8px rgba(201,168,76,0.5); }
}
.coach-tooltip {
  position: fixed;
  z-index: 202;
  max-width: 260px;
  background: rgba(14,14,24,0.96);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 4px;
  padding: 16px 18px;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
}
.coach-tooltip-step {
  font-family: 'Outfit', sans-serif;
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.7);
  margin-bottom: 6px;
}
.coach-tooltip-title {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 18px;
  color: var(--celestial);
  margin-bottom: 6px;
  line-height: 1.3;
}
.coach-tooltip-body {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 12px;
  color: var(--text-sm);
  line-height: 1.65;
}
.coach-nav {
  position: fixed;
  bottom: 32px;
  left: 0;
  right: 0;
  z-index: 202;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  pointer-events: all;
}
.coach-nav-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}
.coach-nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.5);
  background: transparent;
  transition: background 0.2s;
}
.coach-nav-dot.active {
  background: var(--starlight);
  border-color: var(--starlight);
}
.coach-dismiss {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 202;
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(228,215,233,0.5);
  background: none;
  border: 1px solid rgba(228,215,233,0.15);
  border-radius: 2px;
  padding: 7px 16px;
  cursor: pointer;
  pointer-events: all;
  transition: color 0.2s, border-color 0.2s;
}
.coach-dismiss:hover { color: var(--celestial); border-color: rgba(228,215,233,0.4); }
.coach-hint {
  position: fixed;
  bottom: 72px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 202;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 12px;
  color: rgba(228,215,233,0.35);
  pointer-events: none;
}

/* ─── Scrollbar ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb { background: rgba(201,168,76,.3); border-radius: 2px; }

/* ─── Selection ───────────────────────────────────────────── */
::selection { background: rgba(201,168,76,.22); color: var(--celestial); }

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 860px) {
  .steps-grid, .science-grid { grid-template-columns: 1fr; }
  .traditions-grid { grid-template-columns: 1fr; }
  .donate-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .nav-links .nav-link { display: none; }
}
@media (max-width: 540px) {
  .proof-bar { gap: 24px; }
}
