/* =====================================================================
   MIA CONSULT GROUP — homepage hero: promo badge + 3 switchable visuals.
   Variant is chosen by html[data-hero="a|b|c"] (set statically per file, or by ?hero=a|b|c).
   Every visual is a size container: all geometry is in cqw, so it scales 1:1 from PC to Duo to phone.
   Motion respects prefers-reduced-motion (final, readable state is shown instead).
   ===================================================================== */

/* ---------- promo badge (replaces the kicker above H1) ---------- */
.h-promo{display:inline-flex;align-items:center;gap:10px;margin:0 0 22px;padding:7px 14px 7px 7px;border-radius:999px;
  background:linear-gradient(100deg,rgba(255,160,79,.22),rgba(255,160,79,.08) 60%,rgba(255,255,255,.04));
  border:1px solid rgba(255,160,79,.55);box-shadow:0 0 0 4px rgba(255,160,79,.08),0 10px 30px rgba(255,160,79,.18),inset 0 1px 0 rgba(255,255,255,.12);
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);color:#fff;font-size:14.5px;font-weight:650;line-height:1.2;transition:border-color .2s,box-shadow .2s,transform .2s}
.h-promo:hover{border-color:#FFA04F;box-shadow:0 0 0 4px rgba(255,160,79,.16),0 14px 36px rgba(255,160,79,.3),inset 0 1px 0 rgba(255,255,255,.14);transform:translateY(-1px)}
.h-promo-ic{width:30px;height:30px;flex:none;border-radius:50%;display:grid;place-items:center;background:#FFA04F;color:#1A0E02;box-shadow:0 4px 14px rgba(255,160,79,.45)}
.h-promo-ic svg{width:17px;height:17px;display:block}
.h-promo-go{color:#FFC08A;font-weight:700;transition:transform .2s}
.h-promo:hover .h-promo-go{transform:translateX(3px)}
@media (max-width:639px){.h-promo{font-size:14px;margin-bottom:18px}}

/* ---------- variant switch ---------- */
.hv{display:none}
html:not([data-hero]) .hv-a,html[data-hero="a"] .hv-a,html[data-hero="b"] .hv-b,html[data-hero="c"] .hv-c{display:block}

/* ---------- shared stage ---------- */
.hv-wrap{position:relative;width:100%;max-width:580px;margin-left:auto;z-index:1}
.hv{position:relative;width:100%;aspect-ratio:1/1;container-type:inline-size;margin:0}
.hv *{box-sizing:border-box}
.hv-orb{position:absolute;border-radius:50%;filter:blur(60px);pointer-events:none;z-index:-1}
.hv-o1{width:62%;height:62%;left:16%;top:6%;background:rgba(19,184,238,.30)}
.hv-o2{width:38%;height:38%;right:-4%;bottom:6%;background:rgba(255,160,79,.20)}
.hv-o3{width:34%;height:34%;left:-2%;bottom:12%;background:rgba(104,226,180,.18)}
.hv-glass{background:rgba(14,30,42,.72)}
/* check mark used in all variants */
.hv-ok{position:relative;flex:none;display:inline-block;width:22px;height:22px;border-radius:50%;background:linear-gradient(135deg,#68E2B4,#3FD0C9);box-shadow:0 4px 12px rgba(104,226,180,.35)}
.hv-ok::after{content:"";position:absolute;left:8px;top:4.5px;width:5px;height:10px;border:solid #06261C;border-width:0 2.2px 2.2px 0;transform:rotate(45deg)}
/* glass chip */
.hv-chip{position:absolute;display:inline-flex;align-items:center;gap:9px;padding:9px 15px 9px 9px;border-radius:14px;list-style:none;white-space:nowrap;
  background:rgba(14,30,42,.74);border:1px solid rgba(255,255,255,.14);-webkit-backdrop-filter:blur(14px) saturate(1.2);backdrop-filter:blur(14px) saturate(1.2);
  box-shadow:0 18px 40px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.1);font-size:clamp(12.5px,2.6cqw,15px);font-weight:650;color:#fff;line-height:1.2}

/* =============================== A =============================== */
.hva-frame,.hva-photo{position:absolute;left:17cqw;right:17cqw;top:20cqw;bottom:4cqw;border-radius:clamp(22px,6cqw,34px)}
.hva-frame{overflow:hidden;border:1px solid rgba(255,255,255,.14);
  background:radial-gradient(110% 70% at 50% 0%,rgba(19,184,238,.42),transparent 62%),linear-gradient(165deg,rgba(19,184,238,.16),rgba(104,226,180,.10) 50%,rgba(255,160,79,.16)),rgba(14,30,42,.6);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 40px 80px rgba(0,0,0,.45);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
.hva-ring{position:absolute;left:50%;top:34%;width:84cqw;height:84cqw;border-radius:50%;border:1px solid rgba(255,255,255,.08);transform:translate(-50%,-50%)}
.hva-ring2{width:56cqw;height:56cqw;border-color:rgba(142,227,254,.14)}
.hva-photo{clip-path:inset(-40cqw 0 0 0 round 0 0 clamp(22px,6cqw,34px) clamp(22px,6cqw,34px));z-index:1}
.hva-photo img{position:absolute;left:50%;bottom:0;width:128%;height:auto;max-width:none;transform:translateX(-50%);filter:drop-shadow(0 20px 30px rgba(0,0,0,.35))}
.hva-name{position:absolute;left:50%;bottom:7cqw;transform:translateX(-50%);z-index:3;display:flex;align-items:center;gap:10px;margin:0;padding:9px 16px 9px 12px;border-radius:16px;white-space:nowrap;
  background:rgba(8,20,28,.72);border:1px solid rgba(255,255,255,.16);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 14px 30px rgba(0,0,0,.4)}
.hva-name b{display:block;font-size:clamp(13px,2.7cqw,15.5px);font-weight:700;color:#fff;letter-spacing:-.01em;line-height:1.25}
.hva-name small{display:block;font-size:clamp(11.5px,2.2cqw,13px);color:#A3B4BE;line-height:1.3}
.hva-dot{width:10px;height:10px;border-radius:50%;background:#68E2B4;box-shadow:0 0 0 3px rgba(104,226,180,.2),0 0 10px #68E2B4;flex:none}
.hva-team{position:absolute;right:0;top:5cqw;z-index:3;display:flex;align-items:center;gap:10px;padding:8px 14px 8px 8px;border-radius:999px;
  background:rgba(14,30,42,.74);border:1px solid rgba(255,255,255,.14);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 18px 40px rgba(0,0,0,.4)}
.hva-avs{display:flex}
.hva-avs img{width:clamp(26px,5.6cqw,34px);height:clamp(26px,5.6cqw,34px);border-radius:50%;object-fit:cover;background:#DCE5EA;border:2px solid #0E1E2A;margin-left:-9px}
.hva-avs img:first-child{margin-left:0}
.hva-team-t b{display:block;font-size:clamp(12px,2.4cqw,14px);font-weight:700;color:#fff;line-height:1.25;white-space:nowrap}
.hva-team-t small{display:block;font-size:clamp(11px,2.1cqw,12.5px);color:#A3B4BE;white-space:nowrap}
.hva-chips{margin:0;padding:0;list-style:none}
.hva-chips .hv-chip{z-index:4;animation:hvFloat 6s ease-in-out infinite}
.hva-chips .c1{left:0;top:33cqw}
.hva-chips .c2{right:0;top:44cqw;animation-delay:-1.5s;animation-duration:6.6s}
.hva-chips .c3{left:2cqw;top:58cqw;animation-delay:-3s;animation-duration:7s}
.hva-chips .c4{right:3cqw;top:69cqw;animation-delay:-4.4s;animation-duration:6.3s}
@keyframes hvFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-1.6cqw)}}
@container (max-width:420px){
  .hva-team-t small{display:none}
  .hv-chip{padding:7px 12px 7px 7px;gap:7px}
  .hv-ok{width:19px;height:19px}.hv-ok::after{left:6.8px;top:3.6px;width:4.5px;height:9px}
}

/* =============================== B =============================== */
.hvb-zone{position:absolute;left:2cqw;top:3cqw;width:52cqw;height:56cqw;border-radius:clamp(18px,5cqw,28px);border:1.5px dashed rgba(255,255,255,.15);
  background:rgba(255,255,255,.02);display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:8px;padding:0 4cqw 6cqw;text-align:center;
  color:#8FA4AF;font-size:clamp(12px,2.4cqw,14px);font-weight:550;line-height:1.35}
.hvb-zone svg{color:#8EE3FE;width:clamp(20px,4.4cqw,26px);height:auto}
.hvb-folder{position:absolute;right:2cqw;bottom:4cqw;width:60cqw;padding:3.6cqw;border-radius:clamp(18px,5cqw,28px);z-index:1;
  background:linear-gradient(160deg,rgba(19,184,238,.16),rgba(14,30,42,.82) 46%),rgba(14,30,42,.8);border:1px solid rgba(255,255,255,.16);
  -webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 40px 80px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.14)}
.hvb-fh{display:flex;align-items:center;gap:10px}
.hvb-fic{width:clamp(30px,7cqw,40px);height:clamp(30px,7cqw,40px);flex:none;border-radius:12px;display:grid;place-items:center;background:rgba(19,184,238,.16);color:#8EE3FE;box-shadow:inset 0 0 0 1px rgba(19,184,238,.35)}
.hvb-ft b{display:block;font-size:clamp(13px,2.8cqw,16px);font-weight:700;color:#fff;letter-spacing:-.01em;line-height:1.25}
.hvb-ft small{display:block;font-size:clamp(11px,2.2cqw,12.5px);color:#A3B4BE}
.hvb-fb{display:grid;grid-template-columns:15cqw 1fr;gap:3cqw;margin-top:3cqw;align-items:start}
.hvb-tray{height:14cqw;border-radius:12px;background:rgba(255,255,255,.04);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.hvb-rows{list-style:none;margin:0;padding:0;display:grid;gap:1.6cqw}
.hvb-rows li{display:flex;align-items:center;gap:8px;font-size:clamp(12px,2.5cqw,14.5px);font-weight:600;color:#D0DADF;line-height:1.2;white-space:nowrap}
.hvb-rows li i{position:relative;flex:none;width:clamp(16px,3.4cqw,20px);height:clamp(16px,3.4cqw,20px);border-radius:50%;border:1.5px solid rgba(255,255,255,.25);transition:none}
.hvb-rows li i::after{content:"";position:absolute;left:32%;top:14%;width:28%;height:52%;border:solid #06261C;border-width:0 2px 2px 0;transform:rotate(45deg);opacity:0}
.hvb-bar{height:clamp(6px,1.3cqw,8px);margin-top:3cqw;border-radius:99px;background:rgba(255,255,255,.08);overflow:hidden}
.hvb-bar i{display:block;height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#13B8EE,#68E2B4)}
.hvb-done{display:flex;align-items:center;justify-content:center;gap:9px;margin-top:3cqw;padding:clamp(8px,1.8cqw,11px) 14px;border-radius:14px;
  background:linear-gradient(135deg,rgba(104,226,180,.24),rgba(63,208,201,.14));border:1px solid rgba(104,226,180,.55);color:#fff;font-size:clamp(13px,2.8cqw,16px);font-weight:700;white-space:nowrap;opacity:0;transform:scale(.9)}
.hvb-doc{position:absolute;z-index:2;padding:3cqw;border-radius:clamp(14px,3.6cqw,20px);transform-origin:0 0;
  background:linear-gradient(180deg,rgba(255,255,255,.17),rgba(255,255,255,.07));border:1px solid rgba(255,255,255,.22);
  -webkit-backdrop-filter:blur(16px) saturate(1.3);backdrop-filter:blur(16px) saturate(1.3);box-shadow:0 24px 50px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.22)}
.hvb-fv{left:8cqw;top:17cqw;width:36cqw;height:40cqw;transform:translate(0,0) rotate(-2deg) scale(1);z-index:4}
.hvb-par{left:24cqw;top:5cqw;width:26cqw;height:40cqw;transform:translate(0,0) rotate(5deg) scale(1);z-index:3}
.hvb-wyc{left:3cqw;top:8cqw;width:34cqw;height:38cqw;transform:translate(0,0) rotate(-8deg) scale(1);z-index:2}
.hvb-dh{display:flex;align-items:center;gap:8px}
.hvb-dh b{display:block;font-size:clamp(11.5px,2.5cqw,14px);font-weight:700;color:#fff;line-height:1.2;white-space:nowrap}
.hvb-dh small{display:block;font-size:clamp(10.5px,2cqw,12px);color:#B9C7CF}
.hvb-dic{width:clamp(24px,5.6cqw,32px);height:clamp(24px,5.6cqw,32px);flex:none;border-radius:10px;display:grid;place-items:center}
.hvb-dic svg{width:56%;height:auto}
.di-c{background:rgba(19,184,238,.2);color:#8EE3FE}.di-o{background:rgba(255,160,79,.2);color:#FFC08A}.di-l{background:rgba(104,226,180,.2);color:#9BEBCB}
.hvb-lines,.hvb-tbl{display:grid;gap:1.6cqw;margin-top:3.4cqw}
.hvb-lines i,.hvb-tbl i{display:block;height:1.5cqw;border-radius:99px;background:rgba(255,255,255,.16)}
.hvb-lines i:nth-child(2){width:84%}.hvb-lines i.s{width:52%}
.hvb-tbl i{height:2.2cqw;background:linear-gradient(90deg,rgba(255,255,255,.16) 0 62%,transparent 62% 74%,rgba(255,255,255,.22) 74%)}
.hvb-tag{position:absolute;right:3cqw;bottom:3cqw;padding:3px 9px;border-radius:99px;font-size:clamp(10.5px,2cqw,12px);font-weight:700;letter-spacing:.06em;color:#8EE3FE;background:rgba(19,184,238,.16);box-shadow:inset 0 0 0 1px rgba(19,184,238,.4)}
.hvb-par .hvb-lines i{height:1.2cqw}
.hv-b{--fvx:35cqw;--fvy:47.4cqw;--pax:24.5cqw;--pay:59cqw;--wyx:42.5cqw;--wyy:58cqw}
/* loop · 10 s : invoice → receipt → bank statement land in the folder, rows tick, bar fills, "Miesiąc zamknięty" */
.hvb-fv{animation:hvbFv 10s cubic-bezier(.45,.05,.3,1) infinite}
.hvb-par{animation:hvbPar 10s cubic-bezier(.45,.05,.3,1) infinite}
.hvb-wyc{animation:hvbWyc 10s cubic-bezier(.45,.05,.3,1) infinite}
.hvb-rows .r1 i{animation:hvbR1 10s step-end infinite}
.hvb-rows .r2 i{animation:hvbR2 10s step-end infinite}
.hvb-rows .r3 i{animation:hvbR3 10s step-end infinite}
.hvb-rows .r1 i::after{animation:hvbA1 10s step-end infinite}
.hvb-rows .r2 i::after{animation:hvbA2 10s step-end infinite}
.hvb-rows .r3 i::after{animation:hvbA3 10s step-end infinite}
.hvb-bar i{animation:hvbBar 10s ease-in-out infinite}
.hvb-done{animation:hvbDone 10s cubic-bezier(.2,.8,.2,1.2) infinite}
.hvb-folder{animation:hvbGlow 10s ease-in-out infinite}
@keyframes hvbFv{0%,8%{transform:translate(0,0) rotate(-2deg) scale(1);opacity:1}14%{transform:translate(20cqw,14cqw) rotate(6deg) scale(.62);opacity:1}
  20%,86%{transform:translate(var(--fvx),var(--fvy)) rotate(0deg) scale(.25);opacity:1}90%{transform:translate(var(--fvx),var(--fvy)) rotate(0deg) scale(.25);opacity:0}
  91%{transform:translate(0,-3cqw) rotate(-2deg) scale(1);opacity:0}100%{transform:translate(0,0) rotate(-2deg) scale(1);opacity:1}}
@keyframes hvbPar{0%,22%{transform:translate(0,0) rotate(5deg) scale(1);opacity:1}28%{transform:translate(12cqw,24cqw) rotate(10deg) scale(.62);opacity:1}
  34%,86%{transform:translate(var(--pax),var(--pay)) rotate(0deg) scale(.25);opacity:1}90%{transform:translate(var(--pax),var(--pay)) rotate(0deg) scale(.25);opacity:0}
  91%{transform:translate(0,-3cqw) rotate(5deg) scale(1);opacity:0}100%{transform:translate(0,0) rotate(5deg) scale(1);opacity:1}}
@keyframes hvbWyc{0%,36%{transform:translate(0,0) rotate(-8deg) scale(1);opacity:1}42%{transform:translate(24cqw,26cqw) rotate(2deg) scale(.62);opacity:1}
  48%,86%{transform:translate(var(--wyx),var(--wyy)) rotate(0deg) scale(.25);opacity:1}90%{transform:translate(var(--wyx),var(--wyy)) rotate(0deg) scale(.25);opacity:0}
  91%{transform:translate(0,-3cqw) rotate(-8deg) scale(1);opacity:0}100%{transform:translate(0,0) rotate(-8deg) scale(1);opacity:1}}
@keyframes hvbR1{0%{background:transparent;border-color:rgba(255,255,255,.25)}20%{background:#68E2B4;border-color:#68E2B4}90%{background:transparent;border-color:rgba(255,255,255,.25)}}
@keyframes hvbR2{0%{background:transparent;border-color:rgba(255,255,255,.25)}34%{background:#68E2B4;border-color:#68E2B4}90%{background:transparent;border-color:rgba(255,255,255,.25)}}
@keyframes hvbR3{0%{background:transparent;border-color:rgba(255,255,255,.25)}48%{background:#68E2B4;border-color:#68E2B4}90%{background:transparent;border-color:rgba(255,255,255,.25)}}
@keyframes hvbA1{0%{opacity:0}20%{opacity:1}90%{opacity:0}}
@keyframes hvbA2{0%{opacity:0}34%{opacity:1}90%{opacity:0}}
@keyframes hvbA3{0%{opacity:0}48%{opacity:1}90%{opacity:0}}
@keyframes hvbBar{0%,10%{width:0}20%{width:33%}22%{width:33%}34%{width:66%}36%{width:66%}48%,86%{width:100%}92%,100%{width:0}}
@keyframes hvbDone{0%,50%{opacity:0;transform:scale(.9)}55%,86%{opacity:1;transform:scale(1)}90%,100%{opacity:0;transform:scale(.9)}}
@keyframes hvbGlow{0%,50%{border-color:rgba(255,255,255,.16)}55%,86%{border-color:rgba(104,226,180,.5)}92%,100%{border-color:rgba(255,255,255,.16)}}

/* =============================== C =============================== */
.hvc-card{position:absolute;left:0;top:4cqw;width:57cqw;padding:4cqw;border-radius:clamp(20px,5.4cqw,30px);
  background:linear-gradient(160deg,rgba(19,184,238,.14),rgba(14,30,42,.84) 42%),rgba(14,30,42,.8);border:1px solid rgba(255,255,255,.16);
  -webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 40px 80px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.14)}
.hvc-head{display:flex;align-items:center;gap:10px}
.hvc-ic{width:clamp(30px,7cqw,40px);height:clamp(30px,7cqw,40px);flex:none;border-radius:12px;display:grid;place-items:center;background:rgba(19,184,238,.16);color:#8EE3FE;box-shadow:inset 0 0 0 1px rgba(19,184,238,.35)}
.hvc-ht b{display:block;font-size:clamp(13px,2.8cqw,16px);font-weight:700;color:#fff;letter-spacing:-.01em;line-height:1.25}
.hvc-ht small{display:block;font-size:clamp(11px,2.2cqw,12.5px);color:#A3B4BE}
.hvc-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1.1cqw;margin-top:3.4cqw}
.hvc-grid i{position:relative;display:grid;place-items:center;aspect-ratio:1;border-radius:clamp(7px,1.8cqw,11px);font-style:normal;font-size:clamp(10.5px,2.3cqw,13.5px);font-weight:550;color:#7F949F;background:rgba(255,255,255,.035)}
.hvc-grid i.d{color:#fff;font-weight:750;font-size:clamp(11.5px,2.6cqw,15px)}
.d15{background:rgba(19,184,238,.2)!important;box-shadow:inset 0 0 0 1.5px #13B8EE,0 0 18px rgba(19,184,238,.35)}
.d20{background:rgba(104,226,180,.18)!important;box-shadow:inset 0 0 0 1.5px #68E2B4,0 0 18px rgba(104,226,180,.3)}
.d25{background:rgba(255,160,79,.2)!important;box-shadow:inset 0 0 0 1.5px #FFA04F,0 0 18px rgba(255,160,79,.32)}
.hvc-grid i s{position:absolute;right:-.9cqw;top:-.9cqw;width:clamp(13px,3cqw,18px);height:clamp(13px,3cqw,18px);border-radius:50%;background:linear-gradient(135deg,#68E2B4,#3FD0C9);box-shadow:0 0 0 2px #0E1E2A;transform:scale(0)}
.hvc-grid i s::after{content:"";position:absolute;left:34%;top:16%;width:26%;height:48%;border:solid #06261C;border-width:0 2px 2px 0;transform:rotate(45deg)}
.hvc-note{margin:3cqw 0 0;font-size:clamp(11px,2.2cqw,12.5px);line-height:1.4;color:#8FA4AF}
.hvc-legend{position:absolute;right:0;top:14cqw;width:44cqw;margin:0;padding:0;list-style:none;display:grid;gap:1.8cqw;z-index:2}
.hvc-legend li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:clamp(8px,1.8cqw,11px) 12px clamp(8px,1.8cqw,11px) 9px;border-radius:16px;
  background:rgba(14,30,42,.78);border:1px solid rgba(255,255,255,.14);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 18px 40px rgba(0,0,0,.42)}
.hvc-legend b{width:clamp(30px,6.6cqw,38px);height:clamp(30px,6.6cqw,38px);border-radius:11px;display:grid;place-items:center;font-size:clamp(13px,2.9cqw,16px);font-weight:750;color:#fff}
.l15 b{background:rgba(19,184,238,.22);box-shadow:inset 0 0 0 1.5px #13B8EE}.l20 b{background:rgba(104,226,180,.2);box-shadow:inset 0 0 0 1.5px #68E2B4}.l25 b{background:rgba(255,160,79,.22);box-shadow:inset 0 0 0 1.5px #FFA04F}
.hvc-legend span{font-size:clamp(12px,2.6cqw,14.5px);font-weight:650;color:#fff;line-height:1.25;min-width:0}
.hvc-legend small{display:block;font-size:clamp(10.5px,2.1cqw,12px);font-weight:450;color:#A3B4BE;line-height:1.3}
.hvc-legend em{display:inline-flex;align-items:center;gap:6px;font-style:normal;font-size:clamp(11px,2.2cqw,12.5px);font-weight:650;color:#9BEBCB;opacity:.25}
.hvc-legend em .hv-ok{width:18px;height:18px}.hvc-legend em .hv-ok::after{left:6.4px;top:3.4px;width:4.2px;height:8.4px;border-width:0 2px 2px 0}
.hvc-guard{position:absolute;left:6cqw;bottom:5cqw;z-index:3;display:flex;align-items:center;gap:11px;padding:9px 18px 9px 9px;border-radius:999px;white-space:nowrap;
  background:linear-gradient(100deg,rgba(19,184,238,.22),rgba(14,30,42,.8) 60%);border:1px solid rgba(19,184,238,.5);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 18px 40px rgba(0,0,0,.42),0 0 0 4px rgba(19,184,238,.08);animation:hvFloat 6.5s ease-in-out infinite}
.hvc-guard img{width:clamp(30px,6.6cqw,40px);height:clamp(30px,6.6cqw,40px);border-radius:50%;object-fit:cover;background:#DCE5EA;border:2px solid rgba(255,255,255,.7)}
.hvc-guard b{display:block;font-size:clamp(12.5px,2.7cqw,15px);font-weight:700;color:#fff;line-height:1.25}
.hvc-guard small{display:block;font-size:clamp(11px,2.1cqw,12.5px);color:#B9C7CF}
@container (max-width:460px){.hvc-legend em span,.hvc-legend em{font-size:0;gap:0}.hvc-legend li{gap:8px;padding-right:9px}}
/* loop · 8 s : deadlines get ticked one after another */
.d15 s{animation:hvcS1 8s cubic-bezier(.2,.8,.2,1.3) infinite}.d20 s{animation:hvcS2 8s cubic-bezier(.2,.8,.2,1.3) infinite}.d25 s{animation:hvcS3 8s cubic-bezier(.2,.8,.2,1.3) infinite}
.l15 em{animation:hvcE1 8s ease infinite}.l20 em{animation:hvcE2 8s ease infinite}.l25 em{animation:hvcE3 8s ease infinite}
@keyframes hvcS1{0%,10%{transform:scale(0)}15%,88%{transform:scale(1)}94%,100%{transform:scale(0)}}
@keyframes hvcS2{0%,28%{transform:scale(0)}33%,88%{transform:scale(1)}94%,100%{transform:scale(0)}}
@keyframes hvcS3{0%,46%{transform:scale(0)}51%,88%{transform:scale(1)}94%,100%{transform:scale(0)}}
@keyframes hvcE1{0%,10%{opacity:.25}15%,88%{opacity:1}94%,100%{opacity:.25}}
@keyframes hvcE2{0%,28%{opacity:.25}33%,88%{opacity:1}94%,100%{opacity:.25}}
@keyframes hvcE3{0%,46%{opacity:.25}51%,88%{opacity:1}94%,100%{opacity:.25}}

/* ---------- reduced motion: final, readable state ---------- */
@media (prefers-reduced-motion:reduce){
  .hv *,.hv *::after{animation:none!important}
  .hvb-fv,.hvb-par,.hvb-wyc{opacity:.0}
  .hvb-rows li i{background:#68E2B4;border-color:#68E2B4}.hvb-rows li i::after{opacity:1}
  .hvb-bar i{width:100%}.hvb-done{opacity:1;transform:none}
  .hvc-grid i s{transform:scale(1)}.hvc-legend em{opacity:1}
}

/* ---------- responsive (MIA bands) ---------- */
@media (max-width:1100px){
  .hv-wrap{margin:8px auto 0;max-width:560px}
}
@media (min-width:769px) and (max-width:1100px) and (max-height:780px) and (orientation:landscape){
  .hv-wrap{max-width:440px}
}
@media (max-width:639px){
  .hv-wrap{margin-top:4px;max-width:420px}
  .hva-chips .c1{top:31cqw}.hva-chips .c2{top:43cqw}.hva-chips .c3{top:57cqw}.hva-chips .c4{top:68cqw}
}
/* C on narrow stages (phone): calendar, then the 3 deadlines in a row, then the chip — in flow, no overlaps */
@container (max-width:460px){
  .hvc-card,.hvc-legend,.hvc-guard{position:relative;left:auto;right:auto;top:auto;bottom:auto}
  .hvc-card{width:100%;padding:16px}
  .hvc-grid{gap:5px;margin-top:12px}
  .hvc-grid i s{right:-4px;top:-4px;width:15px;height:15px}
  .hvc-legend{width:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}
  .hvc-legend li{position:relative;grid-template-columns:1fr;justify-items:start;gap:6px;padding:10px}
  .hvc-legend small{display:none}
  .hvc-legend em{position:absolute;right:8px;top:10px}
  .hvc-guard{display:flex;width:max-content;max-width:100%;margin:12px auto 0;animation:none}
  .hvc-guard small{display:none}
}
@media (max-width:639px){.hv-c{aspect-ratio:auto}}
