html:has(.home-page) {
  --home-header-height: 79px;
  --home-sticky-offset: calc(var(--home-header-height) + 1px);
  scroll-padding-top: var(--home-sticky-offset);
}
.home-page {
  --home-announcement-height: 27px;
  --home-slide-height: calc(100svh - var(--home-sticky-offset));
  --home-slide-height: calc(100dvh - var(--home-sticky-offset));
}
.home-page [data-home-slide] { scroll-margin-top: 0; }
.home-page .campaign-opening {
  min-height: calc(100svh - var(--home-announcement-height));
  min-height: calc(100dvh - var(--home-announcement-height));
}
.home-page :is(.fashion-stories, .selection-section, .shop-look, .fragrance-story, .home-closing) {
  min-height: var(--home-slide-height);
  margin-block: 0;
}
.home-page .fashion-stories {
  --collection-padding: clamp(28px, 5vh, 72px);
  --collection-stagger: clamp(20px, 9vh, 118px);
  align-content: center;
  padding-block: var(--collection-padding);
  background: #e9eeeb;
}
.home-page .fashion-story:nth-child(2) { margin-top: var(--collection-stagger); }
.home-page .selection-section { display: grid; align-content: center; padding-block: clamp(32px, 6vh, 75px); }
.home-page .selection-section .shop-section-heading {
  padding-bottom: clamp(12px, 2vh, 22px);
  border-bottom: 1px solid var(--line);
}
.home-page .shop-look {
  width: 100%;
  background: #eee5d8;
}
.home-page .fragrance-story { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.home-page .fragrance-story-image { position: relative; min-height: 0; }
.home-page .fragrance-story-image img { position: absolute; inset: 0; height: 100%; }
.home-page .home-closing { display: flex; flex-direction: column; }
.home-page .home-closing .site-footer { flex: 1; }

.home-slide-nav {
  --slide-nav-color: var(--ink);
  position: fixed;
  z-index: 45;
  top: 50%;
  right: clamp(8px, 1.4vw, 25px);
  display: grid;
  color: var(--slide-nav-color);
  transform: translateY(-50%);
}
.home-slide-nav[data-slide-tone="dark"] { --slide-nav-color: white; }
.home-slide-nav a { position: relative; display: grid; width: 28px; height: 27px; place-items: center; }
.home-slide-nav a::before {
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
}
.home-slide-nav a[aria-current]::before {
  background: currentColor;
  transform: scale(1.3);
}
.home-slide-nav[data-slide-tone="dark"] a::before { filter: drop-shadow(0 1px 2px #0f133b); }
.home-slide-nav a:focus-visible { outline-color: currentColor; }
.home-slide-nav a span {
  position: absolute;
  right: calc(100% + 4px);
  padding: 6px 9px;
  background: var(--ink);
  color: white;
  font-size: 11px;
  white-space: nowrap;
  clip-path: inset(50%);
}
.home-slide-nav a:is(:hover, :focus-visible) span { clip-path: none; }
.home-next-slide {
  position: absolute;
  bottom: 14px;
  left: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: white;
  transform: translateX(-50%);
}
.home-next-slide::after {
  width: 11px;
  height: 11px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  content: "";
  transform: translateY(-3px) rotate(45deg);
}
.home-next-slide:focus-visible { outline-color: white; }

.home-page .announcement { background: var(--ink); color: white; }
.home-page .store-header {
  margin-bottom: calc(-1 * var(--home-sticky-offset));
}
.home-page .masthead { min-height: var(--home-header-height); }
.home-page :is(.store-nav a, .masthead-maison) {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .065em;
  text-transform: uppercase;
}
.home-page .campaign-opening::after {
  background:
    linear-gradient(180deg, #0b102899, transparent 25%),
    linear-gradient(0deg, #101627b3, #10162733 43%, transparent 70%);
}
.home-page .opening-copy h1 {
  max-width: none;
  font-size: clamp(43px, 5.8vw, 88px);
  font-weight: 600;
  line-height: .97;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.home-page :is(.opening-copy h1, .fashion-story-caption h2, .fragrance-story-copy h2, .home-maison h2) {
  text-transform: uppercase;
}
.home-page :is(.selection-section h2, .shop-look h2) { text-transform: lowercase; }
.home-page :is(.fashion-story-caption h2, .fragrance-story-copy h2) {
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.045em;
}
.home-page .fashion-story-caption h2 { font-size: clamp(28px, 3.55vw, 56px); }
.home-page :is(.opening-links a, .fashion-story-caption span, .selection-section .inline-action,
  .fragrance-story-copy .inline-action, .maison-links a) {
  font-size: clamp(10px, .85vw, 13px);
  letter-spacing: .065em;
  text-transform: uppercase;
  text-underline-offset: 5px;
}
.home-page .opening-links a { font-weight: 600; }
.home-page .opening-links .opening-link-secondary { font-weight: 300; }
.home-page .fashion-story-caption span { font-weight: 600; }
.home-page .fragrance-story-copy .inline-action:first-of-type { margin-top: 3px; }

@media (min-width: 1000px) {
  html:has(.home-page) { --home-header-height: 85px; }
  .home-page .fashion-story img {
    max-height: max(220px, calc(var(--home-slide-height) - 2 * var(--collection-padding) - 76px));
  }
  .home-page .fashion-story:nth-child(2) img {
    max-height: max(220px, calc(var(--home-slide-height) - 2 * var(--collection-padding) - 76px - var(--collection-stagger)));
  }
  .home-page .shop-look { grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); }
  .home-page .shop-look-photo { grid-area: 1 / 2; }
  .home-page .shop-look-copy { grid-area: 1 / 1; }
}
@media (max-width: 720px) {
  html:has(.home-page) { --home-header-height: 64px; }
  .home-page .opening-copy h1 { font-size: clamp(30px, 8.3vw, 55px); }
  .home-page .opening-links { gap: 3px 16px; }
  .home-page .fashion-story-caption { gap: 3px 12px; }
  .home-page .fashion-story:nth-child(2) { margin-top: 7px; }
  .home-page .fragrance-story { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .home-page .fragrance-story-image { min-height: clamp(175px, 39svh, 330px); }
  .home-page .fragrance-story-copy { gap: 10px; padding: clamp(24px, 4.5vh, 40px) var(--site-gutter); }
  .home-slide-nav { right: 1px; }
  .home-slide-nav a { width: 24px; height: 25px; }
  .home-next-slide { bottom: 11px; }
  .home-page .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .home-page .newsletter-form input { min-width: 0; }
}

html:has(.home-swiper-ready), .home-swiper-ready { overflow: hidden; }
.home-swiper-ready .home-carousel { height: 100svh; height: 100dvh; }
.home-swiper-ready .announcement {
  position: fixed;
  z-index: 51;
  inset: 0 0 auto;
  transition: transform .28s ease, opacity .28s ease;
}
.home-swiper-ready:not(.home-on-intro) .announcement {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
}
.home-swiper-ready .store-header {
  position: fixed;
  inset: 0 0 auto;
  margin: 0;
  transition: top .28s ease, background-color .28s ease;
}
.home-swiper-ready.home-on-intro .store-header { top: var(--home-announcement-height); }
.home-swiper-ready .home-screen { padding-top: var(--home-sticky-offset); }
.home-swiper-ready .home-screen:first-child { padding-top: var(--home-announcement-height); }
.home-swiper-ready [data-home-slide] { scroll-margin-top: var(--home-sticky-offset); }
.home-swiper-ready #intro { scroll-margin-top: var(--home-announcement-height); }
.home-swiper-ready .swiper:not(.swiper-css-mode) .home-screen {
  overflow: hidden auto;
  overscroll-behavior-y: contain;
  scrollbar-width: none;
}
.home-swiper-ready .swiper:not(.swiper-css-mode) .home-frames {
  transition-timing-function: cubic-bezier(.24, .62, .22, 1);
}
.home-swiper-ready .swiper-css-mode .home-screen {
  height: auto;
  min-height: 100%;
  scroll-snap-stop: always;
}
.home-swiper-ready .swiper-css-mode .home-frames { overscroll-behavior-y: contain; }
@media (prefers-reduced-motion: reduce) {
  .home-swiper-ready :is(.announcement, .store-header) { transition: none; }
}
