@keyframes pa-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pa-fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pa-fade-right {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pa-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}

.site-header {
  animation: pa-fade-in 600ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  z-index: 50;
}

.fv-lead {
  animation: pa-fade-right 1800ms cubic-bezier(0.2, 0.7, 0.2, 1) 400ms both;
}

.fv-sub {
  animation: pa-fade-right 1800ms cubic-bezier(0.2, 0.7, 0.2, 1) 600ms both;
}

.fv-brand {
  animation: pa-fade-right 1800ms cubic-bezier(0.2, 0.7, 0.2, 1) 800ms both;
}

.fv-en {
  animation: pa-fade-right 1800ms cubic-bezier(0.2, 0.7, 0.2, 1) 1000ms both;
}

.fv-panel {
  animation: pa-fade-up 1000ms cubic-bezier(0.2, 0.7, 0.2, 1) 1200ms both;
}

.fv-badge:nth-child(1) {
  animation: pa-fade-up 1000ms cubic-bezier(0.2, 0.7, 0.2, 1) 1400ms both;
}

.fv-badge:nth-child(2) {
  animation: pa-fade-up 1000ms cubic-bezier(0.2, 0.7, 0.2, 1) 1600ms both;
}

.fv-badge:nth-child(3) {
  animation: pa-fade-up 1000ms cubic-bezier(0.2, 0.7, 0.2, 1) 1800ms both;
}

.teeth-6-box {
  animation: pa-blink 1.2s infinite;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 1100ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 1100ms cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 120ms);
  will-change: opacity, transform;
}

html.js .reveal.reveal-left {
  transform: translateX(-24px);
}

html.js .reveal.reveal-right {
  transform: translateX(24px);
}

html.js .reveal.reveal-center {
  transform: scale(0.92);
}

html.js .reveal-stagger .reveal {
  transition-delay: calc(var(--i, 0) * 180ms);
}

html.js .reveal:not(.is-visible) {
  transition: none;
  transition-delay: 0s;
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

@keyframes pa-ch-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

html.js .smile-stat .ch {
  display: inline-block;
  opacity: 0;
}

html.js .smile-stat.is-visible .ch {
  animation: pa-ch-in 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: calc(var(--i) * 140ms);
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .fv-lead,
  .fv-sub,
  .fv-brand,
  .fv-en,
  .fv-panel,
  .fv-badge,
  .fv-badge:nth-child(1),
  .fv-badge:nth-child(2),
  .fv-badge:nth-child(3),
  .teeth-6-box,
  html.js .reveal,
  html.js .reveal.reveal-left,
  html.js .reveal.reveal-right,
  html.js .reveal.reveal-center,
  html.js .reveal-stagger .reveal,
  html.js .reveal:not(.is-visible),
  html.js .reveal.is-visible,
  html.js .smile-stat .ch,
  html.js .smile-stat.is-visible .ch {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
    will-change: auto;
  }
}
