/* Final scroll-performance layer. */
html { scroll-behavior: auto; }

.site-header {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  background: rgba(247, 243, 232, .985) !important;
}

.scroll-reveal,
.scroll-reveal.will-reveal,
.scroll-reveal.will-reveal.reveal-from-left,
.scroll-reveal.will-reveal.reveal-from-right,
.scroll-reveal.will-reveal.is-visible {
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
  transition: none !important;
}

.partners-frame,
.story .quote-card,
.story .values article,
.about-showcase::after {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.partners-frame,
.partners-frame.partner-will-animate,
.partners-frame.partner-will-animate.is-in-view,
.operations-backdrop,
.operations-backdrop.operations-will-animate img,
.operations-backdrop.operations-will-animate.is-in-view img {
  transition: none !important;
}

.menu-showcase,
.reels-section,
.story,
.operations,
.safety,
.partners-band,
.portfolio,
.rewards-band,
.company { contain: layout paint; }

.reel-preview { object-fit: cover; }

/* A quiet, readable Rewards Club background using the supplied community artwork. */
.rewards-band {
  background: #f4f1e7 !important;
  isolation: isolate;
  overflow: hidden;
}

.rewards-band::before {
  background: url("rewards-community-background.webp") right 44% / auto 150% no-repeat;
  content: "";
  inset: 0;
  opacity: .62;
  pointer-events: none;
  position: absolute;
  z-index: -2;
}

.rewards-band::after {
  background: linear-gradient(90deg, rgba(248,245,235,.94) 0%, rgba(248,245,235,.80) 46%, rgba(248,245,235,.66) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.rewards-benefit-grid article { background: rgba(255,255,255,.94); }

.rewards-band > :not(.rewards-food-elements) {
  position: relative;
  z-index: 1;
}

.rewards-food-elements {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.rewards-food-accent {
  background: #fff;
  border: 5px solid rgba(255,255,255,.92);
  border-radius: 50%;
  box-shadow: 0 16px 34px rgba(7,61,53,.18);
  display: block;
  overflow: hidden;
  position: absolute;
}

.rewards-food-accent img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.rewards-food-accent-one {
  height: 104px;
  left: 46%;
  top: 6%;
  transform: rotate(-7deg);
  width: 104px;
}

.rewards-food-accent-two {
  bottom: 4%;
  height: 132px;
  right: 1.5%;
  transform: rotate(8deg);
  width: 132px;
}

@media (max-width: 1100px) {
  .rewards-band::before {
    background-position: center 40%;
    background-size: auto 136%;
  }

  .rewards-food-accent-one {
    height: 88px;
    left: auto;
    right: 4%;
    top: 4%;
    width: 88px;
  }
}

@media (max-width: 900px) {
  html { scrollbar-gutter: auto; }
  .rewards-band::before {
    background-position: center 38%;
    background-size: cover;
    opacity: .52;
  }

  .rewards-band::after {
    background: linear-gradient(180deg, rgba(248,245,235,.79), rgba(248,245,235,.72));
  }

  .rewards-food-accent-one {
    height: 76px;
    left: -16px;
    right: auto;
    top: 35%;
    width: 76px;
  }

  .rewards-food-accent-two {
    bottom: 13%;
    height: 94px;
    right: -20px;
    width: 94px;
  }
}

@media (max-width: 600px) {
  .rewards-band::before {
    background-position: center 34%;
    background-size: auto 112%;
    opacity: .50;
  }

  .rewards-band::after {
    background: linear-gradient(180deg, rgba(248,245,235,.80), rgba(248,245,235,.70));
  }

  .rewards-food-accent-one { top: 30%; }
  .rewards-food-accent-two { bottom: 17%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Defer expensive below-the-fold painting until it is near the viewport. */
@supports (content-visibility:auto){.menu-showcase,.story-section,.operations-section,.safety-section,.portfolio-section,.reels-section,.reviews-section,.recognition-showcase,.rewards-band,.contact-section{content-visibility:auto;contain-intrinsic-size:900px}}
