/* whirrcrew.com: the chrome of every page and the inner-page kit. Loaded after /assets/whc.css, whose tokens it uses
   (--t-* type scale, colours, --f, --out); it adds no fonts and no colours of its own.
   The chrome rules are the prototype's (concepts/whirrcrew.html, version B), moved here so every page shares them.
   The kit (page header, prose, cards, forms …) is documented with its markup in src/views/site/README.md. */

/* ---------- layout ---------- */
:root{--max:1360px;--gx:clamp(20px,4vw,48px);--nav-h:72px;--measure:68ch}
/* the vertical rhythm of every inner page, defined once (owner, 29 Oct: everything breathes a little more, and the same
   way on every page). From the widest interval to the tightest, so a heading always has more air above it than below:
     --space-section  between a page's top-level sections, each hanging from its rule
     --space-end      under the last block, before the contact band or the footer
     --space-block    between the blocks of a page that are not sections (the opening, the filters, a pager), and under
                      the page header
     --space-stack    from a heading (and its lead) to what it introduces: a list, tiles, cards, the team
     --space-rule     from a section's rule to its heading
     --space-head     from a heading to its lead or its text
   and the two gaps of the compositions across the width:
     --col-gap        between the two columns of an opening or a heading set beside its text
     --grid-gap       between the columns of cards and tiles */
:root{--space-section:clamp(80px,8.4vw,128px);--space-end:clamp(88px,10vw,152px);--space-block:clamp(48px,4.4vw,64px);
  --space-stack:clamp(36px,3.2vw,48px);--space-rule:clamp(30px,3vw,44px);--space-head:clamp(18px,1.6vw,24px);
  --col-gap:clamp(40px,5.5vw,96px);--grid-gap:clamp(32px,3.4vw,56px)}
/* the page keeps a margin wide enough for the dock beside it: the dock is 50px wide, 14px from the edge, so the text
   column ends at least 12px before it at every width from 1101px up (the dropdown, cards and tables included) */
@media (min-width:1101px){ :root{--gx:clamp(76px,5.5vw,80px)} }
html{scroll-padding-top:calc(var(--nav-h) + 20px)}
.wrap{max-width:var(--max);margin:0 auto;padding:0 var(--gx)}
#main{display:block;padding-top:var(--nav-h)}
/* the home page's stage starts under the transparent bar itself */
.is-home #main{padding-top:0}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip{position:fixed;left:16px;top:14px;z-index:100;padding:10px 16px;border-radius:10px;background:var(--text);color:var(--bg);font-size:var(--t-small);font-weight:600;transform:translateY(-160%);transition:transform .25s var(--out)}
.skip:focus{transform:none}
img{max-width:100%}

/* ---------- top bar ---------- */
.nav{position:fixed;inset:0 0 auto;z-index:30;border-bottom:1px solid transparent;transition:background .3s,border-color .3s}
.nav.on,.nav.open,.nav.svc-open{background:var(--nav-bg);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-color:var(--line)}
/* without the script that watches the scroll, the bar keeps its veil so text never runs under bare letters */
html:not(.js) .nav{background:var(--nav-bg);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-color:var(--line)}
.nav>.wrap{display:flex;align-items:center;gap:14px;height:72px}
.logo{display:block;width:150px;height:23px;flex:none;background:var(--text);-webkit-mask:url(/assets/logo-whirr.svg) no-repeat left/contain;mask:url(/assets/logo-whirr.svg) no-repeat left/contain}
/* the sections sit in the middle of the space between the logo and the call to action */
.nav-main{margin:0 auto}
.nav-main>ul{display:flex;align-items:center;gap:2px;list-style:none;margin:0}
.nav-main>ul>li>a,.nav-main .svc-btn{display:block;padding:8px 10px;border-radius:8px;font-size:15px;color:var(--text-2);transition:color .2s}
.nav-main>ul>li>a:hover,.nav-main .svc-btn:hover,.nav-main .svc-btn[aria-expanded="true"]{color:var(--text)}
/* the section you are in: ink, with a hairline under it */
.nav-main>ul>li>[aria-current]{color:var(--text);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:8px;text-decoration-color:var(--line-2)}
.nav-main .svc-btn{display:inline-flex;align-items:center;gap:4px}
.nav-main .svc-btn .chev{width:14px;height:14px;transition:transform .35s var(--out)}
.nav-main .svc-btn[aria-expanded="true"] .chev{transform:rotate(180deg)}
/* with the script, Services opens the map; without it, it is a plain link to the services page */
.js .nav-main .svc-link{display:none}
html:not(.js) .nav-main .svc-btn{display:none}
.nav .btn{height:40px;padding:0 16px;font-size:14px}
.menu{display:none;align-items:center;gap:8px;height:40px;padding:0 14px;border-radius:9px;border:1px solid var(--line-2);font-size:14px;font-weight:600}
.mpanel{display:none}
/* the toggles do nothing without the script, so they are not offered; the small-screen Menu becomes a link down to the
   footer's lists instead (.menu-nojs) */
html:not(.js) :is(.theme-btn,button.menu){display:none}
.js .menu-nojs{display:none!important}

/* the Services dropdown: the compact services map under the bar */
.svc-menu{position:absolute;left:0;right:0;top:72px;background:var(--bg);border-top:1px solid var(--line);border-bottom:1px solid var(--line);box-shadow:0 34px 60px -46px var(--shadow);max-height:calc(100vh - 72px);max-height:calc(100svh - 72px);overflow-y:auto;transition:opacity .3s var(--out),translate .35s var(--out)}
.svc-menu[hidden]{display:none}
@starting-style{ .svc-menu{opacity:0;translate:0 -6px} }
.svc-menu>.wrap{padding-top:30px;padding-bottom:22px}

/* ---------- the view dock: language, light and Present, on the right edge; each names itself on hover ---------- */
.dock{position:fixed;right:14px;top:50%;transform:translateY(-50%);z-index:35;transition:opacity .2s,visibility 0s;display:flex;flex-direction:column;align-items:center;gap:3px;padding:5px;border-radius:14px;background:var(--nav-bg);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border:1px solid var(--line);box-shadow:0 18px 40px -28px var(--shadow)}
.dock .lang{display:flex;flex-direction:column;gap:2px}
.dock :is(button,a){position:relative;display:grid;place-items:center;width:38px;height:38px;border-radius:10px;color:var(--text-2);font-size:var(--t-caption);font-weight:600;transition:background .2s,color .2s}
.dock :is(button,a):hover{color:var(--text);background:var(--line)}
.dock .lang a[aria-current]{background:var(--text);color:var(--bg)}
.dock svg{width:18px;height:18px}
/* Present is just the screen icon here, without the frame and padding a Present button has elsewhere */
.dock .pres{border:0;padding:0;gap:0;height:38px;justify-content:center}
.dock .sep{display:block;width:18px;height:1px;background:var(--line-2);margin:4px 0}
.dock em{position:absolute;right:calc(100% + 12px);top:50%;transform:translate(6px,-50%);width:max-content;max-width:280px;white-space:normal;text-align:left;font-style:normal;font-size:var(--t-caption);font-weight:500;line-height:1.4;padding:6px 10px;border-radius:8px;background:var(--text);color:var(--bg);opacity:0;pointer-events:none;transition:opacity .2s,transform .3s var(--out)}
.dock :is(button,a):is(:hover,:focus-visible) em{opacity:1;transform:translate(0,-50%)}
html:not(.js) .dock .sep{display:none}
/* while the Services dropdown is open the dock steps aside, so it never straddles the panel's edge */
:root:has(.svc-btn[aria-expanded="true"]) .dock{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s,visibility 0s .2s}

/* the language segment in the menu: the prototype's .seg, with links instead of buttons */
.seg a{display:grid;place-items:center;padding:0 11px;border-radius:6px;color:var(--muted)}
.seg a[aria-current]{background:var(--text);color:var(--bg)}
.seg a em{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

@media (max-width:1100px){
  .nav-main{display:none}
  /* the call to action stays on the right, beside Menu (the prototype left it next to the logo once the sections hid) */
  .nav>.wrap>.btn{margin-left:auto}
  .menu{display:inline-flex}
  /* on smaller screens the dock would sit on the text: its controls move into the menu instead */
  .dock{display:none}
  .nav.open .mpanel{display:block;position:absolute;left:0;right:0;top:72px;height:calc(100vh - 72px);height:calc(100svh - 72px);overflow-y:auto;overscroll-behavior:contain;background:var(--bg);border-top:1px solid var(--line);padding:6px var(--gx) 32px}
  .mpanel>a:not(.btn){display:block;padding:12px 0;font-size:18px;border-bottom:1px solid var(--line)}
  .mpanel>a[aria-current]{color:var(--accent)}
  .mpanel .mp-svc{display:grid;list-style:none;margin:0;padding:6px 0 10px;border-bottom:1px solid var(--line)}
  .mpanel .mp-svc a{display:flex;align-items:center;gap:12px;padding:7px 0;font-size:var(--t-small);color:var(--text-2)}
  .mpanel .mp-svc a:hover{color:var(--text)}
  .mpanel .mp-svc .fig{width:20px;height:20px}
  /* the Czech audit page, under cybersecurity: indented by the figure and its gap */
  .mpanel .mp-sub a{padding:2px 0 7px 32px;font-size:14px}
  /* our products, a group of their own under the practices: its label, the link as a compact chip, its text */
  .mpanel .prod-block--mobile{padding:14px 0 18px;border-bottom:1px solid var(--line)}
  .mpanel .prod-h{margin-bottom:10px;font-size:var(--t-caption);font-weight:600;color:var(--muted)}
  .mpanel .am-chip{display:inline-flex;justify-content:flex-start;gap:12px;padding:8px 12px 8px 8px}
  .mpanel .am-chip .am-mark{width:28px;height:28px;border-radius:7px;background-size:17px auto}
  .mpanel .prod-p{margin-top:10px;max-width:34em;font-size:14px}
  .mpanel .tools{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:18px}
  .mpanel .btn{margin-top:18px}
}
@media (min-width:1101px){ .mpanel{display:none!important} }
@media (max-width:820px){
  .nav .wrap>.btn{display:none}
  .nav>.wrap>.menu{margin-left:auto}
  .nav.on{background:var(--bg);-webkit-backdrop-filter:none;backdrop-filter:none}
}

/* ---------- footer ---------- */
footer.site{position:relative;z-index:2;background:var(--bg);padding:64px 0 36px;font-size:var(--t-small);color:var(--muted);border-top:1px solid var(--line)}
footer.site a{transition:color .2s}
footer.site a:hover{color:var(--text)}
.foot-grid{display:grid;grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(0,1fr));gap:40px 48px}
.foot-co .logo{margin-bottom:20px}
.foot-co p+p{margin-top:8px}
.foot-col h2{font-size:var(--t-caption);font-weight:600;line-height:1.4;color:var(--text);margin-bottom:14px}
.foot-col ul{list-style:none;display:grid;gap:9px;line-height:1.45}
.foot-base{display:flex;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;margin-top:56px;padding-top:22px;border-top:1px solid var(--line)}
/* smaller screens: the company block on its own row, the lists two by two, so the footer stays short */
@media (max-width:1100px){ .foot-grid{grid-template-columns:repeat(3,minmax(0,1fr))} .foot-co{grid-column:1/-1} }
@media (max-width:720px){ .foot-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 24px} .foot-col ul{gap:12px} }
@media (max-width:560px){ footer.site{padding-top:48px} }

/* ---------- sections, shared with the home page ---------- */
.sec{position:relative;z-index:2;background:var(--bg);padding:140px 0 0}
.sec-h{font-weight:500;font-size:var(--t-h2);line-height:1.08;letter-spacing:-.03em;max-width:15em;text-wrap:balance}
.sec-p{margin-top:18px;color:var(--text-2);font-size:var(--t-lead);max-width:38em;text-wrap:pretty}
/* lifted so a layer behind a heading never covers them */
.sec-p,.ph-lead{position:relative}
/* the accent link with an arrow (the chapters' "go" links) */
.go{display:inline-flex;align-items:center;gap:8px;font-weight:600;color:var(--accent)}
.go .i{transition:transform .3s var(--out)}
.go:hover .i{transform:translateX(3px)}
/* an inline link outside the prose */
.link{color:var(--accent);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;text-decoration-color:color-mix(in srgb,var(--accent) 45%,transparent);transition:text-decoration-color .2s}
.link:hover{text-decoration-color:currentColor}
@media (max-width:820px){ .sec{padding-top:96px} }

/* ---------- the practice figures (marks.js practiceMark) ---------- */
/* the live set is one switch (markset.js), written on <html data-marks> and on each figure (.fig--G, .fig--H, .fig--J).
   G draws in flat tones of the ink with our ▽ in cobalt; H and J in points (dots, small ▽s), each path a ring, block or
   group at its own tone (--o); the accent is cobalt */
:root{--figk:1}
:root[data-theme="dark"]{--figk:1.55}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--figk:1.55}}
.fig{display:block;flex:none;overflow:visible;color:var(--muted)}
.fig>*{transform-box:view-box;transform-origin:24px 24px;
  transition:translate 1.1s var(--out),rotate 1.2s var(--out),scale 1.1s var(--out),fill .3s,fill-opacity .5s;transition-delay:calc(var(--i,0) * 80ms)}
.mx:not(:is(:hover,:focus-visible,:focus-within)) .fig>*{transition-delay:0s}
@keyframes fig-lay{0%{scale:1}30%{scale:.84;opacity:.35}100%{scale:1;opacity:1}}
@keyframes fig-seat{0%{scale:1}30%{scale:calc(1 - .28 * var(--figamp,1))}100%{scale:1}}
@keyframes fig-part{0%{translate:0 0}32%,58%{translate:calc(var(--tx) * var(--figamp,1)) calc(var(--ty) * var(--figamp,1))}94%,100%{translate:0 0}}
@keyframes fig-seed{0%,8%{opacity:0;scale:.3}32%,58%{opacity:1;scale:1}86%,100%{opacity:0;scale:.5}}
@keyframes fig-q1{0%{opacity:1;transform:none}8%{opacity:0;transform:none}9%,18%{opacity:0;transform:rotate(var(--th)) scale(1,-1) rotate(calc(var(--th) * -1))}20%{opacity:.7;transform:rotate(var(--th)) scale(1,-1) rotate(calc(var(--th) * -1))}38%,100%{opacity:1;transform:rotate(var(--th)) scale(1,1) rotate(calc(var(--th) * -1))}}
@keyframes fig-q2{0%{opacity:1;transform:none}8%{opacity:0;transform:none}9%,38%{opacity:0;transform:rotate(var(--th)) scale(1,-1) rotate(calc(var(--th) * -1))}40%{opacity:.7;transform:rotate(var(--th)) scale(1,-1) rotate(calc(var(--th) * -1))}58%,100%{opacity:1;transform:rotate(var(--th)) scale(1,1) rotate(calc(var(--th) * -1))}}
@keyframes fig-q3{0%{opacity:1;transform:none}8%{opacity:0;transform:none}9%,58%{opacity:0;transform:rotate(var(--th)) scale(1,-1) rotate(calc(var(--th) * -1))}60%{opacity:.7;transform:rotate(var(--th)) scale(1,-1) rotate(calc(var(--th) * -1))}78%,100%{opacity:1;transform:rotate(var(--th)) scale(1,1) rotate(calc(var(--th) * -1))}}
@keyframes fig-settle{0%{translate:0 0}10%,76%{translate:0 -2.6px}88%{translate:0 .5px}100%{translate:0 0}}
@keyframes fig-wipe{from{clip-path:inset(0 50% 0 50%)}to{clip-path:inset(0 0 0 0)}}
@keyframes fig-out{0%{translate:0 0}36%{translate:calc(var(--tx) * var(--figamp,1)) calc(var(--ty) * var(--figamp,1))}100%{translate:0 0}}
@keyframes fig-rise{0%{translate:0 0;scale:1}30%{translate:0 6px;scale:.62;opacity:.25}100%{translate:0 0;scale:1;opacity:1}}
@keyframes fig-close{0%{scale:1}34%{scale:calc(1 + .1 * var(--figamp,1));opacity:.45}100%{scale:1;opacity:1}}
@keyframes fig-wave{0%{scale:1}34%{scale:calc(1 + .07 * var(--figamp,1))}100%{scale:1}}
@keyframes fig-pop{0%{scale:1}38%{scale:calc(1 + .14 * var(--figamp,1))}100%{scale:1}}
@keyframes fig-drop{0%{translate:0 calc(-4.2px * var(--figamp,1))}62%{translate:0 .5px}100%{translate:0 0}}
@keyframes fig-join{0%{translate:0 0;opacity:1}30%{translate:calc(var(--tx) * var(--figamp,1)) calc(var(--ty) * var(--figamp,1));opacity:.35}100%{translate:0 0;opacity:1}}
/* drawn at 18–20 px a move of a few units is under a pixel, so the small figures move about twice as far */
.fig--xs{--figamp:2.2}

/* G · Tone II: solid tones of the ink, cut apart by gaps (deeper in the dark, --figk), our ▽ in cobalt; the measure is the
   only line. Pointed at or focused, its host (.mx) plays the figure once: the walls are laid round the ▽ again, the
   spark's quarters part along the creases and show our ▽ at its heart, the square falls back to the ▽ and unfolds three
   times into its slot and is measured, the team draws apart and ours rises into its place */
.fig--G>*{fill:currentColor;fill-opacity:calc(var(--o,.2) * var(--figk));stroke:none}
.fig--G .a{fill:var(--accent);fill-opacity:1;stroke:none}
.fig--G .q{fill-opacity:var(--o)}
.fig--G.fig--ai :is(.hu,.hL,.q){transform-box:view-box;transform-origin:24px 24px}
.fig--G.fig--ai .seed{opacity:0;scale:.3}
.fig--G.fig--software .fq{fill-opacity:var(--o);transform-box:view-box}
.fig--G .dim{fill:none;stroke:var(--accent);stroke-width:1;stroke-linecap:butt;vector-effect:non-scaling-stroke}
.fig--G.fig--xs .dim{stroke-width:1.25}
.mx:is(:hover,:focus-visible,:focus-within) .fig--G.fig--security .bd{animation:fig-lay 1.2s var(--out) calc(var(--i) * 110ms) both}
.mx:is(:hover,:focus-visible,:focus-within) .fig--G.fig--security .core{animation:fig-seat 1.1s var(--out) both}
.mx:is(:hover,:focus-visible,:focus-within) .fig--G.fig--ai .q{animation:fig-part 2.2s cubic-bezier(.62,0,.38,1) both}
.mx:is(:hover,:focus-visible,:focus-within) .fig--G.fig--ai .seed{animation:fig-seed 2.2s cubic-bezier(.62,0,.38,1) both}
.mx:is(:hover,:focus-visible,:focus-within) .fig--G.fig--software .sqg{animation:fig-settle 2.3s var(--out) both}
.mx:is(:hover,:focus-visible,:focus-within) .fig--G.fig--software .q1{animation:fig-q1 2.3s cubic-bezier(.6,0,.4,1) both}
.mx:is(:hover,:focus-visible,:focus-within) .fig--G.fig--software .q2{animation:fig-q2 2.3s cubic-bezier(.6,0,.4,1) both}
.mx:is(:hover,:focus-visible,:focus-within) .fig--G.fig--software .q3{animation:fig-q3 2.3s cubic-bezier(.6,0,.4,1) both}
.mx:is(:hover,:focus-visible,:focus-within) .fig--G.fig--software .dim{animation:fig-wipe .5s var(--out) 1.85s both}
.mx:is(:hover,:focus-visible,:focus-within) .fig--G.fig--teams .tg{animation:fig-out 1.2s var(--out) calc(var(--i) * 60ms) both}
.mx:is(:hover,:focus-visible,:focus-within) .fig--G.fig--teams .tg.a{animation:fig-rise 1.3s var(--out) .22s both}

/* H · Points II and J · Triangles: points (dots or small ▽s). Pointed at or focused: the rings turn and close in on the
   core, a wave runs out through the data into the spark, ours drops into the gap, the team closes ranks */
.fig:is(.fig--H,.fig--J)>*{fill:currentColor;fill-opacity:var(--o,.5);stroke:none}
.fig:is(.fig--H,.fig--J)>.a{fill:var(--accent);fill-opacity:1}
.fig:is(.fig--H,.fig--J).fig--software>.pc{translate:0 -4.2px}
.fig--H.fig--software>.pc{translate:calc(2.6px * var(--figamp,1)) calc(-2.6px * var(--figamp,1))}
.mx:is(:hover,:focus-visible,:focus-within) .fig:is(.fig--H,.fig--J).fig--security>.rg{rotate:var(--rot);fill-opacity:calc(var(--o) + .2);animation:fig-close 1.1s var(--out) calc(var(--i) * 120ms) both}
.mx:is(:hover,:focus-visible,:focus-within) .fig:is(.fig--H,.fig--J).fig--security>.core{animation:fig-seat 1.1s var(--out) .2s both}
.mx:is(:hover,:focus-visible,:focus-within) .fig:is(.fig--H,.fig--J).fig--ai>.gr{fill-opacity:calc(var(--o) + .12);animation:fig-wave 1s var(--out) calc(var(--i) * 70ms) both}
.mx:is(:hover,:focus-visible,:focus-within) .fig:is(.fig--H,.fig--J).fig--ai>.spk{transform-box:fill-box;transform-origin:50% 50%;animation:fig-pop 1s var(--out) both}
.mx:is(:hover,:focus-visible,:focus-within) .fig--J.fig--software>.pc{translate:0 0;animation:fig-drop .9s var(--out) both}
.mx:is(:hover,:focus-visible,:focus-within) .fig--H.fig--software>.pc{translate:0 0;transform-box:fill-box;transform-origin:50% 50%;animation:fig-pop .9s var(--out) .35s both}
.mx:is(:hover,:focus-visible,:focus-within) .fig:is(.fig--H,.fig--J).fig--software>.bk{fill-opacity:calc(var(--o) + .14);transition-delay:calc(.45s + var(--i) * 60ms)}
.mx:is(:hover,:focus-visible,:focus-within) .fig:is(.fig--H,.fig--J).fig--teams>.tm{animation:fig-close 1.1s var(--out) calc((2 - var(--i)) * 90ms) both}
.mx:is(:hover,:focus-visible,:focus-within) .fig:is(.fig--H,.fig--J).fig--teams>.ours{animation:fig-join 1.2s var(--out) .25s both}

/* the practice's name beside its figure, pointed at or focused (the hosts: .mx>.fig+span, .smm-name, .adj-t, a card's
   .pe, .pm-name a, .prx-name a). G: a small cobalt ▽ drops in before the name. H: a row of dots runs in under it. J: a
   row of small ▽s (a mask of one ▽, repeated; it scales with the type) */
:root[data-marks="G"] :is(.mx>.fig+span:not(.ptag-n),.smm-name>.fig+span,.adj-t>.fig+span,.mx .pe>.fig+span,.pm-name a,.prx-name a)::before{content:"";display:inline-block;width:0;height:.42em;margin-right:0;vertical-align:.1em;background:var(--accent);clip-path:polygon(0 0,100% 0,50% 100%);translate:0 -.45em;opacity:0;transition:width .7s var(--out),margin .7s var(--out),translate .9s var(--out),opacity .4s}
:root[data-marks="G"] .mx:is(:hover,:focus-visible,:focus-within) :is(.fig+span,.pm-name a,.prx-name a)::before{width:.48em;margin-right:.4em;translate:0 0;opacity:1}
:root:is([data-marks="H"],[data-marks="J"]) :is(.mx>.fig+span:not(.ptag-n),.smm-name>.fig+span,.adj-t>.fig+span,.mx .pe>.fig+span,.pm-name a,.prx-name a){position:relative}
:root:is([data-marks="H"],[data-marks="J"]) :is(.mx>.fig+span:not(.ptag-n),.smm-name>.fig+span,.adj-t>.fig+span,.mx .pe>.fig+span,.pm-name a,.prx-name a)::after{content:"";position:absolute;left:0;bottom:-.34em;width:0;pointer-events:none;transition:width .9s var(--out)}
:root[data-marks="H"] :is(.mx>.fig+span:not(.ptag-n),.smm-name>.fig+span,.adj-t>.fig+span,.mx .pe>.fig+span,.pm-name a,.prx-name a)::after{height:3px;background:radial-gradient(circle at 1.5px 1.5px,var(--accent) 1px,transparent 1.4px) 0 0/5px 3px repeat-x}
:root[data-marks="J"] :is(.mx>.fig+span:not(.ptag-n),.smm-name>.fig+span,.adj-t>.fig+span,.mx .pe>.fig+span,.pm-name a,.prx-name a)::after{height:clamp(4px,.24em,8px);background:var(--accent);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='4'%3E%3Cpath d='M.6 0h4.6L2.9 4z'/%3E%3C/svg%3E") 0 0/auto 100% repeat-x;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='4'%3E%3Cpath d='M.6 0h4.6L2.9 4z'/%3E%3C/svg%3E") 0 0/auto 100% repeat-x}
.mx:is(:hover,:focus-visible,:focus-within) :is(.fig+span,.pm-name a,.prx-name a)::after{width:100%}

/* ---------- a card's practices as tags (chrome.js practiceTags) ---------- */
/* at rest only the bare mark, no pill (owner, 29 Oct); pointed at or focused, the tag becomes a button: the pill unrolls
   from the mark with the name in it. Above the card's link (its ::after covers the card), so each tag is its own link
   to the list filtered by that practice. The tag keeps the mark's 30 px square in the layout and the pill is drawn
   over its neighbours, so opening one moves nothing around it. It unrolls to the right by its clip (no reflow),
   440 ms ease-out, into the free line under a card's cover or client logo, so it never runs into either */
.ptags{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:4px;list-style:none;margin:0;padding:0}
.ptag{--ptag-e:cubic-bezier(.25,.46,.45,.94);position:relative;display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:999px;color:var(--text-2);font-size:var(--t-caption);font-weight:600;line-height:1;white-space:nowrap;transition:z-index 0s .36s}
.ptag .fig{position:relative;z-index:1;width:20px;height:20px}
/* the pill: as wide as the name needs, clipped at rest to a circle round the mark (and transparent there). The clip
   reaches 4 px past the pill so the focus ring shows */
.ptag-n{--ptag-rest:inset(-4px calc(100% - 34px) -4px -4px round 19px);position:absolute;top:0;left:0;display:flex;align-items:center;height:30px;padding:0 13px 0 32px;border:1px solid transparent;border-radius:999px;background:transparent;color:transparent;clip-path:var(--ptag-rest);transition:clip-path .34s var(--ptag-e),border-color .25s ease,background-color .25s ease,color .2s ease}
.ptag:is(:hover,:focus-visible){z-index:2;color:var(--text);transition-delay:0s}
.ptag:is(:hover,:focus-visible) .ptag-n{clip-path:inset(-4px round 19px);border-color:var(--line-2);background:var(--bg);color:var(--text);transition:clip-path .44s var(--ptag-e),border-color .3s ease,background-color .3s ease,color .35s ease .06s}
.ptag:focus-visible{outline:none}
.ptag:focus-visible .ptag-n{outline:2px solid var(--accent);outline-offset:2px}
/* the bare mark lines up with the card's edge (the pill, opened, reaches a few pixels past it) */
.ptags{margin-inline:-5px}
/* an opening pill passes over the next mark on its right: that mark steps back, fading and shrinking a little, on the
   pill's own timing, and comes back as the pill closes. The others stay */
@media (hover:hover){
  .ptag .fig{transition:opacity .34s var(--ptag-e),scale .34s var(--ptag-e)}
  .ptags li:has(>.ptag:is(:hover,:focus-visible)) ~ li .fig{opacity:0;scale:.6;transition-duration:.44s}
}
/* where nothing can point (touch), the names stay open beside the marks, in the line, without a pill */
@media (hover:none){
  .ptags{gap:4px 14px;margin-inline:0}
  .ptag{width:auto;justify-content:flex-start}
  .ptag-n,.ptag:is(:hover,:focus-visible) .ptag-n{position:static;height:auto;padding:0 0 0 6px;border:0;background:none;color:inherit;clip-path:none;transition:none}
  .ptag:focus-visible .ptag-n{outline:none}
  .ptag:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
}

/* ---------- the practice eyebrow: a figure and the practice's name, sentence case (chrome.js practiceEyebrow) ---------- */
.pe{display:inline-flex;align-items:center;gap:8px;font-size:var(--t-caption);font-weight:600;line-height:1.4;color:var(--text-2)}
.pe .fig{width:18px;height:18px}
.pe--lg{display:flex;gap:11px;margin-bottom:18px}
.pe--lg .fig{width:24px;height:24px}

/* ---------- services map: the /services rows ('page') ---------- */
/* one full-width ruled row per practice: the figure, the name and its line with the foot under them, the items */
.pmap{list-style:none;margin:0;border-bottom:1px solid var(--line-2)}
.pm{position:relative;display:grid;grid-template-columns:88px minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto 1fr;grid-template-areas:"mark head svc" "mark foot svc";column-gap:clamp(32px,4.5vw,72px);padding:clamp(48px,5vw,72px) 0 clamp(56px,5.6vw,80px);border-top:1px solid var(--line-2);scroll-margin-top:calc(var(--nav-h) + 24px)}
/* the practice's own rule, drawn in ink from the left when you point at it (the hero verb's rule, in miniature) */
.pm::before{content:"";position:absolute;left:0;right:0;top:-1px;height:1px;background:var(--text);transform:scaleX(0);transform-origin:left;transition:transform .7s var(--out)}
.pm:is(:hover,:focus-within)::before{transform:scaleX(1)}
.pm-mark{grid-area:mark}
.pm-mark .fig{width:88px;height:88px;color:var(--muted);color:color-mix(in srgb,var(--muted) 72%,var(--bg))}
.pm-head{grid-area:head}
.pm-name{font-size:var(--t-h2);font-weight:500;line-height:1.08;letter-spacing:-.03em;color:var(--text);text-wrap:balance}
.pm-name a{transition:color .2s}
.pm-name a:hover{color:var(--accent)}
.pm-line{margin-top:16px;max-width:30em;font-size:var(--t-body);line-height:1.6;color:var(--text-2);text-wrap:pretty}
.pm-foot{grid-area:foot;align-self:start;display:grid;justify-items:start;gap:24px;margin-top:28px}
.pm-svc{grid-area:svc;align-self:start;list-style:none;margin:0;border-top:1px solid var(--line-2)}
.pm-svc a{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:52px;padding:12px 0;border-bottom:1px solid var(--line);font-size:var(--t-body);line-height:1.35;color:var(--text);transition:color .2s}
.pm-svc a .i{flex:none;color:var(--muted);transition:transform .3s var(--out),color .2s}
.pm-svc a:hover{color:var(--accent)}
.pm-svc a:hover .i{color:var(--accent);transform:translateX(3px)}
@media (max-width:1100px){
  .pm{grid-template-columns:72px minmax(0,1fr);grid-template-rows:none;grid-template-areas:"mark head" "mark svc" "mark foot";column-gap:clamp(24px,4vw,40px)}
  .pm-mark .fig{width:72px;height:72px}
  .pm-svc{margin-top:28px;max-width:40em}
}
@media (max-width:720px){
  .pm{grid-template-columns:44px minmax(0,1fr);grid-template-areas:"mark name" "line line" "svc svc" "foot foot";column-gap:16px;padding:36px 0 44px}
  .pm-head{display:contents}
  .pm-mark{align-self:center}
  .pm-mark .fig{width:44px;height:44px}
  .pm-name{grid-area:name;align-self:center;font-size:var(--t-h3);line-height:1.2;letter-spacing:-.02em}
  .pm-line{grid-area:line;margin-top:16px;font-size:var(--t-small)}
  .pm-svc{margin-top:20px;max-width:none}
  .pm-svc a{min-height:48px;padding:10px 0;font-size:var(--t-small)}
  .pm-foot{margin-top:24px}
}

/* ---------- our products (services-map.js productsBlock): AuditMaster.ai, beside the practices, not among them ---------- */
/* its link in the muted blue of its card on the home page, its mark on a white tile; its text under it, quiet */
.am-chip{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px 13px;border-radius:12px;background:var(--am-bg);color:#fff;transition:background .25s}
.am-chip:hover{background:color-mix(in srgb,var(--am-bg) 86%,#fff)}
.am-chip-t{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
/* its mark, in its own blue on a white tile, so it reads on the muted blue in either theme */
.am-mark{flex:none;width:30px;height:30px;border-radius:8px;background:#fff url(/assets/auditmaster-mark.svg) center/18px auto no-repeat;box-shadow:0 1px 0 rgba(0,0,0,.08)}
.svc-menu .am-mark{width:28px;height:28px;border-radius:7px;background-size:17px auto}
.am-chip b{font-size:var(--t-small);font-weight:500;line-height:1.3}
.am-chip .i{flex:none;transition:transform .3s var(--out)}
.am-chip:hover .i{transform:translate(2px,-2px)}
.am-chip:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.prod-block{min-width:0}
.prod-list{list-style:none;margin:0;padding:0}
.prod-p{margin-top:12px;font-size:var(--t-caption);line-height:1.55;color:var(--muted);text-wrap:pretty}
/* /services: after the four practices and under their closing rule, a quieter row on the same grid: the label where a
   practice's name stands, the link and its text where the items stand; no figure, as it is not a practice */
.prod-block--page{display:grid;grid-template-columns:88px minmax(0,1fr) minmax(0,1fr);grid-template-areas:". head list";column-gap:clamp(32px,4.5vw,72px);padding:clamp(36px,3.6vw,52px) 0 clamp(40px,4vw,56px)}
.prod-block--page .prod-head{grid-area:head}
.prod-block--page .prod-h{font-size:var(--t-h3);font-weight:500;line-height:1.25;letter-spacing:-.02em;color:var(--text);text-wrap:balance}
.prod-block--page .prod-list{grid-area:list}
.prod-block--page .am-chip{width:min(100%,380px)}
.prod-block--page .prod-p{margin-top:14px;max-width:34em;font-size:var(--t-small);line-height:1.6;color:var(--text-2)}
@media (max-width:1100px){
  .prod-block--page{grid-template-columns:72px minmax(0,1fr);grid-template-areas:". head" ". list";column-gap:clamp(24px,4vw,40px);row-gap:20px}
}
@media (max-width:720px){
  .prod-block--page{grid-template-columns:minmax(0,1fr);grid-template-areas:"head" "list";padding:32px 0 40px}
}

/* ---------- services map: the dropdown ('menu') ---------- */
/* the four practices in equal columns, and at the side, past a hairline, the narrower column of our products */
.svc-menu .smm-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,min(16vw,228px))}
.svc-menu .smm-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;list-style:none;margin:0}
.svc-menu .smm-p{padding:0 clamp(12px,1.3vw,22px) 8px;border-left:1px solid var(--line)}
.svc-menu .smm-p:first-child{padding-left:0;border-left:0}
.svc-menu .prod-block--menu{padding:0 0 8px clamp(16px,1.6vw,26px);border-left:1px solid var(--line-2)}
/* its label on the line of the practices' names, a step quieter; its rule where theirs is (the names' line holds two
   lines, so a long Czech name that wraps keeps every rule on one line) */
.svc-menu .prod-h{display:flex;align-items:center;min-height:44px;margin:0 0 12px;font-size:var(--t-small);font-weight:600;line-height:1.25;color:var(--text-2)}
.svc-menu .prod-list{padding-top:14px;border-top:1px solid var(--line-2)}
.svc-menu .smm-name{display:flex;align-items:center;gap:12px;min-height:44px;margin:0 0 12px;padding:0;font-size:var(--t-body);font-weight:500;line-height:1.25;color:var(--text);border-radius:6px}
.svc-menu .smm-name .fig{width:30px;height:30px}
/* one rule under the name, then the practice's items as quiet links, so the whole map fits under the bar on a laptop */
.svc-menu .smm-svc{display:grid;gap:0;list-style:none;margin:0;padding-top:8px;border-top:1px solid var(--line-2)}
.svc-menu .smm-svc a{display:block;padding:6px 0;font-size:var(--t-small);line-height:1.4;color:var(--text-2);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;text-decoration-color:transparent;transition:color .2s,text-decoration-color .2s}
.svc-menu .smm-svc a:hover{color:var(--text);text-decoration-color:var(--line-2)}
.svc-menu .am-chip{gap:10px;padding:9px 10px 9px 9px}
.svc-menu .am-chip b{font-size:14px}
/* on a narrow desktop (1101-1279 px) five columns would wrap every name: the practices keep the width, and our products
   become a band under them, set apart by its own hairline: the label, the link, its text on one line */
@media (min-width:1101px) and (max-width:1279px){
  .svc-menu .smm-row{grid-template-columns:minmax(0,1fr);row-gap:20px}
  .svc-menu .smm-name,.svc-menu .prod-h{min-height:30px}
  .svc-menu .prod-block--menu{display:flex;align-items:center;gap:28px;padding:18px 0 0;border-left:0;border-top:1px solid var(--line)}
  .svc-menu .prod-h{flex:none;margin:0}
  .svc-menu .prod-list{flex:1;padding:0;border-top:0}
  .svc-menu .prod{display:flex;align-items:center;gap:24px}
  .svc-menu .prod .am-chip{flex:none;min-width:200px}
  .svc-menu .prod-p{margin:0;max-width:72ch}
}
.svc-menu .smm-foot{display:flex;justify-content:flex-start;margin-top:22px;padding-top:16px;border-top:1px solid var(--line)}
.svc-menu .smm-foot .go{font-size:var(--t-small)}
/* the dropdown only opens above 1100 px; elsewhere (the kit, a page that shows the compact map) it folds like the board */
@media (max-width:1100px){
  .svc-menu .smm-row{grid-template-columns:minmax(0,1fr);row-gap:28px}
  .svc-menu .prod-block--menu{padding:0;border-left:0}
  .svc-menu .smm-grid{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:28px}
  .svc-menu .smm-p:nth-child(odd){padding-left:0;border-left:0}
  .svc-menu .smm-p:nth-child(even){padding-right:0}
}
@media (max-width:720px){
  .svc-menu .smm-grid{grid-template-columns:1fr}
  .svc-menu .smm-p{padding:0;border-left:0}
}

/* ---------- the practice switcher and pager (service pages; services-map.js practiceSwitcher, practiceAdjacent) ---------- */
/* four equal ruled cells on the page grid; the current one carries a 2px ink rule and its figure's accent, the others
   are monochrome until pointed at */
.psw{margin:0 0 clamp(28px,3vw,44px)}
.psw ul{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:clamp(16px,2vw,32px);list-style:none;margin:0}
.psw a{position:relative;display:flex;align-items:center;gap:10px;height:100%;min-height:48px;padding:12px 0 6px;border-top:1px solid var(--line-2);font-size:var(--t-small);font-weight:500;line-height:1.3;color:var(--text-2);transition:color .2s}
.psw a::before{content:"";position:absolute;left:0;right:0;top:-1px;height:2px;background:var(--text-2);transform:scaleX(0);transform-origin:left;transition:transform .6s var(--out)}
.psw a:hover{color:var(--text)}
.psw a:hover::before{transform:scaleX(1)}
.psw a[aria-current]{color:var(--text)}
.psw a[aria-current]::before{background:var(--text);transform:scaleX(1)}
.psw .fig{width:20px;height:20px}
.psw a:not([aria-current]) .fig>.a{fill:currentColor;fill-opacity:.7}
.psw a:not([aria-current]):hover .fig>.a{fill:var(--accent);fill-opacity:1}
@media (max-width:720px){ .psw ul{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:4px} }
.psw-adj{margin-top:var(--space-section)}
.psw-adj .adj-t{display:inline-flex;align-items:center;gap:12px}
.psw-adj .adj-t .fig{width:30px;height:30px}

/* ---------- page header ---------- */
.ph{padding:clamp(40px,6vw,88px) 0 var(--space-block)}
.crumbs{margin-bottom:clamp(24px,2.4vw,32px)}
.crumbs ol{display:flex;flex-wrap:wrap;list-style:none;font-size:var(--t-caption);line-height:1.6;color:var(--muted)}
.crumbs li+li::before{content:"/";margin:0 10px;color:var(--line-2)}
.crumbs a{transition:color .2s}
.crumbs a:hover{color:var(--text)}
.crumbs [aria-current]{color:var(--text-2)}
.ph-h{font-weight:500;font-size:var(--t-h2);line-height:1.08;letter-spacing:-.03em;max-width:22em;text-wrap:balance;color:var(--text)}
.ph--display .ph-h{font-size:var(--t-display);line-height:1.04;letter-spacing:-.035em;max-width:16em}
.ph-lead{margin-top:var(--space-head);font-size:var(--t-lead);color:var(--text-2);max-width:38em;text-wrap:pretty}
/* the lead with words beside it (pageHeader side: a service page's opening): from 1101px the lead on the left and the
   words on the right, on the 6/6 grid the page's sections use, their first lines on one baseline; below, the words
   under the lead. The page's first section then hangs a section's distance below */
.ph--split{padding-bottom:var(--space-section)}
.ph-split{margin-top:var(--space-head)}
.ph-split>.ph-lead{margin-top:0}
.ph-side{margin-top:calc(var(--space-head) + 8px)}
@media (min-width:1101px){
  .ph-split{display:grid;grid-template-columns:minmax(0,6fr) minmax(0,6fr);column-gap:var(--col-gap);align-items:baseline}
  .ph-split>.ph-lead{max-width:34em}
  .ph-side{margin-top:0}
  .ph-side .prose{max-width:none}
  /* without a lead (it repeated the opening) the opening takes both columns, its paragraphs flowing from one to the
     other, the first where the lead would be */
  .ph-split:not(:has(>.ph-lead)){grid-template-columns:minmax(0,1fr)}
  .ph-split:not(:has(>.ph-lead))>.ph-side .prose{columns:2;column-gap:var(--col-gap)}
  .ph-split:not(:has(>.ph-lead))>.ph-side .prose>*{break-inside:avoid}
}
.ph .meta{margin-top:var(--space-head)}
.ph .notice{margin-top:calc(var(--space-head) + 4px)}

/* ---------- meta row, tags, filters ---------- */
/* every item carries its separator in front; the row is pulled 21px left and that strip is clipped, so a line never
   starts with a dot when the row wraps */
.meta{display:flex;flex-wrap:wrap;align-items:center;row-gap:4px;margin-left:-21px;clip-path:inset(-8px -8px -8px 21px);font-size:14px;line-height:1.6;color:var(--muted);font-variant-numeric:tabular-nums}
.meta>*::before{content:"·";display:inline-block;width:21px;text-align:center;color:var(--line-2)}
/* a card whose text is in the other language says so before anyone opens it */
.meta-lang{font-weight:600;color:var(--text-2)}
.tags{display:flex;flex-wrap:wrap;gap:8px;list-style:none}
.tags :is(a,span){display:inline-block;font-size:var(--t-caption);font-weight:600;line-height:1.5;padding:4px 10px;border-radius:8px;border:1px solid var(--line-2);color:var(--text-2);transition:border-color .2s,color .2s}
.tags a:hover{border-color:var(--text);color:var(--text)}
.filters{display:flex;flex-wrap:wrap;gap:12px}
.chip{display:inline-flex;align-items:center;gap:9px;height:40px;padding:0 16px;border-radius:9px;border:1px solid var(--line-2);font-size:var(--t-caption);font-weight:600;color:var(--text-2);transition:border-color .2s,color .2s,background .2s}
.chip:hover{border-color:var(--text);color:var(--text)}
.chip .fig{width:18px;height:18px}
.chip[aria-current]{background:var(--text);border-color:var(--text);color:var(--bg)}
/* the pressed chip is inked, so its figure turns to the paper's tones */
.chip[aria-current] .fig{color:color-mix(in srgb,var(--bg) 55%,var(--text))}
.chip[aria-current] .fig>.a{fill:var(--bg)}

/* ---------- inner-page layout ---------- */
.page-body{padding-bottom:var(--space-end)}
.page-body>.wrap>*+*{margin-top:var(--space-block)}
/* an article with a side column (contents, facts): the text keeps its measure, the side column sticks on wide screens */
.article-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:48px}
.article-aside{display:grid;gap:var(--space-stack);align-content:start}
@media (min-width:1101px){
  .article-grid{grid-template-columns:minmax(0,var(--measure)) minmax(240px,300px);justify-content:space-between;gap:72px}
  .article-aside .sticky{position:sticky;top:calc(var(--nav-h) + 32px)}
}
@media (max-width:1100px){ .article-aside--first{order:-1} }

/* ---------- prose: rendered Markdown ---------- */
.prose{max-width:var(--measure);font-size:var(--t-body);line-height:1.65;color:var(--text-2)}
.prose>*+*{margin-top:1.15em}
.prose>:first-child{margin-top:0}
.prose :is(h2,h3,h4){color:var(--text);font-weight:500;text-wrap:balance;scroll-margin-top:calc(var(--nav-h) + 24px)}
.prose h2{font-size:calc(var(--t-h3) * 1.2);line-height:1.2;letter-spacing:-.02em;margin-top:2.5em}
.prose h3{font-size:var(--t-h3);line-height:1.3;letter-spacing:-.015em;margin-top:2em}
.prose h4{font-size:var(--t-body);line-height:1.45;margin-top:1.8em}
.prose :is(h2,h3,h4)+*{margin-top:.8em}
.prose :is(strong,b){font-weight:600;color:var(--text)}
.prose a{color:var(--accent);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;text-decoration-color:color-mix(in srgb,var(--accent) 45%,transparent);transition:text-decoration-color .2s}
.prose a:hover{text-decoration-color:currentColor}
.prose :is(ul,ol){padding-left:1.35em}
.prose li+li{margin-top:.45em}
.prose li>:is(ul,ol){margin-top:.45em}
.prose ul>li::marker{color:var(--muted)}
.prose ol>li::marker{color:var(--accent);font-weight:600;font-size:.85em;font-variant-numeric:tabular-nums}
.prose hr{border:0;border-top:1px solid var(--line-2);margin:2.6em 0}
.prose img{display:block;max-width:100%;height:auto;border-radius:10px;background:var(--bg-2)}
.prose figure{margin:2.2em 0}
.prose figcaption{margin-top:10px;font-size:var(--t-caption);line-height:1.45;color:var(--muted)}
/* today's whirrcrew.com quote mark: two upright bars half behind the first line, as on the testimonials */
.prose blockquote{position:relative;isolation:isolate;margin:2em 0;padding-top:8px;max-width:34em;font-style:italic;font-size:var(--t-lead);line-height:1.5;color:var(--text)}
.prose blockquote::before,.prose blockquote::after{content:"";position:absolute;top:-10px;z-index:-1;width:11px;height:26px;background:var(--qbar)}
.prose blockquote::before{left:-13px}
.prose blockquote::after{left:1px}
.prose blockquote>*+*{margin-top:.6em}
.prose :not(pre)>code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.86em;padding:.1em .38em;border-radius:6px;border:1px solid var(--line);background:var(--panel);color:var(--text)}
.prose pre{overflow-x:auto;padding:16px 18px;border-radius:10px;border:1px solid var(--line);background:var(--panel);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:14px;line-height:1.55;color:var(--text)}
.prose pre code{font:inherit}
/* tables: ruled like the roster; wide ones scroll inside their own box (site.js wraps them; without it the table itself scrolls) */
.prose table{width:100%;border-collapse:collapse;font-size:var(--t-small);line-height:1.45}
.prose>table{display:block;overflow-x:auto}
.prose .table-scroll{overflow-x:auto;overscroll-behavior-x:contain}
.prose .table-scroll:focus-visible{outline-offset:4px}
.prose th{text-align:left;font-size:var(--t-caption);font-weight:600;color:var(--muted);padding:0 20px 10px 0;border-bottom:1px solid var(--line-2);white-space:nowrap}
.prose td{padding:11px 20px 11px 0;border-bottom:1px solid var(--line);vertical-align:top}
.prose :is(th,td):last-child{padding-right:0}
.prose td:first-child{color:var(--text)}
/* a link to each heading, added by site.js; it copies the address */
.prose .hlink{display:inline-grid;place-items:center;width:1em;height:1em;margin-left:.3em;vertical-align:-.08em;border-radius:6px;color:var(--muted);opacity:0;transition:opacity .2s,color .2s}
.prose .hlink svg{width:.62em;height:.62em}
.prose :is(h2,h3,h4):hover .hlink,.prose .hlink:focus-visible,.prose .hlink.copied{opacity:1}
.prose .hlink:hover{color:var(--accent)}
.prose .hlink.copied{color:var(--accent)}
@media (hover:none){ .prose .hlink{opacity:.45} }

/* ---------- cards: ruled tiles, not panels. A hairline above, no fill, no shadow; the whole card is one link ---------- */
/* a list of cards breathes (owner, 29 Oct, twice): a generous row gap and column gap, so each card reads as its own tile
   under its own rule, and inside a card a rhythm rather than one gap: the client's logo (or the cover) with air above
   it, the practice's tags close under it, the title a little further, its text close to it, the link clear of all */
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));gap:clamp(64px,6.8vw,104px) clamp(40px,4.4vw,72px);list-style:none}
/* each card fills its cell, so the links of a row line up at the foot of the row */
.cards>li{display:grid}
.card{position:relative;display:flex;flex-direction:column;gap:14px;padding-top:clamp(28px,2.8vw,40px);border-top:1px solid var(--line-2)}
.card>.ptags+.card-h{margin-top:4px}
.card::before{content:"";position:absolute;left:0;right:0;top:-1px;height:1px;background:var(--text);transform:scaleX(0);transform-origin:left;transition:transform .6s var(--out)}
.card:is(:hover,:focus-within)::before{transform:scaleX(1)}
.card-h{font-size:var(--t-h3);font-weight:500;line-height:1.25;letter-spacing:-.02em;color:var(--text);text-wrap:balance}
.card-h a::after{content:"";position:absolute;inset:0}
.card-h a:focus-visible{outline:0}
.card:has(.card-h a:focus-visible){outline:2px solid var(--accent);outline-offset:8px;border-radius:4px}
.card-p{font-size:var(--t-small);line-height:1.6;color:var(--text-2);display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.card .meta{font-size:var(--t-caption)}
.card-go{display:inline-flex;align-items:center;gap:8px;margin-top:auto;padding-top:20px;font-size:var(--t-small);font-weight:600;color:var(--accent)}
.card-go .i{transition:transform .3s var(--out)}
.card:hover .card-go .i{transform:translateX(3px)}
.card-cover{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:10px;background:var(--bg-2);margin-bottom:6px}
/* the blog's pictures are black and white, as the portraits are (owner, 29 Oct); pointed at or focused, a card lets a
   hint of the colour back */
.card--article .card-cover{filter:grayscale(1);transition:filter .6s var(--out)}
.card--article:is(:hover,:focus-within) .card-cover{filter:grayscale(.55)}
.card-logo{display:block;height:30px;width:auto;max-width:170px;object-fit:contain;object-position:left center;margin-bottom:8px}
.card-logo--mask{width:150px;background:var(--text-2);opacity:.85;-webkit-mask:var(--src) no-repeat left center/contain;mask:var(--src) no-repeat left center/contain}
.card-client{font-size:var(--t-small);font-weight:600;color:var(--text);margin-bottom:4px}
/* a case card's top line: the client's logo (or name), on a band as tall as the tallest mark, so the titles of a row
   start on one line (pages.css sizes each mark) */
.card-top{display:flex;align-items:center;min-height:56px}
.card-top>:is(.card-logo,.card-client){margin-bottom:0}
/* a position card: its facts read as a quiet line */
.card--position .meta{order:-1}

/* ruled rows: the home page's work list, for lists that read best as rows (positions, documents) */
.rows{list-style:none;border-top:1px solid var(--line-2)}
.rows>li>:is(a,div){display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) 24px;gap:8px 24px;align-items:baseline;padding:24px 8px 25px;border-bottom:1px solid var(--line);transition:background .3s,padding .4s var(--out)}
.rows>li>a:hover{background:linear-gradient(90deg,color-mix(in srgb,var(--cobalt) 12%,transparent),transparent 70%);padding-left:16px}
.rows .r-t{font-size:var(--t-h3);font-weight:500;letter-spacing:-.02em;line-height:1.25;color:var(--text)}
.rows .r-m{font-size:var(--t-small);color:var(--muted)}
.rows svg.i{color:var(--muted);transition:transform .3s,color .3s}
.rows>li>a:hover svg.i{transform:translateX(4px);color:var(--text)}
@media (max-width:1100px){
  .rows>li>:is(a,div){grid-template-columns:minmax(0,1fr) 24px}
  .rows .r-m{grid-column:1}
  .rows svg.i{grid-row:1;grid-column:2}
}

/* ---------- pagination ---------- */
.pager{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:var(--space-block);padding-top:20px;border-top:1px solid var(--line-2);font-size:var(--t-small)}
.pager ol{display:flex;flex-wrap:wrap;gap:4px;list-style:none}
.pager ol a{display:grid;place-items:center;min-width:40px;height:40px;padding:0 8px;border-radius:9px;font-weight:600;color:var(--text-2);font-variant-numeric:tabular-nums;transition:background .2s,color .2s}
.pager ol a:hover{background:var(--line);color:var(--text)}
.pager ol a[aria-current]{background:var(--text);color:var(--bg)}
.pager .pg-gap{display:grid;place-items:center;min-width:24px;color:var(--muted)}
.pg-prev,.pg-next{display:inline-flex;align-items:center;gap:8px;min-width:120px;font-weight:600;color:var(--accent)}
.pg-next{justify-content:flex-end}
.pg-prev .i,.pg-next .i{transition:transform .3s var(--out)}
.pg-prev:hover .i{transform:translateX(-3px)}
.pg-next:hover .i{transform:translateX(3px)}
@media (max-width:560px){
  .pager{gap:8px}
  .pager ol{flex-wrap:nowrap;gap:2px}
  .pager ol a{min-width:36px;padding:0 4px}
  .pg-prev span,.pg-next span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .pg-prev,.pg-next{min-width:36px;height:40px}
}

/* ---------- fact panel: key and value, for case studies and positions ---------- */
.facts-panel{container-type:inline-size;background:var(--panel);border:1px solid var(--line-2);border-radius:16px;padding:22px 24px}
.facts-panel dl>div{display:grid;grid-template-columns:120px minmax(0,1fr);gap:4px 16px;padding:12px 0;border-bottom:1px solid var(--line)}
.facts-panel dl>div:first-child{padding-top:0}
.facts-panel dl>div:last-child{padding-bottom:0;border-bottom:0}
.facts-panel dt{font-size:var(--t-caption);font-weight:600;color:var(--muted);padding-top:2px}
.facts-panel dd{font-size:var(--t-small);line-height:1.5;color:var(--text)}
.facts-panel .tags{gap:6px}
@container (max-width:340px){ .facts-panel dl>div{grid-template-columns:1fr} }

/* ---------- contents ---------- */
.toc{font-size:var(--t-small)}
.toc-h{font-size:var(--t-caption);font-weight:600;color:var(--muted);margin-bottom:10px}
.toc ol{list-style:none;border-left:1px solid var(--line-2)}
.toc a{display:block;margin-left:-1px;padding:6px 0 6px 16px;border-left:1px solid transparent;line-height:1.4;color:var(--text-2);transition:color .2s,border-color .2s}
.toc a:hover{color:var(--text)}
.toc a[aria-current]{color:var(--text);border-left-color:var(--accent)}
.toc .toc-3 a{padding-left:30px;font-size:14px}

/* ---------- notices ---------- */
.notice{display:flex;gap:10px;align-items:flex-start;max-width:var(--measure);padding:12px 16px;border:1px solid var(--line-2);border-radius:10px;background:var(--panel);font-size:var(--t-small);line-height:1.5;color:var(--text-2)}
.notice .i{margin-top:3px;color:var(--accent)}
.notice a{color:var(--accent);font-weight:600;text-decoration:underline;text-underline-offset:3px;text-decoration-color:color-mix(in srgb,var(--accent) 45%,transparent)}
.notice a:hover{text-decoration-color:currentColor}
/* a draft seen through a signed preview link */
.preview-ribbon{position:fixed;left:16px;bottom:16px;z-index:40;display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;max-width:min(560px,calc(100% - 32px));padding:10px 16px;border-radius:12px;background:var(--text);color:var(--bg);font-size:var(--t-caption);line-height:1.4;box-shadow:0 18px 40px -24px var(--shadow)}
.preview-ribbon b{font-weight:600}
.preview-ribbon>span:not(.pr-note){padding:2px 8px;border-radius:6px;border:1px solid color-mix(in srgb,var(--bg) 40%,transparent);font-weight:600}
.preview-ribbon .pr-note{opacity:.8}

/* ---------- 404 and 500 ---------- */
.nf{padding:clamp(72px,10vw,150px) 0 clamp(96px,12vw,170px)}
.nf .ph-h{font-size:var(--t-display);line-height:1.04;letter-spacing:-.035em;max-width:14em}
.nf .ph-lead{margin-top:24px}
.nf-links{display:flex;flex-wrap:wrap;gap:14px 34px;margin-top:44px;list-style:none}

/* ---------- contact: the muted-blue field with the form on its own card (as on the home page) ---------- */
.sec.contact{margin-top:140px;padding:112px 0 120px;background:var(--muted-blue);color:#fff}
.page-body+.sec.contact{margin-top:0}
.contact .grid{display:grid;grid-template-columns:1fr 1.05fr;gap:72px;align-items:start}
.contact .sec-p{color:rgba(255,255,255,.88)}
.contact .person{margin-top:34px}
.contact .person span{color:rgba(255,255,255,.82)}
.contact .person a{color:#fff;text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(255,255,255,.5)}
.contact .person .face{background:rgba(255,255,255,.14)}
.next-h{margin-top:40px;font-size:var(--t-body);font-weight:500}
.next{list-style:none;counter-reset:nx;margin-top:12px;border-top:1px solid rgba(255,255,255,.28)}
.next li{counter-increment:nx;display:grid;grid-template-columns:34px 1fr;gap:2px 12px;padding:13px 0;border-bottom:1px solid rgba(255,255,255,.18)}
.next li::before{content:counter(nx,decimal-leading-zero);grid-row:span 2;font-size:13px;font-weight:600;padding-top:3px;color:rgba(255,255,255,.7);font-variant-numeric:tabular-nums}
.next b{font-weight:500}
.next span{font-size:15px;color:rgba(255,255,255,.84)}
.contact .addr{margin-top:28px;font-size:var(--t-small);color:rgba(255,255,255,.78)}
:is(form.ask,.ask--sent){background:var(--panel-2);color:var(--text);border-radius:20px;padding:32px;box-shadow:0 50px 90px -50px rgba(0,0,0,.55)}
form.ask{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:16px 18px}
form.ask .full{grid-column:1/-1}
form.ask .foot{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
form.ask .note{font-size:var(--t-small);color:var(--text-2)}
form.ask .note.is-error{color:var(--danger);font-weight:500}
/* the card is paper, so its button is cobalt again (the field around it would make it white) */
form.ask .btn-primary{background:var(--cobalt);border-color:var(--cobalt);color:#fff}
form.ask .btn-primary:hover{background:var(--cobalt-hover);border-color:var(--cobalt-hover)}
form.ask .btn-primary:focus-visible{outline-color:var(--text)}
form.ask .btn-primary[disabled]{opacity:.6;cursor:progress}
form.ask .ask-error{font-size:var(--t-small);font-weight:500;color:var(--danger)}
/* the honeypot: out of sight and out of the accessibility tree; people never fill it, some robots do */
form.ask .hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
.ask--sent{display:grid;justify-items:start;gap:10px;min-height:240px;align-content:center}
.ask--sent h3{font-size:var(--t-h3);font-weight:500;letter-spacing:-.02em;line-height:1.25}
.ask--sent p{color:var(--text-2);max-width:30em}
.ask--sent:focus{outline:0}
@media (max-width:1100px){ .contact .grid{grid-template-columns:1fr;gap:48px} }
@media (max-width:820px){
  .sec.contact{margin-top:96px;padding:72px 0 80px}
  form.ask{grid-template-columns:1fr}
  :is(form.ask,.ask--sent){padding:22px}
}

/* ---------- Present: the deck opens over the page ---------- */
.deck-layer{position:fixed;inset:0;z-index:200;background:var(--bg);animation:deck-in .35s var(--out)}
.deck-layer iframe{display:block;width:100%;height:100%;border:0}
@keyframes deck-in{from{opacity:0}}

@media (prefers-reduced-motion:reduce){
  .card::before,.svc-menu,.nav-main .svc-btn .chev{transition:none}
  .deck-layer{animation:none}
  .skip{transition:none}
}

/* =====================================================================================================================
   Inner pages (stage 2): the blocks the templates in src/views/site/{sections,article,case-study,position,pages}.js
   write. Ruled lists and hairlines carry the structure; nothing here is a panel except the facts and the form.
   ===================================================================================================================== */

/* ---------- a block of structured content: heading, optional lead or text, then its list ---------- */
.blk{scroll-margin-top:calc(var(--nav-h) + 24px)}
.blk-h{font-weight:500;font-size:var(--t-h2);line-height:1.08;letter-spacing:-.03em;max-width:20em;text-wrap:balance;color:var(--text)}
.blk>*+*{margin-top:var(--space-stack)}
.blk>.blk-h+:is(.blk-lead,.blk-p){margin-top:var(--space-head)}
.blk-lead{font-size:var(--t-lead);color:var(--text-2);max-width:38em;text-wrap:pretty}
.blk-p{max-width:var(--measure);font-size:var(--t-body);line-height:1.65;color:var(--text-2)}
.blk-p>*+*{margin-top:1em}
.blk-p a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
.blk-more{margin-top:calc(var(--space-stack) - 8px)}
.page-body>.wrap>.blk-more{margin-top:var(--space-stack)}

/* a ruled list; two columns where the measure allows. The short accent rule is the marker */
.ticks{list-style:none;columns:2 24em;column-gap:var(--col-gap);border-top:1px solid var(--line-2)}
.ticks li{break-inside:avoid;display:grid;grid-template-columns:22px minmax(0,1fr);padding:15px 0;border-bottom:1px solid var(--line);font-size:var(--t-body);line-height:1.5;color:var(--text)}
/* a whole-pixel height: at 1.5 px the markers rendered 1 and 2 px by turns, wherever a row landed between pixels */
.ticks li::before{content:"";width:12px;height:2px;margin-top:calc(.75em - 1px);background:var(--accent)}

/* tiles: the cards of a section, ruled like the services map; one with a link draws its rule in ink on hover */
.tiles{list-style:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(320px,100%),1fr));gap:0 var(--grid-gap);border-top:1px solid var(--line-2)}
.tile{position:relative;padding:28px 0 34px;border-bottom:1px solid var(--line)}
/* two by two, on the page's 6/6 grid */
@media (min-width:821px){ .tiles--2{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:var(--col-gap)} }
.tile-h{display:flex;align-items:flex-start;gap:12px;font-size:var(--t-h3);font-weight:500;line-height:1.25;letter-spacing:-.02em;color:var(--text);text-wrap:balance}
.tile-h .fig{width:24px;height:24px;margin-top:2px}
.tile-p{margin-top:12px;font-size:var(--t-small);line-height:1.6;color:var(--text-2);max-width:36em}
.tile-p>*+*{margin-top:.6em}
.tile-p :is(ul,ol){padding-left:1.2em}
.tile-p strong{font-weight:600;color:var(--text)}
.tile--link .tile-h{padding-right:32px}
.tile--link .tile-h a::after{content:"";position:absolute;inset:0}
.tile--link .tile-h a:focus-visible{outline:0}
.tile--link:has(a:focus-visible){outline:2px solid var(--accent);outline-offset:6px;border-radius:4px}
.tile-go{position:absolute;right:0;top:34px;color:var(--muted);transition:transform .3s var(--out),color .3s}
.tile--link::before{content:"";position:absolute;left:0;right:0;top:-1px;height:1px;background:var(--text);transform:scaleX(0);transform-origin:left;transition:transform .6s var(--out)}
.tile--link:is(:hover,:focus-within)::before{transform:scaleX(1)}
.tile--link:hover .tile-go{transform:translateX(4px);color:var(--text)}

/* steps: a numbered process, one ruled row per step: number, name, what happens */
.steps{list-style:none;counter-reset:st;border-top:1px solid var(--line-2)}
.steps li{counter-increment:st;display:grid;grid-template-columns:48px minmax(0,.9fr) minmax(0,1.4fr);gap:10px 32px;padding:26px 0 28px;border-bottom:1px solid var(--line)}
.steps li::before{content:counter(st,decimal-leading-zero);font-size:var(--t-caption);font-weight:600;color:var(--accent);padding-top:4px;font-variant-numeric:tabular-nums}
.steps b{font-size:var(--t-h3);font-weight:500;line-height:1.3;letter-spacing:-.02em;color:var(--text);text-wrap:balance}
.steps-p{font-size:var(--t-small);line-height:1.6;color:var(--text-2)}
.steps-p>*+*{margin-top:.6em}
@media (max-width:820px){
  .steps li{grid-template-columns:40px minmax(0,1fr)}
  .steps-p{grid-column:2}
}

/* questions and answers: native disclosure, a chevron that turns */
.faq{max-width:62em;border-top:1px solid var(--line-2)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:20px 0;cursor:pointer;list-style:none;font-size:var(--t-body);font-weight:500;line-height:1.45;color:var(--text)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";flex:none;width:9px;height:9px;margin:6px 4px 0 0;border-right:1.6px solid var(--muted);border-bottom:1.6px solid var(--muted);transform:rotate(45deg);transition:transform .3s var(--out)}
.faq details[open] summary::after{transform:translateY(4px) rotate(-135deg)}
.faq summary:focus-visible{outline:2px solid var(--accent);outline-offset:4px;border-radius:4px}
.faq details>.prose{padding:0 0 26px}

/* figures as published: the value first, then what it counts */
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));gap:0 var(--grid-gap);border-top:1px solid var(--line-2)}
.stat{display:flex;flex-direction:column;padding:26px 0 28px;border-bottom:1px solid var(--line)}
.stat-v{order:-1;font-size:var(--t-h2);font-weight:500;line-height:1;letter-spacing:-.03em;color:var(--text);font-variant-numeric:tabular-nums}
.stat dt{margin-top:12px;font-size:var(--t-small);font-weight:600;color:var(--text)}
.stat-p{margin-top:4px;font-size:var(--t-small);line-height:1.5;color:var(--text-2)}

/* people: every portrait is black and white, as on the home page */
img.face,.person img,.team img,.people img{filter:grayscale(1)}
/* an article's cover, black and white like the blog's cards */
.cover--article img{filter:grayscale(1)}
.face--initials{display:grid;place-items:center;background:var(--bg-2);color:var(--text-2);font-size:18px;font-weight:600;letter-spacing:.02em;border:1px solid var(--line)}
.team{list-style:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(170px,100%),1fr));gap:44px 32px}
.team li{display:grid;gap:4px;align-content:start}
.team .face{width:96px;height:96px;margin-bottom:12px;font-size:24px}
.team b{font-weight:500;line-height:1.3;color:var(--text)}
.team b a{transition:color .2s}
.team b a:hover{color:var(--accent)}
.team li>span{font-size:var(--t-small);line-height:1.45;color:var(--text-2)}
@media (max-width:560px){ .team{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 16px} .team .face{width:72px;height:72px;font-size:20px} }
.people{display:grid;gap:24px;align-content:start}
.person-card a{color:var(--accent);text-decoration:underline;text-underline-offset:3px;text-decoration-color:color-mix(in srgb,var(--accent) 45%,transparent)}

/* testimonials, verbatim (whc.css .tq draws the two-bar mark) */
.voices-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(420px,100%),1fr));gap:var(--space-block) var(--col-gap);margin-top:var(--space-stack)}
.voices .tq{max-width:none}
.voices .tq blockquote p+p{margin-top:.7em}

/* ---------- articles and case studies ---------- */
.cover{margin:0}
.cover img{display:block;width:100%;height:auto;aspect-ratio:16/9;max-height:560px;object-fit:cover;border-radius:16px;background:var(--bg-2)}
/* ---------- a case's pictures: one way to show them all (owner, 29 Oct) ---------- */
/* Every case cover is a transparent 3:2 picture drawn for paper: device mockups (monitors, laptops, phones) and diagrams
   whose lines would vanish on the dark ground. So each stands on a light stage in both themes (dimmed in the dark, like
   a print on the wall), behind a hairline, 16 px round: 3:2, as the covers are, never taller than 620 px. The picture is
   contained, with a little air (the mockups bring their own margin), and never enlarged past its own size: a small one stays sharp in the middle, a tall or a
   narrow one stands centred. A caption only where the picture has one (a Markdown title), small and muted under the
   stage. A picture in a case's text gets the same stage at its own proportions */
:root{--shot-a:#F6F8FA;--shot-b:#E8ECF1;--shot-line:rgba(13,18,32,.08)}
:root[data-theme="dark"]{--shot-a:#DCE1E8;--shot-b:#C9D0DA;--shot-line:rgba(255,255,255,.07)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--shot-a:#DCE1E8;--shot-b:#C9D0DA;--shot-line:rgba(255,255,255,.07)}}
.shot{margin:0}
.shot-stage{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:3/2;max-height:620px;padding:clamp(10px,2.4%,28px);border-radius:16px;background:radial-gradient(130% 100% at 50% 15%,var(--shot-a),var(--shot-b));box-shadow:inset 0 0 0 1px var(--shot-line);overflow:hidden}
.shot-stage img{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}
.shot figcaption,.prose--case figcaption{margin-top:12px;font-size:var(--t-caption);line-height:1.45;color:var(--muted);max-width:60ch}
.prose--case figure img{width:auto;max-width:100%;max-height:620px;object-fit:contain;padding:clamp(14px,4%,36px);border-radius:16px;background:radial-gradient(130% 100% at 50% 15%,var(--shot-a),var(--shot-b));box-shadow:inset 0 0 0 1px var(--shot-line)}
/* challenge, what we did, result: three ruled columns before the full story */
.glance dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 var(--grid-gap);border-top:1px solid var(--line-2)}
.glance dl>div{padding:24px 0 28px;border-bottom:1px solid var(--line)}
.glance dt{font-size:var(--t-caption);font-weight:600;color:var(--muted)}
.glance dd{margin-top:12px;font-size:var(--t-small);line-height:1.6;color:var(--text)}
.glance dd p+p{margin-top:.6em}
@media (max-width:900px){ .glance dl{grid-template-columns:1fr} }
/* the case's top row: the cover and, beside it from the width where the page has a side column, the facts. The two start on
   one line and are equally tall (owner, 5 Nov): the picture's stage grows with a long panel, the panel's rows share the
   height of a short one. The client's mark stands in the free space above the panel, not in the row */
.case-top{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--space-stack)}
@media (min-width:1101px){
  .case-top{grid-template-columns:minmax(0,1fr) minmax(250px,300px);gap:clamp(32px,4vw,56px)}
  .case-top .shot--cover{display:flex}
  .case-top .shot-stage{flex:1 1 0;min-width:0;max-height:none}
  .case-side{position:relative;display:flex;flex-direction:column}
  .case-side .case-logo-box{position:absolute;left:0;bottom:calc(100% + 16px);padding:0}
  .case-side .case-logo{margin:0}
  .case-side .facts-panel{flex:1 1 auto;display:flex;flex-direction:column}
  .case-side .facts-panel dl{flex:1 1 auto;display:flex;flex-direction:column}
  .case-side .facts-panel dl>div{flex:1 1 auto;align-content:start}
}
/* a case study's heading and lead run the width of the cover and the facts below them, so no half stays empty beside
   them (recruiting and the owner, 10 Nov 2026) */
@media (min-width:900px){
  body:has(.case-top) .ph-h{max-width:none;text-wrap:pretty}
  body:has(.case-top) .ph-lead{max-width:60em}
}
.case-logo{display:block;height:40px;width:auto;max-width:200px;object-fit:contain;object-position:left center;margin:0 0 20px}
.case-logo--mask{width:180px;background:var(--text);-webkit-mask:var(--src) no-repeat left center/contain;mask:var(--src) no-repeat left center/contain}
/* the next and the previous case study */
.adjacent{display:grid;grid-template-columns:1fr 1fr;gap:24px 48px;padding-top:var(--space-rule);border-top:1px solid var(--line-2)}
.page-body>.wrap>.adjacent{margin-top:var(--space-section)}
.adj{display:grid;gap:10px;align-content:start}
.adj--next{grid-column:2;justify-items:end;text-align:right}
.adj-l{display:inline-flex;align-items:center;gap:8px;font-size:var(--t-small);font-weight:600;color:var(--accent)}
.adj-l .i{transition:transform .3s var(--out)}
.adj--prev:hover .adj-l .i{transform:translateX(-3px)}
.adj--next:hover .adj-l .i{transform:translateX(3px)}
.adj-t{font-size:var(--t-h3);font-weight:500;line-height:1.25;letter-spacing:-.02em;color:var(--text);max-width:24em;text-wrap:balance;transition:color .2s}
.adj:hover .adj-t{color:var(--accent)}
@media (max-width:720px){ .adjacent{grid-template-columns:1fr} .adj--next{grid-column:1;justify-items:start;text-align:left} }

/* ---------- positions: facts beside the text, and how to apply ---------- */
.btn-row{display:flex;flex-wrap:wrap;gap:12px}
.btn-block{display:flex;width:100%;justify-content:center}
.article-aside .facts-panel+p{margin-top:16px}

/* ---------- indexes: filters, search, empty states ---------- */
.index-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 32px}
/* the filters: a little further from the header than from the list they filter, with air round both */
.page-body>.wrap>.index-tools:first-child{margin-top:clamp(8px,1vw,16px)}
.page-body>.wrap>.index-tools+*{margin-top:clamp(48px,4.8vw,72px)}
.search{display:grid;gap:8px}
.search-l{font-size:var(--t-caption);font-weight:600;color:var(--muted)}
.index-tools .search-l{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.search-row{display:flex;gap:8px}
.search input{flex:1 1 auto;min-width:0;width:min(260px,100%);height:40px;padding:0 12px;border-radius:9px;border:1px solid var(--line-2);background:var(--panel);color:var(--text);font:inherit;font-size:var(--t-small);transition:border-color .2s}
.search input:focus{outline:0;border-color:var(--accent)}
.search input::placeholder{color:var(--muted)}
.search .btn{height:40px;padding:0 16px;font-size:var(--t-caption)}
.index-for{font-size:var(--t-h3);letter-spacing:-.02em}
.empty{padding:var(--space-stack) 0;border-top:1px solid var(--line-2);border-bottom:1px solid var(--line);font-size:var(--t-lead);color:var(--text-2)}
.empty p+p{margin-top:14px;font-size:var(--t-body)}
.blk .empty{margin-top:var(--space-stack)}
/* intro text beside a person (career: the recruiter) */
.split{display:grid;grid-template-columns:minmax(0,var(--measure)) minmax(240px,340px);justify-content:space-between;gap:var(--space-stack) var(--col-gap);align-items:start}
@media (max-width:1100px){ .split{grid-template-columns:minmax(0,1fr)} }
@media (max-width:720px){ .index-tools{align-items:stretch} .index-tools .search{width:100%} .search input{width:auto} }

/* ---------- the contact page: the form on the muted-blue field, straight under the title ---------- */
.sec.contact.contact--page{margin-top:0;padding:calc(var(--space-block) + 16px) 0 var(--space-end)}
.contact-side{display:grid;gap:var(--space-stack);align-content:start}
.contact--page .prose{color:rgba(255,255,255,.88);font-size:var(--t-lead)}
.contact--page .prose :is(strong,b){color:#fff}
.contact--page .prose a{color:#fff;text-decoration-color:rgba(255,255,255,.5)}
.contact .face--initials{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.25);color:#fff}
.address-block h2{font-size:var(--t-body);font-weight:500;line-height:1.4;margin-bottom:8px}
.address{font-size:var(--t-small);line-height:1.6;color:rgba(255,255,255,.84)}
.page-body--after{padding-top:var(--space-section)}
.tags--lg :is(a,span){font-size:var(--t-small);padding:6px 12px}
@media (max-width:820px){ .sec.contact.contact--page{padding:var(--space-block) 0 var(--space-end)} }

/* ---------- 404 ---------- */
.nf-suggest{margin-top:20px;font-size:var(--t-lead);color:var(--text-2)}
.nf .search{margin-top:48px;max-width:440px}

/* ---------- the section rule: a hairline with a short ink lead that draws once ---------- */
/* every top-level section of an inner page hangs from a hairline across the container; its 48px ink lead (the hero
   verb's drawn rule, in miniature) draws once when the section comes into view (site.js adds .in; without the script,
   under reduced motion or without IntersectionObserver it is simply drawn). .ruled gives a section outside .page-body
   the same. Not on the contact band, the 404 and 500, or the services rows, which carry their own rules */
:is(.page-body>.wrap>.blk,.ruled){position:relative;padding-top:var(--space-rule);border-top:1px solid var(--line-2)}
.page-body>.wrap>*+.blk{margin-top:var(--space-section)}
:is(.page-body>.wrap>.blk,.ruled)::before{content:"";position:absolute;left:0;top:-1px;width:48px;height:1px;background:var(--text);transform-origin:left;transition:transform 1s var(--out) .15s}
:root.rule-io :is(.page-body>.wrap>.blk,.ruled):not(.in)::before{transform:scaleX(0)}
/* the lead marks where a heading starts: a section without one keeps only the hairline */
.page-body>.wrap>.blk:not(:has(>h2))::before{display:none}

@media (prefers-reduced-motion:reduce){
  .tile--link::before,.tile-go,.faq summary::after,.adj-l .i{transition:none}
  .fig>*,.pm::before,.psw a::before,:is(.page-body>.wrap>.blk,.ruled)::before,:is(.fig+span,.pm-name a,.prx-name a)::before,:is(.fig+span,.pm-name a,.prx-name a)::after{transition:none}
  /* the finished state: ours in its place, nothing turning, nothing moving */
  .fig *{animation:none!important;rotate:none!important;scale:none!important}
  .ptag,.ptag-n,.ptag .fig,.ptag:is(:hover,:focus-visible),.ptag:is(:hover,:focus-visible) .ptag-n,.card--article .card-cover{transition:none}
  .fig .pc{translate:0 0!important}
  .fig--G.fig--ai .seed{opacity:0}
}

/* ---------- the cookie choice (chrome.js consent, consent.js) ----------
   A flat veil card like the dock: a hairline, no shadow. Fixed to the lower left; on a phone it spans the window. The
   two answers are the same button; Settings is a text control beside them. */
.consent{position:fixed;left:14px;bottom:14px;z-index:38;width:min(27.5rem,calc(100vw - 28px));max-height:calc(100dvh - 28px);overflow:auto;padding:18px 18px 16px;border-radius:14px;border:1px solid var(--line-2);background:var(--nav-bg);-webkit-backdrop-filter:blur(16px) saturate(1.4);backdrop-filter:blur(16px) saturate(1.4);color:var(--text-2);font-size:var(--t-small);line-height:1.5}
.consent[hidden],.consent [hidden]{display:none}
.consent h2{font-size:15px;font-weight:600;line-height:1.4;color:var(--text);margin:0 0 4px}
.consent h2:focus{outline:0}
.consent p{margin:0;text-wrap:pretty}
.consent a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
.consent-act{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px}
.consent .btn{height:40px;padding:0 15px;border-radius:9px;font-size:14px;background:transparent;cursor:pointer}
.consent-more{height:40px;padding:0 8px;border:0;background:none;color:var(--text-2);font:inherit;font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.consent-more:hover{color:var(--text)}
.consent-set{display:grid;gap:12px;margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
.consent-set label{display:grid;grid-template-columns:18px minmax(0,1fr);gap:11px;align-items:start;cursor:pointer}
.consent-set input{width:18px;height:18px;margin:2px 0 0;accent-color:var(--cobalt)}
.consent-set input:disabled{cursor:default}
.consent-set b{display:block;color:var(--text);font-weight:600}
@media (max-width:560px){ .consent{left:10px;right:10px;bottom:10px;width:auto;padding:16px 16px 14px} .consent-act .btn{flex:1 1 8.5rem;justify-content:center} }
.foot-btn{padding:0;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}
.foot-btn:hover{color:var(--text)}
