/* "One change": a late shuttle, drawn as a ripple. Built on shared.css tokens. */
.oc-page{--hit:#743747;--hit-soft:#ecd9de;--dot:#bdb5a8;--edge:#d6cfc4;--faint:#a39d93;--text2:#5d5850;background:var(--paper)}
.wrap-text{width:min(680px,calc(100% - 40px));margin-inline:auto}

/* The site header scrolls away here, so the graphic can pin to the top. */
.oc-page .site-header{position:relative}
.oc-crumb{font-size:13px;margin-bottom:22px}
.oc-crumb a{color:var(--muted);border-bottom:1px solid var(--line)}
.oc-crumb a:hover{color:var(--accent)}
.oc-hero{padding:56px 0 36px}
.oc-kicker{font:600 13px/1.4 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--accent);margin-bottom:18px}
.oc-hero h1{font-size:clamp(38px,5.6vw,62px);line-height:1.04;letter-spacing:-.03em;margin-bottom:22px}
.oc-dek{font:300 22px/1.45 var(--serif);color:var(--text2)}

/* Scrollytelling: sticky figure, steps scroll past it. */
.oc-scrolly{position:relative;display:grid;grid-template-columns:minmax(0,1fr) clamp(340px,26vw,460px);gap:56px;width:min(1880px,calc(100% - 64px));margin:0 auto;padding-bottom:10vh}
.oc-figure{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;justify-content:center;gap:14px;margin:0;padding:24px 0}
.oc-steps{position:relative;z-index:2;padding:30vh 0 30vh}
.oc-step{min-height:80vh;display:flex;flex-direction:column;justify-content:center;gap:14px}
.oc-step>*{background:var(--white);border:1px solid var(--line);border-radius:6px;padding:18px 20px;margin:0;box-shadow:0 10px 30px rgba(41,38,34,.06);opacity:.35;transform:translateY(10px);transition:opacity .5s ease,transform .5s ease,border-color .5s}
.oc-step.is-active>*{opacity:1;transform:none;border-color:#cdbfb3}
.oc-step.is-active>*:nth-child(2){transition-delay:.08s}
.oc-step.is-active>*:nth-child(3){transition-delay:.16s}
.oc-step p{font:300 clamp(18px,1.15vw,22px)/1.55 var(--serif);color:var(--ink)}
.oc-step p b{font-family:var(--sans);font-weight:600}
.oc-step blockquote{margin:0;border-left:3px solid var(--hit);border-radius:0 6px 6px 0}
.oc-step blockquote span{display:block;font:300 21px/1.4 var(--serif);color:var(--ink)}
.oc-step cite{display:block;margin-top:8px;font:500 13px/1.3 var(--sans);font-style:normal;color:var(--muted)}
.key{font-family:var(--sans);font-weight:600;font-size:.92em;color:var(--hit)}
b.key{font-size:1em}

.oc-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border-top:1px solid var(--ink);padding-top:12px;transition:opacity .5s}
.oc-stats.is-quiet{opacity:0}
.oc-stat b{display:inline-block;font:600 40px/1 var(--sans);letter-spacing:-.02em;color:var(--hit);font-variant-numeric:tabular-nums}
.oc-stat span{display:block;font-size:13px;color:var(--muted)}
.oc-stat.bump b{animation:oc-bump .5s ease}
@keyframes oc-bump{40%{transform:translateY(-3px)}}
.oc-stats.is-done b{color:var(--ink)}
.oc-chart{position:relative;flex:0 0 auto;overflow:hidden}
.oc-chart svg{display:block;overflow:hidden;touch-action:pan-y}
.oc-legend{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:13px;color:var(--muted)}
.oc-legend span{display:inline-flex;align-items:center;gap:7px}
.oc-legend i{display:inline-block;font-style:normal}
.lg-dot{width:11px;height:11px;border-radius:50%;background:var(--hit)}
.lg-event{width:11px;height:11px;border-radius:3px;background:var(--hit)}
.lg-clash{width:13px;height:13px;border-radius:50%;background:#fff;border:2px solid var(--hit);color:var(--hit);font:700 9px/9px var(--sans);text-align:center}

/* The ripple */
.ring{fill:none;stroke:#e6e0d6;stroke-width:1;opacity:0;transition:opacity .6s}
.ring.is-on{opacity:1}
.wave{fill:none;stroke:var(--hit);stroke-width:1.5}
.link{fill:none;stroke:var(--hit);stroke-width:1.25;opacity:0;transition:opacity .3s}
.link.is-on{opacity:.55}
.node{opacity:0;transition:opacity .35s}
.node.is-on{opacity:1}
.node .hit{fill:transparent}
.node.is-on{cursor:pointer}
.node .dot{fill:var(--hit);stroke:var(--paper);stroke-width:2;transition:fill .3s,stroke .3s}
.node.clash .dot{fill:#fff;stroke:var(--hit);stroke-width:2}
.node .bang{font:700 9px var(--sans);fill:var(--hit);pointer-events:none}
.node .check{fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;opacity:0}
.node .title{font:500 13px var(--sans);fill:var(--ink);paint-order:stroke;stroke:var(--paper);stroke-width:4px;stroke-linejoin:round}
.node .sub{font:400 11.5px var(--sans);fill:var(--muted);paint-order:stroke;stroke:var(--paper);stroke-width:4px;stroke-linejoin:round}
.node.root .title{font-size:14.5px;font-weight:600;fill:var(--hit)}
.node.is-new .title{fill:var(--hit)}
.node.is-done .dot{fill:var(--ink)}
.node.clash.is-done .dot{fill:var(--ink);stroke:var(--ink)}
.node.is-done .bang{opacity:0}
.node.is-done .check{opacity:1}
.node.root.is-done .dot{fill:var(--hit)}
.is-far .node .title,.is-far .node .sub{opacity:0}
.is-far .node.root .title{opacity:1}
.has-focus .node.is-on:not(.is-path){opacity:.28}
.has-focus .link.is-on:not(.is-path){opacity:.12}
.has-focus .link.is-path{opacity:1;stroke-width:1.75}
.node:focus{outline:none}
.node:focus-visible .dot{stroke:var(--accent);stroke-width:3}

.oc-tip{position:absolute;pointer-events:none;background:var(--white);border:1px solid var(--line);border-radius:6px;padding:10px 12px;box-shadow:0 10px 30px rgba(41,38,34,.12);font-size:13px;line-height:1.45;max-width:270px;opacity:0;transition:opacity .15s;z-index:5}
.oc-tip b{display:block;font-size:14px}
.oc-tip .muted{color:var(--muted)}
.oc-tip .who{color:var(--hit);font-weight:600}
.oc-tip.is-on{opacity:1}

.oc-try{display:flex;flex-wrap:wrap;gap:8px}
.oc-try button{font:500 14px var(--sans);min-height:42px;border:1px solid var(--ink);background:#fff;border-radius:999px;padding:8px 14px;color:var(--ink)}
.oc-try button[aria-pressed="true"]{background:var(--ink);color:var(--paper)}
.oc-try button:hover{border-color:var(--hit)}
.oc-try button:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.oc-try-out{font-family:var(--sans)!important;font-size:15px!important}
.oc-step-try{min-height:70vh}

/* Back and Next: sticks to the bottom of the screen while the steps scroll. */
.oc-nav{position:sticky;bottom:18px;z-index:4;display:flex;align-items:center;gap:4px;width:max-content;margin:28px auto 0;padding:4px;background:var(--white);border:1px solid var(--line);border-radius:999px;box-shadow:0 10px 30px rgba(41,38,34,.12)}
.oc-nav button{font:500 14px var(--sans);min-height:40px;min-width:44px;padding:8px 14px;border:0;border-radius:999px;background:transparent;color:var(--ink)}
.oc-nav button:hover:not(:disabled){background:var(--wash)}
.oc-nav button:disabled{color:#b5aea4;cursor:default}
.oc-nav button:focus-visible{outline:3px solid var(--accent);outline-offset:1px}
.oc-nav-count{font:500 13px var(--sans);color:var(--muted);font-variant-numeric:tabular-nums;min-width:56px;text-align:center}

.oc-after{padding:48px 0 80px}
.oc-after h2{font-size:clamp(30px,4vw,42px);margin-bottom:18px}
.oc-after>p{font:300 20px/1.55 var(--serif);margin-bottom:16px}
.oc-cta{display:flex;flex-wrap:wrap;gap:24px;align-items:center;margin:28px 0 48px}
.oc-list{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0;margin-bottom:36px}
.oc-list summary{cursor:pointer;font-weight:500}
.oc-list h4{font:600 12px/1.4 var(--sans);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin:18px 0 6px}
.oc-list ul{margin:0;padding-left:18px;font-size:14px;line-height:1.6}
.oc-method{border-top:1px solid var(--ink);padding-top:14px}
.oc-method h3{font:600 13px/1.4 var(--sans);letter-spacing:.1em;text-transform:uppercase;margin-bottom:8px}
.oc-method p{font-size:14px;line-height:1.6;color:var(--muted)}

/* Phones and portrait tablets: the figure pins on top; the text scrolls beneath it. */
@media (max-width:1100px),(orientation:portrait){
  .oc-scrolly{display:block;width:100%}
  .oc-figure{height:auto;max-height:70svh;padding:10px 16px 8px;justify-content:flex-start;gap:8px;background:var(--paper);z-index:3;border-bottom:1px solid var(--line);box-shadow:0 8px 20px rgba(41,38,34,.05)}
  .oc-steps{padding:2svh 16px 40svh;z-index:1;max-width:640px;margin:0 auto}
  .oc-step{min-height:48svh;justify-content:flex-start}
  .oc-step>*{box-shadow:none}
  .oc-step p{font-size:17px}
  .oc-stats{gap:8px;padding-top:8px}
  .oc-stat b{font-size:28px}
  .oc-stat span{font-size:12px}
  .oc-legend{font-size:11px;gap:2px 12px}
  .oc-hero{padding:44px 0 28px}
  .oc-dek{font-size:19px}
}
@media (max-width:620px){
  .node .title{font-size:12px}
  .node .sub{font-size:11px}
  .node.root .title{font-size:13px}
}
@media (prefers-reduced-motion:reduce){.oc-step>*{opacity:1;transform:none}}
