@keyframes title-line {
  from {
    transform: translateY(108%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes title-rise {
  from {
    opacity: 0;
    transform: translateY(0.45em);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes photo-in {
  from {
    transform: scale(1.14);
  }
  to {
    transform: scale(1);
  }
}

@keyframes photo-drift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.07);
  }
}

.title-lines > span {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.06em;
}

.title-lines > span > span {
  display: block;
  animation: title-line 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.title-lines > span:nth-child(2) > span {
  animation-delay: 0.12s;
}

.title-lines > span:nth-child(3) > span {
  animation-delay: 0.24s;
}

.page-hero .eyebrow {
  animation: title-rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.page-hero .lead,
.contact-lead {
  animation: title-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}

.hero-copy .eyebrow {
  position: relative;
  width: fit-content;
  animation: hero-kicker 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-copy .eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.55rem;
  width: 100%;
  height: 2px;
  background: var(--green-700);
  transform: scaleX(0);
  transform-origin: left;
  animation: hero-rule 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.hero-copy .title-lines > span > span {
  animation: hero-line 1.05s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-copy .title-lines > span:nth-child(1) > span {
  animation-delay: 0.22s;
}

.hero-copy .title-lines > span:nth-child(2) > span {
  animation-delay: 0.42s;
}

.hero-copy .title-lines > span:nth-child(3) > span {
  animation-delay: 0.62s;
}

.hero-copy .lead {
  animation: hero-fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.9s both;
}

.hero-copy .hero-actions {
  animation: none;
}

.hero-copy .hero-actions .btn {
  animation: hero-fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-copy .hero-actions .btn:nth-child(1) {
  animation-delay: 1.12s;
}

.hero-copy .hero-actions .btn:nth-child(2) {
  animation-delay: 1.28s;
}

@keyframes hero-kicker {
  from {
    opacity: 0;
    letter-spacing: 0.4em;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    letter-spacing: 0.16em;
    transform: none;
  }
}

@keyframes hero-rule {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes hero-line {
  from {
    transform: translateY(115%);
  }
  to {
    transform: translateY(0);
  }
}

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

.contact-kicker {
  animation: title-rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

main h2 {
  animation: title-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-timeline: view();
  animation-range: entry 0% entry 55%;
}

.media img,
.page-photo img,
.page-band img,
.gallery-card img {
  animation: photo-in 1.2s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  animation-timeline: view();
  animation-range: entry 0% cover 42%;
}

.home-shot img {
  animation: none;
}

.media-hero img,
.page-hero > .page-photo img {
  animation: photo-in 1.35s cubic-bezier(0.16, 1, 0.3, 1) both, photo-drift 20s ease-in-out 1.35s infinite alternate;
  animation-timeline: auto, auto;
  animation-range: normal, normal;
}

.media-hero.hero-slides img {
  animation: hero-fade 12s infinite;
  animation-timeline: auto;
  animation-range: normal;
}

.media-hero.hero-slides img:nth-child(1) {
  animation-name: hero-fade-first;
}

.media-hero.hero-slides img:nth-child(2) {
  animation-delay: 3s;
}

.media-hero.hero-slides img:nth-child(3) {
  animation-delay: 6s;
}

.media-hero.hero-slides img:nth-child(4) {
  animation-delay: 9s;
}

.lightbox img {
  animation: none;
}

@keyframes since-band {
  from {
    clip-path: inset(48% 0 48% 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes since-letter {
  from {
    opacity: 0;
    transform: translateY(80%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.since-home h2 {
  animation: none;
  animation-timeline: auto;
  animation-range: normal;
}

.motion .since-home {
  clip-path: inset(48% 0 48% 0);
}

.since-home.is-open {
  animation: since-band 0.85s cubic-bezier(0.77, 0, 0.18, 1) forwards;
}

.since-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  margin-right: 0.28em;
  padding-bottom: 0.08em;
}

.since-letter {
  display: block;
  opacity: 0;
  transform: translateY(80%);
}

.motion .since-year-pop {
  opacity: 0;
  transform: translateY(18px);
}

.since-home.is-open .since-year-pop {
  animation: since-letter 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.55s forwards;
}

.since-home.is-open .since-letter {
  animation: since-letter 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.motion .since-home .since-home-inner > div > p,
.motion .since-home .since-home-inner > div > .btn {
  opacity: 0;
}

.since-home.is-open .since-home-inner > div > p {
  animation: since-fade 0.7s ease 2.15s both;
}

.since-home.is-open .since-home-inner > div > .btn {
  animation: since-fade 0.7s ease 2.35s both;
}

@media (prefers-reduced-motion: reduce) {
  .motion .since-home,
  .since-home.is-open {
    clip-path: none !important;
    animation: none !important;
  }

  .since-letter,
  .since-year-pop,
  .motion .since-home .since-home-inner > div > p,
  .motion .since-home .since-home-inner > div > .btn {
    opacity: 1 !important;
    transform: none !important;
  }
}

@keyframes card-rise {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes photo-arrive {
  from {
    transform: scale(1.12);
  }
  to {
    transform: none;
  }
}

.motion .product-card:not(.is-in):not(.is-shown),
.motion .catalog-card:not(.is-in):not(.is-shown),
.motion .home-shot:not(.is-in):not(.is-shown) {
  opacity: 0;
}

.product-card.is-in,
.catalog-card.is-in,
.home-shot.is-in {
  opacity: 0;
  animation: card-rise 0.95s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.product-grid .product-card.is-in:nth-child(2),
.catalog .catalog-card.is-in:nth-child(2) {
  animation-delay: 0.12s;
}

.product-grid .product-card.is-in:nth-child(3),
.catalog .catalog-card.is-in:nth-child(3) {
  animation-delay: 0.24s;
}

.product-grid .product-card.is-in:nth-child(4),
.catalog .catalog-card.is-in:nth-child(4) {
  animation-delay: 0.36s;
}

.home-gallery .home-shot.is-in:nth-child(2) {
  animation-delay: 0.14s;
}

.home-gallery .home-shot.is-in:nth-child(3) {
  animation-delay: 0.28s;
}

.product-card.is-shown,
.catalog-card.is-shown,
.home-shot.is-shown {
  opacity: 1;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color var(--ease);
}

.product-card.is-shown:hover,
.catalog-card.is-shown:hover,
.home-shot.is-shown:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(0, 90, 50, 0.12);
}

.product-card .media img,
.catalog-card .media img {
  animation: none;
  animation-timeline: auto;
  animation-range: normal;
}

.motion .product-card:not(.is-in):not(.is-shown) .media img,
.motion .catalog-card:not(.is-in):not(.is-shown) .media img {
  transform: scale(1.12);
}

.product-card.is-in .media img,
.catalog-card.is-in .media img {
  animation: photo-arrive 0.95s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-timeline: auto;
  animation-range: normal;
}

.product-grid .product-card.is-in:nth-child(2) .media img,
.catalog .catalog-card.is-in:nth-child(2) .media img {
  animation-delay: 0.12s;
}

.product-grid .product-card.is-in:nth-child(3) .media img,
.catalog .catalog-card.is-in:nth-child(3) .media img {
  animation-delay: 0.24s;
}

.product-grid .product-card.is-in:nth-child(4) .media img,
.catalog .catalog-card.is-in:nth-child(4) .media img {
  animation-delay: 0.36s;
}

.product-card.is-shown .media img,
.catalog-card.is-shown .media img {
  transform: none;
}

.home-shot img {
  animation: none;
  transform: scale(1.1);
  transition: transform 0.7s ease;
}

.home-shot.is-in img,
.home-shot.is-shown img {
  transform: scale(1);
}

.product-card.is-shown:hover .media img,
.catalog-card.is-shown:hover .media img,
.home-shot.is-shown:hover img {
  transform: scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
  .motion .product-card,
  .motion .catalog-card,
  .motion .home-shot,
  .product-card.is-in,
  .catalog-card.is-in,
  .home-shot.is-in,
  .product-card .media img,
  .catalog-card .media img,
  .home-shot img {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

@supports not (animation-timeline: view()) {
  main h2,
  .media img,
  .page-photo img,
  .page-band img,
  .gallery-card img {
    animation-timeline: auto;
    animation-range: normal;
  }

  .gallery-card img {
    animation-fill-mode: backwards;
  }
}
