/* Offline-lit 3D glyph sculptures. Desktop footprint: 1.3 × 1.2 original. */
#philosophy .approach-glyph{position:relative;display:block;flex:none;width:clamp(172.5px,20vw,287.5px);aspect-ratio:1;max-width:none;contain:layout style;isolation:isolate;--glyph-filter:brightness(0) saturate(100%) invert(16%) sepia(90%) saturate(2600%) hue-rotate(222deg) brightness(65%) contrast(120%) drop-shadow(-.9px -1.2px 0 #fff) drop-shadow(.8px 1.6px .3px rgba(8,17,66,.7));}
.approach-glyph>img,.approach-glyph>canvas{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none;}
.approach-glyph>canvas[hidden]{display:none;}
/* The ink used to be a `filter` on .approach-glyph itself. Measured on a
   scrolling page, that filter is re-run for the whole element on every
   composited frame, not only when the canvas changes: it cost 3.2% dropped
   frames through #philosophy and a 68.7ms worst frame through #process, with
   the renderer GPU-bound while CPU layout and paint stayed idle.
   The chain now runs inside the canvas instead -- once per drawn pose (<=30Hz)
   and on a surface the size of the element's own pixel box, which is the same
   surface the compositor was filtering. That makes it pixel-identical rather
   than merely close: 0/255 maximum channel difference across every glyph, pose
   and breakpoint, measured by _qa/glyph-bake-check.html.
   --glyph-filter is the single definition of the chain. The canvas reads it
   from here, so the mobile variant above needs no second copy in JS; the
   poster <img> applies it directly; and a browser without Canvas2D ctx.filter
   is marked data-filter="css" and gets the old element-level behaviour back. */
.approach-glyph>img{filter:var(--glyph-filter,none);}
.approach-glyph[data-filter="css"]{filter:var(--glyph-filter,none);}
.approach-glyph[data-filter="css"]>img{filter:none;}
.approach-glyph.is-playing>img{visibility:hidden;}
.approach-icon-pulse{display:block;flex:none;border:0;padding:0;margin:0;background:transparent;color:inherit;cursor:pointer;border-radius:18px;touch-action:manipulation;}
.approach-icon-pulse:focus-visible{outline:2px solid #fff;outline-offset:5px;}
/* Cobalt ink with a fine upper highlight and offset depth shadow.
   The baked glyph density/opacity still carries the sculpture's lighting. */
@media (min-width:769px) and (hover:hover),(min-width:769px) and (pointer:fine),(min-width:769px) and (orientation:landscape),(min-width:769px) and (min-width:1367px){#philosophy .approach-glyph{width:clamp(269.1px,31.2vw,448.5px);}
 #philosophy .approach-glyph[data-glyph="identity"]{width:clamp(215.28px,24.96vw,358.8px);}
}
@media (min-width:769px) and (max-width:1180px) and (hover:hover),(min-width:769px) and (max-width:1180px) and (pointer:fine),(min-width:769px) and (max-width:1180px) and (orientation:landscape),(min-width:769px) and (max-width:1180px) and (min-width:1367px){#philosophy .approach-glyph{width:clamp(214.5px,27.3vw,321.75px);}}
@media (min-width:769px) and (max-width:1180px) and (hover:hover),(min-width:769px) and (max-width:1180px) and (pointer:fine),(min-width:769px) and (max-width:1180px) and (orientation:landscape),(min-width:769px) and (max-width:1180px) and (min-width:1367px){#philosophy .approach-glyph[data-glyph="identity"]{width:clamp(171.6px,21.84vw,257.4px);}}
/* Wider box on mobile so the section uses more of the screen (Cosmo, 15 Oct 2026).
   The ink chain is the shared --glyph-filter: the white pool behind the glyph is the
   section's bloom in hero/code-taste.css, not a per-glyph shadow. */
@media (max-width:768px),(hover:none) and (pointer:coarse) and (orientation:portrait) and (max-width:1366px){#philosophy .approach-glyph{width:clamp(126px,40vw,196px);}}
@media(prefers-reduced-motion:reduce){.approach-glyph>canvas{display:none!important;}.approach-glyph.is-playing>img{visibility:visible;}}
/* Process section glyphs: dark ink on the cream cards, so no colour filter (the
   rocket's gold flame cells keep their own colour). Explicit box, because the
   shared img/canvas rule above is absolute-positioned. */
/* Wider than the flat icons these replaced, because the baked artwork carries
   its own margin: it covers about 84% of the square it is drawn in, so a box
   matched to the old icon renders visibly smaller than the old icon did.
   The sizes below are the old ones divided by that coverage, which puts the
   visible mark back at its previous optical size and near the approach
   section's 359px. The media column is 386px, so it still fits. */
/* Sized off its own column, not the viewport, so the share the grid gives it is
   what decides the width and it can never overflow the card.
   Each sculpture sits off-centre inside its own square by a little, because
   the slack to its left and right is not equal: measured from the baked pose
   data, shards 7.6/5.1, folding net 10.1/11.4, rocket 22.8/22.8. --art-nudge
   is half that difference, which puts the visible mark's centre on the
   element's centre so centring the element centres the artwork.
   Re-measure if a glyph is re-baked. */
/* Stacked zero-offset shadows, because the colour was never the problem. This
   material is small characters with gaps between them, drawn at partial alpha,
   so no choice of ink makes a dense mark: measured against the card, the gold
   came out at 1.61:1 whether it was bright or near-brown. Each shadow lays
   another pass of the same shape over itself, which is the only thing that
   builds density without touching the artwork. Measured at this ink: three 1.97, four 2.29, five 2.66, six 2.75.
   Five is the landing point; a darker ink hit 4.27 and read as brown. The approach section buys the same density with
   brightness(0), but that flattens every pixel to one colour and would take
   the rocket's orange exhaust with it. */
#process .approach-glyph.pw-glyph{position:relative;display:block;flex:none;width:min(100%,455px);aspect-ratio:1;max-width:none;margin:0 auto;contain:layout style;isolation:isolate;--art-nudge:0%;transform:translateX(var(--art-nudge));
  --glyph-filter:drop-shadow(0 0 .5px rgba(168,130,31,.95)) drop-shadow(0 0 .5px rgba(168,130,31,.75)) drop-shadow(0 0 1.2px rgba(168,130,31,.4));}
/* The click pulse wraps the glyph in a button at runtime. That button lands in
   .pw-visual, a grid with place-items:center, so it shrinks to fit its content
   while the glyph inside sizes to 100% of it: each waits on the other and the
   icon collapses to nothing. Stretching the button breaks the circle. */
#process .approach-icon-pulse{width:100%;}
#process .pw-glyph[data-glyph="shards"]{--art-nudge:-1.25%;}
#process .pw-glyph[data-glyph="shape"]{--art-nudge:0.65%;}
/* The rocket used to fill only about 54% of its square against the shards' 87%
   and was CSS-scaled 1.08 to compensate. It was re-baked larger instead
   (13 October 2026). The first re-bake chased the brief's "roughly square"
   target and got there by shortening the hull and spreading the fins, which
   read as squashed: 57 x 66 cells, ratio 0.86. Re-baked again on 14 October to
   restore the proportions, at TOTAL 1.20, BODY .25, fin reach .580 and
   presentation scale 1.24. It is now 46 x 67 cells, ratio 0.69, against the
   original's 42 x 67 and 0.63. Same height as before, about 10% wider, which is
   the compensation the deleted scale(1.08) was providing. Measured slack is
   even at 16 cells each side, so it needs no --art-nudge either. */
@media (max-width:768px),(hover:none) and (pointer:coarse) and (orientation:portrait) and (max-width:1366px){#process .approach-glyph.pw-glyph{width:min(100%,286px);}}

/* Mobile cobalt is painted directly into animated marks, avoiding Safari filter differences. */
@media (max-width:768px),(hover:none) and (pointer:coarse) and (orientation:portrait) and (max-width:1366px){
 #philosophy .approach-glyph{--glyph-filter:brightness(0) saturate(100%) invert(20%) sepia(100%) saturate(2700%) hue-rotate(205deg) brightness(85%) contrast(110%);}
 #philosophy .approach-glyph.is-playing[data-filter="css"]{filter:none;}
}
