/* First Win motion kit v1: styles. Everything is scoped to html.fx, which fx.js adds only when motion is allowed. */
:root { --fx-accent: #c98a00; --fx-ease: cubic-bezier(.16, 1, .3, 1); }

/* headline word-mask rise */
html.fx .fx-w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .14em; margin: 0 -.06em -.14em; }
html.fx .fx-w > span { display: inline-block; transform: translateY(112%); will-change: transform; }
html.fx .fx-lines.in .fx-w > span { transform: none; transition: transform 1.15s var(--fx-ease); transition-delay: calc(var(--wi, 0) * 55ms); }

/* settle */
html.fx .fx-settle { letter-spacing: .03em; }
html.fx .fx-settle.in { letter-spacing: inherit; transition: letter-spacing 1.5s var(--fx-ease); }

/* curtain */
html.fx .fx-curtain { clip-path: inset(0 0 100% 0); }
html.fx .fx-curtain.in { clip-path: inset(0); transition: clip-path 1.2s var(--fx-ease); }
html.fx .fx-curtain > img, html.fx .fx-curtain > picture img { transform: scale(1.16); }
html.fx .fx-curtain.in > img, html.fx .fx-curtain.in > picture img { transform: none; transition: transform 1.6s var(--fx-ease); }

/* scroll hairline */
.fx-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--fx-accent); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; z-index: 5; }
body > .fx-prog { position: fixed; top: 0; bottom: auto; z-index: 100; }

/* nav ink */
.fx-ink { position: absolute; left: 0; top: 0; height: 2px; width: 0; border-radius: 2px; background: var(--fx-accent); opacity: 0; pointer-events: none;
  transition: transform .5s var(--fx-ease), width .5s var(--fx-ease), opacity .3s; }

/* parallax: uses the independent `translate` property, so it composes with an element's own transform/animation */
html.fx [data-fxpar] { translate: var(--fx-px, 0px) calc(var(--fx-py, 0px) + var(--fx-pyy, 0px)); will-change: translate; }

/* pointer light on tilt/spot targets */
html.fx .fx-spot { position: relative; }
html.fx .fx-spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--fx-glow, rgba(255,255,255,.18)), transparent 62%); }
html.fx .fx-spot.fx-live::before { opacity: 1; }

/* gradient text: the gradient lives on each word's inner span */
html.fx .fx-clip { background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important; color: inherit !important; }
html.fx .fx-clip .fx-w > span { background-image: var(--fx-bg); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Lenis (only present when data-smooth="1") */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* instant navigation feedback */
.fx-load { position: fixed; left: 0; top: 0; height: 3px; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: var(--fx-accent); z-index: 2147483000; pointer-events: none; opacity: 0; box-shadow: 0 0 10px var(--fx-accent); }
html.fx-loading .fx-load { opacity: 1; transform: scaleX(.28); animation: fx-load 9s cubic-bezier(.1, .6, .2, 1) forwards; }
@keyframes fx-load { from { transform: scaleX(.28); } to { transform: scaleX(.9); } }
html.fx a.fx-pending { border-color: var(--fx-accent) !important; }
.fx-ink.fx-pulse { animation: fx-pulse .8s ease-in-out infinite; }
@keyframes fx-pulse { 50% { opacity: .35; } }
