/* Purpose Wheel — 4-step tool. Scoped to .ws--banner .pw-* classes. */

/* ============== Stepped flow: single-step visibility ============== */
.ws--banner[data-pw-flow] .pw-step {
  display: none;
  padding: 8px 0 36px;
  border-top: 0;
}
.ws--banner[data-pw-flow="1"] .pw-step[data-step="1"],
.ws--banner[data-pw-flow="2"] .pw-step[data-step="2"],
.ws--banner[data-pw-flow="3"] .pw-step[data-step="3"],
.ws--banner[data-pw-flow="4"] .pw-step[data-step="4"] { display: block; }

/* Print: show all steps, hide tracker + nav */
@media print {
  .ws--banner[data-pw-flow] .pw-step { display: block !important; break-inside: avoid; padding: 24px 0; border-top: 1px solid #000; }
  .ws--banner[data-pw-flow] .pw-step:first-of-type { border-top: 0; }
  .ws--banner[data-pw-flow] .ar-tracker,
  .ws--banner[data-pw-flow] .ar-nav { display: none !important; }
}

/* Section chrome shared across all 4 steps */
.ws--banner .pw-step {
  padding: 36px 0;
  border-top: 1px solid var(--rule);
}
.ws--banner .pw-step:first-child { padding-top: 4px; border-top: 0; }
.ws--banner .pw-step__kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cap-2, #c94536);
  margin: 0 0 10px;
}
.ws--banner .pw-step__num {
  font-size: 28px;
  letter-spacing: 0;
  font-weight: 500;
  line-height: 1;
}
.ws--banner .pw-step__title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.ws--banner .pw-step__sub {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  max-width: 68ch;
  margin: 0 0 24px;
}

.ws--banner .pw-dot {
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---------- STEP 01 ---------- */
.pw-center {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 36px;
  align-items: start;
}
.pw-center__wheel { position: relative; }
.pw-center__wheel svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.08));
}
.pw-slice {
  cursor: pointer;
  transition: transform .18s ease, opacity .18s ease, filter .18s ease;
  transform-origin: center;
  transform-box: fill-box;
}
.pw-slice:hover { filter: brightness(1.06); }
.pw-slice.is-on {
  filter: brightness(1.08) saturate(1.1);
}
.pw-slice.is-dim { opacity: 0.32; }

.pw-slice__label {
  fill: #fff;
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  pointer-events: none;
}
.pw-slice__label--sm { font-size: 7.5px; }

.pw-center__hint {
  font-size: 13px;
  color: var(--muted, #666);
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.pw-center__legend {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pw-center__legend-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}
.pw-center__legend-row .pw-dot { margin-top: 4px; }
.pw-center__legend-row strong {
  display: block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 2px;
}
.pw-center__legend-blurb,
.pw-center__legend-eg {
  display: block;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted, #555);
}
.pw-center__legend-eg {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--muted, #888);
  margin-top: 2px;
}

.pw-center__picked-kicker {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted, #666);
  margin: 0 0 6px;
}
.pw-center__picked-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.pw-center__picked-title .pw-dot { width: 16px; height: 16px; }
.pw-center__picked-blurb {
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 8px;
}
.pw-center__picked-eg {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted, #888);
  margin: 0 0 20px;
}
.pw-center__picked-draft {
  padding: 14px 16px;
  border: 1px solid var(--rule);
  background: #fafafa;
  font-size: 15px;
  line-height: 1.4;
  margin: 0;
}
.pw-center__picked-draft strong { font-weight: 600; }

/* ---------- STEP 02 ---------- */
.pw-circle {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.pw-circle__card {
  border: 1px solid var(--rule);
  border-top: 4px solid var(--slice-color);
  padding: 18px 18px 16px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pw-circle__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}
.pw-circle__head .pw-dot { width: 14px; height: 14px; margin-top: 3px; }
.pw-circle__label {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted, #888);
  margin: 0 0 2px;
}
.pw-circle__name {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 0 0 4px;
  line-height: 1.15;
}
.pw-circle__blurb {
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted, #555);
  margin: 0;
}
.pw-circle__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pw-circle__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pw-circle__field > span {
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink);
}
.pw-circle__field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 6px 0;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.5;
  background: transparent;
  resize: vertical;
  min-height: 44px;
}
.pw-circle__field textarea:focus {
  outline: 0;
  border-bottom-color: var(--slice-color);
}
.pw-circle__fit {
  padding-top: 12px;
  border-top: 1px dashed var(--rule);
}
.pw-circle__fit > p {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted, #888);
  margin: 0 0 8px;
}
.pw-circle__fit-choice {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.pw-circle__fit-choice button {
  border: 1px solid var(--rule);
  background: #fff;
  padding: 6px 10px;
  font-family: var(--font-sans);
  font-size: 11.5px;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.pw-circle__fit-choice button:hover { border-color: var(--ink); }
.pw-circle__fit-choice button.is-on {
  background: var(--slice-color);
  color: #fff;
  border-color: var(--slice-color);
}

/* ---------- STEP 03 ---------- */
.pw-how {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 32px;
  align-items: start;
}
.pw-how__wheel svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.1));
}
.pw-wedge {
  cursor: pointer;
  transition: opacity .18s ease, filter .18s ease;
}
.pw-wedge:hover { filter: brightness(1.08); }
.pw-wedge.is-on { filter: brightness(1.1) saturate(1.15); }
.pw-wedge.is-dim { opacity: 0.35; }
.pw-wedge__label {
  fill: #fff;
  font-family: var(--font-sans);
  font-size: 6.5px;
  font-weight: 500;
  letter-spacing: 0;
  pointer-events: none;
}

.pw-how__panel {
  padding: 20px;
  border: 1px solid var(--rule);
  background: #fafafa;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pw-how__label,
.pw-how__picks-label {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted, #666);
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.pw-how__sentence {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.005em;
  margin: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.pw-token {
  display: inline-block;
  padding: 2px 8px;
  color: #fff;
  font-weight: 500;
  border-radius: 2px;
}
.pw-token--how {
  background: #0a0a0a;
}
.pw-token--empty {
  background: transparent;
  color: var(--muted, #888);
  font-style: italic;
  font-weight: 400;
  padding: 2px 0;
}
.pw-how__picks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pw-how__picks li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid var(--rule);
  font-size: 13px;
}
.pw-how__picks li.pw-how__picks-empty {
  display: block;
  border-style: dashed;
  color: var(--muted, #888);
  font-style: italic;
  text-align: center;
  font-size: 12px;
}
.pw-how__picks button {
  border: 0;
  background: transparent;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: var(--muted, #888);
  width: 22px;
  height: 22px;
}
.pw-how__picks button:hover { color: var(--ink); }
.pw-how__clear {
  align-self: flex-start;
  border: 1px solid var(--rule);
  background: #fff;
  padding: 6px 10px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.pw-how__clear:hover { border-color: var(--ink); }

/* ---------- STEP 04 ---------- */
.pw-press {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pw-press__field {
  display: grid;
  grid-template-columns: 60px 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  align-items: start;
}
.pw-press__num {
  grid-column: 1; grid-row: 1 / span 2;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 22px;
  font-weight: 500;
  color: var(--cap-2, #c94536);
  letter-spacing: 0;
}
.pw-press__q {
  grid-column: 2; grid-row: 1;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 8px;
}
.pw-press__field textarea {
  grid-column: 2; grid-row: 2;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 6px 0;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  background: transparent;
  resize: vertical;
  min-height: 52px;
}
.pw-press__field textarea:focus {
  outline: 0;
  border-bottom-color: var(--cap-2, #c94536);
}

.pw-final {
  margin-top: 32px;
  padding: 20px;
  border: 1px solid var(--ink);
  background: #fff;
}
.pw-final__kicker {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cap-2, #c94536);
  margin: 0 0 10px;
}
.pw-final textarea {
  width: 100%;
  border: 0;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.5;
  background: transparent;
  resize: vertical;
  min-height: 100px;
}
.pw-final textarea:focus { outline: 0; }

/* ---------- Responsive fallbacks ---------- */
@media (max-width: 960px) {
  .pw-center,
  .pw-how {
    grid-template-columns: 1fr;
  }
  .pw-center__wheel,
  .pw-how__wheel {
    max-width: 420px;
  }
}
