/* ============ TOKENS ============ */
:root {
  /* Brand — deep navy + sand + gold */
  --navy-1000: #05091A;
  --navy-900:  #0A1330;
  --navy-800:  #0F1A40;
  --navy-700:  #15235A;
  --navy-600:  #1C2D74;
  --navy-line: #1F2A55;

  /* Sand / paper */
  --sand-50:   #F5ECD7;
  --sand-100:  #E8DBB8;
  --sand-200:  #D9C896;

  /* Gold scale */
  --gold-100:  #FFE9A8;
  --gold-200:  #F4D27A;
  --gold-300:  #E5BC5C;
  --gold-400:  #C9A24B;
  --gold-500:  #A37E2F;
  --gold-600:  #6B4F1A;

  --rose: #E66F6F;
  --rose-glow: rgba(230, 111, 111, 0.35);

  /* Gradients */
  --grad-gold: linear-gradient(135deg, #FFE9A8 0%, #F4D27A 22%, #E5BC5C 45%, #C9A24B 65%, #8B6A1F 100%);
  --grad-gold-soft: linear-gradient(135deg, rgba(255,233,168,.18), rgba(201,162,75,.05));
  --grad-gold-line: linear-gradient(90deg, transparent, #C9A24B 25%, #FFE9A8 50%, #C9A24B 75%, transparent);
  --grad-sweep: linear-gradient(110deg, transparent 35%, rgba(255,233,168,.55) 50%, transparent 65%);

  --shadow-card: 0 10px 40px -10px rgba(0,0,0,.7), 0 1px 0 rgba(255,233,168,.05) inset;
  --shadow-gold: 0 0 0 1px rgba(201,162,75,.35), 0 10px 60px -10px rgba(201,162,75,.25);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 32px;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--navy-1000); }
body {
  font-family: var(--sans);
  color: var(--sand-50);
  background:
    radial-gradient(1200px 800px at 80% -10%, rgba(201,162,75,.10), transparent 60%),
    radial-gradient(900px 700px at 0% 110%, rgba(28,45,116,.45), transparent 60%),
    linear-gradient(180deg, #05091A 0%, #070C24 50%, #05091A 100%);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.005em;
}

button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select { font-family: inherit; }

/* ============ BACKGROUND ============ */
.bg-root {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bg-grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(rgba(201,162,75,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,162,75,.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 75%);
  opacity: .7;
}
.bg-noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.78  0 0 0 0 0.65  0 0 0 0 0.30  0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .35;
  mix-blend-mode: overlay;
}
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  will-change: transform;
}
.bg-glow-1 {
  width: 600px; height: 600px;
  left: -120px; top: -120px;
  background: radial-gradient(circle, rgba(201,162,75,.45) 0%, transparent 70%);
  animation: float-1 18s ease-in-out infinite;
}
.bg-glow-2 {
  width: 700px; height: 700px;
  right: -200px; top: 30%;
  background: radial-gradient(circle, rgba(28,45,116,.7) 0%, transparent 70%);
  animation: float-2 22s ease-in-out infinite;
}
.bg-glow-3 {
  width: 500px; height: 500px;
  left: 30%; bottom: -200px;
  background: radial-gradient(circle, rgba(229,188,92,.18) 0%, transparent 70%);
  animation: float-3 26s ease-in-out infinite;
}
@keyframes float-1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(80px, 60px); } }
@keyframes float-2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-100px, -40px); } }
@keyframes float-3 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(60px, -80px); } }

#particles {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}

/* ============ APP SHELL ============ */
.app {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 12px 32px;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: linear-gradient(180deg, rgba(5,9,26,.7), rgba(5,9,26,.35));
  border-bottom: 1px solid rgba(201,162,75,.12);
}
.topbar.minimal { background: transparent; border-bottom-color: transparent; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(229,140,80,.35)) drop-shadow(0 0 16px rgba(229,140,80,.2));
  display: block;
  flex-shrink: 0;
}
.brand-text {
  font-family: var(--serif);
  letter-spacing: .25em;
  font-size: 14px;
  font-weight: 500;
  color: var(--sand-100);
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.brand-text em {
  font-style: normal;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.topbar-meta {
  display: flex; align-items: center; gap: 24px;
  font-size: 13px;
  color: rgba(245,236,215,.7);
}
.topbar-meta .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-300);
  box-shadow: 0 0 12px var(--gold-300);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: .5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* ============ TYPE ============ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-200);
  font-weight: 500;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--grad-gold-line);
}

.h-display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 3.8vw, 56px);
  line-height: 1.0;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
.h-display em {
  font-style: italic;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}
.h-display em::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-sweep);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sweep 4s linear infinite;
}
@keyframes sweep {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.h-question {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.1;
  margin: 0 0 32px;
  text-wrap: pretty;
  letter-spacing: -0.005em;
}

.lead {
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1.45;
  color: rgba(245,236,215,.78);
  text-wrap: pretty;
  margin: 0;
}

.gold-text {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: .02em;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, filter .3s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-primary {
  color: #1A1106;
  background: var(--grad-gold);
  box-shadow: 0 12px 40px -10px rgba(201,162,75,.7), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--grad-sweep);
  transform: translateX(-100%);
  transition: transform .9s cubic-bezier(.4,.1,.4,1);
  z-index: -1;
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  color: var(--sand-100);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,162,75,.25);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: rgba(201,162,75,.55); background: rgba(255,255,255,.06); }

.btn-arrow {
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-arrow svg { transition: transform .25s ease; }
.btn:hover .btn-arrow svg, .btn .btn-arrow:hover svg { transform: translateX(4px); }

.btn-back {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: rgba(245,236,215,.6);
  border: 1px solid rgba(201,162,75,.15);
  background: rgba(255,255,255,.02);
}
.btn-back:hover { color: var(--sand-100); border-color: rgba(201,162,75,.4); }

/* ============ LANDING ============ */
.landing {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
  padding: 12px 0 20px;
  min-height: calc(100vh - 80px);
  max-height: calc(100vh - 80px);
}
.landing-copy { display: flex; flex-direction: column; gap: 14px; }
.landing-bullets {
  display: grid;
  gap: 8px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}
.landing-bullets li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(245,236,215,.85);
}
.landing-bullets li b {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}
.landing-bullets .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 500;
  margin-top: -2px;
}

.landing-cta {
  display: flex; align-items: center; gap: 20px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.live-counter {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px;
  color: rgba(245,236,215,.6);
}
.live-counter strong {
  color: var(--sand-50);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}
.live-counter .live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-300);
  box-shadow: 0 0 12px var(--gold-200);
  animation: pulse 1.6s ease-in-out infinite;
}

.landing-meta {
  display: flex; gap: 20px; flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid rgba(201,162,75,.12);
  margin-top: 2px;
}
.landing-meta-item {
  display: flex; flex-direction: column; gap: 2px;
}
.landing-meta-item span {
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(245,236,215,.5);
}
.landing-meta-item b {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--sand-100);
}

/* hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-height: calc(100vh - 140px);
  width: 100%;
  display: grid; place-items: center;
  margin-left: auto;
}
.hero-video-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  border-radius: 50%;
  overflow: hidden;
  isolation: isolate;
  display: block;
}
.hero-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-video-mount {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 55%, transparent 78%);
  mask-image: radial-gradient(circle at 50% 50%, #000 55%, transparent 78%);
  filter: brightness(1) contrast(1.05) saturate(1.05);
  opacity: .95;
}
.hero-video-glow {
  position: absolute; inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(229,188,92,.18) 0%, rgba(229,188,92,.05) 38%, transparent 65%),
    radial-gradient(circle at 30% 30%, rgba(28,45,116,.4), transparent 55%);
  pointer-events: none;
}
.hero-frame {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.hero-play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 76px; height: 76px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad-gold);
  color: #1A1106;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 40px -8px rgba(201,162,75,.7), 0 0 0 1px rgba(255,233,168,.5) inset;
  z-index: 5;
  animation: pulse-play 2s ease-in-out infinite;
}
.hero-play svg { width: 32px; height: 32px; margin-left: 4px; }
@keyframes pulse-play {
  0%, 100% { box-shadow: 0 12px 40px -8px rgba(201,162,75,.7), 0 0 0 0 rgba(229,188,92,.6); }
  50% { box-shadow: 0 12px 40px -8px rgba(201,162,75,.7), 0 0 0 14px rgba(229,188,92,0); }
}
.hero-visual svg { width: 100%; height: 100%; }

/* ============ QUIZ ============ */
.quiz {
  display: flex;
  flex-direction: column;
  padding: 24px 0 80px;
  flex: 1;
  min-height: calc(100vh - 80px);
}
.progress-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 48px;
}
.progress-label {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(245,236,215,.55);
  font-variant-numeric: tabular-nums;
}
.progress-track {
  height: 2px;
  background: rgba(201,162,75,.15);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.progress-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--grad-gold);
  border-radius: 2px;
  transition: width .6s cubic-bezier(.4,.1,.2,1);
  box-shadow: 0 0 20px rgba(229,188,92,.5);
}
.progress-fill::after {
  content: '';
  position: absolute; right: -3px; top: 50%;
  width: 8px; height: 8px;
  margin-top: -4px;
  background: var(--gold-100);
  border-radius: 50%;
  box-shadow: 0 0 16px var(--gold-200);
}
.progress-block {
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  color: var(--gold-200);
  letter-spacing: .03em;
}

.quiz-stage {
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
  display: flex; flex-direction: column;
  flex: 1;
}
.quiz-eyebrow { margin-bottom: 24px; }

/* answers */
.answers { display: flex; flex-direction: column; gap: 12px; }
.answer {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px 28px;
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01));
  border: 1px solid rgba(201,162,75,.12);
  text-align: left;
  font-size: 17px;
  line-height: 1.4;
  color: var(--sand-50);
  transition: all .25s cubic-bezier(.4,.1,.2,1);
  overflow: hidden;
}
.answer::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--grad-gold-soft);
  opacity: 0;
  transition: opacity .3s;
  z-index: 0;
}
.answer > * { position: relative; z-index: 1; }
.answer:hover {
  border-color: rgba(201,162,75,.4);
  transform: translateX(4px);
}
.answer:hover::before { opacity: 1; }
.answer .marker {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(201,162,75,.3);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--gold-200);
  background: rgba(5,9,26,.6);
  transition: all .3s;
}
.answer:hover .marker {
  background: var(--grad-gold);
  color: #1A1106;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(229,188,92,.4);
}
.answer .points {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: rgba(245,236,215,.4);
  white-space: nowrap;
}
.answer.selected {
  border-color: rgba(229,188,92,.6);
  background: linear-gradient(180deg, rgba(229,188,92,.10), rgba(201,162,75,.04));
  box-shadow: var(--shadow-gold);
}
.answer.selected::before { opacity: 1; }
.answer.selected .marker {
  background: var(--grad-gold);
  color: #1A1106;
  border-color: transparent;
}

/* dropdown answers */
.dropdown-wrap {
  position: relative;
  margin-top: 8px;
}
.dropdown {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  padding: 24px 56px 24px 28px;
  font-size: 20px;
  font-family: var(--sans);
  font-weight: 500;
  color: var(--sand-50);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid rgba(201,162,75,.25);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color .25s, box-shadow .25s;
}
.dropdown:focus { outline: none; border-color: var(--gold-300); box-shadow: var(--shadow-gold); }
.dropdown option { background: var(--navy-900); color: var(--sand-50); padding: 8px; }
.dropdown-arrow {
  position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px;
  pointer-events: none;
  color: var(--gold-300);
}
.dropdown-helper {
  margin-top: 18px;
  display: flex; gap: 12px; align-items: center;
  font-size: 13px;
  color: rgba(245,236,215,.5);
  font-style: italic;
  font-family: var(--serif);
  font-size: 15px;
}
.dropdown-helper b {
  font-family: var(--sans);
  font-style: normal;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
  font-size: 14px;
}

/* nav */
.quiz-nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 40px;
  gap: 16px;
}

/* ============ INTRO ============ */
.intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 780px;
  margin: 0 auto;
  padding: 80px 0 100px;
  flex: 1;
  min-height: calc(100vh - 80px);
}
.intro h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.15;
  font-weight: 400;
  margin: 28px 0 36px;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.intro h2 em {
  font-style: italic;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.intro p { font-size: 18px; line-height: 1.55; color: rgba(245,236,215,.75); margin: 0 0 36px; max-width: 600px; }
.intro-marker {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(201,162,75,.3);
  background: rgba(255,255,255,.025);
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--gold-200);
}

/* ============ LOADING ============ */
.loading {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  flex: 1;
  min-height: calc(100vh - 80px);
  padding: 60px 24px;
  gap: 48px;
  text-align: center;
}
.loader-orb {
  position: relative;
  width: 200px; height: 200px;
}
.loader-orb svg { width: 100%; height: 100%; }
.loader-orb .core {
  position: absolute; inset: 30%;
  border-radius: 50%;
  background: var(--grad-gold);
  filter: blur(20px);
  opacity: .8;
  animation: orb-pulse 2s ease-in-out infinite;
}
@keyframes orb-pulse {
  0%,100% { transform: scale(.85); opacity: .5; }
  50% { transform: scale(1.1); opacity: .9; }
}
.loading-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 3.5vw, 32px);
  color: var(--sand-100);
  min-height: 48px;
  letter-spacing: .01em;
}

/* ============ RESULT ============ */
.result {
  padding: 48px 0 100px;
  display: flex; flex-direction: column; gap: 80px;
}
.result-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  align-items: center;
}
.gauge {
  position: relative;
  width: 320px; height: 320px;
}
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
}
.gauge-center .pct {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 92px;
  line-height: 1;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.gauge-center .pct sup { font-size: 36px; vertical-align: super; opacity: .8; }
.gauge-center .label {
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
  color: rgba(245,236,215,.5);
  margin-top: 8px;
}

.result-title {
  display: flex; flex-direction: column; gap: 20px;
}
.result-title .level-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(201,162,75,.35);
  background: rgba(229,188,92,.06);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-200);
  width: fit-content;
}
.result-title .level-badge .pin {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-200);
  box-shadow: 0 0 10px var(--gold-200);
}
.result-title h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.result-title h1 em {
  font-style: italic;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.result-title p { font-size: 17px; line-height: 1.55; color: rgba(245,236,215,.78); margin: 0; max-width: 560px; text-wrap: pretty; }

/* loss block */
.loss-block {
  position: relative;
  padding: 72px 56px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(circle at 80% 20%, rgba(229,188,92,.18), transparent 60%),
    linear-gradient(180deg, rgba(28,45,116,.35), rgba(15,26,64,.6));
  border: 1px solid rgba(201,162,75,.25);
  overflow: hidden;
  isolation: isolate;
}
.loss-block::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--grad-sweep);
  background-size: 200% 100%;
  animation: sweep-bg 8s linear infinite;
  opacity: .35;
  z-index: -1;
}
@keyframes sweep-bg { 0% { background-position: 0 0; } 100% { background-position: 200% 0; } }

.loss-block .eyebrow { color: var(--gold-200); margin-bottom: 20px; }
.loss-figure {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 9vw, 132px);
  line-height: 1;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.025em;
  margin: 0 0 8px;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 60px rgba(229,188,92,.35);
}
.loss-suffix {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 28px);
  color: rgba(245,236,215,.65);
  margin-bottom: 48px;
}
.loss-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  list-style: none; padding: 0; margin: 0;
}
.loss-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 24px;
  align-items: start;
  padding: 24px 0;
  border-top: 1px solid rgba(201,162,75,.15);
}
.loss-item:first-child { border-top: 1px solid rgba(201,162,75,.25); }
.loss-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(229,188,92,.08);
  border: 1px solid rgba(201,162,75,.25);
  color: var(--gold-200);
}
.loss-text h4 {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--sand-50);
}
.loss-text p {
  font-size: 14px; line-height: 1.5;
  color: rgba(245,236,215,.6);
  margin: 0;
  max-width: 540px;
}
.loss-amount {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* zones */
.zones-section { display: flex; flex-direction: column; gap: 28px; }
.section-head { display: flex; flex-direction: column; gap: 8px; max-width: 700px; }
.section-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}
.section-head h2 em {
  font-style: italic;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-head p { font-size: 15px; color: rgba(245,236,215,.65); margin: 0; line-height: 1.5; }

.zones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.zone-card {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  border: 1px solid rgba(201,162,75,.15);
  display: flex; flex-direction: column; gap: 18px;
  overflow: hidden;
  transition: transform .35s, border-color .35s;
}
.zone-card:hover { transform: translateY(-4px); border-color: rgba(201,162,75,.4); }
.zone-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--grad-gold-line);
  opacity: .6;
}
.zone-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--gold-200);
  letter-spacing: .04em;
}
.zone-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.15;
  margin: 0;
  color: var(--sand-50);
  letter-spacing: -0.005em;
}
.zone-meter {
  display: flex; align-items: baseline; gap: 12px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: rgba(245,236,215,.55);
}
.zone-meter b {
  font-style: normal;
  font-family: var(--sans);
  font-size: 32px;
  font-weight: 300;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.zone-bars {
  display: flex; gap: 6px;
  margin: 4px 0 8px;
}
.zone-bar {
  flex: 1; height: 4px;
  border-radius: 2px;
  background: rgba(201,162,75,.12);
  transition: background .4s;
}
.zone-bar.on { background: var(--grad-gold); box-shadow: 0 0 8px rgba(229,188,92,.5); }
.zone-card p { font-size: 14px; line-height: 1.55; color: rgba(245,236,215,.7); margin: 0; }

/* CTA / bridge */
.bridge {
  position: relative;
  padding: 60px 56px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(800px 400px at 0% 0%, rgba(28,45,116,.55), transparent 60%),
    radial-gradient(700px 500px at 100% 100%, rgba(201,162,75,.18), transparent 60%),
    linear-gradient(180deg, rgba(15,26,64,.6), rgba(10,19,48,.8));
  border: 1px solid rgba(201,162,75,.2);
  overflow: hidden;
}
.bridge-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
.bridge h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.bridge h2 em {
  font-style: italic;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bridge .lead-bridge { font-size: 16px; color: rgba(245,236,215,.75); margin: 0 0 28px; line-height: 1.5; max-width: 480px; }
.bridge-list { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 14px; }
.bridge-list li {
  display: grid; grid-template-columns: 24px 1fr; gap: 14px;
  align-items: start;
  font-size: 15px; line-height: 1.45; color: rgba(245,236,215,.85);
}
.bridge-list .check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--grad-gold);
  display: grid; place-items: center;
  color: #1A1106;
  margin-top: 1px;
  flex-shrink: 0;
}
.bridge-list .check svg { width: 12px; height: 12px; }

.event-card {
  padding: 32px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid rgba(201,162,75,.25);
  display: flex; flex-direction: column; gap: 20px;
}
.event-date {
  display: flex; align-items: flex-end; gap: 16px;
  border-bottom: 1px solid rgba(201,162,75,.15);
  padding-bottom: 20px;
}
.event-date .day {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 88px;
  line-height: .85;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.03em;
}
.event-date .month {
  display: flex; flex-direction: column; gap: 4px;
  padding-bottom: 8px;
}
.event-date .month b {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--sand-100);
}
.event-date .month span {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(245,236,215,.5);
}
.event-time {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px;
  color: rgba(245,236,215,.85);
}
.event-time .pin {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-300);
  box-shadow: 0 0 10px var(--gold-200);
}
.event-note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: rgba(245,236,215,.55);
  line-height: 1.5;
  border-top: 1px solid rgba(201,162,75,.15);
  padding-top: 20px;
}

.share-row {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 36px;
  border-top: 1px solid rgba(201,162,75,.12);
}
.share-toast {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--gold-200);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .3s, transform .3s;
}
.share-toast.show { opacity: 1; transform: translateY(0); }

/* footer */
.foot {
  padding: 32px 0;
  border-top: 1px solid rgba(201,162,75,.1);
  font-size: 12px;
  color: rgba(245,236,215,.4);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* ============ ANIMATIONS ============ */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.fade-up { animation: fade-up .7s cubic-bezier(.2,.8,.2,1) both; }
.fade-up-delay-1 { animation: fade-up .7s cubic-bezier(.2,.8,.2,1) .08s both; }
.fade-up-delay-2 { animation: fade-up .7s cubic-bezier(.2,.8,.2,1) .16s both; }
.fade-up-delay-3 { animation: fade-up .7s cubic-bezier(.2,.8,.2,1) .24s both; }
.fade-up-delay-4 { animation: fade-up .7s cubic-bezier(.2,.8,.2,1) .32s both; }
.fade-in { animation: fade-in .5s ease both; }

.screen-enter {
  animation: screen-enter .55s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes screen-enter {
  from { opacity: 0; transform: translateY(24px) scale(.99); filter: blur(6px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .container { padding: 0 20px; }
  .topbar { padding: 14px 20px; }
  .topbar-meta { display: none; }
  .landing {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 16px 0 40px;
    min-height: auto;
    max-height: none;
  }
  .hero-visual { aspect-ratio: 1 / 1; max-width: 320px; max-height: none; margin: 0 auto; order: -1; }
  .result-hero { grid-template-columns: 1fr; gap: 40px; text-align: center; align-items: center; }
  .result-title { align-items: center; }
  .gauge { width: 260px; height: 260px; margin: 0 auto; }
  .zones-grid { grid-template-columns: 1fr; }
  .bridge-grid { grid-template-columns: 1fr; gap: 32px; }
  .bridge { padding: 40px 28px; }
  .loss-block { padding: 40px 24px; }
  .loss-item {
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
    gap: 8px 16px;
  }
  .loss-amount { grid-column: 2; font-size: 22px; }
  .answer { padding: 18px 20px; font-size: 15px; gap: 14px; grid-template-columns: 32px 1fr auto; }
  .answer .points { font-size: 12px; }
  .progress-row {
    grid-template-columns: 1fr auto;
    gap: 12px 16px;
    margin-bottom: 32px;
  }
  .progress-track { grid-column: 1 / -1; order: 2; }
  .progress-label { order: 1; }
  .progress-block { order: 3; }
  .quiz { padding: 16px 0 60px; min-height: auto; }
  .h-question { font-size: clamp(24px, 6vw, 32px); margin-bottom: 24px; }
  .intro { padding: 40px 0 60px; min-height: auto; }
  .landing-meta { gap: 20px; }
  .event-date .day { font-size: 64px; }
  .topbar { position: relative; }
}

@media (max-width: 540px) {
  .btn { padding: 16px 24px; font-size: 15px; }
  .gauge-center .pct { font-size: 72px; }
  .gauge-center .pct sup { font-size: 28px; }
  .loss-block { padding: 32px 20px; }
  .bridge { padding: 32px 20px; }
  .zone-card { padding: 24px 20px; }
  .zone-card h3 { font-size: 22px; }
  .quiz-nav { gap: 8px; }
  .quiz-nav .btn { padding: 14px 20px; font-size: 14px; }
  .brand-logo { height: 30px; }
  .brand-text { font-size: 11px; letter-spacing: .2em; }
  .landing-bullets li { grid-template-columns: 22px 1fr; gap: 12px; font-size: 15px; }
  .h-display { font-size: clamp(34px, 9vw, 48px); }
}

/* a11y */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .bg-glow, .progress-fill::after { animation: none !important; }
}
