:root {
  --bg: #12090e;
  --bg-deep: #070406;
  --bg-panel: rgba(22, 11, 18, 0.82);
  --bg-soft: rgba(39, 20, 30, 0.84);
  --line: rgba(245, 220, 203, 0.12);
  --line-strong: rgba(245, 220, 203, 0.2);
  --text: #f7ede7;
  --text-soft: #d3c0ba;
  --text-faint: #9f8b87;
  --wine: #71324d;
  --wine-bright: #b95a81;
  --rose: #f29cbf;
  --gold: #cfab72;
  --gold-soft: rgba(207, 171, 114, 0.16);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --serif: "Iowan Old Style", "Baskerville", "Palatino Linotype", serif;
  --sans: "Avenir Next", "Helvetica Neue", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(141, 57, 90, 0.26), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(207, 171, 114, 0.12), transparent 20%),
    radial-gradient(circle at 20% 80%, rgba(242, 156, 191, 0.12), transparent 18%),
    linear-gradient(180deg, #14080e 0%, #0a0508 45%, #050304 100%);
  overflow-x: hidden;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

button,
a {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
}

.ambient {
  position: fixed;
  inset: auto;
  pointer-events: none;
  filter: blur(70px);
  opacity: 0.8;
  z-index: 0;
}

.ambient--top {
  top: -6rem;
  left: -2rem;
  width: 20rem;
  height: 20rem;
  background: rgba(185, 90, 129, 0.35);
}

.ambient--side {
  right: -8rem;
  top: 18%;
  width: 22rem;
  height: 22rem;
  background: rgba(207, 171, 114, 0.18);
}

.ambient--glow {
  left: 24%;
  bottom: -8rem;
  width: 26rem;
  height: 26rem;
  background: rgba(242, 156, 191, 0.14);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 2.5rem;
}

.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.brand-lockup__seal {
  display: inline-grid;
  place-items: center;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0 0.75rem;
  border: 1px solid rgba(207, 171, 114, 0.35);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(247, 237, 231, 0.28), transparent 40%),
    linear-gradient(135deg, rgba(185, 90, 129, 0.32), rgba(207, 171, 114, 0.22));
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.brand-lockup__eyebrow,
.page-header__note {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.brand-lockup__title {
  margin: 0.25rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.page-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 0.25rem 0 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.page-footer__brand,
.page-footer__note {
  margin: 0;
}

.page-footer__brand {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--text);
}

.page-footer__note {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.page-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.page-footer__links a {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.44rem 0.68rem;
  color: var(--text-faint);
  font-size: 0.76rem;
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.page-footer__links a:hover {
  border-color: rgba(207, 171, 114, 0.38);
  background: rgba(207, 171, 114, 0.08);
  color: var(--gold);
}

.quiz-shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.08fr);
  gap: 1rem;
  align-items: stretch;
}

.mood-panel,
.quiz-panel {
  min-width: 0;
}

.mood-panel__frame,
.panel-surface {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 16%),
    linear-gradient(135deg, rgba(113, 50, 77, 0.36), rgba(18, 9, 14, 0.92) 55%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.mood-panel__frame {
  padding: 2rem;
}

.mood-panel__frame::after,
.panel-surface::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius-xl) - 1px);
  border: 1px solid rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.mood-panel__eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.mood-panel__title {
  margin: 0;
  max-width: 12ch;
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 0.95;
  font-weight: 600;
}

.mood-panel__copy {
  margin: 1rem 0 0;
  max-width: 34ch;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-soft);
}

.mood-visual {
  position: relative;
  margin-top: 2rem;
  min-height: 360px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at 25% 20%, rgba(242, 156, 191, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(8, 4, 7, 0.5), rgba(8, 4, 7, 0.15)),
    linear-gradient(135deg, rgba(23, 10, 17, 0.95), rgba(57, 20, 37, 0.82));
  isolation: isolate;
}

.mood-visual__image,
.mood-visual__shade,
.mood-visual__card,
.mood-visual__credit {
  position: absolute;
}

.mood-visual__image {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
}

.mood-visual__shade {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 2, 4, 0.02), rgba(4, 2, 4, 0.46) 48%, rgba(4, 2, 4, 0.88)),
    radial-gradient(circle at 18% 22%, rgba(242, 156, 191, 0.22), transparent 24%);
}

.mood-visual__card {
  left: 1.35rem;
  right: 1.35rem;
  bottom: 1.35rem;
  padding: 1.1rem 1.15rem 1.15rem;
  border: 1px solid rgba(207, 171, 114, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 22%),
    rgba(10, 5, 8, 0.62);
  backdrop-filter: blur(14px);
  z-index: 1;
}

.mood-visual__credit {
  left: 1.35rem;
  right: 1.35rem;
  top: 1.1rem;
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247, 237, 231, 0.72);
  z-index: 1;
}

.mood-visual__label {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.mood-visual__stat {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.05;
}

.mood-visual__caption {
  margin: 0.55rem 0 0;
  color: var(--text-soft);
  line-height: 1.5;
}

.mood-panel__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.mood-tag {
  padding: 0.62rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  font-size: 0.85rem;
}

.quiz-panel {
  display: flex;
  flex-direction: column;
}

.quiz-page .page-shell {
  width: min(760px, calc(100% - 1rem));
}

.quiz-page .quiz-shell {
  grid-template-columns: 1fr;
}

.quiz-page .mood-panel {
  display: none;
}

.quiz-panel__topbar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
}

.ghost-button {
  flex: 0 0 auto;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.ghost-button:hover {
  transform: translateY(-1px);
  border-color: rgba(207, 171, 114, 0.36);
  background: rgba(207, 171, 114, 0.08);
  color: var(--text);
}

.ghost-button[hidden] {
  display: none;
}

.progress-shell {
  flex: 1;
  min-width: 0;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.progress-shell__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 0.5rem;
  color: var(--text-soft);
  font-size: 0.84rem;
}

.progress-track {
  overflow: hidden;
  height: 0.42rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.progress-track__fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(185, 90, 129, 0.85), rgba(207, 171, 114, 0.92));
  box-shadow: 0 0 18px rgba(242, 156, 191, 0.35);
  transition: width 260ms ease;
}

.panel-surface {
  padding: clamp(1.2rem, 2vw, 2rem);
}

.step {
  position: relative;
  z-index: 1;
  animation: rise 420ms ease both;
}

.step__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1.1rem;
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.step__title {
  margin: 0;
  max-width: 14ch;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 0.97;
  font-weight: 600;
}

.step__title--wide {
  max-width: 18ch;
}

.step__accent {
  display: block;
  color: var(--rose);
}

.step__emotion {
  margin: 0 0 0.7rem;
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.step__body,
.step__paragraph,
.step__quote,
.step__meta,
.step__subheadline,
.step__microcopy,
.result-card__text,
.offer-panel__body {
  color: var(--text-soft);
}

.step__subheadline {
  max-width: 52ch;
  margin: 1rem 0 0;
  font-size: 1.02rem;
  line-height: 1.7;
}

.step__body,
.step__paragraph {
  max-width: 52ch;
  margin: 1rem 0 0;
  font-size: 1rem;
  line-height: 1.75;
}

.step__meta {
  margin: 1.35rem 0 0;
  max-width: 58ch;
  font-size: 0.94rem;
  line-height: 1.7;
}

.step__microcopy {
  margin-top: 1.25rem;
  font-size: 0.92rem;
  line-height: 1.6;
}

.step__microcopy--emphasis {
  color: var(--text);
}

.intro-teaser {
  margin: 1.15rem 0 0;
}

.intro-teaser__frame {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  border-radius: 26px;
  padding: 2px;
  background:
    linear-gradient(135deg, rgba(207, 171, 114, 0.92), rgba(185, 90, 129, 0.98));
  box-shadow:
    0 0 0 1px rgba(207, 171, 114, 0.14),
    0 0 26px rgba(185, 90, 129, 0.24);
}

.intro-teaser__frame::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(5, 3, 6, 0), rgba(5, 3, 6, 0.16) 60%, rgba(5, 3, 6, 0.62)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.16));
  pointer-events: none;
}

.intro-teaser__frame--single {
  min-height: 0;
  padding: 0;
  background:
    linear-gradient(135deg, rgba(207, 171, 114, 0.86), rgba(185, 90, 129, 0.92));
}

.intro-teaser__frame--single::after {
  display: none;
}

.intro-teaser__single-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  object-fit: cover;
}

.intro-teaser__pane {
  position: absolute;
  inset: 2px auto 2px 2px;
  width: calc(50% - 1px);
  border-radius: 24px 0 0 24px;
  background-size: cover;
  background-repeat: no-repeat;
}

.intro-teaser__pane--blur {
  inset: 2px 2px 2px auto;
  border-radius: 0 24px 24px 0;
  filter: blur(12px) saturate(0.95);
  transform: scale(1.08);
  opacity: 0.92;
}

.intro-teaser__pane--focus::after,
.intro-teaser__pane--blur::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 22%),
    rgba(18, 8, 14, 0.14);
}

.intro-teaser__arrows {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  z-index: 1;
  display: flex;
  gap: 1rem;
  transform: translateX(-50%);
}

.intro-teaser__arrow {
  position: relative;
  width: 24px;
  height: 24px;
  border-right: 3px solid #f1b340;
  border-bottom: 3px solid #f1b340;
  transform: rotate(45deg);
  filter: drop-shadow(0 0 10px rgba(241, 179, 64, 0.45));
}

.intro-teaser__arrow::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 3px;
  right: 10px;
  bottom: -1px;
  background: #f1b340;
  transform: rotate(-45deg);
  transform-origin: right center;
}

.intro-teaser__arrow--center {
  transform: rotate(45deg) translateY(6px);
}

.intro-teaser__credit {
  margin: 0.55rem 0 0;
  color: var(--text-faint);
  font-size: 0.76rem;
  line-height: 1.4;
  text-align: center;
}

.question-media {
  overflow: hidden;
  margin: 1.2rem 0 1rem;
  border: 1px solid rgba(207, 171, 114, 0.24);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow:
    0 0 0 1px rgba(207, 171, 114, 0.08),
    0 0 22px rgba(185, 90, 129, 0.18);
}

.question-media__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.question-media__credit {
  display: block;
  padding: 0.6rem 0.85rem 0.7rem;
  color: var(--text-faint);
  font-size: 0.74rem;
  line-height: 1.4;
  text-align: center;
}

.side-note,
.result-card,
.offer-panel,
.signal-chip,
.choice,
.case-card,
.comment-pill,
.warning-banner,
.editorial-quote,
.story-banner {
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 18%),
    rgba(255, 255, 255, 0.025);
}

.side-note {
  margin-top: 1.5rem;
  padding: 1.25rem;
}

.side-note--spacious {
  padding: 1.35rem;
}

.side-note__title {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.feature-list,
.offer-list,
.result-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(207, 171, 114, 0.08);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.signal-chip {
  padding: 1rem 1rem 1.05rem;
}

.signal-chip__value {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1;
  color: var(--text);
}

.signal-chip__label {
  display: block;
  margin-top: 0.5rem;
  color: var(--text-soft);
  line-height: 1.45;
  font-size: 0.9rem;
}

.choice-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.primary-button,
.choice,
.result-button,
.secondary-button {
  width: 100%;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.primary-button,
.result-button {
  padding: 1rem 1.2rem;
  border: 0;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(207, 171, 114, 0.98), rgba(185, 90, 129, 0.92));
  color: #1a0b10;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 16px 34px rgba(185, 90, 129, 0.2);
  text-decoration: none;
  text-align: center;
}

.primary-button:hover,
.result-button:hover,
.secondary-button:hover,
.choice:hover {
  transform: translateY(-2px);
}

.secondary-button {
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
  padding: 1rem 1.05rem;
  color: var(--text);
  text-align: left;
}

.choice__bullet {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(207, 171, 114, 0.16);
  border-radius: 50%;
  background: rgba(207, 171, 114, 0.05);
  color: var(--gold);
  font-size: 0.82rem;
}

.choice__text {
  min-width: 0;
  line-height: 1.55;
}

.choice__arrow {
  color: var(--text-faint);
  font-size: 1.15rem;
}

.choice.is-selected {
  border-color: rgba(207, 171, 114, 0.48);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 24%),
    linear-gradient(135deg, rgba(113, 50, 77, 0.58), rgba(27, 11, 19, 0.92));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.choice.is-selected .choice__bullet {
  border-color: rgba(207, 171, 114, 0.45);
  background: rgba(207, 171, 114, 0.18);
}

.copy-stack {
  display: grid;
  gap: 0.95rem;
  margin-top: 1.5rem;
}

.copy-stack .step__paragraph {
  margin: 0;
}

.story-banner {
  display: inline-flex;
  margin-top: 1.5rem;
  padding: 0.8rem 1rem;
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.editorial-quote {
  margin: 1rem 0 0;
  padding: 1.2rem 1.2rem 1.25rem;
  border-left: 2px solid rgba(207, 171, 114, 0.45);
  border-radius: 18px;
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.55;
}

.editorial-quote--story {
  margin-top: 1.5rem;
  color: var(--text);
}

.case-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.case-card {
  overflow: hidden;
  border: 1px solid rgba(207, 171, 114, 0.24);
  box-shadow:
    0 0 0 1px rgba(207, 171, 114, 0.1),
    0 0 24px rgba(185, 90, 129, 0.2);
}

.case-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 0.92;
  object-fit: cover;
  object-position: center top;
}

.case-card__body {
  padding: 1rem;
}

.case-card__name {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
}

.case-card__role,
.case-card__credit {
  display: block;
  margin-top: 0.55rem;
  color: var(--text-soft);
  line-height: 1.55;
}

.case-card__credit {
  font-size: 0.78rem;
  color: var(--text-faint);
}

.comment-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.1rem;
  padding: 1rem;
}

.comment-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 0.9rem;
  border-radius: 999px;
  color: var(--text-soft);
}

.inline-gallery {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.inline-gallery--duo {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.inline-gallery--trio {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.inline-photo {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 1px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(207, 171, 114, 0.92), rgba(185, 90, 129, 0.9));
  box-shadow:
    0 0 0 1px rgba(207, 171, 114, 0.12),
    0 0 28px rgba(185, 90, 129, 0.24);
}

.inline-photo__media {
  display: block;
  overflow: hidden;
  border-radius: 23px;
  background: rgba(8, 4, 7, 0.92);
}

.inline-photo__image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.inline-photo__body {
  padding: 0.9rem 0.95rem 1rem;
  border-radius: 0 0 23px 23px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 22%),
    rgba(10, 5, 8, 0.92);
}

.inline-photo__label {
  display: block;
  color: var(--gold);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.inline-photo__caption {
  margin: 0.5rem 0 0;
  color: var(--text-soft);
  line-height: 1.55;
  font-size: 0.92rem;
}

.inline-photo__credit {
  display: block;
  margin-top: 0.55rem;
  color: var(--text-faint);
  font-size: 0.75rem;
  line-height: 1.45;
}

.result-card {
  margin-top: 0.5rem;
  padding: 1.45rem;
}

.result-card--final {
  margin-top: 0;
}

.result-card__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.result-card__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.98;
}

.result-card__subtitle {
  margin: 0.95rem 0 0;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.65;
}

.result-card__text {
  margin: 0.95rem 0 0;
  line-height: 1.75;
}

.result-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.15rem;
}

.result-list li,
.offer-list li {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  line-height: 1.6;
}

.result-list strong,
.result-list span {
  display: block;
}

.result-list strong {
  margin-bottom: 0.45rem;
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.2;
}

.offer-panel {
  margin-top: 1.25rem;
  padding: 1.2rem;
}

.offer-panel__title {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.15;
}

.offer-panel__body {
  margin: 0.9rem 0 0;
  line-height: 1.7;
}

.offer-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.warning-banner {
  margin: 1.2rem 0 0;
  padding: 1rem 1rem 1.05rem;
  color: var(--text);
  line-height: 1.65;
}

.result-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.result-actions__hint {
  margin: 0;
  color: var(--text-faint);
  font-size: 0.84rem;
  line-height: 1.6;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

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

@media (max-width: 980px) {
  .page-shell {
    width: min(100%, calc(100% - 1.25rem));
  }

  .quiz-shell {
    grid-template-columns: 1fr;
  }

  .mood-panel__frame {
    min-height: auto;
  }

  .mood-panel__title {
    max-width: 16ch;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100%, calc(100% - 1rem));
    padding-top: max(0.9rem, env(safe-area-inset-top));
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom));
  }

  .page-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 0.8rem;
  }

  .brand-lockup {
    gap: 0.8rem;
  }

  .brand-lockup__title {
    font-size: clamp(1.3rem, 6vw, 1.7rem);
  }

  .page-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }

  .page-footer__links {
    justify-content: flex-start;
  }

  .mood-panel__frame,
  .panel-surface {
    border-radius: 28px;
  }

  .mood-panel__frame {
    padding: 1.4rem;
  }

  .panel-surface {
    padding: 1rem;
  }

  .quiz-panel__topbar {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .progress-shell {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 24px;
  }

  .progress-shell__meta {
    flex-wrap: wrap;
    gap: 0.45rem 0.8rem;
    font-size: 0.79rem;
  }

  .ghost-button,
  .primary-button,
  .secondary-button,
  .result-button,
  .choice {
    min-height: 3.35rem;
  }

  .mood-visual {
    min-height: 260px;
  }

  .step__title,
  .step__title--wide {
    max-width: 100%;
    font-size: clamp(1.9rem, 9vw, 2.55rem);
  }

  .step__subheadline,
  .step__body,
  .step__paragraph,
  .step__meta,
  .result-card__text,
  .offer-panel__body {
    font-size: 0.96rem;
  }

  .intro-teaser__frame,
  .inline-photo,
  .case-card,
  .result-card,
  .offer-panel,
  .warning-banner,
  .side-note,
  .editorial-quote {
    border-radius: 20px;
  }

  .signal-grid,
  .case-duo,
  .inline-gallery--duo,
  .inline-gallery--trio {
    grid-template-columns: 1fr;
  }

  .choice {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.75rem;
    padding: 0.95rem 1rem;
  }

  .choice__arrow {
    display: none;
  }

  .editorial-quote {
    font-size: 1.04rem;
  }

  .comment-stack {
    padding: 0.85rem;
  }
}

@media (max-width: 480px) {
  .page-shell {
    width: min(100%, calc(100% - 0.75rem));
    padding-top: max(0.7rem, env(safe-area-inset-top));
  }

  .brand-lockup__seal {
    min-width: 2.4rem;
    height: 2.4rem;
    padding: 0 0.65rem;
    font-size: 0.82rem;
  }

  .page-header__note,
  .page-footer__note {
    letter-spacing: 0.14em;
  }

  .ghost-button {
    width: 100%;
    justify-content: center;
  }

  .progress-shell {
    padding: 0.85rem 0.9rem;
  }

  .progress-shell__meta {
    font-size: 0.75rem;
  }

  .panel-surface,
  .mood-panel__frame {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  .step__kicker {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }

  .step__title,
  .step__title--wide {
    font-size: clamp(1.7rem, 10vw, 2.2rem);
  }

  .step__subheadline,
  .step__body,
  .step__paragraph,
  .step__meta,
  .step__microcopy,
  .signal-chip__label,
  .inline-photo__caption,
  .result-actions__hint {
    font-size: 0.92rem;
  }

  .choice {
    padding: 0.9rem;
  }

  .choice__bullet {
    width: 1.8rem;
    height: 1.8rem;
    font-size: 0.75rem;
  }

  .primary-button,
  .secondary-button,
  .result-button {
    min-height: 3.2rem;
    padding: 0.95rem 1rem;
  }

  .intro-teaser__frame {
    min-height: 190px;
  }

  .intro-teaser__arrow,
  .intro-teaser__arrow::before {
    width: 18px;
  }
}

/* White compliance funnel: XQuiz-inspired, mobile-first presentation. */
body.quiz-page {
  --bg: #fff8fb;
  --bg-deep: #ffffff;
  --bg-panel: #ffffff;
  --bg-soft: #fff3f8;
  --line: rgba(116, 44, 78, 0.13);
  --line-strong: rgba(211, 29, 93, 0.32);
  --text: #180f15;
  --text-soft: #5d5058;
  --text-faint: #8b7c84;
  --wine: #742c4e;
  --wine-bright: #d31d5d;
  --rose: #d31d5d;
  --gold: #a9732b;
  --gold-soft: rgba(169, 115, 43, 0.11);
  --shadow: 0 22px 52px rgba(68, 31, 49, 0.12);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(211, 29, 93, 0.08), transparent 30rem),
    linear-gradient(180deg, #fff9fc 0%, #ffffff 48%, #fff6fa 100%);
}

body.quiz-page .ambient {
  display: none;
}

.quiz-page .page-shell {
  width: min(500px, calc(100% - 2rem));
  padding: 1.15rem 0 2rem;
}

.quiz-page .page-header {
  display: grid;
  justify-items: center;
  gap: 0.65rem;
  margin-bottom: 1.05rem;
  text-align: center;
}

.quiz-page .brand-lockup {
  flex-direction: column;
  gap: 0.55rem;
}

.quiz-page .brand-lockup__seal {
  min-width: 3.25rem;
  height: 3.25rem;
  border-color: rgba(211, 29, 93, 0.22);
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.78), transparent 36%),
    linear-gradient(135deg, #fff2f7, #ffe1ec);
  color: var(--wine-bright);
  box-shadow: 0 12px 28px rgba(211, 29, 93, 0.14);
}

.quiz-page .brand-lockup__eyebrow,
.quiz-page .page-header__note,
.quiz-page .step__emotion {
  letter-spacing: 0.12em;
  color: var(--text-faint);
}

.quiz-page .brand-lockup__title {
  margin-top: 0;
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 800;
}

.quiz-page .quiz-shell {
  display: block;
}

.quiz-page .mood-panel {
  display: none;
}

.quiz-page .quiz-panel__topbar {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  margin-bottom: 0.75rem;
}

.quiz-page .ghost-button {
  width: auto;
  min-height: 2.5rem;
  padding: 0.55rem 0.82rem;
  border-color: rgba(116, 44, 78, 0.12);
  background: #ffffff;
  color: var(--text-soft);
  box-shadow: 0 8px 22px rgba(68, 31, 49, 0.06);
}

.quiz-page .ghost-button:hover {
  border-color: rgba(211, 29, 93, 0.24);
  background: #fff5fa;
  color: var(--wine-bright);
}

.quiz-page .progress-shell {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.quiz-page .progress-shell__meta {
  margin-bottom: 0.42rem;
  color: var(--text-faint);
  font-size: 0.73rem;
  font-weight: 700;
}

.quiz-page .progress-track {
  height: 0.58rem;
  border-radius: 999px;
  background: #f2e5eb;
}

.quiz-page .progress-track__fill {
  background: linear-gradient(90deg, #d31d5d 0%, #ec6f99 100%);
  box-shadow: 0 0 14px rgba(211, 29, 93, 0.2);
}

.quiz-page .panel-surface {
  padding: clamp(1.05rem, 5vw, 1.45rem);
  border: 1px solid rgba(116, 44, 78, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: none;
}

.quiz-page .panel-surface::after {
  border-color: rgba(255, 255, 255, 0.52);
  border-radius: 21px;
}

.quiz-page .step {
  text-align: center;
}

.quiz-page .step__kicker {
  margin-bottom: 0.72rem;
  color: var(--wine-bright);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.quiz-page .step__title,
.quiz-page .step__title--wide,
.quiz-page .result-card__title {
  max-width: none;
  color: var(--text);
  font-family: var(--sans);
  font-size: clamp(1.42rem, 5.8vw, 2.1rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.12;
}

.quiz-page .step__subheadline,
.quiz-page .step__paragraph,
.quiz-page .step__microcopy,
.quiz-page .result-card__text,
.quiz-page .result-card__subtitle {
  max-width: none;
  color: var(--text-soft);
  line-height: 1.58;
}

.quiz-page .step__subheadline {
  margin-top: 0.7rem;
  font-size: 0.98rem;
}

.quiz-page .copy-stack {
  text-align: left;
}

.quiz-page .intro-teaser,
.quiz-page .question-media,
.quiz-page .inline-gallery {
  display: none;
}

.quiz-page .choice-list {
  gap: 0.72rem;
  margin-top: 1.2rem;
}

.quiz-page .choice {
  align-items: center;
  min-height: 4.2rem;
  border: 1px solid rgba(116, 44, 78, 0.13);
  border-radius: 16px;
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 8px 24px rgba(68, 31, 49, 0.07);
}

.quiz-page .choice:hover,
.quiz-page .choice.is-selected {
  border-color: rgba(211, 29, 93, 0.65);
  background: #fff6fa;
  box-shadow: 0 12px 28px rgba(211, 29, 93, 0.12);
}

.quiz-page .choice__bullet {
  border: 1px solid rgba(211, 29, 93, 0.24);
  background: #fff0f6;
  color: var(--wine-bright);
  font-weight: 900;
}

.quiz-page .choice.is-selected .choice__bullet {
  background: var(--wine-bright);
  color: #ffffff;
}

.quiz-page .choice__text {
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.34;
}

.quiz-page .choice__arrow {
  color: rgba(211, 29, 93, 0.68);
}

.quiz-page .primary-button,
.quiz-page .result-button {
  width: 100%;
  min-height: 3.65rem;
  border-radius: 15px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), transparent 38%),
    linear-gradient(135deg, #d31d5d 0%, #b9144c 100%);
  color: #ffffff;
  box-shadow:
    0 18px 34px rgba(211, 29, 93, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.quiz-page .secondary-button {
  border-color: rgba(116, 44, 78, 0.12);
  background: #ffffff;
  color: var(--text-soft);
}

.quiz-page .story-banner,
.quiz-page .editorial-quote,
.quiz-page .offer-panel,
.quiz-page .warning-banner,
.quiz-page .result-card {
  border-color: rgba(116, 44, 78, 0.12);
  background: #fff8fb;
  color: var(--text);
}

.quiz-page .editorial-quote {
  border-left-color: var(--wine-bright);
  font-family: var(--sans);
  font-weight: 750;
}

.quiz-page .result-list li,
.quiz-page .offer-list li {
  border-color: rgba(116, 44, 78, 0.12);
  background: #ffffff;
  color: var(--text-soft);
}

.quiz-page .result-list strong {
  color: var(--text);
}

.quiz-page .warning-banner {
  color: #704458;
  background: #fff4f8;
}

.quiz-page .page-footer {
  display: grid;
  gap: 0.8rem;
  justify-items: center;
  border-top-color: rgba(116, 44, 78, 0.1);
  text-align: center;
}

.quiz-page .page-footer__brand {
  color: var(--text);
  font-family: var(--sans);
  font-weight: 800;
}

.quiz-page .page-footer__links {
  justify-content: center;
}

.quiz-page .page-footer__links a {
  border-color: rgba(116, 44, 78, 0.12);
  background: #ffffff;
  color: var(--text-soft);
}
