/* ==========================================================================
   Cell Intelligence – base layer (child theme)
   Only what Bricks can't hold: the brand font files, page defaults, the
   states that the scripts switch (reveal, hero load, effects) and keyframes.
   Colours, sizes and all section styles are Bricks variables / global classes.
   ========================================================================== */
@font-face{font-family:"CI Area Extended";src:url("../fonts/areaext-medium.woff2") format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:"CI Area Extended";src:url("../fonts/areaext-extrabold.woff2") format("woff2");font-weight:800;font-display:swap}

/* fallbacks in case a Bricks variable is deleted */
:root{--ci-ease:cubic-bezier(.22,.8,.2,1)}

html{scroll-padding-top:var(--ci-header,72px)}
body.ci-page{margin:0;background:var(--ci-green,#E9F1D0);color:var(--ci-orange,#FF772C);font-family:var(--ci-font,"CI Area Extended","Helvetica Neue",Arial,sans-serif);font-weight:500;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.ci-page *,.ci-page *::before,.ci-page *::after{box-sizing:border-box}
:where(.ci-page) img{max-width:100%;display:block}
:where(.ci-page) a{color:inherit}
.ci-page :focus-visible{outline:2px solid var(--ci-orange,#FF772C);outline-offset:3px}

/* Bricks wrappers */
#brx-header{position:sticky;top:0;z-index:50}
#brx-content{overflow-x:clip}

/* reveal on scroll (ui.js adds .is-in; data-reveal="0.1" = delay in s) */
[data-reveal]{opacity:0;transform:translate3d(0,28px,0);transition:opacity 1s var(--ci-ease),transform 1.1s var(--ci-ease);transition-delay:var(--d,0s)}
[data-reveal].is-in{opacity:1;transform:none}

/* keyframes used by the global classes */
@keyframes ci-fill{to{transform:none}}
@keyframes ci-drift{to{transform:translate3d(6%,-4%,0) rotate(8deg) scale(1.1)}}

/* hero load animation – html.is-loaded is set when the hero images are decoded */
.ci-hero__skin{clip-path:inset(18% 10% 18% 10% round 10px);transition:clip-path 1.6s var(--ci-ease) .15s}
.ci-hero__skin img{filter:blur(22px) saturate(1.2);transform:scale(1.12);opacity:0;transition:filter 1.8s var(--ci-ease) .25s,transform 2.2s var(--ci-ease) .25s,opacity 1s ease .25s}
.ci-hero__photo{transform:scale(1.1);opacity:0;transition:transform 2.6s var(--ci-ease) .1s,opacity 1.2s ease .1s}
.ci-hero__label,.ci-hero__buy{opacity:0;transform:translateY(14px);transition:opacity .9s ease,transform 1s var(--ci-ease);transition-delay:.9s}
.ci-hero__title>span{display:block;overflow:hidden}
.ci-hero__title>span>span{display:block;transform:translateY(105%);transition:transform 1.2s var(--ci-ease);transition-delay:calc(.75s + var(--i,0) * .12s)}
.is-loaded .ci-hero__skin{clip-path:inset(0 0 0 0 round 10px)}
.is-loaded .ci-hero__skin img{filter:none;transform:none;opacity:1}
.is-loaded .ci-hero__photo{transform:none;opacity:1}
.is-loaded .ci-hero__label,.is-loaded .ci-hero__buy{opacity:1;transform:none}
.is-loaded .ci-hero__title>span>span{transform:none}

/* canvases created by the scripts */
.ci-hero__canvas{position:absolute;inset:0;width:100%;height:100%;display:block;opacity:0;transition:opacity 1.2s;pointer-events:none}
.ci-hero.is-gl .ci-hero__canvas{opacity:1}

/* inside the Bricks editor: everything visible, no effects */
.ci-builder [data-reveal]{opacity:1;transform:none}

/* reduced motion: final state, no movement */
@media (prefers-reduced-motion:reduce){
  [data-reveal],.ci-hero__skin,.ci-hero__skin img,.ci-hero__photo,.ci-hero__label,.ci-hero__buy,.ci-hero__title>span>span{opacity:1!important;transform:none!important;filter:none!important;clip-path:none!important;transition:none!important}
  .ci-footer::before{animation:none!important}
}

/* About photo intro on mobile (the photo is the first thing of the section there):
   grows up into place and comes into focus, like the hero skin photo */
@media (max-width:767px){
  html:not(.ci-builder) .ci-about__img{background:var(--ci-green,#E9F1D0)}
  html:not(.ci-builder) .ci-about__photo{transform:scale(.84);transform-origin:50% 100%;filter:blur(14px);opacity:.5;transition:transform 1.8s var(--ci-ease),filter 1.4s var(--ci-ease),opacity 1s ease}
  html:not(.ci-builder) .ci-about__img.is-in .ci-about__photo{transform:none;filter:none;opacity:1}
}
@media (prefers-reduced-motion:reduce){.ci-about__photo{transform:none!important;filter:none!important;opacity:1!important;transition:none!important}}

/* WooCommerce notices on the home page (e.g. after adding to cart) */
.ci-page .woocommerce-notices-wrapper:empty{display:none}

/* helper parts created by the scripts / shortcode (not content, so not in Bricks) */
.ci-header__count{display:inline-grid;place-items:center;min-width:18px;height:18px;margin-left:8px;padding:0 5px;border-radius:99px;background:var(--ci-orange);color:#fff;font-size:10.5px;letter-spacing:0}
.ci-header__count[hidden]{display:none}
.ci-benefits__canvas{position:absolute;left:-12%;top:-6%;width:124%;height:140%;pointer-events:none;display:block}
@media (max-width:767px){.ci-benefits__canvas{left:-6%;top:-3%;width:112%;height:110%}}
.ci-step__bar{height:3px;position:relative;cursor:default}
.ci-step__bar::before{content:"";position:absolute;left:0;right:0;top:1px;height:1px;background:var(--ci-orange);opacity:.3}
.ci-step__bar i{position:absolute;inset:0;background:var(--ci-orange);transform:scaleX(0);transform-origin:left}
.ci-howto.is-paused .ci-step.is-active .ci-step__bar i,.ci-howto.is-off .ci-step.is-active .ci-step__bar i{animation-play-state:paused}
@media (max-width:767px){.ci-step__bar i{animation:none!important;transition:transform .9s var(--ci-ease)}}
.ci-reviews__dots{display:flex;gap:8px;justify-content:center;margin-top:clamp(50px,6vw,80px)}
.ci-reviews__dots button{width:64px;height:24px;border:0;background:none;cursor:pointer;position:relative;padding:0}
.ci-reviews__dots button::before{content:"";position:absolute;left:0;right:0;top:50%;height:1px;margin-top:-.5px;background:var(--ci-orange);opacity:.3;transition:height .3s var(--ci-ease),margin .3s var(--ci-ease),opacity .3s}
.ci-reviews__dots button:hover::before{height:3px;margin-top:-1.5px;opacity:.45}
.ci-reviews__dots button i{position:absolute;left:0;right:0;top:50%;height:3px;margin-top:-1.5px;background:var(--ci-orange);transform:scaleX(0);transform-origin:left}
.ci-reviews__dots button.is-active i{animation:ci-fill var(--ci-review-ms,7000ms) linear forwards}
.ci-reviews.is-paused .ci-reviews__dots i,.ci-reviews.is-off .ci-reviews__dots i{animation-play-state:paused}
.ci-reviews.is-single .ci-reviews__dots{display:none}
.ci-faq__num{font-weight:800;font-size:clamp(16px,1.3vw,20px);opacity:.38;transition:opacity .4s}
.ci-faq__item.is-open .ci-faq__num{opacity:1}
.ci-step.is-active .ci-step__bar i{animation:ci-fill var(--ci-step-ms,4200ms) linear forwards}
@media (max-width:767px){.ci-step__bar{cursor:pointer}.ci-step.is-active .ci-step__bar i{transform:none}}
