/* ============================================
   WHY US — manifesto page
   ============================================ */

body {
  --font-display: 'Sora', ui-sans-serif, system-ui, sans-serif;
  --font-hand: 'Caveat', cursive;
  --font-body: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  font-family: var(--font-body);
}

/* ── Reading progress ─────────────────────── */
.wh-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 200;
  background: transparent;
  pointer-events: none;
}

.wh-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  box-shadow: 0 0 14px rgba(251,191,36,.55);
  transition: width .12s linear;
}

/* ── Page shell ───────────────────────────── */
.wh-page {
  position: relative;
  padding: 0 0 90px;
  overflow: hidden;
}

.wh-page::before,
.wh-page::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.wh-page::before {
  top: -180px;
  left: 50%;
  width: 780px;
  height: 780px;
  transform: translateX(-58%);
  background: radial-gradient(circle, rgba(251,191,36,.11), transparent 65%);
}

.wh-page::after {
  top: 1100px;
  right: -260px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(248,113,113,.07), transparent 68%);
}

.wh-wrap {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Hero ─────────────────────────────────── */
.wh-hero {
  padding: 72px 0 26px;
  text-align: center;
}

.wh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 11px;
  border: 1px solid rgba(251,191,36,.32);
  border-radius: var(--radius-pill);
  background: rgba(251,191,36,.08);
  color: var(--gold-light);
  font: 700 .68rem var(--font-display);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.wh-eyebrow i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}

.wh-hero h1 {
  margin: 20px 0 0;
  font: 700 clamp(2.1rem, 5.4vw, 3.5rem)/1.06 var(--font-display);
  letter-spacing: -.03em;
  color: var(--text);
}

.wh-hero h1 em {
  font-style: normal;
  position: relative;
  display: inline-block;
  max-width: 100%;
  color: var(--gold);
}

.wh-hero h1 em svg {
  position: absolute;
  left: -2%;
  bottom: -.34em;
  width: 104%;
  height: .34em;
  overflow: visible;
  stroke: var(--gold);
  stroke-width: 3.2;
  stroke-linecap: round;
  fill: none;
  opacity: .8;
}

.wh-hero-hand {
  display: block;
  margin: 26px auto 0;
  color: var(--gold-light);
  font-family: var(--font-hand);
  font-size: clamp(1.5rem, 3.6vw, 2rem);
  transform: rotate(-1.4deg);
}

.wh-scroll-cue {
  display: block;
  margin: 30px auto 0;
  width: 26px;
  height: 42px;
  color: var(--text-dim);
}

.wh-scroll-cue svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: wh-bob 1.9s ease-in-out infinite;
}

@keyframes wh-bob {
  0%, 100% { transform: translateY(0); opacity: .55; }
  50%      { transform: translateY(6px); opacity: 1; }
}

/* ── Section scaffolding ──────────────────── */
.wh-block {
  position: relative;
  padding: 54px 0 0;
  opacity: 1;
}

.wh-block + .wh-block { margin-top: 8px; }

.wh-rule {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.wh-rule b {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(251,191,36,.42);
  border-radius: 50%;
  color: var(--gold);
  font: 700 .82rem var(--font-display);
  letter-spacing: .02em;
}

.wh-rule span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border-strong), transparent);
}

.wh-block h2 {
  margin: 0 0 22px;
  font: 700 clamp(1.6rem, 3.7vw, 2.4rem)/1.14 var(--font-display);
  letter-spacing: -.025em;
  color: var(--text);
}

.wh-block h2 em {
  font-style: normal;
  color: var(--gold);
}

/* ── Reading lines ────────────────────────── */
.wh-lines p {
  margin: 0 0 9px;
  color: var(--text-muted);
  font-size: 1.06rem;
  line-height: 1.62;
}

.wh-lines p:last-child { margin-bottom: 0; }

.wh-lines strong {
  color: var(--text);
  font-weight: 700;
}

.wh-lines em {
  color: var(--gold-light);
  font-style: italic;
}

.wh-tight p { margin-bottom: 2px; line-height: 1.5; }

.wh-gap { height: 20px; }

/* ── Emphasis blocks ──────────────────────── */
.wh-turn {
  margin: 26px 0;
  padding: 20px 22px;
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  background: linear-gradient(90deg, rgba(251,191,36,.11), rgba(251,191,36,0));
  color: var(--text);
  font: 700 clamp(1.15rem, 2.6vw, 1.55rem)/1.32 var(--font-display);
  letter-spacing: -.02em;
}

.wh-turn.is-red {
  border-left-color: var(--error);
  background: linear-gradient(90deg, rgba(248,113,113,.12), rgba(248,113,113,0));
}

.wh-quiet {
  margin: 22px 0 0;
  color: var(--text-muted);
  font-size: 1.06rem;
  line-height: 1.6;
}

.wh-hand-note {
  display: block;
  margin: 24px 0;
  color: var(--gold-light);
  font-family: var(--font-hand);
  font-size: clamp(1.45rem, 3.2vw, 1.9rem);
  line-height: 1.25;
  transform: rotate(-1deg);
}

.wh-close {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.wh-close strong,
.wh-close b {
  display: block;
  color: var(--text);
  font: 700 clamp(1.1rem, 2.4vw, 1.4rem)/1.34 var(--font-display);
  letter-spacing: -.02em;
}

.wh-close b { color: var(--gold); }

/* ── Content-everywhere chips ─────────────── */
.wh-noise {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 20px 0 24px;
}

.wh-noise span {
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.03);
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 500;
}

/* ── Action grid (you answer, you predict…) ─ */
.wh-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 10px;
  margin: 24px 0;
}

.wh-actions div {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255,255,255,.045), rgba(255,255,255,.01));
  color: var(--text);
  font-size: .95rem;
  font-weight: 500;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}

.wh-actions div:hover {
  border-color: rgba(251,191,36,.45);
  background: linear-gradient(160deg, rgba(251,191,36,.1), rgba(255,255,255,.01));
  transform: translateY(-2px);
}

.wh-actions i {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(251,191,36,.16);
  color: var(--gold);
}

.wh-actions svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Not this / but this ──────────────────── */
.wh-flip {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin: 28px 0 0;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.02);
}

.wh-flip > div {
  min-width: 0;
}

.wh-flip small {
  display: block;
  margin-bottom: 6px;
  font: 700 .62rem var(--font-display);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.wh-flip-off small { color: var(--error); }
.wh-flip-on  small { color: var(--gold); }

.wh-flip strong {
  display: block;
  font: 700 clamp(1rem, 2.2vw, 1.22rem)/1.3 var(--font-display);
  letter-spacing: -.02em;
}

.wh-flip-off strong { color: var(--text-dim); }
.wh-flip-on  strong { color: var(--text); }

.wh-flip-arrow {
  flex: none;
  width: 34px;
  height: 20px;
  color: var(--gold);
}

.wh-flip-arrow svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Attention drift timeline ─────────────── */
.wh-drift {
  margin: 26px 0;
  padding: 22px 20px 18px;
  border: 1px solid rgba(248,113,113,.26);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(248,113,113,.07), rgba(248,113,113,0));
}

.wh-drift-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--error);
  font: 700 .64rem var(--font-display);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.wh-drift-track {
  position: relative;
  height: 46px;
  margin-bottom: 4px;
}

.wh-drift-track svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: var(--error);
  stroke-width: 2.2;
  stroke-linecap: round;
  opacity: .85;
}

.wh-drift-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  color: var(--text-muted);
  font-size: .86rem;
}

.wh-drift-steps span { display: inline-flex; align-items: center; gap: 10px; }

.wh-drift-steps span:not(:last-child)::after {
  content: '';
  width: 14px;
  height: 1px;
  background: var(--border-strong);
}

.wh-drift-steps b {
  color: var(--error);
  font-weight: 600;
}

/* ── Verb chips (Predict. Choose. …) ──────── */
.wh-verbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0;
}

.wh-verbs span {
  padding: 11px 19px;
  border: 1px solid rgba(251,191,36,.36);
  border-radius: var(--radius-pill);
  background: rgba(251,191,36,.09);
  color: var(--gold-light);
  font: 700 1rem var(--font-display);
  letter-spacing: -.01em;
}

/* ── See / do contrast rows ───────────────── */
.wh-swap {
  margin: 26px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.wh-swap div {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  font-size: 1rem;
}

.wh-swap div + div { border-top: 1px solid var(--border); }

.wh-swap div:nth-child(odd) { background: rgba(255,255,255,.017); }

.wh-swap s {
  color: var(--text-dim);
  text-decoration: none;
}

.wh-swap strong {
  color: var(--text);
  font-weight: 700;
}

.wh-swap i {
  flex: none;
  width: 26px;
  height: 14px;
  color: var(--gold);
}

.wh-swap i svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Memory loop ──────────────────────────── */
.wh-loop {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 26px 0;
  padding: 20px;
  border: 1px solid rgba(251,191,36,.24);
  border-radius: var(--radius-xl);
  background: linear-gradient(140deg, rgba(251,191,36,.08), rgba(255,255,255,.01));
}

.wh-loop span {
  padding: 9px 16px;
  border: 1px solid rgba(251,191,36,.3);
  border-radius: var(--radius-pill);
  background: rgba(11,11,15,.5);
  color: var(--text);
  font: 600 .94rem var(--font-display);
}

.wh-loop i {
  flex: none;
  width: 20px;
  height: 14px;
  color: var(--gold);
}

.wh-loop i svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wh-loop em {
  margin-left: auto;
  color: var(--gold-light);
  font-family: var(--font-hand);
  font-size: 1.4rem;
  font-style: normal;
}

/* ── Skill cards (driver / athlete / speaker) */
.wh-skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.wh-skills article {
  padding: 18px 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(255,255,255,.045), rgba(255,255,255,.008));
}

.wh-skills h3 {
  margin: 0 0 12px;
  font: 700 1rem var(--font-display);
  letter-spacing: -.01em;
  color: var(--text);
}

.wh-skills p {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0 0 7px;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.4;
}

.wh-skills p:last-child { margin-bottom: 0; }

.wh-skills p i {
  flex: none;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  font-size: .7rem;
  font-weight: 700;
  font-style: normal;
}

.wh-skills .is-no i {
  background: rgba(248,113,113,.16);
  color: var(--error);
}

.wh-skills .is-yes i {
  background: rgba(251,191,36,.18);
  color: var(--gold);
}

.wh-skills .is-yes { color: var(--text); font-weight: 600; }

/* ── Design question callout ──────────────── */
.wh-question {
  position: relative;
  margin: 28px 0;
  padding: 30px 26px 26px;
  border: 1px solid rgba(251,191,36,.3);
  border-radius: var(--radius-xl);
  background: linear-gradient(150deg, rgba(251,191,36,.1), rgba(255,255,255,.012));
  text-align: center;
}

.wh-question::before {
  content: '\201C';
  position: absolute;
  top: -14px;
  left: 22px;
  color: var(--gold);
  font: 700 4.4rem/1 Georgia, serif;
  opacity: .32;
}

.wh-question p {
  margin: 0;
  color: var(--text);
  font: 700 clamp(1.15rem, 2.8vw, 1.6rem)/1.32 var(--font-display);
  letter-spacing: -.02em;
}

.wh-question p span {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.wh-question small {
  display: block;
  margin-top: 14px;
  color: var(--text-dim);
  font-family: var(--font-hand);
  font-size: 1.3rem;
}

/* ── Needs list ───────────────────────────── */
.wh-needs {
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.wh-needs li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.45;
}

.wh-needs li:last-child { border-bottom: 0; }

.wh-needs li i {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--gold);
}

.wh-needs li i svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Pillars ──────────────────────────────── */
.wh-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 28px 0;
}

.wh-pillars span {
  padding: 15px 12px;
  border: 1px solid rgba(251,191,36,.28);
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(251,191,36,.1), rgba(255,255,255,.01));
  color: var(--text);
  font: 700 .95rem/1.25 var(--font-display);
  letter-spacing: -.01em;
  text-align: center;
}

/* ── Final block ──────────────────────────── */
.wh-final {
  margin-top: 46px;
  padding: 40px 30px;
  border: 1px solid rgba(251,191,36,.3);
  border-radius: 28px;
  background:
    radial-gradient(120% 130% at 50% 0%, rgba(251,191,36,.14), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.008));
  text-align: center;
}

.wh-final-welcome {
  margin: 0;
  color: var(--gold-light);
  font-family: var(--font-hand);
  font-size: clamp(1.7rem, 4.2vw, 2.3rem);
  transform: rotate(-1deg);
}

.wh-final h2 {
  margin: 14px 0 6px;
  font: 700 clamp(1.5rem, 4vw, 2.2rem)/1.16 var(--font-display);
  letter-spacing: -.03em;
  color: var(--text);
}

.wh-final-tag {
  margin: 0;
  color: var(--gold);
  font: 700 clamp(1.2rem, 3.2vw, 1.7rem)/1.24 var(--font-display);
  letter-spacing: -.02em;
}

.wh-final-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

/* ── Reveal on scroll ─────────────────────────
   Hidden only when the <html> element opts in (set by the inline
   head script). Without JS the content stays fully visible. */
.wh-reveal {
  opacity: 1;
  transform: none;
}

html.wh-anim .wh-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.22,.68,.35,1);
}

html.wh-anim .wh-reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.wh-anim .wh-reveal { opacity: 1; transform: none; transition: none; }
  .wh-scroll-cue svg { animation: none; }
}

/* ── Mobile ───────────────────────────────── */
@media (max-width: 720px) {
  .wh-page { padding-bottom: 64px; }

  .wh-page::before { width: 520px; height: 520px; top: -140px; }
  .wh-page::after { display: none; }

  .wh-wrap { padding: 0 18px; }

  .wh-hero { padding: 46px 0 14px; }

  .wh-hero h1 { letter-spacing: -.02em; }

  .wh-hero-hand { margin-top: 20px; }

  .wh-scroll-cue { margin-top: 22px; height: 34px; }

  .wh-block { padding-top: 42px; }

  .wh-rule { gap: 11px; margin-bottom: 20px; }

  .wh-rule b { width: 32px; height: 32px; font-size: .74rem; }

  .wh-block h2 { margin-bottom: 18px; }

  .wh-lines p { font-size: .99rem; line-height: 1.56; }

  .wh-turn {
    margin: 22px 0;
    padding: 15px 16px;
    border-radius: 0 14px 14px 0;
  }

  .wh-noise { gap: 7px; }
  .wh-noise span { padding: 7px 12px; font-size: .82rem; }

  .wh-actions { grid-template-columns: 1fr 1fr; gap: 8px; }
  .wh-actions div { padding: 11px 11px; font-size: .84rem; gap: 8px; }
  .wh-actions i { width: 20px; height: 20px; }

  .wh-flip {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
    text-align: left;
  }

  .wh-flip-arrow {
    width: 20px;
    height: 30px;
    margin: 0 auto;
    transform: rotate(90deg);
  }

  .wh-drift { padding: 18px 15px 14px; border-radius: 18px; }
  .wh-drift-track { height: 38px; }
  .wh-drift-steps { font-size: .8rem; gap: 5px 8px; }
  .wh-drift-steps span:not(:last-child)::after { width: 10px; }

  .wh-verbs { gap: 7px; }
  .wh-verbs span { padding: 9px 14px; font-size: .9rem; }

  .wh-swap { border-radius: 18px; }
  .wh-swap div {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 13px 14px;
    font-size: .93rem;
  }
  .wh-swap i { transform: rotate(90deg); margin-left: 2px; }

  .wh-loop { padding: 16px; gap: 8px; border-radius: 18px; }
  .wh-loop span { padding: 7px 12px; font-size: .84rem; }
  .wh-loop em { margin: 4px 0 0; font-size: 1.25rem; width: 100%; }

  .wh-skills { grid-template-columns: 1fr; gap: 10px; }

  .wh-question { padding: 26px 18px 20px; border-radius: 18px; }
  .wh-question::before { font-size: 3.4rem; top: -8px; left: 14px; }

  .wh-needs li { font-size: .96rem; padding: 10px 0; gap: 10px; }

  .wh-pillars { grid-template-columns: 1fr 1fr; gap: 8px; }
  .wh-pillars span { padding: 12px 9px; font-size: .85rem; }

  .wh-final {
    margin-top: 36px;
    padding: 30px 18px;
    border-radius: 22px;
  }

  .wh-final-cta { flex-direction: column; }
  .wh-final-cta .btn { width: 100%; }

  .wh-close { margin-top: 24px; padding-top: 18px; }
}
