/* Intake form. Without JavaScript it is one long form; with it, one step per screen. */
.intake { max-width: 720px; padding-top: clamp(40px, 8vw, 80px); padding-bottom: 80px; }
.intro h1 { font-size: clamp(38px, 7vw, 64px); max-width: 16ch; }
.intro .lede { margin-bottom: 32px; }

.progress { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 0; margin: 0 0 16px; counter-reset: p; }
.progress li { font-size: 12px; color: var(--muted); padding-top: 10px; border-top: 3px solid var(--line); text-align: center; }
.progress li.on { color: var(--fg); border-color: var(--accent); }

.step { border: 0; padding: 0; margin: 0 0 28px; display: grid; gap: 16px; min-width: 0; }
.step legend { font-family: var(--serif); font-size: 30px; padding: 0; margin-bottom: 14px; }
.js .step { display: none; }
.js .step.on { display: grid; }
.hint { color: var(--muted); font-size: 14px; margin: -6px 0 0; }

.rows { display: grid; gap: 10px; }
.row { display: grid; grid-template-columns: 1fr 110px; gap: 10px; }

.drop {
  display: grid; place-items: center; text-align: center; gap: 6px; min-height: 130px; padding: 20px;
  border: 1.5px dashed color-mix(in srgb, var(--accent) 50%, var(--line)); border-radius: 14px; cursor: pointer; color: var(--muted);
}
.drop strong { color: var(--accent); }
.drop input { max-width: 100%; color: var(--muted); }
.js .drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.thumbs figure { margin: 0; position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--surface); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button {
  position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; border: 0;
  background: rgba(0, 0, 0, 0.65); color: #fff; font-size: 16px; line-height: 1; cursor: pointer;
}

.choices { display: grid; gap: 10px; }
.choice { position: relative; display: grid !important; grid-template-columns: 54px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.choice:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.choice:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.choice small { color: var(--muted); grid-column: 2; }
.swatch { grid-row: 1 / 3; width: 54px; height: 54px; border-radius: 12px; }
.sw-clean { background: linear-gradient(135deg, #ffffff, #e8eef9); }
.sw-bold { background: linear-gradient(135deg, #0a0a0c, #b0081f); }
.sw-lux { background: linear-gradient(135deg, #14110c, #c8a45c); }

.checks { display: grid; gap: 10px; }
.check { display: flex !important; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; font-weight: 400 !important; }
.check:has(input:checked) { border-color: var(--accent); }
.check input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; flex: none; accent-color: var(--accent); }
.check strong { display: block; font-weight: 600; }
.check span { color: var(--muted); }
.check strong { color: var(--fg); }
.consent { border-style: dashed; }
.consent-error { margin: 0; color: #ffb3bd; font-size: 14px; }

.nav { display: flex; gap: 10px; justify-content: space-between; }
.nav .btn { flex: 1; }
.js .nav [data-submit] { display: none; }
.js .nav.last [data-submit] { display: inline-flex; }
.js .nav.last [data-next] { display: none !important; }
.sending { color: var(--muted); font-size: 14px; text-align: center; }
.cost { font-style: normal; font: 500 12px var(--mono); color: var(--accent); margin-left: 6px; white-space: nowrap; }
