:root {
  --favorites-ink: #111013;
  --favorites-plum: #3d1127;
  --favorites-pink: #c9185b;
  --favorites-paper: #fbf7f5;
  --favorites-muted: #6c6267;
}

.favorites-hero {
  align-items: center;
  background:
    radial-gradient(circle at 6% 8%, rgba(242, 41, 120, 0.16), transparent 31%),
    var(--favorites-paper);
  display: grid;
  gap: clamp(48px, 7vw, 110px);
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  min-height: 760px;
  padding: clamp(70px, 8vw, 124px) clamp(24px, 7vw, 112px);
}

.favorites-hero-copy {
  max-width: 660px;
}

.favorites-eyebrow {
  color: var(--favorites-pink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  margin: 0;
  text-transform: uppercase;
}

.favorites-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 7vw, 104px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.9;
  margin: 22px 0 30px;
}

.favorites-hero h1 em {
  color: var(--favorites-pink);
  display: block;
  font-weight: 400;
}

.favorites-intro {
  color: var(--favorites-muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(19px, 1.7vw, 25px);
  line-height: 1.55;
  margin: 0 0 34px;
}

.favorites-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.favorites-button {
  background: var(--favorites-ink);
  color: #fff;
  display: inline-flex;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 19px 27px;
  text-transform: uppercase;
  transition: background 180ms ease, transform 180ms ease;
}

.favorites-button:hover,
.favorites-button:focus-visible {
  background: var(--favorites-pink);
  transform: translateY(-2px);
}

.paid-link {
  color: var(--favorites-muted);
  font-size: 11px;
  font-weight: 700;
}

.affiliate-disclosure {
  color: var(--favorites-muted);
  font-size: 12px;
  line-height: 1.6;
  margin: 17px 0 0;
}

.favorites-hero-visual {
  min-height: 620px;
  position: relative;
}

.favorites-main-photo {
  height: 100%;
  margin: 0;
  min-height: 620px;
  overflow: hidden;
}

.favorites-main-photo img {
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  width: 100%;
}

.favorites-note {
  background: #fff;
  bottom: 34px;
  box-shadow: 0 20px 54px rgba(61, 17, 39, 0.18);
  display: flex;
  flex-direction: column;
  left: -38px;
  max-width: 310px;
  padding: 25px 29px;
  position: absolute;
}

.favorites-note span {
  color: var(--favorites-pink);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.favorites-note strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.2;
}

.favorites-story {
  background: #fff;
  padding: clamp(78px, 9vw, 132px) clamp(22px, 6vw, 96px);
}

.favorites-story-heading {
  display: grid;
  gap: 24px clamp(34px, 6vw, 90px);
  grid-template-columns: 0.46fr 1fr 0.76fr;
  margin: 0 auto 58px;
  max-width: 1360px;
}

.favorites-story-heading h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 4.7vw, 70px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin: 0;
}

.favorites-story-heading > p:last-child {
  border-left: 2px solid var(--favorites-pink);
  color: var(--favorites-muted);
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
  padding-left: 27px;
}

.favorites-gallery {
  display: grid;
  gap: 16px;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: repeat(2, minmax(260px, 1fr));
  margin: 0 auto;
  max-width: 1360px;
  min-height: 680px;
}

.favorites-gallery figure {
  margin: 0;
  overflow: hidden;
  position: relative;
}

.favorites-gallery-large {
  grid-row: 1 / span 2;
}

.favorites-gallery img {
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
  width: 100%;
}

.favorites-gallery figure:hover img {
  transform: scale(1.025);
}

.favorites-gallery figure::after {
  background: linear-gradient(transparent 55%, rgba(17, 16, 19, 0.76));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.favorites-gallery figcaption {
  bottom: 25px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2vw, 29px);
  font-style: italic;
  left: 27px;
  position: absolute;
  z-index: 1;
}

.favorites-cta {
  align-items: center;
  background: var(--favorites-plum);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: clamp(74px, 9vw, 124px) 24px;
  text-align: center;
}

.favorites-cta > img {
  filter: brightness(0) invert(1);
  margin-bottom: 28px;
  width: 78px;
}

.favorites-cta h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 5.7vw, 80px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin: 18px 0 22px;
  max-width: 900px;
}

.favorites-cta > p:not(.favorites-eyebrow):not(.affiliate-disclosure) {
  color: rgba(255, 255, 255, 0.72);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.6;
  margin: 0 0 32px;
  max-width: 680px;
}

.favorites-actions-centered {
  justify-content: center;
}

.favorites-cta .favorites-button {
  background: #fff;
  color: var(--favorites-ink);
}

.favorites-cta .favorites-button:hover,
.favorites-cta .favorites-button:focus-visible {
  background: var(--favorites-pink);
  color: #fff;
}

.favorites-cta .paid-link,
.favorites-cta .affiliate-disclosure {
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1060px) {
  .favorites-hero {
    grid-template-columns: 1fr;
  }

  .favorites-hero-copy {
    max-width: 760px;
  }

  .favorites-story-heading {
    grid-template-columns: 1fr;
  }

  .favorites-story-heading > p:last-child {
    max-width: 700px;
  }
}

@media (max-width: 720px) {
  .favorites-hero {
    min-height: 0;
    padding: 64px 20px;
  }

  .favorites-hero h1 {
    font-size: 58px;
  }

  .favorites-hero-visual,
  .favorites-main-photo {
    min-height: 500px;
  }

  .favorites-note {
    bottom: 18px;
    left: 18px;
    right: 18px;
  }

  .favorites-story {
    padding: 72px 20px;
  }

  .favorites-story-heading h2 {
    font-size: 46px;
  }

  .favorites-gallery {
    display: flex;
    min-height: 0;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
  }

  .favorites-gallery figure,
  .favorites-gallery-large {
    aspect-ratio: 4 / 5;
    flex: 0 0 84%;
    grid-row: auto;
    scroll-snap-align: center;
  }

  .favorites-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .favorites-actions-centered {
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
