/* ===== QUIZ COVER SCREEN ===== */
#quiz-cover {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: var(--cream);
  padding: 4rem 1.5rem;
  text-align: center;
}
#quiz-cover.fade-out {
  opacity: 0;
  transform: translateY(-12px);
  filter: blur(6px);
  transition: opacity 0.5s ease, transform 0.5s ease, filter 0.5s ease;
}
.cover-inner {
  max-width: 440px;
  opacity: 0;
  transform: translateY(20px);
  filter: blur(8px);
  animation: coverReveal 0.8s cubic-bezier(0.16,1,0.3,1) 0.2s forwards;
}
@keyframes coverReveal {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.cover-body {
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--t2);
  margin-bottom: 2rem;
}
.cover-body strong {
  color: var(--ink);
  font-weight: 600;
}
.cover-meta {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.cover-note-top {
  font-family: var(--body);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--t3);
  margin-bottom: 2.5rem;
}
.cover-btn {
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  padding: 16px 48px;
  background: var(--ink);
  color: var(--cream);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}
.cover-btn:hover {
  box-shadow: 0 8px 32px rgba(42,37,35,.2);
  transform: translateY(-2px);
}
.cover-note {
  display: block;
  font-family: var(--body);
  font-size: 12px;
  color: var(--t3);
  margin-top: 1.25rem;
}

/* ===== ASSESSMENT SCREEN ===== */
#assessment {
  align-items: center;
  padding: 0;
  background: var(--cream);
}
.progress-bar-container {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  background: var(--cream);
  padding: 5rem 1.5rem .75rem;
}
.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 600px;
  margin: 0 auto 0.6rem;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--t2);
}
.progress-track {
  max-width: 600px;
  margin: 0 auto;
  height: 4px;
  background: rgba(42,37,35,.18);
  border-radius: 2px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: width 0.4s ease;
  width: 0%;
}

/* ===== SCALE TRANSITION SCREEN ===== */
.scale-transition {
  display: none;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.scale-transition.visible {
  opacity: 1;
}
.transition-inner {
  max-width: 480px;
  text-align: center;
}
.transition-label {
  display: inline-block;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--t3);
  margin-bottom: 1.5rem;
}
.transition-stem {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}
.transition-context {
  font-family: var(--body);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--t2);
  margin-bottom: 2.5rem;
  text-wrap: balance;
}
.transition-btn {
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 40px;
  background: var(--ink);
  color: var(--cream);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.transition-btn:hover {
  box-shadow: 0 8px 32px rgba(42,37,35,.2);
  transform: translateY(-2px);
}

/* ===== QUESTION AREA ===== */
.question-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2.5rem 1.5rem 3rem;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}
.question-stem {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--t3);
  margin-bottom: 1rem;
  text-align: center;
}
.question-text {
  font-family: var(--display);
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  color: var(--ink);
  margin-bottom: 2.5rem;
  min-height: 4.5rem;
  text-wrap: balance;
}

/* Bold negation emphasis */
.neg-emphasis {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--mobilizer);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  width: 100%;
}
.option-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 14px 20px;
  font-family: var(--body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text);
  background: transparent;
  border: 1px solid rgba(42,37,35,.15);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}
.option-btn:hover {
  border-color: rgba(42,37,35,.3);
  background: rgba(42,37,35,.04);
}
.option-btn.selected {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
  font-weight: 600;
}
.option-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  border: 1px solid rgba(42,37,35,.15);
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.25s ease;
  color: var(--t3);
}
.option-btn.selected .option-num {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}

.nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  width: 100%;
}
.btn-back {
  font-family: var(--body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--t2);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}
.btn-back:hover { color: var(--ink); }
.btn-back:disabled { opacity: 0; cursor: default; }

/* Fade transition */
.fade-enter { opacity: 0; transform: translateY(12px); filter: blur(8px); }
.fade-active { opacity: 1; transform: translateY(0); filter: blur(0); transition: opacity 0.4s cubic-bezier(0.16,1,0.3,1), transform 0.4s cubic-bezier(0.16,1,0.3,1), filter 0.4s cubic-bezier(0.16,1,0.3,1); }

/* ===== MOBILE: suppress hover on touch devices ===== */
@media (hover: none) {
  .option-btn:hover {
    border-color: rgba(42,37,35,.15);
    background: transparent;
    color: var(--text);
  }
  .option-btn.selected:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--cream);
  }
}

/* ===== EMAIL CAPTURE ===== */
#email-capture {
  background: var(--cream);
  color: var(--text);
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 1.5rem;
}
.email-capture-inner {
  max-width: 480px;
  width: 100%;
}
.email-capture-inner h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: 2.75rem;
  color: var(--ink);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.email-capture-inner > p {
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--t2);
  margin-bottom: 2.5rem;
}
.email-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}
.email-field {
  position: relative;
}
.email-field label {
  display: block;
  font-family: var(--display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--t3);
  margin-bottom: 8px;
}
.email-form input {
  font-family: var(--body);
  font-size: 1rem;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--ink);
  outline: none;
  width: 100%;
  transition: border-color 0.3s ease;
}
.email-form input::placeholder { color: var(--t3); }
.email-form input:focus { border-bottom-color: var(--ink); }
/* Role Toggle */
.role-toggle {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 100px;
  overflow: hidden;
}
.role-btn {
  flex: 1;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 16px;
  background: transparent;
  color: var(--t2);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.role-btn + .role-btn {
  border-left: 1px solid var(--border);
}
.role-btn.active {
  background: var(--ink);
  color: var(--cream);
  font-weight: 600;
}
.role-btn:hover:not(.active) {
  background: rgba(42,37,35,0.06);
}
/* Graduation Year */
.grad-year-field {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
  margin-top: 0;
}
.grad-year-field.visible {
  max-height: 80px;
  opacity: 1;
  margin-top: 0;
}
.grad-year-field select {
  font-family: var(--body);
  font-size: 1rem;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--ink);
  outline: none;
  width: 100%;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  transition: border-color 0.3s ease;
}
.grad-year-field select:focus {
  border-bottom-color: var(--ink);
}

.email-form button[type="submit"] {
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  padding: 16px 40px;
  background: var(--ink);
  color: var(--cream);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}
.email-form button[type="submit"]:hover { box-shadow: 0 8px 32px rgba(42,37,35,.2); transform: translateY(-2px); }
.email-form button[type="submit"]:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.email-form-note {
  font-size: 12px;
  color: var(--t3);
  margin-top: 1rem;
  text-align: center;
}

/* ===== QUIZ MOBILE ===== */
@media (max-width: 768px) {
  .progress-bar-container {
    padding-top: 6rem;
  }
}
@media (max-width: 480px) {
  .question-text { font-size: 1.25rem; }
  .email-capture-inner h2 { font-size: 2.25rem; }
}
