/* ---------- Preloader ---------- */
.clx-loading,.clx-loading body{overflow:hidden}
.clx-pre{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;background:radial-gradient(60% 55% at 40% 35%,#1E3B2A 0%,#0F1E15 55%,#08110C 100%);transition:opacity .6s ease,visibility .6s;font-family:var(--wp--preset--font-family--body,system-ui)}
.clx-pre.is-done{opacity:0;visibility:hidden}
.clx-pre__glow{position:absolute;right:-10%;bottom:-20%;width:60vw;height:60vw;border-radius:50%;background:radial-gradient(closest-side,rgba(242,160,61,.14),transparent);filter:blur(10px)}
.clx-pre__in{position:relative;display:flex;flex-direction:column;align-items:center;gap:26px;width:min(340px,80vw)}
.clx-pre__mark{position:relative;width:160px;height:160px;display:grid;place-items:center}
.clx-pre__mark .cic-mark{position:relative;z-index:2;filter:drop-shadow(0 18px 30px rgba(0,0,0,.45));animation:clxPop .9s cubic-bezier(.2,1.4,.3,1) both}
.clx-pre__orbit{position:absolute;inset:-10px;width:180px;height:180px;animation:clxSpin 1.6s linear infinite}
.clx-pre__ring{position:absolute;inset:0;width:160px;height:160px;z-index:3;animation:clxSway 3s ease-in-out infinite}
.clx-pre__name{display:flex;font:800 15px var(--cl-display,system-ui);letter-spacing:.32em;color:#E9F1EC;white-space:nowrap}
.clx-pre__name span{display:inline-block;opacity:0;transform:translateY(14px) rotateX(70deg);filter:blur(4px);animation:clxChar .7s cubic-bezier(.2,.8,.2,1) forwards;animation-delay:calc(.25s + var(--i)*.045s)}
.clx-pre__bar{width:100%;height:3px;border-radius:3px;background:rgba(255,255,255,.1);overflow:hidden}
.clx-pre__bar i{display:block;height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#3F7D58,#F2A03D);transition:width .35s ease}
.clx-pre__status{font-size:11.5px;font-weight:800;letter-spacing:.26em;text-transform:uppercase;color:#F2A03D;min-height:1em}
@keyframes clxSpin{to{transform:rotate(360deg)}}
@keyframes clxSway{50%{transform:rotate(8deg) scale(1.03)}}
@keyframes clxPop{from{transform:scale(.6) translateY(10px);opacity:0}to{transform:none;opacity:1}}
@keyframes clxChar{to{opacity:1;transform:none;filter:none}}

/* ---------- Custom cursor ---------- */

/* ---------- Scroll reveal ---------- */
.clx-rv{opacity:0;transform:translateY(28px);transition:opacity .8s cubic-bezier(.2,.7,.2,1),transform .8s cubic-bezier(.2,.7,.2,1);transition-delay:var(--d,0s)}
.clx-rv.is-in{opacity:1;transform:none}
.clx-tilt{transition:transform .25s ease-out;transform-style:preserve-3d;will-change:transform}
.clx-mag{transition:transform .25s cubic-bezier(.2,.8,.2,1)}
@media (prefers-reduced-motion:reduce){.clx-rv{opacity:1;transform:none;transition:none}.clx-pre{display:none}}

/* ===== cursor (premium) ===== */
@media (hover:hover) and (pointer:fine){
	html.clx-has-cursor,html.clx-has-cursor body,html.clx-has-cursor a,html.clx-has-cursor button,html.clx-has-cursor [role=button],html.clx-has-cursor label{cursor:none}
	html.clx-has-cursor.clx-native,html.clx-has-cursor.clx-native body{cursor:auto}
	html.clx-has-cursor input,html.clx-has-cursor textarea,html.clx-has-cursor select,html.clx-has-cursor iframe,html.clx-has-cursor .cic-dp,html.clx-has-cursor .cic-dp *,html.clx-has-cursor #wpadminbar,html.clx-has-cursor #wpadminbar *{cursor:auto}
	html.clx-has-cursor .cic-dp button,html.clx-has-cursor #wpadminbar a{cursor:pointer}
}
.clx-cursor{position:fixed;inset:0 auto auto 0;z-index:2147483600;pointer-events:none;transition:opacity .25s}
.clx-cursor__dot{position:fixed;left:0;top:0;width:7px;height:7px;margin:-3.5px 0 0 -3.5px;border-radius:50%;background:#1F3A2B;box-shadow:0 0 0 1.5px rgba(255,255,255,.9);will-change:transform;transition:width .25s cubic-bezier(.2,.8,.2,1),height .25s cubic-bezier(.2,.8,.2,1),margin .25s cubic-bezier(.2,.8,.2,1),opacity .2s,background .2s}
.clx-cursor__ring{position:fixed;left:0;top:0;width:36px;height:36px;margin:-18px 0 0 -18px;border-radius:999px;border:1px solid rgba(31,58,43,.38);display:grid;place-items:center;will-change:transform;transition:width .35s cubic-bezier(.2,.8,.2,1),height .35s cubic-bezier(.2,.8,.2,1),margin .35s cubic-bezier(.2,.8,.2,1),background .25s,border-color .25s,opacity .25s,backdrop-filter .25s}
.clx-cursor__lbl{display:inline-flex;align-items:center;gap:6px;font:700 12px/1 var(--wp--preset--font-family--body,system-ui);letter-spacing:.02em;color:#fff;opacity:0;transform:translateY(4px);transition:opacity .2s .05s,transform .25s .05s;white-space:nowrap}
.clx-cursor__lbl:after{content:"";width:14px;height:14px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E") center/contain no-repeat}
/* over links and buttons: the ring becomes a soft lens and the dot melts into it */
.clx-cursor.is-link .clx-cursor__ring{width:52px;height:52px;margin:-26px 0 0 -26px;border-color:rgba(242,160,61,.9);background:rgba(242,160,61,.14);backdrop-filter:blur(1px)}
.clx-cursor.is-link .clx-cursor__dot{width:5px;height:5px;margin:-2.5px 0 0 -2.5px;background:#C77A1C}
/* over cards: a branded pill with the action */
.clx-cursor.is-label .clx-cursor__ring{width:96px;height:44px;margin:-22px 0 0 -48px;border-color:transparent;background:#1F3A2B;box-shadow:0 14px 30px -12px rgba(10,20,14,.55)}
.clx-cursor.is-label .clx-cursor__lbl{opacity:1;transform:none}
.clx-cursor.is-label .clx-cursor__dot{opacity:0}
/* pressing */
.clx-cursor.is-down .clx-cursor__ring{width:28px;height:28px;margin:-14px 0 0 -14px}
.clx-cursor.is-down.is-link .clx-cursor__ring{width:44px;height:44px;margin:-22px 0 0 -22px}
.clx-cursor.is-down.is-label .clx-cursor__ring{width:88px;height:40px;margin:-20px 0 0 -44px}
/* on dark sections */
.clx-cursor.clx-on-dark .clx-cursor__dot{background:#F2A03D;box-shadow:none}
.clx-cursor.clx-on-dark .clx-cursor__ring{border-color:rgba(255,255,255,.45)}
.clx-cursor.clx-on-dark.is-label .clx-cursor__ring{background:#F2A03D}
.clx-cursor.clx-on-dark.is-label .clx-cursor__lbl{color:#14231A}
/* hidden / stepping aside */
.clx-cursor.is-hidden,.clx-cursor.is-off{opacity:0}
@media (hover:none),(pointer:coarse),(prefers-reduced-motion:reduce){.clx-cursor{display:none!important}}
