/* ============================================================
   Amara Lune — design system (scaffold pass)
   "Candlelit, not glossy." BRAND.md palette/typography/motion.
   Mobile-first: 375px primary, comfortable to 1280px+.
   ============================================================ */

:root {
  --indigo: #1a1830;      /* deep indigo night */
  --plum: #2c2344;        /* plum shadow */
  --gold: #d4a95c;        /* candle gold */
  --parchment: #e8dcc3;   /* aged parchment */
  --moonlight: #f5efe2;   /* moonlight */
  --rose: #b06a72;        /* muted rose accent */

  --ink: var(--moonlight);
  --ink-dim: rgba(245, 239, 226, 0.72);
  --ink-faint: rgba(245, 239, 226, 0.5);
  --line: rgba(212, 169, 92, 0.35);
  --line-faint: rgba(212, 169, 92, 0.18);

  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "Source Serif 4", "Iowan Old Style", Georgia, serif;

  --measure: 34em;
  --flip-ms: 900ms;

  /* true tarot ratio ~0.58:1 (assets are 891x1536) */
  --card-ratio: 891 / 1536;
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--indigo);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.65;
  min-height: 100dvh;
}
/* soft candlelit vignette — fixed layer (background-attachment:fixed
   is a paint hazard and ignored on iOS Safari) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 120% 90% at 50% -10%, rgba(44, 35, 68, 0.9), rgba(26, 24, 48, 0) 60%),
    radial-gradient(ellipse 140% 100% at 50% 110%, rgba(16, 14, 32, 0.85), rgba(26, 24, 48, 0) 55%);
}
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: var(--gold); text-decoration-color: var(--line); text-underline-offset: 3px; }
a:hover { color: var(--parchment); }
[hidden] { display: none !important; }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--parchment);
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 6vw + 0.5rem, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw + 0.6rem, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; max-width: var(--measure); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9em;
}
.dim { color: var(--ink-dim); }
.faint { color: var(--ink-faint); font-size: 0.875rem; }
.small { font-size: 0.875rem; }

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.wrap--narrow { max-width: 38rem; }
main { padding: 2.5rem 0 4rem; }

.site-header {
  padding: 1.1rem 0 0.9rem;
  border-bottom: 1px solid var(--line-faint);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; }
.brandmark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--parchment);
  text-decoration: none;
}
.brandmark .moon { color: var(--gold); margin-right: 0.45em; }
.brandmark:hover { color: var(--gold); }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line-faint);
  padding: 2rem 0 2.75rem;
  color: var(--ink-faint);
  font-size: 0.8125rem;
  line-height: 1.7;
}
.site-footer p { max-width: none; margin-bottom: 0.6em; }
.site-footer nav { margin-bottom: 0.9em; }
.site-footer nav a { color: var(--ink-dim); margin-right: 1.1rem; }

/* ---------- ornaments ---------- */
.rule {
  display: flex; align-items: center; gap: 0.75rem;
  color: var(--gold); margin: 1.75rem 0;
}
.rule::before, .rule::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  color: var(--indigo);
  background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 2px;
  padding: 0.95rem 2rem;
  min-height: 48px;
  transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease;
}
.btn:hover { background: var(--parchment); border-color: var(--parchment); color: var(--indigo); }
.btn:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.btn--ghost {
  background: transparent; color: var(--parchment);
  border: 1px solid var(--line);
}
.btn--ghost:hover { background: rgba(212, 169, 92, 0.12); color: var(--parchment); border-color: var(--gold); }
.btn--big { width: 100%; padding: 1.1rem 2rem; font-size: 1.0625rem; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.btn-quiet {
  background: none; border: none; color: var(--ink-faint);
  font-size: 0.875rem; padding: 0.5rem 0.25rem; text-decoration: underline;
  text-decoration-color: var(--line-faint); text-underline-offset: 3px;
}
.btn-quiet:hover { color: var(--ink-dim); }

/* ---------- forms ---------- */
label { display: block; font-size: 0.9375rem; color: var(--ink-dim); margin: 1.1rem 0 0.4rem; }
input[type="text"], input[type="email"], input[type="password"], textarea, select {
  width: 100%;
  font: inherit;
  color: var(--moonlight);
  background: rgba(44, 35, 68, 0.55);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.8rem 0.9rem;
  min-height: 48px;
}
textarea { resize: vertical; min-height: 7rem; }
::placeholder { color: var(--ink-faint); opacity: 1; }
.field-error { color: var(--rose); font-size: 0.875rem; margin-top: 0.4rem; min-height: 1.2em; }
.char-counter { font-size: 0.8125rem; color: var(--ink-faint); text-align: right; margin-top: 0.35rem; }
.char-counter.is-low { color: var(--rose); }

.dob-row { display: grid; grid-template-columns: 1fr 1.6fr 1.2fr; gap: 0.6rem; }

/* ---------- panels / cards of content ---------- */
.panel {
  background: rgba(44, 35, 68, 0.4);
  border: 1px solid var(--line-faint);
  border-radius: 3px;
  padding: 1.5rem 1.25rem;
  margin: 1.5rem 0;
}
.panel--gold { border-color: var(--line); }

/* ============================================================
   FUNNEL STEPS (index)
   ============================================================ */
.step { animation: step-in 600ms ease both; }
@keyframes step-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.step-head { margin-bottom: 1.5rem; }

/* intention pools */
.pool-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem;
  margin-top: 1.75rem;
}
.pool-btn {
  background: rgba(44, 35, 68, 0.5);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1.4rem 1rem 1.2rem;
  text-align: center;
  transition: border-color 250ms ease, background-color 250ms ease, transform 250ms ease;
}
.pool-btn:hover { border-color: var(--gold); background: rgba(212, 169, 92, 0.1); }
.pool-btn .pool-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 600;
  color: var(--parchment);
  margin-bottom: 0.3rem;
}
.pool-btn .pool-desc { display: block; font-size: 0.8125rem; color: var(--ink-dim); line-height: 1.45; }
.pool-btn .pool-sigil { display: block; color: var(--gold); font-size: 1.1rem; margin-bottom: 0.55rem; }

/* sign chip */
.sign-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--parchment);
  background: rgba(212, 169, 92, 0.08);
  padding: 0.45rem 1rem;
  margin-top: 1rem;
  font-size: 0.9375rem;
  animation: step-in 500ms ease both;
}
.sign-chip .glyph { color: var(--gold); }

/* quiz */
.quiz-progress { font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem; }
.quiz-dots { display: flex; gap: 0.5rem; margin: 0.3rem 0 1.4rem; }
.quiz-dots span {
  width: 8px; height: 8px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent;
}
.quiz-dots span.is-done { background: var(--gold); border-color: var(--gold); }
.quiz-question {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 1.7rem);
  font-weight: 500; font-style: italic;
  color: var(--parchment);
  min-height: 4.2em;
  margin-bottom: 1.4rem;
}
.likert { display: grid; gap: 0.6rem; }
.likert-btn {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(44, 35, 68, 0.5);
  border: 1px solid var(--line-faint);
  border-radius: 3px;
  padding: 0.85rem 1.1rem;
  min-height: 52px;
  text-align: left;
  color: var(--ink);
  transition: border-color 200ms ease, background-color 200ms ease;
}
.likert-btn:hover { border-color: var(--gold); }
.likert-btn.is-chosen { border-color: var(--gold); background: rgba(212, 169, 92, 0.14); }
.likert-btn .likert-n { color: var(--ink-faint); font-size: 0.8125rem; }

/* ============================================================
   CARD JOURNEY
   ============================================================ */
.journey-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.round-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 2rem);
  color: var(--parchment); font-weight: 600;
  margin: 0 0 0.35rem;
}
.round-instruction { color: var(--ink-dim); max-width: var(--measure); margin-bottom: 1.6rem; }
.tap-hint { text-align: center; color: var(--ink-faint); font-size: 0.875rem; font-style: italic; margin: 1.1rem 0 0; }

.mute-toggle {
  background: none; border: 1px solid var(--line-faint); border-radius: 999px;
  color: var(--ink-dim); font-size: 0.8125rem;
  padding: 0.35rem 0.9rem; white-space: nowrap;
}
.mute-toggle:hover { border-color: var(--gold); color: var(--parchment); }

/* 3x3 grid of face-down cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  max-width: 26rem;
  margin: 0 auto;
}
.tcard {
  position: relative;
  aspect-ratio: var(--card-ratio);
  perspective: 1200px;
  background: none; border: none; padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.tcard-inner {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transition: transform var(--flip-ms) cubic-bezier(0.2, 0.7, 0.2, 1);
}
.tcard.is-flipped .tcard-inner { transform: rotateY(180deg); }
.tcard.is-dimmed { opacity: 0.32; pointer-events: none; transition: opacity 700ms ease; }
.tcard:not(.is-flipped):not(.is-dimmed):hover .tcard-inner { transform: translateY(-4px); }

.tcard-face {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(212, 169, 92, 0.5);
  box-shadow: 0 6px 18px rgba(10, 8, 22, 0.55);
}
.tcard-front { transform: rotateY(180deg); background: var(--plum); }
.tcard-face img { width: 100%; height: 100%; object-fit: cover; }

/* ornamental CSS card back — graceful fallback until art lands */
.tcard-back {
  background:
    radial-gradient(circle at 50% 38%, rgba(212, 169, 92, 0.16), transparent 42%),
    linear-gradient(160deg, #241f3d, #1a1830 70%);
  display: flex; align-items: center; justify-content: center;
}
.tcard-back::before {
  content: ""; position: absolute; inset: 6%;
  border: 1px solid rgba(212, 169, 92, 0.4);
  border-radius: 4px;
}
.tcard-back::after {
  content: ""; position: absolute; inset: 11%;
  border: 1px solid rgba(212, 169, 92, 0.22);
  border-radius: 3px;
}
.tcard-back .back-moon {
  width: 42%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(212, 169, 92, 0.55);
  position: relative;
  background: radial-gradient(circle at 38% 38%, rgba(232, 220, 195, 0.22), rgba(212, 169, 92, 0.08) 60%, transparent 75%);
}
.tcard-back .back-moon::before, .tcard-back .back-moon::after {
  content: "✦"; position: absolute; color: rgba(212, 169, 92, 0.7); font-size: 0.6rem;
}
.tcard-back .back-moon::before { top: -34%; left: 50%; transform: translateX(-50%); }
.tcard-back .back-moon::after { bottom: -34%; left: 50%; transform: translateX(-50%); }
.tcard-back img { position: absolute; inset: 0; }

/* ornamental CSS card FRONT fallback (until webp art lands) —
   used inside .tcard-front, .spread-card and .rc-figure alike */
.front-fallback {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.35rem; padding: 8%;
  background: linear-gradient(165deg, #efe5cf, #e8dcc3 55%, #dccfae);
  color: #4a3a55;
  text-align: center;
}
.front-fallback::before {
  content: ""; position: absolute; inset: 5%;
  border: 1px solid rgba(74, 58, 85, 0.45);
  border-radius: 4px;
}
.front-fallback .ff-numeral { font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.2em; color: #7a5a34; }
.front-fallback .ff-glyph { font-size: 1.6rem; color: #7a5a34; line-height: 1; }
.front-fallback .ff-name {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(0.72rem, 2.6vw, 1rem);
  text-transform: uppercase; letter-spacing: 0.12em;
  line-height: 1.25;
}
.tcard-front img, .spread-card img, .rc-figure img {
  /* no z-index here: a non-auto z-index inside the preserve-3d flip puts the img
     on its own unrotated plane and it never paints */
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}

/* reveal panel: appears after the flip, after a genuine breath */
.reveal-panel {
  max-width: 34rem; margin: 1.9rem auto 0;
  opacity: 0; transform: translateY(8px);
  transition: opacity 900ms ease, transform 900ms ease;
}
.reveal-panel.is-shown { opacity: 1; transform: none; }
.reveal-drawline { color: var(--gold); font-size: 0.9375rem; letter-spacing: 0.06em; margin-bottom: 0.25rem; }
.reveal-cardname {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.6rem, 5.5vw, 2.2rem);
  color: var(--parchment); margin: 0 0 0.8rem;
}
.reveal-body { color: var(--ink); }
.reveal-actions { margin-top: 1.4rem; }

/* final spread */
.spread-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem;
  max-width: 30rem; margin: 1.8rem auto;
}
.spread-slot { text-align: center; }
.spread-slot .spread-card {
  position: relative; aspect-ratio: var(--card-ratio);
  border-radius: 5px; overflow: hidden;
  border: 1px solid rgba(212, 169, 92, 0.5);
  box-shadow: 0 5px 14px rgba(10, 8, 22, 0.5);
  animation: step-in 800ms ease both;
}
.spread-slot:nth-child(2) .spread-card { animation-delay: 120ms; }
.spread-slot:nth-child(3) .spread-card { animation-delay: 240ms; }
.spread-slot:nth-child(4) .spread-card { animation-delay: 360ms; }
.spread-slot .pos-label {
  display: block; font-size: 0.6875rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-faint); margin-top: 0.5rem; line-height: 1.35;
}

/* interstitial overlay — honest, brief */
.interstitial {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(18, 16, 36, 0.96);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.1rem; text-align: center; padding: 2rem;
  opacity: 0; pointer-events: none; transition: opacity 500ms ease;
}
.interstitial.is-shown { opacity: 1; pointer-events: auto; }
.interstitial .glyph-pulse { font-size: 2rem; color: var(--gold); animation: pulse 2.4s ease-in-out infinite; }
.interstitial p { margin: 0; }
.interstitial .line1 { font-family: var(--font-display); font-size: 1.5rem; color: var(--parchment); }
@keyframes pulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }

/* ============================================================
   READING PAGE
   ============================================================ */
.reading-header { text-align: center; padding-top: 1rem; }
.reading-meta { color: var(--ink-dim); font-size: 0.9375rem; letter-spacing: 0.04em; }

.score-block { text-align: center; }
.score-figure {
  font-family: var(--font-display);
  font-size: clamp(4rem, 16vw, 6rem);
  font-weight: 600; color: var(--gold); line-height: 1;
}
.score-label { color: var(--ink-faint); font-size: 0.875rem; letter-spacing: 0.14em; text-transform: uppercase; }
.score-band-name { font-family: var(--font-display); font-size: 1.5rem; color: var(--parchment); margin: 0.7rem 0 0.4rem; }
.score-block p { margin-left: auto; margin-right: auto; }

.angel-figure {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 10vw, 3.6rem);
  color: var(--gold); text-align: center; line-height: 1.1; margin: 0.4rem 0;
}
.angel-arith { text-align: center; font-style: italic; color: var(--ink-dim); }

.reading-card-block { margin: 2.4rem 0; }
.reading-card-block .rc-figure {
  float: right; width: 96px; margin: 0.2rem 0 0.8rem 1rem;
  position: relative;
  aspect-ratio: var(--card-ratio); border-radius: 5px; overflow: hidden;
  border: 1px solid rgba(212, 169, 92, 0.45);
  box-shadow: 0 4px 12px rgba(10, 8, 22, 0.5);
}
.reading-card-block::after { content: ""; display: block; clear: both; }

.pitch-panel { border-color: var(--line); background: rgba(44, 35, 68, 0.55); }
.pitch-panel ul { list-style: none; padding: 0; margin: 1rem 0; }
.pitch-panel li { padding-left: 1.4rem; position: relative; margin-bottom: 0.55rem; }
.pitch-panel li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); font-size: 0.8rem; top: 0.25em; }

/* ============================================================
   ORDER / WELCOME / MEMBERS / LEGAL
   ============================================================ */
.price-line { display: flex; align-items: baseline; gap: 0.8rem; margin: 0.6rem 0 0.2rem; }
.price-big { font-family: var(--font-display); font-size: 3rem; font-weight: 600; color: var(--gold); line-height: 1; }
.faq-item { border-top: 1px solid var(--line-faint); padding: 1.1rem 0; }
.faq-item h3 { margin-bottom: 0.4em; font-size: 1.1rem; }
.faq-item p { color: var(--ink-dim); margin-bottom: 0; }
.trust-note { font-size: 0.75rem; color: var(--ink-faint); line-height: 1.6; margin-top: 2rem; }
.testmode-banner {
  background: rgba(176, 106, 114, 0.14); border: 1px solid rgba(176, 106, 114, 0.5);
  color: var(--parchment); border-radius: 3px;
  font-size: 0.8125rem; padding: 0.6rem 0.9rem; margin: 1rem 0;
}

.steps-list { list-style: none; counter-reset: st; padding: 0; margin: 1rem 0; }
.steps-list li { counter-increment: st; position: relative; padding-left: 2.4rem; margin-bottom: 0.9rem; }
.steps-list li::before {
  content: counter(st, upper-roman);
  position: absolute; left: 0; top: 0.05em;
  font-family: var(--font-display); color: var(--gold); font-size: 1.05rem;
}

.audio-player { width: 100%; margin: 1.2rem 0; }
.legal-body p { color: var(--ink-dim); }

/* ============================================================
   P3 INTEGRATION — structures the canonical copy asked for
   ============================================================ */

/* header logo (art drop-in) — if the file is missing the img removes
   itself (onerror) and the text brandmark returns */
.brandmark { display: inline-flex; align-items: center; }
.brandmark-logo { height: 34px; width: auto; display: block; }
.brandmark-logo ~ .brandmark-text { display: none; }

/* soft night texture under the vignette — pure enhancement; the
   gradient layers below still paint if the file is missing */
body::before {
  background:
    radial-gradient(ellipse 120% 90% at 50% -10%, rgba(44, 35, 68, 0.9), rgba(26, 24, 48, 0) 60%),
    radial-gradient(ellipse 140% 100% at 50% 110%, rgba(16, 14, 32, 0.85), rgba(26, 24, 48, 0) 55%),
    url("/assets/web/bg-indigo-night.webp") center / cover no-repeat;
}

/* landing: hook body + trust notes */
.hook-body p:first-child {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--parchment);
}
.trust-list { list-style: none; padding: 0; margin: 2.2rem 0 0; }
.trust-list li {
  position: relative; padding-left: 1.5rem; margin-bottom: 0.9rem;
  color: var(--ink-dim); font-size: 0.9375rem;
}
.trust-list li::before { content: "✦"; position: absolute; left: 0; top: 0.2em; color: var(--gold); font-size: 0.8rem; }
.trust-list li p { margin: 0; max-width: none; }

/* form sublines from copy */
.field-note { margin: 0.45rem 0 0; }
label + input + .field-note, .dob-row + .field-note { margin-bottom: 0.4rem; }

/* quiz intro ({name}) */
.quiz-intro { margin-bottom: 1.6rem; }
.quiz-intro p:first-child {
  font-family: var(--font-display);
  font-size: 1.3rem; color: var(--parchment);
}
.quiz-intro p { color: var(--ink-dim); }

/* journey intro: quiz outro + shuffled-deck copy */
.journey-outro { margin-bottom: 1.4rem; }
.journey-intro-body p:first-child {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 2rem); font-weight: 600;
  color: var(--parchment);
}
.round-instruction { color: var(--ink-dim); max-width: var(--measure); margin-bottom: 1.6rem; }
.round-instruction p { color: inherit; }

/* reveal beats — one at a time, ~2.5s stillness between (Death ×4, Tower ×3).
   Reduced motion renders them all at once; the generous margins remain. */
.beat {
  opacity: 0; transform: translateY(8px);
  transition: opacity 900ms ease, transform 900ms ease;
  margin-bottom: 1.5rem;
}
.beat.is-shown { opacity: 1; transform: none; }
.beat p:first-child {
  font-family: var(--font-display);
  font-size: 1.25rem; color: var(--parchment);
}
.beat:first-child p:first-child { font-size: clamp(1.5rem, 5vw, 2rem); font-weight: 600; }
.beat p { color: var(--ink); }

/* final spread summary ({sign}) */
.spread-summary { max-width: var(--measure); margin: 0 auto 1.6rem; }
.spread-summary p:first-child { color: var(--ink-dim); }
.spread-summary p:last-child {
  font-family: var(--font-display);
  font-size: 1.35rem; font-style: italic; color: var(--parchment);
}

/* ---------- reading page (copy assembly) ---------- */
.reading-greeting { padding-top: 1rem; }
.reading-greeting p:first-child {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw + 0.5rem, 3.2rem); font-weight: 600;
  color: var(--parchment); line-height: 1.1;
}
.reading-greeting p { color: var(--ink-dim); }

.score-block { text-align: left; }
.score-block h2, .angel-block h2 { text-align: center; }
/* the copy's "**{score}** out of 100." paragraph carries the figure */
.score-reveal p.score-line {
  text-align: center; margin: 1.2rem auto;
  font-size: 1.1rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-faint);
}
.score-reveal p.score-line strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4rem, 16vw, 6rem);
  font-weight: 600; color: var(--gold); line-height: 1;
  letter-spacing: 0;
}
.band-body { margin-top: 1.2rem; }
.band-body strong, .score-reveal strong { color: var(--parchment); }

.sign-block { margin-top: 2rem; }
.angel-math p { font-style: italic; color: var(--ink-dim); }
.angel-math strong { color: var(--gold); font-style: normal; }

.reading-table { margin: 1.6rem auto 2rem; }
.reading-card-block p { clear: none; }
.panel#r-synthesis em, .reading-disclaimer em { color: var(--parchment); }

.pitch-portrait {
  width: 84px; height: 84px; border-radius: 50%;
  object-fit: cover; float: right; margin: 0 0 0.8rem 1rem;
  border: 1px solid var(--line);
}
.pitch-panel::after { content: ""; display: block; clear: both; }
.cta-subline { text-align: center; }
.reading-disclaimer { margin: 2.2rem 0; }
.intent-prompt { font-size: 0.9375rem; }

/* members: first-listen ritual card */
.ritual-card { background: rgba(26, 24, 48, 0.5); }
.ritual-card p:first-child { color: var(--gold); letter-spacing: 0.06em; }
.ritual-card p { margin-bottom: 0.6em; }

/* generic copy-block niceties */
li[data-t-block] p { margin: 0 0 0.35em; max-width: none; }
.panel[data-t-block] p:last-child, div[data-t-block] p:last-child { margin-bottom: 0; }

/* ============================================================
   Desktop refinements
   ============================================================ */
@media (min-width: 900px) {
  main { padding-top: 3.5rem; }
  .pool-grid { grid-template-columns: repeat(4, 1fr); }
  .card-grid { max-width: 30rem; gap: 0.9rem; }
  .reading-card-block .rc-figure { width: 120px; }
}

/* ============================================================
   Reduced motion — instant/soft reveals, no 3D
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .tcard-inner { transition: none; }
  .reveal-panel { transition: opacity 0.01ms; }
}
