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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

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

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

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

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

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

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

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

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


/* ===== the outline type behind the words band (ghosttype.py) ===== */
html body .ownw{position:relative;overflow:clip;}
html body .ownw > .wrap{position:relative;z-index:1;}
html body .ownw .ghx{
  position:absolute;z-index:0;pointer-events:none;user-select:none;
  top:50%;left:var(--col2,50%);
  white-space:nowrap;
  /* MATT'S OWN PLACEMENT, 8 October: "move it right 50px, down 110px, then
     shrink 20% from the top left corner." Written exactly that way round,
     because that is the order he did it in and the order matters: the
     offsets are applied to the full size block and the scale then pulls it
     back towards the point it now sits on. transform-origin:0 0 is what
     "from the top left corner" means, so the block's own top left stays
     where the 50 and the 110 put it and everything shrinks away from it,
     down and to the right. */
  margin-left:50px;
  transform-origin:0 0;
  transform:scale(0.8);
  font-family:'Gotham','Inter',Arial,sans-serif;font-weight:800;
  text-transform:uppercase;
  font-size:clamp(110px,15.5vw,300px);line-height:.8;letter-spacing:-.04em;
  color:transparent;
  -webkit-text-stroke:1.6px rgba(0,238,204,.18);
  text-stroke:1.6px rgba(0,238,204,.18);
  translate:0 calc(-50% + 110px + var(--gy,0px));
  will-change:translate;}
@media (max-width:900px){
  html body .ownw .ghx{font-size:clamp(76px,20vw,150px);
    -webkit-text-stroke-width:1.2px;}
}
@media (prefers-reduced-motion:reduce){
  html body .ownw .ghx{translate:0 -50%;will-change:auto;}
}


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


/* ============ the integration tree and the process flow (diagram.py) === */
.dg{--dg-line:rgba(0,238,204,.5);--dg-print:#ff4d6d;--dg-ink:#0b0f2e;
  --dg-gap:40px;}
.dg .dg-wrap{position:relative;}

/* nodes */
.dg-node{display:inline-flex;align-items:center;justify-content:center;
  text-align:center;padding:13px 22px 11px;border-radius:999px;
  background:rgba(255,255,255,.07);color:#fff;font-weight:700;font-size:12.5px;
  letter-spacing:1.6px;text-transform:uppercase;line-height:1.25;}
.dg-root{background:linear-gradient(120deg,rgba(0,238,204,.22),rgba(0,238,204,.08));}
.dg-brand{font-size:14px;padding:15px 26px 13px;}
.dg-brand.is-print{background:linear-gradient(120deg,rgba(255,77,109,.22),
  rgba(255,77,109,.08));}

/* the connectors are dashes drawn as backgrounds, never borders */
.dg-stem,.dg-rail{background-repeat:no-repeat;}
.dg-stem{width:1px;height:30px;margin:0 auto;
  background-image:repeating-linear-gradient(180deg,var(--dg-line) 0 5px,
    transparent 5px 11px);transform-origin:top;}
.dg-rail{height:1px;
  background-image:repeating-linear-gradient(90deg,var(--dg-line) 0 5px,
    transparent 5px 11px);transform-origin:center;}
/* THE PRINT COLOUR IS SET ON THE COLUMN, NOT ON TWO OF THE THINGS IN IT.
   It used to name .dg-col-print .dg-stem and .dg-col-print .dg-rail, which
   caught the drop to the brand chip and the rail under it and missed the
   three drops from that rail down to the icons, because those are drawn by
   .dg-leaf::before and nobody had added it to the list. Measured: the stem
   and the rail came back rgba(255,77,109,.55) and the leaf drops came back
   rgba(0,238,204,.5). Setting the variable on the column means every
   connector inside the print branch is red because it is inside the print
   branch, rather than because it was remembered. */
.dg-col-print,
.is-print .dg-stem,.is-print .dg-rail{--dg-line:rgba(255,77,109,.55);}

/* ===== THE HEADING NEEDS ROOM ========================================== */
/* Matt, 24 September: "we need to check the vertical spacing, the eyebrow /
   title / chart need more breathing space."

   Measured on the services index: eyebrow to title 0px, title to note 0px,
   and note to the top of the tree minus 26, so the chart was starting before
   the sentence introducing it had finished. Three things stacked with no air
   between them read as one block, which is why the eyebrow looked welded to
   the T of TRUE.

   Scoped to .dg so the shared .sec-head keeps its own rhythm everywhere
   else. The tree's own top padding carries the third gap, because that is
   the one that should be largest: the note is a sentence and the chart is a
   different kind of object, not the next paragraph. */
.dg .sec-head h2{margin:0;}
/* AND THE HEAD THAT CARRIES THE LINK SPANS THE ROW. .sec-top is a twelve
   column grid and .sec-head is capped at the 760px standfirst measure, so
   a head left at its default would put the right hand link in the middle
   of the page with the heading wrapping out of its way. Same two
   declarations the proof tier needed, for the same reason: lifting the cap
   is not enough on a grid, the column has to be told to span. */
html body .dg .sec-head.gocta-row{max-width:none;grid-column:1 / -1;}
/* the sentence now sits in the right hand column like every other tier on
   the site (Matt, 1 October: "should the para text be on the right like
   other tiers?"), so it is no longer a paragraph inside .sec-head and the
   rule that used to space it there has gone with it */
.dg .sec-top .sec-note{margin:0;}
.dg-tree{text-align:center;padding:clamp(58px,6.2vh,92px) 0 4px;}
/* THE RAIL RUNS BETWEEN THE TWO BRANCHES, not between two guessed
   percentages. Matt, 23 September: "horizontal line is out in centre."
   It was: the rail was drawn at 25% to 75% of the band while the columns
   below it are 2fr and 1fr, so neither end landed on a branch and the whole
   fork read as skewed. These margins are the column arithmetic instead. With
   columns 2fr and 1fr and a gap G across width W, the left branch sits at
   (W-G)/3 and the right at W-(W-G)/6, so those are the margins, and the root
   above is shifted by (W-G)/6 to sit over the middle of what it feeds. Change
   --dg-gap or the column ratio and all three still meet. */
.dg-top{margin-left:calc((100% - var(--dg-gap))/6);}
.dg-fork .dg-rail{margin-left:calc((100% - var(--dg-gap))/3);
  margin-right:calc((100% - var(--dg-gap))/6);}

/* ===== AND THE RIGHT HALF OF IT IS THE PRINT COMPANY ==================== */
/* Matt, 24 September: "the red dotted line looks great, can we make sure
   from centre of the first horizontal line, where the dots come down from
   the top tier, to the right of that is all red dots to show what is
   Cornelius Design To Print."

   The split point is exactly the middle of the rail, and that is arithmetic
   rather than luck. Writing u for (W - G)/6: the left branch sits at 2u, the
   right at W - u, and the root above is shifted by u so its stem falls at
   (W + u)/2, which is the midpoint of 2u and W - u. Measured to confirm
   rather than assumed: stem centre 908, rail centre 908.

   So one element, two gradients, each painting half its width. Kept as one
   element rather than split into two because the reveal animation scales the
   rail from its centre, and two elements would have needed two origins and
   would have met in the middle with a seam. The dash phase restarts at the
   halfway point, which is the one visible consequence and an honest one: the
   phase change is where one company ends and the other begins. */
.dg-fork .dg-rail{
  background-image:
    repeating-linear-gradient(90deg,var(--dg-line) 0 5px,
      transparent 5px 11px),
    repeating-linear-gradient(90deg,rgba(255,77,109,.55) 0 5px,
      transparent 5px 11px);
  background-size:50% 100%,50% 100%;
  background-position:left center,right center;
  background-repeat:no-repeat,no-repeat;}
.dg-cols{display:grid;grid-template-columns:2fr 1fr;gap:var(--dg-gap);
  align-items:start;}
.dg-col{text-align:center;}
.dg-leaves{list-style:none;margin:0;padding:0;display:grid;
  grid-template-columns:repeat(var(--n,6),minmax(0,1fr));gap:0 12px;
  position:relative;}
.dg-leaves::before{content:"";position:absolute;top:0;height:1px;
  left:calc(50% / var(--n,6));right:calc(50% / var(--n,6));
  background-image:repeating-linear-gradient(90deg,var(--dg-line) 0 5px,
    transparent 5px 11px);transform-origin:center;}
.dg-col-print .dg-leaves::before{--dg-line:rgba(255,77,109,.55);}
.dg-leaf{padding-top:30px;position:relative;}
.dg-leaf::before{content:"";position:absolute;top:0;left:50%;width:1px;
  height:30px;background-image:repeating-linear-gradient(180deg,
    var(--dg-line) 0 5px,transparent 5px 11px);}
.dg-leaf a{display:block;font-size:12px;font-weight:700;letter-spacing:1.2px;
  text-transform:uppercase;line-height:1.35;color:#fff;padding:12px 6px 10px;
  border-radius:14px;transition:background .25s,transform .25s;}
.dg-leaf a:hover{background:rgba(255,255,255,.08);transform:translateY(-2px);}
/* ONE COLOUR FOR EVERY LABEL. Matt: "all text just the same colour not
   shades or tints as per rest of the site / chart." The print labels were
   pink at #ffd9e0, which made three of the nine capabilities read as
   secondary. The red belongs to the icon and the connector, not the word. */
.dg-col-print .dg-leaf a:hover{background:rgba(255,77,109,.14);}
.dg-lic{display:block;width:42px;height:42px;margin:0 auto 12px;
  color:#00eac8;transition:transform .35s cubic-bezier(.22,1,.36,1);}
.dg-lic svg{width:100%;height:100%;display:block;}
.dg-lic svg *{fill:currentColor;}
.dg-col-print .dg-lic{color:var(--dg-print);}
.dg-leaf a:hover .dg-lic{transform:scale(1.12);}

/* the draw-in: stems and rails scale from nothing, nodes fade up */
.dg.anim .dg-stem,.dg.anim .dg-rail,.dg.anim .dg-leaves::before{
  transform:scale3d(1,0,1);}
.dg.anim .dg-rail,.dg.anim .dg-leaves::before{transform:scale3d(0,1,1);}
.dg.anim .dg-node{opacity:0;transform:translateY(10px);}
.dg.anim.lit .dg-stem,.dg.anim.lit .dg-rail,.dg.anim.lit .dg-leaves::before{
  transform:none;transition:transform .5s cubic-bezier(.22,1,.36,1);}
.dg.anim.lit .dg-node{opacity:1;transform:none;
  transition:opacity .5s ease,transform .6s cubic-bezier(.22,1,.36,1);}
.dg.anim.lit .dg-brand{transition-delay:.25s;}
.dg.anim.lit .dg-leaf .dg-node,.dg.anim.lit .dg-leaf a{
  transition-delay:calc(.45s + var(--i,0) * 60ms);}
.dg.anim .dg-leaf a{opacity:0;}
.dg.anim.lit .dg-leaf a{opacity:1;transition:opacity .45s ease
  calc(.45s + var(--i,0) * 60ms),background .25s,transform .25s;}

/* ---------------------------------------------------------- the flow --- */
/* Matt, 23 September: "make the titles stronger (especially the main six),
   numbers can be bolder, need images? Bring it to life a bit, not
   excessive." So: the title is the biggest thing in the card, the number is
   a large ghost numeral behind it rather than a small label above it, and
   each step carries one CE library icon in aqua. An aqua rule runs the
   width of the row behind the cards, so six cards read as one journey. */
.dg-flow{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));
  gap:20px;align-items:stretch;position:relative;}
/* NO overflow:hidden ANY MORE. It was there to crop the big ghost numeral
   that used to sit in the corner; with that gone it did nothing but clip the
   chevron, which hangs 16px outside the card by design. That is why the
   arrows did not appear on the first build after Matt asked for them. */
/* HALF AS TALL AGAIN, AND THE CONTENT DOES NOT MOVE. Matt, 16 October:
   "making the top 6 taller say approx 50%, keep the content and arrows
   where they are so the boxes drop down lower."
   211 measured, so 317. A min-height rather than a height, because a
   title that wraps to three lines on a narrow window still has to fit.
   The content is top of the box already, so the box grows downward on
   its own and nothing in it needs touching. */
/* AND THE CONTENT SITS LOWER IN IT. Matt, 19 October: "move the content
   in the 6 blocks down a bit so less gap at the bottom." Measured at
   1840 before: the words ran 14 to 187 in a 317px card and left 130px
   of nothing under them. The icon and the title both grew in the same
   note, which takes about 22 of that on its own; the other 44 is this
   top padding, 34 to 78. Measured after: the words run 58 to 253 and
   the gap below is 64.

   The number stays in the corner: .dg-n is absolutely positioned at
   top:14px and is a corner mark rather than part of the stack. */
.dg-step{position:relative;z-index:1;border-radius:20px;padding:78px 18px 24px;
  min-height:317px;
  background:rgba(255,255,255,.06);text-align:center;
  transition:transform .3s cubic-bezier(.22,1,.36,1),background .3s ease;}

/* AND THE SIX READ AS ONE FIELD. Matt: "In the empty space we could have
   some mesh gradients shifting but maybe do that as if the six boxes
   were one."

   That last clause is the whole of it. Six boxes each with their own
   mesh is six meshes and looks like it. One mesh seen through six
   windows is a single thing the cards are cut out of.

   So every card carries the SAME layer, six card widths plus five gaps
   across, and slides it left by its own position in the row. The
   percentage in `left` resolves against the card, so the arithmetic
   holds at any width without a media query or a script:

     card n  left: -n * (100% + 20px)

   It clips to its own rounded box rather than to the card, because the
   card cannot have overflow:hidden: the arrow between two cards hangs
   16px outside and a clip there is what stopped the arrows appearing
   once before.

   THE DRIFT KEEPS THEM IN REGISTER because all six run the same
   animation with no delay, so they move as the one image they are
   pretending to be. Give one of them a delay and the illusion is gone.

   And it is masked to nothing at the top: the mesh is for the room the
   taller box opened up, not for the area behind the words. */
/* AND THE THREE SHORT BOXES ARE IN THE SAME FIELD, not a second one.
   Matt, 19 October: "put them in 3 columns of short bento boxes - same
   colour / gradient style as the 6 process ones above it."

   The arithmetic works out exactly, which is why this is one selector
   and not a second mesh with its own numbers. Six columns on a 20px gap
   and three columns on a 20px gap put a grid line in the same place: a
   short box is two step cards plus the gap between them, to the pixel.
   So 300% + 40px across three is the same width as 600% + 100px across
   six, both of them the width of the wrap, and the same five blobs land
   in the same places in both rows. One image, nine windows. */
.dg-step .dg-mesh,.dg-ben .dg-mesh{position:absolute;inset:0;
  border-radius:20px;
  overflow:hidden;z-index:0;pointer-events:none;
  -webkit-mask-image:linear-gradient(180deg,transparent 0,
    rgba(0,0,0,.14) 24%,rgba(0,0,0,.62) 46%,#000 64%);
  mask-image:linear-gradient(180deg,transparent 0,
    rgba(0,0,0,.14) 24%,rgba(0,0,0,.62) 46%,#000 64%);}
.dg-step .dg-mesh > i,.dg-ben .dg-mesh > i{position:absolute;
  top:-30%;bottom:-30%;
  width:calc(600% + 100px);left:0;display:block;
  background:
    radial-gradient(40% 62% at 10% 40%,rgba(0,238,204,.34),transparent 70%),
    radial-gradient(36% 58% at 34% 82%,rgba(62,201,255,.30),transparent 68%),
    radial-gradient(46% 68% at 58% 26%,rgba(42,58,143,.80),transparent 72%),
    radial-gradient(34% 56% at 80% 74%,rgba(0,238,204,.26),transparent 66%),
    radial-gradient(30% 50% at 97% 34%,rgba(62,201,255,.22),transparent 64%);
  animation:dg-drift 34s ease-in-out infinite alternate;
  will-change:transform;}
.dg-step:nth-child(1) .dg-mesh > i{left:calc(0px);}
.dg-step:nth-child(2) .dg-mesh > i{left:calc(-1 * (100% + 20px));}
.dg-step:nth-child(3) .dg-mesh > i{left:calc(-2 * (100% + 20px));}
.dg-step:nth-child(4) .dg-mesh > i{left:calc(-3 * (100% + 20px));}
.dg-step:nth-child(5) .dg-mesh > i{left:calc(-4 * (100% + 20px));}
.dg-step:nth-child(6) .dg-mesh > i{left:calc(-5 * (100% + 20px));}
/* three windows on the same image: 100% is now two step cards and a gap,
   so one step of the offset is two steps of the row above it */
.dg-ben .dg-mesh > i{width:calc(300% + 40px);}
.dg-ben:nth-child(1) .dg-mesh > i{left:calc(0px);}
.dg-ben:nth-child(2) .dg-mesh > i{left:calc(-1 * (100% + 20px));}
.dg-ben:nth-child(3) .dg-mesh > i{left:calc(-2 * (100% + 20px));}
@keyframes dg-drift{
  from{transform:translate3d(0,0,0) scale(1.04);}
  to{transform:translate3d(-5%,3%,0) scale(1.12);}}
@media (prefers-reduced-motion:reduce){
  .dg-step .dg-mesh > i{animation:none;}
}
.dg-step:hover{transform:translateY(-4px);background:rgba(255,255,255,.09);}
/* THE ICON IS THE FULL AQUA, not the connector's half-strength version.
   Matt, 23 September: "icons full colour in the aqua." --dg-line is the
   dashes' colour and carries their opacity, so inheriting it here quietly
   dimmed every icon to half. */
/* THIRTY PER CENT BIGGER. Matt, 19 October: "Make 6 x icons 30%
   bigger." 46 times 1.3 is 59.8, so 60. They are line drawings at a
   single weight, so they scale without thickening. */
.dg-ic{display:block;width:60px;height:60px;margin:2px auto 18px;
  color:#00eac8;position:relative;z-index:1;
  transition:transform .35s cubic-bezier(.22,1,.36,1);}
.dg-ic svg{width:100%;height:100%;display:block;}
.dg-ic svg *{fill:currentColor;}
.dg-step:hover .dg-ic{transform:scale(1.1);}
/* AND THE TITLE IS BIGGER TOO. Matt: "Make title fonts bigger (I know
   it's getting tight but let's see)." 16 to 19, and he is right that it
   is tight. Measured rather than eyeballed, longest line against the
   column it has:

     window   column   "MANUFACTURE"   
     3552     169px    160px           9px spare
     1840     169px    160px           9px spare
     1280     150px    160px           overhangs the 18px padding by 5
                                       each side, still inside the card
     1100     120px    160px           overhang 20 each side, 2px past
                                       the card edge

   So it holds down to about 1340 and is snug from there to 1080, where
   the row goes three across and the columns open up again. Nothing
   wraps to a third line at any width: the <br> is written in, and the
   one word that cannot break is the one being measured here.

   LEFT AT A FLAT 19 RATHER THAN CLAMPED, because Matt asked to see it
   bigger and a clamp would quietly give him 16 again on the windows
   where it is tight. clamp(16px,1.05vw,19px) is the one line if he
   wants the band to back off. */
.dg-step h3{margin:0;position:relative;z-index:1;
  font-family:'Gotham','Inter',Arial,sans-serif;font-size:19px;font-weight:900;
  letter-spacing:.4px;text-transform:uppercase;line-height:1.2;color:#fff;}
.dg-step p{margin:10px 0 0;position:relative;z-index:1;
  font-size:13px;line-height:1.5;color:rgba(255,255,255,.62);}
/* THE NUMBER IS AN EYEBROW, NOT A BILLBOARD. Matt: "numbers small top left
   almost like in chip eyebrows." It was a 50px ghost numeral in the top
   right corner, which competed with the title it was meant to number. Same
   size, weight and letter-spacing as the chip eyebrow, so a step reads as
   one of six rather than as a poster. */
.dg-step .dg-n{position:absolute;top:14px;left:18px;z-index:2;
  font-size:11px;font-weight:700;letter-spacing:1.8px;line-height:1;
  color:#00eac8;pointer-events:none;}
/* AND THE ARROWS ARE BACK. Matt: "lose the dotted line go back to arrows
   please." Jon's slide runs a solid aqua chevron between every pair of
   cards and nothing behind them; the dashed rule I put across the row was
   my invention and it fought the cards it ran through. The chevron is
   centred on the card rather than pinned to a pixel height, so it stays put
   whatever the titles do. */
/* AND THE ARROW STAYS WITH THE CONTENT. It was centred on the card,
   which was right while the card was only as tall as its words. With
   the card half as tall again, 50 per cent is 53px below where the
   content ends, so it is pinned to a number instead. Matt: "keep the
   content and arrows where they are."
   106 was the middle of the words while they ran 14 to 187. On 19
   October they moved down and grew, to 58 and 253, so the middle is
   155 and the arrow follows it. This number is read off the words every
   time they change; it is not a constant, it is a measurement. */
.dg-step + .dg-step::before{content:"";position:absolute;left:-16px;
  top:155px;transform:translateY(-50%);
  width:12px;height:18px;z-index:2;background:#00eac8;
  clip-path:polygon(0 0,100% 50%,0 100%);}
/* THE THREE ABOVE ARE SHORT BOXES. Matt, 19 October: "the titles
   underneath - let's go back to three (lose the kitting one), then put
   them in 3 columns of short bento boxes - same colour / gradient style
   as the 6 process ones above it, they should then go above the 01>06
   row."

   They were four titles over a one pixel rule. Two things changed and
   stayed changed: the count and the treatment.

   THE ORDER WENT UP AND CAME BACK, and the round trip is on the record
   because the argument for putting them first was mine, not Matt's. He
   asked for above on the morning of 19 October, saw it, and asked for
   under the same day. Seeing it settles it: the six steps are the
   journey and the three are what makes it hold together, so the three
   read as a conclusion rather than as terms and conditions. The page
   goes heading, six tall cards, three short ones.

   AND THE BOX IS THE STEP CARD'S BOX, shorter. Same 20px radius, same
   six per cent ground, same mesh seen through it, same hover. The only
   numbers that differ are the ones that have to: the padding and the
   height, because there is a two line title in here and not an icon, a
   number, a title and a sentence.

   148 WAS TOO DEEP. Matt, 19 October: "boxes 20% shallower please." 118
   is 148 less a fifth. It is still a min-height rather than a height,
   so a title that wraps to three lines on a narrow window pushes the
   box down instead of spilling out of it: at 118 the padding takes 50
   and two lines of the title take 47, so the number governs and the
   shortest box is exactly a fifth shallower than it was.

   THE TITLE IS LEFT, NOT CENTRED, and the steps are centred. That is
   deliberate: a step card is a stack of four things on an axis and a
   short box is one label in a corner. Centring two short lines in a
   box three times as wide as it is tall leaves them floating with the
   glow doing nothing behind them. */
.dg-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;margin:20px 0 0;}
/* THE GROUND HERE NEVER WINS, AND IT IS WRITTEN ANYWAY, because it is
   .dg-step's ground and the point of this rule is to be .dg-step's rule.
   akit's panel sweep paints every panel on the site with one navy
   gradient and an !important, and .dg-ben is back in its list as of 19
   October; so is .dg-step, and so is the six per cent film underneath
   both of them. Taking it out here would make the two rules differ over
   a value neither of them renders. */
.dg-ben{position:relative;z-index:1;border-radius:20px;
  padding:26px 22px 24px;min-height:118px;
  background:rgba(255,255,255,.06);
  transition:transform .3s cubic-bezier(.22,1,.36,1),background .3s ease;}
.dg-ben:hover{transform:translateY(-4px);background:rgba(255,255,255,.09);}
.dg-ben h3{margin:0;position:relative;z-index:1;
  font-size:clamp(17px,1.5vw,21px);font-weight:900;
  text-transform:uppercase;letter-spacing:-.2px;line-height:1.12;
  color:#fff;}

@media (max-width:1080px){
  .dg-flow{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}
  .dg-step + .dg-step::before{display:none;}
  /* AND THE SHARED MESH GOES, because it is only shared while the six
     are in one row. The offsets say "card n of six across"; at three
     across, cards four to six are on the second row still sliding the
     layer as though they were on the first, so the one field becomes
     two halves of one field stacked, which is worse than six separate
     ones. It comes back when the row does. */
  .dg-step .dg-mesh{display:none;}
  /* AND THE SHORT BOXES KEEP TRACK WITH THE ROW. At three across on a
     14px gap the step cards and the short boxes are one to one, so the
     grid lines still agree; the mesh goes with the row's, because the
     field it is a window on has stopped being one row wide. */
  .dg-benefits{gap:14px;margin-top:14px;}
  .dg-ben .dg-mesh{display:none;}
  .dg-cols{grid-template-columns:1fr;gap:28px;}
  .dg-leaves{--n:3 !important;grid-template-columns:repeat(3,minmax(0,1fr));}
  /* one column, so the fork has nothing to fork: the stems carry it, and
     the root goes back to the middle because there is nothing off-centre
     left for it to sit over */
  .dg-fork{display:none;}
  .dg-top{margin-left:0;}
}
@media (max-width:680px){
  .dg-flow{grid-template-columns:1fr 1fr;}
  /* two up, and the third spans the pair rather than sitting as an
     orphan beside a gap. Three into two columns has to land somewhere
     and a full width box reads as the end of the row. */
  .dg-benefits{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;
    margin-top:14px;}
  .dg-ben:last-child{grid-column:1 / -1;}
  .dg-ben{min-height:0;}
  .dg-step{min-height:0;}
  .dg-step .dg-mesh{display:none;}
  .dg-leaves{--n:2 !important;grid-template-columns:repeat(2,minmax(0,1fr));}
  .dg-leaves::before{display:none;}
  .dg-leaf::before{display:none;}
  .dg-leaf{padding-top:6px;}
}
@media (prefers-reduced-motion:reduce){
  .dg.anim .dg-stem,.dg.anim .dg-rail,.dg.anim .dg-node,.dg.anim .dg-leaf a,
  .dg.anim .dg-leaves::before{opacity:1 !important;transform:none !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;}
}
