
/* the six hero masters (homehero.py). Prepared to the frame at
   3000x2000, so none of them carries a transform. */
.hp-0{background-image:url(/assets/hero-slide-as9100d__panel.webp);}
.hp-1{background-image:url(/assets/cta-2c22c675bd.webp);}
.hp-2{background-image:url(/assets/hero-slide-aero__IMG-3123.webp);}
.hp-3{background-image:url(/assets/ce/hero-module-array__from-hero-slide-3.webp);}
.hp-4{background-image:url(/assets/ce/hero-fischer-connectors__no-red.webp);}
html body .hero .hp-3{background-position-x:-50px;}
.hp-0,.hp-1,.hp-2,.hp-3,.hp-4{transform:none;}

/* THE UNION JACK SITS WHERE THE TICK SITS. Matt, 6 October: "maybe add the
   little union jack top right like the tick on the AS9100D chips". So it
   takes the tick's own box, 20px in the top right corner, rather than a new
   position for a second kind of mark. The flag is 1000x560, a 25:14 shape,
   so it was 20px wide and 11px tall, rounded 3px.

   IT IS ROUND NOW, AND THE SAME ROUND THE VERTICALS USE. Matt, 16
   October: "same flag for all chips using it - let's go round version."
   Home had a rounded rectangle and the verticals' headers a circle, so
   the two headers carried two different marks for the same claim. The
   objection to squaring it still stands and object-fit answers it: the
   20x20 box crops the 25:14 flag rather than stretching it, which is
   what the circle was doing on the verticals all along. */
.fchip .cflag{position:absolute;top:14px;right:14px;
  width:20px;height:20px;border-radius:50%;object-fit:cover;display:block;}

/* THE CONTENTS DISSOLVE WHILE THE BOX TRAVELS. Only the children fade; the
   chip itself keeps its background, its blur and its .75s ease on left and
   top, so what you see is one object moving and its words changing on the
   way rather than a swap followed by a move. 180ms out and 180ms back,
   inside the 750ms the journey takes. */
.fchip > *{transition:opacity .18s ease;}
.fchip.chip-swap > *{opacity:0;}
body.place-mode .fchip > *{transition:none;opacity:1;}

/* ON A PHONE THE CHIPS JOIN THE PAGE. Michael, 27 October, on a Pixel:
   a stat chip showed through the top left of the bar ("16 / Cor", "40 /
   In b") and another sat half off the right edge over the buttons. The
   three chips are absolute children of the header, placed for a desk;
   the script that steers them stops below 1100px and the 1080px rule
   only pulls them in a little, so on a phone they float over the bar
   and the copy. Below 900px they come into the flow instead: after the
   copy, as one row that wraps, the same as the service pages
   (svchero.py). The services index is built from this page, so it
   takes this too. */
@media (max-width:900px){
  header.hero:not(.svch){flex-flow:row wrap;align-content:flex-start;}
  header.hero:not(.svch) > .wrap{order:1;flex:0 0 100%;}
  header.hero:not(.svch) > .fchip{position:static;order:2;flex:0 1 auto;
    left:auto;right:auto;top:auto;bottom:auto;transform:none;translate:none;
    animation:none;opacity:1;margin:14px 0 0 10px;max-width:none;}
  header.hero:not(.svch) > .fchip.fc1{margin-left:24px;}
  /* and the copy is one column. The services index keeps the twelve
     column grid with its 32px gutters on a phone: twelve tracks of 0px
     plus eleven gutters is 352px, wider than the 296px a 360px screen
     leaves inside the padding, so its sentences ran off the right edge. */
  header.hero:not(.svch) .hero-grid{grid-template-columns:minmax(0,1fr);
    column-gap:0;}
  /* The desktop headline is 120% wide so it can overlap the photograph.
     In the one-column phone layout that only cuts off its last letters. */
  header.hero:not(.svch) h1{width:100%;}
}
/* A THIRTEEN LETTER WORD AT 40px IS 356px: "manufacturing" in home's
   headline, measured at 360px, wider than the screen, so the last letters
   were cut. Below 400px the headline scales with the screen instead, about
   33px at 360; at 412 and up nothing changes. The service pages do not load
   this stylesheet and carry the same rule in svchero.py. */
@media (max-width:400px){
  header.hero h1{font-size:min(40px,9.2vw);}
}


/* ============ services index, built from home (services_page.py) ======== */
/* THE INDEPENDENT CARD TAKES ONE MORE WORD THAN IT USED TO. Jon asked for
   "UK privately owned" everywhere it reads "UK privately owned" (ukowned.py),
   and on this one card that pushes the first line to eighteen uppercase
   characters, which is two more than the card holds: the line broke and
   left OWNED sitting on its own. Three points off the type on this card
   only, so the three written breaks stay the three lines they were drawn
   as. Nothing else uses .bx-state. */
body.svcpage .bx-d .bx-state{font-size:clamp(22px,1.92vw,30px);}
body.svcpage .hero-dots,body.svcpage .crumb{display:none;}
/* the GD-95 box sits whole in the frame, not zoomed like home's slide 0 */
body.svcpage .hero .hp-0{transform:none;}
body.svcpage .fc4,body.svcpage .fc5{right:auto;bottom:auto;}
body.svcpage .fc4{animation:fadeUp .8s cubic-bezier(.22,1,.36,1) 1.2s forwards,xbob 6.4s ease-in-out 2.5s infinite;}
body.svcpage .fc5{animation:fadeUp .8s cubic-bezier(.22,1,.36,1) 1.35s forwards,xbob 5.9s ease-in-out 2.8s infinite;}
body.svcpage #services{padding-bottom:40px;}
/* the quality bar: a chevron run hangs off the top of the tier at the left
   and slides right with the scroll. The bar drops to make room. */
body.svcpage .certs{position:relative;padding:96px 0 24px !important;overflow:hidden;}
/* rests 40px inside the site's left content edge (Matt, 22 September) */
.certs .chev-q{position:absolute;top:0;z-index:2;
  left:calc(max(0px, (100% - var(--max)) / 2) + 32px + 40px);
  transform:translateX(var(--cx,0px));will-change:transform;}

/* ONE PARTNER. The chevron run hangs off the top right of the band and
   slides in with the scroll, the same move as the run under the header. */
/* the FAQ, home's, on this page's rhythm; it is the tier that pins */
body.svcpage #faq.fq{position:relative;z-index:1;padding:40px 0 120px;background:#0b0f2e;}
/* the rail and the panel share a box, so the pinned rail lets go the moment
   the panel has fully covered it and can never show under the gallery */
.op-stack{position:relative;}
.op{position:relative;padding:56px 0 96px;overflow:hidden;z-index:1;}
.op-top{margin-bottom:64px;align-items:start;}
.op .sec-note-w{margin-top:60px;}
/* THE RAIL */
.op .op-top{margin-bottom:48px;display:flex;align-items:flex-end;
  justify-content:space-between;gap:32px;}
.rl-bar{display:flex;gap:14px;flex:0 0 auto;}
.rl-btn{width:60px;height:60px;border-radius:50%;border:0;cursor:pointer;
  display:grid;place-items:center;background:rgba(255,255,255,.07);color:#fff;
  transition:background .25s,color .25s,opacity .25s;}
.rl-btn svg{width:26px;height:26px;}
.rl-next svg{transform:scaleX(-1);}
.rl-btn:hover{background:var(--aqua);color:#0b0f2e;}
.rl-btn[disabled]{opacity:.3;cursor:default;background:rgba(255,255,255,.07);color:#fff;}
/* Matt, 23 September: "the scroll sometimes sticks if the mouse is over an
   image". A horizontal scroller with mandatory snapping eats part of a
   trackpad gesture: the sideways component is taken by the rail, the page
   stops for a moment and the snap pulls back. overscroll-behavior keeps the
   rail's own scrolling to itself, and snapping is left to touch, where a
   swipe is deliberate and a snap helps. Nothing on this tier is pinned. */
.rl{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 2 * 28px) / 3);
  gap:28px;overflow-x:auto;overflow-y:hidden;overflow-y:clip;scroll-behavior:smooth;overscroll-behavior-x:contain;
  scroll-snap-type:none;scrollbar-width:none;outline:none;}
@media (hover:none){.rl{scroll-snap-type:x proximity;}}
.rl::-webkit-scrollbar{display:none;}
.rl-card{scroll-snap-align:start;display:flex;flex-direction:column;color:#fff;}
.rl-ph{position:relative;display:block;overflow:hidden;border-radius:26px;
  aspect-ratio:4/3;background:#12173d;}
.rl-ph i{position:absolute;inset:0;background-size:cover;background-position:center;
  transition:transform 1.2s cubic-bezier(.22,1,.36,1);}
.rl-card:hover .rl-ph i{transform:scale(1.07);}
/* WHERE THE CHIP SITS. What it LOOKS like is chipmark.py's, on
   every rail at once: Matt, 21 October, picking from six
   treatments on the full brightness range, "Let's do new A
   please." This rule used to carry the look as well, at 14px
   with .1px tracking and an 8px corner, which was a second chip
   nobody could see was different from the knowledge rail's. */
.rl-tag{position:absolute;top:18px;left:18px;}
.rl-cat{margin-top:24px;font-size:14px;color:rgba(255,255,255,.55);letter-spacing:.2px;}
.rl-card h3{margin-top:14px;font-size:24px;font-weight:600;letter-spacing:-.4px;color:#fff;}
.rl-card p{margin:10px 0 0;font-size:17px;line-height:1.5;color:rgba(255,255,255,.78);}
.rl-arw{display:block;width:40px;height:40px;margin-top:32px;color:var(--aqua);
  transition:transform .3s cubic-bezier(.22,1,.36,1);}
.rl-arw svg{width:100%;height:100%;}
.rl-card:hover .rl-arw{transform:translate(5px,-5px);}

/* THE GALLERY. Pinned: the page stops, the photographs travel sideways
   under it, the page carries on. Below 900px, and for anyone who has asked
   for less motion, it is a plain row you swipe. */
.gl{position:relative;padding:0;}
.gl-pin{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;
  justify-content:center;gap:48px;overflow:hidden;}
.gl-top{display:flex;align-items:flex-end;justify-content:space-between;
  gap:32px;width:100%;}
.gl-meter{display:flex;align-items:center;gap:18px;padding-bottom:10px;
  color:rgba(255,255,255,.55);font-size:13px;letter-spacing:.3px;
  font-variant-numeric:tabular-nums;}
.gl-count b{color:#fff;font-weight:600;}
.gl-bar{position:relative;width:180px;height:2px;background:rgba(255,255,255,.14);
  overflow:hidden;border-radius:2px;}
.gl-bar i{position:absolute;inset:0;background:var(--aqua);transform-origin:left;
  transform:scaleX(var(--gp,.125));}
.gl-view{width:100%;}
.gl-track{display:flex;gap:24px;padding:0 max(32px, calc((100vw - var(--max)) / 2 + 32px));
  transform:translate3d(var(--gx,0px),0,0);will-change:transform;width:max-content;}
.gl-i{margin:0;flex:0 0 auto;display:flex;flex-direction:column;gap:14px;}
/* one size, one shape, one gap: Matt, 22 September, "more uniform" */
/* bigger, the same three terms svcgallery.py works out in full */
.gl-i{width:min(40vw,760px,calc(133.33vh - 440px));}
.gl-ph{width:100%;aspect-ratio:4/3;border-radius:26px;background-size:cover;
  background-position:center;background-color:rgba(255,255,255,.04);}
.gl-i figcaption{display:flex;gap:14px;font-size:14px;color:rgba(255,255,255,.6);}
.gl-i figcaption b{color:var(--aqua);font-weight:600;}
@media (max-width:899px), (prefers-reduced-motion:reduce){
  .gl{height:auto !important;padding:96px 0 40px;}
  .gl-pin{position:static;height:auto;gap:32px;}
  .gl-meter{display:none;}
  .gl-view{overflow-x:auto;overflow-y:hidden;overflow-y:clip;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;
    scrollbar-width:none;}
  .gl-view::-webkit-scrollbar{display:none;}
  .gl-track{transform:none !important;padding:0 20px;}
  .gl-i{scroll-snap-align:start;}
  .gl-i{width:78vw;}
}

/* WHY CORNELIUS. Five across, three down, aqua icons from the CE library.
   As the tier comes on screen each icon rises and fades in, staggered along
   the rows, the words a beat behind. */
/* Matt, 22 September: the icon tier slides up over the rail "for a cool
   slide feel like we've done before", the same move as the home sheet over
   the header, and being a panel of its own it gets a mesh. The rail pins
   when its bottom reaches the bottom of the window (top set from script)
   and dims a little as the panel covers it. The mesh is the burger menu's
   locked recipe, aqua and navy with grain against banding, turned up and
   given a blue bloom so the tier has more colour than the page around it.
   It fades back to the page ground at the bottom so the gallery follows on
   without an edge. */
.wy{position:relative;z-index:2;padding:104px 0 24px;border-radius:36px 36px 0 0;
  /* opaque in the page's own ground (the sheet, #0b0f2e), so it covers the
     FAQ it slides over and the masked mesh fades into exactly the colour
     the gallery sits on */
  background:#0b0f2e;isolation:isolate;
  /* a shadow only above: the negative spread cancels it at the bottom */
  box-shadow:0 -40px 60px -20px rgba(0,0,0,.45);}
/* Matt, 22 September: no line at the bottom, the colour fades in and out.
   So the mesh lives on its own layer that is MASKED to nothing over its last
   third, eased over seven stops, rather than faded to a colour that has to
   match the page below it exactly (it never quite does, and that is the
   line). Nothing to match means nothing to see. */
.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%);}
.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{to{transform:translate(-30%,25%) scale(1.15);}}
.wy-bg::after{content:"";position:absolute;inset:0;opacity:.035;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");}
@media (prefers-reduced-motion:reduce){.wy-bg::before{animation:none;}}
/* the gallery sits under the fade rather than a screen's centre below it */
.gl .gl-pin{justify-content:flex-start;padding-top:120px;}
.wy-top{margin-bottom:72px;align-items:start;}
.wy .sec-note-w{margin-top:60px;}
.wy-more{display:inline-block;margin-top:14px;color:var(--aqua);font-weight:600;}
.wy-grid{list-style:none;margin:0;padding:0;display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));gap:64px 24px;}
.wy-i{display:flex;flex-direction:column;align-items:center;text-align:center;gap:20px;}
.wy-ic{width:64px;height:64px;color:var(--aqua);}
.wy-ic svg{width:100%;height:100%;display:block;}
.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) * 60ms);}
.wy.anim.lit .wy-t{transition-delay:calc(var(--i) * 60ms + 140ms);}
@media (max-width:1080px){.wy-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media (max-width:640px){.op .rl{grid-auto-columns:82%;gap:18px;}
  .rl-btn{width:48px;height:48px;}}
/* one column and the line break kept, for icontier.py's reason:
   hiding the break joined the words either side of it */
@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.anim .wy-ic,.wy.anim .wy-t{opacity:1;transform:none;}}

/* THE NUMBERS. The home bento, with this page's figures. */
.sv-words{padding:40px 0 8px !important;}
.nb{padding:72px 0 120px;}
.nb .sec-note-w{margin-top:60px;}
.nb .bx-sect li a{color:inherit;}

@media (max-width:1080px){
  .rl{grid-auto-columns:calc((100% - 28px) / 2);}

}
/* ============ MATT'S PASS OF 25 NOVEMBER, THE SPACING AND THE CHEVRONS ==
   Five notes, all of them about air or about which side a run sits on.
   Every rule is scoped to body.svcpage so nothing here reaches another
   page, and every one carries html body so it cannot lose a specificity
   argument to the sheets that come after this one. */

/* "More space under the 6 verticals." The six end on a stat row and the
   chevron run started immediately under it, so the block had no bottom. */
html body.svcpage #services{padding-bottom:120px;}

/* "can we move the chevrons to animating on the opposite side (right)."
   This run had no rule of its own at all, so it sat wherever a flex row
   leaves things, which is hard left. Right, and still flush with the
   content column rather than at a percentage, which is the standing
   rule for chevrons and what chevanchor.py exists to enforce. */
html body.svcpage .chevs.chev-q{
  display:flex;
  justify-content:flex-end;
  width:100%;
  max-width:var(--max-w,1332px);
  margin-left:auto;
  margin-right:auto;
  padding-right:calc(var(--gut,32px) + 239px);
}

/* "Where should this chevron be attached too?" Nowhere, was the honest
   answer: it had 96px above it and 160px below, which is a stripe in a
   void rather than a mark on an edge. A run reads as the opening mark of
   what comes after it, and chevanchor.py already assumes that, since its
   one rule gives the block AFTER a chevron band 34px of padding-top. So
   the run goes onto the top edge of Approvals and all the air moves
   above it, which is also what makes the right alignment read: it is the
   top right corner mark of that block now, not a stripe in a gap. */
html body.svcpage .certs{
  margin-top:0;
  padding-top:34px;
}

/* "Bit more space above 'wrapped all around us'", which is the block
   whose eyebrow now reads One partner, end to end. */
html body.svcpage #partner{padding-top:104px;}

/* "More spce above the 'by the number' section." */
html body.svcpage #numbers{padding-top:104px;}

/* The Why Cornelius head is a gocta-row now, so the heading and the call
   to action sit on one line the way they do on every other section that
   has one. The old .wy-more is gone from the markup; this stops it
   coming back by accident. */
html body.svcpage .wy-top .sec-note-w{display:none;}

/* ============ THE OVERLAP REVEAL (Matt, 25 November) ===================
   "the next block slides up over the one above it as you scroll, so they
   overlap rather than sit end to end."

   WHICH TWO BLOCKS. The one he photographed: the numbers bento, and the
   One group / True integration section under it. #numbers + .dg names
   that join and only that join, which matters because there are two .dg
   sections on this page and the other one is up by the partner block.

   MEASURED FIRST, BECAUSE THE SLACK DECIDES THE DISTANCE. The last bento
   card ends at 15382 and the section below starts at 15451, so there are
   69px of genuinely empty space between them and 199px between the card
   and the next heading. Pull the lower section up further than that
   slack and it stops being an overlap and starts covering a card. So the
   bottom padding comes down first and the travel is 64px, which lands
   the new top edge below the bento rather than on it.

   IT IS A REAL OVERLAP, NOT A SHADOW TRICK. The section gets its own
   solid ground, a radius on the top two corners and a shadow cast
   upwards, so it occludes what is behind it and reads as a sheet that
   has slid over the one above. No borders, per the standing rule: the
   edge is a radius over a colour and a shadow, not a line.

   THE MOVEMENT IS SCROLL-DRIVEN CSS, NOT A SCROLL LISTENER. view()
   ties the animation to the element's own travel through the viewport,
   so it costs nothing per frame and cannot drift. Browsers without it
   get the overlap and the radius with no slide, which is the same
   layout standing still, so nothing breaks and nobody sees a half
   finished effect. */
/* 64, not 40. The first try left 21px between the sheet's top edge
   and the bento above it, and on screen that reads as touching
   rather than overlapping. The reason the number lied is worth
   keeping: the bottom card overhangs its own section by 11px, so
   measuring the section's bottom edge says 32px of room where the
   ink says 21. Measured against the lowest ink instead, this leaves
   45px. */
/* AND THE BLOCK HAS TO FIT THE WINDOW, which is the other half of
   "the stuff above shouldn't dissapear out of the top". A pinned box
   taller than the scrollport is held at a NEGATIVE top offset, so the
   overflow is clipped off its head: at 1440 by 1000 the bento measured
   1,056 and 110px of bottom padding bought 56px of the heading being
   cut off while it was pinned. 48px brings it to 994, which fits, so
   the pin holds the whole block and nothing goes under the bar. */
html body.svcpage #numbers{padding-bottom:48px;}

/* THE BLOCK ABOVE HOLDS WHILE THE SHEET CLIMBS. Matt: "The 6 block is
   not sticking - the scroll over is not scrolling enough." It was a
   slide and not a pin, and 96px of travel reads as neither.

   I WROTE bottom:0 FIRST AND IT DID NOTHING, which is worth recording
   because it looks like it should work. The bento is 1,056px tall
   against a 1,000px viewport, and for a box taller than the scrollport
   a bottom offset never engages: the browser has no room to hold it
   there. Measured at the same scroll position, bottom:0 left it at 664
   and top:-56px put it at exactly 1000, pinned.

   SO THE OFFSET IS THE VIEWPORT LESS THE BLOCK'S OWN HEIGHT, which
   pins its last screenful whatever the window is doing. CSS cannot
   say "100% of myself", so the height is written in, and it was
   measured rather than guessed because this block restacks: 1,056 from
   1,281px up, 1,072 between 1,081 and 1,280, and 1,468 below that. A
   few pixels of error just sits the bottom edge that far off the
   viewport floor, which nobody can see; a wrong band would unpin it
   entirely, which anyone would. */
html body.svcpage .ovl-pin{position:relative;}
/* THE OFFSET IS THE SMALLER OF TWO THINGS, and the second one is why
   the first attempt read as a mess. 100vh - its own height holds the
   block's LAST screenful, which is right for home, where the six
   verticals are three screens tall. This block is 994px against a
   1,300px window, so the same sum gave it a +306px offset: the bento
   floated at the foot of the window with a band of nothing above it,
   and then the sheet climbed into that band and sliced the heading in
   half. min() takes 96px whenever the block fits the window, which
   holds it under the bar with the whole block on screen, and falls
   back to the negative offset only when the block really is taller
   than the window. 96 is the fixed bar's 80 plus the air the rest of
   the site leaves under it. */
html.svco-on body.svcpage .ovl-pin > #numbers{
  position:sticky;
  top:min(96px, calc(100vh - var(--svc-oh)));
  z-index:0;
}

/* THE SHEET IS THE SITE'S OWN SHEET. 36px, the shadow cast upwards, its
   own ground, straight off rollover.py and hero.py's sh2. It needs the
   ground because the band is transparent over the body's gradient
   everywhere else on the page, and a transparent sheet over a pinned
   block shows the pinned block through it. */
/* AND THE SHEET HAS TO BE AT LEAST AS TALL AS WHAT IT COVERS, which is
   the second thing that made this read as a mess and it is arithmetic
   rather than taste. A sticky box can only be held while it is inside
   its containing block, so the pin lasts exactly (wrapper height less
   its own height), which here is the sheet's height and nothing else:
   838px. To cover the block it has to climb the block's own height,
   994px. 838 is less than 994, so the pin died 156px short and the
   sheet finished the journey as ordinary scroll, slicing the heading in
   half on the way past. Neither number depends on the window, so the
   condition is simply that the sheet is the taller of the two: min
   height is the measured block plus a little, and the sheet is covered
   before the pin lets go. The extra lands as air under the tree, which
   is the quietest place on the page for it. */
html.svco-on body.svcpage #numbers + .dg{
  min-height:calc(var(--svc-oh) + 24px);
}
html body.svcpage #numbers + .dg{
  position:relative;
  z-index:5;
  background:radial-gradient(1000px 500px at 50% -100px,
    rgba(0,238,204,.05),transparent 60%),#0b0f2e;
  border-radius:36px 36px 0 0;
  box-shadow:0 -30px 90px rgba(0,0,0,.33);
}

/* A phone has no room to give away, so the overlap is smaller and the
   slide shorter. The radius stays: it is what says these are two sheets
   rather than one column of text. */
@media (max-width:900px){
  html body.svcpage #numbers{padding-bottom:56px;}
  html.svco-on body.svcpage .ovl-pin > #numbers{position:static;top:auto;}
  html body.svcpage #numbers + .dg{border-radius:28px 28px 0 0;}
}

/* Somebody who has asked their machine to stop moving things gets the
   overlap and none of the travel. */
@media (prefers-reduced-motion:reduce){
  html.svco-on body.svcpage .ovl-pin > #numbers{position:static;top:auto;}
}

/* "Then this bg join is not needed." joins.py lays a 150px gradient of
   the upper band's colour over the lower one wherever an .alt section
   meets a plain one, which turns thirty hard seams across the site into
   a change of tier and is right nearly everywhere. It is wrong at the
   foot of this page: the call to action is a card floating on the
   ground, not a band, so the gradient draws a line across the full
   width above a card that does not reach either edge, and the eye reads
   the line rather than the card. Off here, and only here: the rule
   itself stays doing its job on the other twenty-nine joins. */
html body.svcpage section.alt + section#contact{
  background-image:none;
}

@media (max-width:760px){
  html body.svcpage #services{padding-bottom:80px;}
  html body.svcpage .certs{padding-top:26px;}
  html body.svcpage #partner,
  html body.svcpage #numbers{padding-top:72px;}
}

