/* =========================================================
   Apstronics — Smart Home
   Rebuilt from the saved page source.
   Design tokens, type scale and layout values are taken
   from the original stylesheet.
   ========================================================= */

/* ---------- Fonts ---------- */
@font-face{font-family:"Inter";src:url("../fonts/inter-400.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Inter";src:url("../fonts/inter-500.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Inter";src:url("../fonts/inter-600.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Inter";src:url("../fonts/inter-700.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}

@font-face{font-family:"Urbanist";src:url("../fonts/urbanist-400.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Urbanist";src:url("../fonts/urbanist-500.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Urbanist";src:url("../fonts/urbanist-600.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Urbanist";src:url("../fonts/urbanist-700.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}

/* ---------- Tokens ---------- */
:root{
  --white:#fff;
  --black:#000;
  --black-50:rgba(0,0,0,.5);
  --white-50:rgba(255,255,255,.5);
  --grey:#f7f7f7;
  --line:#ededed;
  --orange:#ff5e2b;
  --orange-10:rgba(255,94,43,.1);

  --sans:"Inter",system-ui,-apple-system,Segoe UI,Arial,sans-serif;
  --display:"Urbanist","Inter",system-ui,sans-serif;

  --gap:42px;
  --radius-l:24px;
  --radius-m:16px;
  --radius-s:12px;
  --maxw:1200px;
  --pad:16px;

  --ease:cubic-bezier(.22,1,.36,1);
  --framer-ease:cubic-bezier(.28,.41,.56,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  background:var(--white);
  color:var(--black);
  font-family:var(--sans);
  font-size:16px;
  line-height:1.6em;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
ul{list-style:none;margin:0;padding:0}
h1,h2,h3,h4,h5,p,figure{margin:0}
:focus-visible{outline:2px solid var(--orange);outline-offset:3px;border-radius:4px}

/* ---------- Type scale (from source) ---------- */
.h1{font-family:var(--display);font-weight:700;font-size:120px;line-height:1.2em;letter-spacing:0}
.h2{font-family:var(--display);font-weight:600;font-size:48px;line-height:1.2em;letter-spacing:0}
.h4{font-family:var(--display);font-weight:500;font-size:34px;line-height:1.4em;letter-spacing:0}
.h5{font-family:var(--display);font-weight:400;font-size:24px;line-height:1.4em;letter-spacing:0}
.body{font-family:var(--sans);font-weight:400;font-size:16px;line-height:1.6em}
.small{font-family:var(--sans);font-weight:400;font-size:14px;line-height:1.4em}
.eyebrow{font-family:var(--sans);font-weight:400;font-size:16px;line-height:1.6em}
.muted{color:var(--black-50)}
.on-dark{color:var(--white)}
.on-dark-50{color:var(--white-50)}
.on-dark-70{color:rgba(255,255,255,.7)}

.container{width:100%;max-width:var(--maxw);margin-inline:auto}

/* =========================================================
   NAV
   ========================================================= */
.nav{
  position:fixed;top:16px;left:0;right:0;z-index:9999;
  display:flex;justify-content:center;
  padding:0 24px;
  pointer-events:none;
}
.nav__container{
  width:100%;max-width:var(--maxw);
  display:flex;align-items:center;justify-content:space-between;
  gap:24px;padding:10px 24px;
  pointer-events:auto;
  background:rgba(255,255,255,0.75);
  backdrop-filter:blur(20px) saturate(180%);
  -webkit-backdrop-filter:blur(20px) saturate(180%);
  border:1px solid rgba(255,255,255,0.6);
  border-radius:999px;
  box-shadow:0 10px 30px rgba(0,0,0,0.08),0 1px 3px rgba(0,0,0,0.05),inset 0 1px 0 rgba(255,255,255,0.8);
  transition:background 0.35s var(--ease),box-shadow 0.35s var(--ease),border-color 0.35s var(--ease);
}
.nav__container:hover{
  background:rgba(255,255,255,0.88);
  box-shadow:0 14px 40px rgba(0,0,0,0.12),0 1px 3px rgba(0,0,0,0.05),inset 0 1px 0 rgba(255,255,255,0.9);
}
.nav__brand{
  display:flex;align-items:center;gap:12px;
  text-decoration:none;color:var(--black);
  transition:opacity 0.35s var(--ease);
}
.nav__brand-logo{
  height:32px;width:auto;object-fit:contain;
  filter:drop-shadow(0 2px 6px rgba(0,0,0,0.1));
}
.nav__brand-name{
  font-family:var(--display);font-weight:700;font-size:22px;
  color:var(--black);letter-spacing:-0.02em;line-height:1;
}

.menu-btn{
  display:inline-flex;align-items:center;gap:10px;
  padding:8px 18px;color:var(--black);
  background:rgba(0,0,0,0.05);
  border:1px solid rgba(0,0,0,0.06);
  border-radius:999px;
  transition:background 0.3s var(--ease),color 0.3s var(--ease),border-color 0.3s var(--ease),transform 0.3s var(--ease);
}
.menu-btn:hover{
  background:rgba(0,0,0,0.09);
  transform:translateY(-1px);
}
.menu-btn__label{font-size:15px;font-weight:500;line-height:1em}
.menu-btn__lines{display:flex;flex-direction:column;gap:5px;width:22px}
.menu-btn__line{
  display:block;height:1.6px;width:100%;
  background:currentColor;border-radius:2px;
  transition:transform .4s var(--ease),opacity .3s var(--ease),width .4s var(--ease);
  transform-origin:center;
}
.menu-btn:hover .menu-btn__line:nth-child(2){width:70%}

/* nav inverted when over dark / menu open */
.nav.is-invert .nav__logo,
.nav.is-invert .menu-btn{color:var(--black)}
.nav.is-open .menu-btn__line:nth-child(1){transform:translateY(3.3px) rotate(45deg)}
.nav.is-open .menu-btn__line:nth-child(2){transform:translateY(-3.3px) rotate(-45deg);width:100%}

/* =========================================================
   OVERLAY MENU
   ========================================================= */
.overlay{
  position:fixed;inset:0;z-index:55;
  background:var(--black);color:var(--white);
  display:flex;flex-direction:column;justify-content:center;
  gap:32px;padding:120px 62px 62px;
  clip-path:inset(0 0 100% 0);
  transition:clip-path .8s var(--ease);
  pointer-events:none;
}
.overlay.is-open{clip-path:inset(0 0 0 0);pointer-events:auto}
.overlay__list{display:flex;flex-direction:column;gap:6px}
.overlay__list a{
  display:block;overflow:hidden;
  font-family:var(--display);font-weight:600;
  font-size:clamp(40px,8vw,92px);line-height:1.15em;
}
.overlay__list a span{
  display:block;transform:translateY(110%);
  transition:transform .7s var(--ease);
}
.overlay.is-open .overlay__list a span{transform:translateY(0)}
.overlay__list li:nth-child(1) a span{transition-delay:.12s}
.overlay__list li:nth-child(2) a span{transition-delay:.19s}
.overlay__list li:nth-child(3) a span{transition-delay:.26s}
.overlay__list li:nth-child(4) a span{transition-delay:.33s}
.overlay__list a:hover span{color:var(--orange)}

.overlay__foot{
  display:flex;flex-wrap:wrap;gap:16px 32px;
  align-items:center;justify-content:space-between;
  padding-top:24px;border-top:1px solid rgba(255,255,255,.14);
  opacity:0;transform:translateY(14px);
  transition:opacity .6s var(--ease) .4s,transform .6s var(--ease) .4s;
}
.overlay.is-open .overlay__foot{opacity:1;transform:none}
.overlay__socials{display:flex;gap:20px;color:var(--white-50)}
.overlay__socials a:hover,.overlay__foot a:hover{color:var(--orange)}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn{
  display:inline-flex;align-items:center;gap:6px;
  padding:12px 18px;border-radius:100px;
  font-family:var(--sans);font-size:16px;line-height:1.6em;
  position:relative;overflow:hidden;
  transition:background .35s var(--ease),color .35s var(--ease),transform .35s var(--ease);
  will-change:transform;
}
.btn__label{position:relative;z-index:1}
.btn__icon{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;position:relative;z-index:1}
.btn__icon svg{width:100%;height:100%}
.btn__icon--arrow{transition:transform .4s var(--ease)}

.btn--primary{background:var(--black);color:var(--white)}
.btn--primary::after{
  content:"";position:absolute;inset:0;border-radius:inherit;
  background:var(--orange);transform:translateY(101%);
  transition:transform .45s var(--ease);z-index:0;
}
.btn--primary:hover::after{transform:translateY(0)}
.btn--primary:hover{transform:translateY(-1px)}
.btn--primary:hover .btn__icon--arrow{transform:translate(2px,-2px)}

.btn--ghost{background:var(--white);color:var(--black);border:1px solid var(--line)}
.btn--ghost:hover{background:var(--black);color:var(--white);border-color:var(--black)}
.btn--ghost:hover .btn__icon--arrow{transform:translate(2px,-2px)}

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position:relative;z-index:1;overflow:hidden;
  width:100%;height:100vh;min-height:640px;
  display:flex;align-items:center;justify-content:center;
  background:var(--white);
}
.hero__bg{position:absolute;inset:0;z-index:1}
.hero__bgcolor{position:absolute;inset:0;background:var(--grey)}
.hero__device{
  position:absolute;z-index:3;
  top:20.5618%;left:18.9583%;width:60%;height:60%;
  will-change:transform,opacity;
}
.hero__device-img{
  position:absolute;inset:0;
  width:100%;height:100%;object-fit:contain;
  will-change:opacity;
}

.hero__container{
  position:relative;z-index:2;
  width:100%;max-width:calc(var(--maxw) + 124px);
  height:100%;padding:96px 62px 32px;
  display:flex;justify-content:center;
}
.hero__wrapper{
  flex:1;display:flex;flex-direction:column;
  justify-content:space-between;align-items:flex-start;
  height:100%;
}

/* cycling headline */
.cycle{height:145px;overflow:hidden;display:flex;align-items:flex-start}
.cycle__track{display:flex;flex-direction:column;transition:transform .9s var(--ease)}
.cycle__item{
  font-family:var(--display);font-weight:700;
  font-size:120px;line-height:145px;letter-spacing:0;
  white-space:pre;
}

/* rotating keywords */
.hero__center{width:100%;display:flex;justify-content:flex-end}
.keywords{
  display:flex;flex-direction:column;align-items:flex-end;gap:2px;
  text-align:right;
}
.keywords__item{
  font-size:16px;line-height:1.6em;
  transition:color .2s linear;
  white-space:nowrap;
}
/* Gradient from true black → grey, left to right */
.keywords__item:nth-child(1){color:rgba(0,0,0,1)}
.keywords__item:nth-child(2){color:rgba(0,0,0,.88)}
.keywords__item:nth-child(3){color:rgba(0,0,0,.68)}
.keywords__item:nth-child(4){color:rgba(0,0,0,.48)}
.keywords__item.is-current{color:rgba(0,0,0,.886)}
/* measured: colour switches uniformly, no per-character stagger */

/* bottom */
.hero__bottom{
  width:100%;display:flex;align-items:flex-end;justify-content:space-between;gap:24px;
}
.hero__content{display:flex;flex-direction:column;align-items:flex-start;gap:24px}
.hero__lede{max-width:360px;font-size:16px;line-height:1.6em}

.scroll-hint{
  position:relative;width:20px;height:32px;
  border:1.5px solid rgba(0,0,0,.25);border-radius:20px;
  flex:none;
}
.scroll-hint__line{
  position:absolute;top:6px;left:calc(50% - 1px);
  width:2px;height:6px;border-radius:2px;background:var(--black);
}

/* =========================================================
   REVEAL
   ========================================================= */
/* Original has NO scroll reveals: headings are always opacity:1 / transform:none */
.reveal{opacity:1;transform:none}
.reveal.is-in{opacity:1;transform:none}

/* =========================================================
   PROOF
   ========================================================= */
.proof{padding:100px var(--pad) 120px;display:flex;justify-content:center}
.proof__container{display:flex;flex-direction:column;gap:32px}
.proof__heading{display:flex;flex-direction:column;align-items:center;gap:24px;text-align:center}
.proof__mark{width:60px;aspect-ratio:1.33333}
.proof__mark img{width:100%;height:100%;object-fit:contain}
.proof__heading .h2{max-width:800px}

/* logo marquee */
.marquee{width:100%;overflow:hidden}
.marquee--logos{max-width:1000px;height:72px;margin-top:8px}
.marquee__track{display:flex;width:max-content}
.marquee__group{display:flex;align-items:center;gap:50px;padding-right:50px}
.marquee--logos img{height:58px;max-width:210px;width:auto;flex:none;object-fit:contain;transition:transform .3s var(--ease),filter .3s var(--ease)}
.marquee--logos img:hover{transform:scale(1.06)}

@media (max-width:809px){
  .marquee--logos{height:52px}
  .marquee--logos img{height:40px;max-width:160px}
  .marquee__group{gap:32px;padding-right:32px}
}

/* testimonial */
.testimonial{
  display:flex;gap:12px;padding:12px;
  background:var(--grey);border-radius:var(--radius-l);
  align-items:stretch;
}
.testimonial__media{
  flex:1;height:680px;border-radius:var(--radius-m);overflow:hidden;
}
.testimonial__media img{width:100%;height:100%;object-fit:cover;transition:transform 1.2s var(--ease)}
.testimonial:hover .testimonial__media img{transform:scale(1.04)}
.testimonial__content{
  flex:1;display:flex;flex-direction:column;justify-content:space-between;
  background:var(--white);border-radius:var(--radius-m);
  padding:24px;backdrop-filter:blur(10px);
}
.testimonial__top{display:flex;align-items:center;justify-content:space-between}
.testimonial__glyph{width:32px;height:32px;display:block;color:var(--black)}
.testimonial__glyph svg{width:100%;height:100%}
.testimonial__quote{max-width:34ch}
.testimonial__author{display:flex;align-items:center;gap:12px}

.avatar{width:40px;height:40px;border-radius:30px;overflow:hidden;flex:none;display:block;background:var(--line)}
.avatar img{width:100%;height:100%;object-fit:cover}
.avatar--sm{width:32px;height:32px}

/* =========================================================
   VISION / INNOVATING FOR THE FUTURE OF INDUSTRY
   ========================================================= */
.vision{padding:50px var(--pad) 60px;display:flex;justify-content:center}
.vision__container{display:flex;flex-direction:column;gap:24px;width:100%;max-width:var(--maxw)}
.vision__heading{display:flex;flex-direction:column;align-items:center;gap:24px;text-align:center}
.vision__heading .h2{max-width:900px}

.vision__card{
  display:flex;gap:10px;padding:8px;
  background:var(--grey);border-radius:var(--radius-l);
  align-items:stretch;
}
.vision__media{
  flex:1;height:360px;border-radius:var(--radius-m);overflow:hidden;
}
.vision__media img{width:100%;height:100%;object-fit:cover;transition:transform 1.2s var(--ease)}
.vision__card:hover .vision__media img{transform:scale(1.03)}
.vision__content{
  flex:1;display:flex;flex-direction:column;justify-content:space-between;
  background:var(--white);border-radius:var(--radius-m);
  padding:24px;backdrop-filter:blur(10px);
}
.vision__top{display:flex;align-items:center;justify-content:space-between}
.vision__top .tag{padding:6px 12px;font-size:12px}
.vision__quote{
  font-family:var(--display);font-weight:400;
  font-size:clamp(19px, 1.9vw, 26px);
  line-height:1.4em;letter-spacing:0;
  color:var(--black);max-width:34ch;
}
.vision__author{display:flex;align-items:center;gap:12px}

@media (max-width:809px){
  .vision__card{flex-direction:column}
  .vision__media{height:220px;width:100%}
  .vision__content{padding:18px;gap:16px}
}

/* =========================================================
   BENTO
   ========================================================= */
.bento{background:var(--grey);padding:80px var(--pad) 120px;display:flex;justify-content:center}
.bento__container{display:flex;flex-direction:column;gap:42px;align-items:center}
.section-head{
  display:flex;flex-direction:column;align-items:center;gap:16px;
  max-width:800px;text-align:center;
}
.bento__wrapper{display:flex;gap:24px;width:100%;align-items:stretch}
.bento__grid{
  flex:1.5;display:grid;
  grid-template-columns:repeat(2,minmax(50px,1fr));
  grid-template-rows:repeat(2,minmax(0,1fr));
  gap:24px;
}
.bento__right{flex:1;display:flex;flex-direction:column;gap:24px}

.card{
  position:relative;overflow:hidden;
  background:var(--white);border-radius:var(--radius-m);
  min-height:0;
}
.card--image{display:flex;padding:24px}
.card__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;transition:transform 1.2s var(--ease)}
.card:hover .card__bg{transform:scale(1.05)}
.card__scrim{position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(0,0,0,.15),rgba(0,0,0,.55))}
.card__body{position:relative;z-index:2;display:flex;flex-direction:column;justify-content:space-between;width:100%;height:100%}
.card__body--center{align-items:center;text-align:center;gap:12px}
.card--stat{min-height:268px;padding:24px}
.counter{font-family:var(--display);font-weight:500;font-size:48px;line-height:1.2em;color:var(--white)}

.pill{
  position:absolute;z-index:2;top:20px;right:20px;
  background:rgba(255,255,255,.92);color:var(--black);
  padding:8px 14px;border-radius:100px;
  font-size:14px;line-height:1.4em;backdrop-filter:blur(6px);
}
.card--voice{grid-column:span 2;display:flex;align-items:center;justify-content:center;min-height:120px}
.card__tint{position:absolute;inset:0;background:var(--orange-10);z-index:0}
.card__voice-inner{
  position:relative;z-index:1;flex:1;
  display:flex;align-items:center;justify-content:center;gap:10px;
  padding:24px;
}
.h1--sm{font-size:56px;line-height:1.2em}
.card__voice-text{display:flex;flex-direction:column;align-items:flex-start;width:min-content}
.card__voice-text .h4{font-size:22px;line-height:1.4em;white-space:nowrap}

.card--big{height:560px;padding:24px;align-items:flex-end}
.card__top{
  position:relative;z-index:2;width:100%;height:100%;
  display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;
}
.badge{
  display:inline-flex;align-items:center;gap:6px;
  background:var(--grey);border-radius:100px;padding:6px 24px 6px 6px;
}
.badge__icon{
  width:30px;height:30px;flex:none;border-radius:100px;background:var(--orange);
  display:inline-flex;align-items:center;justify-content:center;padding:6px;
}
.badge__icon svg{width:100%;height:100%}
.badge__icon--lg{width:44px;height:44px;padding:10px}
.badge--lg{gap:12px;padding:6px 24px 6px 6px}
.badge__stack{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left}
.review{display:flex;align-items:center;gap:16px;width:100%}

.card--clock{
  background:var(--black);padding:16px 24px;
  display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end;
  gap:12px;min-height:120px;
}
.card__clock-icon{position:absolute;top:16px;left:16px;width:24px;height:24px;z-index:1}
.card__clock-icon svg{width:100%;height:100%}
.clock{font-variant-numeric:tabular-nums}

/* =========================================================
   PRODUCTS
   ========================================================= */
.products{padding:100px var(--pad) 60px;display:flex;justify-content:center}
.products__container{display:flex;flex-direction:column;gap:62px;align-items:center}
.product{display:flex;align-items:center;gap:62px;width:100%}
.product__media{flex:1;aspect-ratio:1.01607;border-radius:var(--radius-m);overflow:hidden}
.product__media img{width:100%;height:100%;object-fit:cover;transition:transform 1.2s var(--ease)}
.product:hover .product__media img{transform:scale(1.04)}
.product__body{flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:24px}
.product__copy{max-width:420px;display:flex;flex-direction:column;gap:8px}

/* =========================================================
   GALLERY
   ========================================================= */
.gallery{padding:120px var(--pad) 32px;display:flex;justify-content:center;overflow:visible}
.gallery__container{display:flex;flex-direction:column;align-items:center;gap:60px;overflow:visible}
.gallery__heading{
  position:sticky;top:160px;z-index:2;
  display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center;
}
.gallery__mark{width:60px;aspect-ratio:1.33333}
.gallery__mark img{width:100%;height:100%;object-fit:contain}
.gallery__title{letter-spacing:.06em}
.gallery__lede{max-width:520px}

.gallery__images{position:relative;z-index:3;width:100%;display:flex;flex-direction:column}
.gallery__row{display:flex;width:100%}
.gallery__row--1{justify-content:flex-start;align-items:center;gap:10px;padding-left:40px}
.gallery__row--2{justify-content:space-between;align-items:center;padding-left:290px}
.gallery__row--3{justify-content:space-between;align-items:flex-start;padding:70px 100px 60px 140px}
.gallery__row--wide{justify-content:center}

.ph{border-radius:var(--radius-m);overflow:hidden;will-change:transform}
.ph img{width:100%;height:100%;object-fit:cover;transition:transform 1.1s var(--ease)}
.ph:hover img{transform:scale(1.06)}
.ph--5{width:400px;height:330px}
.ph--3{width:228px;height:292px}
.ph--4{width:396px;height:448px}
.ph--1{width:269px;height:175px}
.ph--2{width:373px;height:243px}
.ph--wide{width:100%;aspect-ratio:1.53982}

/* =========================================================
   SOCIAL PROOF
   ========================================================= */
.social{padding:80px var(--pad) 60px;display:flex;justify-content:center;overflow:visible}
.social__container{display:flex;flex-direction:column;align-items:center;gap:42px}
/* =========================================================
   FAQ
   ========================================================= */
.faq{padding:60px var(--pad) 120px;display:flex;justify-content:center}
.faq__container{display:flex;flex-direction:column;align-items:center;gap:62px}
.faq__grid{
  display:grid;grid-template-columns:repeat(2,minmax(50px,1fr));
  gap:12px;width:100%;padding:12px;
  background:var(--grey);border-radius:var(--radius-l);
}
.faq__panel{
  background:var(--white);border-radius:var(--radius-m);
  padding:16px;backdrop-filter:blur(10px);
}
.acc{display:flex;flex-direction:column}
.acc__item{border-bottom:1px solid var(--line)}
.acc__item:last-child{border-bottom:0}
.acc__q{
  width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:18px 4px;text-align:left;
  transition:color .3s var(--ease);
}
.acc__q:hover{color:var(--orange)}
.acc__icon{
  position:relative;width:24px;height:24px;flex:none;
}
.acc__icon::before,.acc__icon::after{
  content:"";position:absolute;left:50%;top:50%;
  background:currentColor;border-radius:2px;
  transform:translate(-50%,-50%);
  transition:transform .4s var(--ease),opacity .3s var(--ease);
}
.acc__icon::before{width:14px;height:1.5px}
.acc__icon::after{width:1.5px;height:14px}
.acc__item.is-open .acc__icon::after{transform:translate(-50%,-50%) rotate(90deg);opacity:0}
.acc__item.is-open .acc__q{color:var(--black)}
.acc__a{overflow:hidden;height:0;transition:height .45s var(--ease)}
.acc__inner{padding:0 4px 18px;max-width:52ch}

.faq__media{
  position:relative;border-radius:var(--radius-m);overflow:hidden;
  min-height:620px;display:flex;align-items:flex-end;justify-content:flex-end;padding:24px;
}
.faq__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.faq__tag{
  position:relative;z-index:1;
  background:rgba(255,255,255,.9);color:var(--black);
  padding:8px 16px;border-radius:100px;font-size:14px;backdrop-filter:blur(6px);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer{padding:0 16px 16px;background:var(--white)}
.footer__inner{position:relative;border-radius:var(--radius-m);overflow:hidden;background:var(--black)}
.footer__bg{position:absolute;inset:0;background:var(--black)}
.footer__container{
  position:relative;z-index:2;
  display:flex;flex-direction:column;align-items:flex-start;gap:32px;
  padding:80px 62px 0;color:var(--white);
}
.footer__grid{
  display:grid;grid-template-columns:repeat(5,minmax(50px,1fr));
  gap:62px;width:100%;
}
.footer__col{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.footer__col--wide{grid-column:span 2;gap:32px}
.footer__tagline{display:flex;flex-direction:column;gap:12px;max-width:360px}
.footer__label{margin-bottom:6px}
.footer__link{
  color:var(--white);font-size:16px;line-height:1.9em;
  position:relative;width:fit-content;
}
.footer__link::after{
  content:"";position:absolute;left:0;bottom:2px;height:1px;width:0;
  background:currentColor;transition:width .4s var(--ease);
}
.footer__link:hover::after{width:100%}

.footer__contact{
  display:flex;flex-direction:column;align-items:flex-start;gap:14px;
  width:100%;max-width:800px;
}
.footer__mail{position:relative}
.footer__mail::after{
  content:"";position:absolute;left:0;bottom:0;height:1px;width:100%;
  background:currentColor;opacity:.35;transition:opacity .3s var(--ease);
}
.footer__mail:hover::after{opacity:1}
.footer__socials{display:flex;gap:12px}
.footer__socials a{
  width:38px;height:38px;border-radius:100px;
  border:1px solid rgba(255,255,255,.18);
  display:inline-flex;align-items:center;justify-content:center;
  color:var(--white);transition:background .35s var(--ease),color .35s var(--ease),border-color .35s var(--ease);
}
.footer__socials svg{width:18px;height:18px}
.footer__socials a:hover{background:var(--white);color:var(--black);border-color:var(--white)}

.footer__logo{
  position:relative;
  width:100%;
  margin-top:32px;
  display:flex;
  justify-content:center;
  align-items:center;
  overflow:hidden;
}
.footer__brand-text{
  font-family:var(--display);
  font-weight:800;
  font-size:clamp(44px, 11.5vw, 148px);
  line-height:0.95em;
  letter-spacing:-0.03em;
  color:var(--white);
  text-transform:uppercase;
  text-align:center;
  margin:0 auto;
  padding:0;
  white-space:nowrap;
  user-select:none;
  -webkit-mask-image:linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 52%, rgba(0,0,0,0) 96%);
  mask-image:linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 52%, rgba(0,0,0,0) 96%);
}
.footer__logo-fade{
  position:absolute;
  left:0;
  bottom:0;
  width:100%;
  height:48%;
  background:linear-gradient(180deg, rgba(0,0,0,0) 0%, #000 100%);
  pointer-events:none;
}

/* =========================================================
   RESPONSIVE  (breakpoints from source: 1440 / 810)
   ========================================================= */
@media (max-width:1439px){
  .h1{font-size:92px}
  .h2{font-size:36px}
  .h4{font-size:28px}

  .nav{padding:0 24px}
  .cycle{height:110px}
  .cycle__item{font-size:92px;line-height:110px}
  .hero__container{padding:90px 32px 32px}

  .proof{padding:80px var(--pad)}
  .testimonial__media{height:480px}
  .products{padding:80px var(--pad) 60px}
  .product,.products__container{gap:32px}
  .bento__wrapper{flex-direction:column}
  .bento__grid,.bento__right{flex:none;width:100%}
  .card--big{height:420px}
  .marquee--logos{max-width:100%}

  .gallery{padding:60px var(--pad) 32px}
  .gallery__row--2{padding-left:120px}
  .gallery__row--3{padding:50px 40px 40px 60px}
  .ph--5{width:340px;height:280px}
  .ph--4{width:320px;height:370px}
  .ph--3{width:190px;height:245px}
  .ph--2{width:300px;height:200px}
  .ph--1{width:220px;height:150px}

  .social{padding:60px var(--pad)}
  .faq__media{min-height:520px}
  .footer__container{padding:60px 32px 0}
  .footer__grid{gap:32px}
}

@media (max-width:1023px){
  .faq__grid{grid-template-columns:1fr}
  .faq__media{min-height:360px}
  .footer__grid{grid-template-columns:1fr 1fr}
  .footer__col--wide{grid-column:span 2}
}

@media (max-width:809px){
  :root{--gap:24px}
  .h1{font-size:56px}
  .h2{font-size:32px}
  .h4{font-size:22px}
  .h5{font-size:20px}

  .nav{padding:0 12px}
  .nav__container{padding:8px 16px;gap:12px}
  .nav__brand-name{font-size:18px}
  .nav__logo{width:78px}
  .overlay{padding:100px 20px 32px}

  .hero{height:100svh;min-height:560px}
  .hero__container{padding:80px 16px 24px;height:100%}
  .hero__device{top:22%;left:8%;width:84%;height:52%}
  .cycle{height:68px;align-items:flex-end}
  .cycle__item{font-size:56px;line-height:68px}
  .keywords{flex-direction:row;flex-wrap:wrap;gap:16px;justify-content:flex-end}
  .hero__bottom{flex-direction:column;align-items:flex-start;gap:20px}
  .hero__lede{max-width:100%}
  .scroll-hint{display:none}

  .proof{padding:60px var(--pad)}
  .testimonial{flex-direction:column}
  .testimonial__media{height:320px;flex:none}
  .testimonial__content{padding:20px;gap:20px}
  .marquee--logos img{height:28px}
  .marquee__group{gap:36px;padding-right:36px}

  .bento{padding:60px var(--pad)}
  .bento__grid{grid-template-columns:1fr;grid-template-rows:none}
  .card--voice{grid-column:span 1}
  .card--stat{min-height:220px}
  .card--big{height:340px}

  .products{padding:60px var(--pad) 40px}
  .products__container{gap:48px}
  .product,.product--reverse{flex-direction:column;gap:24px}
  .product__media{width:100%;flex:none}
  .product__copy{max-width:100%}

  .gallery{padding:60px var(--pad) 24px}
  .gallery__container{gap:32px}
  .gallery__heading{position:static;gap:12px}
  .gallery__images{gap:12px}
  .gallery__row{padding:0!important;gap:12px;justify-content:center}
  .gallery__row--2,.gallery__row--3{justify-content:space-between}
  .ph--5{width:100%;max-width:320px;height:220px}
  .ph--3{width:46%;height:200px}
  .ph--4{width:50%;height:240px}
  .ph--1{width:46%;height:130px}
  .ph--2{width:50%;height:150px}

  .social{padding:48px var(--pad)}
  .tcard{width:280px}

  .faq{padding:48px var(--pad) 80px}
  .faq__container{gap:36px}
  .faq__grid{padding:8px;gap:8px}
  .faq__panel{padding:8px}
  .acc__q{padding:16px 4px}
  .faq__media{min-height:280px}

  .footer__container{padding:48px 20px 0;gap:28px}
  .footer__grid{grid-template-columns:1fr;gap:28px}
  .footer__col--wide{grid-column:span 1}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.001ms!important;animation-iteration-count:1!important;
    transition-duration:.001ms!important;scroll-behavior:auto!important;
  }
  .reveal{opacity:1;transform:none}
  .hero__lede .w>span{transform:none}
}

/* =========================================================
   CORRECTIONS — matched against measured values
   from the original render.
   ========================================================= */

/* ---- Nav: full bar with brand + menu ---- */
.nav__logo{display:none}
.menu-btn{
  display:inline-flex;align-items:center;gap:10px;
  padding:8px 18px;color:var(--black);
  transition:color .35s var(--ease);
}
.menu-btn__label{font-size:16px;line-height:1.6em}
.menu-btn__dots{display:flex;flex-direction:column;gap:3px;align-items:center}
.menu-btn__dot{width:3px;height:3px;border-radius:50%;background:currentColor;transition:transform .4s var(--ease)}
.nav.is-open .menu-btn__dots{transform:rotate(90deg)}
.nav.is-invert .menu-btn{color:var(--black)}
.nav.is-invert .menu-btn__dot{background:var(--black)}

/* ---- Tags (measured: 40px tall, 8px radius, 10px 16px padding) ---- */
.tag{
  display:inline-flex;align-items:center;
  padding:10px 16px;border-radius:8px;
  font-family:var(--sans);font-size:14px;line-height:1.4em;
  white-space:nowrap;width:max-content;
}
.tag--orange{background:var(--orange);color:var(--white)}
.tag--grey{background:var(--grey);color:var(--black)}
.tag--white{background:var(--white);color:var(--black)}

/* ---- Buttons ---- */
.btn--soft{background:var(--line);color:var(--black)}
.btn--soft::after{
  content:"";position:absolute;inset:0;border-radius:inherit;
  background:var(--black);transform:translateY(101%);
  transition:transform .45s var(--ease);z-index:0;
}
.btn--soft:hover::after{transform:translateY(0)}
.btn--soft:hover{color:var(--white)}
.btn--soft:hover .btn__icon--arrow{transform:translate(2px,-2px)}

.btn--dark-sq{
  background:var(--black);color:var(--white);
  border-radius:8px;padding:10px 16px;
}
.btn--dark-sq:hover{background:var(--orange)}
.btn--dark-sq:hover .btn__icon--arrow{transform:translate(2px,-2px)}

/* ---- Mark pill (grey rounded pill around the key icon) ---- */
.mark-pill{
  background:var(--grey);border-radius:100px;
  padding:16px 40px;display:inline-flex;align-items:center;justify-content:center;
  width:max-content;
}
.mark-pill img{width:46px;height:auto;object-fit:contain}

/* ---- Bento: orange voice card ---- */
.accent{color:var(--orange)}
.card__8d{color:var(--orange);font-size:120px;line-height:1.2em;font-weight:700}
.card__voice-text .h4{font-size:34px;line-height:1.4em;color:var(--orange)}
.card--voice{min-height:210px}
.card__voice-inner{gap:16px}

/* ---- Clock: Urbanist 34px, centered, 80px tall card ---- */
.clock{
  font-family:var(--display);font-weight:500;font-size:34px;line-height:1.4em;
  width:100%;text-align:center;
}
.card--clock{
  min-height:80px;align-items:center;justify-content:center;
  padding:16px 24px;
}

/* ---- Counter is 48px Urbanist ---- */
.counter{font-size:48px;font-weight:500}

/* ---- Revolving Clients Marquee with Edge Fade ---- */
.clients-marquee{
  width:100%;
  overflow:visible;
  position:relative;
  padding:24px 0 44px;
  -webkit-mask-image:linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image:linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.clients-marquee__track{
  display:flex;
  width:max-content;
  will-change:transform;
}
.clients-marquee__group{
  display:flex;
  align-items:center;
  gap:24px;
  padding-right:24px;
}
.client-card{
  background:var(--grey);
  border-radius:var(--radius-m);
  padding:24px 32px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  text-align:center;
  transition:transform .4s var(--ease),background .4s var(--ease),box-shadow .4s var(--ease);
  cursor:pointer;
  min-width:210px;
  height:130px;
  flex:none;
  position:relative;
}
.client-card:hover{
  transform:translateY(-8px) scale(1.06);
  background:var(--white);
  box-shadow:0 18px 40px rgba(0,0,0,.12);
  z-index:10;
}
.client-card__logo{
  width:100%;
  height:60px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.client-card__logo img{
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;
  filter:grayscale(.4);
  opacity:.8;
  transition:filter .4s var(--ease),opacity .4s var(--ease),transform .4s var(--ease);
}
.client-card:hover .client-card__logo img{
  filter:grayscale(0);
  opacity:1;
  transform:scale(1.12);
}
.client-card__name{
  font-family:var(--sans);
  font-weight:600;
  font-size:13px;
  line-height:1.2em;
  color:var(--white);
  background:#1a1a1a;
  padding:6px 14px;
  border-radius:100px;
  box-shadow:0 8px 24px rgba(0,0,0,.25);
  white-space:nowrap;
  position:absolute;
  bottom:-18px;
  left:50%;
  transform:translate(-50%, 8px);
  opacity:0;
  pointer-events:none;
  transition:opacity .35s var(--ease),transform .35s var(--ease);
  z-index:20;
}
.client-card:hover .client-card__name{
  opacity:1;
  transform:translate(-50%, 0);
}

/* ---- FAQ: separate white cards per question ---- */
.faq__panel{background:transparent;padding:0;backdrop-filter:none}
.acc{gap:10px}
.acc__item{
  background:var(--white);border-radius:var(--radius-m);
  border-bottom:0;overflow:hidden;
  transition:box-shadow .35s var(--ease);
}
.acc__q{padding:19px 20px}
.acc__inner{padding:0 20px 20px}
.faq__tag{position:relative;z-index:1}
.faq__media{padding:16px;align-items:flex-start;justify-content:flex-end}

/* ---- Blog post badges use tags ---- */
.post__badges{gap:8px}

/* ---- Footer sits on a light-grey page band ---- */
.footer{background:var(--grey);padding:0 62px 62px}
.footer__container{padding:80px 62px}
.footer__logo{margin-top:0}

@media (max-width:1439px){
  .footer{padding:0 32px 32px}
  .footer__container{padding:60px 32px}
  .card__8d{font-size:92px}
  .card__voice-text .h4{font-size:28px}
  .clock{font-size:28px}
}
@media (max-width:809px){
  .mark-pill{padding:12px 28px}
  .mark-pill img{width:36px}
  .card__8d{font-size:56px}
  .card__voice-text .h4{font-size:22px}
  .clock{font-size:22px}
  .card--voice{min-height:150px}
  .footer{padding:0 16px 16px}
  .footer__container{padding:48px 20px}
}

/* =========================================================
   MOBILE HERO FIX — match original small-screen layout:
   static headline top-left, keyword row directly beneath,
   device centred, lede + CTA pinned to the bottom.
   ========================================================= */
.cycle{align-items:flex-start}

@media (max-width:809px){
  .hero__wrapper{justify-content:flex-start;gap:10px}
  .cycle{align-items:flex-start;height:68px}
  .hero__center{justify-content:flex-start;width:100%}
  .keywords{
    flex-direction:row;flex-wrap:nowrap;gap:14px;
    justify-content:flex-start;width:100%;
  }
  .keywords__item{font-size:14px;line-height:1.4em}
  .hero__bottom{margin-top:auto}
  .hero__device{top:26%;left:4%;width:92%;height:46%}
}

@media (max-width:400px){
  .keywords{gap:10px}
  .keywords__item{font-size:13px}
  .cycle__item{font-size:52px;line-height:64px}
  .cycle{height:64px}
}

/* =========================================================
   MEASURED ANIMATIONS
   Values taken from the live site's Framer appear data and
   from instrumenting document.getAnimations() / transforms.

   Framer tween easing: cubic-bezier(.28,.41,.56,1)
   ========================================================= */

/* ---- Load "appear" animations ---------------------------
   Nav      : opacity .001, y -40 | tween .8s delay .6s
   Hero bg  : opacity .001, scale 1.1 | spring k60 d30 m1
   Device   : opacity .001, y 60 | spring k70 d33 m0.1 delay .2s
   Hero CTA: opacity .001, y 40 | tween .8s delay .6s
   Scrollhint: opacity .001, y 40 | tween .8s delay 1s
   --------------------------------------------------------- */
@keyframes fmAppearY40{from{opacity:.001;transform:translateY(40px)}to{opacity:1;transform:none}}
@keyframes fmAppearYneg40{from{opacity:.001;transform:translateY(-40px)}to{opacity:1;transform:none}}
@keyframes fmAppearScale{from{opacity:.001;transform:scale(1.1)}to{opacity:1;transform:none}}
@keyframes fmAppearY60{from{opacity:.001;transform:translateY(60px)}to{opacity:1;transform:none}}

.nav{
  animation:fmAppearYneg40 .8s var(--framer-ease) .6s both;
}
.hero__bgcolor{
  /* spring k60 d30 m1 ≈ 1.15s, no overshoot (critically damped) */
  animation:fmAppearScale 1.15s cubic-bezier(.16,.84,.34,1) both;
}
.hero__device{
  /* spring k70 d33 m0.1 ≈ .75s, delay .2s */
  animation:fmAppearY60 .75s cubic-bezier(.16,.84,.34,1) .2s both;
}
.hero__content .btn{
  animation:fmAppearY40 .8s var(--framer-ease) .6s both;
}
.scroll-hint{
  animation:fmAppearY40 .8s var(--framer-ease) 1s both;
}
.product .btn{
  animation:fmAppearY40 .8s var(--framer-ease) .6s both;
}

/* ---- Marquee exact speeds -------------------------------
   logos       2028px / 67.6s  = 30 px/s
   testimonial 4340px / 217s   = 20 px/s
   Duration is set per-track from JS using the measured
   px/s rate so it stays correct at any width.
   --------------------------------------------------------- */


/* ---- Gallery: scale .7 -> 1 and y 30 -> 0, bidirectional --
   Measured settle ≈ 600ms, ease-out.
   --------------------------------------------------------- */
.ph{
  transform:scale(.7) translateY(30px);
  transition:transform .6s cubic-bezier(.16,.84,.34,1);
  will-change:transform;
}
.ph.is-in{transform:none}
/* the inner <img> keeps its own hover zoom, so don't fight it */

/* ---- Accordion: measured ~450ms ease-out ---------------- */
.acc__a{transition:height .45s cubic-bezier(.16,.84,.34,1)}

@media (prefers-reduced-motion:reduce){
  .nav,.hero__bgcolor,.hero__device,.hero__content .btn,
  .scroll-hint,.product .btn{animation:none!important}
  .ph{transform:none!important;transition:none!important}
}

/* =========================================================
   LENIS SMOOTH SCROLL
   These four rules are the Lenis stylesheet exactly as it
   appears in the original page source.
   ========================================================= */
.lenis{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}

/* JS drives the easing, so the native smooth-scroll must be off */
html{scroll-behavior:auto}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
}

/* =========================================================
   PRO ENHANCEMENTS: SCROLLBAR, PROGRESS BAR, MESH GLOW & MODAL
   ========================================================= */

/* Custom Branded Scrollbar */
::-webkit-scrollbar{width:8px;height:8px}
::-webkit-scrollbar-track{background:#0d0d0d}
::-webkit-scrollbar-thumb{background:#2a2a2a;border-radius:4px}
::-webkit-scrollbar-thumb:hover{background:var(--orange)}

/* Top Scroll Progress Bar */
.scroll-progress-bar{
  position:fixed;top:0;left:0;height:3px;
  background:linear-gradient(90deg,var(--orange) 0%,#ff8a00 100%);
  z-index:9999;width:0%;
  box-shadow:0 0 10px rgba(255,94,43,0.6);
  transition:width 0.1s linear;
}

/* Frosted Glassmorphism Nav on Scroll (legacy) */
.nav{transition:all 0.6s var(--ease),background 0.4s var(--ease),backdrop-filter 0.4s var(--ease),border-color 0.4s var(--ease)}

/* Badge Shimmer Animation */
@keyframes badgeShimmer {
  0% { transform: translateX(-100%) rotate(25deg); }
  100% { transform: translateX(200%) rotate(25deg); }
}
.tag--orange, .badge { position: relative; overflow: hidden; }
.tag--orange::after, .badge::after {
  content: ""; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: linear-gradient(60deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  animation: badgeShimmer 6s infinite;
  pointer-events: none;
}

/* Ambient Mesh Glow in Dark Sections */
@keyframes meshGlow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.15; }
  50% { transform: scale(1.15) translate(-20px, 15px); opacity: 0.28; }
  100% { transform: scale(1) translate(0, 0); opacity: 0.15; }
}
.footer__inner::before {
  content: ""; position: absolute; top: -20%; left: -10%; width: 60%; height: 80%;
  background: radial-gradient(circle, rgba(255,94,43,0.22) 0%, transparent 70%);
  filter: blur(40px); animation: meshGlow 10s ease-in-out infinite alternate; pointer-events: none;
}

/* Card 3D Perspective & Tilt Styles */
.bento .card, .product, .vision__card, .post {
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  will-change: transform;
}

/* =========================================================
   NAV BRAND
   ========================================================= */
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--black);
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1;
  transition: opacity 0.35s var(--ease);
}
.nav__brand-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
}
.nav__brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  color: var(--black);
  letter-spacing: -0.02em;
  max-width: 200px;
}

/* =========================================================
   OPENING SPLASH ANIMATION (LARGER LOGO, CLEAN FADE)
   ========================================================= */
body.preloader-active {
  overflow: hidden !important;
  height: 100vh !important;
  touch-action: none;
}

.preloader--framer {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #000000;
  overflow: hidden;
  transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1),
              visibility 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity;
}

.preloader--framer .preloader__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.preloader--framer .preloader__brand-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  opacity: 0;
  transform: translateY(24px) scale(0.94);
  animation: splashLogoFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.1s;
}

.preloader--framer .preloader__logo {
  height: 115px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.07));
}

.preloader--framer .preloader__title {
  font-family: var(--display);
  font-size: 58px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #000000;
  line-height: 1;
}

/* Loading Bar & Counter */
.preloader__loading-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  opacity: 0;
  animation: splashFadeIn 0.3s ease forwards 0.15s;
}

.preloader__loading-track {
  width: 220px;
  height: 3px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.preloader__loading-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: #000000;
  border-radius: 4px;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
}

.preloader__loading-percent {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(0, 0, 0, 0.45);
}

@keyframes splashFadeIn {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Exit State - Smooth Fade Out */
.preloader--framer.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Splash logo enter keyframes */
@keyframes splashLogoFadeIn {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.92);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 768px) {
  .preloader--framer .preloader__logo {
    height: 76px;
  }
  .preloader--framer .preloader__title {
    font-size: 42px;
  }
  .preloader--framer .preloader__brand-group {
    gap: 16px;
  }
  .preloader__loading-track {
    width: 170px;
  }
}

/* =========================================================
   PROPER UPWARD SPRING REVEAL PHYSICS (LONGER DURATION)
   ========================================================= */
body.is-animating .nav {
  animation: springNavDown 1.0s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.1s;
}

body.is-animating .hero__wrapper {
  animation: springHeroUp 1.4s cubic-bezier(0.175, 0.885, 0.32, 1.1) forwards 0.2s;
}

body.is-animating .hero__device {
  animation: springDeviceUp 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.08) forwards 0.35s;
}

body.is-animating .keywords {
  animation: springFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.45s;
}

/* Upward Spring Keyframe Definitions */
@keyframes springNavDown {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes springHeroUp {
  0% {
    opacity: 0;
    transform: translateY(85px) scale(0.95);
  }
  70% {
    transform: translateY(-5px) scale(1.006);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes springDeviceUp {
  0% {
    opacity: 0;
    transform: translateY(95px) scale(1.05);
  }
  68% {
    transform: translateY(-6px) scale(0.992);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes springFadeUp {
  0% {
    opacity: 0;
    transform: translateY(35px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   NAV SCROLL STATE {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid var(--line);
}
