/* Expand painted glyphs without changing intrinsic width, wrapping or parents. */
.text-expand--control > .text-expand-ink {
  display: inline-block;
  max-inline-size: 100%;
  vertical-align: baseline;
  transform-origin: var(--text-expand-origin, center center);
}
.era-motion .arc-top .reason-title-line.text-expand {
  display: inline-block;
}

@media (hover: hover) and (pointer: fine) {
  .era-motion .text-expand:not(.text-expand--control),
  .era-motion .text-expand--control > .text-expand-ink {
    transform-origin: var(--text-expand-origin, center center);
    transition: scale var(--text-expand-duration, .35s) cubic-bezier(.2,.7,.18,1);
    will-change: scale;
  }
  .era-motion .text-expand:not(.text-expand--control):hover,
  .era-motion .text-expand--control:hover > .text-expand-ink {
    scale: var(--text-expand-scale, 1.03) 1;
  }
  .era-motion .reason-words p.text-expand {
    --text-expand-scale: 1.025;
    --text-expand-duration: .45s;
    --text-expand-origin: left center;
  }
  .era-motion .arc-top .reason-title-line.text-expand {
    --text-expand-scale: 1.035;
    --text-expand-duration: .45s;
    --text-expand-origin: center center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .era-motion .text-expand:not(.text-expand--control),
  .era-motion .text-expand--control > .text-expand-ink {
    transition: none !important;
    scale: none !important;
  }
}

/* Old summary tracking changed the disclosure row's layout; the ink layer now owns it. */
.era-motion details summary,
.era-motion details summary:hover {
  letter-spacing: normal;
  transition: none;
}
.footer-phone-blur {
  display: inline-block;
  filter: blur(5px);
  user-select: none;
  pointer-events: none;
}
