#home [hidden] { display: none !important; }
#home { padding-bottom: 130px; }
.carousel-story h2 {
  margin: 24px 0 0;
  line-height: .83;
  letter-spacing: -2px;
}
.carousel-story h2 span { color: var(--red, #de3b33); }
.carousel-plugin img { object-fit: contain; }
.carousel-controls {
  display: flex;
  position: absolute;
  align-items: center;
  left: 5%;
  bottom: 76px;
  gap: 8px;
  font-size: 12px;
}
.carousel-controls button {
  min-height: 32px;
  min-width: 32px;
  border: 1px solid #777;
  background: #171716;
  color: #fff;
  font-size: 12px;
  padding: 3px 7px;
  cursor: pointer;
}
.carousel-controls button:focus-visible { outline: 2px solid white; outline-offset: 3px; }

.namaste-copy {
  display: inline-grid;
  grid-template-columns: min-content;
  justify-items: start;
  max-width: 100%;
}
.namaste-copy .hero-note { margin: 16px 0; }
.namaste-copy .button { white-space: nowrap; }

@media (min-width: 681px) {
  #home.show-namaste { grid-template-columns: minmax(min-content, 35fr) minmax(0, 65fr); }
  #home.show-namaste .carousel-plugin { width: 100%; max-width: none; }
}
#home .carousel-plugin img { aspect-ratio: auto; }


#home :is(.heat-carousel-crop, .album-cover-aligned) {
  position: absolute;
  top: var(--album-cover-top);
  left: var(--album-cover-left);
  width: var(--album-cover-width);
  height: var(--album-cover-height);
  max-width: none;
}
#home .heat-carousel-crop svg { display: block; width: 100%; height: 100%; }


#home {
  box-sizing: border-box;
  height: var(--album-height, auto);
}
#home > :is(.hero-content, .official-cover) { min-height: 0; }
#home .carousel-image { max-height: 100%; }
#home .carousel-image > :is(img, svg) { max-height: 100%; object-fit: contain; }

/* All large titles share the album's scale and screen anchor. */
#home { --carousel-title-size: clamp(80px, 8.1vw, 137px); }
#home :is(h1, .carousel-story h2) { font-size: var(--carousel-title-size); }
#home .carousel-story { position: relative; top: var(--title-offset, 0px); }
@media (max-width: 800px) {
  #home { --carousel-title-size: clamp(62px, 9vw, 90px); }
}
@media (max-width: 600px) {
  #home { --carousel-title-size: clamp(86px, 20vw, 125px); }
}

#home .slide-description { margin: 12px 0 0; font-size: 14px; line-height: 1.35; }
#home .slide-description + .hero-note { margin-top: 8px; }

@media (min-width: 1000px) {
  #home {
    --carousel-side: max(5%, calc((100% - 1320px) / 2));
    padding-inline: var(--carousel-side);
    column-gap: clamp(24px, 3vw, 48px);
  }
  #home > .official-cover { justify-self: start; }
  #home .carousel-controls { left: var(--carousel-side); }
  #home .hero-bottom { left: var(--carousel-side); right: var(--carousel-side); }
}

#home .slide-details { margin-top: clamp(22px, 3vw, 42px); }
#home .slide-details .eyebrow { margin: 0; }
#home .slide-details .hero-note { margin: 7px 0 12px; }


#home .slide-offer {
  width: fit-content;
  max-width: 100%;
  margin-top: 10px;
}
.slide-offer-prices { display: flex; align-items: baseline; gap: 12px; }
.slide-offer-prices strong {
  color: var(--red);
  font-family: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  font-size: var(--carousel-title-size);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: .83;
}
.slide-offer-prices s {
  position: relative;
  color: #e5e1da;
  font-size: clamp(20px, 2.4vw, 34px);
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.slide-offer-prices s::after {
  content: '';
  position: absolute;
  inset-inline: -3px;
  top: 50%;
  border-top: 2px solid var(--red);
  transform: rotate(-16deg);
  pointer-events: none;
}
.slide-offer small { display: block; margin-top: 5px; font-size: 12px; }

#home .offer-slogan {
  width: fit-content;
  max-width: 100%;
  margin: 9px 0 0;
  padding: 4px 9px;
  background: var(--red);
  color: #111110;
  font: 800 clamp(16px, 1.7vw, 23px)/1 'Barlow Condensed', 'Arial Narrow', sans-serif;
  text-transform: uppercase;
  letter-spacing: .035em;
}
#home .offer-slogan span { font-weight: 700; }
#home .offer-tax { color: #cecdc6; }

#home .slide-offer-prices .offer-tax { margin: 0; white-space: nowrap; }
#home .slide-offer-prices { flex-wrap: wrap; column-gap: 10px; row-gap: 3px; }



#home .hero-content > .eyebrow { position: relative; top: calc(12px + var(--label-offset, 0px)); }

#home .album-cover-aligned {
  left: max(0px, calc(var(--album-cover-left) - var(--plugin-image-extra, 0px)));
  width: min(var(--plugin-image-width, var(--album-cover-width)), calc(100% - var(--album-cover-left) + var(--plugin-image-extra, 0px) - var(--image-right-inset, 12px)));
}
#home .album-cover-aligned img { width: 100%; height: 100%; object-fit: contain; object-position: center; }

#home .carousel-single-line {
  white-space: nowrap;
  transform: scaleX(var(--title-scale, 1));
  transform-origin: left center;
}
#home .carousel-single-line .carousel-title-text { color: inherit; }

/* Soften the edges of the carousel images other than the album in the preview. */
#home .carousel-image { isolation: isolate; }
#home .carousel-image::before,
#home .carousel-image::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
#home .carousel-image::before {
  backdrop-filter: blur(5px);
  mask-image: linear-gradient(to right, #000 0%, transparent 8% 68%, #000 100%);
}
#home .carousel-image::after {
  background: linear-gradient(to right, transparent 62%, var(--bg) 100%);
}

#home > .hero-content { left: var(--carousel-text-shift, 0px); }

#home {
  padding-inline-end: max(var(--carousel-side, 6%), var(--image-right-inset, 0px));
}
@media (min-width: 681px) {
  #home.show-namaste { grid-template-columns: minmax(min-content, 30fr) minmax(0, 70fr); }
}

@media (min-width: 681px) {
  #home.show-namaste .carousel-plugin {
    position: absolute;
    top: var(--album-cover-top);
    left: max(36%, calc(var(--album-cover-left) - 120px));
    right: auto;
    width: calc(100% - max(36%, calc(var(--album-cover-left) - 120px)) - var(--image-right-inset, 0px));
    height: var(--album-cover-height);
    max-height: none;
    overflow: hidden;
  }
  #home.show-namaste .carousel-plugin img {
    width: auto;
    height: 100%;
    max-width: none;
    max-height: none;
  }
}

/* Mask the visible frame so the fade ends at the picker boundary even when the image is wider. */
#home.show-namaste .carousel-plugin {
  overflow: hidden;
  clip-path: inset(0);
  -webkit-mask-image: linear-gradient(to right, #000 0% 52%, rgb(0 0 0 / 55%) 76%, transparent 100%);
  mask-image: linear-gradient(to right, #000 0% 52%, rgb(0 0 0 / 55%) 76%, transparent 100%);
}
#home.show-namaste .carousel-plugin::before {
  z-index: 1;
  -webkit-mask-image: linear-gradient(to right, transparent 0% 65%, #000 100%);
  mask-image: linear-gradient(to right, transparent 0% 65%, #000 100%);
}
#home.show-namaste .carousel-plugin::after { display: none; }

/* Every image uses the album cover's vertical bounds, including on mobile. */
#home .carousel-image {
  position: absolute;
  top: var(--album-cover-top);
  height: var(--album-cover-height);
  max-height: none;
  overflow: hidden;
}
#home .carousel-image:not(.heat-carousel-crop):not(.album-cover-aligned) {
  left: var(--album-cover-left);
  width: var(--album-cover-width);
}
#home .carousel-image > :is(img, svg) {
  display: block;
  height: 100%;
  max-height: none;
}
#home .carousel-image > img { object-fit: cover; }
#home.show-namaste .carousel-plugin {
  left: max(36%, calc(var(--album-cover-left) - 120px));
  width: calc(100% - max(36%, calc(var(--album-cover-left) - 120px)) - var(--image-right-inset, 0px));
}
@media (max-width: 680px) {
  #home.show-namaste .carousel-plugin {
    left: var(--album-cover-left);
    width: calc(100% - var(--album-cover-left) - var(--image-right-inset, 0px));
  }
  #home.show-namaste .carousel-plugin img { width: auto; max-width: none; }
}
#home .carousel-image.album-cover-aligned > img { object-fit: cover; }

#home.show-namaste .carousel-plugin {
  right: var(--image-right-inset, 0px);
  width: auto;
  max-width: none;
  margin-inline: 0;
  -webkit-mask-image: linear-gradient(to right, #000 0% 70%, rgb(0 0 0 / 80%) 90%, transparent 100%);
  mask-image: linear-gradient(to right, #000 0% 70%, rgb(0 0 0 / 80%) 90%, transparent 100%);
}
#home.show-namaste .carousel-plugin img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

/* End wide artwork at the trailing edge of the language control. */
#home .carousel-image.album-cover-aligned,
#home.show-namaste .carousel-image.carousel-plugin {
  right: var(--image-right-inset, 0px);
  width: auto;
  max-width: none;
  margin-inline: 0;

}
#home .carousel-image.album-cover-aligned > img,
#home.show-namaste .carousel-image.carousel-plugin > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#home .carousel-image.album-cover-aligned::after { display: none; }

/* Use the same right-edge fade on each carousel image except the album reference. */
#home .carousel-image,
#home.show-namaste .carousel-image.carousel-plugin {
  --carousel-fade-width: clamp(100px, 35%, 300px);
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - var(--carousel-fade-width)), transparent 100%);
  mask-image: linear-gradient(to right, #000 calc(100% - var(--carousel-fade-width)), transparent 100%);
}
#home .carousel-image::after { display: none; }

/* Reflow the hero as one column where the desktop composition no longer fits. */
@media (max-width: 900px) {
  #home,
  #home.show-namaste {
    --carousel-title-size: clamp(33px, 8.5vw, 60px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    height: auto;
    min-height: 0;
    padding: 28px 6% 20px;
  }
  #home > .hero-content {
    left: auto;
    top: auto;
    width: 100%;
  }
  #home .hero-content > .eyebrow { top: auto; margin: 0 0 10px; }
  #home :is(h1, .carousel-story h2) { margin: 0; }
  #home .namaste-copy { display: block; }
  #home .slide-details { margin-top: 18px; }
  #home .slide-offer-prices strong { font-size: clamp(30px, 7.7vw, 48px); }

  #home > figure.official-cover,
  #home.show-namaste > figure.official-cover.carousel-plugin {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: min(100%, 520px);
    height: auto;
    margin: 0 auto;
  }
  #home > figure.carousel-image,
  #home.show-namaste > figure.carousel-image.carousel-plugin {
    aspect-ratio: 4 / 3;
    -webkit-mask-image: none;
    mask-image: none;
  }
  #home > figure.carousel-image::before,
  #home > figure.carousel-image::after { display: none; }
  #home > figure.carousel-image > :is(img, svg),
  #home.show-namaste > figure.carousel-image.carousel-plugin > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
  #home .carousel-controls,
  #home .hero-bottom {
    position: static;
    padding: 0;
  }
  #home .hero-bottom { padding-top: 14px; }
}

@media (max-width: 900px) {
  #home .slide-description, #home .hero-note { font-size: 13px; }
  #home .offer-slogan { font-size: 14px; }
  #home .hero-content .button { font-size: 13px; }
}

@media (max-width: 900px) {
  #home, #home.show-namaste {
    gap: 0;
    padding: 18px 5% 24px;
    --carousel-title-size: clamp(36px, 10vw, 58px);
  }
  #home > figure.official-cover,
  #home.show-namaste > figure.official-cover.carousel-plugin {
    order: -2;
    height: clamp(180px, 59vw, 300px);
    max-width: none;
    aspect-ratio: auto;
    background: #1b1917;
    border: 1px solid #ffffff19;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
  }
  #home > figure.official-cover > :is(img, svg) {
    width: 100%;
    height: 100%;
    padding: 10px;
    object-fit: contain;
  }
  #home > figure.official-cover figcaption { display: none; }
  #home > .hero-content {
    padding: 17px 17px 18px;
    background: #191715;
    border: 1px solid #ffffff19;
    border-top: 0;
    border-radius: 0 0 12px 12px;
  }
  #home .hero-content > .eyebrow {
    font-size: 10px;
    letter-spacing: .12em;
    margin-bottom: 9px;
  }
  #home .hero-content .eyebrow .red-line { width: 16px; }
  #home .slide-description { margin-top: 8px; color: #ded8ce; line-height: 1.45; }
  #home .slide-offer { margin-top: 13px; }
  #home .offer-slogan {
    margin-top: 7px;
    padding: 0;
    background: transparent;
    color: #f59a78;
    letter-spacing: .045em;
  }
  #home .slide-details { margin-top: 13px; }
  #home .slide-details .hero-note { margin: 0 0 10px; }
  #home .hero-content .button { min-height: 42px; padding: 10px 15px; }
  #home .carousel-controls { align-self: center; margin: 12px 0; }
  #home .hero-bottom { margin-top: 3px; }
  #home .vertical { display: none; }
}

@media (max-width: 900px) {
  #home, #home.show-namaste { padding-block: 12px 16px; }
  #home > figure.official-cover,
  #home.show-namaste > figure.official-cover.carousel-plugin {
    height: clamp(145px, 45vw, 230px);
  }
  #home > .hero-content { padding: 13px 15px 14px; }
  #home .slide-description { margin-top: 6px; }
  #home .slide-offer, #home .slide-details { margin-top: 10px; }
  #home .slide-offer-prices strong {
    font-family: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
    font-weight: 800;
    letter-spacing: normal;
    line-height: 1;
  }
  #home .carousel-controls { margin: 9px 0; }
}

@media (max-width: 900px) {
  /* The media and copy form one card. Desktop image offsets must not carry over. */
  #home > figure.official-cover.carousel-image:not([hidden]) {
    inset: auto;
    width: 100%;
    max-width: none;
    margin-inline: 0;
    align-self: stretch;
  }
}

@media (max-width: 900px) {
  #home :is(h1, .carousel-story h2) {
    letter-spacing: .012em;
    line-height: .98;
  }
  #home .carousel-single-line { transform: none; white-space: normal; }
  #home .hero-content :is(.slide-description, .hero-note, .button) {
    letter-spacing: normal;
  }
  #home .offer-slogan { letter-spacing: .065em; }
}

@media (max-width: 900px) {
  #home > figure.carousel-image[data-slide="4"] > img {
    object-fit: cover;
    object-position: left top;
  }
}

@media (max-width: 900px) {
  #home > figure.carousel-image[data-slide="5"] > img {
    transform: scale(1.18);
    transform-origin: center;
  }
}

@media (max-width: 900px) {
  #home > figure.carousel-image[data-slide="6"] > img {
    object-fit: cover;
    object-position: center 82%;
    transform: scale(1.17);
    transform-origin: center 55%;
  }
}

@media (max-width: 900px) {
  #home.show-namaste > figure.carousel-image.carousel-plugin > img {
    object-fit: cover;
    object-position: left top;
    transform: scale(1.65);
    transform-origin: left top;
  }
}

@media (max-width: 900px) {
  #home > .hero-content { min-height: var(--mobile-copy-height, 0px); }
}

@media (max-width: 900px) {
  #home .slide-description { min-height: 2lh; }
}

@media (max-width: 900px) {
  #home > figure.official-cover:not([data-slide]) > img {
    padding: 0;
    object-fit: cover;
    object-position: center top;
  }
}

@media (max-width: 900px) {
  #home > figure.carousel-image[data-slide="4"] > img {
    transform: scale(1.14);
    transform-origin: 46% 10%;
  }
}

@media (min-width: 901px) {
  #home > .hero-content { translate: 0 -76px; }
  #home > .official-cover:not([data-slide]) { translate: 0 14px; }
  #home .slide-details { margin-top: clamp(16px, 1.8vw, 28px); }
}

#home .namaste-copy .slide-offer-prices {
  flex-wrap: nowrap;
  width: max-content;
}
#home .namaste-copy .slide-offer-prices strong { white-space: nowrap; }
