/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/* Homepage hero entrance: overlapping beats, then restore the native styles.
 * Individual translate leaves existing artwork transforms and hover effects intact.
 * No script or hidden base state is required for the content to remain readable.
 */
@keyframes iaai-hero-enter {
  from { opacity: 0; translate: 0 22px; }
  to { translate: 0 0; }
}

@keyframes iaai-hero-art-enter {
  from { opacity: 0; translate: 28px 12px; }
  to { translate: 0 0; }
}

@keyframes iaai-hero-fade-enter {
  from { opacity: 0; }
}

#brxe-6p9au4 #hero-title > .iaai-hero-line {
  display: block;
  color: inherit;
}

@media (prefers-reduced-motion: no-preference) {
  body:not([data-reduced-motion]):not(.bricks-is-builder) #brxe-6p9au4 :is(#brxe-eht34a, #hero-title, #brxe-cxpdhd, #brxe-rg5xwb, #brxe-pjb32t) {
    animation: iaai-hero-enter 1.05s cubic-bezier(.22, 1, .36, 1) var(--iaai-enter-delay, 0s) backwards;
  }

  body #brxe-6p9au4 #brxe-eht34a { --iaai-enter-delay: .12s; }
  body #brxe-6p9au4 #hero-title { --iaai-enter-delay: .35s; }

  body:not([data-reduced-motion]):not(.bricks-is-builder) #brxe-6p9au4 #hero-title.iaai-title-lines {
    animation: none;
  }

  body:not([data-reduced-motion]):not(.bricks-is-builder) #brxe-6p9au4 #hero-title.iaai-title-lines > .iaai-hero-line {
    animation: iaai-hero-enter 1.05s cubic-bezier(.22, 1, .36, 1) .35s backwards;
  }

  body:not([data-reduced-motion]):not(.bricks-is-builder) #brxe-6p9au4 #hero-title.iaai-title-lines > .iaai-hero-line + .iaai-hero-line {
    animation-delay: .65s;
  }
  body #brxe-6p9au4 #brxe-cxpdhd { --iaai-enter-delay: .70s; }
  body #brxe-6p9au4 #brxe-rg5xwb { --iaai-enter-delay: 1s; }
  body #brxe-6p9au4 #brxe-pjb32t { --iaai-enter-delay: 1.20s; }

  body:not([data-reduced-motion]):not(.bricks-is-builder) #brxe-6p9au4 #brxe-8n3681 {
    animation: iaai-hero-art-enter 1.4s cubic-bezier(.22, 1, .36, 1) .50s backwards;
  }

  body:not([data-reduced-motion]):not(.bricks-is-builder) #brxe-6p9au4 #brxe-hadeco {
    animation: iaai-hero-fade-enter 1.1s ease-out 1.20s backwards;
  }

  body:not([data-reduced-motion]):not(.bricks-is-builder) #brxe-6p9au4 #brxe-hmark1 {
    animation: iaai-hero-fade-enter 1.1s ease-out 1.40s backwards;
  }

  /* Keyboard focus reveals both actions immediately, even during their delay. */
  body #brxe-6p9au4 #brxe-xz5c58:focus-within > a {
    animation: none;
  }
}
