/* ── RESET & ROOT ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:        #1a1612;
  --ink-2:      #4a4540;
  --ink-3:      #9a9088;
  --paper:      #f5f1e8;
  --paper-2:    #ede8dc;
  --paper-3:    #e4ddd0;
  --gold:       #b8862a;
  --gold-lt:    #d4a94e;
  --gold-bg:    #f9f3e6;

  --strategist: #2d6e5e;
  --builder:    #c44a24;
  --analyst:    #2a4f8a;
  --creator:    #7a3a72;
  --connector:  #5a6e2a;

  --radius:     16px;
  --shadow:     0 2px 24px rgba(26,22,18,.08);
  --shadow-lg:  0 8px 48px rgba(26,22,18,.12);
}

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Outfit', sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── SCREENS ─────────────────────────────────────────────────────── */
.screen { display: none; }
.screen.show { display: flex; }

/* ══════════════════════════════════════════════════════════════════
   LANDING
══════════════════════════════════════════════════════════════════ */
#s-landing {
  min-height: 100vh;
  flex-direction: row;
  position: relative;
  overflow: hidden;
}

.landing-left {
  width: 280px;
  flex-shrink: 0;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
}
.landing-left::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 40px solid rgba(255,255,255,.04);
}

.left-tag {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-lt);
  font-weight: 500;
  margin-bottom: 48px;
}

.archetype-stack { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }

.ast-item {
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  font-weight: 400;
  padding: 8px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  opacity: 0;
  transform: translateX(-8px);
  animation: slideIn .4s ease forwards;
  animation-delay: var(--d, 0s);
}
@keyframes slideIn { to { opacity: 1; transform: translateX(0); } }

.landing-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 48px;
  background: var(--paper);
}
.landing-inner { max-width: 500px; width: 100%; }

.landing-kicker {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.landing-kicker::before {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--gold);
}

.landing-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.0;
  color: var(--ink);
  margin-bottom: 28px;
}
.landing-title em { font-style: italic; color: var(--gold); }

.landing-para {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 36px;
  max-width: 420px;
}
.landing-para p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.7;
  font-weight: 300;
}
.landing-para p:nth-child(2) {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  font-style: italic;
}
.landing-para strong { color: var(--ink); font-weight: 600; }

.landing-points {
  list-style: none;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.landing-points li {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 600;
  color: var(--ink);
  padding-left: 20px;
  position: relative;
  line-height: 1.3;
}
.landing-points li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 400;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 16px 40px;
  font-size: 15px;
  font-weight: 500;
  font-family: 'Outfit', sans-serif;
  border-radius: 100px;
  cursor: pointer;
  letter-spacing: .3px;
  transition: all .25s ease;
  margin-bottom: 16px;
}
.btn-cta:hover {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(184,134,42,.25);
}
.btn-arrow { transition: transform .2s ease; }
.btn-cta:hover .btn-arrow { transform: translateX(4px); }

.landing-note {
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: .5px;
}

.floating-thoughts {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.ft {
  position: absolute;
  left: var(--x);
  top: var(--y);
  font-size: var(--s);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--ink-2);
  opacity: 0;
  white-space: nowrap;
  animation: fadeThought 9s ease-in-out infinite;
  animation-delay: var(--d);
}
@keyframes fadeThought {
  0%   { opacity: 0;        transform: translateY(12px); }
  15%  { opacity: var(--o); transform: translateY(0px); }
  50%  { opacity: var(--o); transform: translateY(-10px); }
  85%  { opacity: var(--o); transform: translateY(0px); }
  100% { opacity: 0;        transform: translateY(12px); }
}

/* ══════════════════════════════════════════════════════════════════
   SHARED QUESTION / INTAKE SHELL
══════════════════════════════════════════════════════════════════ */
#s-question, #s-intake {
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  background: var(--paper);
}

.q-shell {
  width: 100%;
  max-width: 720px;
  padding: 0 24px 60px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.q-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 0;
  margin-bottom: 40px;
}

.q-logo {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}

.q-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

#q-counter, #q-pct, .intake-step-label {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 400;
  white-space: nowrap;
}

.pbar-wrap {
  width: 120px;
  height: 3px;
  background: var(--paper-3);
  border-radius: 10px;
  overflow: hidden;
}
.pbar-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 10px;
  transition: width .5s cubic-bezier(.4,0,.2,1);
  width: 0%;
}

.q-stage {
  flex: 1;
  display: flex;
  align-items: flex-start;
  padding-top: 20px;
}

.q-card {
  width: 100%;
  background: white;
  border-radius: 24px;
  padding: 48px 48px 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(26,22,18,.06);
  animation: cardIn .35s cubic-bezier(.4,0,.2,1);
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.q-badge {
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px;
  font-weight: 700;
  color: var(--paper-2);
  line-height: 1;
  margin-bottom: 12px;
  user-select: none;
}

.q-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 32px;
}

.opt-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.opt-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1.5px solid var(--paper-3);
  border-radius: 12px;
  cursor: pointer;
  transition: all .18s ease;
  background: transparent;
  width: 100%;
  text-align: left;
  font-family: 'Outfit', sans-serif;
}
.opt-item:hover {
  border-color: var(--gold);
  background: var(--gold-bg);
  transform: translateX(4px);
}
.opt-item.chosen {
  border-color: var(--gold);
  background: var(--gold-bg);
}

.opt-key {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1.5px solid var(--paper-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: .5px;
  flex-shrink: 0;
  transition: all .18s ease;
}
.opt-item:hover .opt-key,
.opt-item.chosen .opt-key {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(184,134,42,.1);
}

.opt-text {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
  font-weight: 400;
}
.opt-sub {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 300;
}

/* ── MILESTONE BANNER ───────────────────────────────────────────── */
.milestone-banner {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--gold);
  letter-spacing: .5px;
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity .4s ease, height .3s ease;
  margin-bottom: 0;
}
.milestone-banner.show {
  height: 32px;
  opacity: 1;
  margin-bottom: 8px;
}

/* ── INTAKE ─────────────────────────────────────────────────────── */
.intake-hint {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: -20px;
  margin-bottom: 28px;
  font-weight: 300;
  line-height: 1.6;
}

/* Intake card options: big clickable cards */
.intake-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.intake-card-opt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 24px;
  border: 1.5px solid var(--paper-3);
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
  transition: all .18s ease;
  text-align: left;
  font-family: 'Outfit', sans-serif;
  width: 100%;
}
.intake-card-opt:hover {
  border-color: var(--gold);
  background: var(--gold-bg);
  transform: translateX(4px);
}
.ic-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 3px;
}
.ic-sub {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 300;
}

/* Intake select */
.intake-select-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.intake-sel {
  width: 100%;
  background: var(--paper);
  border: 1.5px solid var(--paper-3);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 14px;
  color: var(--ink);
  font-family: 'Outfit', sans-serif;
  outline: none;
  transition: border-color .2s ease;
  -webkit-appearance: none;
  cursor: pointer;
}
.intake-sel:focus { border-color: var(--gold); background: white; }

.intake-continue {
  align-self: flex-start;
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Outfit', sans-serif;
  border-radius: 100px;
  cursor: pointer;
  transition: all .2s ease;
  margin-bottom: 0;
}
.intake-continue:hover {
  background: var(--gold);
  transform: translateY(-2px);
}

.btn-skip {
  background: transparent;
  border: none;
  color: var(--ink-3);
  font-size: 13px;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  padding: 4px 0;
  text-align: left;
  transition: color .2s ease;
}
.btn-skip:hover { color: var(--ink); }

/* ══════════════════════════════════════════════════════════════════
   RESULT
══════════════════════════════════════════════════════════════════ */
#s-result {
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  background: var(--paper);
  padding: 0 24px 80px;
}

.r-shell {
  width: 100%;
  max-width: 760px;
  padding-top: 64px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* hero */
.r-hero { text-align: center; margin-bottom: 8px; }

.r-kicker {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.r-kicker::before, .r-kicker::after {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--gold);
}

.r-combo {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 20px;
}

.r-tagline {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.8;
  font-weight: 300;
  max-width: 520px;
  margin: 0 auto;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 20px;
}

/* cards */
.r-card {
  background: white;
  border: 1px solid rgba(26,22,18,.07);
  border-radius: 20px;
  padding: 28px 32px;
  box-shadow: var(--shadow);
}

.rc-label {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin-bottom: 14px;
}

/* Description */
.r-card--desc { }
.r-desc {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.85;
  font-weight: 300;
}

/* Notes two col */
.r-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.r-card--note { }
.rc-note-primary  { color: var(--strategist) !important; }
.rc-note-secondary { color: var(--analyst) !important; }

.r-note-text {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.75;
  font-weight: 300;
}

/* Watch out */
.r-card--watchout {
  border-left: 3px solid var(--builder);
}
.r-card--watchout .rc-label { color: var(--builder) !important; }

/* Verdict */
#r-verdict { }
.r-card--verdict {
  border-left: 3px solid var(--gold);
}
.r-card--verdict-match    { border-left-color: var(--strategist); }
.r-card--verdict-mismatch { border-left-color: var(--builder); }
.r-card--verdict-explore  { border-left-color: var(--analyst); }
.r-card--verdict-match    .rc-label { color: var(--strategist) !important; }
.r-card--verdict-mismatch .rc-label { color: var(--builder) !important; }
.r-card--verdict-explore  .rc-label { color: var(--analyst) !important; }

.r-verdict-text {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 16px;
}

.verdict-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.verdict-chip {
  background: var(--paper);
  border: 1px solid var(--paper-3);
  color: var(--ink-2);
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 100px;
  font-weight: 400;
  letter-spacing: .2px;
}

/* Careers grid */
.r-section-label {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin-bottom: -4px;
  margin-top: 4px;
}

.r-careers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.r-career-item {
  background: white;
  border: 1px solid rgba(26,22,18,.07);
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: var(--shadow);
  animation: cardIn .35s cubic-bezier(.4,0,.2,1) both;
}
.rci-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.rci-why {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.6;
  font-weight: 300;
}
.rci-day-label {
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin-top: 12px;
  opacity: 0.7;
}
.rci-day {
  font-size: 11px;
  color: var(--ink-3);
  line-height: 1.6;
  font-weight: 300;
  font-style: italic;
  margin-top: 4px;
  padding-top: 0;
  border-top: none;
}

/* Score bars */
.r-card--scores { }
.score-rows { display: flex; flex-direction: column; gap: 14px; }
.s-row { display: flex; flex-direction: column; gap: 5px; }
.s-info { display: flex; justify-content: space-between; align-items: baseline; }
.s-name {
  font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--ink-2); font-weight: 500;
}
.s-val { font-size: 11px; color: var(--ink-3); }
.s-track {
  height: 5px; background: var(--paper-2);
  border-radius: 10px; overflow: hidden;
}
.s-fill {
  height: 100%; border-radius: 10px;
  transition: width 1.1s cubic-bezier(.4,0,.2,1);
  width: 0%;
}
.s-fill.strategist { background: var(--strategist); }
.s-fill.builder    { background: var(--builder); }
.s-fill.analyst    { background: var(--analyst); }
.s-fill.creator    { background: var(--creator); }
.s-fill.connector  { background: var(--connector); }

/* Form */
.r-card--form { }
.form-sub {
  font-size: 14px; color: var(--ink-3);
  line-height: 1.65; margin-bottom: 24px; font-weight: 300;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.f-in {
  width: 100%;
  background: var(--paper);
  border: 1.5px solid var(--paper-3);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 14px;
  color: var(--ink);
  font-family: 'Outfit', sans-serif;
  outline: none;
  transition: border-color .2s ease;
  -webkit-appearance: none;
}
.f-in:focus { border-color: var(--gold); background: white; }
.f-in::placeholder { color: var(--ink-3); }
.f-sel { cursor: pointer; }
.f-sel option { background: white; color: var(--ink); }

.btn-submit {
  margin-top: 8px;
  background: var(--ink);
  color: white;
  display: flex;
  justify-content: center;
  width: 100%;
  font-size: 15px;
}

.form-thanks {
  display: none;
  padding: 32px 0 8px;
  text-align: center;
}
.thanks-check {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(45,110,94,.1);
  border: 1.5px solid var(--strategist);
  color: var(--strategist);
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.form-thanks p { font-size: 15px; color: var(--ink-2); line-height: 1.6; }

/* Footer */
.r-footer { text-align: center; padding-top: 16px; }
.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--paper-3);
  color: var(--ink-3);
  padding: 12px 32px;
  border-radius: 100px;
  font-size: 14px;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  transition: all .2s ease;
}
.btn-ghost:hover { border-color: var(--ink-2); color: var(--ink); }

/* Back button */
.q-back-row {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--paper-2);
}
.btn-back {
  background: transparent;
  border: none;
  color: var(--ink-3);
  font-size: 13px;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  padding: 4px 0;
  transition: color .2s ease;
}
.btn-back:hover { color: var(--ink); }
.btn-back.hidden { display: none; }

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════════ */
@media (max-width: 700px) {
  #s-landing { flex-direction: column; }
  .landing-left { width: 100%; padding: 32px 28px 24px; flex-direction: row; align-items: center; }
  .archetype-stack { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .ast-item { font-size: 10px; border-top: none; padding: 4px 0; }
  .landing-right { padding: 40px 28px; }
  .r-two-col { grid-template-columns: 1fr; }
  .r-careers-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .q-card { padding: 32px 24px 28px; }
  .r-combo { font-size: 34px; }
}

@media (max-width: 480px) {
  .q-header { flex-direction: column; align-items: flex-start; gap: 12px; }
}
