/* =====================================================================
   HAZLEWOOD DATA SPHERE  (.hz-sphere)
   Needs web/hazlewood-web.css on the page. Signed off by Michael on 13 November 2026. Sits in the visual slot of a
   feature split on navy. The globe is drawn on a canvas by hz-sphere.js,
   on the dot lattice; the field names are a visually hidden list beside it.
   Literal values left: the stage's largest size and bleed, the 1024 and
   1280 breakpoints in media queries.
   ===================================================================== */
.hz-sphere{position:relative;min-width:0}
.hz-sphere__stage{
  /* dot colour, set by data-colour on the stage */
  --hz-sphere-dot:var(--hz-aqua);
  /* tag style: raised navy chip, white word, a 1px edge in the group's dark chart step */
  --hz-sphere-tag-radius:999px;--hz-sphere-tag-weight:var(--hz-web-body-weight);
  --hz-sphere-tag-metric:var(--hz-chart-on-dark-1);--hz-sphere-tag-company:var(--hz-chart-on-dark-2);--hz-sphere-tag-fund:var(--hz-chart-on-dark-3);
  position:relative;width:min(100%, 520px);aspect-ratio:1;margin-inline:auto;font-family:var(--hz-font-sans)}
.hz-sphere__stage[data-colour="pale"]{--hz-sphere-dot:var(--hz-pale-blue)}
.hz-sphere__stage[data-colour="white"]{--hz-sphere-dot:var(--hz-white)}
.hz-sphere__stage[data-colour="mix"]{--hz-sphere-dot:color-mix(in oklab, var(--hz-pale-blue) 70%, var(--hz-white))}
.hz-sphere__stage[data-corner="control"]{--hz-sphere-tag-radius:var(--hz-radius-control)}
.hz-sphere__stage[data-corner="6"]{--hz-sphere-tag-radius:6px}
.hz-sphere__stage canvas,.hz-sphere__drift{image-rendering:pixelated}
.hz-sphere__stage canvas{position:absolute;inset:0;width:100%;height:100%}
.hz-sphere__caption{font-size:var(--hz-web-heading-size);line-height:var(--hz-web-heading-leading);font-weight:var(--hz-web-heading-weight);letter-spacing:var(--hz-web-heading-tracking);color:var(--g-text);margin:0 0 var(--hz-stack-web)}
.hz-sphere[data-caption="hidden"] .hz-sphere__caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:0}

/* The drift: the globe's dots settling as a field between the text and the globe, from 1024px.
   It is a canvas over the whole section, behind the content. */
.hz-feature:has(.hz-sphere){position:relative;isolation:isolate}
.hz-sphere__drift{display:none;position:absolute;inset:0;z-index:-1;width:100%;height:100%;pointer-events:none}
@media (min-width:1024px){.hz-sphere__drift{display:block}}

/* Bleed: from 1280px the globe grows past its column and runs off the band's right edge, as on the site */
@media (min-width:1280px){
  .hz-feature:has(.hz-sphere[data-bleed="on"]){overflow:clip}
  .hz-sphere[data-bleed="on"] .hz-sphere__stage{width:min(140%, 760px);margin:-6% 0 -6% 0}
}
@media (forced-colors:active){.hz-sphere__stage canvas,.hz-sphere__drift{display:none}.hz-sphere .hz-sphere__tags{position:static;width:auto;height:auto;clip-path:none;white-space:normal}}
