
/* THE NAV SCRIM (navscrim.py). Behind the bar and the tabs, in front of the
   hero: the bar is z-index 90 and the tab row is 40, so 30 puts this under
   both and over the picture. */
/* Nothing below 1100, where the bar is replaced by the overlay menu and the
   menu has its own ground. Declared off rather than simply unstyled: an
   empty div with no rules still exists in the layout, and a node that is
   doing nothing should say so. */
.navscrim{display:none;}
@media (min-width:1100px){
  .navscrim{
    display:block;
    position:fixed; inset:0; z-index:30;
    opacity:0; pointer-events:none;
    transition:opacity .26s ease;
    /* DARK AT THE TOP, MESH BELOW IT. Matt, 6 October: "Could we try so it
       has some gradients mid / bottom areas? Keep top dark."

       The top band is doing a job and cannot change: it is the ground under
       the topbar type, the bar and the six tabs, and that is the whole
       reason the scrim exists. Everything below the tabs is doing nothing
       except being dark, so that is where the colour goes.

       The blooms are the site's own mesh, the same two colours the hero and
       the icon tier use: aqua top right, indigo low left, over a deeper
       navy pool at the foot. All three are positioned at 70% and below, so
       none of them reaches the bar. Layer order matters here: in CSS the
       first background is the one on top, so the blooms tint the flat dark
       underneath them rather than being hidden by it.

       They do not drift. The hero mesh does, but that one is always there;
       this appears on hover and a moving background on something that
       arrives in a quarter of a second is noise. */
    background:
      radial-gradient(64% 50% at 86% 74%, rgba(0,238,204,.22), transparent 64%),
      radial-gradient(66% 54% at 8% 62%, rgba(70,96,230,.26), transparent 66%),
      radial-gradient(90% 56% at 48% 100%, rgba(26,36,84,.62), transparent 70%),
      linear-gradient(180deg,
        rgba(7,10,32,.90) 0%,
        rgba(7,10,32,.86) 15%,
        rgba(7,10,32,.80) 46%,
        rgba(9,13,40,.74) 100%);
  }
  /* the blur is the part that actually does the work: white type suffers
     from detail behind it more than from brightness */
  @supports (backdrop-filter:blur(6px)){
    /* 5px rather than the 7 the strip used: this covers the viewport now,
       and the difference is not visible while the cost is */
    .navscrim{backdrop-filter:blur(5px) saturate(106%);
      -webkit-backdrop-filter:blur(5px) saturate(106%);}
  }

  /* THE ASSISTANT RECEDES WITH THE PAGE. It is z-index 90, the same as the
     bar, so without this it is the one thing left fully lit in the bottom
     corner of a dimmed page. Not hidden and not disabled: still clickable,
     still there, just no longer the brightest thing on screen. An open
     panel is left alone. */
  body.navlit .dock:not(.open){opacity:.34;
    transition:opacity .26s ease;}
  .dock{transition:opacity .26s ease;}
  body.navlit .navscrim{opacity:1;}

  /* AND THE DROPDOWN STOPS BEING SEE-THROUGH WHILE IT IS OPEN. Matt asked
     for the dropdowns to be easier to read as well as the bar, and the
     scrim alone could not do it: the panel is rgba(13,18,48,.96) over a
     22px blur, and the 4% it lets through is white tab type on a dark
     panel, which is exactly the contrast the eye picks up. Opened over the
     six tabs you could read BOX BUILDS through the menu. Solid while open,
     and unchanged while closed, so nothing moves until you reach for it. */
  html body .nav-links .has-sub:hover > .dropdown .dd,
  html body .nav-links .has-sub:focus-within > .dropdown .dd{
    background:#0c1134;}
}
@media (prefers-reduced-motion:reduce){
  .navscrim{transition:none;}
}


/* the section title, back on --fs-2 (typescale.py) */
html body section h2,
html body .sec-head h2,
html body #supply.map-port .sec-head h2{font-size:clamp(34px,3.4vw,46px);
  letter-spacing:var(--ls-tight,-1.5px);line-height:var(--lh-tight,1.02);}
/* and the variable the see-all buttons measure their offset from, because
   that offset is .595 of the TITLE: a stale copy here puts every button a
   few pixels low at 1440 and nothing says so */
@media (min-width:1081px){
  html body .sec-top{--tfs:clamp(34px,3.4vw,46px);}
}


/* ===== the approvals block (approvals.py) ===== */
/* THE WRAP IS A BLOCK. Matt, 15 October: "can we make sure the pills go
   full grid width please. Could be wrong, they look narrow?"

   He was not wrong: 1144px of pills inside a 1332px grid, 188px short,
   at every width from 1440 to 3552. Nothing was setting a narrower
   width. .certs .wrap is a FLEX container, written when the bar was one
   flex row of seven pills and a flag, and the rebuild put a title row
   and a four column grid inside it without touching the wrap. Both are
   flex items, so both were sized to their content and neither could
   reach the edge: the grid stopped at four pills plus three gaps, and
   the link sat tucked against the title instead of out on the right.
   One declaration fixes both. */
html body .certs > .wrap{display:block;}

/* THE GAP UNDER THE TITLE IS THE STANDARD ONE. Matt: "more gap under
   title please - it's too tight needs more breathing space. Is there a
   standard gap under titles?" There is: .sec-head carries
   margin-bottom:var(--s5), which measures 48px. This was 26px, picked
   when the title was a 15px caption. It follows the token now rather
   than sitting near it. */
html body .certs .certs-top{margin:0 0 var(--s5,48px);}
/* `align-items:last baseline` is the keyword that means "line the link
   up with the LAST line of the title" and it measured as doing nothing
   here, so the offset is written out: a 46px line reserves 8px more
   room under its baseline than a 19px one, so the link's margin box is
   dropped by that much and the two baselines agree. Measured from the
   rendered pixels rather than from font metrics, on "TRACEABLE" against
   "View", both chosen because neither has a descender. */
html body .certs .certs-cta{margin-bottom:-2px;}

/* A TITLE, NOT A CAPTION. Matt: "the title bigger like a normal title."
   It was 15px at 600 in 72% white, which is the weight this site uses
   for a note under a heading, so the block read as a footnote with
   pills under it. It is an h2 now, in markup as well as in type,
   because it is the only heading this band has and the page's outline
   should say so.

   THE SECTION FAMILY'S SIZE, NOT A SIZE OF ITS OWN. Matt: "the title
   size is to small - go two lines and same as the bigger titles we
   use." 46px at 900 with -1.5px of tracking is what every other full
   width heading on the site measures, and 1.02 is --lh-tight: this was
   the last heading anywhere still carrying home's old 1.03 after
   typescale took the other 32 back onto the token. */
html body .certs .certs-ttl{margin:0;
  font-size:clamp(32px,3.2vw,46px);font-weight:900;line-height:1.02;
  letter-spacing:-1.5px;color:#fff;text-transform:uppercase;}
@media (max-width:900px){
  html body .certs .certs-ttl{font-size:30px;letter-spacing:-.6px;
    line-height:1.08;}
}

/* EIGHT PILLS ON FOUR COLUMNS, which is the whole reason the flag became
   one of them. Bigger to suit the width, as asked: 16/22 padding
   against the loose bar's 11/18, and the label up from 12 to 14. */
html body .certs .certs-grid{display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;}
/* AND THE BLOCK DRAWS ITS OWN PILLS. Matt, 17 October, with a shot of
   index beside a shot of a service page: "why are they not the same?
   Can't we use one and call it instead of 2 different blocks?"

   It was one block, from this one module, on all 74. What was not one
   was the PILL: .chip is a shared class and the module was leaving the
   fill to whatever .chip rule the page happened to carry underneath it.
   On 72 pages that is rgba(255,255,255,.08), a film over the page
   ground. index.html and services.html are built from
   _master/index.html, whose sheet instead has
   .certs .chip{background:var(--cardg,linear-gradient(165deg,#151b47,
   #111640))}, a solid navy panel. Two grounds, one block, and no page
   name anywhere in the difference, which is why it survived a rebuild
   that touched all 74 at once.

   So the fill is the module's now, marked, because the rule it has to
   beat on 72 pages is itself marked and sets the same colour. Nothing
   moves on those; the two outliers come into line. */
html body .certs .certs-grid .chip{display:flex;align-items:center;
  justify-content:center;gap:7px;text-align:center;
  padding:16px 22px 14px;font-size:14px;line-height:1.25;
  background:rgba(255,255,255,.08) !important;
  color:rgba(255,255,255,.82) !important;
  border-radius:999px !important;
  box-shadow:none !important;}
html body .certs .certs-grid .chip b{color:#fff;}
html body .certs .chip-uk img{height:15px;width:auto;display:block;}
@media (max-width:900px){
  html body .certs .certs-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  html body .certs .certs-top{gap:18px;}
}
@media (max-width:480px){
  html body .certs .certs-grid{grid-template-columns:minmax(0,1fr);}
}
/* The link is gocta.py's, which is the component the certifications bar
   was where this was worked out. What is here is only what is
   particular to this block. */


/* AIR BETWEEN THE APPROVALS AND THE CALL TO ACTION. Matt, 2 November,
   on about: "This gap between tiers feels too tight is it? If so widen
   plz." It is. On every other page something sits between these two,
   so the question never came up; on about they are now neighbours, and
   all that separates them is this block's own 86px of bottom padding
   against a CTA whose top padding is zeroed inline. 86px between two
   full-width tiers reads as a mistake rather than a break.

   Written as "certs followed by the CTA" rather than as an about rule,
   because the adjacency is the thing that is tight, and the next page
   to put those two together will want the same answer. */
html body .certs + #contact{margin-top:72px;}
@media (max-width:760px){
  html body .certs + #contact{margin-top:48px;}
}
/* ===== the approvals bar as white boxes (certsbox.py) =====
   C1 from the lab: four across, two rows, 3:2, which at the 1332px wrap
   with a 20px gap is 318 by 212. The shape is set by aspect-ratio and
   not by a height, because the lab's first version used a height and
   the boxes came out square at exactly this width.

   The rules this has to beat are approvals.py's own, which are marked
   !important because they in turn had to beat a .chip rule that differs
   between home and the other 72 pages. So these are marked too, and
   only where that is the reason. */
html body .certs .certs-grid.certs-box{gap:20px;}
html body .certs .certs-grid.certs-box .chip{
  display:flex;flex-direction:column;align-items:center;
  justify-content:center;gap:0;aspect-ratio:3 / 2;
  padding:22px 18px 18px !important;
  background:#fff !important;
  color:#5a6176 !important;
  border-radius:18px !important;
  box-shadow:none !important;
  font-size:15px;line-height:1.3;text-align:center;}
html body .certs .certs-grid.certs-box .cb-slot{
  display:flex;align-items:center;justify-content:center;
  flex:1 1 auto;width:100%;min-height:0;}
/* THE LOGO IS CONTAINED, NEVER COVERED. object-fit:contain on a box
   that is already the right shape means a mark is only ever scaled, so
   a round one and a wide one both arrive whole. A cover would crop the
   ends off a wordmark, and the one thing worse than no logo is half of
   somebody's logo. */
/* AND THE SLOT HAS A CEILING. Left to fill it, the UK flag came out
   158px tall in a 212px box, which is a flag wearing the section rather
   than a mark sitting in it. 84px is about two fifths of the box and
   the height at which a wordmark as long as Global Electronics
   Association still has room to be legible across 282px of usable
   width. The width is capped by the box either way. */
html body .certs .certs-grid.certs-box .cb-logo{
  max-width:100%;max-height:84px;width:auto;height:auto;
  object-fit:contain;display:block;}
html body .certs .certs-grid.certs-box .chip b{
  color:#0b0f2e !important;font-weight:900;font-size:26px;
  letter-spacing:-.4px;line-height:1.02;}
html body .certs .certs-grid.certs-box .cb-q{
  flex:0 0 auto;margin-top:14px;font-size:15px;color:#5a6176 !important;}
html body .certs .certs-grid.certs-box .chip-uk img{
  height:auto;max-height:84px;}
/* THE TWO REGISTRAR MARKS, 20 PER CENT BIGGER. They are a lockup of two
   stamps with a rule between them, so at the shared 84px cap each stamp
   is half the size of every other mark in the row and the pair reads as
   the small ones. 101 is 84 and a fifth. */
html body .certs .certs-grid.certs-box .cb-big .cb-logo{max-height:101px;}

/* ===== THE EIGHTH CELL, WHICH IS A WAY OUT AND NOT A CREDENTIAL =====
   Matt, 20 October: "the 8th tile becomes a CTA button instead of white
   a mesh gradient tile - to drive people to the compliance page."

   So it takes the panel gradient every card on this site carries, and
   the mesh over it, rather than the white. On a row of seven white
   boxes the one dark cell is the only thing the eye has to land on,
   which is the entire job. */
html body .certs .certs-grid.certs-box .cb-cta{
  background:linear-gradient(165deg,#181f4e,#111640) !important;
  color:rgba(255,255,255,.72) !important;
  text-decoration:none;position:relative;overflow:hidden;
  transition:transform .4s cubic-bezier(.22,1,.36,1),
             box-shadow .4s ease;}
html body .certs .certs-grid.certs-box .cb-cta::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(60% 70% at 18% 22%,rgba(0,238,204,.26),transparent 68%),
    radial-gradient(55% 65% at 82% 76%,rgba(62,201,255,.20),transparent 66%),
    radial-gradient(70% 80% at 60% 30%,rgba(42,58,143,.55),transparent 72%);}
html body .certs .certs-grid.certs-box .cb-cta > *{position:relative;z-index:1;}
html body .certs .certs-grid.certs-box .cb-cta b{
  color:#fff !important;font-size:23px;}
html body .certs .certs-grid.certs-box .cb-cta .cb-q{
  color:var(--aqua,#00eecc) !important;
  display:inline-flex;align-items:center;gap:8px;font-weight:600;}
html body .certs .certs-grid.certs-box .cb-cta .cb-arw{
  width:17px;height:17px;flex:none;
  transition:transform .4s cubic-bezier(.22,1,.36,1);}
html body .certs .certs-grid.certs-box .cb-cta:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 34px -14px rgba(0,0,0,.6);}
html body .certs .certs-grid.certs-box .cb-cta:hover .cb-arw{
  transform:translateX(5px);}
@media (prefers-reduced-motion:reduce){
  html body .certs .certs-grid.certs-box .cb-cta,
  html body .certs .certs-grid.certs-box .cb-cta .cb-arw{transition:none;}
  html body .certs .certs-grid.certs-box .cb-cta:hover{transform:none;}
}
@media (max-width:900px){
  html body .certs .certs-grid.certs-box{
    grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
  html body .certs .certs-grid.certs-box .chip b{font-size:20px;}
}
@media (max-width:480px){
  html body .certs .certs-grid.certs-box{
    grid-template-columns:repeat(2,minmax(0,1fr));}
}


/* ===== the promotional band (promo.py) =====
   Matt, 22 October: "a promotional area on the site for things like
   expo promo or special notif's... that we can turn on and off."
   And later the same day: "make the bg of the box a shifting mesh
   gradient. Also add a second image as a floating chip, make sure the
   images are parralax internally."

   NO BORDERS ANYWHERE IN HERE. The house rule: every line is a gap
   over a coloured ground or a one pixel background. The band is told
   apart from the page by its own ground and its corners, the way the
   icon tier is. The floating chip is told apart from the picture
   underneath it by a shadow, which is a gap rather than a line: a ring
   in a flat colour would read as a flat patch over a moving mesh.

   It is the width of everything else and it sits in the flow, so it
   covers nothing and it is there at every screen size. */
.prom{padding:10px 0 34px;}
/* THE BAND IS THE GROUND AND THE SHOWS SIT IN IT. The grid moved off
   this element and onto .pr-slide when the band became a carousel:
   the ground, the radius, the mesh and the counter belong to the
   block, and only the two columns belong to a show.

   PADDING-BOTTOM CARRIES THE COUNTER. 34px of air plus the 3px row
   plus the row's own 22px above it. Written as one number rather than
   positioning the counter outside the padding, so a band with one
   show and no counter is simply shorter. */
.pr-in{position:relative;isolation:isolate;
  background:linear-gradient(104deg,#141b4d 0%,#0e1438 58%,#101746 100%);
  border-radius:26px;padding:34px 38px;
  box-shadow:0 18px 50px -24px rgba(0,0,0,.55);}
/* THE COUNTER'S SPACE COMES OUT OF THE COLUMN IT SITS UNDER, not out
   of the band. Reserving it as padding-bottom on the whole band made
   the content box asymmetric, 34px of air above and 70 below, so the
   pictures centred 18px above the band's actual middle. Taking it from
   the words column instead leaves the band symmetric and the art
   centres on the middle you can see. */
.prom.pr-many .pr-say{padding-bottom:36px;}

/* EVERY SHOW IN ONE GRID CELL, which is how they stack without any
   height being measured in JavaScript. The track is one cell and each
   slide is placed in it, so the band sizes itself to the tallest show
   and stays that height while they cross over. An absolutely
   positioned slide would have collapsed the band to nothing and needed
   a height set from a script, which is the version of this that breaks
   the first time a show has a longer name. */
.pr-slides{display:grid;}
/* ALIGN-ITEMS IS center AND THAT IS NOT ENOUGH ON ITS OWN. Matt, 26
   October: "Now box is taller / variable - can we always make sure the
   image block as a whole is vertically centered."
   
   The row centres each column against the TALLEST column, which is the
   words whenever a show name takes three lines. The pictures are
   shorter than that, so centring them in the row leaves them centred
   on the words rather than on the band, and the band has unequal air
   above and below them. The art column is told to be the full height
   of the row and to centre its own contents inside that, so the
   pictures sit on the band's middle whatever the words are doing. */
.pr-slide{grid-area:1/1;
  display:grid;grid-template-columns:minmax(0,1fr) 420px;
  gap:40px;align-items:stretch;
  opacity:0;visibility:hidden;transform:translate3d(0,8px,0);
  transition:opacity .55s ease,transform .55s ease,visibility 0s linear .55s;}
.pr-slide.on{opacity:1;visibility:visible;transform:none;
  transition:opacity .55s ease,transform .55s ease,visibility 0s;}

/* THE COUNTER IS HOME'S, FASTER. .hd on the home hero is 44 by 3 with
   an aqua gradient filling left to right over 7s. These are the same
   two rules at 5s, because a promotional band is a glance and a hero
   is a dwell. */
.pr-dots{position:absolute;left:38px;bottom:30px;z-index:2;
  display:flex;gap:8px;}
.pr-d{width:44px;height:3px;border-radius:2px;border:none;padding:0;
  background:rgba(255,255,255,.13);cursor:pointer;position:relative;
  overflow:hidden;}
.pr-d::after{content:"";position:absolute;inset:0;border-radius:2px;
  background:linear-gradient(90deg,#00eecc,#5cf2dd);
  transform:scaleX(0);transform-origin:left;}
.pr-d.on::after{animation:prfill 5s linear forwards;}
.pr-d:hover{background:rgba(255,255,255,.25);}
.prom.pr-hold .pr-d.on::after{animation-play-state:paused;}
@keyframes prfill{from{transform:scaleX(0);}to{transform:scaleX(1);}}

/* THE MESH, AND THE CLIP IS ON THE MESH RATHER THAN ON THE BAND.
   Putting overflow:hidden on .pr-in would hold the lights in and cut
   the floating chip off at the same time, because the chip hangs over
   the picture's left corner on purpose. So the mesh has its own layer
   with the band's own radius and its own clip, and the band itself
   stays open. */
.pr-mesh{position:absolute;inset:0;z-index:0;overflow:hidden;
  border-radius:26px;pointer-events:none;}
.pr-mesh i{position:absolute;display:block;}
/* THE TWO ON THE LEFT ARE UNTOUCHED. They were both brightened on 26
   October and both put back the same day: "Mesh - bottom left didn't
   need changing - it was just more aqua behind the images to make them
   more noticeable." The left of this band is the words, and more light
   under a paragraph is not more punch, it is less contrast. */
.pr-b1{width:62%;padding-bottom:62%;left:-10%;top:-26%;
  background:radial-gradient(circle at 50% 50%,
    rgba(0,238,204,.20) 0%,rgba(0,238,204,.07) 42%,transparent 70%);
  animation:pr-d1 21s ease-in-out infinite alternate;}
/* THE ONE BEHIND THE PICTURES, AND THE ONLY ONE THAT CHANGED. Measured
   at 1840: this light is a 986px circle whose centre already sits at
   x=1079 against the art column's centre at x=1084, so it was in the
   right place across the band and in the wrong place down it, centred
   at 74% of the height against pictures centred at 50%. top goes from
   -34% to -52% to put it behind them rather than below them.
   Indigo to aqua, and up from .26 to .32, which is the "more aqua
   behind the images" he asked for and nothing else. */
.pr-b2{width:74%;padding-bottom:74%;right:-18%;top:-52%;
  background:radial-gradient(circle at 50% 50%,
    rgba(0,238,204,.32) 0%,rgba(0,224,210,.11) 44%,transparent 70%);
  animation:pr-d2 17s ease-in-out infinite alternate;}
.pr-b3{width:86%;padding-bottom:70%;left:16%;bottom:-48%;
  background:radial-gradient(circle at 50% 50%,
    rgba(0,170,220,.18) 0%,rgba(16,23,70,.08) 46%,transparent 72%);
  animation:pr-d3 34s ease-in-out infinite alternate;}

/* PAUSED UNTIL THE BAND IS ON SCREEN. A CSS animation on a section
   nobody has scrolled to yet still ticks, and this band is on 71
   pages. The script below adds pr-live when it comes into view and
   nothing moves before that. */
.pr-mesh i{animation-play-state:paused;}
.prom.pr-live .pr-mesh i{animation-play-state:running;}
@keyframes pr-d1{
  from{transform:translate3d(0,0,0) scale(1);}
  to{transform:translate3d(14%,22%,0) scale(1.22);}}
/* THE DRIFT ON THE SECOND LIGHT IS SHORTER THAN IT WAS, not longer.
   It was 16% down, which on a 986px circle is 158px, and a light that
   has been put behind the pictures on purpose should not then travel
   far enough to come out from behind them. 8% keeps it on them for the
   whole of its pass. */
@keyframes pr-d2{
  from{transform:translate3d(0,0,0) scale(1.08);}
  to{transform:translate3d(-12%,8%,0) scale(.94);}}
@keyframes pr-d3{
  from{transform:translate3d(0,0,0) scale(1);}
  to{transform:translate3d(10%,-18%,0) scale(1.18);}}

/* ---- the chevron run on the top edge ------------------------------
   Matt's pink markup, halved: 120px in from the band's left edge, 170px
   of travel, and the top of the run flush with the top of the band. The
   numbers are worked out where CHEV is defined at the top of this file.

   ONE calc() AND NO SCRIPT. --pr is the band's own progress through the
   window, -1 to +1, already being written once per rAF for the parallax
   on the two pictures. (--pr + 1) / 2 is 0 to 1, so 85px either side of
   the middle is the 170px he drew. Reduced motion leaves --pr unset,
   which parks the run halfway along, the same as home's does.

   z-index 4 puts it over the mesh and under the two columns, which
   matters on the left where the words start: the run clears the eyebrow
   by 24px at the start of its travel and it must not cross it. */
.pr-chev{position:absolute;top:0;left:120px;z-index:4;pointer-events:none;
  transform:translateX(calc((var(--pr,0) + 1) * 85px));
  will-change:transform;}
/* THE BAND GOES TO ONE COLUMN AT 1080 and the words come up under the
   top edge, so the run would be sliding across the eyebrow. */
@media (max-width:1080px){.pr-chev{display:none;}}

.pr-say,.pr-art{position:relative;z-index:1;}
/* THE TITLE IS THE PAGE'S OWN H2. Matt, 26 October: "can the title
   match other main titles in size". It was clamp(26px,2.5vw,34px),
   which is 34px at a desktop width against 46px for every other
   heading on the page, so the promotion read as a sub-heading of
   whatever was above it. The size comes off the system token now
   rather than from a number written here, so it follows the rest of
   the site wherever that goes. */
/* ONE TITLE, ONE SIZE. Matt, 26 October: "Can the title be all proper
   / same size... also it's OK to go to 3 lines if needed and it's OK if
   block needs to be slightly taller."

   THE SIZE IS --fs-2, "section title" in the scale, clamp(28px, 3.4vw,
   46px). It is what every other h2 on the page is set in, which is why
   the band reads as a section of the page now rather than as a panel
   with its own typography.

   The two spans stay, because the line break between the lead and the
   event is deliberate and should not depend on where the text happens
   to wrap. They are just the same size as each other now.

   NOTHING CAPS THE HEIGHT, so a long show name takes a third line and
   the band grows. The slides sit in one grid cell, so the band is
   always as tall as its tallest show and does not jump as they turn
   over. */
/* AND THE TITLE GETS A NARROWER COLUMN THAN THE PROSE UNDER IT.
   Matt, 26 October: "Make the title container a bit narrower so
   manufacturing would drop down to 3rd line."

   MEASURED, THEN SET IN em RATHER THAN px. At 46px the h2 had 796px
   to play with and "SOUTHERN MANUFACTURING" is 680px, so it fitted on
   one line and only 2027 dropped. 13em sits between that 680px and the
   537px of "MANUFACTURING 2027", so the break lands between the two
   words and the year stays with them.

   In em because --fs-2 is a clamp: a pixel width would hold while the
   type shrank under it and the break would move on the way down to a
   phone. In em the column tracks the type, so the line falls in the
   same place at every size. "SUBCON 2027" is 7em and is untouched. */
.pr-say h2{margin:14px 0 0;font-weight:900;line-height:1.06;
  font-size:var(--fs-2,clamp(28px,3.4vw,46px));max-width:13em;}
.pr-lead,.pr-ev{display:block;}
.pr-when{margin:12px 0 0;font-size:15px;letter-spacing:.3px;
  color:var(--aqua,#00eecc);font-weight:700;}
.pr-dot{opacity:.5;margin:0 9px;}
.pr-note{margin:12px 0 0;font-size:16px;line-height:1.7;
  color:rgba(255,255,255,.74);max-width:58ch;}
.pr-go{display:inline-flex;align-items:center;gap:10px;margin-top:20px;
  font-size:15px;font-weight:700;letter-spacing:.2px;
  color:var(--aqua,#00eecc);text-decoration:none;}
.pr-arw{width:20px;height:20px;transition:transform .25s ease;}
.pr-go:hover .pr-arw{transform:translateX(5px);}

/* THE TWO PICTURES. A frame that clips, and the photograph inside it
   taller than the frame so it has somewhere to go. --pr is the band's
   own progress through the window, -1 coming in at the bottom and +1
   going out at the top, written by the script below.

   THE TWO MOVE AT DIFFERENT RATES AND IN OPPOSITE DIRECTIONS, which
   is the whole of what parallax is. Same rate and they are one flat
   picture in two frames. */
.pr-art{position:relative;align-self:stretch;
  display:flex;flex-direction:column;justify-content:center;gap:18px;}
/* THE LOGO SITS ABOVE THE PICTURES AND IS SIZED BY ITS HEIGHT, not by
   a width, because show logos are every shape there is and the one
   thing they have in common is that they want to read at a consistent
   optical size. Left aligned with the frame below it. */
.pr-logo{display:flex;align-items:center;}
.pr-logo img{height:46px;width:auto;max-width:72%;object-fit:contain;
  display:block;}
/* A LOGO THAT CAME ON ITS OWN GROUND KEEPS IT, as a plate. The colour
   is set inline from the file's own corners, so the artwork's
   background and the plate are the same colour and the join does not
   show. align-self keeps the plate the width of the mark rather than
   the width of the column. */
/* NO PADDING ON THE PLATE. The air around the mark is in the file,
   put back as the logo's own background colour when it was trimmed,
   so one rule works whatever margin a supplied logo arrives with and
   the plate is exactly the picture's shape. */
.pr-logo-plate{align-self:flex-start;border-radius:12px;overflow:hidden;
  box-shadow:0 10px 26px -14px rgba(0,0,0,.5);}
.pr-logo-plate img{height:56px;}
.pr-shots{position:relative;}
.pr-say{align-self:center;}
.pr-ph{position:relative;overflow:hidden;width:100%;aspect-ratio:4/3;
  border-radius:20px;}
.pr-ph i{position:absolute;left:0;right:0;top:-9%;height:118%;
  display:block;background-size:cover;background-position:center;
  transform:translate3d(0,calc(var(--pr,0) * 7%),0);
  will-change:transform;}
/* THE STAND NUMBER (promo.py). Matt, 5 November: "Each slide add small
   stand number chip top right of main image. Maybe in Aqua?"

   SOLID AQUA WITH NAVY ON IT, not aqua type on the photograph. That is
   chipmark.py's measured decision of 21 October: the same words are
   12.6 : 1 on a solid aqua ground and 1.4 : 1 as aqua text over a
   picture, and this one sits on a hall with a white banner behind it.

   It is a child of the frame, so the frame's 20px radius clips it, and
   it does NOT take the parallax: the picture travels under it and the
   label stays where it was put. No border, the shadow does the lifting
   (gecko-no-borders). */
/* THE ROW THE LOGO AND THE STAND CHIP SHARE. The chip is pushed to
   the end of it rather than given a width, so it sits on the right
   hand edge of .pr-art, which is the same edge as the main picture
   because .pr-ph is width:100% of that column. */
.pr-top{display:flex;align-items:center;justify-content:space-between;
  gap:18px;min-height:46px;}
.pr-top .pr-logo{flex:0 1 auto;min-width:0;}
.pr-stand{margin-left:auto;flex:0 0 auto;
  display:inline-flex;align-items:baseline;gap:6px;
  padding:7px 13px 6px;border-radius:999px;
  background:#00eecc;color:#0b0f2e;
  font-size:11px;font-weight:600;letter-spacing:.1em;
  text-transform:uppercase;white-space:nowrap;
  box-shadow:0 6px 18px rgba(0,0,0,.30);}
.pr-stand b{font-size:13px;font-weight:700;letter-spacing:.04em;}
@media (max-width:680px){
  .pr-top{min-height:0;gap:12px;}
  .pr-stand{padding:5px 10px 4px;font-size:10px;}
  .pr-stand b{font-size:12px;}
}
/* THE CHIP IS LANDSCAPE AND IT SITS INSIDE THE BAND. Matt, 26
   October: "floating smaller image be landscape and move up a bit so
   it's not hitting bottom of the bg block". It was square and hung 34px
   below the band's own bottom edge, so it read as falling out of the
   box rather than floating over it. 4:3 to match the picture it
   overlaps, and its bottom edge now clears the band's. */
/* THE SHADOW IS THE ONE IT ALWAYS HAD. On 26 October it was tried with
   a deeper drop and a 5px ring of the band's ground colour, to cut the
   chip out of the picture it overlaps. Matt looked at it: "Drop shadow
   revert - not working." The ring read as a dark outline on a
   photograph rather than as a gap, which is the risk every time that
   trick is used over an image instead of over flat colour. Put back
   exactly as it was rather than tuned down, because the thing he was
   asked about was whether it needed changing and the answer was no. */
.pr-chip{position:absolute;left:-25%;bottom:14px;width:44%;
  aspect-ratio:4/3;overflow:hidden;border-radius:18px;
  box-shadow:0 26px 50px -18px rgba(0,0,0,.66);
  transform:translate3d(0,calc(var(--pr,0) * -16px),0);
  will-change:transform;}
.pr-chip i{position:absolute;left:0;right:0;top:-11%;height:122%;
  display:block;background-size:cover;
  transform:translate3d(0,calc(var(--pr,0) * -9%),0);
  will-change:transform;}

@media (max-width:1080px){
  .pr-slide{grid-template-columns:1fr;gap:26px;}
  .pr-in{padding:28px 26px;}
  /* ON A PHONE THE ART IS BELOW THE WORDS, so the counter would land
     under the pictures rather than under the text and the reservation
     moves with it. */
  .prom.pr-many .pr-say{padding-bottom:0;}
  .prom.pr-many .pr-art{padding-bottom:34px;}
  .pr-dots{left:26px;bottom:26px;}
  .pr-logo img{height:34px;}
  .pr-d{width:34px;}
  .pr-ph{aspect-ratio:16/9;}
  /* ON A PHONE THE CHIP COMES INSIDE. There is no gap to hang over
     once the band is one column, and a chip hanging off the left edge
     of a 360px screen is a chip half off the screen. */
  .pr-chip{left:auto;right:14px;bottom:12px;width:38%;}
}
@media (prefers-reduced-motion:reduce){
  .pr-arw{transition:none;}
  .pr-mesh i,.prom.pr-live .pr-mesh i{animation:none;}
  .pr-ph i,.pr-chip,.pr-chip i{transform:none;}
  /* THE SHOWS STILL CHANGE, they just do not slide or fade, and the
     counter fills without being animated. Somebody who has asked for
     less motion should still see the second show. */
  .pr-slide{transition:none;}
  .pr-d.on::after{animation:none;transform:scaleX(1);}
}
/* ======================================================= THE SWITCH
   Matt, 26 October: "Can we add a toggle (like snow) for this feature
   promo block".

   TWO SWITCHES, AND THEY DO DIFFERENT JOBS. promo.SHOW decides whether
   the band is built at all: off and there is no markup, no stylesheet
   and no entry in the running order. This one is the reader's, and it
   only hides a band that was built. Neither can do the other's job and
   that is deliberate: a promotion that has finished should leave the
   site rather than be hidden behind a switch nobody presses.

   SAME PILL AS SNOW, token for token, because a second kind of floating
   switch in the corner is a second thing to learn. It stacks above the
   snow one, and drops into its place when there is no snow on the page,
   so the pair never leaves a gap in the corner. */
#promot{position:fixed;left:18px;bottom:62px;z-index:95;
  display:inline-flex;align-items:center;gap:9px;
  padding:9px 15px 9px 12px;border-radius:999px;
  background:rgba(255,255,255,.08);color:rgba(255,255,255,.72);
  font:600 12px/1 'Gotham',system-ui,sans-serif;letter-spacing:1.4px;
  text-transform:uppercase;cursor:pointer;
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  transition:background .3s ease,color .3s ease,transform .3s ease;}
body:not(:has(#snowt)) #promot{bottom:18px;}
#promot:hover{background:rgba(255,255,255,.14);transform:translateY(-2px);}
#promot b{display:block;width:15px;height:15px;line-height:0;
  transition:transform .4s ease;}
#promot b svg{width:100%;height:100%;display:block;}
#promot.on{color:var(--aqua,#00eecc);
  background:var(--aquafilm,rgba(0,238,204,.12));}
#promot.on b{transform:rotate(45deg);}
@media (max-width:700px){
  #promot{left:12px;bottom:56px;padding:8px 12px 8px 10px;font-size:11px;}
  body:not(:has(#snowt)) #promot{bottom:12px;}
}
/* THE SWITCH IS NOT ON A PHONE. Michael, 27 October, on a Pixel: it sat
   over the copy in the corner of every page. The band itself still shows
   there, because the promotion is the content; the switch is a review
   tool for a desk, and on a phone it was covering what it promotes. */
@media (max-width:700px){
  #promot{display:none !important;}
}
/* AND THE BAND GOES WITHOUT LEAVING ITS SPACE BEHIND. display:none
   rather than opacity, so the page closes up rather than keeping a
   hole where the promotion was. */
.prom[hidden]{display:none;}


/* ============ the icon tier, the services index's own (icontier.py) ===== */
.wy{position:relative;z-index:2;padding:104px 0 96px;border-radius:36px 36px 0 0;
  background:#0b0f2e;isolation:isolate;
  box-shadow:0 -40px 60px -20px rgba(0,0,0,.45);margin-top:-36px;}
/* ONCE THE BAND ABOVE IS PINNED, THE OVERLAP IS THE SLIDE. The -36px above
   is what a tier that cannot move uses to avoid a hard edge: it tucks under
   the band above by the height of its own corner radius and stops there.
   When the script pins the band above, the tier travels the full height of
   the window instead, and keeping the negative margin would just start that
   journey 36px early and crop the last line of the band above. .wy-over is
   set by the script, so a page where the pin does not apply, narrow windows
   and reduced motion, keeps the static overlap it has always had. */
.wy.wy-over{margin-top:0;}
/* AND THE TWO CORNERS ARE FILLED WITH THE GROUND. Matt, 20 October, on
   the sectors tier riding over the pinned gallery: "Top left corner of
   the scroll over tier is showing a tiny white section of the photo
   underneath."

   It was, and it is the radius doing what a radius does. The tier's own
   background is the page ground, but the border box is rounded, so the
   wedge OUTSIDE the arc and INSIDE the corner is transparent and
   whatever is behind shows through it. Everywhere else on the site what
   is behind is another dark band and the wedge is ground on ground.
   Over a photograph it is a bright crumb.

   NOT SOLVED WITH A FADE, and this is the part worth writing down. The
   obvious fix is a gradient above the tier taking the photograph down
   to the ground before the edge arrives. polish.py already carries Matt
   saying no to that four times, ending with "The scroll overs are
   always hard edged - what's this fade / graded edge??" A scroll over
   tier is meant to have a hard top edge, so the fix has to be as hard
   as the edge it is protecting.

   So the ground is painted on a square box behind the rounded one. The
   top edge stays hard, the arc stays an arc, and the two corners show
   the same ground they show on every other tier on the site. z-index -2
   sits it behind the panel, and .wy's isolation keeps both inside. */
.wy::before{content:"";position:absolute;inset:0;z-index:-2;
  background:#0b0f2e;pointer-events:none;}
.wy-bg{position:absolute;inset:0;z-index:-1;border-radius:inherit;
  overflow:hidden;pointer-events:none;
  background:
    radial-gradient(70% 60% at 92% 8%, rgba(0,238,204,.26), transparent 62%),
    radial-gradient(60% 55% at 6% 40%, rgba(70,96,230,.30), transparent 64%),
    radial-gradient(80% 70% at 60% 70%, rgba(26,36,84,.85), transparent 70%),
    radial-gradient(50% 40% at 30% -4%, rgba(0,238,204,.10), transparent 70%),
    #0d1236;
  -webkit-mask-image:linear-gradient(#000 0%,#000 58%,rgba(0,0,0,.9) 66%,
    rgba(0,0,0,.7) 74%,rgba(0,0,0,.45) 82%,rgba(0,0,0,.22) 89%,
    rgba(0,0,0,.07) 95%,transparent 100%);
  mask-image:linear-gradient(#000 0%,#000 58%,rgba(0,0,0,.9) 66%,
    rgba(0,0,0,.7) 74%,rgba(0,0,0,.45) 82%,rgba(0,0,0,.22) 89%,
    rgba(0,0,0,.07) 95%,transparent 100%);
  /* THE PARALLAX. The mesh moves a third of the distance the tier does, so
     the panel reads as a window onto something behind it rather than a
     painted rectangle. --wy is set on scroll by the script below. */
  transform:translate3d(0, calc(var(--wy,0) * -.18px), 0);}
.wy-bg::before{content:"";position:absolute;width:60%;aspect-ratio:1;
  left:30%;top:-20%;border-radius:50%;
  background:radial-gradient(closest-side,rgba(0,238,204,.14),transparent);
  animation:wyDrift 18s ease-in-out infinite alternate;}
@keyframes wyDrift{from{transform:translate3d(-6%,0,0) scale(1);}
  to{transform:translate3d(8%,4%,0) scale(1.12);}}
.wy-top{margin-bottom:72px;}
.wy-more{display:inline-block;margin-top:14px;color:var(--aqua);
  font-weight:600;text-decoration:none;}
/* The head row that carries one of these is gocta.py's .gocta-row, so
   there is nothing left here: the title's 760px measure, the alignment
   on the last baseline and the stack on a phone all belong to the
   component now. */
.wy-more:hover{text-decoration:underline;}
.wy-grid{list-style:none;margin:0;padding:0;display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));gap:56px 24px;}
/* NO ROLL-OVER ON THE PROCESS TEN, AND IT STAYS ON THE SECTORS.
   Matt, 19 October: "These processes icons blocks don't need a hover at
   this stage." Then, seeing the sectors tier go cold with them: "I want
   to keep the hovers & links on the 'sectors' icon section, only on the
   individual process ones I grabbed were they to be removed."

   TWO TIERS, ONE CLASS, which is why the first version took the hover
   off both. .wy-i builds the ten things a vertical does AND the
   fourteen sectors, and the only thing that tells them apart is the
   section they sit in: the sectors tier carries .wy.ind-tier and the id
   sectors, and the process tier carries neither. So the rules come back
   scoped to .ind-tier rather than being deleted.

   AND NO TAG NAMES ARE SPELT OUT IN THIS COMMENT, which reads as
   fussiness and is not. This sheet is written into every page, and the
   build counts opening against closing containers on each one to catch
   a component spliced in half. The first draft of this note said the
   tier "is (angle)section class=..." and careers.html came out with 13
   openings against 12 closings. The guard was right and the comment
   was wrong.

   AND THE DIFFERENCE IS REAL, not a style preference. A sector cell is
   an anchor to that sector's page; a process cell is a span and goes
   nowhere. A roll-over on the first is a link telling you it is one. On
   the second it was an invitation to click something that does not
   click, which is what Matt was looking at.

   THREE RULES, not one: the tile's lift and lighter ground, the icon's
   1.08 scale with its aqua glow, and a fourth-class specificity rule
   written on 6 October to make that scale beat the reveal's
   transform:none. That last one is invisible on its own and a tidier
   edit would have left it behind doing nothing.

   AND THE TRANSITIONS ARE SCOPED TOO. A transition with nothing to
   transition to is not harmless: it is a promise the next person reads
   as a hover that has broken. The reveal has its own transitions
   further down and those stay on both tiers.

   .wy-more:hover stays everywhere. That is the text link under the
   grid, not one of the icons. */
.wy-i{display:flex;flex-direction:column;align-items:center;text-align:center;
  gap:18px;padding:14px 8px;border-radius:20px;}
.wy-ic{width:64px;height:64px;color:var(--aqua,#00eecc);}
.wy-ic svg{width:100%;height:100%;display:block;}
/* THE SECTORS' OWN HOVER LIVES WITH THE SECTORS, in
   industries.TIER_CSS, not here. It was written here first and 20 pages
   refused the build: the sector grid is on 46 pages and this sheet only
   reaches the ones that also carry a process icon tier, so on the
   approval pages and the capability pages the hover simply was not
   there. A rule belongs in the sheet that travels with the block it
   styles. */
.wy-t{font-size:16px;line-height:1.45;color:rgba(255,255,255,.82);}
.wy.anim .wy-ic,.wy.anim .wy-t{opacity:0;transform:translateY(18px);}
.wy.anim.lit .wy-ic,.wy.anim.lit .wy-t{opacity:1;transform:none;
  transition:opacity .7s ease, transform .9s cubic-bezier(.22,1,.36,1);}
.wy.anim.lit .wy-ic{transition-delay:calc(var(--i) * 55ms);}
.wy.anim.lit .wy-t{transition-delay:calc(var(--i) * 55ms + 130ms);}

@media (max-width:1080px){
  .wy-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:44px 20px;}
  .wy{padding:80px 0 72px;}
}
  /* ONE COLUMN ON A PHONE, AND THE LINE BREAK COMES BACK.
     29 November. Two 156px columns at 390 put "Integrated supply
     chain management" on three lines, and the rule that hid the <br>
     so it could reflow had a fault nobody had read on a phone: the
     source is "AS9100D &amp;<br>ISO 14001 certified" with no space
     either side of the break, because none is wanted when it breaks.
     Hide the break and the words join, so the site read "AS9100D
     &ISO 14001 certified", "200+ IPC-trainedoperatives", "50,000 sq
     fton one site" and "UK privately ownedsince 1983" on 31 pages.
     One column has room for the label as it was written, so the
     break stays and the join goes. */
  /* AND IT IS A ROW, NOT A CARD. Ten items stacked as icon-above-
     centred-text is 1,340px of scrolling for ten short labels. Icon
     left, label right, is 938px for the same ten and reads down the
     left edge like a list, which is what it is. */
@media (max-width:700px){
  .wy-grid{grid-template-columns:minmax(0,1fr);gap:22px 0;}
  .wy-i{display:flex;flex-direction:row;align-items:center;
    gap:18px;text-align:left;}
  .wy-ic{width:46px;height:46px;flex:0 0 auto;margin:0;}
  .wy-t{font-size:15px;text-align:left;}
}
@media (prefers-reduced-motion:reduce){
  .wy-bg{transform:none !important;}
  .wy-bg::before{animation:none;}
  .wy.anim .wy-ic,.wy.anim .wy-t{opacity:1;transform:none;}
}
