/* Complete, naturally sized Friends and Shop panels inside the scroll scene. */
.world-hero .scene::after{display:none}
.world-hero .welcome-strip{display:none!important;height:0;padding:0;margin:0;border-radius:0}
.friend-shop-space,.friend-shop-journey{background:#fefbf0}
.friend-shop-space>.mood-world,.friend-shop-space>.collection{
 min-width:0;min-height:var(--panel-viewport,calc(100svh - var(--banner-header-height,80px)));
 display:flex;align-items:center;padding-block:clamp(28px,4vh,48px);
 border-block:1px solid #51352914;background:#fefbf0;
}
.friend-shop-space>[role=tabpanel]>.wrap{
 width:100%;max-width:1440px;margin-inline:auto;min-width:0;
 padding-left:clamp(24px,4vw,56px);padding-right:128px;
}
.friend-shop-space.scroll-scene{min-height:0;overflow:clip}
/* Keep measurement independent of the previously measured panel height. */
.friend-shop-space #collection>.wrap,
.friend-shop-space.scroll-scene #collection>.wrap{
 height:auto;min-height:0;display:block;
}
.friend-shop-space .mood-heading{max-width:760px;margin:0 auto 24px}
.friend-shop-space .mood-heading h2{font-size:clamp(2rem,3.5vw,3.25rem);line-height:1.14;transform:none}
.friend-shop-space .mood-heading p{max-width:440px}
.friend-shop-space .cast-art{height:clamp(200px,25vh,290px)}
.friend-shop-space .cast-layout .mood-choices{gap:clamp(16px,2vw,28px);padding-bottom:24px}
.friend-shop-space .cast-layout .mood-choices .cast-art img{max-width:290px;width:100%;height:100%}
.friend-shop-space .cast-layout .mood-choices button{transform:none}
.friend-shop-space .cast-details{min-height:0;gap:28px;padding:26px 30px}
.friend-shop-space .cast-layout .friend-note h3{font-size:clamp(1.6rem,2.4vw,2rem);line-height:1.2}
.friend-shop-space .cast-layout .friend-note>p{min-height:0;line-height:1.65}
.friend-shop-space .cast-companion{padding-left:28px}
.friend-shop-space .cast-quote{font-size:1.125rem;line-height:1.4;margin-bottom:12px}
.friend-shop-space .cast-layout .friend-picks button>span{overflow-wrap:anywhere}
.friend-shop-space .cast-layout .friend-picks small{white-space:normal}
.friend-shop-space .mood-end{flex-wrap:wrap;padding-top:22px;gap:12px 24px;line-height:1.5}
.scene-switch{right:max(24px,calc((100% - 1440px)/2 + 24px))}
.shop-scroll-anchor{position:absolute;left:0;width:100%;height:1px;pointer-events:none}
/* Tall content is read continuously; snapping must not skip its lower portion. */
html:has(body:not(.catalog-view):not(.events-view)){scroll-snap-type:none}

.friend-shop-space>.collection{
 background:#faf6e8;
 background-image:linear-gradient(#51352904 1px,transparent 1px),linear-gradient(90deg,#51352904 1px,transparent 1px);
 background-size:34px 34px;
}
.friend-shop-space #collection .section-head{
 display:block;text-align:center;position:relative;width:100%;
 margin:0 auto 24px;padding-inline:70px;
}
.friend-shop-space #collection .section-head>div{margin-inline:auto}
.friend-shop-space #collection .section-head h2{font-size:clamp(2rem,3.5vw,3.25rem);line-height:1.14;margin:14px auto 12px;transform:none}
.friend-shop-space #collection .section-head>p{width:auto;max-width:620px;margin:0 auto;line-height:1.5}
#collection .shop-heading-flower{position:absolute;right:0;bottom:12px;width:54px;height:54px;margin:0;text-align:center;color:var(--orange);font-size:44px;line-height:54px;transform:rotate(12deg);opacity:1;pointer-events:none}
.friend-shop-space #collection .preorder-note{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;padding:14px 0;margin:0 0 24px;background:none;border-block:1px solid #51352920;border-radius:0;box-shadow:none}
.friend-shop-space #collection .preorder-note>span{min-width:180px;max-width:none;flex:1;font-size:.875rem}
.friend-shop-space #collection .preorder-note>.pill{flex-shrink:0;margin-left:auto;min-height:44px}
.friend-shop-space #collection .merch-wall,
.friend-shop-space.scroll-scene #collection .merch-wall{
 display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto;
 gap:24px;flex:none;min-height:0;height:auto;overflow:visible;margin:0;padding:0;align-items:start;
}
#collection .merch-piece:nth-child(n){transform:none!important;margin:0;padding:0;min-width:0}
#collection .merch-piece:nth-child(n) button{display:block;width:100%;min-width:0;padding:8px 8px 16px;border:1px solid #51352930;border-radius:14px;background:#fffdf6;box-shadow:0 4px 0 #51352910}
#collection .merch-piece:nth-child(n) .merch-photo{width:100%;max-width:none;height:auto;min-height:0;aspect-ratio:4/3;outline:none;border-radius:9px;transform:none;box-shadow:none}
#collection .merch-piece:nth-child(n) .merch-photo.sku-family-art{min-height:0}
#collection .merch-piece:nth-child(n) .merch-caption{padding:14px 4px 0;min-width:0}
#collection .merch-piece:nth-child(n) .merch-caption h3{font-size:1.125rem;line-height:1.35;margin:0 0 8px;overflow-wrap:break-word}
#collection .merch-caption p{display:flex;flex-wrap:wrap;gap:4px 10px;font-size:.875rem;line-height:1.5}
#collection .category-count{color:#735548}
#collection .category-price{font-weight:750;color:#513529}
.friend-shop-space #collection .all-merch-cta,
.friend-shop-space.scroll-scene #collection .all-merch-cta{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;margin:28px 0 0}
.friend-shop-space #collection .collection-footnote,
.friend-shop-space.scroll-scene #collection .collection-footnote{margin:16px auto 0;text-align:center;line-height:1.5}
.friend-shop-space #collection .merch-editorial{justify-content:center;text-align:center;gap:20px}

@media(max-width:1199px){
 .friend-shop-space #collection .merch-wall,.friend-shop-space.scroll-scene #collection .merch-wall{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
 .friend-shop-space .cast-details{grid-template-columns:1fr;gap:20px}
 .friend-shop-space .cast-companion{border-left:0;border-top:1px solid #51352920;padding:20px 0 0}
 .friend-shop-space .cast-layout .friend-picks button{flex-direction:row;align-items:center}
}
@media(max-width:760px){
 .friend-shop-space>.mood-world,.friend-shop-space>.collection{padding-top:94px;padding-bottom:28px;align-items:flex-start}
 .friend-shop-space>[role=tabpanel]>.wrap{padding-inline:20px;max-width:620px}
 .scene-switch{top:12px;left:50%;right:auto;transform:translateX(-50%);width:232px;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:52px;border-radius:999px;--switch-inset:4px}
 .scene-switch::before{top:4px;left:4px;right:auto;width:calc((100% - 8px)/2);height:52px;border-radius:999px;transform:translateX(0)}
 .scene-switch[data-selected=shop]::before{transform:translateX(100%)}
 .scene-switch [role=tab]{flex-direction:row;gap:8px;border-radius:999px;font-size:.8125rem;min-height:44px}
 .scene-switch svg{width:22px;height:22px}
 .friend-shop-space.scroll-scene::before{content:'';position:absolute;z-index:4;top:0;left:0;width:100%;height:80px;background:#fefbf0;border-bottom:1px solid #51352910;pointer-events:none}
 .friend-shop-space.scroll-scene:has(.scene-switch[data-selected=shop])::before{background:#faf6e8}
 .friend-shop-space .mood-heading{margin-bottom:20px}
 .friend-shop-space .mood-heading h2{font-size:clamp(1.875rem,6.5vw,2.5rem)}
 .friend-shop-space .mood-heading p{max-width:340px}
 .friend-shop-space .cast-layout .mood-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px;padding-bottom:24px}
 .friend-shop-space .cast-art{height:clamp(140px,38vw,205px)}
 .friend-shop-space .cast-layout .mood-choices .cast-art img{max-width:205px}
 .friend-shop-space .cast-layout .mood-choices button>span{font-size:1.0625rem}
 .friend-shop-space .cast-details{padding:22px;gap:18px}
 .friend-shop-space .cast-companion{padding-top:18px}
 .friend-shop-space .cast-layout .friend-picks>div{gap:16px}
 .friend-shop-space .cast-layout .friend-picks button{flex-direction:column;align-items:flex-start}
 .friend-shop-space .mood-end{flex-direction:column;align-items:flex-start;text-align:left}
 .friend-shop-space .mood-end a{text-align:left}
 .friend-shop-space #collection .section-head{padding-inline:0;margin-bottom:22px}
 .friend-shop-space #collection .section-head h2{font-size:clamp(1.875rem,6.5vw,2.5rem)}
 #collection .shop-heading-flower{display:none}
 .friend-shop-space #collection .preorder-note{gap:10px;padding-block:12px;margin-bottom:22px}
 .friend-shop-space #collection .preorder-note>span{flex-basis:100%;min-width:0;margin:0}
 .friend-shop-space #collection .preorder-note>.pill{margin-left:0}
 .friend-shop-space #collection .merch-wall,.friend-shop-space.scroll-scene #collection .merch-wall{gap:22px 14px}
 #collection .merch-piece:nth-child(n) button{padding:6px 6px 12px;border-radius:12px}
 #collection .merch-piece:nth-child(n) .merch-caption{padding:12px 3px 0}
 #collection .merch-piece:nth-child(n) .merch-caption h3{font-size:1rem}
 #collection .merch-caption p{flex-direction:column;gap:4px}
}
@media(max-width:359px){
 .friend-shop-space>[role=tabpanel]>.wrap{padding-inline:16px}
 .friend-shop-space #collection .merch-wall,.friend-shop-space.scroll-scene #collection .merch-wall{grid-template-columns:minmax(0,1fr)}
 .friend-shop-space .cast-details{padding:18px}
}
@media(prefers-reduced-motion:reduce){.scene-switch::before,.scene-switch [role=tab]{transition:none}}

/* The garden sets its own height; portrait screens never add empty sky. */
#event-teaser.event-loop{height:auto;min-height:0;background:#faf9e3;border-top:1px solid #51352918}
#event-teaser .event-loop-slides{height:auto}
#event-teaser .meadow-slide{height:auto;min-height:0;transform:none;transition:none}
#event-teaser .meadow-slide[aria-hidden=false]{animation:event-copy-enter .32s ease-out both}
#event-teaser .meadow-invitation{min-height:168px;max-width:1440px;padding-block:28px 24px}
#event-teaser>.event-art-frame{display:block;flex:none;width:100%;height:auto;min-height:0;background:#faf9e3;overflow:hidden}
#event-teaser>.event-art-frame>.meadow-panorama{display:block;position:relative;inset:auto;width:100%;height:auto;max-width:none;aspect-ratio:2047/590;margin:0}
@keyframes event-copy-enter{from{opacity:0;translate:0 6px}to{opacity:1;translate:0 0}}
@media(max-width:640px){
 #event-teaser .meadow-invitation{min-height:215px;padding:24px 6% 20px}
 #event-teaser>.event-art-frame>.meadow-panorama{width:130%;margin-left:-15%}
}
@media(prefers-reduced-motion:reduce){#event-teaser .meadow-slide[aria-hidden=false]{animation:none}}

/* Responsive panel composition; the scroll scene supplies independent travel. */
.friend-shop-space.responsive-panels{display:grid;grid-template-columns:minmax(0,1fr);position:relative;isolation:isolate}
.friend-shop-space.responsive-panels>[role=tabpanel]{grid-area:1/1;align-self:start;position:relative;overflow:visible}
.friend-shop-space.responsive-panels>[role=tabpanel][hidden]{display:flex!important;visibility:hidden;pointer-events:none}
.friend-shop-space.responsive-panels.scroll-scene{position:sticky;overflow:clip}
.friend-shop-space.responsive-panels.scroll-scene>[role=tabpanel][hidden]{visibility:visible}
.friend-shop-space.responsive-panels.scroll-scene .scene-switch{top:50%;transform:translateY(-50%)}

.friend-shop-space.responsive-panels>[role=tabpanel]>.wrap{height:auto;max-height:none}
.friend-shop-space.responsive-panels .mood-heading{margin-bottom:18px}
.friend-shop-space.responsive-panels .mood-heading h2,
.friend-shop-space.responsive-panels #collection .section-head h2{font-size:clamp(2rem,4.8vh,3.25rem)}
.friend-shop-space.responsive-panels .cast-art{height:clamp(150px,21vh,250px)}
.friend-shop-space.responsive-panels .cast-layout .mood-choices{padding-bottom:20px}
.friend-shop-space.responsive-panels .cast-details{padding:22px 28px}
.friend-shop-space.responsive-panels .mood-end{padding-top:18px}
@media(min-width:1200px) and (max-height:850px){
 .friend-shop-space.responsive-panels>.mood-world,.friend-shop-space.responsive-panels>.collection{padding-block:24px}
 .friend-shop-space.responsive-panels .mood-heading p{margin-top:10px;font-size:.9375rem}
 .friend-shop-space.responsive-panels .cast-art{height:clamp(140px,20vh,170px)}
 .friend-shop-space.responsive-panels .cast-details{padding:18px 24px;gap:24px}
 .friend-shop-space.responsive-panels .cast-layout .friend-note h3{font-size:1.7rem}
 .friend-shop-space.responsive-panels .cast-layout .friend-note>p{font-size:.9375rem}
 .friend-shop-space.responsive-panels .cast-layout .friend-picks img{width:48px;height:48px}
 .friend-shop-space.responsive-panels .mood-end{padding-top:16px}
}
@media(max-width:760px){
 .friend-shop-space.responsive-panels.scroll-scene .scene-switch{top:14px;transform:translateX(-50%)}
 .friend-shop-space.responsive-panels>.mood-world,.friend-shop-space.responsive-panels>.collection{min-height:0;padding-top:94px;padding-bottom:32px}
 .friend-shop-space.responsive-panels .mood-heading h2,
 .friend-shop-space.responsive-panels #collection .section-head h2{font-size:clamp(1.875rem,6.5vw,2.5rem)}
 .friend-shop-space.responsive-panels .cast-art{height:clamp(140px,38vw,205px)}
 .friend-shop-space.responsive-panels .cast-details{padding:22px}
}
/* The event's complete artwork fits short wide displays as well as tall ones. */
#event-teaser>.event-art-frame>.meadow-panorama{
 width:100%;height:auto;max-height:calc(100svh - var(--banner-header-height,80px) - 190px);
 min-height:0;aspect-ratio:auto;object-fit:contain;object-position:center bottom;
}
@media(max-width:900px){
 #event-teaser>.event-art-frame>.meadow-panorama{max-height:none;width:100%;margin:0;object-fit:contain}
 #event-teaser .event-art-frame{overflow:visible}
 #event-teaser .meadow-caption{display:none}
}
/* Keep the footer in normal flow; its links may take as many rows as needed. */
.happi-footer nav.footer-navigation{height:auto;min-height:0}
.happi-footer .footer-top{min-width:0}
.happi-footer .footer-goodbye{min-width:0}
@media(max-width:640px){
 .happi-footer .footer-top{grid-template-columns:72px minmax(0,1fr);gap:20px;padding-block:28px}
 .happi-footer .footer-brand,.happi-footer .footer-brand img{width:72px;height:auto}
 .happi-footer nav.footer-navigation{grid-column:1/-1;flex-direction:row;flex-wrap:wrap;gap:8px 20px}
 .happi-footer .footer-bottom{flex-wrap:wrap;gap:12px}
}
