/* SMWC kinetic layer. Decorative only: every node added here is
   aria-hidden, absolutely/fixed positioned (no layout shift), and removed or
   settled once its animation ends. Reduced motion: calm fades only. */
/* ===== SECTION FLASH CONFIG (v3) =====
   --kx-flash:0  -> section seam washes OFF everywhere (one-line kill switch)
   --kx-flash:1  -> soft scroll-tied wash at the seams listed in <html data-kx-cuts>
   --kx-flash-peak: max wash alpha at the exact seam (was a 100% solid frame)
   --kx-flash-span: viewports of scroll on EACH side of the seam the wash fades over */
:root{--kx-flash:1;--kx-flash-peak:.16;--kx-flash-span:1.4;
  --kx-wash-a:255,154,60;--kx-wash-b:226,177,90;--kx-wash-ink:255,190,120}
.kx-wash{position:fixed;inset:0;z-index:2147483000;pointer-events:none;display:flex;align-items:center;justify-content:center;overflow:hidden;
  opacity:0;visibility:hidden;will-change:opacity;
  background:linear-gradient(135deg,rgba(var(--kx-wash-a),var(--kx-flash-peak)),rgba(var(--kx-wash-b),calc(var(--kx-flash-peak) * .8)))}
.kx-wash.inv{background:linear-gradient(225deg,rgba(var(--kx-wash-b),var(--kx-flash-peak)),rgba(var(--kx-wash-a),calc(var(--kx-flash-peak) * .7)))}
.kx-wash b{display:block;box-sizing:border-box;max-width:100vw;padding:0 6vw;text-align:center;font-family:'Archivo',sans-serif;font-style:italic;font-weight:900;text-transform:uppercase;letter-spacing:-.04em;line-height:.9;
  color:transparent;-webkit-text-stroke:1.5px rgba(var(--kx-wash-ink),calc(var(--kx-flash-peak) * 2.2));white-space:normal;word-break:keep-all;text-wrap:balance;
  font-size:clamp(34px,calc(88vw / (var(--kx-n,7) * .7)),min(22vw,320px))}
@media(prefers-reduced-motion:reduce){.kx-wash{display:none!important}}
.kx-box{isolation:isolate;overflow-x:clip}
.kx-layer{position:absolute;left:0;right:0;z-index:-1;pointer-events:none;overflow:hidden;contain:strict}
.kx-ghost{position:absolute;top:-.06em;left:-.04em;margin:0;white-space:nowrap;font-family:'Archivo',sans-serif;font-style:italic;font-weight:900;
  text-transform:uppercase;letter-spacing:-.035em;line-height:.9;font-size:clamp(108px,27vw,340px);color:transparent;
  -webkit-text-stroke:1.5px rgba(255,154,60,.2);opacity:0;will-change:transform}
.kx-ghost.on{opacity:1}
.kx-line{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.kx-line path{fill:none;stroke-linecap:round;stroke-linejoin:round}
.kx-line .g{stroke:#ff9a3c;stroke-width:7;opacity:.22}
.kx-line .c{stroke:url(#kxgrad);stroke-width:2}
.kx-cut{position:fixed;inset:0;z-index:2147483000;pointer-events:none;display:flex;align-items:center;justify-content:center;overflow:hidden;
  background:linear-gradient(135deg,#ffb35c,#ff9a3c 45%,#e2b15a)}
.kx-cut.inv{background:#f3e6d0}
.kx-cut b{display:block;box-sizing:border-box;max-width:100vw;padding:0 6vw;text-align:center;font-family:'Archivo',sans-serif;font-style:italic;font-weight:900;text-transform:uppercase;letter-spacing:-.04em;line-height:.9;
  color:#120d14;white-space:normal;overflow-wrap:normal;word-break:keep-all;text-wrap:balance;
  /* sized so the longest single word (char count in --kx-n, set by JS) fits 88vw; wraps to more lines rather than cropping */
  font-size:clamp(34px,calc(88vw / (var(--kx-n,7) * .7)),min(26vw,360px))}
.kx-cut.inv b{color:#c75a12}
.kx-w{display:inline-block;will-change:transform}
.kx-tw .kx-ch{opacity:0}
.kx-tw .kx-ch.on{opacity:1}
.kx-tw .kx-ch.cur{box-shadow:3px 0 0 -0px #ff9a3c}
.kx-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.kx-num{display:inline-block;font-variant-numeric:tabular-nums;white-space:nowrap;text-align:left}
.kx-pre{opacity:0}
.kx-calm .kx-ghost{display:none}

/* phones: calmer type. Sizes chosen so section headlines land in 2-5 lines and the hero CTA sits above the fold */
@media (max-width:767px){
  .kx-ghost{display:none}
  html[data-kinetic] h1{font-size:clamp(1.55rem,7.2vw,1.95rem);line-height:1.06}
  html[data-kinetic] h2{font-size:clamp(1.3rem,5.8vw,1.55rem);line-height:1.08}
  html[data-kinetic] h1,html[data-kinetic] h2{overflow-wrap:normal;word-break:normal;hyphens:manual}
}
