/* Two-panel home hero: the original video remains the opening visual. */
.home .hero-carousel { overflow: hidden; isolation: isolate; }
.home .hero-carousel .hero-slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .6s ease; }
.home .hero-carousel .hero-slide.is-active { opacity: 1; pointer-events: auto; z-index: 1; }
.home .hero-carousel .hero-slide--dealmoon { color: var(--cream); }
.home .hero-carousel .hero-slide--dealmoon::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(32 24 17 / .67) 0%, rgb(32 24 17 / .42) 46%, rgb(32 24 17 / .16) 100%); pointer-events: none; }
.home .hero-carousel .hero-dealmoon-image { position: absolute; inset: 0; }
.home .hero-carousel .hero-dealmoon-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.home .hero-carousel .dealmoon-copy { position: absolute; z-index: 2; left: max(7.5%, calc((100% - 1120px)/2)); right: min(10%, 150px); bottom: 15%; max-width: 680px; }
.home .dealmoon-copy .dealmoon-partnership { display: block; color: color-mix(in srgb, var(--cream) 78%, var(--sand)); font-family: var(--font-en-sans); font-size: clamp(.6875rem, .8vw, .75rem); font-weight: 500; letter-spacing: .16em; line-height: 1.6; margin-bottom: 12px; }
.home .dealmoon-copy .dealmoon-brand { color: var(--cream); font-family: var(--font-en-serif); font-size: clamp(1rem, 1.35vw, 1.25rem); font-weight: 500; letter-spacing: .04em; line-height: 1.3; margin: 0 0 17px; }
.home .dealmoon-copy h2 { color: var(--cream); font-family: var(--font-en-serif); font-size: clamp(2.65rem, 4.65vw, 4.85rem); font-weight: 400; letter-spacing: -.015em; line-height: 1.02; margin: 0; max-width: 650px; }
.home .dealmoon-copy .dealmoon-discount { color: var(--sand); font-family: var(--font-cn-serif); font-size: clamp(2rem, 3vw, 3.15rem); font-weight: 400; line-height: 1.1; margin: 22px 0 8px; }
.home .dealmoon-copy .dealmoon-benefits { color: color-mix(in srgb, var(--cream) 88%, var(--sand)); font-family: var(--font-cn-sans); font-size: clamp(.75rem, .95vw, .875rem); font-weight: 400; letter-spacing: .04em; line-height: 1.8; margin: 0 0 22px; }
.home .dealmoon-copy .dealmoon-cta { background: var(--cream); color: var(--ink); min-height: 50px; padding: 14px 23px; }
.home .dealmoon-copy .dealmoon-cta:hover { background: var(--sand); }
.home .hero-carousel-control { position: absolute; top: 50%; z-index: 4; width: 44px; height: 44px; transform: translateY(-50%); background: rgb(247 244 238 / .13); border: 1px solid rgb(247 244 238 / .55); border-radius: 50%; color: var(--cream); font-family: var(--font-en-serif); font-size: 1.75rem; font-weight: 400; line-height: 1; transition: background .2s ease, border-color .2s ease; }
.home .hero-carousel-control:hover, .home .hero-carousel-control:focus-visible { background: rgb(247 244 238 / .24); border-color: var(--cream); }
.home .hero-carousel-control--previous { left: 3.2%; }
.home .hero-carousel-control--next { right: 3.2%; }
/* Keep progress to the far right, away from the original editorial footer sentence. */
.home .hero-carousel-dots { position: absolute; z-index: 4; right: 4%; bottom: 33px; display: flex; align-items: center; gap: 9px; }
.home .hero-carousel-dot { width: 26px; height: 18px; padding: 8px 0; background: transparent; }
.home .hero-carousel-dot::after { content: ""; display: block; width: 100%; height: 1px; background: rgb(247 244 238 / .48); transition: width .2s ease, background .2s ease; }
.home .hero-carousel-dot.is-active::after, .home .hero-carousel-dot:hover::after { background: var(--cream); }
.home .hero-carousel-dot.is-active::after { width: 100%; height: 2px; }
/* The video slide is explicitly layered so the original movie always paints above its poster. */
.home .hero-carousel .hero-slide--video .hero-image { position: absolute; inset: 0; z-index: 0; }
.home .hero-carousel .hero-slide--video .hero-copy,
.home .hero-carousel .hero-slide--video .hero-foot { z-index: 2; }
@media (max-width: 900px) { .home .hero-carousel-control { top: 16%; bottom: auto; width: 40px; height: 40px; transform: translateY(-50%); } .home .hero-carousel-control--previous { left: 10px; } .home .hero-carousel-control--next { right: 10px; } .home .hero-carousel .hero-foot { right: 86px; bottom: 22px; display: grid; grid-template-columns: auto 1fr; gap: 7px 18px; padding-top: 15px; } .home .hero-carousel .hero-foot > span:first-child { grid-column: 1; grid-row: 1; } .home .hero-carousel .hero-foot > a { grid-column: 2; grid-row: 1; justify-self: end; } .home .hero-carousel .hero-foot > span:nth-child(2) { display: block; grid-column: 1 / -1; grid-row: 2; } .home .hero-carousel-dots { right: 24px; bottom: 112px; } }
@media (max-width: 600px) { .home .hero-carousel .hero-slide--dealmoon::after { background: linear-gradient(0deg, rgb(32 24 17 / .74) 0%, rgb(32 24 17 / .32) 72%, rgb(32 24 17 / .16) 100%); } .home .hero-carousel .hero-dealmoon-image img { object-position: 56% center; } .home .hero-carousel .dealmoon-copy { left: 26px; right: 26px; bottom: 104px; max-width: none; } .home .dealmoon-copy .dealmoon-partnership { font-size: .625rem; letter-spacing: .12em; margin-bottom: 10px; } .home .dealmoon-copy .dealmoon-brand { font-size: .875rem; margin-bottom: 13px; } .home .dealmoon-copy h2 { font-size: clamp(2.15rem, 10vw, 3.1rem); line-height: 1.05; } .home .dealmoon-copy .dealmoon-discount { font-size: 2.1rem; margin-top: 18px; } .home .dealmoon-copy .dealmoon-benefits { font-size: .6875rem; margin: 0 0 18px; } .home .dealmoon-copy .dealmoon-cta { min-height: 48px; padding: 13px 19px; } .home .hero-carousel-control { top: 15%; width: 36px; height: 36px; font-size: 1.5rem; } .home .hero-carousel-control--previous { left: 6px; } .home .hero-carousel-control--next { right: 6px; } .home .hero-carousel-dots { right: 22px; bottom: 110px; } }
@media (prefers-reduced-motion: reduce) { .home .hero-carousel .hero-slide { transition: none; } }
