
/* ============================ 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 phone layout fixes (mobilefix.py) ===== */
/* EVERY SELECTOR HERE IS PREFIXED html, AND THAT IS THE WHOLE TRICK.
   The first cut was written without it and half of it lost silently.
   .dg-flow already carries "@media (max-width:680px){.dg-flow{
   grid-template-columns:1fr 1fr}}" and .dk-note already carries a
   base font-size: same specificity as mine, declared later in the
   cascade, so they won and the build reported success. Measured
   after: the touch targets had moved and the grid and the type had
   not.

   One element name in front of the class takes these to (0,1,1)
   against the site's (0,1,0), so they win on specificity and the
   source order of 105 stylesheets stops mattering. It is the same
   lesson as the footer padding on 10 November, one rung up: there the
   selector matched nothing, here it matched and lost. Both look
   exactly like working if you only check that the rule is present. */
@media (max-width:700px){

  /* 1. THE APPROVALS CAPTION FITS ITS BOX. It is nowrap, and "AS 9100D
     & ISO 9001:2015" is 203px in a 156px box, so 47px of it hung out
     over the navy and the line read "...ISO 9001:201". Letting it wrap
     is the whole fix: the box is tall enough for two lines already. */
  html .certs-box .cb-q,html .certs-grid .cb-q{white-space:normal;}

  /* 2. THE SIX STEP BAND GOES TO ONE COLUMN. Its tracks come to
     186+196+14 = 396px inside a 311px container with overflow visible
     and no scroller, so on a 375px screen the even cards sat at
     232..428 and their right hand edge was unreachable. */
  html .dg-flow{grid-template-columns:1fr;}

  /* 3. A THUMB CAN HIT THE LINKS. 44px is Apple's guideline; these
     were 26 to 32. min-height on an inline-flex box grows the hit
     area without moving the text, so nothing shifts on the page. */
  html .gocta,html .link-aqua,html .pr-go{min-height:44px;}
  /* the inline standard links were 11 to 16px tall. inline-block so
     the padding counts, and 7px either side takes them to about 34,
     which is as far as they go without opening up the line spacing of
     the sentence they sit inside. */
  html a.stdl{display:inline-block;padding:7px 0;}

  /* 4. NOTHING SETS BODY TYPE BELOW 13px. The smallest was 11. */
  html .dk-note{font-size:13px;}
  html .bx-c-note{font-size:13px;}
}


/* ===== the LinkedIn pill in the bar (navli.py) ===== */
/* NOT .btn: see the module. Secondary, so a white wash rather than the
   aqua, and no border anywhere in it. */
/* THE SAME HEIGHT AS THE AQUA BUTTON. Matt, 9 November. It was 36 to
   the button's 42, which on one centre line read as the pill having
   been dropped in rather than belonging. Set as a height rather than
   as padding that happens to come to 42, so the two cannot drift when
   the button's type or padding changes. */
.nav-li{display:inline-flex;align-items:center;justify-content:center;
  gap:8px;height:42px;flex:0 0 auto;padding:0 17px 0 15px;
  border-radius:999px;
  background:rgba(255,255,255,.08);color:rgba(255,255,255,.88);
  font-family:'Inter',Arial,sans-serif;font-weight:600;font-size:13px;
  letter-spacing:.2px;line-height:1;text-decoration:none;white-space:nowrap;
  /* the bar's own gap is 6px, which is too tight between a pill and
     a button of different heights: measured at 1600 and doubled */
  margin-right:6px;
  transition:background .2s ease,color .2s ease,transform .2s ease;}
.nav-li svg{width:16px;height:16px;flex:0 0 auto;display:block;}
.nav-li:hover,.nav-li:focus-visible{background:rgba(0,238,204,.16);
  color:#fff;transform:translateY(-1px);}
/* the word goes first, then the pill */
@media (max-width:1280px){
  .nav-li span{display:none;}
  /* square it off so the mark sits in a circle rather than an oval */
  .nav-li{width:42px;padding:0;gap:0;}
}
@media (max-width:980px){.nav-li{display:none;}}


/* ===== 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;}
}


/* ===== room to read and room to tap, on a phone (mobroom.py) ===== */
@media (max-width:700px){

/* ---- 1. THE FOOTER, ONE COLUMN ---------------------------------- */
/* three classes and !important, because mobtidy.py sets two columns
   with two classes and !important and both rules have to coexist:
   its reason was good in November and the measurement is better now */
html body .f-grid.f-grid.f-grid{
  grid-template-columns:minmax(0,1fr) !important;
  column-gap:0 !important;row-gap:30px !important;}
html body .f-grid.f-grid.f-grid > *{grid-column:1 / -1 !important;}

/* a link is a row, not a line of text */
html body footer .f-links{margin:0;padding:0;}
html body footer .f-links > li{margin:0;padding:0;}
html body footer .f-links > li > a{
  display:block;min-height:46px;padding:13px 0 12px;
  font-size:15px;line-height:1.4;
  /* the line under each row is a one pixel background, never a border */
  background-image:linear-gradient(rgba(255,255,255,.085),
                                   rgba(255,255,255,.085));
  background-size:100% 1px;background-position:0 100%;
  background-repeat:no-repeat;}
html body footer .f-links > li:last-child > a{background-image:none;}

/* the contact column is addresses, not links, so it reads as prose */
html body footer .f-links.f-cn > li{
  font-size:15px;line-height:1.6;padding:3px 0;
  overflow-wrap:normal;word-break:normal;}
html body footer .f-links.f-cn > li > a{
  background-image:none;min-height:44px;padding:10px 0;}
html body footer li.f-btm{font-size:14px;line-height:1.65;}

html body footer .f-h{
  font-size:15px;letter-spacing:.13em;margin:0 0 4px;}
html body footer .f-strapline{font-size:15px;line-height:1.55;}
html body footer .f-lia{display:block;margin-top:18px;}
html body footer a.f-li{
  min-height:48px;padding-top:13px;padding-bottom:13px;}
html body footer a.f-li > span{font-size:15px;}

/* ---- 2. THE TYPE FLOOR ------------------------------------------ */
/* a label never under 13.5. The eyebrows, pills, tags, chips, stat
   captions, breadcrumbs and corner pills are NOT here: mobmint.py
   owns those at a tripled class and the honest fix was to move its
   number rather than shout over it from a fifth sheet. What is left
   is the handful it does not name. */
html body :is(.dk-lab,.answer .t,.f-h,.sd-lab){
  font-size:13.5px !important;}
/* and a sentence never under 15 */
html body :is(.f-strapline,.dk-note,.cta-bd .ph,.dg-step p,.rl-cat,
               figcaption,.wy-t,.wgi-c p,.pf-d,.bx-c-note,.f-links li,
               .f-links li a){
  font-size:15px !important;}
/* THE CHRISTMAS LINE WAS CUT OFF, not small. Measured: the span is
   377px wide inside a 350px bar with overflow hidden, so the last
   four characters of "Open 4th Jan" are simply not on the screen. It
   is a flex row set to nowrap, so making the text wrap does nothing
   until the row is allowed to wrap too.
   THE HEADER GROWS BY FIFTEEN PIXELS and that was checked rather than
   hoped: the bar goes 30 to 45, the fixed nav 108 to 123, and the
   first thing under it on the tightest pages sits at 173, so the
   clearance goes from 65px to 50px and nothing is covered. */
html body .topbar{
  height:auto !important;min-height:30px;flex-wrap:wrap !important;
  overflow:visible !important;align-items:center;
  padding-top:5px;padding-bottom:5px;}
html body .topbar .xm-hours{flex-wrap:wrap !important;width:100%;}
html body .topbar .xm-hours,html body .topbar .xm-hours b{
  font-size:12.5px !important;white-space:normal !important;
  line-height:1.4;}

/* ---- 3. FORTY-EIGHT, EVERY TIME --------------------------------- */
/* THE CLASS IS DOUBLED AND THE DECLARATION IS !important, and that
   is not belt and braces. akit.py writes `html body .btn{height:auto;
   min-height:42px;padding:0 28px}` with no media query and no
   !important, at 0,1,2, and extract_css lifts it into a sheet that
   lands AFTER this one. Equal specificity plus a later sheet is a
   rule that loses silently, which is exactly what happened on the
   first run of this pass: every button measured 42px afterwards and
   the sheet was in the page the whole time. Measured again after the
   correction rather than assumed. */
html body :is(.btn.btn,.btn-line.btn-line,.btn-p.btn-p,
               .btn-dark.btn-dark,.btn-soft.btn-soft,
               .nav-cta.nav-cta,.ap-all.ap-all,.cbtn.cbtn){
  min-height:48px !important;
  padding-top:14px !important;padding-bottom:14px !important;
  font-size:15px !important;line-height:1.25 !important;}
html body button.burger{
  min-width:48px;min-height:48px;font-size:22px;margin-left:10px;}
html body a.nav-logo{min-height:46px;display:inline-flex;
  align-items:center;}
html body :is(.dk-x.dk-x,.dk-go.dk-go,.ov-close.ov-close,
               .ov-back.ov-back,#dkgo,#ovclose){
  min-width:46px !important;min-height:46px !important;}
/* A LIST OF LINKS BECOMES ROWS. .ov-row is NOT here, and that is a
   correction rather than an omission: the first run of this pass put
   it in, and display:block took the burger menu's rows out of flex,
   so every chevron jumped from the right hand edge to sitting against
   the end of its own word. Seen in a screenshot, not in the numbers,
   which is the argument for looking at the thing as well as measuring
   it. The menu rows were already 74px tall and never needed this. */
html body .gtoc a{
  display:block;min-height:46px;padding-top:12px;padding-bottom:12px;}
/* these three sit inside running text, so they grow without becoming
   a full width band in the middle of a paragraph */
html body :is(.ap-more,.wy-more,.pgo){
  display:inline-block;min-height:44px;
  padding-top:11px;padding-bottom:11px;}
/* the slide dots keep a three pixel bar inside a forty-three pixel
   box: content-box clipping paints only the content, so the target
   grows and the mark does not */
html body .hero-dots .hd.hd{
  box-sizing:content-box !important;height:3px !important;
  padding:20px 6px !important;background-clip:content-box !important;}
html body .hero-dots{align-items:center;}
/* chips are links on several pages and sat 8px apart at 38px tall */
html body .chips .chip{min-height:44px;padding-top:11px;
  padding-bottom:11px;}
html body .chips{gap:12px;}

/* ---- 4. THE CALLS TO ACTION STACK ------------------------------- */
html body :is(.cta-bd .row,.sh2-act,.hero-ctas,.btns,.acts,.sol-cta,
               .om-more,.apr-foot,.tier-side,.xpo-hd){
  display:flex;flex-direction:column;align-items:stretch;gap:12px;}
html body :is(.cta-bd .row,.sh2-act,.hero-ctas,.btns,.acts,.sol-cta,
               .om-more,.apr-foot,.tier-side,.xpo-hd) > :is(.btn,.btn-line,
               .btn-p,.btn-dark,.btn-soft){
  width:100%;text-align:center;justify-content:center;}

/* ---- 5. THINGS THAT WERE SITTING ON TOP OF EACH OTHER ----------- */
/* the LinkedIn card covered the lower third of the first screen and
   the chat bubble overlapped its corner. It clears both now. */
html body .li-card{
  bottom:104px !important;max-width:calc(100vw - 32px);}
/* a picture wider than the screen on three sector pages */
html body .ihero-img img{max-width:100%;height:auto;}
/* and the see-all arrow hung 21px out of its own head on eight pages
   at 360, because the head is a nowrap row and the heading beside it
   will not give the width up */
/* the link itself is 296px and sits inside its column; what hangs
   out is the 20px arrow at the end of it, because the label is set
   nowrap and pushes the arrow past the link's own right edge, where
   the body clips it. On eight pages at 360 the see-all link simply
   has no arrow on it. The label wraps instead. */
html body .sec-head.gocta-row{flex-wrap:wrap;}
html body a.gocta{display:inline-flex;align-items:center;gap:8px;
  max-width:100%;white-space:normal;}
html body a.gocta > svg{flex:0 0 auto;}

}


/* ===== the phone header and the bottom bar (mobcta.py) ===== */
@media (max-width:700px){

/* ---- the six verticals come off, they are in the menu ----------- */
html body .snav{display:none !important;}
/* and the headers stop clearing a strip that is not there. 127 is the
   nav's foot with the Christmas line on it, plus mobmint's own 29px of
   air under the furniture. */
html body header.ihero,
html body header.hero.svch{padding-top:156px !important;}
html body header.hero{padding-top:150px !important;}

/* ---- the top is a logo and a way into the menu ------------------ */
html body .navwrap .nav-cta{display:none !important;}
html body nav a.nav-logo > img:first-child{height:46px !important;}
html body nav a.nav-logo{min-height:52px !important;}
/* AND IT SITS ON THE RIGHT EDGE. Matt, 30 November: "the burger
   bigger and 'right aligned'". The nav is a flex row packing to the
   start, so with the links hidden and the CTA gone the burger ended
   up 69px short of the edge, floating in the middle of nowhere.
   space-between puts the logo on one edge and the burger on the
   other, which is where a thumb reaches for it. */
html body .navwrap nav{justify-content:space-between !important;}
html body button.burger.burger{
  min-width:58px !important;min-height:58px !important;
  font-size:30px !important;margin-left:0 !important;}

/* ---- and the action sits where the thumb is --------------------- */
/* IT SHARES THE ROW WITH THE CHAT rather than standing on top of it.
   The first go had the bar full width and lifted the chat 72px clear,
   which put the Ask us bubble over the "See the detail" button on
   every capability page: a floating thing that used to cover a
   photograph now covered a control. Side by side, the two together
   are the bottom of the screen and nothing of the page is under
   either of them. 148px is the Ask us bubble plus its margin plus
   10px of daylight, measured rather than chosen. */
html body .mb-cta{
  position:fixed;left:12px;right:148px;z-index:96;
  bottom:calc(12px + env(safe-area-inset-bottom,0px));
  display:flex;align-items:center;justify-content:center;
  min-height:56px;padding:0 16px;border-radius:999px;
  background:#28e0c8;color:#06211d;text-decoration:none;
  font-family:'Gotham','Inter',Arial,sans-serif;
  font-weight:700;font-size:16px;letter-spacing:.3px;
  box-shadow:none;}
html body .mb-cta:active{background:#19cdb6;}

/* ---- AND THE TWO OF THEM SIT ON A BAR -------------------------
   Matt, 30 November: "The Start a project & Ask could be on a
   stranslscent bg bar, also make sure same height lozenge."
   Translucent navy with a blur behind it, so the page reads through
   the strip rather than being cut off by it, and the line along its
   top is a one pixel background rather than a border. It carries the
   safe area inset, so on a phone with a home bar the lozenges sit
   above it instead of under it. */
html body .mb-bar{
  position:fixed;left:0;right:0;bottom:0;z-index:94;
  height:calc(80px + env(safe-area-inset-bottom,0px));
  background-color:rgba(11,15,46,.72);
  -webkit-backdrop-filter:blur(16px) saturate(150%);
  backdrop-filter:blur(16px) saturate(150%);
  background-image:linear-gradient(rgba(255,255,255,.10),
                                   rgba(255,255,255,.10));
  background-size:100% 1px;background-position:0 0;
  background-repeat:no-repeat;}
/* both lozenges are 56 and both sit 12 above the bottom of the bar,
   so they read as one row rather than two things that happen to be
   near each other. The chat's own button was 52. */
html body #dock{bottom:calc(12px + env(safe-area-inset-bottom,0px)) !important;}
html body .dk-btn{min-height:56px !important;height:56px !important;}

/* ---- THE BLOCKS STOP SITTING IN HALF THE WIDTH ----------------
   "Anything (Chips / blocks etc) one column wide may as well be full
   grid width". Measured at 390: the floating chips in the hero stack
   one to a row at 241px inside a 326px column on 58 pages, so 85px of
   the grid is doing nothing beside each of them. */
/* width:100% was wrong and the screenshot said so: the hero is a
   flex row and the chip insets itself with a 32px margin rather than
   the header padding, so 100% of a 390px line plus two margins put
   32px of every chip off the right edge. flex-grow fills what is left
   of the line instead, which is the 326px column on every page that
   has one, measured on home, crimping and quality. */
html body .sh2-bento .fchip,
html body header .fchip{
  width:auto !important;max-width:none !important;
  flex:1 1 auto !important;display:block !important;}

/* ---- THE SECOND START A PROJECT BUTTON GOES -------------------
   "Perhaps we hide generic start a project buttons on mob as theres a
   fixed one on the screen at all times". Marked in the markup rather
   than selected here, because only the ones with another button
   beside them are marked: a row whose only control is this one keeps
   it, and the guard refuses a build where that is not true. */
html body a.mb-dup{display:none !important;}
/* and the corner pills clear both */
html body #snowt,html body #promot,html body #santat{
  transform:translateY(-78px);}
html body footer{padding-bottom:168px !important;}

/* the menu covers the bar while it is open, which is why the overlay
   is at 200 and this is at 96 */
}

/* the bar is a phone thing and nothing else ever sees it */
@media (min-width:701px){
  .mb-cta{display:none !important;}
}
