/* The process title and photo overlap the surrounding paper at the edges. */
#bupaso-site .bp-photo-band {
  position: relative;
  display: grid;
  min-height: clamp(380px, 43vw, 580px);
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: var(--brand-paper);
}
#bupaso-site .bp-photo-band-image {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  background: #24191c;
  mask-image: linear-gradient(177deg, transparent 2%, #0005 7%, #000d 14%, #000 20% 80%, #000c 87%, #0005 94%, transparent 99%);
}
#bupaso-site .bp-photo-band-image img {
  position: absolute;
  inset: -30px 0;
  width: 100%;
  height: calc(100% + 60px);
  object-fit: cover;
  object-position: 50% 47%;
  filter: saturate(.47) brightness(.83);
}
#bupaso-site .bp-photo-band-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #21181cf5 0%, #281b20da 33%, #4b232666 66%, #2c18221a);
  content: "";
}
#bupaso-site .bp-photo-band-inner { padding-block: clamp(78px, 9vw, 126px); }
#bupaso-site .bp-photo-band .bp-eyebrow { color: var(--brand-sand); }
#bupaso-site .bp-photo-band h2 {
  max-width: 20ch;
  font-size: clamp(2.6rem, 5.55vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -.066em;
  text-wrap: wrap;
}

#bupaso-site.bp-spatial .bp-photo-band-image img {
  transform: translate3d(0, var(--bp-band-y, 0px), 0);
  transition: transform .22s ease-out;
}
#bupaso-site.bp-spatial .bp-stage-frame::before {
  inset: -15px 0;
  transform: translate3d(0, var(--bp-stage-y, 0px), 0);
  transition: transform .26s ease-out;
}
#bupaso-site.bp-spatial .bp-stage-rings {
  transform: translate3d(0, calc(var(--bp-stage-y, 0px) * -.55), 0);
  transition: transform .26s ease-out;
}

/* Diffuse light and a few cable-like contours sit behind the type. */
#bupaso-site :is(.bp-text-field, .bp-showcase-scene, .bp-process-section, .bp-page-intro) {
  --bp-field-light: #cf875d1e;
  --bp-field-lines: #6e3a2d38;
  position: relative;
  isolation: isolate;
}
#bupaso-site :is(.bp-page-intro, .bp-cta.bp-text-field) {
  --bp-field-light: #ba3c4548;
  --bp-field-lines: #e1ba9860;
}
#bupaso-site :is(.bp-text-field, .bp-showcase-scene, .bp-process-section, .bp-page-intro)::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at 68% 42%, var(--bp-field-light), transparent 69%);
  mask-image: linear-gradient(transparent, #000 22% 78%, transparent);
  pointer-events: none;
  content: "";
}
#bupaso-site :is(.bp-text-field, .bp-showcase-scene, .bp-process-section, .bp-page-intro)::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: repeating-radial-gradient(
    ellipse at 87% -12%, transparent 0 53px, var(--bp-field-lines) 54px, transparent 55px 91px
  );
  mask-image: radial-gradient(ellipse at 92% 42%, #000 4%, transparent 65%);
  pointer-events: none;
  content: "";
}
#bupaso-site .bp-promise-section {
  background: linear-gradient(154deg, #f0e7de, var(--brand-paper) 66%);
}
#bupaso-site .bp-showcase-scene {
  --bp-field-light: #d8aa8c14;
  --bp-field-lines: #7a58422b;
}
#bupaso-site .bp-process-section::before,
#bupaso-site .bp-process-section::after {
  top: auto;
  height: min(100%, 525px);
}
#bupaso-site .bp-page-intro { overflow: clip; }
#bupaso-site #bp-start .bp-cta.bp-text-field::after { content: ""; }

#bupaso-site.bp-spatial :is(.bp-text-field, .bp-showcase-scene, .bp-process-section, .bp-page-intro)::before {
  transform: translate3d(calc(var(--bp-field-y, 0px) * -.6), 0, 0);
  transition: transform .44s ease-out;
}
#bupaso-site.bp-spatial :is(.bp-text-field, .bp-showcase-scene, .bp-process-section, .bp-page-intro)::after {
  transform: translate3d(var(--bp-field-y, 0px), calc(var(--bp-field-y, 0px) * -.32), 0);
  transition: transform .32s ease-out;
}

#bupaso-site.bp-motion .bp-hero-copy > * {
  animation: bp-text-enter .72s var(--bp-ease) both;
}
#bupaso-site.bp-motion .bp-hero-copy > h1 { animation-delay: .07s; }
#bupaso-site.bp-motion .bp-hero-copy > p { animation-delay: .14s; }
#bupaso-site.bp-motion .bp-hero-copy > .bp-actions { animation-delay: .2s; }

@keyframes bp-text-enter {
  from { opacity: .76; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

#bupaso-site.bp-motion .bp-reveal {
  --bp-reveal-y: 12px;
  opacity: .88;
  transition: opacity .58s var(--bp-ease), transform .65s var(--bp-ease);
  transition-delay: var(--bp-delay, 0ms);
}
#bupaso-site.bp-motion .bp-reveal.bp-visible { opacity: 1; transform: none; }

@keyframes bp-route-settle {
  from { opacity: .91; transform: translateY(5px); }
  to { opacity: 1; transform: none; }
}
#bupaso-site.bp-motion .bp-route-enter { animation: bp-route-settle .38s var(--bp-ease) both; }

@media (max-width: 540px) {
  #bupaso-site :is(.bp-text-field, .bp-showcase-scene, .bp-process-section, .bp-page-intro)::after {
    mask-image: radial-gradient(ellipse at 100% 31%, #0009 4%, transparent 58%);
  }
  #bupaso-site .bp-photo-band { min-height: 328px; }
  #bupaso-site .bp-photo-band-inner { padding-block: 66px; }
  #bupaso-site .bp-photo-band-image img { object-position: 57% 50%; }
  #bupaso-site .bp-photo-band-image::after {
    background: linear-gradient(90deg, #21181cf5, #21181ca6);
  }
  #bupaso-site .bp-photo-band h2 { font-size: clamp(1.8rem, 8vw, 3.3rem); }
  #bupaso-site.bp-motion .bp-reveal { --bp-reveal-y: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  #bupaso-site.bp-spatial .bp-photo-band-image img,
  #bupaso-site.bp-spatial .bp-stage-frame::before,
  #bupaso-site.bp-spatial .bp-stage-rings { transform: none; }
}
