/* 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-flex-min {
    min-width: 0;
}

.section-document__visual--rise:hover { transform: scale(1.05); transition: transform .2s ease; }

.content-grid-gap {
    gap: 2rem;
}

.content-wide-frame {
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.content-heading-gap {
    margin-bottom: 2rem;
}

.content-large-height {
    display: block;
    width: 100%;
    height: 20rem;
    min-height: 20rem;
    flex-shrink: 0;
    object-fit: cover;
}

.content-base-height {
    display: block;
    width: 100%;
    height: 16rem;
    min-height: 16rem;
    flex-shrink: 0;
    object-fit: cover;
}


.pill-badge-events__story--shift:hover { transform: scale(1.1); transition: transform .2s ease; }

/* Layout only — colors stay in Blade utilities */

.staggered-avatar-feed__monogram {
  width: 3.5rem;
  height: 3.5rem;
  transition: transform 500ms ease;
}

.staggered-avatar-feed__monogram::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(var(--bs-primary-rgb), 0.28) 1px,
    transparent 1px
  );
  background-size: 6px 6px;
  opacity: 0.55;
  pointer-events: none;
}

.staggered-avatar-feed__monogram--1::before {
  background-size: 8px 8px;
}

.staggered-avatar-feed__monogram--2::before {
  background-image: radial-gradient(
    circle,
    rgba(var(--bs-primary-rgb), 0.22) 1.5px,
    transparent 1.5px
  );
  background-size: 5px 5px;
}

.staggered-avatar-feed__body {
  min-width: 0;
}

.staggered-avatar-feed__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

article:hover .staggered-avatar-feed__monogram {
  transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .staggered-avatar-feed__monogram {
    transition: none;
  }

  article:hover .staggered-avatar-feed__monogram {
    transform: none;
  }
}

