/* scroll-fx.css — styles for assets/scroll-fx.js (GSAP ScrollTrigger layer).
   Every rule here is inert unless the script adds the classes / elements, so the page
   looks exactly as before if JS, GSAP or motion is unavailable. */

/* 1. services: a gold line that draws down the column divider (left edge on one-column layouts) */
.svc{position:relative}
.svc__line{
  position:absolute;top:-1px;left:50%;width:2px;margin-left:-1px;
  background:linear-gradient(#f0d68a,#f0d68a 70%,rgba(240,214,138,.4));
  box-shadow:0 0 16px rgba(240,214,138,.55),0 0 2px #fff;
  transform:scaleY(0);transform-origin:50% 0;pointer-events:none;z-index:3;will-change:transform;
}
.svc__line.is-edge{left:-1px;margin-left:0}
.svc article .n{transition:color .45s}
.svc article .n::before{content:"";display:inline-block;width:7px;height:7px;margin-right:10px;border-radius:50%;background:currentColor;opacity:.35;vertical-align:1px;transition:opacity .45s,transform .45s,box-shadow .45s}
.svc article.is-lit .n{color:#f0d68a}
.svc article.is-lit .n::before{opacity:1;transform:scale(1.25);box-shadow:0 0 12px #f0d68a}

/* 2. headings: the italic word fills in as the heading scrolls through the viewport */
.fx-fw{
  background-image:linear-gradient(90deg,currentColor var(--f,0%),rgba(255,255,255,.2) calc(var(--f,0%) + 1%));
  background-image:linear-gradient(90deg,currentColor var(--f,0%),color-mix(in srgb,currentColor 22%,transparent) calc(var(--f,0%) + 1%));
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;
}

@media (prefers-reduced-motion:reduce){
  .svc__line{display:none}
  .fx-fw{background:none;-webkit-text-fill-color:currentColor}
}
