/* ============================================================
   Ampere | site styles
   The page structure lives in Elementor, this file handles the
   look. Everything is scoped to body.ampere (added in functions.php)
   so nothing leaks into wp-admin or other templates.
   ============================================================ */

/* ---------- tokens + base ---------- */
body.ampere{
  --paper:#F3F3EF;
  --paper-2:#E9E9E3;
  --ink:#0B0B0E;
  --ink-2:#16161B;
  --ink-3:#22222A;
  --mute:#6B6B73;
  --line:rgba(11,11,14,.1);
  --lime:#D4FF3F;
  --violet:#7A5CFF;
  --blue:#2E7BFF;
  --pink:#FF6BD6;
  --glass:rgba(255,255,255,.12);
  --glass-line:rgba(255,255,255,.28);

  --f-head:"Bricolage Grotesque",system-ui,sans-serif;
  --f-body:"Inter",system-ui,sans-serif;
  --f-mono:"Geist Mono",ui-monospace,monospace;

  --pad:clamp(14px,2.4vw,32px);
  --r:clamp(20px,2vw,30px);
  --ease:cubic-bezier(.77,0,.18,1);
  --out:cubic-bezier(.16,1,.3,1);

  margin:0;background:var(--paper);color:var(--ink);font-family:var(--f-body);font-size:16px;line-height:1.55;overflow-x:hidden;-webkit-font-smoothing:antialiased
}
html.lenis,html.lenis body{height:auto}
.lenis.lenis-smooth{scroll-behavior:auto!important}
body.ampere ::selection{background:var(--lime);color:var(--ink)}

/* Elementor gives every container and widget its own defaults
   (padding, width:100%, position:relative, button colours...).
   Reset them once so the rules below start from a clean box. */
body.ampere .e-con{position:static;width:auto;min-width:auto;height:auto;min-height:auto;margin:0;padding:0;border-radius:0;overflow:visible;z-index:auto;transition:none}
body.ampere .e-con::before{content:none;display:block;position:static;inset:auto;width:auto;height:auto;border:0;border-radius:0;opacity:1;mix-blend-mode:normal;transition:none}
body.ampere a{color:inherit;text-decoration:none}
body.ampere button{font:inherit;color:inherit;background:none;border:0;border-radius:0;padding:0;cursor:pointer;white-space:normal;user-select:auto;transition:none}
body.ampere .e-button-base{padding:0;border-radius:0;background:none}
body.ampere a.e-button-base{text-align:inherit}

/* ---------- shared ---------- */
body.ampere .wrap{max-width:1600px;margin:0 auto;padding-inline:var(--pad)}
body.ampere .mono{font-family:var(--f-mono);font-size:12px;letter-spacing:.04em;text-transform:uppercase}
body.ampere .tag{display:inline-flex;align-items:center;gap:8px;padding:7px 12px 7px 9px;border-radius:999px;background:var(--paper-2);font-family:var(--f-mono);font-size:11.5px;letter-spacing:.04em;text-transform:uppercase}
body.ampere .tag::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--violet);box-shadow:0 0 0 4px rgba(122,92,255,.18)}
body.ampere .tag.is-dark{background:rgba(255,255,255,.1);color:#fff}
body.ampere .tag.is-dark::before{background:var(--lime);box-shadow:0 0 0 4px rgba(212,255,63,.2)}
body.ampere .h2{font-family:var(--f-head);font-weight:600;font-size:clamp(38px,5.4vw,92px);line-height:.95;letter-spacing:-.045em;font-variation-settings:"wdth" 88,"opsz" 96}
body.ampere .h2 span{background:var(--lime);padding:0 .12em;border-radius:.14em;box-decoration-break:clone;-webkit-box-decoration-break:clone}
body.ampere .h2.h2--v span{background:none;padding:0;border-radius:0;color:var(--violet)}
body.ampere .h2.h2--ink span{color:var(--ink)}
body.ampere .lead{font-size:clamp(16px,1.2vw,19px);color:var(--mute);max-width:460px}
body.ampere .sec{padding-block:clamp(90px,11vw,170px)}
body.ampere .pt-0{padding-top:0}
body.ampere .mt-22{margin-top:22px}
body.ampere .text-center{text-align:center}
body.ampere .sec-head{display:flex;justify-content:space-between;align-items:flex-end;gap:28px;margin:0 0 clamp(40px,5vw,72px)}
body.ampere .sec-head .tag{margin-bottom:22px}

/* ---------- buttons ---------- */
body.ampere .btn{position:relative;display:inline-flex;align-items:center;gap:12px;height:56px;padding:0 8px 0 24px;border-radius:999px;font-weight:600;font-size:15px;overflow:hidden;isolation:isolate;background:var(--ink);color:#fff;transition:transform .5s var(--out)}
body.ampere .btn__ico{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--lime);color:var(--ink);transition:transform .6s var(--ease)}
body.ampere .btn__ico::before{content:"";width:15px;height:15px;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 13L13 3M13 3H5M13 3v8' stroke='%23000' stroke-width='1.8'/%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 16 16' fill='none'%3E%3Cpath d='M3 13L13 3M13 3H5M13 3v8' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E") center/contain no-repeat}
body.ampere .btn:hover .btn__ico{transform:rotate(-45deg)}
body.ampere .btn::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.22) 50%,transparent 70%);transform:translateX(-120%);transition:transform .9s var(--out)}
body.ampere .btn:hover::after{transform:translateX(120%)}
body.ampere .btn.is-lime{background:var(--lime);color:var(--ink)}
body.ampere .btn.is-lime .btn__ico{background:var(--ink);color:var(--lime)}
body.ampere .btn.is-glass{background:var(--glass);color:#fff;box-shadow:inset 0 0 0 1px var(--glass-line),inset 0 1px 0 rgba(255,255,255,.35);backdrop-filter:blur(14px) saturate(160%);-webkit-backdrop-filter:blur(14px) saturate(160%)}
body.ampere .btn.is-glass .btn__ico{background:#fff;color:var(--ink)}

/* ---------- nav (glass pill + scroll ring) ---------- */
body.ampere .nav{position:fixed;z-index:500;top:14px;left:50%;translate:-50% 0;width:min(1100px,calc(100% - 2*var(--pad)))}
body.ampere.admin-bar .nav{top:46px}
body.ampere .nav__pill{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:7px 7px 7px 10px;border-radius:999px;
  background:rgba(20,20,26,.55);color:#fff;backdrop-filter:blur(18px) saturate(170%);-webkit-backdrop-filter:blur(18px) saturate(170%);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.14),inset 0 1px 0 rgba(255,255,255,.22),0 20px 40px -20px rgba(0,0,0,.45)}
body.ampere .logo{display:flex;align-items:center;gap:10px;font-family:var(--f-head);font-weight:700;font-size:19px;letter-spacing:-.03em}
body.ampere .logo__ring{position:relative;width:38px;height:38px;display:grid;place-items:center}
body.ampere .logo__ring svg{position:absolute;inset:0;transform:rotate(-90deg)}
body.ampere .logo__ring circle{fill:none;stroke-width:2.2}
body.ampere .logo__ring .bg{stroke:rgba(255,255,255,.18)}
body.ampere .logo__ring .fg{stroke:var(--lime);stroke-linecap:round;stroke-dasharray:107;stroke-dashoffset:107}
body.ampere .logo__ring::after{content:"";width:16px;height:16px;background:var(--lime);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 2L4 14h6.5L9.5 22 20 9.5h-6.6z'/%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'%3E%3Cpath d='M13.5 2L4 14h6.5L9.5 22 20 9.5h-6.6z'/%3E%3C/svg%3E") center/contain no-repeat}
body.ampere .logo sup{position:static;top:auto;vertical-align:super;line-height:inherit;font-size:9px}
body.ampere .nav__links{display:flex;gap:2px}
body.ampere .nav__links a{padding:9px 14px;border-radius:999px;font-size:14px;font-weight:500;color:rgba(255,255,255,.8);transition:background .3s,color .3s}
body.ampere .nav__links a:hover,body.ampere .nav__links a.is-active{background:rgba(255,255,255,.12);color:#fff}
body.ampere .nav .btn{height:44px;font-size:14px;padding-left:18px}
body.ampere .nav .btn__ico{width:32px;height:32px}
body.ampere .burger{display:none;width:44px;height:44px;border-radius:50%;background:var(--lime);position:relative}
body.ampere .burger::before,body.ampere .burger::after{content:"";position:absolute;left:13px;right:13px;width:auto;height:2px;background:var(--ink);border-radius:2px;transition:transform .5s var(--ease),top .5s var(--ease)}
body.ampere .burger::before{top:17px}
body.ampere .burger::after{top:25px}
body.ampere .nav.is-open .burger::before{top:21px;transform:rotate(45deg)}
body.ampere .nav.is-open .burger::after{top:21px;transform:rotate(-45deg)}
body.ampere .sheet{position:fixed;z-index:490;inset:0;background:var(--ink);color:#fff;padding:110px var(--pad) var(--pad);display:flex;flex-direction:column;justify-content:space-between;opacity:0;visibility:hidden;transition:opacity .5s,visibility .5s}
body.ampere .sheet.is-open{opacity:1;visibility:visible}
body.ampere .sheet a{display:block;font-family:var(--f-head);font-weight:600;font-size:13vw;line-height:1;letter-spacing:-.05em}
body.ampere .sheet__mail{color:rgba(255,255,255,.5)}

/* ---------- hero (framed WebGL shader) ---------- */
body.ampere .hero{padding:var(--pad);padding-bottom:0}
body.ampere .hero__frame{position:relative;min-height:calc(100svh - 2*var(--pad));border-radius:clamp(24px,2.6vw,40px);overflow:hidden;background:#0B0B14;color:#fff;isolation:isolate;display:flex;flex-direction:column;justify-content:flex-end}
body.ampere .hero__gl{position:absolute;inset:0;z-index:-2;width:100%;height:100%;display:block}
body.ampere .hero__fallback{position:absolute;inset:0;z-index:-3;background:radial-gradient(60% 60% at 30% 30%,#7A5CFF,transparent 60%),radial-gradient(50% 50% at 75% 60%,#2E7BFF,transparent 60%),radial-gradient(40% 40% at 60% 85%,#D4FF3F,transparent 60%),#0B0B14}
body.ampere .hero__shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,rgba(11,11,20,.75),transparent 45%),linear-gradient(180deg,rgba(11,11,20,.35),transparent 30%)}
body.ampere .hero__inner{padding:clamp(110px,14vh,160px) clamp(20px,3vw,48px) clamp(22px,3vw,40px)}
@media (min-width:992px){
  body.ampere .hero__inner{padding-top:clamp(88px,12vh,140px);padding-bottom:clamp(18px,2.6vh,40px)}
  body.ampere .hero__row{margin-top:clamp(18px,3vh,48px)}
  body.ampere .logos{margin-top:clamp(16px,2.6vh,44px);padding-top:clamp(12px,2vh,22px)}
  body.ampere .live{position:absolute;right:clamp(20px,3vw,48px);top:clamp(100px,13vh,150px)}
  body.ampere .hero__top{margin-bottom:clamp(18px,2.4vw,32px)}
}
body.ampere .hero__top{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:clamp(22px,3vw,40px)}
body.ampere .hero__title{font-family:var(--f-head);font-size:clamp(46px,min(11.6vw,13.6vh),220px);line-height:.88;letter-spacing:-.05em;font-weight:300;font-variation-settings:"wght" 300,"wdth" 82,"opsz" 96;text-wrap:balance}
body.ampere .hero__title > span{display:block;overflow:hidden;padding-bottom:.05em}
body.ampere .hero__title .ch{display:inline-block;will-change:transform,font-variation-settings}
body.ampere .hero__title > span:last-child > span{color:var(--lime)}
body.ampere .hero__row{display:grid;grid-template-columns:1.1fr 1fr auto;gap:24px;align-items:end;margin-top:clamp(26px,3.4vw,48px)}
body.ampere .hero__desc{max-width:500px;color:rgba(255,255,255,.78);font-size:clamp(15px,1.15vw,18px)}
body.ampere .hero__desc b{color:#fff;font-weight:600}
body.ampere .hero__acts{display:flex;gap:10px;flex-wrap:wrap}
body.ampere .hero__scroll{color:rgba(255,255,255,.55)}
/* live glass metric card */
body.ampere .live{width:min(300px,100%);padding:16px;border-radius:22px;background:var(--glass);backdrop-filter:blur(18px) saturate(170%);-webkit-backdrop-filter:blur(18px) saturate(170%);
  box-shadow:inset 0 0 0 1px var(--glass-line),inset 0 1px 0 rgba(255,255,255,.4),0 30px 60px -30px rgba(0,0,0,.6)}
body.ampere .live__top{display:flex;justify-content:space-between;align-items:center;color:rgba(255,255,255,.7)}
body.ampere .live__dot{display:inline-flex;align-items:center;gap:6px}
body.ampere .live__dot::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--lime);animation:amp-pulse 1.6s infinite}
@keyframes amp-pulse{50%{box-shadow:0 0 0 6px rgba(212,255,63,0)}0%{box-shadow:0 0 0 0 rgba(212,255,63,.6)}}
body.ampere .live__num{font-family:var(--f-head);font-weight:600;font-size:44px;letter-spacing:-.05em;line-height:1;margin-top:12px;font-variant-numeric:tabular-nums}
body.ampere .live__num em{font-style:normal;font-size:15px;color:var(--lime);letter-spacing:0;margin-left:6px}
body.ampere .live__chart svg{width:100%;height:56px;margin-top:8px;overflow:visible}
body.ampere .live__chart path.l{fill:none;stroke:var(--lime);stroke-width:2.2;stroke-linejoin:round;stroke-linecap:round}
body.ampere .live__chart path.a{fill:url(#amp-live-fill)}
body.ampere .logos{display:flex;overflow:hidden;margin-top:clamp(26px,3vw,44px);padding-top:22px;border-top:1px solid rgba(255,255,255,.14);
  mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent)}
body.ampere .logos__track{display:flex;gap:64px;padding-right:64px;flex-shrink:0;animation:amp-marq 30s linear infinite;font-family:var(--f-head);font-weight:600;font-size:22px;letter-spacing:-.03em;color:rgba(255,255,255,.62);white-space:nowrap}
@keyframes amp-marq{to{transform:translateX(-100%)}}

/* ---------- text-mask zoom ---------- */
body.ampere .zoom{position:relative;height:340vh}
body.ampere .zoom__stick{position:sticky;top:0;height:100vh;overflow:hidden;display:grid;place-items:center}
body.ampere .zoom__word{font-family:var(--f-head);font-weight:800;font-variation-settings:"wght" 800,"wdth" 75,"opsz" 96;font-size:clamp(90px,24vw,460px);line-height:.8;letter-spacing:-.06em;
  background:var(--ink) center/cover;-webkit-background-clip:text;background-clip:text;color:transparent;will-change:transform}
body.ampere .zoom__full{position:absolute;inset:0;opacity:0}
body.ampere .zoom__full img{width:100%;height:100%;object-fit:cover}
body.ampere .zoom__full::after{content:"";position:absolute;inset:0;background:rgba(11,11,14,.45)}
body.ampere .zoom__copy{position:absolute;inset:0;display:grid;place-items:center;text-align:center;padding:var(--pad);color:#fff;opacity:0}
body.ampere .zoom__copy h2{font-family:var(--f-head);font-weight:600;font-size:clamp(36px,5.6vw,98px);line-height:.95;letter-spacing:-.045em;max-width:1100px}
body.ampere .zoom__copy h2 span{color:var(--lime)}
body.ampere .zoom__copy p{margin:22px auto 0;max-width:520px;color:rgba(255,255,255,.8)}
body.ampere .zoom__hint{position:absolute;bottom:28px;left:50%;translate:-50% 0;color:var(--mute)}

/* ---------- bento grid ---------- */
body.ampere .bento{display:grid;grid-template-columns:repeat(12,1fr);grid-auto-rows:minmax(150px,auto);gap:12px}
body.ampere .bx{--gx:50%;--gy:50%;position:relative;border-radius:var(--r);background:#fff;padding:clamp(20px,2vw,28px);overflow:hidden;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;gap:20px;
  box-shadow:inset 0 0 0 1px var(--line);transition:transform .6s var(--out)}
body.ampere .bx::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;opacity:0;transition:opacity .4s;
  background:radial-gradient(380px circle at var(--gx) var(--gy),rgba(122,92,255,.14),transparent 45%)}
body.ampere .bx::after{content:"";position:absolute;inset:0;border-radius:inherit;padding:1.5px;pointer-events:none;opacity:0;transition:opacity .4s;
  background:radial-gradient(300px circle at var(--gx) var(--gy),var(--violet),transparent 45%);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude}
body.ampere .bx:hover::before,body.ampere .bx:hover::after{opacity:1}
body.ampere .bx:hover{transform:translateY(-4px)}
body.ampere .bx h3{font-family:var(--f-head);font-weight:600;font-size:clamp(22px,1.8vw,28px);letter-spacing:-.035em;line-height:1.05}
body.ampere .bx__p{color:var(--mute);font-size:14.5px;margin-top:8px;max-width:340px}
body.ampere .bx.is-dark{background:var(--ink);color:#fff;box-shadow:none}
body.ampere .bx.is-dark .bx__p{color:rgba(255,255,255,.6)}
body.ampere .bx.is-lime{background:var(--lime);box-shadow:none}
body.ampere .bx.is-lime .bx__p{color:rgba(11,11,14,.65)}
body.ampere .bx.is-violet{background:var(--violet);color:#fff;box-shadow:none}
body.ampere .bx.is-violet .bx__p{color:rgba(255,255,255,.75)}
body.ampere .b-ads{grid-column:span 5;grid-row:span 2}
body.ampere .b-seo{grid-column:span 4}
body.ampere .b-rate{grid-column:span 3}
body.ampere .b-social{grid-column:span 3;grid-row:span 2}
body.ampere .b-brand{grid-column:span 4}
body.ampere .b-data{grid-column:span 7}
body.ampere .b-email{grid-column:span 5}
/* widgets (bar heights and swatch colours are set on the elements in Elementor) */
body.ampere .bars{display:flex;align-items:flex-end;gap:10px;height:220px;padding-top:10px}
body.ampere .bars > span{flex:1;border-radius:10px 10px 4px 4px;background:var(--paper-2);position:relative;transform-origin:bottom}
body.ampere .bars > span:last-child{background:var(--violet)}
body.ampere .bars em{position:absolute;top:-26px;left:50%;translate:-50% 0;font-family:var(--f-mono);font-style:normal;font-size:11px;color:var(--mute)}
body.ampere .bars > span:last-child em{color:var(--violet);font-weight:600}
body.ampere .ads__meta{display:flex;gap:28px}
body.ampere .ads__num{display:block;font-family:var(--f-head);font-weight:700;font-size:30px;letter-spacing:-.04em;line-height:1}
body.ampere .ads__lbl{font-size:13px;color:var(--mute)}
body.ampere .search{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:14px;background:var(--paper);font-size:14px;min-height:46px}
body.ampere .search__ico{width:16px;height:16px;flex-shrink:0;background:var(--mute);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='M11 11l3.5 3.5'/%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 16 16' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='M11 11l3.5 3.5'/%3E%3C/svg%3E") center/contain no-repeat}
body.ampere .search .caret{display:inline-block;width:1.5px;height:16px;background:var(--ink);margin-left:2px;animation:amp-blink 1s steps(1) infinite;vertical-align:-3px}
@keyframes amp-blink{50%{opacity:0}}
body.ampere .rank{display:flex;align-items:baseline;gap:10px}
body.ampere .rank b{font-family:var(--f-head);font-weight:700;font-size:64px;letter-spacing:-.06em;line-height:.9}
body.ampere .rank > span{font-family:var(--f-mono);font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--mute)}
body.ampere .ring{position:relative;width:120px;height:120px}
body.ampere .ring svg{width:100%;height:100%;transform:rotate(-90deg)}
body.ampere .ring circle{fill:none;stroke-width:12}
body.ampere .ring .bg{stroke:rgba(11,11,14,.12)}
body.ampere .ring .fg{stroke:var(--ink);stroke-linecap:round;stroke-dasharray:314;stroke-dashoffset:314}
body.ampere .ring__val{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;white-space:nowrap;font-family:var(--f-head);font-weight:700;font-size:28px;letter-spacing:-.04em}
body.ampere .phone{position:relative;margin:0 auto;width:min(190px,80%);aspect-ratio:9/17;border-radius:30px;background:#0B0B0E;padding:8px;box-shadow:0 30px 50px -25px rgba(0,0,0,.5)}
body.ampere .phone__screen{position:relative;height:100%;border-radius:23px;overflow:hidden;background:#1B1B22}
body.ampere .feed{display:flex;flex-direction:column;gap:6px;padding:6px;animation:amp-feed 14s linear infinite}
body.ampere .feed img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:14px}
@keyframes amp-feed{to{transform:translateY(-50%)}}
body.ampere .hearts{position:absolute;right:10px;bottom:16px;width:30px;height:120px;pointer-events:none}
body.ampere .hearts span{position:absolute;bottom:0;left:6px;font-size:18px;opacity:0;animation:amp-heart 3s ease-in infinite}
body.ampere .hearts span:nth-child(2){animation-delay:1s;left:0}
body.ampere .hearts span:nth-child(3){animation-delay:2s;left:10px}
@keyframes amp-heart{0%{opacity:0;transform:translateY(0) scale(.6)}15%{opacity:1}100%{opacity:0;transform:translateY(-110px) scale(1.2) rotate(15deg)}}
body.ampere .swatches{display:flex;gap:8px}
body.ampere .swatch{flex:1;height:76px;border-radius:14px;transition:flex .6s var(--ease)}
body.ampere .swatches:hover .swatch{flex:.6}
body.ampere .swatches .swatch:hover{flex:2.4}
body.ampere .chart{position:relative;width:100%;height:170px;aspect-ratio:600/170}
body.ampere .chart svg{position:absolute;inset:0;width:100%;height:100%}
body.ampere .chart path.grid{stroke:var(--line);stroke-width:1}
body.ampere .chart path.ln{fill:none;stroke:var(--violet);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
body.ampere .chart path.ln2{fill:none;stroke:var(--ink);stroke-width:2;stroke-dasharray:4 6;opacity:.35}
body.ampere .chart circle{fill:var(--lime);stroke:var(--ink);stroke-width:2}
body.ampere .chart__head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
body.ampere .chart__legend{display:flex;gap:16px;font-size:13px;color:var(--mute)}
body.ampere .chart__legend span::before{content:"";display:inline-block;width:10px;height:3px;border-radius:3px;background:var(--violet);margin-right:6px;vertical-align:middle}
body.ampere .chart__legend span:last-child::before{background:var(--ink);opacity:.4}
body.ampere .mail{display:flex;flex-direction:column;gap:8px}
body.ampere .mail__row{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.12);font-size:13.5px}
body.ampere .mail__row b{font-weight:600}
body.ampere .mail__row > span{margin-left:auto;font-family:var(--f-mono);font-size:11px;padding:4px 8px;border-radius:999px;background:var(--lime);color:var(--ink)}
body.ampere .mail__av{width:28px;height:28px;border-radius:50%;background:#fff;color:var(--violet);display:grid;place-items:center;font-weight:700;font-size:12px;flex-shrink:0}

/* ---------- 3D case ring ---------- */
body.ampere .ring3d{position:relative;background:var(--ink);color:#fff}
body.ampere .ring3d__stick{height:100vh;display:flex;flex-direction:column;justify-content:center;overflow:hidden;padding-block:clamp(84px,12vh,110px) clamp(18px,3vh,36px)}
body.ampere .ring3d__head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px}
body.ampere .ring3d__head .lead{color:rgba(255,255,255,.6)}
body.ampere .stage{position:relative;flex:1;perspective:1800px;display:grid;place-items:center;min-height:0;padding-block:clamp(12px,2vh,24px)}
body.ampere .carousel{position:relative;width:clamp(180px,min(24vw,calc((100vh - 400px) * .75)),360px);aspect-ratio:3/4;transform-style:preserve-3d;will-change:transform}
body.ampere .case{position:absolute;inset:0;border-radius:24px;overflow:hidden;backface-visibility:hidden;background:var(--ink-3);box-shadow:0 40px 80px -40px rgba(0,0,0,.8)}
body.ampere .case img{width:100%;height:100%;object-fit:cover}
body.ampere .case__info{position:absolute;inset:auto 12px 12px 12px;padding:14px 16px;border-radius:18px;background:rgba(11,11,14,.55);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)}
body.ampere .case__info b{display:block;font-family:var(--f-head);font-weight:600;font-size:20px;letter-spacing:-.03em}
body.ampere .case__info span{font-size:13px;color:rgba(255,255,255,.65)}
body.ampere .case__kpi{position:absolute;top:12px;left:12px;padding:8px 12px;border-radius:999px;background:var(--lime);color:var(--ink);font-family:var(--f-head);font-weight:700;font-size:15px;letter-spacing:-.02em}
body.ampere .ring3d__foot{display:flex;justify-content:space-between;align-items:center;gap:20px;color:rgba(255,255,255,.55)}
body.ampere .ring3d__dots{display:flex;gap:6px}
body.ampere .ring3d__dots i{width:22px;height:4px;border-radius:4px;background:rgba(255,255,255,.18);transition:background .4s,width .4s}
body.ampere .ring3d__dots i.is-on{background:var(--lime);width:42px}

/* ---------- growth plan estimator ---------- */
body.ampere .est{display:grid;grid-template-columns:1.1fr 1fr;gap:12px}
body.ampere .est__panel{border-radius:var(--r);background:#fff;box-shadow:inset 0 0 0 1px var(--line);padding:clamp(22px,2.6vw,40px)}
body.ampere .est__label{display:flex;justify-content:space-between;align-items:baseline;margin:0 0 14px;font-weight:600}
body.ampere .est__label span{font-family:var(--f-mono);font-size:12px;color:var(--mute);font-weight:400}
body.ampere .chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:34px}
body.ampere .chip{display:inline-flex;align-items:center;gap:8px;padding:11px 16px;border-radius:999px;background:var(--paper);font-weight:500;font-size:14.5px;transition:background .3s,color .3s,transform .4s var(--out)}
body.ampere .chip::before{content:"+";font-weight:600;transition:transform .4s var(--ease)}
body.ampere .chip.is-on{background:var(--ink);color:#fff}
body.ampere .chip.is-on::before{content:"✓";color:var(--lime)}
body.ampere .chip:active{transform:scale(.94)}
body.ampere .range{width:100%;-webkit-appearance:none;appearance:none;height:8px;border-radius:8px;background:linear-gradient(90deg,var(--violet) var(--p,30%),var(--paper-2) var(--p,30%));outline:0;margin:6px 0 34px}
body.ampere .range::-webkit-slider-thumb{-webkit-appearance:none;width:28px;height:28px;border-radius:50%;background:var(--lime);border:3px solid var(--ink);cursor:grab}
body.ampere .range::-moz-range-thumb{width:24px;height:24px;border-radius:50%;background:var(--lime);border:3px solid var(--ink);cursor:grab}
body.ampere .seg{display:flex;padding:4px;border-radius:999px;background:var(--paper);position:relative}
body.ampere .seg button{flex:1;position:relative;z-index:2;padding:11px 10px;border-radius:999px;font-weight:600;font-size:14px;transition:color .3s}
body.ampere .seg button.is-on{color:#fff}
body.ampere .seg__pill{position:absolute;z-index:1;top:4px;bottom:4px;left:4px;border-radius:999px;background:var(--ink);transition:transform .6s var(--ease),width .6s var(--ease)}
body.ampere .est__out{border-radius:var(--r);background:var(--ink);color:#fff;padding:clamp(22px,2.6vw,40px);display:flex;flex-direction:column;justify-content:space-between;gap:28px;position:relative;overflow:hidden;isolation:isolate}
body.ampere .est__out::before{content:"";position:absolute;z-index:-1;width:120%;aspect-ratio:1;right:-50%;top:-70%;border-radius:50%;background:radial-gradient(circle,rgba(122,92,255,.55),transparent 60%)}
body.ampere .est__out > .btn{align-self:flex-start}
body.ampere .kpis{display:grid;grid-template-columns:1fr 1fr;gap:10px}
body.ampere .kpi{padding:18px;border-radius:18px;background:rgba(255,255,255,.07);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1)}
body.ampere .kpi__v{display:block;font-family:var(--f-head);font-weight:600;font-size:clamp(30px,2.8vw,44px);letter-spacing:-.05em;line-height:1;font-variant-numeric:tabular-nums}
body.ampere .kpi__l{font-size:13px;color:rgba(255,255,255,.6)}
body.ampere .kpi.is-hl{background:var(--lime);color:var(--ink);box-shadow:none}
body.ampere .kpi.is-hl .kpi__l{color:rgba(11,11,14,.65)}
body.ampere .ai{padding:18px;border-radius:18px;background:rgba(255,255,255,.05);font-size:15px;line-height:1.6;min-height:122px}
body.ampere .ai__head{display:flex;align-items:center;gap:8px;margin-bottom:8px;color:var(--lime)}
body.ampere .ai__head::before{content:"";width:16px;height:16px;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='%23000' stroke-width='2'%3E%3Crect x='5' y='3' width='14' height='18' rx='2'/%3E%3Cpath d='M9 8h6M9 12h6M9 16h4'/%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='%23000' stroke-width='2'%3E%3Crect x='5' y='3' width='14' height='18' rx='2'/%3E%3Cpath d='M9 8h6M9 12h6M9 16h4'/%3E%3C/svg%3E") center/contain no-repeat}
body.ampere .ai__text::after{content:"";display:inline-block;width:7px;height:15px;background:var(--lime);margin-left:2px;vertical-align:-2px;animation:amp-blink 1s steps(1) infinite}

/* ---------- review columns ---------- */
body.ampere .cols{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;height:clamp(560px,70vh,760px);overflow:hidden;
  mask-image:linear-gradient(transparent,#000 14%,#000 86%,transparent);-webkit-mask-image:linear-gradient(transparent,#000 14%,#000 86%,transparent)}
body.ampere .col{display:flex;flex-direction:column;gap:12px;animation:amp-col-up var(--d,40s) linear infinite}
body.ampere .col--1{--d:46s}
body.ampere .col--2{--d:52s}
body.ampere .col--3{--d:40s}
body.ampere .col.is-down{animation-name:amp-col-down}
body.ampere .cols:hover .col{animation-play-state:paused}
@keyframes amp-col-up{to{transform:translateY(-50%)}}
@keyframes amp-col-down{from{transform:translateY(-50%)}to{transform:translateY(0)}}
body.ampere .quote{padding:24px;border-radius:22px;background:#fff;box-shadow:inset 0 0 0 1px var(--line)}
body.ampere .quote > p{font-size:15.5px;line-height:1.55}
body.ampere .quote > p b{background:var(--lime);font-weight:600;padding:0 .15em}
body.ampere .quote__who{display:flex;align-items:center;gap:12px;margin-top:18px}
body.ampere .quote__who img{width:40px;height:40px;border-radius:50%;object-fit:cover}
body.ampere .quote__who strong{display:block;font-size:14px}
body.ampere .quote__who span{font-size:13px;color:var(--mute)}
body.ampere .quote.is-dark{background:var(--ink);color:#fff;box-shadow:none}
body.ampere .quote.is-dark .quote__who span{color:rgba(255,255,255,.55)}
body.ampere .quote.is-dark > p b{color:var(--ink)}
body.ampere .quote.is-stat{background:var(--violet);color:#fff;box-shadow:none}
body.ampere .quote.is-stat .big{display:block;font-family:var(--f-head);font-weight:700;font-size:56px;letter-spacing:-.05em;line-height:1;margin-bottom:8px}

/* ---------- faq ---------- */
body.ampere .faq{display:grid;grid-template-columns:1fr 1.4fr;gap:clamp(30px,5vw,90px)}
body.ampere .qa{border-bottom:1px solid var(--line)}
body.ampere .qa:first-child{border-top:1px solid var(--line)}
body.ampere .qa__q{width:100%;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 0;text-align:left;font-family:var(--f-head);font-weight:500;font-size:clamp(19px,1.6vw,24px);letter-spacing:-.025em}
body.ampere .qa__i{width:38px;height:38px;border-radius:50%;background:var(--paper-2);position:relative;flex-shrink:0;transition:background .4s,transform .6s var(--ease)}
body.ampere .qa__i::before,body.ampere .qa__i::after{content:"";position:absolute;left:50%;top:50%;width:13px;height:2px;border-radius:2px;background:currentColor;translate:-50% -50%}
body.ampere .qa__i::after{transform:rotate(90deg);transition:transform .5s var(--ease)}
body.ampere .qa.is-open .qa__i{background:var(--lime);transform:rotate(180deg)}
body.ampere .qa.is-open .qa__i::after{transform:rotate(0)}
body.ampere .qa__a{height:0;overflow:hidden}
body.ampere .qa__a p{padding:0 50px 24px 0;color:var(--mute)}

/* ---------- CTA + footer ---------- */
body.ampere .cta{padding:var(--pad)}
body.ampere .cta__card{position:relative;border-radius:clamp(24px,2.6vw,40px);background:var(--ink);color:#fff;overflow:hidden;isolation:isolate;padding:clamp(70px,10vw,160px) var(--pad) clamp(28px,3vw,44px)}
body.ampere .cta__glow{position:absolute;z-index:-1;inset:-30%;background:conic-gradient(from var(--amp-angle,0deg) at 50% 60%,#7A5CFF,#2E7BFF,#D4FF3F,#FF6BD6,#7A5CFF);filter:blur(90px);opacity:.55;animation:amp-rot 14s linear infinite}
@property --amp-angle{syntax:"<angle>";initial-value:0deg;inherits:false}
@keyframes amp-rot{to{--amp-angle:360deg}}
body.ampere .cta__card::after{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(70% 60% at 50% 40%,transparent,rgba(11,11,14,.85))}
body.ampere .cta__title{margin-top:28px;text-align:center;font-family:var(--f-head);font-weight:600;font-size:clamp(46px,8.4vw,156px);line-height:.88;letter-spacing:-.055em}
body.ampere .cta__title em{font-style:normal;color:var(--lime)}
body.ampere .cta__acts{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:40px}
body.ampere .foot{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:28px;margin-top:clamp(70px,9vw,140px);padding-top:32px;border-top:1px solid rgba(255,255,255,.14)}
body.ampere .foot h5{font-family:var(--f-mono);font-weight:400;font-size:11.5px;line-height:1.55;letter-spacing:.06em;text-transform:uppercase;color:rgba(255,255,255,.5);margin-bottom:14px}
body.ampere .foot__list{display:block}
body.ampere .foot ul{list-style:none;display:flex;flex-direction:column;gap:8px;margin:0;padding:0}
body.ampere .foot a{color:rgba(255,255,255,.85);transition:color .3s}
body.ampere .foot a:hover{color:var(--lime)}
body.ampere .foot p{color:rgba(255,255,255,.65);max-width:320px}
body.ampere .foot li > span{color:rgba(255,255,255,.65)}
body.ampere .wordmark{display:flex;justify-content:space-between;font-family:var(--f-head);font-size:clamp(64px,17.6vw,330px);line-height:.8;letter-spacing:-.06em;margin-top:clamp(40px,6vw,90px);font-variation-settings:"wght" 300,"wdth" 75,"opsz" 96;user-select:none}
body.ampere .wordmark span{display:inline-block}
body.ampere .base{display:flex;justify-content:space-between;gap:16px;margin-top:22px;font-family:var(--f-mono);font-size:11.5px;letter-spacing:.04em;text-transform:uppercase;color:rgba(255,255,255,.5)}

/* ---------- reveal helper ---------- */
body.ampere .rv{opacity:0;transform:translateY(40px)}

/* ---------- responsive ---------- */
@media (max-width:991px){
  body.ampere .nav__links,body.ampere .nav .btn{display:none}
  body.ampere .burger{display:block}
  body.ampere .hero__row{grid-template-columns:1fr}
  body.ampere .sec-head{flex-direction:column;align-items:flex-start}
  body.ampere .bento{grid-template-columns:repeat(6,1fr)}
  body.ampere .b-ads,body.ampere .b-data{grid-column:span 6}
  body.ampere .b-seo,body.ampere .b-rate,body.ampere .b-social,body.ampere .b-brand,body.ampere .b-email{grid-column:span 3}
  body.ampere .b-social{grid-row:span 2}
  body.ampere .ring3d__stick{height:auto;padding-block:90px}
  body.ampere .stage{perspective:none;display:block;min-height:0;margin-top:36px}
  body.ampere .carousel{width:auto;aspect-ratio:auto;transform:none!important;display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:10px;margin-inline:calc(var(--pad)*-1);padding-inline:var(--pad)}
  body.ampere .case{position:relative;inset:auto;flex:0 0 72%;aspect-ratio:3/4;transform:none!important;scroll-snap-align:center}
  body.ampere .ring3d__foot{margin-top:20px}
  body.ampere .ring3d__foot > span{white-space:nowrap}
  body.ampere .ring3d__foot > span:last-child{display:none}
  body.ampere .hero__top{flex-direction:column;align-items:flex-start;gap:18px}
  body.ampere .hero .tag{white-space:nowrap}
  body.ampere .est,body.ampere .faq{grid-template-columns:1fr}
  body.ampere .cols{grid-template-columns:1fr 1fr}
  body.ampere .cols .col:nth-child(3){display:none}
  body.ampere .foot{grid-template-columns:1fr 1fr}
  body.ampere .foot > div:first-child{grid-column:1/-1}
}
@media (max-width:782px){
  body.ampere.admin-bar .nav{top:60px}
}
@media (max-width:640px){
  body.ampere .hero__title{font-size:13vw}
  body.ampere .bento{grid-template-columns:1fr}
  body.ampere .bento > *{grid-column:1/-1!important;grid-row:auto!important}
  body.ampere .cols{grid-template-columns:1fr}
  body.ampere .cols .col:nth-child(2){display:none}
  body.ampere .kpis{grid-template-columns:1fr 1fr}
  body.ampere .base{flex-direction:column}
}
@media (prefers-reduced-motion:reduce){
  body.ampere *,body.ampere *::before,body.ampere *::after{animation:none!important;transition-duration:.01ms!important}
  body.ampere .rv{opacity:1;transform:none}
}

/* ---------- short laptop screens ---------- */
@media (min-width:992px) and (max-height:860px){
  body.ampere .ring3d .h2{font-size:clamp(34px,4.2vw,64px)}
  body.ampere .ring3d__head .tag{margin-bottom:0}
}

/* ---------- bento: balanced 3-row layout on desktop ---------- */
@media (min-width:992px){
  body.ampere .bento{grid-template-areas:
    "ads ads ads ads ads seo seo seo seo cro cro cro"
    "ads ads ads ads ads soc soc soc brand brand brand brand"
    "data data data data data soc soc soc mail mail mail mail";
    grid-auto-rows:minmax(230px,auto)}
  body.ampere .b-ads{grid-area:ads}
  body.ampere .b-seo{grid-area:seo}
  body.ampere .b-rate{grid-area:cro}
  body.ampere .b-social{grid-area:soc}
  body.ampere .b-brand{grid-area:brand}
  body.ampere .b-data{grid-area:data}
  body.ampere .b-email{grid-area:mail}
  body.ampere .b-data .chart{flex:1;min-height:120px;height:auto}
  body.ampere .bars{height:auto;flex:1;min-height:160px}
}
/* social card: phone sized by the card, stat chips fill the sides */
body.ampere .b-social{gap:14px}
body.ampere .soc__stage{position:relative;flex:1;min-height:300px;display:grid;place-items:center}
body.ampere .b-social .phone{height:100%;max-height:400px;width:auto;aspect-ratio:9/17;margin:0}
body.ampere .soc__chip{position:absolute;z-index:2;display:flex;align-items:center;gap:8px;padding:9px 12px;border-radius:14px;background:rgba(255,255,255,.1);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.16);font-size:12.5px;white-space:nowrap;animation:amp-floaty 5s ease-in-out infinite}
body.ampere .soc__chip b{font-family:var(--f-head);font-size:17px;letter-spacing:-.03em}
body.ampere .soc__chip.c1{left:0;top:16%}
body.ampere .soc__chip.c2{right:0;top:46%;background:var(--lime);color:var(--ink);animation-delay:-1.6s}
body.ampere .soc__chip.c3{left:4%;bottom:10%;animation-delay:-3.2s}
@keyframes amp-floaty{50%{transform:translateY(-8px)}}
@media (max-width:640px){
  body.ampere .soc__chip.c1{left:2%}
  body.ampere .soc__chip.c2{right:2%}
}

/* ---------- Elementor editor ----------
   Scroll scenes are paused while editing, so show every block in
   its finished state and keep all the text reachable. */
body.ampere.elementor-editor-active .rv{opacity:1;transform:none}
body.ampere.elementor-editor-active .zoom{height:auto}
body.ampere.elementor-editor-active .zoom__stick{position:relative;height:auto;display:block}
body.ampere.elementor-editor-active .zoom__word{padding:60px 0 40px;text-align:center;color:var(--ink);background:none}
body.ampere.elementor-editor-active .zoom__full{position:relative;height:80vh;opacity:1}
body.ampere.elementor-editor-active .zoom__copy{inset:auto 0 0;height:80vh;opacity:1}
body.ampere.elementor-editor-active .zoom__hint{position:static;display:block;translate:none;padding:16px 0;text-align:center}
body.ampere.elementor-editor-active .ring3d__stick{height:auto;padding-block:90px}
body.ampere.elementor-editor-active .stage{perspective:none;display:block;margin-top:36px}
body.ampere.elementor-editor-active .carousel{width:auto;aspect-ratio:auto;display:flex;gap:12px;overflow-x:auto;padding-bottom:10px}
body.ampere.elementor-editor-active .case{position:relative;inset:auto;flex:0 0 min(320px,72%);aspect-ratio:3/4}
body.ampere.elementor-editor-active .qa__a{height:auto}
body.ampere.elementor-editor-active .col{animation:none}
