.story-panel,
.catalog-section,
.care-section {
  margin: 0 auto;
  max-width: var(--wide);
  padding: clamp(4rem, 10vw, 9rem) var(--page-padding);
}

.story-panel {
  background: var(--caramel);
  color: var(--cream);
  display: grid;
  gap: 2rem;
  overflow: hidden;
  position: relative;
}

.story-panel::after {
  border: 1px solid rgb(255 249 242 / 48%);
  border-radius: 50%;
  content: "";
  height: min(68vw, 44rem);
  position: absolute;
  right: -24%;
  top: -25%;
  width: min(68vw, 44rem);
}

.story-panel-copy { max-width: 43rem; position: relative; z-index: 1; }

.section-kicker {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .12em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.story-panel h2,
.catalog-heading h2,
.care-section h2 {
  font: 900 clamp(3.8rem, 12vw, 9rem) /.9 var(--display);
  letter-spacing: -.035em;
  margin: 0;
  text-wrap: balance;
}

.story-panel p:last-child { font-size: clamp(1.25rem, 3vw, 1.8rem); line-height: 1.1; margin: 1.5rem 0 0; max-width: 31rem; }

.story-composition {
  align-self: end;
  min-height: clamp(23rem, 55vw, 36rem);
  overflow: hidden;
  position: relative;
  width: 100%;
  z-index: 1;
}

.story-still-life {
  border: 5px solid var(--cream);
  border-radius: 48% 48% 2rem 2rem;
  margin: 1.5rem auto 0;
  max-width: 31rem;
  overflow: hidden;
  position: relative;
  transform: rotate(3deg);
  width: 100%;
}

.story-still-life img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }

.story-float {
  aspect-ratio: 1;
  border: 4px solid var(--cream);
  border-radius: 50%;
  box-shadow: 0 1rem 2rem rgb(49 23 14 / 18%);
  object-fit: cover;
  position: absolute;
  width: clamp(7.5rem, 28%, 12rem);
  z-index: 2;
}

.story-float-cake { left: 2%; top: 5%; transform: rotate(-8deg); }
.story-float-bites { bottom: 3%; right: 2%; transform: rotate(7deg); }

.catalog-section { background: var(--oat); overflow: hidden; }

.catalog-heading { align-items: end; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; margin-bottom: 2.5rem; }
.catalog-heading h2 { color: var(--espresso); max-width: 7ch; }
.catalog-note { font-size: 1.25rem; line-height: 1.1; margin: 0; max-width: 17rem; }

.product-carousel { position: relative; }
.carousel-window { overflow: visible; }
.carousel-track { display: grid; gap: 1rem; }
.product-card { background: var(--cream); border: 1px solid var(--line); display: grid; flex: 0 0 100%; min-width: 0; }
.product-card-image { aspect-ratio: 5 / 4; object-fit: cover; width: 100%; }
.product-card-copy { display: grid; gap: .85rem; padding: 1.4rem; }
.product-category, .product-badge { font-size: .85rem; font-weight: 700; letter-spacing: .09em; margin: 0; text-transform: uppercase; }
.product-badge { color: var(--cocoa); }
.product-card h3 { font: 900 clamp(2.4rem, 8vw, 4.5rem) /.9 var(--display); letter-spacing: -.025em; margin: 0; }
.product-description { font-size: 1.15rem; line-height: 1.1; margin: 0; max-width: 28rem; }
.product-add { align-self: start; background: var(--espresso); border: 1px solid var(--espresso); color: var(--cream); cursor: pointer; font: 700 1rem/1 var(--body); min-height: 48px; padding: .8rem 1rem; }

.carousel-controls { display: none; }
.product-carousel.is-enhanced .carousel-window { overflow: hidden; }
.product-carousel.is-enhanced .carousel-track { display: flex; gap: 0; will-change: transform; }
.product-carousel.is-enhanced .carousel-controls { align-items: center; display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between; margin-top: 1rem; }
.carousel-arrow, .carousel-page { background: transparent; border: 1px solid var(--espresso); color: var(--espresso); cursor: pointer; font: 700 1rem/1 var(--body); min-height: 44px; min-width: 44px; }
.carousel-arrow { align-items: center; display: inline-flex; gap: .5rem; justify-content: center; padding: .75rem 1rem; }
.carousel-arrow-icon { display: inline-block; }
.carousel-pagination { display: flex; gap: .4rem; }
.carousel-page[aria-current="true"] { background: var(--espresso); color: var(--cream); }
.carousel-arrow:disabled { cursor: not-allowed; opacity: .45; }

.care-section { background: var(--sand); color: var(--espresso); }
.care-section h2 { max-width: 8ch; }
.care-section p { font-size: clamp(1.3rem, 3vw, 2rem); line-height: 1.05; margin: 1.5rem 0 0; max-width: 33rem; }

@media (min-width: 48rem) {
  .story-panel { grid-template-columns: minmax(0, 1fr) minmax(18rem, .8fr); align-items: end; }
  .story-composition { margin-bottom: -4rem; }
  .product-card { grid-template-columns: minmax(0, 1fr) minmax(18rem, .82fr); }
  .product-card-image { height: 100%; min-height: 27rem; }
  .product-card-copy { padding: 2.2rem; }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .product-card,
  .product-card-image { transition: border-color 140ms ease, transform 140ms ease; }
  .product-card:hover { border-color: var(--cocoa); }
  .product-card:hover .product-card-image { transform: translateY(-.4rem); }
  .carousel-arrow:hover .carousel-arrow-icon,
  .carousel-arrow:focus-visible .carousel-arrow-icon { transform: translateX(.3rem); }
  .carousel-arrow[data-carousel-previous]:hover .carousel-arrow-icon,
  .carousel-arrow[data-carousel-previous]:focus-visible .carousel-arrow-icon { transform: translateX(-.3rem); }
}
