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

.sketch-image-hover {
    transition: transform 0.3s ease;
}

.sketch-image-hover:hover {
    transform: scale(1.05);
}

.sketch-card-offset {
    right: -1.5rem;
    bottom: -1.5rem;
}


.content-v40-thumb-wrap {
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .content-v40-thumb-wrap {
        width: 50rem;
        max-width: 50rem;
    }
}

.content-col-grow {
    flex: 1 1 0%;
    min-width: 0;
}

.content-img-ratio {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    flex-shrink: 0;
}

.folio-bodycopy__figure--lift:hover { transform: scale(1.05); transition: transform .2s ease; }

.folio-bodycopy__action--lift:hover { transform: scale(1.05); transition: transform .2s ease; }

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

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


.briefing-chapter__bg-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.briefing-chapter__title-trail { margin-bottom: 2rem; }

.briefing-chapter__rule-trail {
    margin-bottom: 2rem;
    min-width: 6rem;
    height: 0.25rem;
}

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

.content-section-pad {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

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

.perks-alternate-rows__thumb {
    width: 6rem;
    height: 6rem;
    transition: transform 0.2s ease;
}

.perks-alternate-rows__cta {
    transition: transform 0.2s ease;
}

@media (min-width: 640px) {
    .perks-alternate-rows__thumb:hover {
        transform: scale(1.05);
    }

    .perks-alternate-rows__cta:hover {
        transform: scale(1.05);
    }
}

.letter-single-slab__card {
    max-width: 48rem;
}

.google-map-with-trust-badge-overlay-and-centered-title__iframe { width: 100%; min-height: 400px; }
@media (min-width: 768px) { .google-map-with-trust-badge-overlay-and-centered-title__iframe { min-height: 600px; } }

/* iframe-normalized */
.google-map-with-trust-badge-overlay-and-centered-title__iframe {
    width: 100%;
    max-width: 100%;
    height: 400px;
    min-height: 400px;
    display: block;
    border: 0;
    box-sizing: border-box;
    vertical-align: bottom;
}

@media (min-width: 768px) {
    .google-map-with-trust-badge-overlay-and-centered-title__iframe {
        height: 600px;
        min-height: 600px;
    }
}


