.pf-band .pf-nums{display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));gap:44px 24px;}
.pf-band .pf{grid-column:span 3;min-width:0;position:relative;
  padding-top:26px;}
.pf-band .pf::before{content:"";position:absolute;top:0;left:0;right:14px;
  height:1px;background:rgba(255,255,255,.17);}
.pf-band .pf::after{content:"";position:absolute;top:0;left:0;right:14px;
  height:1px;pointer-events:none;opacity:0;
  background-image:linear-gradient(90deg,
    rgba(0,238,204,0) 0%, rgba(0,238,204,.62) 32%,
    rgba(224,255,250,1) 50%,
    rgba(0,238,204,.62) 68%, rgba(0,238,204,0) 100%);
  background-repeat:no-repeat;
  background-size:var(--pfw,32%) 100%;
  filter:drop-shadow(0 0 3px rgba(0,238,204,.42));
  animation-name:pf-fwd;
  animation-duration:var(--pft,7s);
  animation-delay:var(--pfd,0s);
  animation-timing-function:cubic-bezier(.4,.03,.3,1);
  animation-iteration-count:infinite;}
.pf-band .pf:nth-child(1){--pft:6.1s;--pfd:0s;   --pfw:30%;--pfi:.95;}
.pf-band .pf:nth-child(2){--pft:7.9s;--pfd:1.7s; --pfw:42%;--pfi:.72;}
.pf-band .pf:nth-child(3){--pft:5.3s;--pfd:3.1s; --pfw:26%;--pfi:.88;}
.pf-band .pf:nth-child(4){--pft:8.7s;--pfd:.6s;  --pfw:36%;--pfi:.6;}
.pf-band .pf:nth-child(2)::after,
.pf-band .pf:nth-child(4)::after{animation-name:pf-rev;}
@media (prefers-reduced-motion:reduce){.pf-band .pf::after{animation:none;opacity:0;}}
.pf-band .pf-n{display:block;
  font-family:'Gotham','Inter',Arial,sans-serif;font-weight:900;
  font-size:clamp(50px,4.6vw,76px);line-height:.98;letter-spacing:-3px;
  font-variant-numeric:tabular-nums;color:#fff;}
.pf-band .pf-long .pf-n{font-size:clamp(22px,1.9vw,32px);
  letter-spacing:-.8px;line-height:1.1;white-space:nowrap;}
.pf-band .pf-u{display:block;margin-top:16px;font-size:11px;font-weight:700;
  letter-spacing:1.8px;text-transform:uppercase;color:var(--aqua,#00eecc);}
@media (max-width:980px){.pf-band .pf{grid-column:span 6;}}
@media (max-width:560px){.pf-band .pf{grid-column:1/-1;}}
/* ============ the one stat band, off the header (stats.py) ============= */
section .pf-nums{margin-top:44px;}
section .sh2-proof .pf-nums{margin-top:0;}
@media (max-width:900px){
  section .pf-nums{margin-top:32px;}
}


/* ===================== the sweep (polish.py) ======================== */

/* ROOM FOR THE PANEL TO SLIDE OVER. The icon tier covers the bottom of the
   tier above it on purpose; that tier now ends in space rather than in a
   sentence. */
html body section.wy-clear{padding-bottom:clamp(120px,13vh,180px);}

/* THE PANEL'S OWN SPACING, for the middle of a page rather than the end of
   one. 104 above the eyebrow and 72 under the note were drawn for the
   services index, where the panel is the last thing you see. */
/* AND THIS IS NOT WHERE THE SECTORS TIER'S SPACING LIVES. I changed the
   two numbers here first, on 20 October, and the page did not move: that
   tier is .wy.ind-tier#sectors and carries two more specific rules, in
   industries.py and whtiers.py. Changing it here would have moved every
   other tier on the site and still not the one Matt was looking at. */
html body .wy{padding-top:76px;}
html body .wy .wy-top{margin-bottom:52px;}
@media (max-width:900px){
  html body .wy{padding-top:56px;}
  html body .wy .wy-top{margin-bottom:40px;}
  html body section.wy-clear{padding-bottom:88px;}
}

/* THE CHEVRON RUN FLOATS. It has no background and it never had any
   business having one.

   I gave it a 180px full width glow, hung at top:-90px so it straddled
   the tier boundary, on the reasoning that "a hard step there is the one
   place the eye is already looking". That was wrong twice over. A
   scroll over tier is MEANT to have a hard top edge: the panel slides up
   over what is under it and the edge is the thing that says so. And a
   run of chevrons is a mark, not a panel, so a full width wash behind it
   turns it into one.

   Matt, every time, in his own words: "the band is still there", "it
   feels like the chevrons are in a container that has a full screen
   width background - or is on it's own tier? It's just an element that
   should be floating on it's own - no bg", and finally "The scroll overs
   are always hard edged - what's this fade / graded edge??"

   He was describing this rule from the first message. I kept reading
   "line" as a join that needed softening and softened four more things.
   The run is a mark on the ground. Nothing behind it. */
html body .chev-band-svc{position:relative;}
@media (prefers-reduced-motion:reduce){
  html body .chev-band-svc .svc-chev{transform:none !important;}
}


/* ===== every header on the page's own ground (herobg.py) ===== */
/* The colour Matt likes is the BODY's gradient. Home's header lets it
   through; every other family painted a flat #0b0f2e over it, which is
   the same colour as that gradient's own base layer and so hid the teal
   and the navy wash entirely. Full reasoning at the top of herobg.py. */
/* 1. the page stands on home's ground. Without this the headers below
      are simply letting a flat #0b0f2e through, which is darker than
      what they were painting themselves, not richer. */
html body{background:radial-gradient(1200px 700px at 85% -200px,rgba(0,238,204,.12),transparent 60%),radial-gradient(1000px 600px at -10% 480px,rgba(30,40,85,.55),transparent 55%),#0b0f2e;}
/* 2. and the headers stop covering it up. The veil is Matt's .18, and it
      is the FIRST layer so it sits over the grain rather than under it:
      a veil beneath the texture would darken the ground and leave the
      noise at full strength on top, which reads as dirt. */
html body header.hero.svch,
html body header.hero.svch.verb,
html body header.shero,
html body header.shero.sh2,
html body header.shero.sh2.sh2-ind,
html body header.ihero,
html body header.ihero.short,
html body header.ihero.chero,
html body header.dk-head{
  background-color:transparent;
  background-image:linear-gradient(rgba(0,0,0,.18),rgba(0,0,0,.18)),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='hgn'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .012 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23hgn)'/%3E%3C/svg%3E");
  background-repeat:repeat;
}
/* 3. AND THE HOME PAGE TAKES THE VEIL TOO, which is the one place this
      module stops copying home and starts changing it. Matt preferred
      home darker than its own gradient actually is, now that the grain
      has stopped painting a black tile over it. Home keeps its own
      texture, on its ::after, so only the veil is added here. The
      :not(.svch) matters: `header.hero` also matches the six verticals,
      which are handled above and would otherwise take the veil twice. */
html body header.hero:not(.svch){background-image:linear-gradient(rgba(0,0,0,.18),rgba(0,0,0,.18));}
/* the .shero family also carried its own pair of radials, a brighter and
   more purple reading of the same idea. Two interpretations of one
   gradient is how a site stops looking like one site. */
html body header.shero{background-position:0 0;}


/* ===== a hint that there is more below (scrollhint.py) ===== */
/* AT THE FOOT OF THE HEADER, INSIDE IT, and the detour this took is
   worth leaving on the record because the detour was my fault and the
   "fix" for it was worse than the thing it fixed.

   Every header on this site is position:sticky, which is a positioned
   element, so it gives an absolutely placed child the containing block
   it needs without any page being changed to suit it. That is all this
   ever needed.

   I then hit tested the button's own centre on all 79 pages and found
   ten where it rendered perfectly and reported as unclickable: about,
   approvals and its five approval pages, careers, onshoring and testing.
   I read that as a stacking problem, moved the button out of the header
   and fixed it to the viewport instead. That genuinely broke it: the
   headers run from 550px on contact to 979px on the case studies, all
   shorter than the window, so the foot of the VIEWPORT is inside the
   next block. Hit tested again, the hint was sitting on top of real
   copy on 45 pages.

   The ten were never blocked. Those pages carry the overview overlay,
   #ovmenu, which is visibility:visible on first paint and is hidden by
   script about 200ms later. My sweep sampled at 240ms, right on that
   boundary, so some pages caught the overlay still up and reported a
   blocker that is gone before anybody could click anything. Sampled at
   900ms, all 79 are clickable with the button where it always was.

   THIRD TIME TODAY a check has measured a page before it settled and
   reported the result as a finding: the stat bars with scrollIntoView
   against smooth scrolling, the count-up observer, and now this. The
   rule is the same every time: let the page settle, then measure, and
   when a result says ten pages are broken, check the measurement before
   changing the code. */
html body .sdh{
  position:absolute;left:50%;bottom:34px;
  transform:translateX(-50%);
  z-index:6;border:0;padding:10px 12px;margin:0;
  background:none;color:var(--aqua,#00eecc);
  cursor:pointer;line-height:0;
  opacity:.86;transition:opacity .45s ease;
  -webkit-tap-highlight-color:transparent;}
html body .sdh:hover{opacity:1;}
html body .sdh:focus-visible{outline:2px solid var(--aqua,#00eecc);
  outline-offset:6px;border-radius:999px;}
html body .sdh.sd-gone{opacity:0;pointer-events:none;}
@media (max-width:900px){html body .sdh{bottom:20px;}}

/* transform-box, because a transform on an SVG child resolves in user
   space otherwise and the origin lands outside the shape */
html body .sdh .sd-m{transform-box:fill-box;transform-origin:center;
  animation:sd-fardrop 2.1s cubic-bezier(.33,0,.25,1) infinite;}
/* THE LAG IS POSITIVE. At time t the dot is at f(t) and a ghost is at
   f(t-d), which is less far down, which is behind it. Negative would put
   the trail in front of the thing it is trailing. Sized off a render:
   85 and 170ms came out as a slightly oval dot and nothing anybody would
   call a trail, so 150, 300 and 450. */
html body .sdh .sd-g1{animation-delay:.15s;}
html body .sdh .sd-g2{animation-delay:.3s;}
html body .sdh .sd-g3{animation-delay:.45s;}
@keyframes sd-fardrop{
  0%{transform:translateY(-2px);opacity:0;}
  14%{opacity:1;}
  60%{opacity:1;}
  100%{transform:translateY(20px);opacity:0;}
}
@media (prefers-reduced-motion:reduce){
  html body .sdh .sd-m{animation:none;opacity:1;transform:none;}
}
