/* 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 stride — alternating paragraph inset (no surfaces) */
.content-stride__para--odd {
    padding-inline-start: 0;
}

@media (min-width: 768px) {
    .content-stride__para--even {
        padding-inline-start: 2rem;
    }
}

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

/* glossary ledger — icon tile sizes, footnote icon size, hover motion (matches stats-style sections) */
.glossary-ledger__icon-cell,
.glossary-ledger__index {
    width: 3.25rem;
    height: 3.25rem;
}

.glossary-ledger__index {
    min-width: 3.25rem;
}

.glossary-ledger__icon-fa {
    font-size: 1.25rem;
    line-height: 1;
}

.glossary-ledger__note-wrap {
    width: 3.5rem;
    height: 3.5rem;
}

.glossary-ledger__note-icon {
    font-size: 1.35rem;
    line-height: 1;
}

.glossary-ledger__accent {
    height: 0.28rem;
}

.glossary-ledger__card {
    transition: transform 0.28s ease;
}

.glossary-ledger__card:hover .glossary-ledger__accent {
    transform: scaleX(1);
}

.glossary-ledger .glossary-ledger__accent {
    transform: scaleX(0.88);
    transform-origin: left center;
    transition: transform 0.3s ease;
}

/* faq v23 — card top ribbon (BS gradient parity) */
.faq-tile__ribbon {
  height: 0.25rem;
  background-image: linear-gradient(
    90deg,
    var(--bs-primary) 0%,
    var(--bs-info) 50%,
    var(--bs-danger) 100%
  );
}

.cta-services-split__marquee {
  overflow: hidden;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black 20%, transparent 95%);
}

.cta-services-split__marquee-inner {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
  animation: cta-services-split__marquee 28s linear infinite;
}

@keyframes cta-services-split__marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.cta-services-split__cta {
  transition: filter 0.2s ease, transform 0.15s ease;
}

.cta-services-split__cta:hover,
.cta-services-split__cta:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.cta-services-split__cta:hover .cta-services-split__cta-icon,
.cta-services-split__cta:focus-visible .cta-services-split__cta-icon {
  transform: translate(2px, -2px);
}

.cta-services-split__cta-icon {
  transition: transform 0.2s ease;
}

.cta-services-split__item-hov {
  transition: border-color 0.2s ease, padding-inline-start 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
  .cta-services-split__marquee-inner {
    animation: none;
  }

  .cta-services-split__cta:hover,
  .cta-services-split__cta:focus-visible {
    transform: none;
  }
}

