/* Client feedback, 18 November. Solid brandbook p.33 colours; original silhouettes. */
body,.hero,#roles.concept-statistics,.tema-story{background:var(--tyoma-peach)}
.hero .counter-wrap:before{background:var(--tyoma-white)}
.hero .reference-doodles i:nth-child(5){background:var(--tyoma-sky)}
#roles.concept-statistics:before{background:var(--tyoma-sky)}
#roles .ranking-row:nth-child(2){background:var(--tyoma-sky)}
#roles .ranking-row:nth-child(3){background:var(--tyoma-peach)}
#roles .ranking-row:nth-child(4){background:var(--tyoma-green)}
#roles .ranking-row:nth-child(5) .ranking-value:before{background:var(--tyoma-peach)}
#roles .stats-family img{object-fit:cover;object-position:50% 40%;transform:none}
.hero .hero-invitation,.participation p,.story-explanation{text-wrap:pretty}
#roles .section-head h2,.participation h2,.participation h3{text-wrap:balance}

.tema-story .story-explanation{font:400 clamp(21px,1.7vw,27px)/1.35 Rounds,sans-serif;margin:24px 0 0;max-width:460px}
.tema-story .story-photo:after{display:none}
.tema-story .story-photo{background:var(--tyoma-peach)}
.product-notes{width:83%;gap:10px;top:5%}
.product-notes p{font-size:clamp(15px,1.3vw,20px);padding:11px 12px;gap:8px}
.product-notes .natural-doodle{background:var(--tyoma-green);mask-image:url('assets/bb-flower.svg')}
.product-notes .texture-doodle{background:var(--tyoma-salmon)}
.product-notes .comfort-doodle{background:var(--tyoma-cyan)}

.participation .participation-heading{display:block;margin:0 0 40px}
.participation .participation-heading h2{font-size:clamp(36px,4vw,58px);margin:0}
.participation-steps li:first-child{background:var(--tyoma-white)}
.participation-steps li:nth-child(2){background:var(--tyoma-sky)}
.participation-steps li:nth-child(3){background:var(--tyoma-salmon)}
.participation-steps li:first-child .step-number:before,.participation-steps li:nth-child(3) .step-number:before{background:var(--tyoma-sky)}
.step-chat{display:flex;flex-direction:column;gap:10px}
.step-chat>span:nth-child(n){display:block;font-size:17px;line-height:1.15;padding:10px 12px;margin:0;max-width:150px;background:var(--tyoma-peach);transform:rotate(-5deg)}
.step-chat>span:nth-child(2){background:var(--tyoma-sky);align-self:flex-end;transform:rotate(5deg)}
.step-link>span{background:var(--tyoma-peach)}
.step-post img{object-fit:cover;object-position:center 36%}
.step-post span{font-size:14px;white-space:nowrap}
.step-bottom{margin-top:auto;width:100%}
.participation-steps .promo-cta{width:100%;display:grid;grid-template-columns:1fr auto;gap:2px 8px;text-align:left;padding:14px 18px;min-height:72px}
.promo-cta>span:first-child{font-size:20px;grid-column:1;grid-row:1;white-space:nowrap}
.promo-cta img{grid-column:1;grid-row:2;width:90px;height:25px;object-fit:cover;object-position:center;justify-self:start}
.promo-cta>span:last-child{grid-column:2;grid-row:1/3;font-size:30px}
.participation .participation-prize{grid-template-columns:1fr 1fr;gap:36px;margin:60px auto 0;max-width:1080px;padding:0;min-height:310px;align-items:center}
.participation-prize .prize-copy h3{font:clamp(31px,3vw,45px)/1.12 Barnacle,sans-serif;margin:0}
.participation-prize .prize-copy p{font:400 clamp(21px,1.8vw,26px)/1.3 Rounds,sans-serif;margin:20px 0 0}
.participation-prize .prize-copy .prize-date{font-size:20px}
.participation-prize .prize-stage{height:300px}
@media(min-width:1101px){
 .tema-story .story-inner{width:46%;padding-top:44px}
 .tema-story h2{font-size:clamp(32px,3.15vw,49px);line-height:1.15}
 .tema-story:after{background:linear-gradient(90deg,var(--tyoma-peach) 35%,#FFE1CA00 100%)}
}
@media(min-width:761px) and (max-width:1100px){
 .tema-story{grid-template-columns:54% 46%}
 .tema-story .story-inner{padding-right:10px}
 .tema-story h2{font-size:32px}
 .tema-story .story-explanation{font-size:22px}
 .product-notes{width:106%;left:108%;top:0}
 .product-notes p{font-size:15px;padding:10px 8px;gap:5px}
 .participation-steps .promo-cta{padding:12px 10px;gap:2px 3px}
 .promo-cta>span:first-child{font-size:17px}
 .promo-cta>span:last-child{font-size:23px}
 .step-chat>span:nth-child(n){font-size:14px;padding:9px 7px}
 .participation .participation-prize{gap:20px;margin-top:50px;min-height:250px}
 .participation-prize .prize-stage{height:240px}
}
@media(max-width:760px){
 .hero .hero-invitation{font-size:20px}
 .hero .search-form .primary{font-size:20px}
 #roles .section-head h2{font-size:34px;max-width:100%}
 .tema-story .story-inner{padding-top:30px}
 .tema-story h2{font-size:clamp(27px,7.5vw,37px);line-height:1.15;margin-bottom:20px}
 .tema-story .story-explanation{font-size:22px;line-height:1.3;margin:0}
 .desktop-break{display:none}
 .tema-story .story-featured-product{width:39%;margin:42px 0 30px 4%}
 .product-notes{width:125%;left:110%;top:0;gap:8px}
 .product-notes h3{font-size:27px;padding-block:12px;margin-bottom:6px}
 .product-notes p{font-size:17px;padding:10px 9px;gap:6px}
 .product-notes i{width:19px;height:22px}
 .participation .participation-heading{margin-bottom:28px}
 .participation .participation-heading h2{font-size:36px}
 .participation-steps .promo-cta{max-width:100%;padding-inline:18px}
 .participation .participation-prize{display:flex;flex-direction:column;align-items:stretch;gap:24px;margin-top:42px;min-height:0;padding-bottom:18px}
 .participation-prize .prize-copy h3{font-size:33px}
 .participation-prize .prize-copy p{font-size:23px;margin-top:16px}
 .participation-prize .prize-stage{height:230px;max-width:370px;align-self:center}
}
@media(max-width:360px){
 .hero .hero-invitation{font-size:18px}
 #roles .section-head h2{font-size:30px}
 .tema-story .story-explanation{font-size:20px}
 .product-notes p{font-size:14px;padding:9px 6px;gap:4px}
 .product-notes i{width:16px;height:18px}
 .product-notes h3{font-size:23px;padding-block:9px}
 .participation .participation-heading h2{font-size:32px}
 .participation-prize .prize-copy h3{font-size:29px}
 .participation-prize .prize-copy p{font-size:21px}
 .participation-prize .prize-stage{height:190px}
}
/* Crop decorative overflow at the viewport edge, never inside a content section. */
html{overflow-x:hidden}
.participation,.footer{background:var(--tyoma-peach)}
.participation-prize .prize-copy h3{max-width:100%;text-wrap:balance}
@media(max-width:760px){
 .participation-prize .prize-copy h3{font-size:30px}
 .participation-prize .prize-stage{height:190px}
}
main{overflow-x:clip}
.step-post img{object-position:center 42%}
.step-link i{background:var(--tyoma-green)}

/* Palette follow-up: three distinct brand surfaces and quieter navigation. */
.participation-steps li:nth-child(3) .step-number:before{background:var(--tyoma-white)}
.participation-steps li:nth-child(3) .step-link>span{background:var(--tyoma-white)}
@media(min-width:761px){.header nav,.header nav a{font-size:clamp(16px,1.4vw,27px)}}
@media(max-width:760px){.header nav,.header nav a{font-size:15px}}
#modal:not(.rules-modal){background:var(--tyoma-peach)}
#modal::backdrop{background:rgb(32 68 161 / 44%)}
