/* Crisp cream overlaps use the same curves as the Little Reads section. */
.hero-approved::after {
  left: 0;
  width: 100%;
  height: clamp(36px, 3.5vw, 60px);
  bottom: -1px;
  z-index: 30;
  clip-path: none;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0 24C180 80 280 42 420 22S690 3 835 32s225 18 365-8V60H0Z' fill='%23fff9ed'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.under-hero-screens { position: relative; isolation: isolate; color: #061757; background: transparent; }
.under-hero-screens::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: #fff9ed url('assets/under-hero/background-no-upper-branches.png') center / 100% 100% no-repeat;
  pointer-events: none;
}
.under-hero-screens::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -1px 0 auto;
  height: clamp(25px, 2.4vw, 40px);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1200V23C1030-15 980 64 810 40S570 8 440 26S230 64 110 35S20 22 0 28Z' fill='%23fff9ed'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  pointer-events: none;
}
.uh-collections { position: relative; }
#stories { position: relative; background: #fff9e9; }
#stories::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: calc(100% - 1px);
  left: 0;
  width: 100%;
  height: clamp(30px, 3.5vw, 60px);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1200V23C1030-15 980 64 810 40S570 8 440 26S230 64 110 35S20 22 0 28Z' fill='%23fff9e9'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  pointer-events: none;
}
#featured-collections::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: clamp(30px, 3.5vw, 60px);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0 24C180 80 280 42 420 22S690 3 835 32s225 18 365-8V60H0Z' fill='%23fff9e9'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  pointer-events: none;
}
.uh-container { max-width: 1440px; margin: auto; padding-inline: clamp(20px, 4.1vw, 60px); }
.uh-heading { text-align: center; margin-bottom: 22px; }
.uh-heading h2 { margin: 0 0 5px; font-size: clamp(29px, 3.7vw, 49px); font-weight: 900; line-height: 1.12; letter-spacing: -1.3px; }
.uh-heading p { margin: 0; font-size: clamp(15px, 1.52vw, 20px); line-height: 1.35; }
.uh-art { position: relative; display: block; overflow: hidden; aspect-ratio: var(--w) / var(--h); }
.uh-art img { display: block; position: absolute; width: calc(1024 / var(--w) * 100%); max-width: none; height: auto; left: calc(var(--x) / var(--w) * -100%); top: calc(var(--y) / var(--h) * -100%); }
.under-hero-screens .latest-videos { background: transparent; padding: 20px 0 45px; color: #061757; }
.under-hero-screens .latest-videos::before, .under-hero-screens .latest-videos::after { content: none; }
.under-hero-screens .latest-videos .container { max-width: 1440px; padding-inline: clamp(20px, 4.1vw, 60px); }
.under-hero-screens .video-choice > .uh-art { border-radius: 11px; }
.uh-collections { padding: 30px 0 75px; scroll-margin-top: 20px; }
.uh-collections .uh-container { padding-inline: clamp(20px, 3vw, 45px); }
.uh-collections .uh-heading { margin-bottom: 15px; }
.uh-collections .uh-heading h2 { font-size: clamp(29px, 3.45vw, 45px); }
.uh-collection-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.uh-collection-card { display: block; position: relative; border: 4px solid #fff; border-radius: 19px; overflow: hidden; box-shadow: 0 6px 18px #876c2420; transition: transform .2s; }
.uh-collection-card:hover { transform: translateY(-3px); }
.uh-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 760px) {
  .hero-approved::after { height: 30px; }
  .under-hero-screens::before { inset: 0; clip-path: none; background-size: auto 100%; }
  .under-hero-screens .latest-videos { padding-top: 12px; padding-bottom: 25px; }
  .uh-heading h2 { font-size: 33px; }
  .uh-collections { padding-top: 24px; padding-bottom: 50px; }
  .uh-collection-grid { grid-template-columns: 1fr; max-width: 480px; margin: auto; gap: 15px; }
}
