.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;}
