/* Premium effects v2 (t115u: lighter). Scoped under html.fx, which an inline <head> script sets only when the visitor
   has NOT asked for reduced motion. Only transform + opacity are animated; no scroll hijacking. */
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.fx-pre-o{display:none}
html.fx-pre .fx-pre-o{display:flex;position:fixed;inset:0;z-index:9999;background:var(--paper);color:var(--ink);align-items:center;justify-content:center;
  animation:fxPreOut .35s cubic-bezier(.7,0,.2,1) .6s forwards}
.fx-pre-o .fx-mark{position:relative;width:132px;height:132px;display:flex;align-items:center;justify-content:center}
.fx-pre-o svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}
.fx-pre-o circle{fill:none;stroke:currentColor;stroke-width:1;stroke-dasharray:440;stroke-dashoffset:440;animation:fxDraw .6s cubic-bezier(.65,0,.35,1) forwards}
.fx-pre-o b{font-weight:500;font-size:34px;letter-spacing:-.04em;opacity:0;animation:fxFade .3s ease .05s forwards}
@keyframes fxDraw{to{stroke-dashoffset:0}}
@keyframes fxFade{to{opacity:1}}
@keyframes fxPreOut{to{transform:translateY(-100%);visibility:hidden}}
/* page transitions */
html.fx body{animation:fxIn .3s ease both}
html.fx-pre body{animation:none}
html.fx.fx-out body{opacity:0;transition:opacity .16s ease}
@keyframes fxIn{from{opacity:0}to{opacity:1}}
/* headline reveals: words rise in, line by line */
/* Padding expands the overflow:hidden mask so glyph overhang (tight tracking on
   .xxl/.xl: s, e, etc.) is not clipped. Negative margins cancel the extra box
   so wrapping, spacing, and the rise-in reveal stay the same. */
html.fx .fx-h .fw{display:inline-block;overflow:hidden;vertical-align:top;padding:.1em .2em .14em .1em;margin:-.1em -.2em -.14em -.1em}
html.fx .fx-h .fw>span{display:inline-block;transform:translateY(125%);transition:transform .8s cubic-bezier(.2,.7,.1,1);transition-delay:var(--d,0s)}
html.fx .fx-h.in .fw>span{transform:none}
/* image reveals: opacity + small rise (no clip-path, no image scaling during scroll) */
html.fx .fx-i{opacity:0;transform:translateY(28px);transition:opacity .8s ease,transform .9s cubic-bezier(.2,.7,.1,1)}
html.fx .fx-i.in{opacity:1;transform:none}
html.fx .fx-i.go{will-change:opacity,transform}
/* card hover zoom + circle cursor (fine pointers only; the native pointer stays visible) */
@media (hover:hover) and (pointer:fine){
  html.fx .card:hover .ph img{transform:scale(1.04)}
  .fx-cur{position:fixed;left:0;top:0;z-index:9000;pointer-events:none;width:84px;height:84px;margin:-42px 0 0 -42px;border-radius:50%;
    background:var(--ink);color:var(--paper);display:flex;align-items:center;justify-content:center;text-align:center;
    font:500 12px/1.1 'Geist',system-ui,sans-serif;letter-spacing:-.01em;opacity:0;transform:translate3d(-200px,-200px,0) scale(.2);
    transition:opacity .2s ease;will-change:transform}
  .fx-cur.on{opacity:1}
}
@media (prefers-reduced-motion:reduce){.fx-pre-o,.fx-cur{display:none!important}}
