.home-banners {
  background: #111110;
  color: #fff;
  position: relative;
}
.home-slide {
  position: relative;
  min-height: clamp(430px, 39vw, 620px);
  isolation: isolate;
  overflow: hidden;
}
.home-slide > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}
.home-slide:after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #111110f2, #111110ae 42%, #11111024 82%);
}
.home-slide-product {
  background: #e9e8e3;
  color: var(--ink);
}
.home-slide-product > img {
  inset: 0 0 0 auto;
  width: 48%;
  object-fit: contain;
  background: #fff;
}
.home-slide-product:after {
  background: linear-gradient(90deg, #e9e8e3 0%, #e9e8e3 48%, transparent 66%);
}
.home-slide-product .home-slide-copy > p:not(.home-eyebrow) {
  color: var(--muted);
}
.home-banner-note {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 0.8rem;
}
.home-slide-copy {
  min-height: inherit;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 3rem 5rem;
}
.home-eyebrow {
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.67rem;
  font-weight: 800;
}
.home-slide-copy .home-eyebrow,
.home-plans .home-eyebrow,
.home-newsletter .home-eyebrow {
  color: #ff4955;
}
.home-slide h1 {
  max-width: 8.6em;
  font-size: clamp(3.4rem, 7.5vw, 7.3rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
  margin: 1rem 0;
  text-wrap: balance;
}
.home-slide-copy > p:not(.home-eyebrow) {
  max-width: 34rem;
  color: #e4e1dc;
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  line-height: 1.5;
}
.home-slide-copy .primary {
  margin-top: 1.6rem;
}
.home-slider-controls {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  padding-block: 0.7rem;
}
.home-slider-controls > button {
  background: #fff2;
  color: #fff;
  border-color: #fff6;
  width: 36px;
  height: 36px;
  padding: 0;
}
.home-slide-dots {
  display: flex;
  gap: 0.5rem;
}
.home-slide-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: #fff7;
}
.home-slide-dots button[aria-current='true'] {
  background: #fff;
  transform: scale(1.3);
}
.home-banners:has(.home-slide-product:not([hidden])) .home-slider-controls > button {
  background: #111110;
  border-color: #111110;
}
.home-banners:has(.home-slide-product:not([hidden])) .home-slide-dots button {
  background: #11111077;
}
.home-banners:has(.home-slide-product:not([hidden])) .home-slide-dots button[aria-current='true'] {
  background: #111110;
}
.home-section {
  padding-block: clamp(2.7rem, 5vw, 5rem);
  scroll-margin-top: 20px;
}
.home-section + .home-section {
  border-top: 1px solid var(--rule);
}
.home-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.home-section h2,
.home-plans h2,
.home-newsletter h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.065em;
  margin-top: 0.55rem;
}
.home-view-all {
  font-size: 0.83rem;
  font-weight: 700;
  white-space: nowrap;
  text-underline-offset: 4px;
}
.home-category-circles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}
.home-category-circle {
  text-align: center;
  text-decoration: none;
  font-size: 0.93rem;
}
.home-category-photo {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  width: min(100%, 180px);
  overflow: hidden;
  margin: 0 auto 0.8rem;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: #fff;
}
.home-category-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.home-category-photo > span {
  font-size: 3rem;
  font-weight: 800;
  color: var(--red);
}
.home-category-circle:hover img {
  transform: scale(1.07);
}
.home-category-circle strong {
  display: block;
}
.home-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.home-product-grid .product {
  padding: 1.2rem;
}
.home-product-grid .shop-cover img {
  height: clamp(140px, 15vw, 220px);
}
.home-empty {
  border: 1px solid var(--rule);
  padding: 2rem;
  background: #fff;
  font-size: 0.88rem;
  color: var(--muted);
}
.home-empty a {
  display: inline-block;
  color: var(--ink);
  font-weight: 700;
  margin-top: 0.8rem;
}
.home-plans {
  background: #111110;
  color: #fff;
}
.home-plans-inner {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  min-height: 380px;
  padding-block: 2.5rem;
}
.home-plans h2 {
  max-width: 8em;
  margin-bottom: 1rem;
}
.home-plans p:not(.home-eyebrow) {
  color: #deded8;
  line-height: 1.6;
  max-width: 28rem;
}
.home-plans .primary {
  margin-top: 1.5rem;
}
.home-plans img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 4px;
}
.home-newsletter {
  background: #222220;
  color: #fff;
}
.home-newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(3rem, 5vw, 5rem);
}
.home-newsletter h2 {
  margin-bottom: 0.7rem;
}
.home-newsletter p:not(.home-eyebrow) {
  color: #d3d3cf;
  font-size: 0.9rem;
}
.home-newsletter-form label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}
.home-newsletter-form > div {
  display: flex;
  gap: 0.5rem;
}
.home-newsletter-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid #aaa;
  padding: 0.8rem;
  background: #f4f4f2;
}
.home-newsletter-form button {
  border-color: #777;
  background: #777;
  color: #fff;
  white-space: nowrap;
}
.home-newsletter-form small {
  display: block;
  margin-top: 0.5rem;
  color: #aaa;
  line-height: 1.4;
}
@media (max-width: 1000px) {
  .home-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .home-slide {
    min-height: 470px;
  }
  .home-slide:after {
    background: linear-gradient(0deg, #111110ef, #1111109c 60%, #11111024);
  }
  .home-slide-product > img {
    inset: 0 0 auto;
    width: 100%;
    height: 58%;
  }
  .home-slide-product:after {
    background: linear-gradient(0deg, #e9e8e3 0%, #e9e8e3 40%, #e9e8e3aa 65%, transparent 85%);
  }
  .home-slide-copy {
    justify-content: flex-end;
  }
  .home-slide h1 {
    font-size: clamp(3rem, 12vw, 5rem);
  }
  .home-category-circles {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
  }
  .home-category-circle {
    flex: 0 0 108px;
    scroll-snap-align: start;
    font-size: 0.79rem;
  }
  .home-product-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(250px, 76vw);
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
  }
  .home-section.store-block .home-product-grid {
    grid-template-columns: none;
  }
  .home-product-grid .product {
    scroll-snap-align: start;
  }
  .home-plans-inner,
  .home-newsletter-inner {
    grid-template-columns: 1fr;
  }
  .home-plans img {
    height: 220px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-category-photo img {
    transition: none;
  }
}
