/* WE ARE ONE MILLION V129 — POST-WALL HOMEPAGE SECTIONS ONLY.
   V114 wall geometry/camera, wall prompt, customer pages, and checkout untouched.
   All selectors below target the six narrative sections (not Section 0). */

/* A consistent chapter rhythm: the opening line is the same distance from the
   top edge and the last visible element is the same distance from the bottom.
   Sections grow naturally rather than stretching to a viewport-sized panel. */
:is(#details,#numbers,#how,#creative,#groupies,#legacy).storySection{
  height:auto!important;
  min-height:0!important;
  padding-top:clamp(64px,7.5svh,88px)!important;
  padding-bottom:clamp(64px,7.5svh,88px)!important;
  overflow:visible;
}
:is(#details,#groupies,#creative).storySection{
  align-items:start;
}
:is(#numbers,#how,#legacy).storySection{
  justify-content:flex-start;
}
:is(#details,#numbers,#how,#creative,#groupies,#legacy) .storyInner{
  max-height:none;
}
#legacy.storySection{flex-direction:column;}
/* The retained back-to-wall link is part of the last chapter's flow rather
   than an absolutely positioned element that steals its bottom padding. */
#legacy .chapterBack{
  position:relative;
  bottom:auto;
  left:auto;
  transform:none;
  align-self:center;
  margin-top:clamp(22px,3svh,34px);
}

/* The approved lime-green stickers now carry white type on both photographs.
   The group sticker is no longer silver. */
#details .familySticker,#groupies .familySticker,
#groupies .familyStickerSilver{
  color:#fff;
  background:var(--fd-lime);
  border-color:#daf5a9;
  text-shadow:0 1px 2px rgba(18,32,8,.52);
}

/* Slightly softer rectangular geometry throughout the storytelling area.
   Portrait examples remain actual OVALS — their silhouette is preserved. */
#details .familyEditorialPhoto,#groupies .familyEditorialPhoto,
#details .familyEditorialPhoto>img,#groupies .familyEditorialPhoto>img,
#details .familyEditorialPhoto::before,#groupies .familyEditorialPhoto::before{
  border-radius:22px;
}
#details .familySticker,#groupies .familySticker,
#details .familyEditorialPhoto figcaption small,
#groupies .familyEditorialPhoto figcaption small{border-radius:11px;}
#creative .familyCreativeDisplay{border-radius:22px;}
#numbers .priceCard{border-radius:24px;}
#numbers .availabilityStrip{border-radius:22px;}

@media(max-width:720px){
  :is(#details,#numbers,#how,#creative,#groupies,#legacy).storySection{
    padding-top:clamp(52px,6.4svh,70px)!important;
    padding-bottom:clamp(52px,6.4svh,70px)!important;
  }
  :is(#details,#groupies,#creative).storySection{
    justify-content:flex-start;
    align-items:stretch;
  }
  /* V128's reduced 3-face panel retains its exact size and portrait masks.
     Only the vertical positioning is balanced: button -> panel equals
     panel -> bottom section boundary (both equal to chapter padding). */
  #creative.storySection{gap:0;}
  #creative .familyCreativeDisplay{
    margin-top:clamp(52px,6.4svh,70px);
    margin-bottom:0;
    align-self:center;
  }
  #details .familyEditorialPhoto,#groupies .familyEditorialPhoto,
  #details .familyEditorialPhoto>img,#groupies .familyEditorialPhoto>img,
  #details .familyEditorialPhoto::before,#groupies .familyEditorialPhoto::before{
    border-radius:17px;
  }
  #details .familySticker,#groupies .familySticker,
  #details .familyEditorialPhoto figcaption small,
  #groupies .familyEditorialPhoto figcaption small{border-radius:9px;}
  #creative .familyCreativeDisplay{border-radius:18px;}
  #numbers .priceCard{border-radius:19px;}
  #numbers .availabilityStrip{border-radius:18px;}
}
