/* ============================================================
   CULT Kids · Stars-to-Planets · Page styling (Session 1)
   ============================================================ */

.st-page {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,170,68,0.10) 0%, transparent 60%),
    var(--bg);
  min-height: 100vh;
}

.st-hero {
  padding: 56px 28px 32px;
  text-align: center;
  border-bottom: 1px solid var(--bd-soft);
}
.st-hero__label {
  font-family: 'Segoe UI', sans-serif;
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
  font-weight: 700;
}
.st-hero__h {
  font-family: Georgia, serif;
  font-size: clamp(36px, 5.6vw, 56px);
  color: var(--text);
  line-height: 1.1;
  margin: 0 0 16px;
  font-weight: 400;
}
.st-hero__h em {
  color: var(--gold);
  font-style: italic;
}
.st-hero__sub {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: clamp(15px, 2vw, 19px);
  color: var(--silver-d);
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto;
}

/* ── Star SVG container ─────────────────────────────────────── */
.st-canvas-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 16px 12px;
}
.st-canvas {
  width: 100%;
  max-width: 620px;
  aspect-ratio: 1 / 1;
  filter: drop-shadow(0 0 60px rgba(255,170,68,0.18));
}
.st-canvas svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Total fill summary below the star */
.st-summary {
  text-align: center;
  padding: 8px 16px 48px;
}
.st-summary__total {
  font-family: Georgia, serif;
  font-size: 18px;
  color: var(--silver);
  margin: 0 0 8px;
}
.st-summary__total strong {
  color: var(--gold);
  font-weight: 700;
}
.st-summary__hint {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 14px;
  color: var(--silver-d);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Facet cards grid ───────────────────────────────────────── */
.st-facets {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 28px 56px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.st-facet {
  background: #0F0703;
  border: 1px solid var(--bd-soft);
  border-left: 4px solid var(--facet-color, var(--gold));
  border-radius: 4px;
  padding: 18px 20px;
  transition: transform .2s, box-shadow .2s;
}
.st-facet:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4), 0 0 0 1px var(--facet-color);
}

.st-facet__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.st-facet__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--facet-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--facet-color);
  flex: 0 0 36px;
}
.st-facet__title {
  flex: 1;
  min-width: 0;
}
.st-facet__name {
  font-family: Georgia, serif;
  font-size: 17px;
  color: var(--text);
  margin: 0;
  font-weight: 400;
  line-height: 1.2;
}
.st-facet__level {
  font-family: 'Segoe UI', sans-serif;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--silver-d);
  font-weight: 700;
}
.st-facet__level--ember { color: #9E9E9E; }
.st-facet__level--spark { color: #E0A052; }
.st-facet__level--glow  { color: #F0B441; }
.st-facet__level--flame { color: #FF8C42; }
.st-facet__level--fire  { color: #FFAB40; text-shadow: 0 0 8px rgba(255,171,64,0.5); }

.st-facet__bar {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 12px;
}
.st-facet__bar-fill {
  height: 100%;
  border-radius: 100px;
  transition: width .4s ease;
  box-shadow: 0 0 8px currentColor;
}

.st-facet__empty {
  font-family: Georgia, serif;
  font-size: 13px;
  color: var(--silver-d);
  margin: 0;
  line-height: 1.5;
}

.st-facet__events {
  list-style: none;
  margin: 0;
  padding: 0;
}
.st-facet__events li {
  font-family: Georgia, serif;
  font-size: 13px;
  color: var(--silver);
  padding: 4px 0;
  line-height: 1.5;
  border-bottom: 1px dashed rgba(255,255,255,0.04);
}
.st-facet__events li:last-child { border-bottom: none; }

.st-facet__event-points {
  font-family: 'Segoe UI', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--facet-color);
  background: rgba(255,255,255,0.04);
  padding: 2px 6px;
  border-radius: 3px;
  margin-right: 6px;
}
.st-facet__event-date {
  color: var(--silver-d);
  font-style: italic;
  font-size: 12px;
}

/* ── Explainer section ──────────────────────────────────────── */
.st-explainer {
  max-width: 880px;
  margin: 0 auto;
  padding: 32px 28px;
  background: linear-gradient(135deg, rgba(255,170,68,0.04), transparent);
  border-top: 1px solid var(--bd-soft);
  border-bottom: 1px solid var(--bd-soft);
}
.st-explainer__h {
  font-family: Georgia, serif;
  font-size: 22px;
  color: var(--gold);
  margin: 0 0 14px;
  font-weight: 400;
}
.st-explainer__body {
  font-family: Georgia, serif;
  font-size: 15.5px;
  color: var(--text);
  line-height: 1.75;
}
.st-explainer__body p + p { margin-top: 12px; }
.st-explainer__body strong { color: var(--gold); }
.st-explainer__body em { color: var(--silver); font-style: italic; }

.st-ladder {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 18px 0 4px;
}
@media (max-width: 640px) { .st-ladder { grid-template-columns: repeat(5, 1fr); gap: 6px; } }
.st-rung {
  text-align: center;
  padding: 10px 6px;
  border: 1px solid var(--bd-soft);
  border-radius: 3px;
  background: #0F0703;
}
.st-rung__icon {
  font-size: 18px;
  margin-bottom: 4px;
}
.st-rung__name {
  font-family: 'Segoe UI', sans-serif;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
}
.st-rung--ember { color: #9E9E9E; }
.st-rung--spark { color: #E0A052; }
.st-rung--glow  { color: #F0B441; }
.st-rung--flame { color: #FF8C42; }
.st-rung--fire  { color: #FFAB40; text-shadow: 0 0 6px rgba(255,171,64,0.5); }

/* ── Ignition readiness section ─────────────────────────────── */
.st-ignition {
  max-width: 720px;
  margin: 8px auto 0;
  padding: 36px 32px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,170,68,0.18), transparent 70%),
    linear-gradient(135deg, rgba(255,102,34,0.10), #0F0703 60%);
  border: 1px solid rgba(255,170,68,0.4);
  border-radius: 6px;
  box-shadow: 0 0 60px rgba(255,170,68,0.10);
  position: relative;
  overflow: hidden;
}
.st-ignition::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg, transparent 35%, rgba(255,170,68,0.16), transparent 65%);
  pointer-events: none;
  animation: stIgnitionShimmer 4s ease-in-out infinite alternate;
}
@keyframes stIgnitionShimmer {
  from { opacity: 0.3; }
  to { opacity: 1; }
}
.st-ignition__label {
  font-family: 'Segoe UI', sans-serif;
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #FFAB40;
  margin-bottom: 16px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.st-ignition__h {
  font-family: Georgia, serif;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--text);
  line-height: 1.25;
  margin: 0 0 16px;
  font-weight: 400;
  position: relative;
  z-index: 1;
}
.st-ignition__h em {
  color: #FFAB40;
  font-style: italic;
}
.st-ignition__body {
  font-family: Georgia, serif;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--silver);
  max-width: 580px;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}
.st-ignition__cta {
  display: inline-block;
  font-family: 'Segoe UI', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #0A0400;
  background: linear-gradient(135deg, #FFE070, #FFAB40);
  padding: 16px 32px;
  border-radius: 3px;
  text-decoration: none;
  box-shadow: 0 0 30px rgba(255,170,68,0.4);
  position: relative;
  z-index: 1;
  transition: transform .15s, box-shadow .15s;
}
.st-ignition__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 40px rgba(255,170,68,0.6);
}
.st-ignition__hint {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 13px;
  color: var(--silver-d);
  margin: 18px 0 0;
  position: relative;
  z-index: 1;
}
.st-ignition__hint a {
  color: #FFAB40;
  text-decoration: none;
  border-bottom: 1px dotted #FFAB40;
}

/* ── Parent note ────────────────────────────────────────────── */
.st-parent {
  max-width: 880px;
  margin: 0 auto;
  padding: 28px;
  text-align: center;
}
.st-parent__label {
  font-family: 'Segoe UI', sans-serif;
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 700;
}
.st-parent__body {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 15px;
  color: var(--silver);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}
