/* ==========================================================================
   The Luggage Quiz — Full Tilt Travel
   Brand tokens from Brand Identity (locked June 30, 2026)
   ========================================================================== */

@font-face {
  font-family: "Atami";
  src: url("fonts/Atami-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --galaxy-black: #2A2A2A;
  --pure-white: #FFFFFF;
  --valhalla: #2A1A45;
  --green-haze: #A3B19B;
  --deep-sea: #346666;
  --special-orange: #EE733A;

  --font-hero: "Atami", "Barlow Condensed", sans-serif;
  --font-head: "Barlow Condensed", sans-serif;
  --font-body: "Spectral", Georgia, serif;
  --font-accent: "Qwigley", cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font-body);
  color: var(--galaxy-black);
  background: var(--pure-white);
  line-height: 1.6;
  min-height: 100vh;
}

/* ---------- screens ---------- */

.screen {
  display: none;
  min-height: 100vh;
  min-height: 100dvh;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
}

.screen.is-active { display: flex; }

.screen--dark {
  background: var(--galaxy-black);
  color: var(--pure-white);
}

@media (prefers-reduced-motion: no-preference) {
  .screen.is-active > .wrap { animation: rise 0.35s ease-out; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
  }
}

.wrap {
  width: 100%;
  max-width: 34rem;
  text-align: center;
}

/* ---------- type ---------- */

.kicker {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 1.15rem;
  color: var(--green-haze);
  margin-bottom: 1rem;
}

.kicker--valhalla { color: var(--deep-sea); }

.hero {
  font-family: var(--font-hero);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 9vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
}

.hero--small { font-size: clamp(2rem, 7.5vw, 2.8rem); }

.hero--results { color: var(--valhalla); }

/* ---------- intro ---------- */

.intro-copy {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.intro-copy--sub {
  color: var(--green-haze);
  font-size: 0.98rem;
  margin-bottom: 2rem;
}

.intro-meta {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 1.05rem;
  color: var(--green-haze);
  margin-top: 1.5rem;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 1.2rem;
  border-radius: 999px;
  padding: 1rem 2.5rem;
  min-height: 48px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

/* Special Orange: fills only, CTA only, kept scarce */
.btn--cta {
  background: var(--special-orange);
  color: var(--pure-white);
}

.btn--cta:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(238, 115, 58, 0.35); }
.btn--cta:active { transform: none; }

.btn:focus-visible,
.btn-answer:focus-visible,
.btn-back:focus-visible,
.gate-input:focus-visible {
  outline: 3px solid var(--deep-sea);
  outline-offset: 3px;
}

.screen--dark .btn:focus-visible,
.screen--dark .gate-input:focus-visible {
  outline-color: var(--green-haze);
}

/* ---------- quiz ---------- */

.quiz-wrap { max-width: 38rem; }

.quiz-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.btn-back {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 1rem;
  color: var(--deep-sea);
  padding: 0.75rem 0.5rem;
  min-height: 48px;
}

.btn-back:disabled { visibility: hidden; }

.progress-label {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 1.2rem;
  color: var(--valhalla);
}

.progress-track {
  height: 6px;
  border-radius: 3px;
  background: #ECECEC;
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.progress-fill {
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: var(--valhalla);
  transition: width 0.25s ease;
}

@media (prefers-reduced-motion: reduce) {
  .progress-fill { transition: none; }
}

.question-card {
  min-height: 9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.question-text {
  font-size: clamp(1.25rem, 4.5vw, 1.55rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--galaxy-black);
}

.answers {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.btn-answer {
  flex: 1;
  max-width: 9.5rem;
  min-height: 92px;
  cursor: pointer;
  background: var(--pure-white);
  border: 2px solid var(--green-haze);
  border-radius: 14px;
  padding: 0.9rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  transition: border-color 0.12s ease, background 0.12s ease, transform 0.12s ease;
}

.btn-answer:hover {
  border-color: var(--deep-sea);
  transform: translateY(-2px);
}

.btn-answer.is-selected {
  border-color: var(--valhalla);
  background: var(--valhalla);
}

.btn-answer.is-selected .btn-answer__key,
.btn-answer.is-selected .btn-answer__label { color: var(--pure-white); }

.btn-answer__key {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.1rem;
  line-height: 1.1;
  color: var(--valhalla);
}

.btn-answer__label {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 1rem;
  color: var(--deep-sea);
}

/* ---------- email gate ---------- */

.gate-wrap { max-width: 30rem; }

.gate-copy {
  font-size: 1.02rem;
  margin-bottom: 2rem;
}

.gate-label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 1.05rem;
  color: var(--green-haze);
  text-align: left;
  margin-bottom: 0.4rem;
}

.gate-input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--galaxy-black);
  background: var(--pure-white);
  border: 2px solid var(--green-haze);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  min-height: 52px;
  margin-bottom: 1.25rem;
}

.gate-input::placeholder { color: #9a9a9a; font-style: italic; }

#gate-form .btn--cta { width: 100%; }

#gate-form .btn--cta:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.gate-error {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--green-haze);
  background: rgba(163, 177, 155, 0.12);
  border: 1px solid var(--green-haze);
  border-radius: 10px;
  padding: 0.75rem 1rem;
}

.gate-fineprint {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--green-haze);
}

.gate-fineprint a { color: var(--green-haze); }

.quiz-legal {
  margin-top: 1.25rem;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
}

.quiz-legal a {
  color: var(--green-haze);
  text-decoration: none;
}

.quiz-legal a:hover { text-decoration: underline; }

/* ---------- results ---------- */

.results-wrap { max-width: 32rem; padding: 2rem 0; }

.results-framing {
  font-size: 0.98rem;
  margin-bottom: 2rem;
}

.result-card {
  background: var(--pure-white);
  border: 2px solid var(--green-haze);
  border-left: 8px solid var(--valhalla);
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
  margin-bottom: 1.1rem;
  text-align: left;
}

.result-card--features { border-left-color: var(--deep-sea); }

.result-card__category {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 1.15rem;
  color: var(--deep-sea);
  margin-bottom: 0.3rem;
}

.result-card__winner {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.9rem;
  line-height: 1.15;
  color: var(--valhalla);
}

.result-card__tienote {
  margin-top: 0.6rem;
  font-size: 0.92rem;
  font-style: italic;
  color: var(--galaxy-black);
}

.feature-list {
  list-style: none;
}

.feature-list li {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.4rem;
  color: var(--valhalla);
  padding: 0.2rem 0;
}

.feature-list li::before {
  content: "\2726"; /* four-pointed star — brand icon language */
  color: var(--deep-sea);
  margin-right: 0.6rem;
}

.results-inbox {
  margin-top: 1.8rem;
  font-size: 0.98rem;
}

.signoff-line {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 1.25rem;
  color: var(--valhalla);
  margin-top: 2rem;
}

.signoff-accent {
  font-family: var(--font-accent);
  font-size: 2.8rem;
  line-height: 1;
  color: var(--deep-sea);
  transform: rotate(-3deg);
  margin: 0.2rem 0 0.6rem;
}

.signoff-brand {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 1rem;
  color: var(--green-haze);
}

/* ---------- small screens ---------- */

@media (max-width: 420px) {
  .answers { gap: 0.5rem; }
  .btn-answer { min-height: 84px; }
  .result-card { padding: 1.2rem 1.1rem; }
}
