@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("assets/cormorant.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("assets/cormorant-italic.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("assets/dm-sans.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --background: #08090b;
  --deep: #0b0c0e;
  --panel: #191a1d;
  --pearl: #f6f5f2;
  --muted: #c5c8cc;
  --metal: #c7a65a;
  --light-gold: #f0d58c;
  --line: rgba(199, 166, 90, .34);
  --soft-line: rgba(211, 215, 220, .16);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --gutter: clamp(1rem, 4vw, 3rem);
  --gold-gradient: linear-gradient(103deg, #fff6df 2%, #d8b45e 52%, #a98535 100%);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--pearl);
  font: 400 1rem/1.6 var(--sans);
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
img { display: block; width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; }
button, summary { cursor: pointer; }
::selection { background: var(--light-gold); color: var(--deep); }
:focus-visible { outline: 2px solid var(--light-gold); outline-offset: 5px; }
h2:focus, main:focus { outline: none; }

.wrap {
  width: min(calc(100% - 2 * var(--gutter)), 76rem);
  margin-inline: auto;
}

.skip {
  position: fixed;
  z-index: 20;
  top: .75rem;
  left: .75rem;
  padding: .65rem 1rem;
  transform: translateY(-200%);
  background: var(--pearl);
  color: var(--deep);
}
.skip:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--soft-line);
  background: #0b0c0e;
}
.header-inner {
  display: flex;
  min-height: 4.25rem;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
}
.identity {
  display: inline-flex;
  align-items: center;
  gap: .62rem;
  color: var(--pearl);
  font: 700 clamp(1.15rem, 4.5vw, 1.55rem)/1 var(--serif);
  text-decoration: none;
}
.identity > span:last-child > span { color: var(--light-gold); }
.seal {
  display: inline-grid;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 0, #39342a, #17181a);
  color: var(--light-gold);
  font: 400 1rem/1 var(--sans);
}
.quiet {
  min-height: 2.75rem;
  padding: .38rem 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: .87rem;
  font-weight: 600;
}
.quiet > span { margin-inline: .25rem; color: var(--light-gold); }
.quiet:hover { color: var(--light-gold); }
.header-help { white-space: nowrap; }
.out-arrow {
  position: relative;
  display: inline-block;
  width: .6rem;
  height: .6rem;
  vertical-align: .015rem;
}
.out-arrow::before {
  position: absolute;
  inset: 0 0 auto auto;
  width: .42rem;
  height: .42rem;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  content: "";
}
.out-arrow::after {
  position: absolute;
  top: 1px;
  right: 1px;
  width: .63rem;
  height: 1px;
  transform: rotate(-45deg);
  transform-origin: right;
  background: currentColor;
  content: "";
}

.stage { min-height: calc(100svh - 4.25rem); }
.hero {
  display: grid;
  align-items: center;
  background: radial-gradient(ellipse at 68% 22%, #3d321a, transparent 72%), var(--background);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  padding-bottom: clamp(2rem, 5vw, 3.4rem);
}
.hero-visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid #c7a65a75;
  background: #111214;
}
.hero-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: 76% center;
  opacity: .98;
}
.hero-visual::before, .hero-visual::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
}
.hero-visual::before {
  background: linear-gradient(90deg, #0b0c0eeb 4%, #0b0c0e8e 58%, #0b0c0e18),
              linear-gradient(0deg, #101113f5 2%, transparent 90%);
}
.hero-visual::after {
  top: auto;
  inset-inline: var(--gutter);
  height: 1px;
  background: linear-gradient(90deg, transparent, #e0c779, transparent);
}
.hero-copy {
  width: min(calc(100% - 2 * var(--gutter)), 76rem);
  margin-inline: auto;
  padding-block: clamp(2rem, 5.3vw, 4.6rem) clamp(2.5rem, 5.6vw, 4.9rem);
}
.kicker {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--light-gold);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.45;
  text-transform: uppercase;
}
.hero h1 {
  margin-block-end: 1.14rem;
  max-width: 49rem;
  font-size: clamp(3.5rem, 12.9vw, 8.8rem);
  line-height: .83;
  letter-spacing: -.037em;
}
.hero h1 > span {
  display: block;
  font-size: .43em;
  line-height: .99;
  letter-spacing: -.014em;
}
.hero h1 em { display: block; margin-top: .12em; text-wrap: balance; }
h1 em, h2 em {
  color: var(--light-gold);
  font-weight: 600;
}
@supports (background-clip: text) {
  h1 em, h2 em {
    background: var(--gold-gradient);
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
.hero-description {
  max-width: 26rem;
  color: var(--pearl);
  font-size: clamp(1.04rem, 2.3vw, 1.26rem);
  line-height: 1.42;
  text-wrap: pretty;
}
.hero-start {
  margin-top: 1.25rem;
  box-shadow: 0 .75rem 2.2rem #d191353d, inset 0 1px #fff9;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  background: linear-gradient(145deg, #202124, var(--panel) 65%);
  box-shadow: 0 1.5rem 4rem #00000070, inset 0 1px #f4f4f40c;
}
.quiz {
  position: relative;
  width: min(calc(100% - 2 * var(--gutter)), 68rem);
  justify-self: center;
  padding: clamp(1.1rem, 3.8vw, 1.75rem);
  border-color: #e8cd86;
  background: linear-gradient(135deg, #f4f0e6, #ddd9cf);
  color: #1a1a19;
  box-shadow: 0 1.6rem 5rem #000000b3, inset 0 1px #fff;
  scroll-margin-top: 1rem;
}
.quiz::before {
  position: absolute;
  top: -1px;
  left: 12%;
  width: 76%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d8bd70b8, transparent);
  content: "";
}
.quiz-heading, .quiz-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .55rem 1rem;
}
.quiz-heading { color: #51472e; font-size: .82rem; font-weight: 700; letter-spacing: .065em; }
.quiz-symbol { font-size: 1.37rem; line-height: 1; }
.quiz-meter {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .35rem;
  margin-block: .82rem 1.2rem;
}
.quiz-meter > span {
  height: 3px;
  border-radius: 1rem;
  background: #d3d0c9;
  transition: background-color .25s ease;
}
.quiz-meter .current { background: linear-gradient(90deg, #8e7130, #d4b25b); }
.question h2 {
  margin-block-end: 1rem;
  font-size: clamp(1.65rem, 5.9vw, 2.4rem);
  line-height: 1.06;
  letter-spacing: -.012em;
  text-wrap: balance;
  text-align: left;
}
.answers { display: grid; gap: .6rem; }
.answers button {
  display: flex;
  width: 100%;
  min-height: 3rem;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding: .65rem .85rem;
  border: 1px solid #77736a;
  border-radius: .6rem;
  background: #222326;
  color: var(--pearl);
  font-size: clamp(.84rem, 2.5vw, .98rem);
  font-weight: 600;
  line-height: 1.38;
  text-align: left;
  transition: border-color .2s, background .2s, transform .2s;
}
.answers button > span { color: var(--light-gold); font-size: 1.07rem; }
.answers button:hover, .answers button[aria-pressed="true"] {
  border-color: #c7a65a;
  background: #353027;
  transform: translateX(2px);
}
#questions[aria-busy="true"] { pointer-events: none; }
.quiz-footer { min-height: 2rem; margin-top: .7rem; flex-wrap: wrap; }
.quiz-footer p, .quiz .quiet, .quiz .quiet > span { color: #65666a; font-size: .78rem; }
.quiz :focus-visible { outline-color: #a88b46; }

.button {
  display: inline-flex;
  min-height: 3.1rem;
  justify-content: center;
  align-items: center;
  gap: .75rem;
  padding: .72rem 1.2rem;
  border: 1px solid transparent;
  border-radius: .66rem;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: box-shadow .24s, background .24s, transform .24s;
}
.button:hover { transform: translateY(-2px); }
.button-gold {
  border-color: #f3d69d;
  background: var(--gold-gradient);
  color: #171512;
  box-shadow: 0 .7rem 2rem #c7a65a26, inset 0 1px #fff9;
}
.button-outline { border-color: #ddbc7773; background: #151618b8; color: var(--light-gold); }
.button-outline:hover { background: #302d27; }
.pulse { animation: pulse 2.65s ease-in-out infinite; }
@keyframes pulse {
  50% { box-shadow: 0 .55rem 2.1rem #c7a65a5e, 0 0 0 .34rem #e8bc5912; }
}

.interlude {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.interlude-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  opacity: .69;
}
.interlude::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse, #11121454 10%, #08090bd9 92%);
  content: "";
}
.centered { display: grid; place-items: center; padding-block: 4rem; }
.result-panel {
  display: grid;
  width: min(100%, 36rem);
  justify-items: center;
  gap: .95rem;
  padding: clamp(1.4rem, 6vw, 3.2rem);
  text-align: center;
}
.seal-large { width: 3.4rem; height: 3.4rem; font-size: 1.6rem; }
.result-panel h2, .dialog h2 {
  font-size: clamp(2.2rem, 7vw, 3.45rem);
  line-height: .97;
}
.result-panel > p:not(.kicker), .dialog p:not(.kicker) {
  color: var(--muted);
  line-height: 1.6;
}
.result-panel .button { margin-top: .45rem; }
.result-panel progress {
  width: 100%;
  height: .48rem;
  margin-top: .65rem;
  border: 0;
  border-radius: 1rem;
  background: #414348;
  color: var(--light-gold);
  accent-color: var(--light-gold);
  overflow: hidden;
}
progress::-webkit-progress-bar { border-radius: 1rem; background: #414348; }
progress::-webkit-progress-value { border-radius: 1rem; background: var(--gold-gradient); }
progress::-moz-progress-bar { border-radius: 1rem; background: var(--gold-gradient); }
.result-panel output { justify-self: end; color: var(--light-gold); font-size: .82rem; font-variant-numeric: tabular-nums; }

.voices {
  min-width: 0;
  width: min(calc(100% - 2 * var(--gutter)), 68rem);
  padding-block: clamp(.85rem, 3vw, 1.85rem) clamp(1.25rem, 3vw, 2.25rem);
}
.voice-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .15rem .65rem;
  margin-bottom: .45rem;
}
.voice-heading h2 { font-size: clamp(1.65rem, 4vw, 2.35rem); line-height: 1.06; }
.voice-swipe { color: var(--muted); font-size: .73rem; font-weight: 500; }
.voice-swipe span { margin-inline-start: .18rem; color: var(--light-gold); }
.voice-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(88%, 22rem);
  gap: .8rem;
  align-items: start;
  overflow-x: auto;
  padding: .22rem .15rem .6rem;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: .15rem;
  scrollbar-width: thin;
  scrollbar-color: #b59a5e #28292c;
}
.voice-card {
  --chat-paper: #ecebe8;
  --chat-ink: #222326;
  --chat-muted: #626367;
  --chat-quote: #e5e0d4;
  --chat-accent: #a88b46;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 1rem;
  border-color: #c7c5bf;
  background: var(--chat-paper);
  color: var(--chat-ink);
  overflow: hidden;
  scroll-snap-align: start;
}
.voice-card[data-voice="ana-alice"] {
  --chat-paper: #ecebe8;
  --chat-quote: #ddd9cf;
  --chat-accent: #9d7e3d;
}
.voice-card[data-voice="roberta"] {
  --chat-paper: #e3e5e6;
  --chat-quote: #d4d7da;
  --chat-accent: #777d83;
}
.voice-card[data-playing] { border-color: #ffd47e; }
.voice-meta {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .65rem .8rem;
  border-bottom: 1px solid #737579;
  background: linear-gradient(110deg, #202124, #17181a);
  color: var(--pearl);
}
.voice-meta h3 { font: 700 .95rem/1.25 var(--sans); }
.voice-meta p { margin-top: .12rem; color: #d8d8d4; font-size: .7rem; line-height: 1.35; }
.voice-avatar {
  width: 2.625rem;
  height: 2.625rem;
  flex: 0 0 auto;
  border: 1px solid #d8bd7090;
  border-radius: 50%;
  background: var(--chat-accent);
  object-fit: cover;
}
.voice-thread {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: .65rem;
  padding: .82rem .7rem .7rem;
  background-image: radial-gradient(circle, #b5a47022 1px, transparent 1.5px),
                    radial-gradient(circle, #ffffff73 1.5px, transparent 2px);
  background-position: 0 0, 10px 10px;
  background-size: 20px 20px;
}
.voice-player {
  position: relative;
  display: flex;
  align-items: center;
  gap: .55rem;
  width: calc(100% - .65rem);
  margin-inline-start: .35rem;
  padding: .46rem .66rem .46rem .51rem;
  border-radius: .18rem .95rem .95rem .95rem;
  background: #fffdfa;
  box-shadow: 0 2px 4px #00000020;
}
.voice-player::before, .voice-thread blockquote::after {
  position: absolute;
  inset-block-start: 0;
  width: .55rem;
  height: .6rem;
  content: "";
}
.voice-player::before {
  inset-inline-start: -.43rem;
  background: #fffdfa;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.voice-thread blockquote {
  position: relative;
  align-self: flex-end;
  max-width: calc(100% - 1.7rem);
  margin: 0 .35rem 0 0;
  padding: .5rem .68rem .37rem;
  border-radius: .85rem .16rem .85rem .85rem;
  background: var(--chat-quote);
  box-shadow: 0 2px 4px #00000020;
  font-size: .91rem;
  font-weight: 700;
  line-height: 1.3;
}
.voice-thread blockquote::after {
  inset-inline-end: -.43rem;
  background: var(--chat-quote);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.voice-thread blockquote small {
  display: block;
  margin-block-start: .17rem;
  color: var(--chat-muted);
  font-size: .67rem;
  font-weight: 500;
  text-align: end;
}
.voice-toggle {
  position: relative;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #7d797035;
  border-radius: 50%;
  background: var(--chat-quote);
  color: var(--chat-accent);
}
.voice-toggle:focus-visible { outline-color: var(--chat-accent); outline-offset: 2px; }
.voice-toggle > span {
  width: 0;
  height: 0;
  margin-left: 2px;
  border-block: .35rem solid transparent;
  border-left: .57rem solid currentColor;
}
.voice-card[data-playing] .voice-toggle > span {
  width: .5rem;
  height: .72rem;
  margin: 0;
  border: 0;
  border-inline: 2px solid currentColor;
}
.voice-track { flex: 1; min-width: 0; }
.wave-track { position: relative; height: 1.45rem; }
.wave-bars {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2px;
  pointer-events: none;
}
.wave-bars i {
  flex: 1;
  max-width: 4px;
  height: calc(var(--peak) * 100%);
  min-height: 3px;
  border-radius: .18rem;
  background: #909398;
}
.wave-bars .past { background: var(--chat-accent); }
.voice-seek { position: absolute; inset: 0; width: 100%; margin: 0; opacity: 0; cursor: pointer; }
.wave-track:focus-within { outline: 2px solid var(--chat-accent); outline-offset: 2px; border-radius: .2rem; }
.voice-time { display: flex; justify-content: space-between; gap: .4rem; color: var(--chat-muted); font-size: .69rem; font-variant-numeric: tabular-nums; }
.voice-status { color: var(--chat-muted); font-size: .8rem; }
.voice-transcript { border-top: 1px solid #77736a3b; background: #fffdfa9e; font-size: .84rem; }
.voice-transcript summary { min-height: 2.75rem; padding: .65rem .8rem; color: var(--chat-muted); font-weight: 650; }
.voice-transcript summary:focus-visible { outline-color: var(--chat-accent); outline-offset: -4px; }
.voice-transcript p { margin: 0 .8rem .75rem; }

.availability { color: var(--muted); font-size: .86rem; text-align: center; }

.dialog {
  width: min(calc(100% - 2rem), 30rem);
  max-height: calc(100svh - 2rem);
  padding: clamp(1.2rem, 5vw, 2rem);
  color: var(--pearl);
}
.dialog::backdrop { background: #050607c4; backdrop-filter: blur(5px); }
.dialog form { display: grid; gap: 1rem; }
.dialog h2 { padding-right: 1.4rem; }
.dialog-close { position: absolute; top: .35rem; right: .55rem; width: 2.75rem; font-size: 1.5rem; }
#checkout {
  width: min(calc(100% - 1.6rem), 35rem);
  padding: 0;
  overflow: hidden;
}
#order-form {
  grid-template-rows: auto minmax(0, 1fr) auto;
  max-height: calc(100svh - 2.25rem);
  gap: 0;
}
#checkout :is(.order-header, .order-options, .order-footer) { padding-inline: clamp(1rem, 4.7vw, 2rem); }
.order-header { padding-block: clamp(.9rem, 3vw, 1.6rem) .55rem; }
.order-options {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-block: .25rem .55rem;
}
.order-footer {
  display: grid;
  gap: .55rem;
  padding-block: .55rem .65rem;
  border-top: 1px solid var(--line);
  background: #1b1c1f;
}
#checkout h2 { font-size: clamp(1.95rem, 5.5vw, 2.75rem); }
#checkout .order-base { margin-top: .27rem; font-size: .85rem; }
#checkout #order-message { font-size: .82rem; }
.bumps {
  display: grid;
  min-inline-size: 0;
  gap: .5rem;
  margin: 0;
  padding: 0;
  border: 0;
}
.bumps legend { margin-bottom: .34rem; padding: 0; color: var(--light-gold); font-weight: 700; }
#checkout .plan-recommendation {
  margin-bottom: .15rem;
  color: var(--light-gold);
  font-size: .85rem;
}
.bump {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  column-gap: .6rem;
  align-content: center;
  min-height: 2.75rem;
  padding: .65rem .72rem;
  border: 1px solid var(--soft-line);
  border-radius: .63rem;
  background: #08090b41;
  cursor: pointer;
}
@media (hover: hover) {
  .bump:hover { border-color: #e7bf7780; }
}
.bump[data-suggested] { border-color: #e4bc722f; background: #e9bc5c0d; }
.bump:has(input:checked) { border-color: var(--metal); background: #e9bc5c13; }
.bump input { width: 1.03rem; height: 1.03rem; margin: .17rem 0 0; accent-color: var(--light-gold); }
.bump-copy { display: grid; gap: .2rem; color: var(--pearl); font-size: .88rem; line-height: 1.35; }
.bump-copy small { color: var(--muted); font-size: .82rem; }
.bump-price { grid-column: 2; color: var(--light-gold); font-size: .77rem; font-weight: 700; margin-top: .23rem; }
.order-summary { display: flex; justify-content: space-between; gap: 1rem; margin: 0; }
.order-summary > div:last-child { text-align: right; }
.order-summary dt { color: var(--muted); font-size: .76rem; font-weight: 600; }
.order-summary dd { margin: 0; color: var(--light-gold); font-size: 1.06rem; font-weight: 700; }

@media (min-width: 48rem) {
  .header-inner { min-height: 4.65rem; }
  .stage { min-height: calc(100svh - 4.65rem); }
  .question { display: grid; align-items: center; grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr); gap: 2.3rem; }
  .question h2 { margin-block-end: 0; text-wrap: normal; }
  .bump { grid-template-columns: auto 1fr auto; }
  .bump-price { grid-column: auto; margin-top: 0; }
  .hero-start { margin-top: 1.55rem; }
}
@media (min-width: 61rem) {
  .hero-image { object-position: 72% 46%; }
  .hero-visual::before {
    background: linear-gradient(90deg, #0b0c0eee 1%, #0b0c0ebf 34%, #10111335 68%, #1011130f 100%),
                linear-gradient(0deg, #101113da, transparent 48%);
  }
  .hero h1 { font-size: clamp(5.3rem, 8vw, 8.8rem); }
  .hero h1 em { max-width: 46rem; text-wrap: wrap; }
  .voice-swipe { display: none; }
  .voice-grid {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
    overflow-x: visible;
    padding-inline: 0;
  }
}
@media (max-width: 23rem) {
  .header-help > span { display: none; }
  .header-help { font-size: .77rem; }
  .seal { width: 1.75rem; height: 1.75rem; }
  .identity { gap: .45rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
