/* Stable title/copy zones: the V cannot intrude into the supporting copy. */
.hero {
  --title-top: clamp(160px, 20vh, 205px);
  --title-size: clamp(150px, 17.6vw, 280px);
  min-height: 780px;
}
.hero h1 {
  top: var(--title-top);
  left: 51%;
  font-size: var(--title-size);
  line-height: 1;
  letter-spacing: -.08em;
}
.hero h1:first-letter { font-size: 1.06em; }
.hero-copy {
  top: calc(var(--title-top) + var(--title-size) * 1.06 + 14px);
  left: 7%;
  max-width: 27%;
}
.hero-copy .eyebrow { font-size: clamp(16px, 1.35vw, 22px); margin-bottom: 14px; }
.hero-copy .small-line { margin-bottom: 14px; }
.hero-copy > p:not(.eyebrow) { font-size: clamp(17px, 1.35vw, 22px); }
.hero-copy .button { padding: 15px 24px; gap: 16px; font-size: 15px; margin-top: 21px; }
.hero-crown { top: calc(var(--title-top) - 94px); height: 115px; width: 190px; left: calc(51% - 95px); }
.product-stage { top: 32%; left: 30%; width: 66%; height: 59%; pointer-events: auto; }
.product-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: none; scale: var(--sweet-scale, 1); }
.hero-switcher { position: absolute; z-index: 4; bottom: 35px; left: 63%; transform: translateX(-50%); display: flex; align-items: center; flex-direction: column; gap: 5px; }
#hero-product-name { font-size: 13px; letter-spacing: .025em; min-height: 20px; }
.hero-controls { display: flex; gap: 12px; align-items: center; }
#hero-dots { display: flex; }
#hero-dots button, #hero-pause { width: 35px; height: 35px; padding: 0; background: transparent; display: grid; place-items: center; }
#hero-dots button span { border: 1px solid var(--chocolate); border-radius: 50%; width: 7px; height: 7px; transition: background .2s, transform .2s; }
#hero-dots button[aria-pressed=true] span { background: var(--chocolate); transform: scale(1.25); }
#hero-pause { border: 1px solid #3b211835; border-radius: 50%; font-size: 13px; margin-left: 5px; }
.hero .scroll-cue { left: auto; right: 5%; bottom: 32px; }
.star-field span:nth-child(2), .star-field span:nth-child(7), .star-field span:nth-child(15), .star-field span:nth-child(16) { display: none; }
.card-art { background: #f3e2c3; }
.card-art img { padding: 8px; object-fit: contain; }
.catalog-card .card-art { padding: 0; }
.catalog-card:hover .card-art img { transform: translateY(-5px) scale(1.025); }
.photo-crop img { position: static; width: 100%; height: 100%; max-width: 100%; object-fit: cover; object-position: 50% 50%; }
.ingredient-image { min-width: 0; }
.ingredient-image img { width: 112%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; margin-left: -10%; transform: rotate(-7deg); }
.catalog-note { color: #725642; font-size: 12px; margin-top: 28px; }
@media (min-width: 901px) and (max-width: 1100px) {
  .hero { --title-size: 17.4vw; --title-top: 175px; }
  .hero-copy { max-width: 30%; left: 5%; }
  .hero-copy .button { padding: 14px 17px; gap: 10px; font-size: 14px; }
  .product-stage { top: 33%; left: 32%; width: 68%; height: 57%; }
}
@media (max-width: 900px) {
  .header { padding: 18px 6%; }
  .header nav { display: none; position: absolute; left: 16px; right: 16px; top: 110px; padding: 26px; background: var(--cream); box-shadow: 0 15px 35px #3b211826; border: 1px solid #e7c99c; font-size: 17px; flex-direction: column; gap: 22px; }
  .header nav.open { display: flex; }
  .menu-button { display: block; }
  .header-actions { gap: 10px; }
  .hero { height: 100svh; min-height: 820px; max-height: 1080px; }
  .hero h1 { top: 23%; left: 50%; font-size: 21vw; line-height: 1; }
  .hero-crown { top: 14%; left: 38%; width: 24%; height: 11%; }
  .product-stage { top: 28%; left: 1%; width: 98%; height: 43%; }
  .hero-copy { top: auto; bottom: 75px; left: 7%; right: 7%; max-width: none; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 10px 12px; }
  .hero-copy .eyebrow { font-size: 18px; margin: 0; }
  .hero-copy .small-line { display: none; }
  .hero-copy > p:not(.eyebrow) { font-size: 18px; }
  .hero-copy .button { grid-column: 1 / -1; margin-top: 12px; font-size: 16px; padding: 17px 24px; justify-content: space-between; }
  .hero-switcher { top: 68%; bottom: auto; left: 50%; gap: 0; }
  .hero .scroll-cue { bottom: 13px; right: auto; left: calc(50% - 20px); height: 43px; }
  .hero-caption { display: none; }
  .star-field span:nth-child(3n) { display: none; }
}
@media (max-width: 600px) {
  .hero { min-height: 760px; max-height: 950px; }
  .hero h1 { top: 24%; font-size: 21vw; }
  .hero-crown { top: 14%; left: 35%; width: 30%; height: 11%; }
  .product-stage { top: 28%; left: -6%; width: 112%; height: 39%; }
  .hero-switcher { top: 65%; }
  .hero-copy { bottom: 64px; }
  .hero-copy .eyebrow { font-size: 16px; }
  .hero-copy > p:not(.eyebrow) { font-size: 15px; line-height: 1.4; }
  .hero-copy .button { font-size: 15px; margin-top: 9px; }
  .hero .scroll-cue { height: 38px; }
  .hero .scroll-cue span { height: 21px; }
  .hero .scroll-cue svg { height: 8px; }
  #hero-product-name { font-size: 12px; }
  #hero-dots button { width: 37px; height: 37px; }
  .photo-crop { aspect-ratio: 4 / 5; }
  .photo-crop img { object-position: 50% 45%; }
  .ingredient-image { height: auto; aspect-ratio: 4 / 3; padding: 14px 5% 0; }
  .ingredient-image img { width: 100%; margin: 0; transform: none; }
  .ingredient-copy { padding-top: 20px; }
  .ingredient-copy h2 { font-size: clamp(40px, 11.5vw, 52px); }
  .card-art img { padding: 0; }
  .catalog-card .card-art { height: auto; aspect-ratio: 1; }
  .catalog-card h3 { font-size: 23px; line-height: 1.1; }
  .featured-card .card-art { height: 250px; }
  .photo-caption { line-height: 1.6; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-switcher *, .card-art img { transition: none; }
}
