
/* ===== Christmas: the hours and the holly (xmas.py) ===== */
/* ---- the hours, in the row the phone number already sits in ----- */
html body .xm-hours{display:none;}
/* LINED UP WITH THE START OF THE NAV, which Matt asked for twice:
   first against Industries, then, with the title back in, against
   Manufacturing. The script finds the first top level item rather
   than naming one, so it is the start of the bar that is being
   matched and renaming a menu cannot break it.
   NO FIXED NUMBER CAN DO IT. The nav row is centred inside a wrap
   that stops growing at 1332px, so that left edge sits 437px in at
   1680 and at 1440, 321 at 1280, 180 at 1100 and nowhere at all
   below that where the bar becomes a burger. A margin written once
   would be right at two widths and wrong at the rest.
   So it is measured. The script below reads that link's left edge
   against the row's and writes it as --xm-ind, once on load and
   once per resize behind a rAF, which is the same pattern
   chevslide.py and the map already use. The fallback is 0, which
   is the page gutter: if the script never runs, or the bar has
   collapsed to a burger and there is nothing to measure, the hours
   sit at the gutter and nothing looks broken. */
html.xmas body .xm-hours{display:inline-flex;align-items:center;gap:9px;
  flex:0 0 auto;margin-right:auto;margin-left:var(--xm-ind,0px);
  color:rgba(255,255,255,.72);white-space:nowrap;
  font-weight:600;letter-spacing:.2px;}
html.xmas body .xm-hours b{font-weight:600;color:var(--aqua,#00eecc);}
html.xmas body .xm-hours i{display:block;width:13px;height:13px;
  flex:none;line-height:0;}
html.xmas body .xm-hours i svg{width:100%;height:100%;display:block;}
/* margin-right:auto on the hours is what pushes the phone and the
   email back to the right hand edge, so .topbar keeps its own
   justify-content and nothing else in the header is touched. */

/* ---- and the row comes back on a phone, hours only -------------- */
/* _src hides .topbar below 900 because the number and the email are
   repeated in the menu pane. The hours are not repeated anywhere. */
/* AND THE ROW IT ADDS IS PAID FOR, which is the part that caught me
   out. subnav.py pins the capabilities rail at a hard top, 138 on a
   desk and 84 on a phone, and every hero's padding is calculated off
   the same two tokens. Below 900 the contact row is display:none, so
   bringing it back adds 30px of fixed header that nothing above
   knows about: measured at 390px the rail sat at 84 and printed
   straight across the logo. The two tokens move by exactly the
   height of the row, and because the row is a known height that
   arithmetic is exact rather than hopeful.
   ONE LINE, AND THE BUILD REFUSES A SECOND. A wrapped row is a row
   of unknown height, and an unknown height cannot be added to a
   fixed offset. The copy is held to 56 characters in xmas.py,
   which is what fits at 11px in the narrowest phone this site is
   built for, and the check runs on every build. */
@media (max-width:900px){
  html.xmas{--snav-top:calc(84px + 30px);--hero-top:calc(168px + 30px);}
  html.xmas body .navwrap .topbar{display:flex;height:30px;
    justify-content:flex-start;overflow:hidden;}
  html.xmas body .navwrap .topbar > a,
  html.xmas body .navwrap .topbar > .tb-dot{display:none;}
  /* and no nav offset on a phone: the bar is a burger, there is no
     Industries to line up with, and the hours take the gutter */
  html.xmas body .xm-hours{font-size:11px;white-space:nowrap;
    line-height:1.2;gap:7px;margin-left:0;}
}
@media (max-width:420px){
  html.xmas body .xm-hours i{display:none;}
  html.xmas body .xm-hours{font-size:10.5px;}
  /* mobmint raises small labels to 12px. Keep this measured exception:
     12px makes the text 362px wide inside the 350px phone row. */
  html.xmas body .xm-hours b{font-size:10.5px !important;}
}
@media (max-width:350px){
  /* Keep the dates readable on a 320px phone by dropping only the label. */
  html.xmas body .xm-hours .xm-label{display:none;}
}

/* ---- the holly on the logo -------------------------------------- */
/* THE ANCHOR IS STATIC IN THE SHIPPED CSS, so it is made the
   containing block here rather than the sprig hanging off whatever
   ancestor happens to be positioned. */
/* inline-block so the link is the width of the image and not the
   width of the header row, which is what "the end of the logo"
   has to measure against */
html body .nav-logo{position:relative;display:inline-block;}
html body .xm-holly{display:none;}
/* ON THE END OF THE WORD, NOT ON THE MARK. Matt: "Holly goes on
   the end of the logo not the moon." The first draft tucked it
   behind the shoulder of the roundel, which put a decoration on the
   brand mark itself. On the end of CORNELIUS it is a sprig resting
   on the logo rather than something done to the symbol, and the
   mark is left alone.
   HE IS DRAWING A PROPER HOLLY ICON NEXT, so this is placed and
   sized for a replacement: one span, one SVG, the geometry in this
   rule and nothing about the artwork anywhere else. */
/* WIDTH ONLY. The height attribute on the tag is the file's own,
   so the box is reserved before the picture loads and nothing
   jumps; height:auto here then keeps the shape whatever the width
   becomes. Matt: "no rotating or stretching." */
html.xmas body .xm-holly{display:block;position:absolute;
  left:155.8px;bottom:27.4px;right:auto;top:auto;
  width:28.8px;height:auto;
  pointer-events:none;z-index:3;
  filter:drop-shadow(0 2px 4px rgba(0,0,0,.5));}
/* the image keeps its own stacking context; the sprig sits past
   its right edge now rather than behind it, so nothing overlaps */
html body .nav-logo img{position:relative;z-index:2;}

/* ---- and the same on the footer logo ---------------------------- */
/* THE WRAPPER IS WHAT MAKES "THE END OF THE LOGO" MEAN ANYTHING
   DOWN HERE. The footer mark is a bare img in a column of text with
   nothing positioned around it, so the span added in apply() is the
   containing block. inline-block, so it is the width of the
   picture and not the width of the column.
   AND THE img'S OWN MARGIN HAS TO MOVE TO THE SPAN, or the gap
   under the logo collapses: the stylesheet puts margin-bottom on
   img.fl, and once that img is inside an inline-block its margin
   stops pushing the strapline down. */
/* AND IT HAS TO SHRINK TO THE PICTURE. .f-brand is a flex column,
   so an inline-block child is still stretched to the column's full
   width: measured, the wrapper came out 423px against a 185px logo
   and the sprig floated 254px clear of it, out in the middle of the
   footer. align-self and max-content together make the box the
   picture's own size, which is what the sprig is positioned
   against. _src already does the same thing to img.fl itself. */
html body .xm-flogo{position:relative;display:inline-block;
  width:max-content;max-width:100%;align-self:flex-start;
  margin-bottom:var(--f-logo-gap);}
html body .xm-flogo img.fl{margin-bottom:0;}
html body .xm-holly-f{display:none;}
html.xmas body .xm-holly-f{display:block;position:absolute;
  left:172.4px;bottom:29.5px;right:auto;top:auto;
  width:36px;height:auto;
  pointer-events:none;z-index:3;
  filter:drop-shadow(0 2px 4px rgba(0,0,0,.5));}
@media (max-width:900px){
  html.xmas body .xm-holly{left:146.5px;bottom:29.6px;
    width:24px;}
  html.xmas body .xm-holly-f{left:173.4px;bottom:33.5px;
    width:30px;}
}


/* ===== the phone sweep (mobtidy.py) ===== */
@media (max-width:680px){
  /* ---- 1. the twelve column grids come down to one ---------------- */
  /* THE CHILDREN HAVE TO BE RELEASED TOO. Every one of them carries a
     `grid-column:span n` written for twelve tracks, so re-templating
     the parent on its own leaves a child asking for five columns of a
     grid that has one. */
  /* AND !important IS EARNED HERE, which is not a thing this project
     says lightly. The first version used a doubled class, which is
     the idiom, and the measurement said it fixed 57 of the 82
     footers and left every .sec-top inside a section that has an id:
     #industries, #proof, #sectors, #supply, #services, #cm. One id
     beats any number of classes, the ids are different on different
     pages, and listing them here would mean keeping that list in step
     with six other files forever. The declaration is also not a
     preference being forced on anybody: below 680px a twelve track
     grid has no tracks left, so there is no competing layout to lose. */
  html body .sec-top.sec-top,
  html body .proc-grid.proc-grid{
    grid-template-columns:minmax(0,1fr) !important;
    column-gap:0 !important;}
  html body .sec-top.sec-top > *,
  html body .proc-grid.proc-grid > *{grid-column:auto !important;}
  /* and the head and the note need air between them now that one sits
     under the other rather than beside it */
  html body .sec-top.sec-top{row-gap:20px;}

  /* THE PROOF BANDS GO TWO ACROSS, NOT ONE. Four or six figures in a
     single column is a list rather than a band, and the figures are
     short enough that two fit at this width with room over. */
  html body .pf-nums.pf-nums{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    column-gap:18px !important;row-gap:26px;}
  html body .pf-nums.pf-nums > *{grid-column:auto !important;}
  /* an odd one out spans the pair rather than sitting beside a gap,
     which is diagram.py's ruling on .dg-benefits applied here */
  html body .pf-nums.pf-nums > *:last-child:nth-child(odd){
    grid-column:1 / -1;}

  /* THE FOOTER KEEPS TWO COLUMNS and the brand block takes the full
     width above them. Four link lists in one column is a very long
     footer and the lists are narrow enough to pair. */
  html body .f-grid.f-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    column-gap:22px !important;row-gap:34px;}
  html body .f-grid.f-grid > *{grid-column:auto !important;}
  html body .f-grid.f-grid > .f-brand{grid-column:1 / -1 !important;}

  html body .wrap.hero-grid.hero-grid{
    grid-template-columns:minmax(0,1fr) !important;
    column-gap:0 !important;}
  html body .wrap.hero-grid.hero-grid > *{grid-column:auto !important;}

  /* ---- 2. the bento photographs get a shape ----------------------- */
  /* THE TWO OF THEM MATCH EACH OTHER, which is the half of this Matt
     asked for by name. 3:2 is 216px at a 326px column, inside the 153
     to 239 the four text tiles already occupy, so the block reads as
     six tiles of one family rather than four tiles and two strips.
     !important, and it is earned: the rule being beaten is
     bentoport.py's `#proof-bento .bx-img.bx-b > .bx-par`, which
     carries an id, and the id is not the same on every page that
     shows this block. Matching the id here would mean keeping a list
     of them in two files. */
  html body .bento .bx-img{aspect-ratio:3 / 2;min-height:0;}
  html body .bento .bx-img > .bx-par{
    position:absolute !important;inset:0 !important;
    width:100% !important;height:100% !important;
    aspect-ratio:auto !important;transform:none !important;}

  /* ---- 3. the hero chips line up ---------------------------------- */
  /* ONE WIDTH, ONE LEFT EDGE, ON THE PAGE GUTTER. They are siblings of
     .wrap rather than children of it, so the gutter is a margin here
     rather than inherited padding. */
  html body header.hero > .fchip.fchip{
    flex:0 0 auto;display:block;width:calc(100% - 64px);max-width:none;
    margin:12px 32px 0;}
  html body header.hero > .fchip.fchip:first-of-type{margin-top:28px;}
  /* AND THE FIRST ONE IS NOT INDENTED. Both hero files give the first
     chip `margin-left:24px` to start the scatter, written as
     `header.hero:not(.svch) > .fchip.fc1`, and :not() counts its
     argument, so that is four classes against the three above and it
     wins. Measured: fc1 sat at 24 while fc2 and fc3 sat at 32, which
     is a stack with one card sticking out of it. */
  html body header.hero > .fchip.fchip.fc1,
  html body header.hero > .fchip.fchip.fs1{margin-left:32px;}

  /* ---- 4. no orphan at the end of a two column row ---------------- */
  html body .dg-leaves.dg-leaves > *:last-child:nth-child(odd){
    grid-column:1 / -1;}

  /* ---- 5. the world map stops being dragged over its own words ---- */
  /* .wm-bleed carries a negative top margin, calculated off the
     headh custom property, that pulls the drawing up by the height of
     the words beside it. That is right on a desk, where the copy is a
     narrow left column and the map fills the space to its right. In
     one column there is no space to its right, so the map is pulled
     up over the copy instead.
     (The rule is quoted in words rather than in CSS on purpose:
     vardef.py reads every page for a custom property with no
     definition behind it, and it cannot tell a live declaration from
     one written inside a comment. It refused the build over this very
     line, which is the guard doing its job.)
     MEASURED, because this one hides: #supply reported 314px tall
     with a 459px wrap inside it. A section shorter than its own
     contents is not a thing that happens by choice, and the next
     section is deliberately given `padding-top:0` to sit tight under
     the map, so it came up and printed itself across the end of the
     country list. On home that read as "Wales" with "not
     procurement" written through it, and the same on three other
     pages that carry the map. */
  html body .wm-bleed{margin-top:0 !important;}

  /* ---- 6. one component, one spacing ----------------------------- */
  /* TWO BLOCKS ARRIVE WITH A DIFFERENT PADDING DEPENDING ON WHICH
     PAGE THEY LAND ON, which is the plainest reading of "even
     spacing" there is. Counted at 390px across the 85 live pages:
     the exhibitions band is 54/34 on 39 pages, 10/34 on 18 and 64/34
     on two; the sector tier is 64/150 on 40 pages, 26/150 on 17 and
     26/60 on seven. Nobody chose three values for one block. They
     are what is left when several passes each nudge the same
     component on their own pages and none of them look at the rest.
     THE NUMBERS ARE EACH BLOCK'S OWN AVERAGE, ROUNDED TO THE SITE'S
     SCALE, rather than one figure imposed on both: the band is a
     compact panel and the tier is a full section, and flattening
     them to the same number would even the spacing by throwing away
     the difference between them. 48 top and bottom for the band
     against a 44 average, 96 for the tier against 107, and 96 is the
     commonest section padding on the site by a distance.
     THE REST OF THE VERTICAL RHYTHM IS LEFT ALONE, and that is a
     decision rather than an oversight. There are eighteen distinct
     top and bottom pairs across the site and most of them are a
     block deliberately butting its neighbour. In the numbers that
     looks identical to a block that has lost its padding, and
     guessing which is which from a stylesheet is how you flatten
     something somebody meant. */
  html body section.prom{padding-top:48px !important;
                         padding-bottom:48px !important;}
  html body section#sectors{padding-top:96px !important;
                            padding-bottom:96px !important;}
}
/* THE STATS STRIP ONLY GOES TWO ACROSS BELOW 400, which is where
   _src/index.html puts it, so the orphan only exists there and the
   rule belongs at the same width rather than at this file's own. */
@media (max-width:400px){
  html body .svc .stats.stats > *:last-child:nth-child(odd){
    grid-column:1 / -1;}
}

/* ===== the phone, properly (mobmint.py) ===== */
/* Nothing on this site scrolls sideways. clip, not hidden: hidden makes
   a scroll container and takes every position:sticky on the page with
   it, and this site's headers, roll-overs and pinned tiers are all
   sticky. */
@media (max-width:900px){
  html,body{overflow-x:clip;}
}
@media (max-width:760px){

  /* ---- 1. the related rail: one card to a screen, the next peeking -- */
  html body .rl{
    grid-auto-columns:calc(100% - 54px) !important;
    gap:16px !important;
    scroll-snap-type:x mandatory;
    scroll-padding-left:0;
    padding-bottom:4px;
  }
  html body .rl > .rl-card{scroll-snap-align:start;}
  html body .rl-card h3{font-size:22px !important;line-height:1.08 !important;}
  html body .rl-card p{font-size:15px !important;line-height:1.5 !important;
    margin-bottom:18px !important;}
  html body .hub-track{
    grid-auto-columns:calc(100% - 54px) !important;
    gap:16px !important;
    scroll-snap-type:x mandatory;
  }
  html body .hub-track > .hubc{scroll-snap-align:start;}
  html body .hubc h3{font-size:21px !important;line-height:1.1 !important;}
  html body .hubc p{font-size:15px !important;line-height:1.5 !important;}

  /* ---- 2. no column narrower than it can set type in ---------------- */
  html body .cx-row{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
  html body .dg-benefits{grid-template-columns:minmax(0,1fr) !important;}
  html body .dg-benefits > *{grid-column:auto !important;}
  html body .px-cols{grid-template-columns:minmax(0,1fr) !important;}

  /* ---- 3. the spec table stacks ------------------------------------- */
  html body table.spec,
  html body table.spec tbody,
  html body table.spec tr,
  html body table.spec th,
  html body table.spec td{display:block;width:auto;}
  html body table.spec tr{padding:14px 18px 16px;}
  html body table.spec th{
    padding:0 0 6px !important;text-align:left;
    font-size:12px;font-weight:700;letter-spacing:1.4px;
    text-transform:uppercase;color:var(--aqua,#00eecc);}
  html body table.spec td{padding:0 0 2px !important;font-size:15px;
    line-height:1.5;}

  /* ---- 4. eleven pixel type -----------------------------------------
     THE EYEBROW NEEDS EYEBROWS.PY'S OWN SELECTOR, not .pill. That file
     writes the size as `html body :is(.eyebrow,.pill,...):has(+ h1, + h2)`,
     which is 0,1,3 of specificity against a plain `html body .pill`'s
     0,1,2, and with !important on both sides specificity decides. Said
     the same way here, and this sheet is later, so it wins. Measured
     after: 11px eyebrows on 67 pages went to 12 and the ones written
     this way did not, which is how the fault was found. */
  /* THE FLOOR CAME UP AGAIN ON 29 NOVEMBER. Matt, last thing on the
     28th: "Nothing squashed or too tight or too small." Measured at
     390 across all 97 pages, sixty distinct styles still set under
     15px and most of them were these: every label on the site at 12.
     The numbers below move to 13.5 for a label and the sentence sized
     ones to 15, in the place that owns them rather than in a louder
     override from a fifth pass. Nothing here goes above its desktop
     size; this only lifts the bottom. */
  html body .pill,html body .eyebrow,html body .tl-eyebrow,
  html body .eyebrow-b{font-size:13.5px !important;}
  html body :is(.sh2-eye,.kicker,.xpo-hd) > :is(.eyebrow,.pill,.tl-eyebrow,.eyebrow-b),
  html body :is(.eyebrow,.pill,.tl-eyebrow,.eyebrow-b):has(+ h1, + h2){
    font-size:13.5px !important;}
  html body .chips .chip{font-size:13.5px !important;}
  html body .fchip .l{font-size:13.5px !important;}
  html body .mcard .mtags span{font-size:13.5px !important;}
  /* AND THE CLASS IS DOUBLED, which is mobtidy's trick and it is here
     for mobtidy's reason. Four passes have an opinion about .pill and
     at least one of them writes it at a specificity a single class
     cannot reach, so the eyebrow stayed at 11 on 65 pages after the
     rule above looked right.

     THE CLASS IS TRIPLED, NOT DOUBLED, and that correction is the
     useful part. Doubling gives 0,2,2 and eyebrows.py's own selector
     is 0,2,2 as well, so order decides, and order is not on this
     file's side: extract_css lifts the sheets into content hashed
     files and eyebrows ends up at position 43 of 50 against this one
     at 16. Equal specificity plus a later sheet is a rule that loses
     silently. Tripled is 0,3,2 and cannot lose wherever it lands. */
  html body .pill.pill.pill,html body .eyebrow.eyebrow.eyebrow,
  html body .tl-eyebrow.tl-eyebrow.tl-eyebrow,
  html body .eyebrow-b.eyebrow-b.eyebrow-b,
  html body .crumbs.crumbs.crumbs,html body .crumbs.crumbs.crumbs a,
  html body .crumb.crumb.crumb,html body .crumb.crumb.crumb a,
  html body .crumb.crumb.crumb span,
  html body .rl-tag.rl-tag.rl-tag,
  html body .dg-n.dg-n,html body #short .t,html body .gtoc .t{
    font-size:13.5px !important;}
  /* the Christmas line shares its row with the phone number and the
     email, so it stays the smallest thing on the site and wraps
     instead of growing. The three corner pills are labels and take
     the label size. */
  html body .xm-hours b{font-size:12.5px !important;}
  html body #snowt span,html body #promot span,
  html body #santat span{font-size:13px !important;}
  html body .rl-tag{font-size:13.5px !important;}
  html body .pf-u{font-size:13.5px !important;}
  html body .crumbs a,html body .crumb a{font-size:13.5px !important;}
  html body .snav .sn-tx b,html body .snav .sn-tx i{font-size:13.5px !important;}

  /* ---- 5. things a thumb can land on --------------------------------
     The carousel targets are 44px. Their visible tracks and progress lines
     are drawn separately below so the touch area itself stays transparent. */
  html body .pr-dots{gap:0 !important;}
  html body .pr-dots .pr-d{
    width:44px !important;height:44px !important;
    padding:0 !important;box-sizing:border-box !important;}
  html body .dk-x{min-width:44px;min-height:44px;}
  html body .li-x{min-width:44px;min-height:44px;}
  html body .li-no{min-height:44px;}
  /* The phone bar gives the logo a narrower width but retains its 40px
     desktop height. Auto height preserves the artwork's 1685:409 ratio. */
  html body .navwrap .nav-logo > img:first-child{height:auto;}
  html body .crumbs.crumbs.crumbs a,html body .crumb.crumb.crumb a{
    display:inline-block;padding:15px 2px;}
  html body .crumbs,html body .crumb{margin-top:-15px;margin-bottom:-15px;}
  html body #dkgo{min-height:44px;}
  html body #ovclose{min-width:44px;min-height:44px;}
  html body .ov-reach a{display:inline-flex;align-items:center;min-height:40px;}
  html body .ap-tabs button,html body button[id^="ap-t"]{min-height:44px;}
  html body #snowt,html body #promot,
  html body #santat{min-height:44px;display:inline-flex;align-items:center;
    font-size:13px !important;}

  /* ---- 9. THE SUB NAVIGATION PRINTS THROUGH THE HEADER ---------------
     Measured on all 84 pages: 83 carry the sub navigation, it is fixed
     at 114 to 159, and on 18 of them the header's own words start above
     159, so the pills print straight through the breadcrumb and the
     eyebrow. Two families: header.ihero and header.ihero.short open
     their content at 120, header.hero.svch at 158, and the snav's foot
     is 159 on every one of them. 188 puts 29px of air under it. The one
     page with no sub navigation gets 28px more at the top of its header
     and nothing else, which is a price worth paying for one rule rather
     than a list that goes stale. */
  html body header.ihero,
  html body header.hero.svch{padding-top:188px !important;}

  /* ---- 6. fixed furniture does not cover the content ----------------- */
  html body footer{padding-bottom:104px !important;}

  /* ---- 7. the hub rail is a flex row, not a grid ---------------------
     Three up is written as flex:0 0 calc((100% - 2 * 16px) / 3) on the
     card, so the grid rule above cannot reach it. Same answer, said the
     way this one is built. */
  html body .hub-track{scroll-snap-type:x mandatory;}
  html body .hub-track .hubc{
    flex:0 0 calc(100% - 54px) !important;
    scroll-snap-align:start;}
  html body .hubc h3{font-size:21px !important;line-height:1.1 !important;}
  html body .hubc p{font-size:15px !important;line-height:1.5 !important;}

  /* ---- 8. a caption beside a photograph, in 150px --------------------
     .px-row sets its number and words beside the picture of the step.
     At 390 that leaves the words about a third of the column. The
     picture goes under the words instead, which is the order they are
     read in anyway. */
  html body .px-row{flex-wrap:wrap;}
  html body .px-row .px-lab{flex:1 1 100%;}
  html body .px-row .px-art{flex:1 1 100%;}
}

/* THE PROOF BAND KEEPS ITS TWO COLUMNS, and that is a decision taken
   by looking rather than by measuring. The detector flagged the 13px
   sentence under each number as cramped: 154px of column, about sixteen
   characters a line. mobtidy chose two columns on purpose, and its
   comment says why, that a single column is a list rather than a band.
   Shot at 390 and read: two columns is right, the sentences fall over
   three or four short lines and the band still scans as a band. The
   measurement was over sensitive and mobtidy wins. */

/* ===================================================================
   THE SECOND PASS, 26 November. Matt photographed twenty four screens
   on his own iPhone, 402 by 874, and sent them over. Everything below
   is one of those, diagnosed rather than guessed.
   =================================================================== */
@media (max-width:900px){

  /* ---- A. THE BLANK SCREENS, AND THEY ARE THE WHOLE COMPLAINT ------
     Four of the twenty four shots are a screen with nothing on it and
     a fifth is a card with its title and no body. My own audit could
     not see any of it, because the first thing every one of my scripts
     did was force the reveal classes on so the screenshots would not
     come out empty. I hid the fault I was looking for.

     What is actually happening: one observer reveals every .rv on the
     page, and it staggers them, `transitionDelay = i * step + lag`
     with step 130ms for a card and 70 otherwise, where i counts within
     a single callback. On a desk a section arrives a row at a time. On
     a phone a whole section crosses the line at once, so the tenth
     element in the batch waits 1,300ms before it even starts a 580ms
     transition. Scroll at thumb speed and you are looking at nothing.

     The stagger is a desktop nicety and it goes on a phone. The
     element still fades, it just does not queue. */
  html body .rv{transition-delay:0ms !important;}

  /* ---- B. THE HEADER EMPTIES ITSELF A THIRD OF THE WAY DOWN --------
     The header's words fade on --sy, which the page caps at 900:
     `opacity: calc(1 - the token / 900)`. rollover.py's own comment
     says it set 900 because a centred header emptied too early at
     560. On a phone the header is 1,100 to 1,500px tall, so the words
     are gone
     by 900 with a third of the header still on screen, which is
     shots
     5514 and 5515 exactly: a full screen of gradient with a ghost of a
     headline on it.
     The fade is off on a phone. The sheet still slides up over the
     header, which is the part that reads as movement. */
  html body header.ihero > .wrap,
  html body header.ihero > div,
  html body header.hero.svch > .wrap,
  html body header.hero > .wrap{
    opacity:1 !important;transform:none !important;}

  /* Promotional shortcuts do not cover phone or tablet content. Ask keeps
     a 48px target and its label remains available to assistive technology. */
  html body #promot,html body #snowt{display:none !important;}
  html body #santat{display:none;}
  html body .dock > .dk-btn{
    width:48px;min-width:48px;height:48px;min-height:48px;
    padding:0;justify-content:center;}
  html body .dock > .dk-btn .dk-lab{
    position:absolute;width:1px;height:1px;padding:0;margin:-1px;
    overflow:hidden;clip-path:inset(50%);white-space:nowrap;}

  /* ---- C. THE STANDARDS LINKS LOOK STRUCK THROUGH ------------------
     Shot 5522: "ISO 9001" and "ISO 14001" with a line through the
     middle of the words, which on a certifications card reads as
     "not any more".
     Nothing is struck. a.stdl draws its underline as a background
     gradient at `background-position: 0 1.12em`, and the 1.12em is
     measured from the PADDING box. Something later gave it
     `padding:7px 0` for a thumb sized target, which pushed the whole
     text down 7px inside that box and left the line where it was: at
     13px type the line lands 14.56px down and the baseline is near 25,
     so the rule crosses the x height. A tap target fix broke a
     typographic one and nothing could have reported it.
     background-origin on the content box measures the 1.12em from the
     text instead, which is what the number was written against. */
  html body a.stdl{background-origin:content-box;}

  /* ---- D. "2000mm" PRINTING THROUGH "3 & 5 axis" -------------------
     Shot 5521. The three stat strip under each capability card is
     three columns of 98px at this width, and the value sets larger
     than its column, so it runs into the next one.
     Somebody already wrote this exact fix, with the right reasoning:
     "three columns cannot hold 2000mm at this width whatever the type
     size, so the strip goes two across". It is gated at max-width:400,
     and Matt's iPhone is 402. Two pixels.
     Measured properly rather than nudged: the widest value overflows
     its column by 37px at 402, 34 at 412, 28 at 430, 18 at 460, 5 at
     500 and nothing from about 520. So 520 is the width at which three
     columns start working, and 520 is the breakpoint. */
  html body .svc .stats{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:10px 14px !important;}
  html body .svc .st i{min-height:0 !important;}

  /* ---- E. "FUNCTIONALL / Y TESTED" ---------------------------------
     Shot 5519, and it is one word in the HTML. The label carries
     `overflow-wrap:anywhere`, which breaks a word at any letter the
     moment it does not fit a 98px column. break-word only breaks a
     word that cannot fit on a line of its own, which is the behaviour
     anybody expects. With the strip two across it should not need to
     break at all. */
  html body .svc .st i{overflow-wrap:break-word !important;}

  /* ---- F. TWO OF THE SIX SUB NAVIGATION LINKS CANNOT BE REACHED ----
     Shot 5513: the third pill is cut off mid-word at the right edge.
     Measured: the row is 828px of content in a 402px box with
     overflow-x visible, so it is not clipped and it does not scroll.
     Four of the six are simply off the screen with no way to get to
     them. It scrolls now, and snaps. */
  html body .snav > .wrap{
    overflow-x:auto;
    scroll-snap-type:x proximity;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;}
  html body .snav > .wrap::-webkit-scrollbar{display:none;}
  html body .snav > .wrap > a{scroll-snap-align:start;flex:0 0 auto;}
}

/* ---- G. THE HEADLINE COMES DOWN ONE STEP ON A PHONE ----------------
   Shots 5516 and 5517. "Contract electronics manufacturer of AS9100
   wiring harnesses, cable assemblies, control panels and box builds"
   is 34px in a 338px column, which is eight lines and 277px: a third
   of the screen before a word of the argument. mobtidy left type alone
   on the grounds that it is a brand decision, and that was the right
   call for a sweep. Matt asked for this one: "hard to read or see".
   One step, not a redesign: 34 to 29 and 40 to 35, which takes that
   headline to six lines, and only below 520. */
@media (max-width:520px){
  html body h1{font-size:35px !important;}
  html body h2{font-size:29px !important;}
}
/* A 35px fixed size cuts long words on narrow phones. Keep 35px where it
   fits, scale below 400 and give 320px screens a 26px ceiling. */
@media (max-width:400px){
  html body h1{font-size:min(35px,8.5vw) !important;}
}
@media (max-width:340px){
  html body h1{font-size:26px !important;}
}
@media (prefers-reduced-motion:reduce){
  html body *,html body *::before,html body *::after{
    animation-duration:0.01ms !important;
    animation-iteration-count:1 !important;
    animation-delay:0ms !important;
    transition:none !important;
    scroll-behavior:auto !important;}
}
/* Touch devices keep the artwork, not the moving wallpaper. Complete CSS
   animations immediately so entrances land in their visible end state, and
   stop timed transitions and smooth scrolling from fighting a moving thumb. */
@media (pointer:coarse){
  html body .navwrap,html body .snav{position:absolute !important;}
  html body *,html body *::before,html body *::after{
    animation-duration:0.01ms !important;
    animation-iteration-count:1 !important;
    animation-delay:0ms !important;
    transition:none !important;
    scroll-behavior:auto !important;}
  html body #promot,html body #snowt{display:none !important;}
  html body #santat{display:none;}
  html body .dock > .dk-btn{
    width:48px;min-width:48px;height:48px;min-height:48px;
    padding:0;justify-content:center;}
  html body .dock > .dk-btn .dk-lab{
    position:absolute;width:1px;height:1px;padding:0;margin:-1px;
    overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
}
@media (max-width:760px), (pointer:coarse){
  html.moblazy [data-mobile-photo]:not(.bg-ready){background-image:none !important;}
  html body header.hero,html body header.ihero{
    position:relative !important;top:auto !important;}
  html body header.hero .fchip{filter:none !important;}
  html body header.hero > .wrap{position:relative;z-index:2;}
  html body header.hero::after{
    content:"";position:absolute;top:auto;left:0;right:0;bottom:0;height:240px;z-index:1;
    pointer-events:none;opacity:1;background:linear-gradient(to bottom,rgba(11,15,46,0),#0b0f2e);}
  html body header.hero .hero-dots{
    position:static !important;margin:14px 0 0 !important;width:max-content;}
  html body main.sheet{box-shadow:none !important;}
  html body #services{position:relative !important;}
  html body #services .svc-mesh{
    -webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 140px,#000 calc(100% - 180px),transparent 100%);
    mask-image:linear-gradient(to bottom,transparent 0,#000 140px,#000 calc(100% - 180px),transparent 100%);}
  html body #services::after{
    content:"";position:absolute;left:0;right:0;bottom:0;height:240px;z-index:0;
    pointer-events:none;background:linear-gradient(to bottom,rgba(11,15,46,0),#0b0f2e);}
  html body #supply .wm-pills{
    position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;width:100%;margin:18px 0 0;}
  html body #supply .wm-pills .hud{
    display:flex;justify-content:center;min-width:0;box-sizing:border-box;
    padding:11px 10px 9px;}
  html body #supply .wm-pills .hud:last-child{grid-column:1 / -1;}
  html body #supply + section{padding-top:48px !important;}
  html body #proof .pf-n,html body #proof .pf-six .pf-n{
    font-size:clamp(26px,8.2vw,34px) !important;
    line-height:1 !important;letter-spacing:-1.2px !important;
    white-space:nowrap;}
  html body .certs .certs-grid.certs-box.certs-box .chip{
    aspect-ratio:auto;height:176px;padding:16px 12px 14px !important;}
  html body .certs .certs-grid.certs-box.certs-box .cb-logo{max-height:64px;}
  html body .certs .certs-grid.certs-box.certs-box .cb-big .cb-logo{max-height:72px;}
  html body .certs .certs-grid.certs-box.certs-box .chip-uk img{max-height:64px;}
  html body .certs .certs-grid.certs-box.certs-box .cb-q{
    margin-top:10px;font-size:13px;line-height:1.25;}
  html body .hub-rail{
    overflow-x:auto !important;overflow-y:hidden;
    scroll-snap-type:x mandatory;scroll-padding-left:0;
    scrollbar-width:none;-webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;}
  html body .hub-rail::-webkit-scrollbar{display:none;}
  html body .hub-track{
    transform:none !important;transition:none !important;will-change:auto;}
  html body .hub-track > .hubc{
    flex-basis:100% !important;scroll-snap-align:start;}
  html body dialog.pv{
    width:100%;height:100dvh;max-width:none;max-height:none;margin:0;
    padding:0;background:#080d27;color:#fff;border:0;overflow:hidden;}
  html body dialog.pv[open]{display:flex;flex-direction:column;}
  html body dialog.pv::backdrop{background:#080d27;}
  html body .pv-stage{
    flex:1;min-height:0;display:flex;align-items:center;justify-content:center;
    padding:64px 16px 24px;}
  html body .pv-stage img{
    display:block;max-width:100%;max-height:100%;object-fit:contain;}
  html body .pv-close{
    position:fixed;top:calc(12px + env(safe-area-inset-top));right:16px;
    width:48px;height:48px;padding:0;border:0;border-radius:50%;
    background:#1b2450;color:#fff;font-size:30px;line-height:1;z-index:2;}
  html body .dock.dk-away{opacity:0;pointer-events:none;transform:translateY(12px);}
  html body .hub-position{
    margin-top:12px;text-align:center;color:rgba(255,255,255,.62);
    font-size:12px;line-height:1.4;}
  html body .burger{min-width:44px;min-height:44px;}
  html body button.btn{min-height:44px;}
  html body .hd,html body .hd.on,html body .pr-dots .pr-d{
    height:44px;padding:0 !important;background:none !important;overflow:visible;}
  html body .hd::before,html body .pr-d::before{
    content:"";position:absolute;left:4px;right:4px;top:20px;height:3px;
    border-radius:2px;background:rgba(255,255,255,.13);}
  html body .hd::after,html body .pr-d::after{
    inset:20px 4px 21px !important;border-radius:2px;
    background:linear-gradient(90deg,#00eecc,#5cf2dd);}
  html body.pv-open{overflow:hidden !important;}
}
@media (pointer:coarse) and (prefers-reduced-motion:no-preference){
  html body #supply.anim.lit .rtp-tail{
    animation:rtpulse var(--dur,5.6s) linear infinite var(--del,2300ms) !important;}
  html body #supply.anim.lit .rtp-head{
    animation:rtpulse var(--dur,5.6s) linear infinite var(--del,2300ms) !important;}
  html body #supply.anim.lit .og-ring{
    animation:ogpulse 3.4s ease-out infinite !important;}
  html body #supply.anim.lit .og-ring2{
    animation:ogpulse 3.4s ease-out infinite 1.7s !important;}
  html body #supply.anim.lit:not(.in-view) .rtp,
  html body #supply.anim.lit:not(.in-view) .og-ring{
    animation-play-state:paused !important;}
}
