/* ── ICON SKETCH ── */
/* The icon as a construction drawing: guides, geometry, outlines, dimensions and notes draw in one
   after another (each line has its own --d delay), then the inked icon fades in on top. */
.sk {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 460px;
  padding: var(--space-32) var(--space-16);
  -webkit-mask-image: radial-gradient(ellipse 65% 75% at 50% 50%, #000 60%, transparent 100%);
  mask-image: radial-gradient(ellipse 65% 75% at 50% 50%, #000 60%, transparent 100%);
}
.sk-svg { width: min(760px, 100%); height: auto; overflow: visible; }
.sk-l { fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; }
.sk-guide { stroke: rgba(255,255,255,0.07); stroke-width: 1; }
.sk-geo { stroke: rgba(155,133,255,0.32); stroke-width: 1; }
.sk-faint { stroke: rgba(155,133,255,0.18); }
.sk-ink { stroke: rgba(255,255,255,0.75); stroke-width: 1.4; }
.sk-dim { stroke: rgba(255,255,255,0.4); stroke-width: 1; }
.sk-t { font-family: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace; font-size: 11px; letter-spacing: 0.02em; fill: var(--h-muted); opacity: 0; }
.sk-pt { fill: var(--bg); stroke: var(--accent-text); stroke-width: 1.4; opacity: 0; }
.sk-fill { opacity: 0; }

.sk.is-on .sk-l { animation: sk-draw 0.9s ease-out var(--d) forwards; }
.sk.is-on .sk-t, .sk.is-on .sk-pt { animation: sk-fade 0.4s ease-out var(--d) forwards; }
.sk.is-on .sk-fill { animation: sk-ink 0.9s ease-out var(--d) forwards; }
/* the sketch outline of the square fades once the icon is inked, so its edge stays crisp */
.sk.is-on .sk-frame { animation: sk-draw 0.9s ease-out var(--d) forwards, sk-hide 0.6s ease-out 3.1s forwards; }
@keyframes sk-hide { to { opacity: 0; } }
@keyframes sk-draw { to { stroke-dashoffset: 0; } }
@keyframes sk-fade { to { opacity: 1; } }
@keyframes sk-ink { from { opacity: 0; } to { opacity: 1; } }

.sk-replay {
  position: absolute; right: var(--space-24); bottom: var(--space-20);
  font: inherit; font-size: 0.78rem; color: var(--h-muted);
  background: none; border: 1px solid var(--h-border); border-radius: var(--radius-6);
  padding: var(--space-4) var(--space-10); cursor: pointer;
}
.sk-replay:hover { color: var(--h-text); background: var(--bg3); }

@media (prefers-reduced-motion: reduce) {
  .sk-l { stroke-dashoffset: 0; }
  .sk-t, .sk-pt, .sk-fill { opacity: 1; }
  .sk.is-on .sk-l, .sk.is-on .sk-t, .sk.is-on .sk-pt, .sk.is-on .sk-fill { animation: none; }
  .sk-frame { opacity: 0; }
  .sk-replay { display: none; }
}
