/* Walk build (owner, Nov 14, 2026): the Site Walks page. One Site Walk report stays pinned beside the
   copy. It opens finished in the hero and clears as the hero leaves. Then each of the three modules
   is its own scene: when its copy arrives the scene plays through on a clock and holds until the
   visitor scrolls to the next one. Walk (the tech starts the walk and calls out five items), Sort
   (the items glide under their trade), Send (each trade's items fly off and come back marked sent).
   What the tech says streams in a bubble off the card's top corner. The card never changes size.
   Without the script, or with reduced motion, the finished report shows as plain flow.
   Script: dist/walk-build.js. Guide: docs/style-guide.md (Walk build). */
.wb{--wb-ink:#142b49;--wb-muted:#536b87;--wb-blue:#165bc4;--wb-line:#e4eaf1;--wb-hl:#e8f1fd;--wb-ok:#1a7a43;
  --wb-row:60px;--wb-grp:30px;--wb-ease:cubic-bezier(.22,.7,.2,1);
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:72px;max-width:1280px;margin:0 auto;padding:0 48px;
  font-family:var(--aw-font,"Fira Sans",sans-serif);color:var(--wb-ink)}
body[data-brand] main section.wb,section.wb{padding-top:0!important;padding-bottom:0!important}

/* The copy column */
.wb-text{padding:0 0 22vh}
.wb-hero{min-height:min(660px,calc(100vh - var(--site-header-height,78px) - 48px));margin-top:40px;display:flex;flex-direction:column;justify-content:center}
.wb-step{min-height:92vh;display:flex;flex-direction:column;justify-content:center}
body[data-brand] main .wb-step h2{margin:0 0 14px}
body[data-brand] main .wb-step p{margin:0;max-width:30em;font:400 20px/1.5 var(--aw-font,"Fira Sans",sans-serif);color:var(--wb-muted)}

/* The pinned report */
.wb-vis{order:2;position:sticky;top:calc(var(--site-header-height,78px) + 24px);height:min(660px,calc(100vh - var(--site-header-height,78px) - 48px));
  align-self:start;margin:40px 0 0;display:flex;align-items:center;justify-content:center}
.wb-photos{position:absolute;inset:0;pointer-events:none}
.wb-photos figure{position:absolute;margin:0;border-radius:10px;overflow:hidden;box-shadow:0 14px 32px #142b4926;will-change:transform,opacity}
.wb-photos img{display:block;width:100%;height:100%;object-fit:cover}
.wb-photos .p1{right:-40px;top:2%;width:56%;height:64%;transform:rotate(2deg)}
.wb-photos .p2{left:-36px;top:24%;width:30%;height:56%;transform:rotate(-2.5deg)}
.wb-photos .p3{right:-24px;bottom:4%;width:27%;height:30%;border:4px solid #142b49;background:#142b49}
.wb-photos .p3 b{position:absolute;left:8px;top:8px;font:700 12px/1 var(--aw-font,"Fira Sans",sans-serif);color:#fff;background:#c62828;border-radius:999px;padding:4px 8px}
.wb-photos .p3 b::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#fff;margin-right:5px;vertical-align:1px}

.wb-stage{position:relative;z-index:1;width:100%;max-width:500px;padding-top:30px;box-sizing:border-box;transform:scale(var(--wb-fit,1));transform-origin:center}
.wb-doc{position:relative;background:#fff;border:1px solid var(--wb-line);border-radius:12px;box-shadow:0 22px 48px #142b491f;padding:22px 24px 0;box-sizing:border-box}
.wb-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
.wb-title{font:700 20px/1.2 var(--aw-font,"Fira Sans",sans-serif)}
.wb-job{margin-top:3px;padding-bottom:14px;border-bottom:1px solid var(--wb-line);font:400 14px/1.45 var(--aw-font,"Fira Sans",sans-serif);color:var(--wb-muted)}
.wb-job b{color:var(--wb-ink);font-weight:700}
.wb-chips{position:relative;flex:none;height:24px;min-width:104px}
.wb-chip{position:absolute;right:0;top:0;white-space:nowrap;font:700 12px/22px var(--aw-font,"Fira Sans",sans-serif);color:var(--wb-blue);border:1px solid var(--wb-blue);border-radius:999px;padding:0 10px;opacity:0}
.wb-chip[data-c=sent]{color:var(--wb-ok);border-color:var(--wb-ok);opacity:1}

/* Rows: plain flow by default (the finished list). The script lifts them into reserved slots. */
.wb-list{position:relative;margin:8px 0}
.wb-grp{display:flex;justify-content:space-between;align-items:flex-end;height:var(--wb-grp);box-sizing:border-box;padding:0 2px 4px;font:700 13px/1.3 var(--aw-font,"Fira Sans",sans-serif);color:var(--wb-ink)}
.wb-grp span{font-weight:400;color:var(--wb-muted)}
.wb-grp em{font:700 12px/1.3 var(--aw-font,"Fira Sans",sans-serif);color:var(--wb-ok)}
.wb-grp em::before{content:"✓ "}
.wb-row{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:12px;align-items:center;height:var(--wb-row);box-sizing:border-box;padding:0 10px;margin:0 -10px;border-radius:8px;background:#fff}
.wb-row>*{position:relative}
.wb-row>i{position:absolute;inset:3px 0;border-radius:8px;background:var(--wb-hl);opacity:0}
.wb-row img{width:44px;height:44px;object-fit:cover;border-radius:6px;display:block}
.wb-row strong{display:block;font:700 15px/1.3 var(--aw-font,"Fira Sans",sans-serif);color:var(--wb-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wb-row small{display:block;margin-top:2px;font:400 13px/1.35 var(--aw-font,"Fira Sans",sans-serif);color:var(--wb-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wb-row time{display:block;font:400 13px/1.3 var(--aw-font,"Fira Sans",sans-serif);color:var(--wb-muted);white-space:nowrap;text-align:right}
.wb-row u{text-decoration:none;display:block;margin-top:2px;font:700 12px/1.3 var(--aw-font,"Fira Sans",sans-serif);color:var(--wb-blue);text-align:right}
.wb-center{display:none}

/* The foot of the card: what Blue did. One reserved strip, one line at a time. */
.wb-foot{position:relative;height:52px;margin:0 -24px;border-top:1px solid var(--wb-line);background:#f6f9fc;border-radius:0 0 12px 12px}
.wb-line{position:absolute;inset:0 24px;display:flex;align-items:center;gap:9px;font:400 15px/1.35 var(--aw-font,"Fira Sans",sans-serif);color:var(--wb-ink);opacity:0}
.wb-line[data-l=done]{opacity:1;color:var(--wb-ok);font-weight:700}
.wb-wave{flex:none;display:inline-flex;gap:2px;align-items:center;height:16px}
.wb-wave b{display:block;width:2px;height:8px;border-radius:2px;background:var(--wb-blue)}
.wb-wave b:nth-child(2){height:14px}.wb-wave b:nth-child(3){height:10px}.wb-wave b:nth-child(4){height:6px}

/* What the tech says: a bubble off the card's top corner. Words stream in. Script only. */
.wb-voice{display:none}
.wb.is-on .wb-voice{display:flex;position:absolute;z-index:4;right:-22px;bottom:calc(100% - 44px);align-items:center;gap:9px;max-width:calc(100% + 10px);box-sizing:border-box;
  padding:9px 16px 9px 9px;border-radius:999px 999px 6px 999px;background:#142b49;color:#fff;box-shadow:0 12px 28px #142b4940;
  font:400 15px/1.35 var(--aw-font,"Fira Sans",sans-serif);opacity:0;transform:translate3d(0,6px,0);transition:opacity .22s ease,transform .22s ease;pointer-events:none}
.wb.is-on .wb-voice.is-up{opacity:1;transform:none}
.wb-who{flex:none;width:30px;height:30px;border-radius:50%;background:#c9d3df url(/assets/abstractions/avatar-marshall.jpg) center/cover;box-shadow:0 0 0 2px #ffffff40}
.wb-voice .wb-wave b{background:#8fc0ff}
.wb-voice.is-quiet .wb-wave b{animation-play-state:paused!important}
.wb-words{white-space:nowrap}
.wb-words span{opacity:0;transition:opacity .16s linear}
.wb-words span.on{opacity:1}
.wb-words span.m{color:#a9d0ff;font-weight:700}

/* Script on: every part sits in a reserved slot. The script sets where it is; these set how it moves. */
.wb.is-on .wb-list{height:calc(var(--wb-row) * 5 + var(--wb-grp) * 3)}
.wb.is-on .wb-row,.wb.is-on .wb-grp{position:absolute;left:0;right:0;top:0;margin:0;opacity:0;will-change:transform,opacity;
  transition:transform .8s var(--wb-ease),opacity .4s ease}
.wb.is-on .wb-row{left:-10px;right:-10px}
.wb.is-on .wb-row>i,.wb.is-on .wb-row u,.wb.is-on .wb-grp em,.wb.is-on .wb-chip,.wb.is-on .wb-line,.wb.is-on .wb-center{transition:opacity .4s ease,transform .4s var(--wb-ease)}
.wb.is-on .wb-row u,.wb.is-on .wb-grp em,.wb.is-on .wb-chip,.wb.is-on .wb-line{opacity:0}
.wb.is-on .wb-row.is-moving{z-index:2;box-shadow:0 6px 18px #142b491f}
.wb.is-on .wb-center{display:block;position:absolute;left:0;right:0;top:40%;text-align:center;font:700 18px/1.3 var(--aw-font,"Fira Sans",sans-serif);color:var(--wb-ink);opacity:0;transform:translate3d(0,6px,0)}
.wb.is-on .wb-center.is-up{opacity:1;transform:none}
.wb-center span{display:inline-block;width:1.2em;text-align:left}
.wb-center span::after{content:"";animation:wb-dots 1.2s steps(1) infinite}
@keyframes wb-dots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}
.wb.is-snap .wb-row,.wb.is-snap .wb-grp,.wb.is-snap .wb-row>i,.wb.is-snap .wb-row u,.wb.is-snap .wb-grp em{transition-duration:.25s!important;transition-delay:0s!important}

/* Send: a copy of the trade's items lifts off the list and flies away. The originals stay and come back marked sent. */
.wb-fly{position:absolute;left:-10px;right:-10px;top:0;z-index:3;padding:0 10px;box-sizing:border-box;background:#fff;border:1px solid #bcd3f5;border-radius:10px;box-shadow:0 14px 34px #142b4933;pointer-events:none;will-change:transform,opacity}
.wb-fly .wb-row,.wb-fly .wb-grp{position:relative!important;left:auto!important;right:auto!important;transform:none!important;opacity:1!important;margin:0 -10px!important;box-shadow:none!important;transition:none!important;background:none}
.wb-fly .wb-grp{margin:0!important}
.wb-fly .wb-row u{opacity:1!important}.wb-fly .wb-grp em{display:none}

/* The waveform moves, so the voice bubble and Listening read as someone talking. */
.wb.is-on .wb-wave b{transform-origin:center;animation:wb-talk .9s ease-in-out infinite alternate}
.wb.is-on .wb-wave b:nth-child(2){animation-duration:.62s;animation-delay:-.3s}
.wb.is-on .wb-wave b:nth-child(3){animation-duration:.78s;animation-delay:-.55s}
.wb.is-on .wb-wave b:nth-child(4){animation-duration:.54s;animation-delay:-.15s}
@keyframes wb-talk{0%{transform:scaleY(.35)}45%{transform:scaleY(1.5)}100%{transform:scaleY(.7)}}

.wb-caps{display:none}
/* Snapping was tried and removed (owner, Nov 15): use-case pages scroll plainly on every width. */
/* No snapping on any width (owner, Nov 15): the page scrolls plainly. */
@media (max-width:1080px){.wb{gap:40px;padding:0 24px}.wb-photos .p1{right:-16px}.wb-photos .p2{left:-16px}.wb-photos .p3{right:-12px}.wb.is-on .wb-voice{right:-10px}}
@media (max-width:760px){
  .wb{--wb-row:42px;--wb-grp:22px;grid-template-columns:minmax(0,1fr);gap:0;padding:0 16px}
  .wb-hero{order:0;min-height:0;margin-top:0;padding:28px 0 8px}
  .wb-text{display:contents}
  .wb-vis{order:1;top:var(--uc-head,0px);height:calc(100svh - var(--uc-head,0px));margin:0 -16px;padding:0 16px;z-index:2;background:#fff;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;overflow:hidden}
  /* On a phone the card and the module's copy are one pinned screen. The steps in the page are spacers
     that give each module a swipe; their copy shows in .wb-caps above the card (owner, Nov 15) and crossfades. The script sets the block's height to the longest copy. */
  .wb-step{order:2;position:relative;min-height:0;height:calc((100svh - var(--uc-head,0px)) * .38);padding:0;opacity:0;pointer-events:none}
  .wb.is-on .wb-step>*{position:absolute!important;width:1px;height:1px;margin:0!important;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  /* The snap point for a module is where the pinned screen sits at the top: one screen above its spacer. */
  .wb.is-on .wb-step::before{content:"";position:absolute;left:0;top:calc(-1 * (100svh - var(--uc-head,0px)));width:1px;height:1px;scroll-snap-align:start;scroll-snap-stop:always}
  .wb-step:last-child{height:2px;padding:0}
  .wb.is-on .wb-caps{display:block;position:relative;order:-1;flex:none;min-height:0;margin:18px 0 10px}
  .wb-cap{position:absolute;left:0;right:0;top:0;opacity:0;transform:translate3d(0,10px,0);transition:opacity .35s ease,transform .45s var(--wb-ease)}
  .wb-cap.is-now{opacity:1;transform:none}
  body[data-brand] main .wb-cap h2{margin:0 0 8px!important;font-size:22px!important;line-height:1.2!important}
  body[data-brand] main .wb-cap p{margin:0;max-width:none;font-size:15.5px!important;line-height:1.45!important;color:var(--wb-muted)}
  .wb:not(.is-on) .wb-step{height:auto;opacity:1;padding:24px 0}
  .wb:not(.is-on) .wb-vis{position:static;height:auto;display:block}
  body[data-brand] main .wb-step p{font-size:17px}
  .wb-photos{display:none}
  .wb-stage{max-width:none;padding-top:44px;flex:none;transform-origin:top center}
  .wb-doc{padding:14px 16px 0;box-shadow:0 10px 26px #142b491a}
  .wb-title{font-size:17px}.wb-job{font-size:13px;padding-bottom:9px}
  .wb-list{margin:4px 0}
  .wb-row{grid-template-columns:36px minmax(0,1fr) auto;gap:10px}.wb-row img{width:32px;height:32px}
  .wb-row strong{font-size:14px}.wb-row small{display:none}.wb-row time{font-size:12px}.wb-row u{font-size:11.5px}
  .wb-foot{height:40px;margin:0 -16px}.wb-line{inset:0 16px;font-size:13.5px}
  .wb.is-on .wb-center{font-size:16px}
  .wb.is-on .wb-voice{right:-4px;bottom:calc(100% - 38px);padding:6px 12px 6px 6px;font-size:13px;gap:7px;max-width:100%}
  .wb-who{width:24px;height:24px}
}
@media (max-width:760px) and (max-height:700px){body[data-brand] main .wb-cap h2{font-size:19px!important;margin-bottom:6px!important}body[data-brand] main .wb-cap p{font-size:14px!important;line-height:1.4!important}}
/* Room under the report before the closing quote (owner, Nov 15). */
html body[data-brand] main section.wb{padding-bottom:120px!important}
@media (max-width:760px){html body[data-brand] main section.wb{padding-bottom:0!important}}   /* a phone already has room under the pinned screen */

/* Tablets held upright (QA, Nov 15): the two-column layout stays, but the screen is taller than the 660px report
   frame, so the hero and the pinned report take the full height and the report sits level with the copy
   instead of leaving the lower third of the screen empty. The photos keep their 660px frame. */
@media (min-width:761px) and (max-width:1080px) and (min-height:900px){
  .wb-hero{min-height:calc(100vh - var(--site-header-height,78px) - 48px)}
  .wb-vis{height:calc(100vh - var(--site-header-height,78px) - 48px)}
  .wb-vis>.wb-photos{top:calc(50% - 330px);bottom:auto;height:660px}
}
/* A 48px module headline and a 56px hero headline break words in a half-width tablet column ("recommendatio/ns", "documentatio/n"). */
@media (min-width:761px) and (max-width:900px){html body[data-brand] main .wb-step h2{font-size:36px!important;line-height:1.15!important}html body[data-brand] main .wb-hero h1{font-size:46px!important;line-height:1.1!important}}
