/* ============================================================
   HOME — two-sided Digital Business Card (standalone)
   Loaded only by index.html, after style.css.
   ============================================================ */
.hcp-visual{display:flex;justify-content:center;align-items:center}
/* ---- the two-sided card, modelled on the printed one ---- */
.dc-pair{--w:clamp(140px,16vw,200px);position:relative;width:calc(var(--w) * 1.96);
  height:calc(var(--w) * 1.72)}
.dc{position:absolute;width:var(--w);aspect-ratio:54/86;font-size:calc(var(--w) / 20);
  border-radius:1.2em;overflow:hidden;display:flex;flex-direction:column;align-items:center;
  padding:1.7em 1.4em 1.3em;color:#e9e6de;font-family:var(--body);
  background:
    radial-gradient(120% 55% at 25% 0%,rgba(255,255,255,.13),transparent 60%),
    repeating-linear-gradient(90deg,rgba(255,255,255,.02) 0 1px,transparent 1px 3px),
    linear-gradient(165deg,#3c3f45 0%,#24262a 40%,#18191c 72%,#2c2e33 100%);
  border:1px solid rgba(212,166,74,.38);
  box-shadow:0 2.6em 5em rgba(0,0,0,.7),inset 0 0 0 1px rgba(0,0,0,.55),0 0 3em rgba(212,166,74,.1);
  transition:transform .8s cubic-bezier(.22,.61,.36,1)}
.dc-back{left:0;top:6%;--r:-7deg;--x:0%;z-index:1;animation:dcFloat 8s ease-in-out infinite}
.dc-front{right:0;top:0;--r:6deg;--x:0%;z-index:2;animation:dcFloat 7s ease-in-out -2s infinite}
.home-card-promo:hover .dc-back{--x:-7%}
.home-card-promo:hover .dc-front{--x:7%}
@keyframes dcFloat{
  0%,100%{transform:translateX(var(--x)) translateY(0) rotate(var(--r))}
  50%{transform:translateX(var(--x)) translateY(-.9em) rotate(var(--r))}}
.dc::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:5;
  background:linear-gradient(115deg,transparent 38%,rgba(251,233,174,.16) 48%,transparent 58%);
  transform:translateX(-120%);animation:dcShine 7s ease-in-out infinite}
.dc-front::after{animation-delay:-3.5s}
@keyframes dcShine{0%,55%{transform:translateX(-120%)}85%,100%{transform:translateX(120%)}}
.dc-stripe{position:absolute;top:-1em;width:12em;height:12em;pointer-events:none;
  background:linear-gradient(135deg,transparent 46%,rgba(255,255,255,.2) 47%,rgba(255,255,255,.04) 50%,transparent 51%)}
.dc-back .dc-stripe{right:-3.8em}
.dc-front .dc-stripe{left:-3.8em;transform:scaleX(-1)}

.dc-word{font-family:'Permanent Marker','Impact','Arial Black',sans-serif;font-weight:400;letter-spacing:.02em;
  line-height:.98;background:linear-gradient(180deg,#fbe9ae,#d9a849 52%,#94681f);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  filter:drop-shadow(0 .08em .06em rgba(0,0,0,.65))}

/* back */
.dc-qr{width:62%;aspect-ratio:1;border-radius:1em;padding:.65em;background:#ecebe6;position:relative;z-index:1;
  border:.16em solid #bdb6a6;box-shadow:0 0 0 .3em rgba(0,0,0,.3),0 .6em 1.4em rgba(0,0,0,.45)}
.dc-qr svg{width:100%;height:100%;display:block}
.dc-url{font-size:.6em;color:#cfcac0;margin-top:.9em}
.dc-rule,.dc-divider span{height:1px;background:linear-gradient(90deg,transparent,#d9a849 18%,#d9a849 82%,transparent)}
.dc-rule{width:86%;margin:.9em 0 1em;position:relative}
.dc-rule span,.dc-diamond{position:absolute;left:50%;top:50%;width:.7em;height:.7em;background:#fbe9ae;
  transform:translate(-50%,-50%) rotate(45deg);box-shadow:0 0 .6em rgba(251,233,174,.6)}
.dc-contacts{list-style:none;align-self:stretch;display:grid;gap:.62em;padding:0 .3em}
.dc-contacts li{display:flex;align-items:center;gap:.75em;font-size:.58em;color:#ddd8cc;white-space:nowrap;overflow:hidden}
.dc-contacts li span{overflow:hidden;text-overflow:ellipsis}
.dc-contacts i{width:2.9em;height:2.9em;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(180deg,#fbe9ae,#d9a849 55%,#94681f)}
.dc-contacts i svg{width:1.6em;height:1.6em;fill:none;stroke:#2a2008;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
.dc-crown{width:3em;height:auto;filter:drop-shadow(0 0 .5em rgba(217,168,73,.5))}
.dc-back .dc-crown{margin-top:auto;margin-bottom:-.3em;position:relative;z-index:2}
.dc-brand{align-self:stretch;position:relative;border:1px solid rgba(217,168,73,.6);border-radius:.9em;
  padding:1.1em .8em 1.1em;text-align:center;background:linear-gradient(180deg,rgba(0,0,0,.34),rgba(0,0,0,.14));
  clip-path:polygon(.9em 0,calc(100% - .9em) 0,100% .9em,100% calc(100% - .9em),calc(100% - .9em) 100%,.9em 100%,0 calc(100% - .9em),0 .9em)}
.dc-brand-row{display:flex;align-items:center;justify-content:center;gap:.7em}
.dc-brand .dc-logo{width:3.6em;flex-shrink:0}
.dc-brand .dc-word{font-size:1.45em;text-align:left}
.dc-brand small{display:block;margin-top:.8em;font-family:var(--mono);font-size:.44em;letter-spacing:.1em;
  text-transform:uppercase;color:#cfc4a6;white-space:nowrap}
.dc-diamond{top:auto;bottom:-.35em}

/* front */
.dc-wave{position:absolute;top:1.3em;right:1.3em;width:2.4em;height:2.4em;fill:none;stroke:#d9a849;
  stroke-width:1.8;stroke-linecap:round}
.dc-front .dc-logo{width:8.6em;margin-top:2.4em;filter:drop-shadow(0 .4em .6em rgba(0,0,0,.55))}
.dc-word-lg{font-size:2.9em;text-align:center;margin-top:.3em}
.dc-divider{display:flex;align-items:center;gap:.6em;width:88%;margin-top:1.1em}
.dc-divider span{flex:1}
.dc-divider .dc-crown{width:2.6em;flex-shrink:0}
.dc-tap{display:flex;align-items:center;gap:.8em;margin-top:1.3em;font-family:var(--mono);font-size:.5em;
  letter-spacing:.14em;text-transform:uppercase;color:#d8d2c2;white-space:nowrap}
.dc-tap i{width:4.4em;height:4.4em;border-radius:50%;border:1px solid rgba(217,168,73,.7);display:flex;
  align-items:center;justify-content:center;flex-shrink:0}
.dc-tap i svg{width:2.4em;height:2.4em;fill:none;stroke:#d9a849;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.dc-swoosh{position:absolute;left:0;right:0;bottom:0;width:100%;height:28%;pointer-events:none}

@media (prefers-reduced-motion:reduce){.dc,.dc::after{animation:none}.dc{transform:rotate(var(--r))}}
