/* Restore the reference's counter/caption rhythm while retaining the brand-book bear. */
.hero{grid-template-columns:38% 62%}
.hero .hero-copy{align-self:center;margin:0;transform:translateY(10px)}
.hero .occasion-badge{margin-bottom:20px}
.hero .hero-occasion{font-size:clamp(21px,2.1vw,30px)}
.hero .counter-wrap{width:100%;font-size:clamp(150px,16vw,230px);line-height:1.04;padding:8px 8px;letter-spacing:-.055em}
.hero .counter-wrap:before{inset:0 -2%;background:var(--tyoma-pink-soft);transform:rotate(-3deg)}
.hero .counter-caption{display:block;width:100%;height:auto;margin:12px 0 0;font-size:clamp(48px,5vw,72px);line-height:1.03;white-space:normal}
.hero .counter-caption:before{display:none}
.hero .counter-caption .caption-end{display:block}
.hero .bear-ornaments,.hero .brand-bubbles{display:none}
.hero:before{top:0;right:0;width:30%;height:49%;border-radius:0 0 0 85%;background:white}
.hero .reference-doodles{position:absolute;inset:0;z-index:-1;pointer-events:none}
.reference-doodles i{position:absolute;display:block;background:white;mask:url('assets/bb-flower.svg') center/contain no-repeat;aspect-ratio:1}
.reference-doodles i:nth-child(1){left:0;top:8%;width:7%;transform:rotate(-15deg)}
.reference-doodles i:nth-child(2){left:30%;top:9%;width:7%;transform:rotate(18deg)}
.reference-doodles i:nth-child(3){right:2%;top:18%;width:9%;mask-image:url('assets/bb-heart.svg');transform:rotate(15deg);background:var(--tyoma-pink-soft)}
.reference-doodles i:nth-child(4){left:43%;bottom:15%;width:7%;mask-image:url('assets/bb-cloud.svg');transform:rotate(65deg)}
.reference-doodles i:nth-child(5){left:7%;top:29%;width:2.3%;mask-image:url('assets/bb-heart.svg');transform:rotate(-15deg)}
.reference-doodles i:nth-child(6){left:35%;top:32%;width:3%;mask-image:url('assets/bb-heart.svg');transform:rotate(15deg)}
.hero .carousel-arrow{background:var(--tyoma-salmon);color:white}
@media(min-width:761px) and (max-height:760px){.hero .counter-wrap{font-size:clamp(130px,24vh,182px)}.hero .counter-caption{font-size:clamp(43px,8vh,60px)}.hero .hero-copy{transform:none}.hero .occasion-badge{margin-bottom:14px}}
@media(min-width:761px) and (max-width:1100px){.hero .counter-caption{font-size:48px}.hero .counter-wrap{font-size:150px}.hero .hero-occasion{font-size:20px}}
@media(max-width:760px){
.hero{grid-template-columns:1fr;gap:18px}
.hero .hero-copy{transform:none}
.hero h1{display:block}
.hero .counter-wrap{width:100%;font-size:142px;padding:0 30px;line-height:1.03}
.hero .counter-wrap:before{inset:0 12%}
.hero .counter-caption{width:100%;font-size:43px;line-height:1.03;margin-top:8px}
.hero .occasion-badge{margin-bottom:18px}
.hero:before{top:39%;width:35%;height:25%}
.reference-doodles i:nth-child(1){left:0;top:8%;width:12%}
.reference-doodles i:nth-child(2){left:auto;right:1%;top:10%;width:12%}
.reference-doodles i:nth-child(3){top:47%;right:0;width:10%}
.reference-doodles i:nth-child(4){left:4%;bottom:29%;width:12%}
.reference-doodles i:nth-child(5){left:9%;top:29%;width:5%}
.reference-doodles i:nth-child(6){left:auto;right:10%;top:30%;width:4%}
}
@media(max-width:360px){.hero .counter-wrap{font-size:122px}.hero .counter-caption{font-size:38px}.hero .hero-occasion{font-size:21px}}
@media(min-width:761px){
.reference-doodles i:nth-child(2){top:2%;left:29%;width:6.5%}
.reference-doodles i:nth-child(5){top:19%;left:7%;width:2.1%}
.reference-doodles i:nth-child(6){top:21%;left:35%;width:2.1%}
.reference-doodles i:nth-child(4){bottom:17%;width:6%}
}
.hero h1,.hero .counter-caption{text-align:center}
.reference-doodles{overflow:hidden}
@media(max-width:760px){.reference-doodles i:nth-child(1){left:2%}.reference-doodles i:nth-child(2),.reference-doodles i:nth-child(3){right:2%}}
@media(max-width:1100px){.reference-doodles i:nth-child(4){display:none}}
@media(min-width:761px) and (max-height:760px){.reference-doodles i:nth-child(2){left:36%;top:1%;width:5%}.reference-doodles i:nth-child(4){display:none}}
/* Page 56 ornaments follow the bear frame rather than float behind the layout. */
.hero:before,.hero .reference-doodles{display:none}
.hero .bear-ornaments{display:block}
.hero .bear-ornaments i{display:block;background:white;mask:url('assets/bb-heart.svg') center/contain no-repeat;left:8%;top:12%;width:10%;height:14%;transform:rotate(-18deg)}
.hero .bear-ornaments i:nth-child(2){left:8%;top:42%;width:8%;height:12%;transform:rotate(12deg)}
.hero .bear-ornaments i:nth-child(3){left:11%;top:68%;width:7%;height:10%;transform:rotate(-12deg)}
.hero .bear-ornaments i:nth-child(4){left:20%;top:-4%;width:7%;height:10%;transform:rotate(18deg)}
.hero .bear-ornaments i:nth-child(5){left:84%;top:22%;width:6%;height:8%;mask-image:url('assets/bb-flower-round.svg');transform:rotate(12deg)}
.hero .bear-ornaments:before{left:0;top:91%;width:12%;background:white;mask-image:url('assets/bb-burst.svg');transform:rotate(12deg)}
.hero .bear-ornaments:after{left:88%;top:88%;width:13%;background:var(--tyoma-pink-soft);mask-image:url('assets/bb-flower-round.svg');transform:rotate(-12deg)}
@media(max-width:760px){.hero .bear-ornaments:before{left:0;top:94%;width:10%}.hero .bear-ornaments:after{left:94%;top:89%;width:13%}}
@media(max-width:1100px){.hero .bear-ornaments i:nth-child(4){left:17%;top:1%}}
