
/* ===================== the one palette, dark (dark.py) ================= */
:root{
  --paper:#111740;          /* the alternating section tint */
  --mist:rgba(255,255,255,.07);
  --head:#ffffff;           /* headings, now on a dark ground */
  --body:rgba(255,255,255,.74);
  --muted:rgba(255,255,255,.55);
  --line:rgba(255,255,255,.14);
  --aqua-dk:#00eecc;        /* aqua is legible on dark, so it is just aqua */
  --aqua-pale:rgba(0,238,204,.14);
  --e1:0 6px 30px rgba(0,0,0,.38);
  --e2:0 18px 44px rgba(0,0,0,.5);
}
body{background:#0b0f2e;color:var(--body);}
.alt{background:var(--paper);}

/* the card surfaces are painted by the one blue rule in akit.py, which
   runs on every page rather than only on the interiors this file converts.
   Only the hover lift that belongs to the dark palette stays here. */
.card:hover{box-shadow:var(--e2);}
/* the comparison table stripes the WHOLE row, label included, and its label
   is no longer a tinted panel: it is the same aqua label as every other
   table on the site (tables.py, 1 October) */
.spec tr:nth-child(odd),
.ctable tbody tr:nth-child(odd) th,
.ctable tbody tr:nth-child(odd) td{
  background:rgba(255,255,255,.04) !important;}
.ctable thead th{color:#fff;}
.btn-soft,.chips.lt .chip,.mtags span{
  background:rgba(255,255,255,.09) !important;color:#fff !important;}
.chips.lt .chip:hover{background:rgba(0,238,204,.18) !important;}

/* the form: fields have to read as fields on a dark ground */
.fin{background:rgba(255,255,255,.06) !important;color:#fff;}
.fin::placeholder{color:rgba(255,255,255,.45);}
.fin:focus{background:rgba(255,255,255,.1) !important;}

/* the quality chips were white pills, which is the one thing on these pages
   that still read as the light system */
.certs .chip{background:rgba(255,255,255,.08) !important;color:rgba(255,255,255,.82) !important;
  box-shadow:none !important;}
.certs .chip b{color:#fff;}
.certs .ukline{color:rgba(255,255,255,.82);}

/* THE REBUILT SERVICE AND INDUSTRY HEADERS (hero.py) are a third token set:
   a white plate over the photograph with the page title on it, and four
   white stat chips below. Same swap, different names. */
.shero-plate,.hs{background:linear-gradient(165deg,#181f4e,#111640) !important;
  color:#fff !important;box-shadow:0 10px 40px rgba(0,0,0,.45) !important;}
.shero-plate h1,.hs b{color:#fff !important;}
.hs i{color:rgba(255,255,255,.66) !important;}
.crumbs{color:rgba(255,255,255,.5) !important;}
.crumbs a{color:rgba(255,255,255,.72) !important;}
.crumbs a:hover{color:#fff !important;}
.crumbs span{color:rgba(255,255,255,.4) !important;}

/* three panels that named #fff or --white directly and are only on one page
   each: the About values cards, a case study's next card, and the home
   page's Knowledge Hub photo frame */
.vcard,.nextcard{background:linear-gradient(165deg,#181f4e,#111640) !important;
  box-shadow:0 6px 30px rgba(0,0,0,.38) !important;color:var(--body);}
.vcard p,.nextcard p{color:rgba(255,255,255,.74) !important;}
.vlist li{color:#fff !important;box-shadow:inset 0 -1px 0 rgba(255,255,255,.12) !important;}
.vk,.nextcard .n{color:var(--aqua) !important;}

/* three strings that were written as ink with an alpha rather than as a
   token, found by the contrast check rather than by eye: the timeline note
   on About, the certificate footnote on Quality, and the assistant's own
   small print, which at 11px was under AA even in white */
.tl-b p,.tl-b h3,.tl-i:not(.tl-open) .tl-b{color:rgba(255,255,255,.7) !important;}
.tl-b h3{color:#fff !important;}
.cr-foot,.cr-foot a{color:rgba(255,255,255,.72) !important;}
.cr-foot a{text-decoration:underline;}
.dk-note{color:rgba(255,255,255,.62) !important;}

/* prose and small print that was set against white */
.sec-head p,.lede,.ans,.card p,.step p,.newsrow p{color:var(--body);}
.crumb a{color:rgba(255,255,255,.6);}
.crumb{color:rgba(255,255,255,.5);}
a{color:inherit;}
/* a link inside prose has to look like one: the palette makes everything
   inherit, which is right for cards and wrong for a sentence */
p.lede a,.ans a,.sec-head p a,.vcard p a{color:var(--aqua) !important;
  text-decoration:underline;text-underline-offset:3px;
  text-decoration-thickness:1px;}
hr{background:var(--line);}

/* THE SPEC TABLE'S ROW LABELS. Matt, 23 September: "make titles same size
   text / spec as the sentences, but titles in aqua." They were sharing the
   .eyebrow rule, which is 11px, 700 and uppercase with letterspacing: a
   label shouting at the sentence beside it. Now they are the same type as
   the value they introduce, and the aqua is what tells them apart. */
.spec th{font-size:var(--fs-6) !important;font-weight:500 !important;
  text-transform:none !important;letter-spacing:normal !important;
  color:var(--aqua) !important;line-height:1.6;}


/* ============================ FAQ, one standard (faq.py) ============== */
#faq h2 .ghost,#faq h2 span{color:inherit !important;}
#faq h2{color:#fff;}
html body .faq details{background:none !important;box-shadow:none !important;
  border-radius:0 !important;margin:0 !important;overflow:hidden;
  background-image:linear-gradient(rgba(128,140,170,.28),rgba(128,140,170,.28)) !important;
  background-size:100% 1px !important;background-position:bottom left !important;
  background-repeat:no-repeat !important;}
html body .faq details>summary,html body .faq details>.ans{background:transparent;}
/* an open row is the same flat row, not a card: the palette layer gives
   .faq details[open] a panel and this is the standard putting it back */
html body .faq details[open]{background-image:linear-gradient(rgba(128,140,170,.28),rgba(128,140,170,.28)) !important;
  background-color:transparent !important;box-shadow:none !important;}
html body .faq summary{list-style:none;cursor:pointer;display:flex !important;
  align-items:center;justify-content:space-between;gap:28px;
  padding:26px 0 !important;margin:0 !important;text-align:left;
  font-weight:600;font-size:clamp(16px,1.25vw,18px);line-height:1.4;}
html body .faq summary::-webkit-details-marker{display:none;}

/* THE FIRST QUESTION STARTS LEVEL WITH THE TITLE. Matt, 1 October: "any
   time text / content is on the right it top aligns to top of title text
   ... IE where the FAQ's are currently locked in - we'll also need to
   adjust that alignment".

   The two columns of .faq-grid already start at the same y, which put the
   first question level with the EYEBROW and 24px above the title. The
   title's cap sits 50px down that column: 30px of eyebrow and the 20px gap
   locked earlier today. The question's own cap sits 25.6px down: the
   summary.s 26px of top padding and its own leading. 28px is the
   difference, and it is the only number in this block that is not already
   written somewhere above. Below 1081px the grid is one column and the
   question follows the title, so the rule stops there. */
@media (min-width:1081px){
  html body .faq-grid > :nth-child(2){margin-top:28px;}
}
html body .faq summary::after{content:"" !important;flex:0 0 18px;width:18px !important;
  height:18px !important;border-radius:0 !important;padding:0 !important;
  background:
    linear-gradient(var(--aqua,#00eecc),var(--aqua,#00eecc)) center/100% 2px no-repeat,
    linear-gradient(var(--aqua,#00eecc),var(--aqua,#00eecc)) center/2px 100% no-repeat !important;
  transition:transform .35s cubic-bezier(.22,1,.36,1) !important;}
html body .faq details[open]:not(.fq-shut)>summary::after{transform:rotate(45deg);}
html body .faq .ans{transition:none !important;animation:none !important;}
html body .faq .ans{padding:0 46px 28px 0 !important;margin:0 !important;
  text-align:left;max-width:760px;font-size:16px;line-height:1.7;}
html body .faq .ans p{margin:0 0 12px;}

/* the FAQ's two column shape, home's own proportions (faq.py) */
.faq-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:64px;
  align-items:start;}
.faq-grid h2{max-width:13ch;}
.faq-grid .sec-note{margin-top:18px;font-size:15.5px;line-height:1.7;
  color:var(--body,rgba(255,255,255,.74));max-width:44ch;}
@media (max-width:980px){
  .faq-grid{grid-template-columns:1fr;gap:34px;}
  .faq-grid h2{max-width:none;}
}


/* ================= the six, under the bar (subnav.py) ================== */
:root{--snav-h:64px;--snav-top:138px;
  /* the interiors' own clearance token, raised by the height of the row */
  --hero-top:214px;}
.snav{position:fixed;top:var(--snav-top);left:0;right:0;z-index:40;
  display:block;   /* undoes HOLD, the head's display:none: see apply() */
  pointer-events:none;
  /* it fades, it does not travel: --sy is the scroll position, so the row
     is gone before it can reach the bar */
  opacity:calc(1 - var(--sy,0) / 110);
  transition:opacity .18s linear;}
.snav .wrap{display:flex;gap:10px;pointer-events:auto;}
.snav a{flex:1 1 0;text-align:center;text-decoration:none;
  padding:10px 10px 9px;border-radius:12px;
  /* THE ORIGINAL SPEC, RESTORED. Matt, 24 September: "these still don't
     look right, weren't they more white-ish not grey / black-ish. Look
     backwards a few versions please."

     Right, and this is the third state this rule has been in today, so it
     is worth writing down what each one was and why it was wrong.

       1  white 6%, blur 14px          the spec. Glass. Over a hero full of
                                       connectors you see the connectors
                                       through it, which read as the row
                                       being behind the image.
       2  + navy 58%                   stopped the show-through by stopping
                                       it being glass. Muddy.
       3  + navy 14%, saturate .62     kept the glass but the desaturation
                                       drained the colour behind it and the
                                       navy darkened it, so the pill came
                                       out grey rather than white.

     Back to 1, exactly. The show-through on the two busiest slides is the
     cost of glass being glass, and Matt would rather have the material look
     right than have it solved by making it something else. If it does need
     solving later, the lever is more white, not more navy and not less
     colour. */
  background:rgba(255,255,255,.06);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  transition:background .25s ease,transform .25s ease,box-shadow .25s ease;}

/* BRIGHTER ON HOVER. Matt, 6 October: "Can the tabs go brighter generally
   on hover to accentuate the action?"

   The lever is the one this file already names three rules up: more white,
   not more navy and not less colour. So .11 goes to .20, there is a shadow
   under the pill, and the travel goes from 2px to 3.

   AND NO RING. The first version added a one pixel inset ring as well, and
   Matt was straight back: "No outline on 6 tabs." He is right. The row is
   glass, and glass does not have an edge drawn on it; the ring made the
   hovered pill look like a different component from the five beside it.
   The brightness and the shadow do the work on their own.

   IT IS BRIGHTER THAN IT LOOKS ON ITS OWN, because by the time you are
   hovering a tab the nav scrim is lit and the ground behind the row is the
   dark panel rather than the photograph. The two were built in the same
   afternoon and they are meant to be read together. */
.snav a:hover{background:rgba(255,255,255,.20);transform:translateY(-3px);
  box-shadow:0 10px 26px rgba(4,8,30,.42);}
.snav b,.snav i{display:block;font-style:normal;
  font-family:'Gotham','Inter',Arial,sans-serif;font-weight:900;
  font-size:13px;letter-spacing:.5px;text-transform:uppercase;line-height:1.12;
  color:rgba(255,255,255,.72);transition:color .25s ease;}
.snav a:hover b,.snav a:hover i{color:#fff;}

/* THE ICON BESIDE THE TWO WORDS (9 November). The pill keeps its column
   of two: the icon is one flex child and the wrapped words are the
   other, so nothing about the stack changes. text-align:center above
   stops doing the centring once this is a flex box, so the centring is
   restated as justify-content.

   THE ICON TAKES THE TEXT'S OWN COLOUR rather than an opacity of its
   own. The two words go from white 72% to white on hover and the icon
   now does the same thing on the same transition, so the pill lights as
   one object. The specimen faded it separately and the icon and the
   words arrived a beat apart.

   IT GOES BEFORE THE WORDS SHRINK, NOT AFTER. The row is six pills
   sharing the width, and at 1180 the type is already down to 11.5px, so
   the icon is the first thing to go rather than the last. */
.snav a{display:flex;align-items:center;justify-content:center;gap:9px;}
.snav .sn-tx{display:block;}
/* AQUA, on Matt's word of 9 November. It was the text's own white 72%
   so the pill would light as one object; aqua reads better against six
   pills of grey glass and it is the colour every other icon on this
   site is. It still brightens with the words rather than on a timer of
   its own. */
.snav .sn-ico{flex:0 0 auto;width:24px;height:24px;
  color:rgba(0,238,204,.82);transition:color .25s ease;}
.snav .sn-ico svg{display:block;width:100%;height:100%;fill:currentColor;}
.snav a:hover .sn-ico{color:#00eecc;}
@media (max-width:1320px){.snav .sn-ico{width:21px;height:21px;}
  .snav a{gap:7px;}}
@media (max-width:1180px){.snav .sn-ico{display:none;}}
body.snav-gone .snav{pointer-events:none;}
body.snav-gone .snav .wrap{pointer-events:none;}

/* THE SCROLLED BAR, THE SAME EVERYWHERE, WITH AIR ABOVE IT. Matt, 24
   September: "should we add a small gap above the bar, maybe 10 to 20px?"
   Yes: a pill flush to the top edge of the window reads as stuck to it
   rather than floating over the page. 16px, which is the value the
   interiors already use, so this is one number rather than a new one.

   The collapse is stated here too. The rule that hides the phone and email
   row when scrolled lives in a stylesheet the interiors link and the home
   page does not, which is why the two behaved differently: home kept the
   row and the interiors dropped it. Now every page drops it. */
body.scrolled .navwrap{padding-top:16px;}
body.scrolled .navwrap .topbar{height:0;opacity:0;overflow:hidden;
  margin:0;pointer-events:none;}
/* AND IT HAS TO MOVE SMOOTHLY. Matt, 24 September: "the nav shrink and
   slide up animation has gone a bit glitchy." Two of the three things that
   change on scroll had nothing to animate them: the row's height and the
   bar's padding both snapped while the pill itself eased, so the bar
   appeared to jump and then settle. All three now share the bar's own
   duration (--mid, 0.3s) and the site's easing curve. */
html body .navwrap{transition:padding-top .3s cubic-bezier(.22,1,.36,1);}
html body .navwrap .topbar{overflow:hidden;
  transition:height .3s cubic-bezier(.22,1,.36,1),
             opacity .22s ease,
             margin .3s cubic-bezier(.22,1,.36,1);}
html body .navwrap nav{
  transition:height .3s cubic-bezier(.22,1,.36,1),
             background-color .3s ease,
             box-shadow .3s ease,
             padding .3s cubic-bezier(.22,1,.36,1);}
@media (prefers-reduced-motion:reduce){
  html body .navwrap,html body .navwrap .topbar,html body .navwrap nav{
    transition:none;}
}

/* the home page and the services index run their own hero, so they clear
   the row themselves */
body.snav-home .hero{padding-top:calc(var(--snav-top) + var(--snav-h) + 76px);}

@media (max-width:1080px){
  .snav a{padding:9px 6px 8px;}
  .snav b,.snav i{font-size:11.5px;letter-spacing:.3px;}
}
@media (max-width:900px){
  /* on a phone the bar is shorter and the burger holds the navigation, so
     the row becomes a single scrollable line of chips rather than six
     columns squeezed to nothing */
  :root{--snav-top:84px;--snav-h:52px;--hero-top:168px;}
  .snav .wrap{overflow-x:auto;overflow-y:hidden;overflow-y:clip;scrollbar-width:none;
    -webkit-overflow-scrolling:touch;}
  .snav .wrap::-webkit-scrollbar{display:none;}
  .snav a{flex:0 0 auto;min-width:118px;}
  body.snav-home .hero{padding-top:calc(var(--snav-top) + var(--snav-h) + 30px);}
  /* AND IT SAYS IT SCROLLS. Michael, 27 October, on a Pixel at 360px:
     the third chip was cut through "CONTROL PANELS" at the screen edge,
     which reads as broken rather than as more to come. The right edge
     now fades over 56px, so the cut-off chip goes soft instead of being
     sliced, and the snap stops a swipe halfway through a chip. */
  .snav .wrap{scroll-snap-type:x proximity;scroll-padding:0 32px;
    -webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 56px),transparent);
    mask-image:linear-gradient(90deg,#000 calc(100% - 56px),transparent);}
  .snav a{scroll-snap-align:start;}
}
@media (prefers-reduced-motion:reduce){
  .snav{transition:none;}
}


/* ============ the service page's own blocks (svcpage.py) =============== */
/* THE CAPTION IS UNDER THE PICTURE, NOT ON IT. Matt, 23 September: "no text
   over gradients on images." A scrim over a photograph costs you the bottom
   third of the composition and gives you a caption that is hard to read
   anyway. Under it, the photograph is whole and the words are at full
   contrast. */
.gal{display:grid;gap:18px;
  grid-template-columns:repeat(var(--n,3),minmax(0,1fr));}
.gfig{margin:0;}
.gfig i{display:block;aspect-ratio:4 / 3;border-radius:20px;
  background-size:cover;background-position:center;overflow:hidden;
  box-shadow:0 20px 44px -18px rgba(0,0,0,.6);
  transition:transform .6s cubic-bezier(.22,1,.36,1);}
.gfig:hover i{transform:translateY(-3px) scale(1.012);}
.gfig figcaption{margin-top:12px;font-size:14px;line-height:1.5;
  color:rgba(255,255,255,.7);}
.gfig b{display:block;color:#fff;font-size:15px;font-weight:700;
  margin-bottom:3px;}
/* the sector chips: the ground changes on hover, nothing else moves */
.chips.lt .chip{text-decoration:none;transition:background .25s ease;}

/* THE CHEVRON RUN IS ANCHORED TO THE TOP OF ITS TIER, NEVER STRADDLING ONE.
   Matt, 24 September. The site-wide .chev-band centres the run on the join
   between two bands with a negative margin top AND bottom, so half of it
   hangs in the tier above: on a colour change that reads as a mistake. Here
   the band keeps its height and pulls only the tier below up by the full
   run, so the chevrons sit inside the top edge of the tier they introduce.
   They start inside the content edge and travel right as it arrives. */
.chev-band-svc{text-align:left !important;padding:0 !important;
  margin:0 0 calc(var(--chev-md) * -1) 0 !important;
  position:relative;z-index:3;pointer-events:none;}
.chev-band-svc .svc-chev{transform:translate3d(var(--cx,-120px),0,0);
  will-change:transform;}
/* AND THE TIER IT INTRODUCES IS PAINTED INSIDE ITS OWN BOX. Matt, 27
   October, on the wire processing page: "Floating chevron issue
   again."

   MEASURED, NOT GUESSED, because the run has been accused of this
   twice and been innocent once. At 1512 with the sectors tier parked
   300px down the window: the section's box top is 300, the run is
   300 to 324, and .wy-bg is painted from 192. The panel carries
   translateY(-108px) as part of its drift, so the ground a reader sees
   starts 108px above the box the run is anchored to, and the run is
   sitting a third of the way into a panel that looks like it began
   well above it. The run is on the edge. The edge is not where the
   paint is.

   This is the same fault, and the same fix, as reshuffle.py's note of
   16 October, which clipped #industries, #proof, #sectors and #hub on
   the one page it owns. That left every other page on the site with
   the drift, which is why it has come back. Here it is scoped to the
   thing that makes it visible instead of to a list of ids: a tier gets
   clipped if and only if a chevron run is sitting on its edge. A tier
   with nothing up there to give the softness away keeps its drift.

   clip and not hidden: hidden on a section turns everything sticky
   inside it into something that is not, and these pages have the
   scroll-overs. */
.chev-band-svc + section{overflow:clip;}
.rel3{display:grid;gap:16px;grid-template-columns:repeat(3,minmax(0,1fr));}
.relc{display:block;text-decoration:none;border-radius:22px;padding:26px 26px 24px;
  background:rgba(255,255,255,.05);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.07);
  transition:transform .25s ease,background .25s ease;}
.relc:hover{transform:translateY(-3px);background:rgba(255,255,255,.08);}
.relc em{display:block;font-style:normal;font-size:11px;letter-spacing:1.6px;
  text-transform:uppercase;font-weight:700;color:var(--aqua,#00eecc);
  margin-bottom:10px;}
.relc h3{margin:0 0 8px;font-size:19px;color:#fff;}
.relc p{margin:0 0 14px;font-size:14.5px;line-height:1.6;
  color:rgba(255,255,255,.7);}
.relc span{font-size:13.5px;font-weight:700;color:var(--aqua,#00eecc);}
@media (max-width:900px){
  .gal{grid-template-columns:repeat(2,minmax(0,1fr));}
  .rel3{grid-template-columns:1fr;}
}
@media (max-width:560px){
  .gal{grid-template-columns:1fr;}
}

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