/* 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; }
}

/* faq v26 — masonry board */
.faq-masonry__col {
  min-width: 0;
}

.faq-masonry__cell {
  position: relative;
  min-height: 12rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

@media (min-width: 768px) {
  .faq-masonry__cell {
    min-height: 13.5rem;
  }
}

.faq-masonry__body {
  width: 100%;
  flex: 1 1 auto;
}

.faq-masonry__answer {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.faq-masonry__col--featured .faq-masonry__cell {
  min-height: 14rem;
}

@media (min-width: 768px) {
  .faq-masonry__col--featured .faq-masonry__cell {
    min-height: 16.5rem;
  }
}

.faq-masonry__col--featured .faq-masonry__answer {
  -webkit-line-clamp: 5;
}

.faq-masonry__photo {
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 500ms ease;
}

.faq-masonry__cell:hover .faq-masonry__photo {
  filter: grayscale(0);
}

.faq-masonry__shade {
  transition: opacity 300ms ease;
}

.faq-masonry__cell--media:hover .faq-masonry__shade {
  opacity: 0.92;
}

.tips-cards__card {
    max-width: 24rem;
}

