.original-mark .wordmark-fill { inset: 0; width: 100%; height: 100%; transform: none; }
.original-mark[data-wordmark="outline"] { animation: none; }
.wordmark-outline {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; opacity: 0;
}
.wordmark-outline path { fill: none; stroke: #f2f2f2; stroke-width: 2.5px; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
@keyframes wordmark-outline-in {
  0% { opacity: 0; }
  25%, 48% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes wordmark-fill-in {
  0%, 32% { opacity: 0; }
  100% { opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  [data-wordmark="outline"] .wordmark-outline { animation: wordmark-outline-in 1800ms ease-in-out 80ms both; }
  [data-wordmark="outline"] .wordmark-fill { animation: wordmark-fill-in 1800ms ease-in-out 80ms both; }
}

@media (max-width: 650px) {
  .wordmark-outline path:last-child { stroke-width: 1.5px; }
}

/* A single soft entrance, followed by one reflection across the whole wordmark. */
.original-mark[data-wordmark="soft"] { animation: none; }
.wordmark-shine {
  display: none; position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url('/assets/wordmark-inter.svg?v=1') center / 100% 100% no-repeat;
  mask: url('/assets/wordmark-inter.svg?v=1') center / 100% 100% no-repeat;
}
.wordmark-sweep {
  position: absolute; inset: 0 auto 0 0; width: 46%; opacity: 0;
  background: linear-gradient(130deg, transparent 30%, rgba(20,25,34,.18) 36%, rgba(255,255,255,.95) 44%, #fff 50%, rgba(255,255,255,.95) 56%, rgba(20,25,34,.14) 64%, transparent 70%);
  transform: translateX(-140%);
}
@keyframes wordmark-soft-in {
  from { opacity: 0; transform: scale(.98); }
  to { opacity: 1; transform: none; }
}
@keyframes wordmark-shine-pass {
  0% { opacity: 0; transform: translateX(-140%); }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { opacity: 0; transform: translateX(290%); }
}
@media (prefers-reduced-motion: no-preference) {
  .original-mark[data-wordmark="soft"] { animation: wordmark-soft-in 1500ms cubic-bezier(.2,.7,.25,1) 100ms both; }
  [data-wordmark="soft"] .wordmark-shine { display: block; }
  [data-wordmark="soft"] .wordmark-sweep { animation: wordmark-shine-pass 1000ms linear 1700ms both; }
}
