/* intro v18 — Emigre clay: blurred photo, ECG draw, typewriter caret */

/* Blurred background photo, sharp panel sits over it */
.intro-clay [data-photo] {
    width: 66%;
    aspect-ratio: 4 / 3;
}
.intro-clay__img {
    object-fit: cover;
    filter: blur(5px) saturate(1.05);
    transform: scale(1.06);
}

/* Heartbeat / ECG line draw (stroke colour = currentColor from Tailwind text-*) */
.intro-clay__ecg-path {
    stroke-dasharray: 1400;
    stroke-dashoffset: 1400;
    animation: intro-clay-ecg 4s linear infinite;
}
@keyframes intro-clay-ecg {
    0%   { stroke-dashoffset: 1400; }
    60%  { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -1400; }
}

/* Typewriter caret while typing */
.intro-clay__type .is-typing {
    border-right: 2px solid currentColor;
    animation: intro-clay-caret 800ms step-end infinite;
}
@keyframes intro-clay-caret {
    50% { border-color: transparent; }
}

@media (prefers-reduced-motion: reduce) {
    .intro-clay__ecg-path { animation: none; stroke-dashoffset: 0; }
}

.content-prose__diamond {
    transform: rotate(45deg);
}

/* glossary steps — oversized counter ring (layout only) */
.glossary-steps__num {
    width: 3.75rem;
    height: 3.75rem;
    min-width: 3.75rem;
}

.watermark-number__tile {
  min-width: 260px;
  max-width: 380px;
  min-height: 300px;
}

.watermark-number__bg {
  z-index: 0;
}

.watermark-number__tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.watermark-number__tile--0::before {
  background-image: radial-gradient(
    circle at 20% 15%,
    rgba(var(--bs-primary-rgb), 0.16) 0,
    transparent 45%
  );
}

.watermark-number__tile--1::before {
  background-image: repeating-linear-gradient(
    -40deg,
    transparent,
    transparent 12px,
    rgba(var(--bs-primary-rgb), 0.06) 12px,
    rgba(var(--bs-primary-rgb), 0.06) 13px
  );
}

.watermark-number__tile--2::before {
  background-image: radial-gradient(
    rgba(var(--bs-primary-rgb), 0.12) 1.5px,
    transparent 1.5px
  );
  background-size: 16px 16px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
}

.watermark-number__glyph {
  font-size: clamp(6rem, 14vw, 9rem);
  opacity: 0.35;
}

.watermark-number__mark {
  z-index: 2;
}

.watermark-number__body {
  min-height: 300px;
  z-index: 3;
}

