
/* ===== 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 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. */


/* ===== one chip on a picture (chipmark.py) ===== */
/* Matt, 21 October: "Let's do new A please." The label brings
   its own ground, so it is 12.6 : 1 on every photograph rather
   than 1.4 : 1 on the pale ones. Where the chip SITS is each
   rail's own business and is not set here. */
html body .rl-tag{background:var(--aqua,#00eecc);color:#0b0f2e;border-radius:999px;padding:7px 14px 5px;font-size:11px;font-weight:700;letter-spacing:1.6px;text-transform:uppercase;line-height:1.25;}
