/* Intro and the six question screens. */

/* ── Intro ────────────────────────────────────────────────────── */
.intro { padding-block: clamp(3rem, 8vw, 6rem) 2rem; }
.intro-grid {
  display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.intro h1 { margin-bottom: .55em; }
.intro h1 em { font-style: normal; color: var(--brand); }
.intro .lede { font-size: 1.2rem; margin-bottom: 2rem; }
.intro-cta { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

.intro-facts {
  display: flex; flex-wrap: wrap; gap: 1.75rem;
  margin-top: 2.75rem; padding-top: 1.75rem; border-top: 1px solid var(--line-soft);
}
.intro-facts div { min-width: 90px; }
.intro-facts b {
  display: block; font-size: 1.6rem; color: var(--ink-2);
  font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.intro-facts span { font-size: .8rem; color: var(--ink-4); }

/* The exploded board on the intro — built from real catalogue photos. */
.intro-art { position: relative; aspect-ratio: 1 / 1; }
.intro-art .slab {
  position: absolute; border-radius: var(--r-lg); overflow: hidden;
  background: var(--paper); border: 1px solid var(--line-soft); box-shadow: var(--shadow);
}
.intro-art .slab img {
  position: absolute; inset: 6%; width: 88%; height: 88%;
  object-fit: contain; display: block;
}
.intro-art .s1 { left: 0; top: 0; bottom: 0; width: 46%; z-index: 3; }
.intro-art .s2 { right: 0; top: 0;      width: 50%; height: 31.3%; z-index: 2; }
.intro-art .s3 { right: 0; top: 34.35%; width: 50%; height: 31.3%; z-index: 2; }
.intro-art .s4 { right: 0; bottom: 0;   width: 50%; height: 31.3%; z-index: 2; }
.intro-art .halo {
  position: absolute; inset: 8% 10%; border-radius: 50%;
  background: radial-gradient(circle, var(--brand-tint) 0%, transparent 68%); z-index: 0;
}

/* ── Question screens ─────────────────────────────────────────── */
.step { padding-block: clamp(2.25rem, 5vw, 3.75rem) 2rem; animation: rise .3s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.step-head { max-width: 64ch; margin-bottom: 2.25rem; }
.step-head h2 { margin-bottom: .35em; }
.step-head p { color: var(--ink-4); margin: 0; }

/* Option cards */
.options { display: grid; gap: 14px; }
.options.cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.options.cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.options.cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }

.opt {
  position: relative; display: flex; flex-direction: column; gap: .4rem;
  text-align: left; padding: 1.1rem 1.15rem 1.2rem;
  background: var(--paper); border: 1.5px solid var(--line);
  border-radius: var(--r-lg); cursor: pointer; font: inherit; color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease, transform .08s ease;
}
.opt:hover { border-color: var(--ink-5); box-shadow: var(--shadow-sm); }
.opt:active { transform: translateY(1px); }
.opt[aria-pressed="true"] {
  border-color: var(--brand); background: var(--brand-tint); box-shadow: 0 0 0 3px var(--brand-edge);
}
.opt .opt-icon { width: 46px; height: 30px; margin-bottom: .35rem; color: var(--ink-4); }
.opt[aria-pressed="true"] .opt-icon { color: var(--brand); }
.opt b { color: var(--ink-2); font-size: 1.02rem; font-weight: 680; letter-spacing: -.012em; }
.opt span { font-size: .875rem; color: var(--ink-4); line-height: 1.42; }

/* Sliders */
.slider-row { max-width: 620px; }
.slider-row + .slider-row { margin-top: 2.5rem; }
.slider-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: .35rem; }
.slider-head label { font-weight: 650; color: var(--ink-2); }
.slider-val {
  font-size: 1.9rem; font-weight: 750; color: var(--brand);
  letter-spacing: -.025em; font-variant-numeric: tabular-nums; line-height: 1;
}
.slider-val small { font-size: .95rem; color: var(--ink-4); font-weight: 600; margin-left: .15rem; }

input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 26px;
  background: transparent; cursor: pointer; margin: 0;
}
input[type=range]::-webkit-slider-runnable-track {
  height: 6px; border-radius: 3px; background: var(--surface-3);
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--paper); border: 2.5px solid var(--brand);
  box-shadow: var(--shadow-sm); margin-top: -9px;
}
input[type=range]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--surface-3); }
input[type=range]::-moz-range-thumb {
  width: 21px; height: 21px; border-radius: 50%; background: var(--paper);
  border: 2.5px solid var(--brand); box-shadow: var(--shadow-sm);
}
.slider-scale {
  display: flex; justify-content: space-between;
  font-size: .75rem; color: var(--ink-5); margin-top: .1rem; font-variant-numeric: tabular-nums;
}
.slider-note {
  margin-top: .9rem; padding: .7rem .9rem; background: var(--surface);
  border-left: 3px solid var(--brand-bright); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: .875rem; color: var(--ink-3);
}
.slider-note b { color: var(--ink-2); }

/* Step navigation */
.step-nav {
  display: flex; align-items: center; gap: .75rem;
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-soft);
}
.step-nav .grow { flex: 1; }
.step-hint { font-size: .85rem; color: var(--ink-5); }

@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; }
  .intro-art { max-width: 420px; }
  .options.cols-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .options.cols-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .options.cols-2, .options.cols-3, .options.cols-4 { grid-template-columns: 1fr; }
}
