
/* THE SHORING BLOCK (shoring.py). Three cards, not four, so .hubg's own
   four column rule is overridden and nothing else about the card changes.
   The two breakpoints below are .hubg's own, restated because a bare
   repeat(3,1fr) would otherwise still be three columns at phone width.

   AND THE CARD'S OWN SPAN HAS TO GO WITH IT, which cost a build to find.
   .hubc carries grid-column:span 4 from the V6 twelve column stylesheet,
   where the hub tier is .hub-grid at repeat(12,1fr) and a card is four of
   those twelve. That rule is on the class, not on the context, so it
   applies inside .hubg as well; it does no harm on the knowledge pages
   because they do not link the V6 sheet, but services.html does. Dropped
   into three tracks, every card asked for four, grew an implicit fourth
   track and spanned the lot, so the tier rendered as three full width
   bands and looked, at a glance, like a design decision. Setting the span
   back to auto here is narrower than touching a rule four other
   components depend on. */
.hubg.hubg-3{grid-template-columns:repeat(3,1fr);}
html body .hubg.hubg-3 > .hubc{grid-column:auto;}
@media (max-width:1180px){ .hubg.hubg-3{grid-template-columns:repeat(2,1fr);} }
@media (max-width:900px){ .hubg.hubg-3{grid-template-columns:1fr;} }


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


/* ===== one eyebrow, and the counter level with it (railhead.py) ===== */
/* The row is align-items:flex-end, and flex-end aligns MARGIN boxes
   rather than visible edges. The heading carries 48px of --s5 underneath
   it on thirteen of the fifteen rails, so the counter was lining up with
   the bottom of that margin and reading 48px low. Giving both children
   the same bottom margin makes the margin boxes end together, which
   makes the words and the counter end together. */
html body #gallery .gl-top > .sec-head,
html body #gallery .gl-top > .gl-meter{margin-bottom:var(--s5);}
