/* ==========================================================================
   JUST BETWEEN US — design system
   --------------------------------------------------------------------------
   Carries the intro sequence's vocabulary into the site proper: the same
   Instrument Serif / Geist Mono pairing, the same baby-pink accents, but
   on the pink-tinged white you land on after stepping through the door.

   Sections:
     1. tokens          — palette, type, spacing
     2. reset + base
     3. typography
     4. layout          — shells, sections, grain
     5. header / footer
     6. buttons + links
     7. forms
     8. home            — hero, event card, waitlist
     9. event page
    10. auth pages
    11. account
    12. quiz
    13. responsive
   ========================================================================== */

/* ============================ 1. tokens ================================= */
:root {
  /* ground + ink — white with a pink tinge, to sit with the accents */
  --ground:      #fdf6f8;   /* page background */
  --ground-deep: #f9eaef;   /* alternating band, a shade deeper */
  --paper:       #fffcfd;   /* cards, lifted almost to white */
  --ink:         #2a2530;   /* body text, plum-black */
  --ink-soft:    #5c5460;   /* secondary text */
  --ink-faint:   #8d8590;   /* captions, meta */

  /* accents — baby pink, carried through from the intro */
  --dusk:        #17111c;   /* dark sections */
  --dusk-deep:   #0d0a11;
  --pink-soft:   #fbe4ea;   /* palest — tinted backgrounds */
  --pink-lift:   #f4bfd0;   /* baby pink — reads on dark grounds */
  --pink-mid:    #d98da6;   /* the everyday pink */
  --pink-deep:   #b8607e;   /* deep pink — links, buttons, selected states */
  --glow:        #ffdce8;   /* the light through the door */

  /* lines */
  --rule:        rgba(42, 37, 48, .14);
  --rule-strong: rgba(42, 37, 48, .28);

  /* type */
  --serif: "Instrument Serif", Georgia, serif;
  --mono:  "Geist Mono", ui-monospace, "SF Mono", monospace;

  /* spacing scale */
  --s1: .5rem;   --s2: .875rem;  --s3: 1.25rem;
  --s4: 2rem;    --s5: 3rem;     --s6: 4.5rem;   --s7: 7rem;

  --shell: 1080px;   /* max content width */
  --narrow: 660px;   /* reading measure */
}

/* ========================= 2. reset + base ============================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, video { max-width: 100%; display: block; }

::selection { background: var(--glow); color: var(--ink); }

/* the same grain that sits over the intro, at a whisper — ties the two
   halves of the experience together */
.grain-overlay {
  position: fixed; inset: -50%; z-index: 1; pointer-events: none;
  opacity: .035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ========================== 3. typography =============================== */
.display {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.01em;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; }

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }

p { margin-bottom: var(--s3); }
p:last-child { margin-bottom: 0; }

/* the small uppercase mono label used as an eyebrow throughout */
.eyebrow {
  font-family: var(--mono);
  font-weight: 400;
  font-size: .68rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.lede {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.55;
  color: var(--ink-soft);
}

.muted { color: var(--ink-soft); }
.faint { color: var(--ink-faint); }

.mono-sm {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .06em;
}

/* ============================ 4. layout ================================= */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--s4);
  position: relative;
  z-index: 2;
}
.shell--narrow { max-width: var(--narrow); }

.section     { padding-block: var(--s6); }
.section--lg { padding-block: var(--s7); }
.section--warm { background: var(--ground-deep); }
.section--dark {
  background: var(--dusk);
  color: var(--ground);
}
.section--dark .eyebrow { color: rgba(253, 246, 248, .5); }
.section--dark .muted   { color: rgba(253, 246, 248, .72); }

.rule { height: 1px; background: var(--rule); border: none; }

main { flex: 1 0 auto; position: relative; z-index: 2; }

/* ========================= 5. header / footer =========================== */
.site-header {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  padding: var(--s3) var(--s4);
  max-width: var(--shell);
  margin-inline: auto;
  width: 100%;
}

.wordmark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark:hover { color: var(--pink-deep); }

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--s3);
}
.site-nav a {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--pink-deep); }

.site-footer {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--rule);
  padding: var(--s4);
  margin-top: var(--s6);
}
.site-footer .shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  padding-inline: 0;
}
.site-footer p { margin: 0; }

.linkish {
  background: none;
  border: none;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  cursor: pointer;
  text-decoration: none;
  padding: 0;
  transition: color .2s ease;
}
.linkish:hover { color: var(--pink-deep); }

/* ======================== 6. buttons + links ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  font-family: var(--mono);
  font-size: .76rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.05em 1.9em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }

.btn--primary {
  background: var(--ink);
  color: var(--ground);
}
.btn--primary:hover:not(:disabled) {
  background: #3b3442;
  box-shadow: 0 6px 22px rgba(42, 37, 48, .22);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule-strong);
}
.btn--ghost:hover:not(:disabled) { border-color: var(--ink); background: rgba(42,37,48,.04); }

.btn--glow {
  background: linear-gradient(135deg, var(--pink-mid) 0%, var(--pink-deep) 100%);
  color: #fff;
}
.btn--glow:hover:not(:disabled) { box-shadow: 0 8px 26px rgba(184, 96, 126, .34); }

.btn--pink {
  background: var(--pink-deep);
  color: #fff;
}
.btn--pink:hover:not(:disabled) {
  background: #a3506d;
  box-shadow: 0 6px 22px rgba(184, 96, 126, .34);
}

.btn--sm { padding: .8em 1.4em; font-size: .7rem; }
.btn--full { width: 100%; }

.text-link {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--pink-deep);
  padding-bottom: 1px;
  transition: color .2s ease;
}
.text-link:hover { color: var(--pink-deep); }

/* ============================ 7. forms ================================== */
.field { margin-bottom: var(--s3); text-align: left; }

.field label,
.field-label {
  display: block;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: .7em;
}

.input,
.textarea {
  width: 100%;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: .85em 1em;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.input::placeholder,
.textarea::placeholder { color: var(--ink-faint); opacity: .7; }
.input:focus,
.textarea:focus {
  outline: none;
  border-color: var(--pink-deep);
  box-shadow: 0 0 0 3px rgba(184, 96, 126, .15);
}
.textarea { resize: vertical; min-height: 7em; line-height: 1.5; }

.form-note {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .04em;
  color: var(--ink-faint);
  line-height: 1.6;
}

/* inline status messages (errors, confirmations) */
.status {
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .04em;
  padding: .9em 1.1em;
  border-radius: 4px;
  margin-top: var(--s2);
  line-height: 1.55;
  display: none;
}
.status.is-visible { display: block; }
.status--error   { background: rgba(184, 96, 126, .13); color: #8f3d44; }
.status--success { background: rgba(120, 150, 110, .14); color: #4a6340; }
.status--info    { background: rgba(42, 37, 48, .06);  color: var(--ink-soft); }

/* ============================= 8. home ================================== */
.hero { padding-block: var(--s6) var(--s5); }

.hero__title {
  font-style: italic;
  font-size: clamp(1.9rem, 4.6vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -.01em;
  margin-bottom: var(--s3);
}

.hero__body { max-width: 46ch; }
.hero__body p { font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.62; }


/* ---- the event card ---- */
.event-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: var(--s5) var(--s4);
  display: grid;
  gap: var(--s3);
  position: relative;
  overflow: hidden;
  transition: box-shadow .3s ease, transform .3s ease;
}
.event-card:hover { box-shadow: 0 14px 44px rgba(42, 37, 48, .11); transform: translateY(-2px); }

/* a warm bloom in the corner, echoing the glow you clicked to get in */
.event-card::before {
  content: "";
  position: absolute;
  top: -60%; right: -25%;
  width: 60%; height: 180%;
  background: radial-gradient(circle, rgba(255,220,232,.62) 0%, rgba(255,220,232,0) 68%);
  pointer-events: none;
}

.event-card__name {
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05;
}

/* a tighter version of the card — less air, smaller title */
.event-card--compact {
  padding: var(--s4);
  gap: var(--s2);
  max-width: 620px;
}
.event-card--compact .event-card__name { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.event-card--compact .event-card__blurb { font-size: .98rem; }
.event-card--compact .event-card__actions { margin-top: var(--s2); }

.event-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1) var(--s3);
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .1em;
  color: var(--ink-soft);
}
.event-card__meta span { display: inline-flex; align-items: center; gap: .5em; }
.event-card__meta .dot { color: var(--pink-deep); }

.event-card__blurb { max-width: 52ch; color: var(--ink-soft); }

.event-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-top: var(--s1);
}

.badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: .5em .9em;
  border-radius: 999px;
  background: rgba(184, 96, 126, .13);
  color: var(--pink-mid);
  border: 1px solid rgba(184, 96, 126, .28);
}

/* ---- step list (how it works) ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s4);
  margin-top: var(--s4);
  list-style: none;
}
.step__num {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .2em;
  color: var(--pink-deep);
  display: block;
  margin-bottom: .8em;
}
.step h3 { margin-bottom: .4em; font-style: italic; }
.step p { color: var(--ink-soft); font-size: .98rem; }

/* ---- waitlist: a thin warm strip that opens into a form on click ---- */
.waitlist-strip {
  max-width: 620px;
  background: linear-gradient(115deg, #fce1e9 0%, #f8c8da 55%, #f3b0c8 100%);
  border: 1px solid rgba(184, 96, 126, .22);
  border-radius: 8px;
  padding: var(--s2) var(--s3);
  color: var(--ink);
}

.waitlist-strip__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  flex-wrap: wrap;
}

/* the question takes the slack so the button sits at the far edge instead
   of leaving a dead gap in the middle */
.waitlist-strip__title {
  flex: 1 1 auto;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.2;
  margin: 0;
}

/* the form stays out of the way until asked for */
.waitlist-strip__form {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: var(--s2);
  align-items: end;
  margin-top: var(--s3);
  padding-top: var(--s3);
  border-top: 1px solid rgba(184, 96, 126, .28);
}
.waitlist-strip__form[hidden] { display: none; }
.waitlist-strip__form .field { margin-bottom: 0; }
.waitlist-strip__form .field-label { color: rgba(120, 52, 76, .68); }

.waitlist-strip .input {
  background: rgba(255, 250, 252, .72);
  border-color: rgba(184, 96, 126, .28);
  color: var(--ink);
  font-size: 1rem;
  padding: .7em .85em;
}
.waitlist-strip .input::placeholder { color: rgba(120, 52, 76, .45); }
.waitlist-strip .input:focus {
  border-color: rgba(184, 96, 126, .6);
  box-shadow: 0 0 0 3px rgba(184, 96, 126, .2);
}

/* ============================ 9. event page ============================= */
.page-head { padding-block: var(--s5) var(--s4); }
.page-head h1 { font-style: italic; margin-block: var(--s2); }

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--s4);
  padding-block: var(--s4);
  border-block: 1px solid var(--rule);
}
.detail__label {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: .6em;
}
.detail__value { font-size: 1.15rem; font-style: italic; }

.prose { max-width: var(--narrow); }
.prose h2 { font-style: italic; margin-block: var(--s5) var(--s3); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-block: var(--s4) var(--s1); font-style: italic; }
.prose p { color: var(--ink-soft); }
.prose ul { margin: 0 0 var(--s3) 1.2em; color: var(--ink-soft); }
.prose li { margin-bottom: .5em; }

.faq { border-top: 1px solid var(--rule); }
.faq details {
  border-bottom: 1px solid var(--rule);
  padding-block: var(--s3);
}
.faq summary {
  cursor: pointer;
  font-size: 1.15rem;
  font-style: italic;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s2);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--mono);
  color: var(--pink-deep);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: var(--s2); color: var(--ink-soft); }

/* =========================== 10. auth pages ============================= */
.auth-wrap {
  flex: 1 0 auto;
  display: grid;
  place-items: center;
  padding: var(--s5) var(--s4) var(--s6);
  position: relative;
  z-index: 2;
}

.auth-card {
  width: 100%;
  max-width: 430px;
  text-align: center;
}
.auth-card h1 {
  font-style: italic;
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-block: var(--s2) var(--s2);
}
.auth-card > p { color: var(--ink-soft); margin-bottom: var(--s4); }
.auth-card form { text-align: left; }
.auth-card .btn { margin-top: var(--s2); }

/* the pulsing dot from the intro, reused as a "check your email" beacon */
.beacon {
  width: 14px; height: 14px;
  border-radius: 50%;
  margin: 0 auto var(--s3);
  background: radial-gradient(circle, #fff 0%, var(--glow) 35%, rgba(255,220,232,0) 72%);
  animation: beaconpulse 2.4s ease-in-out infinite;
}
@keyframes beaconpulse {
  0%,100% { box-shadow: 0 0 8px 2px rgba(217,141,166,.4); }
  50%     { box-shadow: 0 0 20px 7px rgba(217,141,166,.65); }
}

/* =========================== 11. account =============================== */
.account-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s3);
  padding-block: var(--s5) var(--s3);
  border-bottom: 1px solid var(--rule);
}
.account-head h1 { font-style: italic; margin-top: var(--s1); }

.answer-list { display: grid; gap: 0; margin-top: var(--s4); }

.answer-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s3);
  align-items: start;
  padding-block: var(--s3);
  border-bottom: 1px solid var(--rule);
}
.answer-row__q {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--ink-faint);
  text-transform: none;
  margin-bottom: .5em;
  line-height: 1.5;
}
.answer-row__a { font-size: 1.1rem; font-style: italic; line-height: 1.45; }
.answer-row__a.is-empty { color: var(--ink-faint); font-style: normal; font-family: var(--mono); font-size: .8rem; }

/* progress ring / bar on the account page */
.quiz-status {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: var(--s4);
  margin-top: var(--s4);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
}
.quiz-status h3 { font-style: italic; margin-bottom: .3em; }
.quiz-status p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* ============================= 12. quiz ================================= */
.quiz-body {
  background: var(--ground);
  overflow: hidden;
}

.quiz-shell {
  flex: 1 0 auto;
  display: grid;
  place-items: center;
  padding: var(--s4);
  position: relative;
  z-index: 2;
  min-height: 0;
}

/* each question column — constrained so lines stay readable and the
   layout doesn't shrink-wrap around whichever answer is longest */
.quiz-step {
  width: 100%;
  max-width: 680px;
}

/* progress */
.quiz-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(42, 37, 48, .08);
  z-index: 10;
}
.quiz-progress__bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--pink-mid), var(--pink-deep));
  transition: width .45s cubic-bezier(.4, 0, .2, 1);
}

.quiz-count {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .22em;
  color: var(--ink-faint);
  margin-bottom: var(--s3);
}

/* the question itself */
.quiz-q {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  line-height: 1.22;
  margin-bottom: var(--s2);
}
.quiz-help {
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .04em;
  margin-bottom: var(--s4);
}
.quiz-field { margin-top: var(--s4); }

/* free-text answers get an underline, not a box — lighter, more Typeform */
.quiz-input {
  width: 100%;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule-strong);
  padding: .5em 0;
  transition: border-color .25s ease;
}
.quiz-input::placeholder { color: var(--ink-faint); opacity: .55; font-style: italic; }
.quiz-input:focus { outline: none; border-bottom-color: var(--pink-deep); }
textarea.quiz-input { resize: none; line-height: 1.5; min-height: 4.5em; }

/* choice options */
.choices { display: grid; gap: .6rem; }

.choice {
  display: flex;
  align-items: center;
  gap: var(--s2);
  width: 100%;
  text-align: left;
  font-family: var(--serif);
  font-size: 1.12rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: .9em 1.1em;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.choice:hover { border-color: var(--rule-strong); transform: translateX(3px); }
.choice.is-selected {
  border-color: var(--pink-deep);
  background: rgba(184, 96, 126, .08);
}

/* the little keyboard letter beside each option */
.choice__key {
  flex-shrink: 0;
  width: 1.65em; height: 1.65em;
  display: grid;
  place-items: center;
  border: 1px solid var(--rule);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: .68rem;
  color: var(--ink-faint);
  transition: inherit;
}
.choice.is-selected .choice__key {
  border-color: var(--pink-deep);
  background: var(--pink-deep);
  color: #fff;
}

/* "Other" free-text that appears under a choice list */
.choice-other { margin-top: .3rem; }

/* 1–5 linear scale */
.scale { margin-top: var(--s2); }
.scale__row {
  display: flex;
  gap: .6rem;
  margin-bottom: var(--s2);
}
.scale__opt {
  flex: 1;
  aspect-ratio: 1;
  max-width: 82px;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: .95rem;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}
.scale__opt:hover { border-color: var(--rule-strong); transform: translateY(-2px); }
.scale__opt.is-selected {
  border-color: var(--pink-deep);
  background: var(--pink-deep);
  color: #fff;
}
.scale__poles {
  display: flex;
  justify-content: space-between;
  gap: var(--s3);
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .06em;
  color: var(--ink-faint);
  line-height: 1.5;
}
.scale__poles span:last-child { text-align: right; }

/* quiz navigation */
.quiz-nav {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-top: var(--s5);
}
.quiz-hint {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .1em;
  color: var(--ink-faint);
}
.quiz-back {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 0;
  transition: color .2s ease;
}
.quiz-back:hover { color: var(--ink); }
.quiz-back[hidden] { display: none; }

/* saving indicator */
.quiz-saving {
  position: fixed;
  bottom: var(--s3);
  right: var(--s4);
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  opacity: 0;
  transition: opacity .3s ease;
  z-index: 10;
}
.quiz-saving.is-visible { opacity: .75; }

/* question transitions — each card rises into place */
.quiz-step { animation: stepIn .42s cubic-bezier(.22, .68, .3, 1) both; }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.quiz-step.is-leaving { animation: stepOut .22s ease forwards; }
@keyframes stepOut {
  to { opacity: 0; transform: translateY(-10px); }
}

/* the done screen */
.quiz-done { text-align: center; }
.quiz-done h1 { font-style: italic; margin-block: var(--s3) var(--s2); }
.quiz-done p { color: var(--ink-soft); max-width: 42ch; margin-inline: auto; }
.quiz-done .btn { margin-top: var(--s4); }

/* =========================== 13. responsive ============================= */
@media (max-width: 760px) {
  body { font-size: 17px; }

  .shell { padding-inline: var(--s3); }
  .section     { padding-block: var(--s5); }
  .section--lg { padding-block: var(--s6); }

  .site-header { padding: var(--s2) var(--s3); flex-wrap: wrap; }
  .site-nav { gap: var(--s2); }
  .site-nav a { font-size: .68rem; letter-spacing: .12em; }

  .event-card { padding: var(--s4) var(--s3); }
  .event-card__actions .btn { width: 100%; }

  .waitlist-strip__head { gap: var(--s2); }
  .waitlist-strip__head .btn { width: 100%; }
  .waitlist-strip__form { grid-template-columns: 1fr; }
  .waitlist-strip__form .btn { width: 100%; }

  .quiz-shell { padding: var(--s3); align-items: start; padding-top: var(--s5); }
  .scale__opt { max-width: none; }
  .scale__poles { font-size: .62rem; }

  .answer-row { grid-template-columns: 1fr; }
  .answer-row .btn { justify-self: start; }

  .site-footer .shell { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 400px) {
  .scale__row { gap: .35rem; }
  .choice { font-size: 1rem; padding: .8em .9em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}
