/* Homepage: the Students and Stories card in the hero dock */
.hero-sns{position:relative;display:flex;align-items:center;gap:14px;padding:10px 20px 10px 14px;border-radius:18px;text-decoration:none;color:var(--fg);overflow:hidden;isolation:isolate;
  border:1px solid rgba(201,185,143,.4);background:linear-gradient(100deg,rgba(201,185,143,.14),rgba(201,185,143,.03) 70%),rgba(15,17,16,.5);backdrop-filter:blur(6px);
  transition:transform .35s cubic-bezier(.2,.7,.2,1),border-color .3s,background .3s}
.hero-sns::after{content:"";position:absolute;left:14px;right:20px;bottom:0;height:1px;background:linear-gradient(90deg,transparent,var(--accent),transparent);transform:scaleX(0);transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.hero-sns:hover{transform:translateY(-3px);border-color:rgba(201,185,143,.8);background:rgba(201,185,143,.1)}
.hero-sns:hover::after{transform:scaleX(1)}
.hero-sns:hover .hf-go{transform:translateX(4px);background:var(--accent);color:#1d201f}
.hs-arch{flex:none;width:34px;height:38px;overflow:visible}
.hs-arch .hs-out{fill:rgba(201,185,143,.1);stroke:var(--accent);stroke-width:1.3;stroke-linejoin:round;stroke-dasharray:130;stroke-dashoffset:130;animation:hsDraw 6s ease-in-out infinite}
.hs-arch rect{fill:rgba(247,233,189,.85);opacity:0;animation:hsTile 6s ease-in-out infinite}
.hs-arch rect:nth-of-type(1){animation-delay:.9s}.hs-arch rect:nth-of-type(2){animation-delay:1.1s}.hs-arch rect:nth-of-type(3){animation-delay:1.3s}
.hs-arch rect:nth-of-type(4){animation-delay:1.5s}.hs-arch rect:nth-of-type(5){animation-delay:1.7s}.hs-arch rect:nth-of-type(6){animation-delay:1.9s}
.hs-arch .hs-star{fill:#fff4d6;transform-origin:20px 4px;opacity:0;animation:hsStar 6s ease-in-out infinite}
@keyframes hsDraw{0%{stroke-dashoffset:130}22%,86%{stroke-dashoffset:0}100%{stroke-dashoffset:130}}
@keyframes hsTile{0%,10%{opacity:0;transform:translateY(8px)}30%,80%{opacity:.9;transform:none}100%{opacity:0}}
@keyframes hsStar{0%,45%{opacity:0;transform:scale(.3)}60%,82%{opacity:1;transform:scale(1)}100%{opacity:0}}
@media (max-width:520px){
  .hero-sns{padding:7px 12px;gap:10px;border-radius:14px;justify-content:flex-start}
  .hs-arch{width:24px;height:28px}
  .hero-sns .hf-go{margin-left:auto}
}
@media (prefers-reduced-motion:reduce){
  .hs-arch .hs-out{animation:none;stroke-dashoffset:0}.hs-arch rect{animation:none;opacity:.85}.hs-arch .hs-star{animation:none;opacity:1}
}
