/* The Vibe Quiz: airy, photographic, blush and champagne. */
:root {
  --bg: var(--ea-champagne-bg);
  --ink: var(--ea-ink);
  --text: var(--ea-foreground);
  --muted: oklch(0.45 0.025 280);
  --accent: var(--ea-crimson);
  --accent-strong: var(--ea-crimson-strong);
  --blush: var(--ea-blush);
  --border: var(--ea-border);
  --danger: oklch(0.5 0.22 27);
  --ease: var(--ea-ease);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ea-font-sans);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

[tabindex='-1']:focus {
  outline: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.vibe {
  max-width: 1040px;
  margin: 0 auto;
  padding: 8px 22px 0;
}

.screen {
  animation: rise 0.22s var(--ease);
}

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

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow--accent {
  color: var(--accent);
}

.display {
  color: var(--ink);
  font-size: clamp(40px, 8vw, 60px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

.display em,
.section-title em,
.trial__title em,
.vibe-card__name em {
  color: var(--accent);
  font-style: italic;
}

.lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 440px;
}

.meta {
  color: var(--muted);
  font-size: 13px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: 9999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.btn:hover {
  background: var(--accent-strong);
}

.btn--lg {
  min-height: 54px;
  font-size: 17px;
}

.link-btn {
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  font-weight: 500;
}

.text-link {
  color: var(--text);
  font-weight: 500;
  text-underline-offset: 4px;
}

/* ── Intro ──────────────────────────────────────────────────────────────── */
.intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px 56px;
  padding: 16px 0 24px;
}

.intro__copy {
  flex: 1 1 340px;
  display: grid;
  gap: 18px;
  justify-items: start;
}

.collage {
  flex: 1 1 340px;
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  aspect-ratio: 1 / 0.9;
  max-height: 520px;
}

.collage::before {
  content: '';
  position: absolute;
  inset: -20px;
  z-index: -1;
  background: var(--blush);
  filter: blur(60px);
  opacity: 0.7;
}

.collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 26px;
}

.collage__b {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.collage__a {
  grid-column: 2;
  grid-row: 1;
}

.collage__c {
  grid-column: 2;
  grid-row: 2;
}

/* ── Step ───────────────────────────────────────────────────────────────── */
.step {
  display: grid;
  gap: 26px;
  max-width: 620px;
  margin: 0 auto;
  padding-top: 12px;
}

.step__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.progress {
  height: 6px;
  border-radius: 9999px;
  background: var(--border);
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width 0.8s var(--ease);
}

.step__title {
  color: var(--ink);
  font-size: clamp(28px, 6vw, 38px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.options {
  display: grid;
  gap: 12px;
}

.option {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding: 16px 18px;
  text-align: left;
  font-size: 16px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--ea-shadow-soft);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.option:hover {
  transform: translateY(-2px);
  box-shadow: var(--ea-shadow-floating);
}

.option__letter {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ea-champagne);
  font-size: 13px;
  font-weight: 600;
}

.option[aria-pressed='true'] {
  border-color: var(--accent);
  background: var(--blush);
}

.option[aria-pressed='true'] .option__letter {
  background: var(--accent);
  color: #fff;
}

/* ── Result + gate ──────────────────────────────────────────────────────── */
.result {
  display: grid;
  gap: 28px;
  padding-top: 12px;
}

.result__top {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
}

.result__text {
  flex: 1 1 360px;
  display: grid;
  gap: 16px;
}

.result__eyebrows {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}

.sent {
  padding: 5px 12px;
  border-radius: 9999px;
  background: var(--ea-sage);
  color: var(--ea-sage-ink);
  font-size: 13px;
  font-weight: 600;
}

.gate-card {
  background: #fff;
  border-radius: 26px;
  box-shadow: var(--ea-shadow-floating);
  padding: 22px;
}

.vibe-card {
  flex: 1 1 360px;
  display: grid;
  gap: 12px;
  padding: 30px;
  border-radius: 26px;
  background: var(--ea-gradient-romance);
}

.vibe-card.locked {
  filter: blur(9px);
  user-select: none;
  pointer-events: none;
}

.vibe-card__name {
  font-size: clamp(40px, 9vw, 48px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
}

.vibe-card__touch {
  color: var(--muted);
}

.swatches {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.swatches span {
  flex: 1;
  height: 64px;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.06);
}

.words {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.words li {
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgb(255 255 255 / 0.75);
  font-size: 14px;
  font-weight: 500;
}

/* Email capture (markup from /shared/email-capture.js) */
.ea-capture {
  display: grid;
  gap: 10px;
}

.ea-capture__label {
  font-weight: 600;
  color: var(--ink);
}

.ea-capture__row {
  display: grid;
  gap: 10px;
}

.ea-capture__input {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 0 18px;
  border: 1.5px solid var(--border);
  border-radius: 18px;
  background: #fff;
}

.ea-capture__input:focus-visible {
  outline-offset: 0;
  border-color: var(--accent);
}

.ea-capture__submit,
.ea-capture__retry {
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 9999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}

.ea-capture__retry {
  justify-self: start;
  min-height: 44px;
  background: transparent;
  color: var(--accent);
  box-shadow: inset 0 0 0 1.5px var(--accent);
}

.ea-capture[data-state='loading'] .ea-capture__submit {
  opacity: 0.75;
}

.ea-capture__message:empty {
  display: none;
}

.ea-capture__message {
  color: var(--danger);
  font-size: 14px;
}

.ea-capture__consent {
  color: var(--muted);
  font-size: 13px;
}

.ea-capture__consent a {
  color: inherit;
}

@media (min-width: 560px) {
  .ea-capture__row {
    grid-template-columns: 1fr auto;
  }
}

.section-title {
  color: var(--ink);
  font-size: clamp(30px, 6vw, 38px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.moves {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  padding: 0;
  list-style: none;
  counter-reset: m;
}

.move {
  counter-increment: m;
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 22px;
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--ea-shadow-soft);
}

.move::before {
  content: counter(m);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: var(--blush);
  color: var(--ea-blush-ink);
  font-weight: 700;
}

.move__title {
  color: var(--ink);
  font-size: 19px;
  font-weight: 600;
}

.move__body {
  color: var(--muted);
  font-size: 14px;
}

.trial {
  display: grid;
  gap: 12px;
  padding: 24px;
  border-radius: 26px;
  background: var(--ea-gradient-romance);
}

.trial__title {
  color: var(--ink);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.trial__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  margin-top: 6px;
}

.more {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  color: var(--muted);
}

@media (min-width: 720px) {
  .vibe {
    padding: 16px 56px 0;
  }
  .trial {
    padding: 36px;
  }
}
