/* Hawa — fx layer, loaded after the app CSS. Additive overrides only. */

/* ember canvases */
.hwfx-ember{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none}
.hw-fire-panel{isolation:isolate}
.hw-fire-panel canvas.hwfx-ember{z-index:-1}
.hwfx-foot{position:relative;max-width:none;overflow:hidden}
.hwfx-foot canvas.hwfx-ember-foot{z-index:0}
.hwfx-foot>*:not(canvas){position:relative;z-index:1}

/* film grain */
.hwfx-grain{position:fixed;inset:-160px;z-index:70;pointer-events:none;opacity:.5;background-repeat:repeat;animation:hwfx-grain 1.1s steps(3) infinite}
@keyframes hwfx-grain{0%{transform:translate(0,0)}33%{transform:translate(-53px,37px)}66%{transform:translate(41px,-29px)}100%{transform:translate(0,0)}}

/* custom cursor */
.hwfx-dot,.hwfx-ring{position:fixed;left:0;top:0;z-index:200;pointer-events:none;border-radius:50%;opacity:0;transition:opacity .3s}
.hwfx-dot{width:6px;height:6px;margin:-3px 0 0 -3px;background:#d9774f}
.hwfx-ring{width:34px;height:34px;margin:-17px 0 0 -17px;border:1px solid #d9774f}
html.hwfx-cur .hwfx-dot,html.hwfx-cur .hwfx-ring{opacity:1}
html.hwfx-cur,html.hwfx-cur *{cursor:none!important}

/* marquee */
.hwfx-mq{overflow:hidden;border-top:1px solid #f3efe724;border-bottom:1px solid #f3efe724;padding:22px 0;white-space:nowrap}
.hwfx-mq-t{display:inline-block;animation:hwfx-mq 34s linear infinite;will-change:transform}
.hwfx-mq-t span{font:italic 300 clamp(1.3rem,2.6vw,2.1rem)/1 Fraunces,serif;letter-spacing:-.01em;color:#f3efe7;padding-right:.7em}
.hwfx-mq-t span i{font:400 .62em/1 "Space Mono",monospace;font-style:normal;letter-spacing:.18em;text-transform:uppercase;color:#d9774f;vertical-align:.28em;padding-left:.7em}
@keyframes hwfx-mq{to{transform:translateX(-50%)}}

/* scroll hint */
.hwfx-sh{display:inline-flex;align-items:center;gap:12px}
.hwfx-sh::after{content:"";width:56px;height:1px;background:#d9774f;transform-origin:left;animation:hwfx-shl 2.2s cubic-bezier(.16,1,.3,1) infinite}
@keyframes hwfx-shl{0%{transform:scaleX(0)}45%{transform:scaleX(1)}100%{transform:scaleX(0);transform-origin:right}}

/* magnetic */
.hwfx-mag{will-change:transform}

/* clip reveals */
.js .hwfx-clip{clip-path:inset(0 0 100% 0);transition:clip-path 1.25s cubic-bezier(.16,1,.3,1)}
.js .hwfx-clip.is-in{clip-path:inset(0 0 0 0)}
.js .hwfx-rise{opacity:0;transform:translateY(60px);transition:opacity 1.1s cubic-bezier(.16,1,.3,1),transform 1.3s cubic-bezier(.16,1,.3,1)}
.js .hwfx-rise.is-in{opacity:1;transform:none}

/* concierge above grain */
.hw-cc{z-index:90}

@media (prefers-reduced-motion:reduce){
 .hwfx-grain{display:none}
 .hwfx-mq-t{animation:none}
 .hwfx-sh::after{animation:none;transform:scaleX(1)}
 .js .hwfx-clip{clip-path:none}
 .js .hwfx-rise{opacity:1;transform:none}
}
