
/* THE HEAD ROW SPANS THE WRAP, AND IT IS WRITTEN WITH THE ID. .sec-top
   is a twelve column grid and .sec-head is capped at the 760px
   standfirst measure, so a head row carrying a right hand link needs
   both declarations: lifting the cap alone leaves the link in the
   middle of the page with the heading wrapping out of its way. Same two
   the proof tier and the process tier needed, which is three times now.

   Measured on the six verticals with this written as a class: the row
   came out 568px short of the right edge while the other 40 pages were
   correct, because whtiers lifts home's whole stylesheet onto those
   pages scoped under #sectors, and an id beats any number of classes.
   Same cause as the eyebrows on 17 October and the knowledge card this
   morning. An id against an id, two classes against one. */
html body #sectors .sec-head.gocta-row{max-width:none;grid-column:1 / -1;}

/* AND THE SECTOR CELLS KEEP THEIR ROLL-OVER. Matt, 19 October, after
   asking for the process icons to lose theirs: "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."

   Both tiers are built from .wy-i, so the two had to be told apart, and
   the honest place to do it is here: this sheet travels with the sector
   grid and reaches all 46 pages that carry it, where icontier's sheet
   only reaches the ones that also have a process tier. Written there
   first and 20 pages refused the build for having a sector grid with no
   hover on it.

   AND THE DIFFERENCE IS REAL. A sector cell is an anchor to that
   sector's page. A process cell goes nowhere, so a roll-over on it was
   inviting a click that does nothing.

   The scale rule is repeated at four classes because the reveal sets
   transform:none at four and would otherwise win once the tier has
   lit: measured on 6 October by reading the computed transform before
   and after a real hover, which is the only way this one shows. */
html body .wy.ind-tier .wy-i{
  transition:background .3s ease,transform .3s cubic-bezier(.22,1,.36,1);}
html body .wy.ind-tier .wy-i:hover{background:rgba(255,255,255,.05);
  transform:translateY(-4px);}
html body .wy.ind-tier .wy-ic{
  transition:transform .35s cubic-bezier(.22,1,.36,1),filter .35s ease;}
html body .wy.ind-tier .wy-i:hover .wy-ic{transform:scale(1.08);
  filter:drop-shadow(0 0 18px rgba(0,238,204,.45));}
html body .wy.ind-tier.anim.lit .wy-i:hover .wy-ic{transform:scale(1.08);}

/* ========= the sectors, out of the bento and into a tier =============== */
/* .chip ON ITS OWN IS THE LIGHT CHIP. It is background:var(--surface) and
   color:var(--ink), which on the certifications bar is overridden and on
   this dark ground is not: the first version of this tier came out as
   fourteen near-white pills with navy text, loud enough to pull the eye off
   the heading. The certs bar gets its look from .certs .chip, so the class
   alone carries the light palette and nothing else.

   Third time a token has meant two things on this project, after --e1 and
   --body, so these are literals: rgba(255,255,255,.07) is the resting
   surface the nav buttons use, and the hover is the aqua the current-sector
   chip uses on the industry pages. Same two values, now on a third
   component, rather than a fourth invention. */
/* THE TIER CARRIES THE GAP BECAUSE THE SECTION BELOW IT HAS NONE. #supply
   is padding:0 and leans on whatever came before it. The first version of
   this tier closed on 27px and put fourteen chips 27px under the next
   eyebrow; the page's own rhythm, measured on #proof, is 118 top and 120
   bottom. Same clamp as the process block, so the tier joins the rhythm
   rather than setting its own. */
/* AND THEN THE TWO ENDS STOPPED MATCHING. Matt, 8 October: "the gap above
   the tier maybe needs tighten as it gets higher it's a bit big, also the
   gap underneath feel tight, maybe make that bigger so the blend is
   smoother, OR maybe have the blend behind the map."

   Both ends were tied to the page's own 118/120 rhythm, which was right
   when the tier sat between two ordinary bands. It does not any more. Above
   it the tier arrives on a 36px curve that slides over the band before it,
   so the first thing under that curve is empty ground and 132px of it on a
   tall window reads as a hole rather than as air. Below it the map now
   fades up through the tier's own ground, and a fade needs room: 120px was
   the whole of it, so the land was still arriving as the heading started.

   So the two ends are no longer the same number, and they should not be.
   Tighter above, 64 to 92, because the curve is doing the work the padding
   used to. Twice as much below, 120 to 190, which is where Matt's other
   idea lands by itself: the map's SVG already starts 58px above this tier's
   bottom edge, so lengthening the bottom puts more of the tier's ground
   over the top of the map and the blend finishes behind it.

   BIGGER AGAIN, AND THE GROUND STAYS SOLID. Matt, 8 October: "this gap
   bigger again please", then, on the next pass, "I still want the map in
   front of the bg from the tier above. Don't block any of the map."

   For one build this tier's ground was a gradient that dissolved over its
   last 170px, so the map underneath could show through. That was the wrong
   half of the problem: it made this band fade instead of bringing the map
   forward, which is what Matt had asked for twice. The map now paints OVER
   this tier (mapfade.py), so there is nothing left for a dissolve to
   uncover and the ground is solid again.

   The padding stays at the bigger number, which Matt asked for on its own
   merits. It also still earns its keep: the map bleeds 148px up into this
   tier, and that bleed needs to land on empty ground rather than on the
   icons. */
html body .wy.ind-tier{padding:clamp(64px,6.5vh,92px) 0 clamp(150px,17vh,250px);}
.ind-tier .sec-top{margin-bottom:54px;}

/* SEVEN ACROSS, NOT THE COMPONENT'S FIVE. Fourteen into five is 5, 5 and 4,
   which leaves a short last row and a hole where the eye expects a sector.
   Fourteen into seven is two full rows. The breakpoints keep that honest:
   four and then two, both of which divide fourteen without an orphan. */
html body .sect-grid{grid-template-columns:repeat(7,minmax(0,1fr));
  gap:44px 18px;}
/* the li is the grid cell, the anchor fills it, so .wy-i keeps the
   component's own hover and the li keeps --i for the stagger */
html body .sect-grid > li{display:flex;}
html body .sect-grid .wy-i{flex:1;text-decoration:none;gap:16px;}
html body .sect-grid .wy-t{font-size:15px;}
@media (max-width:1080px){
  html body .sect-grid{grid-template-columns:repeat(4,minmax(0,1fr));
    gap:38px 16px;}
}
@media (max-width:640px){
  html body .sect-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}

/* the AS9100D box reads standard first, status second (industries.py).
   The UL box took the same shape when it stopped being a figure, so it
   takes the same rule rather than a second copy of it. */
html body .bx-a .bx-t,html body .bx-e .bx-t{font-size:clamp(38px,3.4vw,54px);font-weight:900;
  letter-spacing:-1.4px;line-height:1.02;}
html body .bx-a .bx-word,html body .bx-e .bx-word{font-size:17px;font-weight:700;letter-spacing:.14em;
  line-height:1.2;}


/* ===== printed and fabricated parts (deck.py) ========================= */
/* One column until there is a picture to put beside the words, so an
   empty frame never reserves half a band. .sis-art-on is only on the
   section when deck.SISTER_ART names a file. */
.sis .sis-grid{display:grid;grid-template-columns:minmax(0,1fr);}
/* MATT, 5 NOVEMBER: "they are a bit big too tight to the content too".
   The art column was 46% with a 48px gutter, so the pictures were
   nearly half the band and the bottom left float hung back across the
   gutter into the last line of the paragraph. 38% and 96px: the art
   is a column beside the writing rather than a second half of it, and
   the float's overhang now lands in gutter instead of in text. */
.sis.sis-art-on .sis-grid{grid-template-columns:minmax(0,1fr) minmax(0,38%);
  gap:96px;align-items:center;}
/* THE FRAMES AND THE DRIFT ARE WORDSART'S, the geometry is this
   block's. Same 20px and 16px radii, same frame ground, same shadow
   values, same --p the script up the page already sets: the selector
   in wordsart's own listener now takes .sis .wa-art too, so there is
   one parallax engine on the page rather than two. */
/* THE BLOCK BRINGS ITS OWN TYPE. It used to inherit it from the
   .sh2-sheet wrapper the service pages put it inside, and on
   services.html, about and capabilities it lands OUTSIDE that
   wrapper, where the heading lost its 48px, the lede dropped from
   19px to the body's 16 with no leading set, and the link to Design
   to Print came out white and unmarked. Measured on box build, where
   it was already right, and written here so the component carries it
   on any page it is placed. Same values, so nothing moves where it
   already looked correct. */
.sis .sec-head{margin-bottom:48px;}
.sis .lede{font-size:19px;line-height:1.65;margin-bottom:16px;
  color:rgba(255,255,255,.74);}
.sis .lede a{color:#00eecc;text-decoration:underline;
  text-underline-offset:.18em;}
.sis .sis-art{position:relative;min-width:0;aspect-ratio:1.04;}
.sis .wa-art figure{margin:0;}
.sis .wa-art img{display:block;width:100%;height:100%;object-fit:cover;
  border-radius:20px;background:#0b0f2e;}
/* THE RADIUS GOES ON THE FIGURE AS WELL AS THE PICTURE. Matt, 5
   November: "is there a radius missing bottom left of the top right
   image?" There is, and it is the shadow rather than the picture. The
   image was rounded and the figure under it was not, so the shadow was
   drawn as a SHARP cornered rectangle behind a rounded picture. On
   three sides it falls on navy ground and nobody can see it; on the
   one corner that overlaps the main frame it reads as a square notch
   out of the rounded corner. Rounding the box the shadow is cast from
   fixes all four at once. */
.sis .wa-main{position:absolute;left:0;top:5%;width:100%;height:72%;
  border-radius:20px;box-shadow:0 38px 70px rgba(0,0,0,.46);
  will-change:transform;}
.sis .wa-s1{position:absolute;left:-13%;bottom:0;width:48%;height:31%;
  border-radius:16px;box-shadow:0 26px 48px rgba(0,0,0,.5);
  will-change:transform;}
.sis .wa-s2{position:absolute;right:-9%;top:0;width:42%;height:27%;
  border-radius:16px;box-shadow:0 26px 48px rgba(0,0,0,.5);
  will-change:transform;}
.sis .wa-s1 img,
.sis .wa-s2 img{border-radius:16px;}
/* THE TRAVEL, AT THIS BLOCK'S SCALE. wordsart draws -56, 95 and -138
   for a 1124px art box; this one is around 430, so all three are
   multiplied by the same 0.6 and rounded. The RATIOS are untouched,
   because the ratios are what make three pictures read as one group
   moving rather than as three pictures moving. */
.sis .wa-main{transform:translate3d(0,calc(var(--p,0) * -34px),0);}
.sis .wa-s1  {transform:translate3d(0,calc(var(--p,0) *  57px),0);}
.sis .wa-s2  {transform:translate3d(0,calc(var(--p,0) * -83px),0);}
@media (max-width:900px){
  .sis.sis-art-on .sis-grid{grid-template-columns:minmax(0,1fr);gap:28px;}
  /* three overlapping pictures in a phone's width is a pile rather
     than a composition, which is the call wordsart already made. */
  .sis .sis-art{aspect-ratio:auto;}
  .sis .wa-main{position:static;width:100%;height:auto;}
  .sis .wa-main img{height:auto;aspect-ratio:4/3;}
  .sis .wa-s1,
  .sis .wa-s2{display:none;}
}
@media (prefers-reduced-motion:reduce){
  .sis .wa-main,
  .sis .wa-s1,
  .sis .wa-s2{transform:none !important;}
}
