/* Local approval build: performance safeguards that preserve the approved visual. */

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Reserve the final image space before lazy media decodes. */
img:not([width]):not([height]) {
  aspect-ratio: var(--tc-media-ratio, auto);
}

/* Keep decorative textures out of the critical request chain. The matching
   section receives its original texture shortly before it reaches view. */
.tc-section:not(.tc-section--texture-ready) {
  background-image: var(--section-gradient) !important;
}

/* WCAG-sized controls without changing the locked card or form geometry. */
.tc-brand-menu-toggle,
.tc-site-header__menu-toggle,
.tc-slider__button,
.tc-concept-card__arrow,
.tc-floating-actions a,
.tc-floating-actions button,
[data-video-play] {
  min-width: 44px;
  min-height: 44px;
}
