/*
 * Your scent, your story campaign banner
 * Golden Petals in golden-hour light, with dedicated mobile photography.
 */

.ritual-section {
  position: relative;
  display: block;
  min-height: max(500px, 37.02vw);
  overflow: hidden;
  scroll-margin-top: var(--header-compact-height, 64px);
  background: #60522c;
  color: #fffdf8;
}

.ritual-media,
.ritual-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.ritual-media img {
  object-fit: cover;
  object-position: center 50%;
}

.ritual-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(35, 32, 17, 0.7) 0%, rgba(35, 32, 17, 0.5) 39%, rgba(35, 32, 17, 0) 62%);
  pointer-events: none;
}

.ritual-section .ritual-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: min(54%, 690px);
  min-height: max(500px, 37.02vw);
  padding: 64px 4vw 64px 6vw;
}

.ritual-section .ritual-copy .eyebrow {
  margin-bottom: 19px;
  color: #f4dfad;
}

.ritual-section .ritual-copy h2 {
  max-width: 620px;
  margin: 0;
  color: #fffdf8;
  font-size: clamp(58px, 5.5vw, 84px);
  line-height: 0.84;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.ritual-section .ritual-copy h2 em {
  display: inline-block;
  margin-left: 0.3em;
  font-weight: 400;
}

.ritual-section .ritual-copy > p:not(.eyebrow) {
  max-width: 420px;
  margin: 30px 0 28px;
  color: rgba(255, 253, 248, 0.86);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.48;
}

.ritual-section .ritual-copy .button {
  min-width: 188px;
  padding: 15px 20px 14px;
  border-color: #fffdf8;
  border-radius: 999px;
  background: #fffdf8;
  color: #383320;
}

.ritual-section .ritual-copy .button:hover {
  border-color: #f4dfad;
  background: #f4dfad;
  color: #383320;
}

@media (max-width: 900px) {
  .ritual-media img {
    object-position: 65% center;
  }

  .ritual-section .ritual-copy {
    width: 50%;
    padding-right: 20px;
  }

  .ritual-section .ritual-copy h2 {
    font-size: 50px;
  }
}

@media (max-width: 700px) {
  .ritual-section {
    min-height: max(820px, 177.78vw);
  }

  .ritual-media img {
    object-position: center center;
  }

  .ritual-shade {
    background: linear-gradient(180deg, rgba(35, 32, 17, 0.65) 0%, rgba(35, 32, 17, 0.5) 32%, rgba(35, 32, 17, 0) 48%);
  }

  .ritual-section .ritual-copy {
    justify-content: flex-start;
    width: 100%;
    min-height: 0;
    padding: 36px 22px 0;
  }

  .ritual-section .ritual-copy .eyebrow {
    margin-bottom: 15px;
    font-size: 8px;
  }

  .ritual-section .ritual-copy h2 {
    max-width: 350px;
    font-size: clamp(50px, 15.2vw, 63px);
    line-height: 0.86;
  }

  .ritual-section .ritual-copy h2 em {
    margin-left: 0.16em;
  }

  .ritual-section .ritual-copy > p:not(.eyebrow) {
    max-width: 330px;
    margin: 23px 0 22px;
    font-size: 14px;
    line-height: 1.48;
  }

  .ritual-section .ritual-copy .button {
    min-width: 181px;
    padding: 14px 18px 13px;
    font-size: 8px;
  }
}

@media (max-width: 370px) {
  .ritual-section .ritual-copy {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ritual-section .ritual-copy .button {
    transition: none;
  }
}
