/* Habitiny – Custom Styles (v4) */

/* Custom Cursor */
.cb-cursor{position:fixed;top:0;left:0;z-index:150;contain:layout style size;pointer-events:none;will-change:transform;transition:opacity .3s,color .3s}
.cb-cursor-inner{display:flex;align-items:center;justify-content:center;border-radius:50%}

/* Expandable / Accordion */
[anm-expandable=item] [anm-expandable=text-wrap]{grid-template-rows:0fr;display:grid;overflow:hidden;transition:grid-template-rows .5s ease}
[anm-expandable=item].is-active [anm-expandable=text-wrap]{grid-template-rows:1fr}
[anm-expandable=item] [anm-expandable=text-wrap]>div{min-height:0}

/* Page Transition Overlay */
.is-animating{position:fixed;top:0;left:0;z-index:999;clip-path:polygon(0% 0%, 100% 0%, 100% 0px, 0% 0px);width:100%}

/* Page Loader */
[data-page-loader=section]{display:flex}

/* Lenis / Locomotive Scroll */
html.lenis,html.lenis body{height:auto}
.lenis.lenis-smooth{scroll-behavior:auto !important}
.lenis.lenis-smooth [data-lenis-prevent]{overscroll-behavior:contain}
.lenis.lenis-stopped{overflow:hidden}
.lenis.lenis-scrolling iframe{pointer-events:none}
