
/* 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 outline type behind the words band (ghosttype.py) ===== */
html body #story{position:relative;overflow:clip;}
html body #story > .wrap{position:relative;z-index:1;}
html body #story .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 #story .ghx{font-size:clamp(76px,20vw,150px);
    -webkit-text-stroke-width:1.2px;}
}
@media (prefers-reduced-motion:reduce){
  html body #story .ghx{translate:0 -50%;will-change:auto;}
}
