/* ═══════════════════════════════════════════════════════════
   FRANCISCA INSPIRES — Sacred Quiz
   styles.css

   Palette:
     Amethyst  #9B59B6 / #8E44AD / #7D3C98
     Pearl     #FDFBF7 / #F8F6F0 / #F5F2EA
     Gold      #F4D03F / #D4AF37 / #C5A028
     Rose Gold #E8C4B8
═══════════════════════════════════════════════════════════ */


/* ────────────────────────────────────────────────────────
   CUSTOM PROPERTIES
──────────────────────────────────────────────────────── */
:root {
  --am-100: #EDE4F3;
  --am-200: #D2AEE3;
  --am-400: #9B59B6;
  --am-500: #8E44AD;
  --am-600: #7D3C98;

  --pe-50:  #FDFBF7;
  --pe-100: #F8F6F0;
  --pe-200: #F5F2EA;
  --pe-300: #EDE9DF;

  --go-300: #F4D03F;
  --go-500: #D4AF37;
  --go-700: #C5A028;

  --rose:   #E8C4B8;

  --ink-900: #2C2525;
  --ink-700: #4A4340;
  --ink-500: #6B625E;
  --ink-300: #A09890;

  --ff-display: 'Cormorant Garamond', 'Garamond', Georgia, serif;
  --ff-body:    'EB Garamond', 'Garamond', Georgia, serif;

  --ease-silk: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:   cubic-bezier(0.64, 0, 0.78, 0);

  --rad-card: 20px;
  --rad-pill: 100px;
}


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

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

body {
  font-family: var(--ff-body);
  color: var(--ink-700);
  overflow-x: hidden;
  position: relative;
  line-height: 1;
  background: linear-gradient(150deg,
    var(--pe-50)   0%,
    var(--pe-100) 30%,
    #F5EDF8       62%,
    var(--pe-200) 100%
  );
  min-height: 100vh;
}

img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }


/* ────────────────────────────────────────────────────────
   BACKGROUND — sacred geometry watermark
──────────────────────────────────────────────────────── */
.bg-layer {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.star-bg {
  position: absolute;
  fill: none;
  stroke-linecap: round;
}

.star-bg--outer {
  width:  clamp(520px, 90vmin, 1100px);
  height: clamp(520px, 90vmin, 1100px);
  stroke: var(--am-500);
  stroke-width: 0.55;
  opacity: 0.055;
  animation: rotateCW 160s linear infinite;
}

.star-bg--inner {
  width:  clamp(260px, 46vmin, 540px);
  height: clamp(260px, 46vmin, 540px);
  stroke: var(--go-500);
  stroke-width: 0.8;
  opacity: 0.038;
  animation: rotateCCW 110s linear infinite;
}

@keyframes rotateCW  { to { transform: rotate( 360deg); } }
@keyframes rotateCCW { to { transform: rotate(-360deg); } }


/* ────────────────────────────────────────────────────────
   LAYOUT
──────────────────────────────────────────────────────── */
.container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

.page-section { position: relative; }

.page-section--hidden {
  display: none !important;
  visibility: hidden;
  opacity: 0;
}


/* ────────────────────────────────────────────────────────
   SITE HEADER
──────────────────────────────────────────────────────── */
.site-header {
  padding: 32px 0 0;
  text-align: center;
  position: relative;
  z-index: 2;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-name {
  font-family: var(--ff-display);
  font-size: clamp(0.8rem, 1.8vw, 0.95rem);
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--am-600);
}

.brand-accent {
  color: var(--go-500);
  font-size: 0.65rem;
  opacity: 0.85;
}


/* ════════════════════════════════════════════════════════
   LANDING PAGE
════════════════════════════════════════════════════════ */

.landing-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 0 96px;
}

/* Hero Star */
.hero-star {
  width: 110px;
  height: 110px;
  margin-bottom: 50px;
  flex-shrink: 0;
  opacity: 0;
  animation: fadeUpIn 1s var(--ease-silk) 0.05s forwards;
}

.hero-star svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hs-halo {
  fill: none;
  transform-box: fill-box;
  transform-origin: center;
}
.hs-halo--outer {
  stroke: var(--am-200);
  stroke-width: 0.6;
  opacity: 0.45;
  animation: haloPulse 6s ease-in-out infinite;
}
.hs-halo--inner {
  stroke: var(--am-200);
  stroke-width: 0.45;
  opacity: 0.3;
  animation: haloPulse 6s ease-in-out 1s infinite;
}

@keyframes haloPulse {
  0%, 100% { opacity: 0.35; transform: scale(1);    }
  50%       { opacity: 0.6;  transform: scale(1.04); }
}

.hs-star {
  fill: none;
  stroke: var(--am-500);
  stroke-width: 1.15;
  stroke-linejoin: round;
  transform-box: fill-box;
  transform-origin: center;
  animation: starRadiance 5s ease-in-out infinite;
}

@keyframes starRadiance {
  0%, 100% {
    stroke: var(--am-500);
    filter: drop-shadow(0 0 5px rgba(142,68,173,0.22));
  }
  50% {
    stroke: var(--am-400);
    filter: drop-shadow(0 0 18px rgba(212,175,55,0.5))
            drop-shadow(0 0 6px rgba(142,68,173,0.35));
  }
}

.hs-jewel {
  fill: var(--go-500);
  transform-box: fill-box;
  transform-origin: center;
  animation: jewelPulse 5s ease-in-out infinite;
}
@keyframes jewelPulse {
  0%, 100% { opacity: 0.65; transform: scale(1);    }
  50%       { opacity: 1;    transform: scale(1.35); }
}

.hs-axis {
  stroke: var(--am-200);
  stroke-width: 0.5;
  opacity: 0.5;
}

/* Headline group */
.headline-group { margin-bottom: 48px; }

.eyebrow {
  font-family: var(--ff-display);
  font-size: clamp(0.7rem, 1.6vw, 0.85rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--go-700);
  margin-bottom: 20px;
  opacity: 0.9;
}

.headline-main {
  font-family: var(--ff-display);
  font-size: clamp(3rem, 7.5vw, 5rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--am-600) 0%, var(--am-400) 45%, var(--am-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.headline-sub {
  font-family: var(--ff-display);
  font-size: clamp(1.15rem, 3vw, 1.65rem);
  font-weight: 400;
  font-style: italic;
  color: var(--am-500);
  line-height: 1.45;
  margin-bottom: 24px;
}

.headline-tagline {
  font-family: var(--ff-body);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-style: italic;
  color: var(--ink-500);
  line-height: 1.8;
  max-width: 480px;
  margin: 0 auto;
}

/* Ornament divider */
.orn-divider {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 340px;
  margin-bottom: 48px;
}

.orn-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--go-500), transparent);
}

.orn-glyph {
  color: var(--go-500);
  font-size: 0.8rem;
  flex-shrink: 0;
  opacity: 0.9;
}

/* Intro card */
.intro-card {
  width: 100%;
  max-width: 680px;
  text-align: left;
  margin-bottom: 56px;
  background: rgba(253,251,247,0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(212,175,55,0.22);
  border-radius: var(--rad-card);
  padding: 48px 52px;
  box-shadow:
    0 1px 0 rgba(212,175,55,0.18) inset,
    0 8px 64px rgba(142,68,173,0.08),
    0 2px 12px rgba(0,0,0,0.05);
  position: relative;
}

.intro-card::before {
  content: '';
  position: absolute;
  left: 0; top: 32px; bottom: 32px;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--go-500), transparent);
  border-radius: 2px;
  opacity: 0.5;
}

.ic-lead {
  font-family: var(--ff-display);
  font-size: clamp(1.1rem, 2.4vw, 1.28rem);
  font-style: italic;
  font-weight: 400;
  color: var(--am-600);
  line-height: 1.9;
  margin-bottom: 32px;
}

.ic-subhead {
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--ink-700);
  line-height: 1.7;
  margin-bottom: 20px;
}

.ic-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.ic-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: var(--ink-700);
  line-height: 1.65;
}

.ic-mark {
  color: var(--go-500);
  font-size: 0.68rem;
  margin-top: 7px;
  flex-shrink: 0;
}

.ic-heart {
  font-family: var(--ff-body);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-style: italic;
  color: var(--am-500);
  line-height: 1.85;
  text-align: center;
  border-top: 1px solid rgba(212,175,55,0.22);
  padding-top: 24px;
}

/* Stats row */
.stats-row {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-bottom: 60px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.stat-num {
  font-family: var(--ff-display);
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  font-weight: 500;
  color: var(--am-500);
  line-height: 1;
}

.stat-lbl {
  font-family: var(--ff-body);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-300);
}

.stat-sep {
  font-size: 0.68rem;
  color: var(--go-500);
  opacity: 0.8;
}

/* CTA Block */
.cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 60px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;  /* works whether element is <button> or <a> */
  padding: 20px 60px;
  border-radius: var(--rad-pill);
  border: 1.5px solid transparent;
  font-family: var(--ff-display);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--go-300);
  background: var(--am-600);
  box-shadow:
    0 4px 32px rgba(125,60,152,0.30),
    0 1px 0 rgba(212,175,55,0.28) inset;
  transition:
    background   0.4s var(--ease-silk),
    border-color 0.4s var(--ease-silk),
    box-shadow   0.4s var(--ease-silk),
    transform    0.35s var(--ease-silk);
  position: relative;
  overflow: hidden;
}

.btn-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(212,175,55,0.22) 0%, transparent 68%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.btn-cta:hover {
  background: var(--am-500);
  border-color: rgba(212,175,55,0.5);
  transform: translateY(-3px) scale(1.01);
  box-shadow:
    0 12px 50px rgba(125,60,152,0.40),
    0 0 0 1px rgba(212,175,55,0.38),
    0 1px 0 rgba(212,175,55,0.35) inset;
}

.btn-cta:hover::after { opacity: 1; }
.btn-cta:active { transform: translateY(-1px) scale(1); }

.btn-cta:focus-visible {
  outline: 3px solid var(--go-500);
  outline-offset: 5px;
}

.btn-label { position: relative; z-index: 1; }

.btn-icon {
  font-size: 0.72rem;
  opacity: 0.8;
  position: relative;
  z-index: 1;
  transition: transform 0.45s var(--ease-silk), opacity 0.3s ease;
}

.btn-cta:hover .btn-icon {
  transform: rotate(90deg);
  opacity: 1;
}

.cta-note {
  font-family: var(--ff-body);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-300);
}

/* Footer mantra */
.footer-mantra {
  font-family: var(--ff-display);
  font-size: clamp(0.8rem, 1.8vw, 0.96rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--am-600);
  opacity: 0.58;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.man-dot { color: var(--go-500); opacity: 0.8; }

/* Fade-up entrance animation */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUpIn 0.9s var(--ease-silk) both;
  animation-delay: var(--d, 0s);
}

@keyframes fadeUpIn {
  to { opacity: 1; transform: translateY(0); }
}


/* ════════════════════════════════════════════════════════
   QUIZ PAGE
════════════════════════════════════════════════════════ */

.quiz-shell {
  padding: 44px 0 90px;
}


/* ── Progress Area ─────────────────────────────────────── */
.quiz-progress {
  margin-bottom: 40px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
  gap: 12px;
}

.progress-section-name {
  font-family: var(--ff-display);
  font-size: clamp(0.68rem, 1.5vw, 0.8rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--am-500);
  transition: color 0.4s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.progress-count {
  font-family: var(--ff-display);
  font-size: clamp(0.68rem, 1.5vw, 0.8rem);
  letter-spacing: 0.1em;
  color: var(--ink-300);
  flex-shrink: 0;
}

/* Bar track */
.progress-track {
  width: 100%;
  height: 3px;
  background: rgba(142,68,173,0.1);
  border-radius: 3px;
  overflow: visible;
  position: relative;
  margin-bottom: 18px;
}

.progress-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--am-500) 0%, var(--go-500) 100%);
  transition: width 0.55s var(--ease-silk);
  position: relative;
  min-width: 6px;
}

/* Glowing dot at tip of bar */
.progress-fill::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--go-500);
  box-shadow:
    0 0 10px 3px rgba(212,175,55,0.55),
    0 0 4px 1px rgba(212,175,55,0.8);
}

/* Section dots */
.section-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.s-dot {
  height: 4px;
  border-radius: 3px;
  background: rgba(142,68,173,0.15);
  transition: all 0.5s var(--ease-silk);
  width: 24px;
}

.s-dot.dot-active {
  background: var(--am-500);
  width: 40px;
  box-shadow: 0 0 8px rgba(142,68,173,0.35);
}

.s-dot.dot-done {
  background: var(--go-500);
  opacity: 0.65;
}


/* ── Question Wrapper (slides in/out) ──────────────────── */
.question-wrap {
  will-change: transform, opacity;
  position: relative;
}

/* Slide transition keyframes */
@keyframes qExitLeft {
  from { opacity: 1; transform: translateX(0)    scale(1);    }
  to   { opacity: 0; transform: translateX(-28px) scale(0.98); }
}
@keyframes qExitRight {
  from { opacity: 1; transform: translateX(0)   scale(1);    }
  to   { opacity: 0; transform: translateX(28px) scale(0.98); }
}
@keyframes qEnterRight {
  from { opacity: 0; transform: translateX(28px)  scale(0.98); }
  to   { opacity: 1; transform: translateX(0)     scale(1);    }
}
@keyframes qEnterLeft {
  from { opacity: 0; transform: translateX(-28px) scale(0.98); }
  to   { opacity: 1; transform: translateX(0)     scale(1);    }
}

.q-exit-fwd  { animation: qExitLeft   0.26s ease-in               forwards; }
.q-exit-back { animation: qExitRight  0.26s ease-in               forwards; }
.q-enter-fwd { animation: qEnterRight 0.38s var(--ease-silk) both forwards; }
.q-enter-back{ animation: qEnterLeft  0.38s var(--ease-silk) both forwards; }


/* ── Question Card ─────────────────────────────────────── */
.question-card {
  background: rgba(253,251,247,0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: var(--rad-card);
  padding: 52px 56px;
  margin-bottom: 24px;
  box-shadow:
    0 1px 0 rgba(212,175,55,0.16) inset,
    0 8px 60px rgba(142,68,173,0.09),
    0 2px 12px rgba(0,0,0,0.05);
}

/* Section badge inside card */
.q-section-badge {
  font-family: var(--ff-display);
  font-size: 0.74rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--go-700);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.9;
}

/* Question text */
.q-text {
  font-family: var(--ff-display);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 500;
  color: var(--am-600);
  line-height: 1.45;
  margin-bottom: 36px;
  letter-spacing: 0.01em;
}

/* Thin gold rule below question */
.q-rule {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, var(--go-500), transparent);
  margin-bottom: 30px;
  border: none;
}


/* ── Answer Options ────────────────────────────────────── */
.answers-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.answer-btn {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
  border: 1.5px solid rgba(142,68,173,0.16);
  border-radius: 14px;
  background: rgba(253,251,247,0.55);
  transition:
    background     0.25s ease,
    border-color   0.25s ease,
    box-shadow     0.25s ease,
    transform      0.22s var(--ease-silk);
  overflow: hidden;
  position: relative;
}

/* Left accent bar — grows on hover/select */
.answer-btn::before {
  content: '';
  display: block;
  width: 4px;
  min-width: 4px;
  align-self: stretch;
  background: rgba(142,68,173,0.15);
  transition: background 0.25s ease, width 0.25s var(--ease-silk);
  flex-shrink: 0;
}

/* Inner text wrapper */
.answer-text {
  flex: 1;
  padding: 17px 20px 17px 18px;
  font-family: var(--ff-body);
  font-size: clamp(0.95rem, 2vw, 1.06rem);
  color: var(--ink-700);
  line-height: 1.65;
  transition: color 0.25s ease;
}

/* Checkmark on right */
.answer-check {
  padding-right: 20px;
  color: var(--go-500);
  font-size: 0.75rem;
  opacity: 0;
  transform: scale(0.4) rotate(-90deg);
  transition:
    opacity   0.3s ease,
    transform 0.4s var(--ease-silk);
  flex-shrink: 0;
}

/* ── Hover state ── */
.answer-btn:not(.selected):not(:disabled):hover {
  background: rgba(237,228,243,0.55);
  border-color: rgba(142,68,173,0.35);
  transform: translateX(4px);
  box-shadow: 0 2px 18px rgba(142,68,173,0.09);
}

.answer-btn:not(.selected):not(:disabled):hover::before {
  background: var(--am-400);
  width: 5px;
}

/* ── Selected state ── */
.answer-btn.selected {
  background: rgba(237,228,243,0.72);
  border-color: var(--am-500);
  transform: translateX(4px);
  box-shadow:
    0 0 0 3px rgba(212,175,55,0.18),
    0 4px 28px rgba(142,68,173,0.16);
  animation: answerSelect 0.5s ease-out;
}

@keyframes answerSelect {
  0%   { box-shadow: 0 0 0 0 rgba(212,175,55,0.45); }
  40%  { box-shadow: 0 0 0 10px rgba(212,175,55,0); }
  100% { box-shadow: 0 0 0 3px rgba(212,175,55,0.18), 0 4px 28px rgba(142,68,173,0.16); }
}

.answer-btn.selected::before {
  background: var(--am-500);
  width: 5px;
}

.answer-btn.selected .answer-text {
  color: var(--am-600);
  font-style: italic;
}

.answer-btn.selected .answer-check {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* Focus ring */
.answer-btn:focus-visible {
  outline: 3px solid var(--go-500);
  outline-offset: 3px;
}

/* Disabled (during animation) */
.answer-btn.frozen {
  pointer-events: none;
}


/* ── Back Button ───────────────────────────────────────── */
.quiz-nav {
  min-height: 40px;
  display: flex;
  align-items: center;
}

.btn-back {
  font-family: var(--ff-display);
  font-size: clamp(0.78rem, 1.6vw, 0.88rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-300);
  background: transparent;
  border: none;
  padding: 8px 4px;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color 0.3s ease, gap 0.3s var(--ease-silk);
}

.btn-back:hover {
  color: var(--am-500);
  gap: 4px;
}

.btn-back-arrow {
  transition: transform 0.3s var(--ease-silk);
}

.btn-back:hover .btn-back-arrow {
  transform: translateX(-3px);
}

.btn-back[hidden] { display: none; }


/* ── Section Intro Card ────────────────────────────────── */
.section-intro-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 72px 48px;
  background: rgba(253,251,247,0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: var(--rad-card);
  margin-bottom: 24px;
  box-shadow:
    0 1px 0 rgba(212,175,55,0.16) inset,
    0 8px 60px rgba(142,68,173,0.09);
  animation: sectionIntroAnim 0.55s var(--ease-silk) forwards;
}

@keyframes sectionIntroAnim {
  from { opacity: 0; transform: scale(0.96) translateY(12px); }
  to   { opacity: 1; transform: scale(1)    translateY(0);    }
}

.si-number {
  font-family: var(--ff-display);
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--go-700);
  margin-bottom: 20px;
}

.si-star {
  font-size: 1.3rem;
  color: var(--am-400);
  margin-bottom: 20px;
  display: block;
  animation: starRadiance 3s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(142,68,173,0.3));
}

.si-title {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  font-weight: 500;
  color: var(--am-600);
  line-height: 1.25;
  margin-bottom: 14px;
}

.si-subtitle {
  font-family: var(--ff-body);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-style: italic;
  color: var(--ink-500);
  line-height: 1.8;
  max-width: 460px;
}

/* "Entering…" progress bar pulse */
.si-bar {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--am-400), var(--go-500));
  border-radius: 2px;
  margin-top: 32px;
  animation: siBarGrow 1.8s var(--ease-silk) forwards;
}

@keyframes siBarGrow {
  from { width: 0; opacity: 0; }
  to   { width: 60px; opacity: 1; }
}


/* ════════════════════════════════════════════════════════
   EMAIL CAPTURE PAGE
════════════════════════════════════════════════════════ */

.email-card {
  max-width: 560px;
  margin: 60px auto;
  background: rgba(253,251,247,0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212,175,55,0.22);
  border-radius: var(--rad-card);
  padding: 56px 52px;
  text-align: center;
  box-shadow:
    0 1px 0 rgba(212,175,55,0.18) inset,
    0 8px 64px rgba(142,68,173,0.08);
}

.email-card h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 500;
  color: var(--am-600);
  margin-bottom: 14px;
}

.email-card > p {
  font-family: var(--ff-body);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink-500);
  line-height: 1.8;
  margin-bottom: 36px;
}

.form-field {
  width: 100%;
  margin-bottom: 14px;
  text-align: left;
}

.form-field label {
  display: block;
  font-family: var(--ff-display);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--am-500);
  margin-bottom: 7px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 20px;
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--ink-700);
  background: var(--pe-50);
  border: 1.5px solid rgba(142,68,173,0.22);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--ink-300);
  font-style: italic;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--am-400);
  box-shadow: 0 0 0 3px rgba(142,68,173,0.1);
}

.form-field textarea {
  min-height: 88px;
  resize: vertical;
}


/* ════════════════════════════════════════════════════════
   RESULTS PAGE
════════════════════════════════════════════════════════ */

.results-wrap {
  max-width: 720px;
  margin: 52px auto;
  padding-bottom: 80px;
}

.archetype-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  text-align: center;
}

.archetype-label {
  font-family: var(--ff-display);
  font-size: clamp(0.72rem, 1.6vw, 0.85rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--go-700);
}

.archetype-title {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 500;
  color: var(--am-600);
  line-height: 1.15;
}

.archetype-tagline {
  font-family: var(--ff-display);
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-style: italic;
  color: var(--am-400);
}

.results-card {
  background: rgba(253,251,247,0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: var(--rad-card);
  padding: 44px 52px;
  margin-bottom: 24px;
  box-shadow:
    0 1px 0 rgba(212,175,55,0.16) inset,
    0 8px 60px rgba(142,68,173,0.08);
  font-family: var(--ff-body);
  font-size: clamp(0.98rem, 2vw, 1.08rem);
  line-height: 1.85;
  color: var(--ink-700);
}

.results-card p + p { margin-top: 18px; }

.results-card strong { color: var(--am-600); font-weight: 600; }

.results-card-title {
  font-family: var(--ff-display);
  font-size: clamp(1.2rem, 2.8vw, 1.55rem);
  font-weight: 500;
  color: var(--am-600);
  margin-bottom: 20px;
}


/* ════════════════════════════════════════════════════════
   PAGE TRANSITIONS
════════════════════════════════════════════════════════ */
.page-enter { animation: pageEnter 0.7s var(--ease-silk) forwards; }
.page-exit  { animation: pageExit  0.5s var(--ease-in)   forwards; }

@keyframes pageEnter {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0);    }
}
@keyframes pageExit {
  from { opacity: 1; transform: translateY(0);     }
  to   { opacity: 0; transform: translateY(-12px); }
}


/* ════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════ */
@media (max-width: 700px) {
  .intro-card,
  .question-card,
  .email-card,
  .results-card {
    padding: 32px 28px;
    border-radius: 16px;
  }

  .section-intro-card {
    padding: 52px 28px;
    border-radius: 16px;
  }

  .stats-row { gap: 22px; }

  .btn-cta {
    padding: 18px 40px;
    width: 100%;
    justify-content: center;
  }

  .hero-star { width: 88px; height: 88px; margin-bottom: 36px; }
  .landing-wrap { padding: 36px 0 70px; }
  .quiz-shell { padding: 36px 0 70px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .headline-main { font-size: 2.5rem; }
  .headline-sub  { font-size: 1.1rem; }
  .stats-row { gap: 14px; }
  .stat-num  { font-size: 1.7rem; }
  .progress-section-name { display: none; }  /* save space on tiny screens */
  .progress-count { margin-left: auto; }
}


/* ════════════════════════════════════════════════════════
   ACCESSIBILITY — reduced motion
════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ════════════════════════════════════════════════════════
   PRINT
════════════════════════════════════════════════════════ */
@media print {
  .bg-layer, .hero-star, .site-header, .btn-back, .quiz-nav { display: none; }
  body { background: white; }
  .question-card, .results-card, .intro-card {
    border: 1px solid #ccc;
    box-shadow: none;
    backdrop-filter: none;
  }
}
