/* Why interview (homepage #why) and the fan diagram in #show. Inline SVG plus CSS only.
   Lines draw with stroke-dashoffset once the figure's .reveal gets .in from site.js.
   Without JS (no .js class) or with reduced motion, every line and label is simply there. */
.why-beat{margin-top:96px}
.why-beat:first-of-type{margin-top:0}
.why-beat .s-head{margin-bottom:40px}
.why-beat h3.why-h,.fan-head h3{font-size:clamp(1.7rem,3.2vw,2.6rem);font-weight:700;line-height:1.02;letter-spacing:-.035em;text-wrap:balance;margin:0}
.fan-head{max-width:46rem;margin:72px 0 36px}

/* shared diagram text and strokes */
.dg-fig{margin:0}
.dg{display:block;width:100%;height:auto;overflow:visible}
.dg text{font:500 13px/1 var(--fm);letter-spacing:.08em;fill:var(--ink3)}
.dg text.hot{fill:var(--or)}
.dg text.vio{fill:var(--violet)}
.dg text.disp{font:600 26px/1 var(--fd);letter-spacing:-.02em;fill:var(--ink)}
.dg text.disp.sm{font-size:22px}
.dg text.tight{letter-spacing:.02em}
.dg .ln{fill:none;stroke:var(--line2);stroke-width:1.5;stroke-linecap:round}
.dg .ln.or{stroke:var(--or);stroke-opacity:.75}
.dg .ln.vio{stroke:var(--violet);stroke-opacity:.7}
.dg .pill{fill:var(--fill);stroke:var(--line2)}
.dg .box{fill:var(--card);stroke:var(--or);stroke-opacity:.6}
.dg .dot{fill:var(--ink3)}
.dg .node-or{fill:none;stroke:var(--or);stroke-width:2.5}
.dg .core-or{fill:var(--or)}
.dg .node-vio{fill:none;stroke:var(--violet);stroke-width:2.5}
.dg .core-vio{fill:var(--violet)}
.dg-n{display:none;max-width:460px}
@media (max-width:959px){.dg-w{display:none}.dg-n{display:block}}

/* the catch: two arrows from you to them */
.ask{display:grid;gap:34px;margin:0}
.ask-row{display:grid;grid-template-columns:auto minmax(0,1fr) 40px auto;align-items:center;gap:14px}
.ask-who{font:500 13px/1 var(--fm);letter-spacing:.12em;text-transform:uppercase;color:var(--ink3)}
.ask-line{position:relative;padding-top:24px}
.ask-lbl{position:absolute;top:0;left:50%;transform:translateX(-50%);white-space:nowrap;font:500 13px/1 var(--fm);letter-spacing:.1em;text-transform:uppercase;color:var(--ink3)}
.ask-yes .ask-lbl{color:var(--or)}
.ask-line svg{display:block;width:100%;height:12px;overflow:visible}
.ask-line path{fill:none;stroke:var(--line2);stroke-width:1.5}
.ask-line::after{content:"";position:absolute;right:1px;bottom:6px;width:10px;height:10px;border-top:1.5px solid var(--line2);border-right:1.5px solid var(--line2);transform:translateY(50%) rotate(45deg)}
.ask-yes .ask-line::after{border-color:var(--or);border-width:2px 2px 0 0}
.js .ask-line::after{opacity:0;transition:opacity .3s var(--ease) 1s}
.js .ask-yes .ask-line::after{transition-delay:2.4s}
.js .ask.in .ask-line::after{opacity:1}
.ask-yes .ask-line path{stroke:var(--or);stroke-width:2}
.ask-end{width:40px;height:40px;display:block}
.ask-end circle{fill:none;stroke:var(--line2);stroke-width:1.6}
.ask-end path{fill:none;stroke:var(--ink3);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ask-yes .ask-end circle{stroke:var(--or);stroke-width:2;fill:color-mix(in srgb,var(--or) 10%,transparent)}
.ask-yes .ask-end path{stroke:var(--or);stroke-width:2.2}
.ask-cards{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:40px}
.ask-cards .card{padding:22px}
.ask-cards .k{display:block;font:500 11px/1.3 var(--fm);letter-spacing:.14em;text-transform:uppercase;color:var(--ink3);margin-bottom:12px}
.ask-cards p{margin:0;font-size:15px;line-height:1.55;color:var(--ink2)}
.ask-cards p + p{margin-top:10px}
.ask-cards q{color:var(--ink)}
.ask-cards .give{border-color:color-mix(in srgb,var(--or) 40%,transparent);background:color-mix(in srgb,var(--or) 5%,var(--card))}
@media (max-width:640px){
  .ask-row{grid-template-columns:auto minmax(0,1fr) 34px;gap:10px}
  .ask-row .ask-who:last-child{display:none}
  .ask-end{width:34px;height:34px}
  .ask-lbl{font-size:11px;letter-spacing:.06em}
  .ask-cards{grid-template-columns:1fr}
  .why-beat{margin-top:72px}
}

/* motion: only when JS is on and motion is allowed */
.js .dg-fig .draw,.js .ask .draw{stroke-dasharray:1 1;stroke-dashoffset:1;transition:stroke-dashoffset 1.1s cubic-bezier(.65,0,.35,1) var(--d,0s)}
.js .dg-fig.in .draw,.js .ask.in .draw{stroke-dashoffset:0}
.js .dg-fig .pop,.js .ask .pop{opacity:0;transition:opacity .6s var(--ease) var(--d,0s)}
.js .dg-fig.in .pop,.js .ask.in .pop{opacity:1}
.js .ask-end{transform:scale(.7);transition:transform .6s var(--ease) var(--d,0s),opacity .6s var(--ease) var(--d,0s)}
.js .ask.in .ask-end{transform:none}
@media (prefers-reduced-motion:reduce){
  .js .dg-fig .draw,.js .ask .draw{stroke-dasharray:none;stroke-dashoffset:0;transition:none}
  .js .dg-fig .pop,.js .ask .pop{opacity:1;transition:none}
  .js .ask-end{transform:none;transition:none}
  .js .ask-line::after{opacity:1;transition:none}
}
