/* Bindevæv: the centrepiece is Janni's own comparison. "Less like being
   polished and more like being carefully untangled": a gloss that slides
   along smooth lines, beside a knot that lets go once it comes into view. */

.bv-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 0; padding: 0; list-style: none; }
.bv-tags li { padding: 6px 13px; border-radius: 999px; font-size: .84rem; font-weight: 600; color: var(--cream-2); box-shadow: inset 0 0 0 1.5px rgba(227, 161, 90, .34); }

/* these are situations, not quotes, so they read in the body face */
.bv-voices li { max-width: 40ch; font-family: var(--sans); font-size: 1.02rem; line-height: 1.55; }

.weave { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-top: 34px; }
.weave-card { margin: 0; border-radius: 28px; overflow: hidden; background: var(--esp-2); box-shadow: inset 0 0 0 1px rgba(227, 161, 90, .14); }
.weave-card svg { display: block; width: 100%; height: auto; padding: 8px 6px 0; }
.weave-card path { fill: none; stroke-width: 2.6; stroke-linecap: round; }
.weave-card figcaption { display: flex; flex-direction: column; gap: 6px; padding: 4px 28px 28px; }
.w-name { font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.15; }
.w-what { color: var(--cream-2); }

/* polished: a highlight glides along the surface and changes nothing beneath */
.w-lines path { stroke: rgba(244, 233, 218, .26); }
.w-shine path { stroke: #F6D9B6; stroke-dasharray: 46 460; stroke-dashoffset: 506; animation: shine 5.5s linear infinite; }
.w-shine path:nth-child(2) { animation-delay: -1.1s; }
.w-shine path:nth-child(3) { animation-delay: -2.2s; }
.w-shine path:nth-child(4) { animation-delay: -3.3s; }
.w-shine path:nth-child(5) { animation-delay: -4.4s; }
@keyframes shine { to { stroke-dashoffset: 0; } }

/* untangled: the gathered knot lets go into free, gliding lines */
.untangle { background: linear-gradient(180deg, rgba(227, 161, 90, .07), rgba(227, 161, 90, 0) 70%), var(--esp-2); box-shadow: inset 0 0 0 1px rgba(227, 161, 90, .3); }
.w-knot path { stroke: var(--ember); }
.w-free path { stroke: var(--ember-hi); }
.js .weave.is-in .w-knot { animation: let-go 3.2s .9s var(--ease) forwards; }
.js .weave.is-in .w-free { animation: settle 3.2s .9s var(--ease) forwards; }
.w-free { opacity: 0; }
@keyframes let-go { to { opacity: 0; } }
@keyframes settle { to { opacity: 1; } }
.untangle .w-name { color: var(--ember-hi); }

.bv-evidence { margin-top: 40px; }
.bv-creds { margin-top: 30px; justify-content: flex-start; }
.bv-pull { margin-top: clamp(48px, 6vw, 88px); }
.bv-who { margin-top: 18px; color: var(--cream-2); font-size: 1.08rem; line-height: 1.75; }
#hvem .two { align-items: start; margin-top: 0; }
#hvem .careful { max-width: none; }

@media (max-width: 860px) {
  .weave { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .w-shine path { animation: none; stroke-dashoffset: 0; stroke-dasharray: none; opacity: .4; }
  .js .weave.is-in .w-knot, .w-knot { animation: none; opacity: 0; }
  .js .weave.is-in .w-free, .w-free { animation: none; opacity: 1; }
}
