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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.pf-band .pf-nums{display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));gap:44px 24px;}
.pf-band .pf{grid-column:span 3;min-width:0;position:relative;
  padding-top:26px;}
.pf-band .pf::before{content:"";position:absolute;top:0;left:0;right:14px;
  height:1px;background:rgba(255,255,255,.17);}
.pf-band .pf::after{content:"";position:absolute;top:0;left:0;right:14px;
  height:1px;pointer-events:none;opacity:0;
  background-image:linear-gradient(90deg,
    rgba(0,238,204,0) 0%, rgba(0,238,204,.62) 32%,
    rgba(224,255,250,1) 50%,
    rgba(0,238,204,.62) 68%, rgba(0,238,204,0) 100%);
  background-repeat:no-repeat;
  background-size:var(--pfw,32%) 100%;
  filter:drop-shadow(0 0 3px rgba(0,238,204,.42));
  animation-name:pf-fwd;
  animation-duration:var(--pft,7s);
  animation-delay:var(--pfd,0s);
  animation-timing-function:cubic-bezier(.4,.03,.3,1);
  animation-iteration-count:infinite;}
.pf-band .pf:nth-child(1){--pft:6.1s;--pfd:0s;   --pfw:30%;--pfi:.95;}
.pf-band .pf:nth-child(2){--pft:7.9s;--pfd:1.7s; --pfw:42%;--pfi:.72;}
.pf-band .pf:nth-child(3){--pft:5.3s;--pfd:3.1s; --pfw:26%;--pfi:.88;}
.pf-band .pf:nth-child(4){--pft:8.7s;--pfd:.6s;  --pfw:36%;--pfi:.6;}
.pf-band .pf:nth-child(2)::after,
.pf-band .pf:nth-child(4)::after{animation-name:pf-rev;}
@media (prefers-reduced-motion:reduce){.pf-band .pf::after{animation:none;opacity:0;}}
.pf-band .pf-n{display:block;
  font-family:'Gotham','Inter',Arial,sans-serif;font-weight:900;
  font-size:clamp(50px,4.6vw,76px);line-height:.98;letter-spacing:-3px;
  font-variant-numeric:tabular-nums;color:#fff;}
.pf-band .pf-long .pf-n{font-size:clamp(22px,1.9vw,32px);
  letter-spacing:-.8px;line-height:1.1;white-space:nowrap;}
.pf-band .pf-u{display:block;margin-top:16px;font-size:11px;font-weight:700;
  letter-spacing:1.8px;text-transform:uppercase;color:var(--aqua,#00eecc);}
@media (max-width:980px){.pf-band .pf{grid-column:span 6;}}
@media (max-width:560px){.pf-band .pf{grid-column:1/-1;}}
/* ============ the one stat band, off the header (stats.py) ============= */
section .pf-nums{margin-top:44px;}
section .sh2-proof .pf-nums{margin-top:0;}
@media (max-width:900px){
  section .pf-nums{margin-top:32px;}
}


/* ===== every header on the page's own ground (herobg.py) ===== */
/* The colour Matt likes is the BODY's gradient. Home's header lets it
   through; every other family painted a flat #0b0f2e over it, which is
   the same colour as that gradient's own base layer and so hid the teal
   and the navy wash entirely. Full reasoning at the top of herobg.py. */
/* 1. the page stands on home's ground. Without this the headers below
      are simply letting a flat #0b0f2e through, which is darker than
      what they were painting themselves, not richer. */
html body{background:radial-gradient(1200px 700px at 85% -200px,rgba(0,238,204,.12),transparent 60%),radial-gradient(1000px 600px at -10% 480px,rgba(30,40,85,.55),transparent 55%),#0b0f2e;}
/* 2. and the headers stop covering it up. The veil is Matt's .18, and it
      is the FIRST layer so it sits over the grain rather than under it:
      a veil beneath the texture would darken the ground and leave the
      noise at full strength on top, which reads as dirt. */
html body header.hero.svch,
html body header.hero.svch.verb,
html body header.shero,
html body header.shero.sh2,
html body header.shero.sh2.sh2-ind,
html body header.ihero,
html body header.ihero.short,
html body header.ihero.chero,
html body header.dk-head{
  background-color:transparent;
  background-image:linear-gradient(rgba(0,0,0,.18),rgba(0,0,0,.18)),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='hgn'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .012 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23hgn)'/%3E%3C/svg%3E");
  background-repeat:repeat;
}
/* 3. AND THE HOME PAGE TAKES THE VEIL TOO, which is the one place this
      module stops copying home and starts changing it. Matt preferred
      home darker than its own gradient actually is, now that the grain
      has stopped painting a black tile over it. Home keeps its own
      texture, on its ::after, so only the veil is added here. The
      :not(.svch) matters: `header.hero` also matches the six verticals,
      which are handled above and would otherwise take the veil twice. */
html body header.hero:not(.svch){background-image:linear-gradient(rgba(0,0,0,.18),rgba(0,0,0,.18));}
/* the .shero family also carried its own pair of radials, a brighter and
   more purple reading of the same idea. Two interpretations of one
   gradient is how a site stops looking like one site. */
html body header.shero{background-position:0 0;}


/* ===== a hint that there is more below (scrollhint.py) ===== */
/* AT THE FOOT OF THE HEADER, INSIDE IT, and the detour this took is
   worth leaving on the record because the detour was my fault and the
   "fix" for it was worse than the thing it fixed.

   Every header on this site is position:sticky, which is a positioned
   element, so it gives an absolutely placed child the containing block
   it needs without any page being changed to suit it. That is all this
   ever needed.

   I then hit tested the button's own centre on all 79 pages and found
   ten where it rendered perfectly and reported as unclickable: about,
   approvals and its five approval pages, careers, onshoring and testing.
   I read that as a stacking problem, moved the button out of the header
   and fixed it to the viewport instead. That genuinely broke it: the
   headers run from 550px on contact to 979px on the case studies, all
   shorter than the window, so the foot of the VIEWPORT is inside the
   next block. Hit tested again, the hint was sitting on top of real
   copy on 45 pages.

   The ten were never blocked. Those pages carry the overview overlay,
   #ovmenu, which is visibility:visible on first paint and is hidden by
   script about 200ms later. My sweep sampled at 240ms, right on that
   boundary, so some pages caught the overlay still up and reported a
   blocker that is gone before anybody could click anything. Sampled at
   900ms, all 79 are clickable with the button where it always was.

   THIRD TIME TODAY a check has measured a page before it settled and
   reported the result as a finding: the stat bars with scrollIntoView
   against smooth scrolling, the count-up observer, and now this. The
   rule is the same every time: let the page settle, then measure, and
   when a result says ten pages are broken, check the measurement before
   changing the code. */
html body .sdh{
  position:absolute;left:50%;bottom:34px;
  transform:translateX(-50%);
  z-index:6;border:0;padding:10px 12px;margin:0;
  background:none;color:var(--aqua,#00eecc);
  cursor:pointer;line-height:0;
  opacity:.86;transition:opacity .45s ease;
  -webkit-tap-highlight-color:transparent;}
html body .sdh:hover{opacity:1;}
html body .sdh:focus-visible{outline:2px solid var(--aqua,#00eecc);
  outline-offset:6px;border-radius:999px;}
html body .sdh.sd-gone{opacity:0;pointer-events:none;}
@media (max-width:900px){html body .sdh{bottom:20px;}}

/* transform-box, because a transform on an SVG child resolves in user
   space otherwise and the origin lands outside the shape */
html body .sdh .sd-m{transform-box:fill-box;transform-origin:center;
  animation:sd-fardrop 2.1s cubic-bezier(.33,0,.25,1) infinite;}
/* THE LAG IS POSITIVE. At time t the dot is at f(t) and a ghost is at
   f(t-d), which is less far down, which is behind it. Negative would put
   the trail in front of the thing it is trailing. Sized off a render:
   85 and 170ms came out as a slightly oval dot and nothing anybody would
   call a trail, so 150, 300 and 450. */
html body .sdh .sd-g1{animation-delay:.15s;}
html body .sdh .sd-g2{animation-delay:.3s;}
html body .sdh .sd-g3{animation-delay:.45s;}
@keyframes sd-fardrop{
  0%{transform:translateY(-2px);opacity:0;}
  14%{opacity:1;}
  60%{opacity:1;}
  100%{transform:translateY(20px);opacity:0;}
}
@media (prefers-reduced-motion:reduce){
  html body .sdh .sd-m{animation:none;opacity:1;transform:none;}
}


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

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

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

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

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

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


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


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

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

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

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

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

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

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

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


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

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

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

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

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


/* ===== the right hand call to action (gocta.py) ===== */
/* THE ROW. Any head that carries one of these. The title keeps the
   760px measure .sec-head is built on and the row spans the wrap, or
   the link lands in the middle of the page with the heading wrapping
   out of its way. */
html body .gocta-row{display:flex;align-items:flex-end;
  justify-content:space-between;gap:28px;max-width:none;}
html body .gocta-row > :first-child{min-width:0;max-width:760px;}

/* THE LINK. The test block's standfirst, with the rails' arrow after
   it. See the note at the top of this file for where each number comes
   from: none of them is a new decision. */
html body .gocta{display:inline-flex;align-items:center;gap:12px;
  margin-bottom:-2px;
  font-size:19px;font-weight:400;line-height:1.7;letter-spacing:normal;
  color:rgba(255,255,255,.74);text-decoration:none;white-space:nowrap;
  transition:color .25s ease;}
html body .gocta .gocta-arw{width:20px;height:20px;flex:0 0 20px;
  color:#fff;transform:scaleX(-1);transition:transform .25s ease;}
html body .gocta:hover{color:#fff;}
html body .gocta:hover .gocta-arw{transform:scaleX(-1) translateX(-4px);}

/* AND IT GOES UNDER THE TITLE ON A PHONE. Two things on one line stop
   being a row long before the window gets narrow: at 900px the link
   has nowhere to go but back under the heading, where it reads as the
   last line of it unless it is given room. */
@media (max-width:900px){
  html body .gocta-row{display:block;}
  html body .gocta{margin-top:18px;margin-bottom:0;
    max-width:100%;white-space:normal;}
  html body .gocta > span{min-width:0;}
}


/* ===== the one eyebrow, everywhere (eyebrows.py) ===== */
/* THE DECLARATIONS ARE .eyebrow's OWN. The base sheet has them in two
   places: the label rule that sets the type for every uppercase label in
   the system, and the .eyebrow rule that sets the ground. .pill was in
   neither.

   AQUA, AND NOT THE PAIR. The base rule is var(--aqua-dk) with
   var(--aqua) under .dark, written for a site that had paper sections in
   it. Measured on all 79 built pages, every one of the 395 real eyebrows
   computes rgb(0,238,204) on rgba(0,238,204,.12), and on the pages that
   declare it --aqua-dk now resolves to #00eecc as well. There is no
   light ground left here, so this says aqua once rather than carrying a
   second branch nothing exercises.

   EVERY TOKEN CARRIES ITS VALUE, and this is the one that cost an hour.
   index.html and services.html are built from _master/index.html, which
   is a different document with a sheet of its own: it declares --aqua
   and not one of --aquafilm, --pill, --ctl-sm, --fs-8 or --ls-label. A
   var() with no fallback whose custom property is undeclared is not
   ignored, it is invalid at computed-value time, which means initial for
   a property that does not inherit and inherit for one that does. So the
   first version of this rule did land on those pages and made 24
   eyebrows worse than it found them: aqua, because --aqua is declared,
   with the ground, the radius and the padding at their initial values
   and the size and tracking inherited from the heading block. Transparent
   16px aqua. The fallbacks are measured off the pages that do declare
   the tokens, so the two routes give the same pixels.

   AND IT HAS TO SHOUT. By the time a page is finished, four passes have
   an opinion about .pill: the base sheet, a standardising sweep at
   html body .pill, a border sweep with !important in it, and whtiers,
   which scopes home's whole sheet under #industries, #proof, #sectors
   and #hub. That last is an id, so it beats anything written with
   classes, and it is why the first version came out right on 242 of 246
   and left four grey. There is no reading of "keep it all consistent"
   where four stay as they were. The site already does this where one
   pass has to be the last word: akit sweeps the panels the same way.

   MARGIN IS NOT SET, let alone marked. The gap between an eyebrow and
   its heading is already a system: the eyebrow's margin-bottom goes to 0
   and the heading takes margin-top:20px, both !important, so one number
   sets that gap everywhere. A margin here would either lose to it or
   fight it. */
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){
  color:var(--aqua, #00eecc) !important;
  background:var(--aquafilm, rgba(0,238,204,.12)) !important;
  border-radius:var(--pill, 999px) !important;
  /* 9 AND 3, NOT 7 AND 5. Matt, 25 November: "love these eyebrows but
     the '+' and text are not quite centered vertically / equally / in
     line - I feel the text needs to come down 2-3 pixels?" Uppercase in
     a 1.25 line box sits high in that box, because the box keeps room
     under the baseline for descenders this text does not have. There is
     no element around the words to move, they are an anonymous flex
     item, so the content box itself goes down 2px and akit pulls the
     crosshair back up by the same 1 with a transform. Two was the
     first try and he called it "a tad low", so it is one. Written as the
     number rather than var(--ctl-sm, ...) on purpose: a token read
     somewhere else would put it back to 7 and 5 on the pages that
     declare it, and this has to be the same two pixels everywhere. */
  padding:8px 14px 4px !important;
  font-size:var(--fs-8, 11px) !important;
  font-weight:700 !important;
  letter-spacing:var(--ls-label, 1.6px) !important;
  text-transform:uppercase !important;
  line-height:1.25 !important;
}
/* AND THE MARK STAYS ON THE PIXEL IT WAS ALREADY ON. The padding above
   moves the whole content box down 1, words and crosshair together, and
   the crosshair was the one thing that was already right. A transform
   rather than a margin, so it costs no layout and cannot change the
   pill's height. Scoped to exactly the selector that moved the padding:
   a pill that is not an eyebrow keeps both of its old numbers rather
   than getting half of this. */
html body :is(.sh2-eye,.kicker,.xpo-hd) > :is(.eyebrow,.pill,.tl-eyebrow,.eyebrow-b) > :is(svg,.xh),
html body :is(.eyebrow,.pill,.tl-eyebrow,.eyebrow-b):has(+ h1, + h2) > :is(svg,.xh){
  transform:translateY(-1px) !important;
}

/* DISPLAY IS LEFT ALONE ON PURPOSE. .eyebrow is inline-block and .pill
   is inline-flex, and some pills carry an svg the flex row is aligning.
   Changing it would move the icon to fix nothing: at text width the two
   render the same box. */


/* ===== the call to action asks a question (ctabox.py), the air above it ===== */
html body section#contact{padding-top:26px !important;}


/* ===== the footer's own floor (footerdark.py) ===== */
/* The first stop is the page's own ground, so there is nothing to see
   where the two meet. Everything after it is the floor. */
html body footer{background:linear-gradient(180deg,
  #0b0f2e 0,
  #090c26 28%,
  #07091e 62%,
  #06081a 100%);}

/* AND THE PAGE DOES NOT FALL SO FAR INTO IT. Matt, 19 October, with a
   shot of the join: "This gap about 15% smaller above footer."

   Measured at 1840 before: 166px from the bottom of the call to action
   card to the top of the footer logo, made of the CTA section's 96px of
   bottom padding and the footer's own 96px on top. A fifth of the first
   number is below the card and the rest is inside it, so the number to
   move is the footer's.

   AND THE 15 PER CENT IS OFF THE GAP, NOT OFF THE PADDING. The first
   version took 15 per cent off 96 and moved the gap by 14px, which is
   8 per cent of what Matt was looking at. He pointed at the white space
   and said make it 15 per cent smaller: 166 less 15 per cent is 141, so
   the footer loses the whole 25px and goes to 71. Measured after: 141.

   WHY HERE AND NOT IN THE SOURCE. The 96 is written as
   `footer{...padding-top:96px !important}` in _master/index.html and in
   two case study sources, and it arrives on 79 pages by being lifted
   out of those. Changing it in three places would work today and would
   be wrong the first time a fourth source appears. This module already
   owns how every footer on the site looks, so it owns this too, and it
   needs the !important to beat the one it is overriding. */
html body footer{padding-top:71px !important;}


/* ===== snow, until January (snow.py) ===== */
#snowc{position:fixed;inset:0;z-index:80;pointer-events:none;
  display:block;opacity:0;transition:opacity .6s ease;}
#snowc.on{opacity:1;}
/* ROOM UNDER THE FOOTER FOR THE SNOW TO LIE IN.
   --snowband is published by size() and is the taller of the near tier
   and the deepest drift, in CSS pixels. 24 more so the last line of the
   footer clears the snow rather than touching it.
   SCOPED TO html.xmas, so the padding arrives and leaves with the
   switch and nothing has to undo it. On a phone the landscape and the
   flakes do not run at all, so there is nothing to clear. */
/* THE SELECTOR WAS WRONG FOR FIVE DAYS AND THE GUARD SAID IT WAS
   FINE. It read `html.xmas body > footer`, and this site's footer is
   not a child of body: it is inside <main class="sheet">. So the rule
   matched nothing, the padding never arrived once, and the snow has
   been lying over the last four lines of the footer the whole time.
   The guard checked that the string "html.xmas body > footer{" was in
   the page, which it always was. A guard that checks a rule EXISTS
   and not that it MATCHES is a guard that cannot fail, and this is the
   third time that has cost something on this site.
   Both shapes are covered now, and check() reads the markup rather
   than the stylesheet. Measured after the change at 1440, 1920 and
   1280: the snow reaches 110, 119 and 98 CSS pixels at its highest,
   and --snowband publishes 130, 140 and 116, so the padding clears it
   everywhere with the 24 to spare that it was always meant to have. */
html.xmas main > footer,
html.xmas body > footer{
  padding-bottom:calc(var(--snowband, 150px) + 24px);
}
@media (max-width:700px){
  html.xmas main > footer,
  html.xmas body > footer{padding-bottom:0;}
}
/* THE SWITCH. Bottom left, as asked, which is also the corner the Ask
   us dock is not in. No border: the ring is a background behind a gap,
   per the standing rule. */
#snowt{position:fixed;left:18px;bottom:18px;z-index:95;
  display:inline-flex;align-items:center;gap:9px;
  padding:9px 15px 9px 12px;border-radius:999px;
  background:rgba(255,255,255,.08);color:rgba(255,255,255,.72);
  font:600 12px/1 'Gotham',system-ui,sans-serif;letter-spacing:1.4px;
  text-transform:uppercase;cursor:pointer;
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  transition:background .3s ease,color .3s ease,transform .3s ease;}
#snowt:hover{background:rgba(255,255,255,.14);transform:translateY(-2px);}
/* DRAWN, NOT TYPED. The obvious snowflake is U+2744 and Gotham has no
   glyph for it, so the switch showed whatever the system fell back to,
   which on this machine was a boxy sans-serif asterisk. A mark the
   brand font cannot draw is not a mark this site can use. */
#snowt b{display:block;width:15px;height:15px;line-height:0;
  transition:transform .6s ease;}
#snowt b svg{width:100%;height:100%;display:block;}
/* AND THE SWITCH GETS A GROUND OF ITS OWN ONCE THE DRIFT IS DEEP.
   The pill is a translucent white film over a backdrop blur, which
   is right over the page and wrong over snow: the bank at the left
   edge climbs behind this button, the film goes near white, and aqua
   on white is about 1.6 to 1. The control that turns the snow OFF is
   the last thing that should become unreadable when it is on. A
   solid dark base under the same aqua film, so it reads against the
   page and against a drift. */
#snowt.on{color:var(--aqua,#00eecc);
  background:linear-gradient(var(--aquafilm,rgba(0,238,204,.12)),
                             var(--aquafilm,rgba(0,238,204,.12))),
             var(--ink,#0b0f2e);}
#snowt.on b{transform:rotate(90deg);}
@media (max-width:700px){
  #snowt{left:12px;bottom:12px;padding:8px 12px 8px 10px;font-size:11px;}
}
/* NOT ON A PHONE, switch or snow. Michael, 27 October, on a Pixel: the
   switch sat over the content in the bottom corner of every page, and on
   a 360px screen the flakes read as dust on the glass rather than snow.
   It is a trial for Matt to show on a desk; the script stops drawing too
   (see "phone" below), so a hidden canvas is not burning the battery. */
@media (max-width:700px),(pointer:coarse){
  #snowt,#snowc{display:none !important;}
}


/* ===== the challenges switch (santabtn.py) ===== */
/* THE PILL, which is snow.py's rule with the colours it settles on
   rather than the one it starts from. No CSS borders anywhere, per
   the standing rule; the ring is a background behind a gap.
   (Written without the colon after that word on purpose. The guard
   below reads this block for a border declaration and cannot tell
   one from a comment mentioning the word, which it proved by
   refusing 81 pages over the first draft of this very line.) */
#santat{position:fixed;left:18px;bottom:18px;z-index:95;
  display:inline-flex;align-items:center;gap:9px;
  /* 11 AND NOT 9, WHICH IS SNOW'S NUMBER, AND THE FOUR PIXELS ARE
     THE POINT. snow.py's switch is a <button> and declares no border,
     so it keeps the browser's own 2px default on every side and
     renders 37px tall against the 33 the same padding gives an
     anchor. In a stack of three pills a 4px difference in one of them
     reads as a mistake, so this matches the rendered box rather than
     the stylesheet. Left alone deliberately: taking that default off
     #snowt would move a control Matt has already signed off. */
  padding:11px 15px 11px 12px;border-radius:999px;
  background:rgba(255,255,255,.08);color:rgba(255,255,255,.72);
  font:600 12px/1 'Gotham',system-ui,sans-serif;letter-spacing:1.4px;
  text-transform:uppercase;text-decoration:none;cursor:pointer;
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  transition:background .3s ease,color .3s ease,transform .3s ease;}
#santat:hover,#santat:focus-visible{background:rgba(255,255,255,.14);
  color:#fff;transform:translateY(-2px);}
#santat b{display:block;width:15px;height:15px;line-height:0;
  transition:transform .4s ease;}
#santat b svg{width:100%;height:100%;display:block;}
#santat:hover b{transform:rotate(-8deg);}
/* AND A GROUND OF ITS OWN ONCE THE DRIFT IS DEEP, for the reason
   snow.py gives its own switch: this pill sits in the bottom left
   corner, which is where the bank climbs highest, and a translucent
   white film over near white snow is not a readable control. */
/* keyed on the canvas, because that is what snow.py marks: it does
   `cv.classList.toggle('on', on)` on #snowc and there is no class on
   the body to read. */
html body:has(#snowc.on) #santat{color:var(--aqua,#00eecc);
  background:linear-gradient(var(--aquafilm,rgba(0,238,204,.12)),
                             var(--aquafilm,rgba(0,238,204,.12))),
             var(--ink,#0b0f2e);}

/* THE WHOLE STACK, DECLARED HERE. Reasoning at the top of the file. */
html body:has(#santat) #snowt{bottom:62px;}
html body:has(#santat) #promot{bottom:106px;}

@media (max-width:700px){
  #santat{left:12px;bottom:12px;padding:8px 12px 8px 10px;font-size:11px;}
  /* the snow switch is hidden at this width and the promo pill's own
     rule cannot see that, because the switch is still in the markup */
  html body:has(#santat) #promot{bottom:56px;}
}
@media (prefers-reduced-motion:reduce){
  #santat,#santat b{transition:none;}
}

#promot,#snowt,#santat{display:none!important;}

.hp.ce-glide-in{animation:ce-hero-glide-in .72s cubic-bezier(.2,.75,.2,1) both;}
.hp.ce-glide-out{animation:ce-hero-glide-out .72s cubic-bezier(.4,0,.7,.2) both;}
@keyframes ce-hero-glide-in{from{opacity:0;transform:translateX(90px) scale(.91) rotateY(-7deg);}to{opacity:1;transform:translateX(0) scale(1) rotateY(0);}}
@keyframes ce-hero-glide-out{from{opacity:1;}to{opacity:0;transform:translateX(-75px) scale(.93) rotateY(6deg);}}
@keyframes ce-mobile-hero-fade-in{from{opacity:0;}to{opacity:1;}}
@keyframes ce-mobile-hero-fade-out{from{opacity:1;}to{opacity:0;}}
@keyframes ce-mobile-hero-float{0%,100%{translate:0 0;}25%{translate:7px -8px;}50%{translate:0 -14px;}75%{translate:-7px -6px;}}

@media (max-width:1099px){
  html body.snav-home:not(.svcpage) > .hero > .hero-photo{position:relative!important;display:block!important;width:calc(100% - 32px)!important;max-width:560px;height:clamp(250px,72vw,430px)!important;flex:0 0 auto!important;order:2!important;aspect-ratio:auto!important;margin:8px auto 32px!important;opacity:1!important;filter:none!important;transform:none!important;overflow:visible!important;touch-action:pan-y!important;cursor:grab;container-type:size;animation:ce-mobile-hero-float 9s ease-in-out infinite!important;}
  html body.snav-home:not(.svcpage) > .hero > .hero-photo.ce-hero-touching{z-index:6!important;cursor:grabbing;animation-play-state:paused!important;}
  html body.snav-home:not(.svcpage) > .hero > .hero-photo.ce-hero-touching > .hp{animation-play-state:paused!important;}
  html body.snav-home:not(.svcpage) > .hero > .hero-photo > .hp{--pad:14px;--u:min((100cqw - 2*var(--pad))/var(--bw),(100cqh - 2*var(--pad))/var(--bh));inset:0!important;width:100%!important;height:100%!important;translate:none!important;transform:none!important;background-repeat:no-repeat!important;background-size:calc(var(--u)*3000) calc(var(--u)*2000)!important;background-position:calc(50cqw - var(--u)*var(--cx)) calc(50cqh - var(--u)*var(--cy))!important;}
  /* Visible-artwork boxes in the 3000x2000 masters (alpha>24): centre cx,cy and size bw,bh. Re-measure if an image changes. */
  html body.snav-home:not(.svcpage) > .hero > .hero-photo > .hp-0{--cx:1738.5;--cy:1105.5;--bw:2523;--bh:983;}
  html body.snav-home:not(.svcpage) > .hero > .hero-photo > .hp-1{--cx:1286;--cy:1112.5;--bw:2562;--bh:1775;}
  html body.snav-home:not(.svcpage) > .hero > .hero-photo > .hp-2{--cx:1027.5;--cy:1238.5;--bw:1553;--bh:1515;}
  html body.snav-home:not(.svcpage) > .hero > .hero-photo > .hp-3{--cx:1513;--cy:1176.5;--bw:2224;--bh:1647;}
  html body.snav-home:not(.svcpage) > .hero > .hero-photo > .hp-4{--cx:925;--cy:1211;--bw:1600;--bh:1216;}
  html body.snav-home:not(.svcpage) > .hero > .hero-photo > .hp.ce-hero-drift{animation:none!important;}
  html body.snav-home:not(.svcpage) > .hero > .hero-photo > .hp.ce-glide-in{animation:ce-mobile-hero-fade-in 1.1s cubic-bezier(.22,1,.36,1) both !important;}
  html body.snav-home:not(.svcpage) > .hero > .hero-photo > .hp.ce-glide-out{animation:ce-mobile-hero-fade-out 1.1s cubic-bezier(.22,1,.36,1) both !important;}
  html body.snav-home:not(.svcpage) > .hero > .fchip{position:relative!important;animation:none!important;}
  html body.snav-home:not(.svcpage) > .hero > .fchip > .tick{left:auto!important;right:14px!important;}
  html body #slide-tag,html body #slide-h1,html body #slide-sub{transition:opacity .6s cubic-bezier(.22,1,.36,1),transform .6s cubic-bezier(.22,1,.36,1) !important;}
  html body #slide-tag.slide-out,html body #slide-h1.slide-out,html body #slide-sub.slide-out{transition:opacity .28s cubic-bezier(.4,0,1,1),transform .28s cubic-bezier(.4,0,1,1) !important;}
  html body #slide-tag.slide-pre,html body #slide-h1.slide-pre,html body #slide-sub.slide-pre{transition:none !important;}
}
@media (max-width:1099px) and (prefers-reduced-motion:reduce){
  html body.snav-home:not(.svcpage) > .hero > .hero-photo{animation:none!important;}
  html body.snav-home:not(.svcpage) > .hero > .hero-photo > .hp.ce-hero-drift,html body.snav-home:not(.svcpage) > .hero > .hero-photo > .hp.ce-glide-in,html body.snav-home:not(.svcpage) > .hero > .hero-photo > .hp.ce-glide-out,html body.snav-home:not(.svcpage) > .hero > .fchip{animation:none !important;}
  html body #slide-tag,html body #slide-h1,html body #slide-sub,html body #slide-tag.slide-out,html body #slide-h1.slide-out,html body #slide-sub.slide-out{transition:none !important;}
}

.gl-track.glide-ready .gl-i{opacity:.42;transform:scale(.94);transition:opacity .6s ease,transform .6s cubic-bezier(.2,.75,.2,1);}
.gl-track.glide-ready .gl-i.glide-current{opacity:1;transform:scale(1);}

html body dialog.pv{--pv-bg:none;--pv-from-x:0px;--pv-from-y:40px;--pv-from-scale:.75;--pv-pointer-x:0;--pv-pointer-y:0;--pv-direction:1;position:fixed;inset:0;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;overflow:hidden;background:#080c22;color:#fff;font-family:Gotham,Inter,Arial,sans-serif;}
html body dialog.pv[open]{display:block;}
html body dialog.pv *{box-sizing:border-box;}
html body dialog.pv button{font-family:inherit;-webkit-tap-highlight-color:transparent;}
html body dialog.pv button:focus-visible{outline:2px solid #00eecc;outline-offset:4px;}
html body dialog.pv::backdrop{background:#080c22;}
html body dialog.pv::before{content:'';position:absolute;inset:-50px;z-index:0;background-image:var(--pv-bg);background-position:center;background-size:cover;filter:blur(36px) brightness(.3) saturate(.85);transform:scale(1.12);pointer-events:none;}
html body dialog.pv::after{content:'';position:absolute;inset:0;z-index:0;background:linear-gradient(180deg,rgba(8,12,34,.15),rgba(8,12,34,.78));pointer-events:none;}
html body .pv-header{position:absolute;z-index:50;top:0;right:0;left:0;min-height:86px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px clamp(22px,4vw,64px);background:linear-gradient(180deg,rgba(8,12,34,.96),rgba(8,12,34,0));}
html body .pv-brand{display:inline-flex;align-items:center;gap:10px;}
html body .pv-brand img{display:block;width:174px;max-width:100%;height:auto;}
html body .pv-header-title{color:#9ba7b5;font-size:11px;letter-spacing:2px;text-transform:uppercase;}
html body .pv-close{position:static;top:auto;right:auto;width:auto;min-width:94px;min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:0 16px;border:0;border-radius:999px;background:rgba(255,255,255,.09);color:#fff;font-size:12px;font-weight:700;line-height:1;cursor:pointer;}
html body .pv-close span{color:#00eecc;font-size:23px;font-weight:400;}
html body .pv-close:hover{background:#00eecc;color:#0b0f2e;}
html body .pv-close:hover span{color:#0b0f2e;}
html body .pv-scene{position:absolute;inset:0;z-index:1;display:grid;grid-template-columns:minmax(0,1.18fr) minmax(290px,.82fr);align-items:center;gap:clamp(34px,5vw,86px);padding:108px clamp(28px,5vw,82px) 70px;overflow:hidden;}
html body .pv-ghost{position:absolute;right:1vw;bottom:3vh;z-index:0;color:rgba(255,255,255,.04);font-size:34vw;font-weight:900;letter-spacing:-.08em;line-height:.75;pointer-events:none;}
html body .pv-photo-column{position:relative;z-index:2;width:100%;height:min(61vh,630px);perspective:1400px;}
html body .pv-frame{position:absolute;inset:0;margin:0;overflow:hidden;border-radius:30px;background:#101831;box-shadow:0 38px 100px rgba(0,0,0,.48),0 0 80px rgba(0,205,178,.09);transform:translate(calc(var(--pv-pointer-x)*11px),calc(var(--pv-pointer-y)*8px)) rotateX(calc(var(--pv-pointer-y)*-1.4deg)) rotateY(calc(var(--pv-pointer-x)*1.4deg));transform-style:preserve-3d;}
html body .pv-frame::after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(8,12,34,.62),transparent 38%);pointer-events:none;}
html body .pv-stage{position:absolute;inset:0;display:block;padding:0;overflow:hidden;}
html body .pv-stage img.pv-main{position:relative;z-index:1;display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;border-radius:0;box-shadow:none;}
html body .pv-frame figcaption{position:absolute;z-index:3;right:24px;bottom:20px;left:24px;display:flex;justify-content:space-between;gap:16px;color:rgba(255,255,255,.8);font-size:9px;letter-spacing:1.5px;text-transform:uppercase;pointer-events:none;}
html body .pv-frame figcaption span:first-child{color:#00eecc;white-space:nowrap;}
html body .pv-next-photo{position:absolute;z-index:5;top:-38px;right:-24px;width:174px;height:122px;padding:0;overflow:hidden;border:0;border-radius:18px;background:#101831;color:#fff;box-shadow:0 18px 46px rgba(0,0,0,.45);cursor:pointer;transform:rotate(5deg);animation:pv-hover-float 5s 1s ease-in-out infinite !important;}
html body .pv-next-photo[hidden]{display:none;}
html body .pv-next-photo img{width:100%;height:100%;object-fit:cover;}
html body .pv-next-photo::after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(8,12,34,.92),transparent 78%);}
html body .pv-next-photo>span{position:absolute;z-index:2;right:12px;bottom:10px;left:12px;display:flex;align-items:end;justify-content:space-between;gap:8px;color:#00eecc;font-size:8px;letter-spacing:1px;text-transform:uppercase;}
html body .pv-next-label{max-width:112px;overflow:hidden;color:#fff;font-size:9px;text-align:right;text-overflow:ellipsis;white-space:nowrap;}
html body .pv-caption{position:absolute;z-index:5;bottom:-20px;left:clamp(18px,3vw,46px);max-width:76%;padding:15px 20px;border-radius:15px;background:#00cdb2;color:#0b0f2e;box-shadow:0 16px 40px rgba(0,0,0,.3);font-size:10px;font-weight:700;letter-spacing:.6px;line-height:1.55;text-transform:uppercase;}
html body .pv-copy{position:relative;z-index:3;max-width:540px;}
html body .pv-eyebrow{display:inline-flex;align-items:center;gap:10px;margin-bottom:24px;color:#00eecc;font-size:10px;font-weight:700;letter-spacing:2px;text-transform:uppercase;}
html body .pv-eyebrow>span{font-size:20px;font-weight:400;}
html body .pv-copy h2{margin:0 0 20px;font-size:clamp(32px,3.35vw,54px);font-weight:900;letter-spacing:-2px;line-height:1.05;text-transform:uppercase;text-wrap:balance;}
html body .pv-copy p{margin:0;color:#bdc7d4;font-size:15px;line-height:1.75;}
html body .pv-nav{position:static;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:34px;}
html body .pv-nav[hidden]{display:none;}
html body .pv-nav button{min-width:112px;min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:11px;padding:0 15px;border:0;border-radius:999px;background:rgba(255,255,255,.1);color:#fff;box-shadow:none;font-size:12px;font-weight:700;cursor:pointer;}
html body .pv-nav button:hover{background:#00eecc;color:#0b0f2e;}
html body .pv-nav button>span{font-size:19px;font-weight:400;}
html body .pv-position{color:#9ba7b5;font-size:11px;letter-spacing:1px;white-space:nowrap;}
html body .pv-position i{margin:0 5px;color:#00cdb2;font-style:normal;}
html body .pv-progress{position:absolute;z-index:50;right:0;bottom:0;left:0;height:3px;background:rgba(255,255,255,.08);}
html body .pv-progress span{display:block;width:100%;height:100%;background:linear-gradient(90deg,#00cdb2,#00eecc);transform-origin:left;transition:transform .45s ease !important;}
html body dialog.pv .pv-scene>.pv-echo{position:absolute;z-index:4;display:block;margin:0;object-fit:contain;border-radius:30px;background:#101831;box-shadow:0 38px 100px rgba(0,0,0,.48);pointer-events:none;}
html body dialog.pv .pv-scene>.pv-echo:not([src]){display:none;}
html body dialog.pv[data-direction=left]{--pv-direction:-1;}
html body dialog.pv.pv-opening::before,html body dialog.pv.pv-changing::before{animation:pv-backdrop-in .8s both !important;}
html body dialog.pv.pv-opening::after,html body dialog.pv.pv-changing::after{animation:pv-overlay-in .65s both !important;}
html body dialog.pv.pv-opening .pv-header{animation:pv-header-in .55s ease both !important;}
html body dialog.pv.pv-opening .pv-photo-column{animation:pv-photo-arrive .8s cubic-bezier(.2,.75,.2,1) both !important;}
html body dialog.pv.pv-changing .pv-photo-column{animation:pv-scene-in .72s cubic-bezier(.2,.75,.2,1) both !important;}
html body dialog.pv.pv-opening .pv-copy,html body dialog.pv.pv-changing .pv-copy{animation:pv-copy-in .6s .1s both !important;}
html body dialog.pv.pv-opening .pv-caption,html body dialog.pv.pv-changing .pv-caption{animation:pv-caption-in .6s .22s both !important;}
html body dialog.pv.pv-opening .pv-next-photo,html body dialog.pv.pv-changing .pv-next-photo{animation:pv-next-arrive .65s .18s both,pv-hover-float 5s 1s ease-in-out infinite !important;}
html body .pv-echo.pv-out-left{animation:pv-scene-out-left .7s cubic-bezier(.4,0,.7,.2) both !important;}
html body .pv-echo.pv-out-right{animation:pv-scene-out-right .7s cubic-bezier(.4,0,.7,.2) both !important;}
@keyframes pv-backdrop-in{from{opacity:0;transform:scale(1.2);}to{opacity:1;transform:scale(1.12);}}
@keyframes pv-overlay-in{from{opacity:0;}to{opacity:1;}}
@keyframes pv-header-in{from{opacity:0;transform:translateY(-16px);}to{opacity:1;transform:translateY(0);}}
@keyframes pv-photo-arrive{from{opacity:0;transform:translate(var(--pv-from-x),var(--pv-from-y)) scale(var(--pv-from-scale)) rotateX(7deg);}to{opacity:1;transform:translate(0,0) scale(1) rotateX(0);}}
@keyframes pv-scene-in{from{opacity:0;transform:translateX(calc(var(--pv-direction)*110px)) scale(.88) rotateY(calc(var(--pv-direction)*-9deg));}to{opacity:1;transform:translateX(0) scale(1) rotateY(0);}}
@keyframes pv-scene-out-left{to{opacity:0;transform:translateX(-90px) scale(.9) rotateY(7deg);}}
@keyframes pv-scene-out-right{to{opacity:0;transform:translateX(90px) scale(.9) rotateY(-7deg);}}
@keyframes pv-copy-in{from{opacity:0;transform:translateY(28px);}to{opacity:1;transform:translateY(0);}}
@keyframes pv-caption-in{from{opacity:0;transform:translateY(18px);}to{opacity:1;transform:translateY(0);}}
@keyframes pv-next-arrive{from{opacity:0;transform:rotate(12deg) translateY(-22px) scale(.8);}to{opacity:1;transform:rotate(5deg) translateY(0) scale(1);}}
@keyframes pv-hover-float{0%,100%{margin-top:0;}50%{margin-top:-8px;}}

@media (max-width:760px){
  html body .pv-header{top:env(safe-area-inset-top);min-height:74px;gap:12px;padding:14px 20px;}
  html body .pv-brand img{width:145px;}
  html body .pv-header-title{display:none;}
  html body .pv-close{min-width:82px;min-height:44px;padding:0 12px;font-size:10px;}
  html body .pv-scene{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:44px;padding:calc(98px + env(safe-area-inset-top)) max(22px,env(safe-area-inset-right)) calc(36px + env(safe-area-inset-bottom)) max(22px,env(safe-area-inset-left));overflow-y:auto;touch-action:pan-y;}
  html body .pv-photo-column{width:100%;height:38vh;height:38svh;min-height:240px;max-height:390px;flex:none;perspective:none;}
  html body .pv-frame{border-radius:23px;transform:none;}
  html body .pv-frame figcaption{top:15px;right:17px;bottom:auto;left:17px;font-size:8px;}
  html body .pv-next-photo{top:-16px;right:-7px;width:108px;height:78px;border-radius:13px;}
  html body .pv-next-photo>span{right:8px;bottom:7px;left:8px;font-size:7px;}
  html body .pv-next-label{max-width:72px;font-size:7px;}
  html body .pv-caption{bottom:-16px;left:16px;max-width:88%;padding:11px 13px;font-size:8px;}
  html body .pv-copy{flex:none;padding-bottom:12px;}
  html body .pv-eyebrow{margin-bottom:14px;font-size:9px;}
  html body .pv-copy h2{margin-bottom:13px;font-size:clamp(27px,7.8vw,38px);letter-spacing:-1.2px;}
  html body .pv-copy p{font-size:13px;line-height:1.6;}
  html body .pv-nav{margin-top:22px;}
  html body .pv-nav button{min-width:104px;min-height:48px;padding:0 12px;font-size:11px;}
  html body .pv-position{font-size:10px;}
  html body .pv-ghost{top:90px;right:-20px;bottom:auto;font-size:64vw;}
  html body dialog.pv .pv-scene>.pv-echo{border-radius:23px;}
}
@media (max-width:370px){
  html body .pv-nav button{min-width:94px;}
  html body .pv-nav button>span{display:none;}
}
@media (max-height:740px) and (orientation:portrait){
  html body .pv-scene{gap:34px;padding-top:calc(86px + env(safe-area-inset-top));}
  html body .pv-photo-column{height:33svh;min-height:195px;}
  html body .pv-copy h2{font-size:27px;}
  html body .pv-eyebrow{margin-bottom:10px;}
  html body .pv-nav{margin-top:16px;}
}
@media (max-height:560px) and (orientation:landscape){
  html body .pv-header{min-height:66px;padding:10px 22px;}
  html body .pv-scene{display:grid;grid-template-columns:1fr 1fr;gap:40px;padding:78px 30px 32px;overflow-y:auto;}
  html body .pv-photo-column{height:62svh;min-height:190px;}
  html body .pv-copy h2{font-size:30px;}
  html body .pv-copy p{font-size:12px;}
  html body .pv-eyebrow{margin-bottom:12px;}
  html body .pv-nav{margin-top:18px;}
}

@media (prefers-reduced-motion:reduce){
  .hp.ce-glide-in,.hp.ce-glide-out,html body .pv-next-photo{animation:none !important;}
  html body dialog.pv.pv-opening::before,html body dialog.pv.pv-changing::before,html body dialog.pv.pv-opening::after,html body dialog.pv.pv-changing::after,
  html body dialog.pv.pv-opening .pv-header,html body dialog.pv.pv-opening .pv-photo-column,html body dialog.pv.pv-changing .pv-photo-column,
  html body dialog.pv.pv-opening .pv-copy,html body dialog.pv.pv-changing .pv-copy,html body dialog.pv.pv-opening .pv-caption,html body dialog.pv.pv-changing .pv-caption,
  html body dialog.pv.pv-opening .pv-next-photo,html body dialog.pv.pv-changing .pv-next-photo,html body .pv-echo.pv-out-left,html body .pv-echo.pv-out-right{animation:none !important;}
  html body .pv-progress span{transition:none !important;}
  html body .pv-frame{transform:none;}
  html body .pv-echo{display:none;}
  .gl-track.glide-ready .gl-i{opacity:1;transform:none;transition:none;}
}

/* ===== Phones and tablets: keep iOS Safari within its graphics memory =====
   On an iPhone the homepage built page-tall composited layers (hundreds of MB
   at 3x) and painted 110px blurs and frosted glass on every scroll frame, so
   Safari dropped tiles: a flat blank screen and a stall while scrolling.
   Same look, far cheaper to paint. Desktop is untouched. */
@media (max-width:1099px){
  /* The scroll hint keeps a 3D transform after it hides, which forced
     everything painted after it into one page-height layer. */
  html body .sdh.sd-gone{display:none!important;}

  /* Layer hints make a GPU layer each; 48 kinds of them on these pages. */
  html body *,html body *::before,html body *::after{will-change:auto!important;}

  /* Frosted glass is re-blurred on every frame; a slightly firmer tint
     reads the same against these dark backgrounds. */
  html body *,html body *::before,html body *::after{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;}
  html body .navwrap > nav{background-color:rgba(11,15,46,.86)!important;}
  html body .mb-bar{background-color:rgba(11,15,46,.95)!important;}
  html body .fchip{background-color:rgba(20,28,68,.78)!important;}
  html body .ov-list{background-color:transparent;}

  /* Big blurred colour blobs become pre-softened gradients: no blur filter. */
  html body .mesh > span,html body .svc-mesh > span,html body .cta-mesh > i,html body .bx-mesh > i,html body .dg-mesh > i{filter:none!important;border-radius:50%!important;}
  html body .mesh > .m1{background:radial-gradient(closest-side,rgba(0,238,204,.42),rgba(0,238,204,.12) 55%,transparent)!important;}
  html body .mesh > .m2{background:radial-gradient(closest-side,rgba(38,50,110,.85),rgba(38,50,110,.3) 60%,transparent)!important;}
  html body .mesh > .m3{background:radial-gradient(closest-side,rgba(0,238,204,.16),rgba(30,40,85,.35) 60%,transparent)!important;}
  html body .svc-mesh > .sm1{background:radial-gradient(closest-side,rgba(0,238,204,.30),rgba(0,238,204,.07) 60%,transparent)!important;}
  html body .svc-mesh > .sm2{background:radial-gradient(closest-side,rgba(52,70,165,.60),rgba(52,70,165,.18) 60%,transparent)!important;}
  html body .svc-mesh > .sm3{background:radial-gradient(closest-side,rgba(0,238,204,.36),rgba(40,54,125,.25) 60%,transparent)!important;}
  html body .svc-mesh > .sm4{background:radial-gradient(closest-side,rgba(46,60,140,.45),rgba(46,60,140,.14) 60%,transparent)!important;}
  html body .svc-mesh > .sm5{background:radial-gradient(closest-side,rgba(0,238,204,.30),rgba(0,238,204,.07) 60%,transparent)!important;}

  /* Decorative loops run only while on screen (MotionBudget.tsx adds .ce-still
     off screen). Removed rather than paused: a paused animation still holds a
     GPU layer and drags the content painted after it into one. */
  html body .ce-still,html body .ce-still *,html body .ce-still::before,html body .ce-still::after,html body .ce-still *::before,html body .ce-still *::after{animation:none!important;}
  html body.snav-home:not(.svcpage) > .hero > .hero-photo.ce-still{animation:none!important;}
  /* Entrance animations hold their last frame for ever (and so their layer);
     end them once the hero has played in. Same final look. */
  html body.hero-ready > .hero .kicker,html body.hero-ready > .hero .hero-ctas{animation:none!important;opacity:1!important;transform:none!important;}
  html body > .hero .hero-dots *,html body > .hero .hero-dots *::before,html body > .hero .hero-dots *::after{animation:none!important;}
  /* A swipe rail's scroller is (rightly) its own GPU layer; containing its
     wrapper stops everything below it being squashed into an 11,000px layer. */
  html body *:has(> #hubrail),html body *:has(> .rl){contain:paint;}
}

.mb-linkedin,.mb-top{display:none;}
@media (max-width:700px){
  html body .navwrap{position:fixed!important;transform:translateY(0);transition:transform .25s ease,padding-top .3s cubic-bezier(.22,1,.36,1)!important;}
  html body.ce-mobile-header-hidden .navwrap{transform:translateY(calc(-100% - 24px));pointer-events:none;}
  html body .navwrap > nav{background:transparent!important;box-shadow:none!important;}
  html body .navwrap .topbar{display:none!important;}
  html body nav a.nav-logo > img:first-child{height:56px!important;}
  html body .xm-holly{display:none!important;}
  html body nav a.nav-logo{min-height:64px!important;}
  html body button.burger.burger{min-width:64px!important;min-height:64px!important;font-size:34px!important;}
  html body.snav-home:not(.svcpage) > .hero > .hero-photo{left:-12px;top:-56px;rotate:10deg;}
  html body header.ihero,html body header.hero.svch{padding-top:111px!important;}
  html body header.hero{padding-top:105px!important;}
  html body .mb-bar{background-color:transparent!important;background-image:linear-gradient(180deg,rgba(11,15,46,0) 0%,rgba(11,15,46,.48) 45%,rgba(11,15,46,.82) 100%)!important;background-size:100% 100%!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;}
  html body .mb-cta{right:176px!important;padding:0 12px!important;font-size:14px!important;}
  html body #ce-next-ask > .dk-btn{width:84px!important;min-width:84px!important;padding:0 10px!important;gap:8px!important;}
  html body #ce-next-ask > .dk-btn .dk-lab{position:static!important;width:auto!important;height:auto!important;margin:0!important;overflow:visible!important;clip-path:none!important;white-space:nowrap!important;}
  html body .mb-linkedin{position:fixed;right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));z-index:96;display:flex;align-items:center;justify-content:center;width:56px;height:56px;border:1px solid rgba(255,255,255,.08);border-radius:50%;background:#0f1636;color:#fff;box-shadow:0 14px 34px -12px rgba(4,8,26,.75);}
  html body .pr-slide{transition:opacity .45s ease,transform .45s ease,visibility 0s linear .45s!important;}
  html body .pr-slide.on{transition:opacity .45s ease,transform .45s ease,visibility 0s!important;}
  html body .mb-linkedin svg{width:20px;height:20px;}
  html body .mb-top{position:fixed;right:18px;bottom:calc(80px + env(safe-area-inset-bottom,0px));z-index:95;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid rgba(255,255,255,.12);border-radius:50%;background:rgba(15,22,54,.88);color:#00eecc;box-shadow:0 10px 28px rgba(4,8,26,.35);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(8px);transition:opacity .2s ease,transform .2s ease,visibility 0s .2s;}
  html body .mb-top.is-visible{opacity:1;visibility:visible;pointer-events:auto;transform:none;transition-delay:0s;}
  html body .mb-top svg{width:22px;height:22px;}
}
@media (max-width:700px) and (prefers-reduced-motion:reduce){
  html body .navwrap,html body .mb-top,html body .pr-slide,html body .pr-slide.on{transition:none!important;}
}

/* ===== Phones: the closing card's floating photo sat on the heading =====
   (Matt's 26 Nov floating .cta-shot, same on his own build.) On a phone the
   photo becomes a normal picture under the buttons, and the phone number and
   email take a line each so the address never breaks mid-word. */
@media (max-width:900px){
  html body .cta-card{display:flex!important;flex-direction:column!important;}
  html body .cta-card > .cta-bd{order:1;position:relative;z-index:2;}
  html body .cta-card > .cta-shot{order:2;position:relative!important;inset:auto!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;width:auto!important;height:auto!important;aspect-ratio:16/10;margin:24px 0 0!important;opacity:.9!important;transform:none!important;border-radius:20px!important;background-size:cover!important;background-position:center!important;z-index:1;}
  html body .cta-card .ph .ph-sep{display:none;}
  html body .cta-card .ph .ph-tel,html body .cta-card .ph .ph-mail{display:block;white-space:nowrap;}
}

/* Cookie bar on phones (Darren, 1 Dec). Matt's glass bar lets the bottom row
   (Start your project, Ask, LinkedIn) show through behind Accept and Reject,
   so phones get his own solid fallback, and buttons a thumb can hit. */
@media (max-width:720px){
  .cks{background:linear-gradient(150deg,#1b2452,#141b45)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;}
  .cks button{min-height:44px;}
}
