/* Brandbook 28.03.25, pp. 33–38, 54–58. Exact SVG paths extracted from p.38. */
@font-face{font-family:Rounds;src:url('assets/rounds.otf');font-display:swap}
@font-face{font-family:Rounds;src:url('assets/rounds-bold.otf');font-weight:700;font-display:swap}
@font-face{font-family:Barnacle;src:url('assets/barnacle.otf');font-display:swap}
@font-face{font-family:Circe;src:url('assets/circe.otf');font-display:swap}
:root{--blue:var(--tyoma-blue);--peach:var(--tyoma-peach);--pink:var(--tyoma-pink);--salmon:var(--tyoma-salmon);--sky:var(--tyoma-sky-wash);--paper:var(--tyoma-peach-wash)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--blue);font:22px/1.35 Rounds,sans-serif}h1,h2,h3,p{margin:0}h2{font:clamp(32px,3.3vw,52px)/1.08 Barnacle,sans-serif;text-wrap:balance}h3,p{text-wrap:pretty}button,input{font:inherit;color:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:0}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}button:focus-visible,a:focus-visible{outline:3px solid var(--tyoma-cyan);outline-offset:5px}.wrap{width:min(100%,1540px);padding-inline:clamp(22px,4vw,64px);margin:auto}.skip{position:absolute;top:-100px}.skip:focus{top:0;z-index:100;background:white}
.header{display:flex;align-items:center;justify-content:space-between;height:108px;gap:20px}.logo{width:112px;height:auto}.header nav{display:flex;gap:36px;font-size:23px}.header a:hover{text-decoration:underline;text-underline-offset:6px}
.hero{position:relative;isolation:isolate;display:grid;grid-template-columns:38% 62%;align-items:center;padding-top:8px;padding-bottom:28px;gap:12px 0}.hero-stage{display:contents}.hero-copy{position:relative;z-index:2;grid-column:1;grid-row:1;display:flex;flex-direction:column;align-items:center}.occasion-badge{order:-1;margin-bottom:22px}.hero-occasion{font:700 clamp(21px,2vw,30px)/1.2 Rounds;white-space:nowrap;position:relative}.hero-occasion:after{content:'';position:absolute;left:5%;right:0;bottom:-9px;height:8px;border-bottom:3px solid var(--pink);border-radius:50%}.occasion-badge i,.occasion-badge>span{display:none}.hero h1{font-family:Barnacle;font-weight:400;text-align:center;width:100%}.counter-wrap{position:relative;isolation:isolate;display:block;font-size:clamp(116px,19vh,210px);line-height:1.15;letter-spacing:-.045em;padding:4px 30px}.counter-wrap:before{content:'';position:absolute;inset:0;background:#fff;mask:url('assets/bb-cloud.svg') center/contain no-repeat;z-index:-1}.counter-caption{display:block;font-size:clamp(42px,5.6vh,65px);line-height:1.05;margin-top:12px}.caption-end{display:block}.counter-wrap[data-digits="5"],.counter-wrap[data-digits="6"]{font-size:100px}
.role-carousel{grid-column:2;grid-row:1;position:relative;min-width:0;height:clamp(335px,calc(100svh - 300px),620px);isolation:isolate;--portrait: min(80%,calc((100svh - 425px)*1.26))}.role-carousel:before{content:'';position:absolute;width:var(--portrait);aspect-ratio:1.2606;left:1%;top:54px;background:white;mask:url('assets/bb-bear.svg') center/contain no-repeat}.role-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .25s}.role-slide.is-active{opacity:1;visibility:visible}.role-slide img{position:absolute;width:var(--portrait);aspect-ratio:1.2606;height:auto;left:1%;top:54px;object-fit:cover;object-position:center 37%;mask:url('assets/bb-bear.svg') center/contain no-repeat;transform:scale(.965);cursor:pointer}.role-slide strong{position:absolute;top:0;left:40%;transform:translateX(-50%);white-space:nowrap;font:700 27px/1.1 Rounds;padding:10px 22px;background:white;border-radius:30px}.role-slide[data-role="учитель"] strong:before{content:'✏️ '}.role-slide[data-role="рассказчик"] strong:before{content:'📖 '}.role-slide[data-role="сыщик"] strong:before{content:'🔎 '}.role-slide>span{display:none}.carousel-preview{position:absolute;right:0;top:43%;width:26%;aspect-ratio:1.2606;background:white;padding:4px;mask:url('assets/bb-bear.svg') center/contain no-repeat}.carousel-preview.previous{display:none}.carousel-preview img{width:100%;height:100%;object-fit:cover;object-position:center 32%;mask:url('assets/bb-bear.svg') center/contain no-repeat}.carousel-preview:hover{transform:translateY(-5px)}.carousel-controls{position:absolute;bottom:2px;left:40%;transform:translateX(-50%);display:flex;gap:18px;align-items:center}.carousel-arrow{height:42px;width:52px;border-radius:22px;background:white;font-size:29px;line-height:1}.carousel-arrow:hover{background:var(--tyoma-peach)}.carousel-dots{display:flex;gap:9px}.carousel-dots button{height:10px;width:10px;border-radius:50%;padding:0;background:#2044A12b}.carousel-dots button.is-active{background:var(--blue)}
.hero-form-block{grid-column:1/-1;z-index:3;margin-top:2px}.hero-invitation{font-size:21px;margin:0 0 9px 22px}.search-form{display:flex;align-items:center;gap:12px;background:white;border:2px solid var(--blue);padding:6px 6px 6px 22px;border-radius:24px}.search-form label{white-space:nowrap;font-size:26px}.search-form input{width:100%;min-width:0;border:0;outline:none;background:none;font-size:25px;padding:8px 0}.search-form:focus-within{box-shadow:0 0 0 4px #65D2FF50}.primary{background:var(--blue);color:white;border-radius:18px;padding:15px 22px;display:inline-flex;gap:14px;justify-content:center;align-items:center;min-height:54px;font:700 21px/1.15 Rounds;white-space:nowrap}.primary:hover{background:var(--tyoma-blue-light)}.arrow{font-size:26px}.demo-controls{display:flex;justify-content:space-between;gap:10px;font:12px/1.3 Circe;margin-top:10px;color:var(--tyoma-blue)}.demo-controls button{font-size:12px;background:none;text-decoration:underline}.error{font-size:18px;color:var(--tyoma-brick)}.error:empty{display:none}
.hero-confetti,.story-decor,.dashboard-confetti,.finale-confetti,.section-flower,.screen-label{display:none}.hero,.tema-story,.roles-section,.participation{position:relative;isolation:isolate}.brand-bubbles{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:-1}.brand-bubbles i{position:absolute;width:var(--size);height:var(--size);left:var(--x);top:var(--y);background:var(--color);transform:rotate(var(--rot));mask:var(--shape) center/contain no-repeat}
.tema-story{background:#fff0e3;overflow:hidden;padding-block:62px}.story-inner{position:relative;z-index:2;min-height:650px}.tema-story-copy{width:48%}.tema-story h2{font-size:clamp(32px,3.25vw,49px);margin-bottom:24px}.tema-story h2 br+*{color:var(--tyoma-cyan)}.story-shopping p{font-size:23px;line-height:1.35;max-width:560px}.story-actions{display:flex;gap:12px;margin-top:24px;align-items:center;flex-wrap:wrap}.shop-button{display:inline-flex;align-items:center;gap:10px;border:1px solid #2044A13d;color:var(--blue);background:white;border-radius:18px;padding:15px 18px;font-size:19px;min-height:54px}.shop-button img{width:90px;filter:brightness(0) saturate(100%) invert(21%) sepia(65%) saturate(1800%) hue-rotate(210deg)}.story-photo{position:absolute;left:48%;right:0;top:7%;bottom:3%;z-index:0;background:url('assets/campaign/feeding-same-family.png') center/cover no-repeat;mask:linear-gradient(90deg,transparent,#000 12%);border-radius:0}.story-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#fff0e3,transparent 18%,transparent 82%,#fff0e3)}.story-product{position:relative;width:260px;height:290px;margin:25px 0 0 60px;isolation:isolate}.story-product span{display:none}.story-product:before{content:'';position:absolute;left:10%;right:2%;bottom:0;height:18px;background:#6c4933;opacity:.22;filter:blur(9px);border-radius:50%;z-index:-1}.story-product img{width:100%;height:100%;object-fit:contain;transform:none;filter:drop-shadow(8px 12px 8px #68432b22)}
.roles-section{background:var(--sky);padding-block:58px 64px}.roles-section .section-head{margin-bottom:32px;position:relative}.section-head>div>p{display:none}.roles-section .wrap{position:relative;z-index:1}.role-ranking{list-style:none;padding:28px 34px;margin:0;background:#ffffffed;border-radius:36px;display:grid;grid-template-columns:1fr 1fr;gap:12px 48px;box-shadow:0 12px 30px #2044A108}.ranking-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:12px 14px;padding:22px 0;min-height:123px;border-bottom:1px solid #2044A110}.ranking-row:nth-last-child(-n+2){border-bottom:0}.ranking-position{font:700 22px Rounds;color:var(--tyoma-blue-light)}.ranking-row h3{font:700 clamp(21px,1.8vw,28px)/1.12 Rounds}.ranking-value{font-size:29px;line-height:1;white-space:nowrap}.ranking-unit{display:block;font-size:14px;color:var(--tyoma-blue);margin-top:4px}.ranking-track{grid-column:2/4;background:#edf4f9;border-radius:12px;height:14px;overflow:hidden}.ranking-fill{height:100%;border-radius:12px;background:var(--tyoma-cyan)}.wall-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:24px}.wall-bottom p{font-size:21px}.text-button{background:white;border-radius:22px;padding:12px 22px;font-size:21px}
.participation{padding-block:60px 36px}.participation-heading{display:flex;gap:40px;justify-content:space-between;align-items:end;margin-bottom:38px}.participation-heading h2{font-size:clamp(32px,3.4vw,49px)}.participation-heading>p{font-size:21px;max-width:390px}.participation-steps{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;list-style:none;padding:0;margin:0}.participation-steps:before{content:'';position:absolute;left:8%;right:8%;top:59px;border-top:3px dashed var(--tyoma-salmon);z-index:-1}.participation-steps li{display:flex;flex-direction:column;position:relative;background:#fff;border-radius:32px;padding:25px 26px 28px;margin-top:0}.participation-steps li:nth-child(2){background:var(--tyoma-sky-wash);margin-top:30px;margin-bottom:-10px}.participation-steps li:nth-child(3){background:#ffe7ec;margin-top:60px;margin-bottom:-20px}.participation-art{display:flex;align-items:center;justify-content:space-between;height:125px;margin-bottom:22px}.step-number{font:112px/.9 Barnacle;color:var(--tyoma-salmon)}.participation-art img{width:125px;height:125px;border-radius:50%;object-fit:cover;object-position:center 30%;border:5px solid white}.participation-art i{display:none}.participation-steps h3{font:700 28px/1.1 Rounds;margin-bottom:16px}.participation-steps p{font-size:21px;line-height:1.3;margin-bottom:26px}.participation-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:auto}.participation-actions .primary{font-size:19px;padding:13px 20px;min-height:48px}.samokat-action{display:none}.footer{padding:65px 0 28px;background:var(--paper);font-size:17px}.footer>.wrap{display:grid;grid-template-columns:80px 1fr;gap:12px 24px}.footer-top{grid-row:1/3}.footer img{width:80px;height:auto}.legal-links{display:flex;gap:24px;flex-wrap:wrap}.legal-links button{padding:0;background:none;text-decoration:underline;text-underline-offset:4px}.nutrition{font-size:15px;color:var(--tyoma-blue)}
dialog{border:0;border-radius:28px;padding:38px;max-width:560px;width:calc(100% - 32px);color:var(--blue);background:var(--paper)}dialog::backdrop{background:#16254070;backdrop-filter:blur(5px)}dialog h2{font-size:32px;margin-bottom:20px}dialog p{font-size:21px;margin-top:12px}.close{float:right;background:none;font-size:28px}.platforms{display:flex;gap:12px;margin-top:24px}.platforms button{background:var(--blue);color:white;padding:12px 22px;border-radius:14px}.modal-note{color:var(--tyoma-blue)}.toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:var(--blue);color:white;border-radius:14px;padding:12px;z-index:20}.toast:empty{display:none}
@media(min-width:761px) and (max-height:760px){.header{height:90px}.logo{width:95px}.role-carousel{height:calc(100svh - 270px);--portrait:min(79%,calc((100svh - 390px)*1.26))}.counter-wrap{font-size:16vh}.counter-caption{font-size:6vh}.occasion-badge{margin-bottom:12px}.hero-occasion{font-size:21px}.hero-invitation{font-size:19px}.search-form input{font-size:22px}.search-form .primary{min-height:48px;padding:12px 18px}}
@media(min-width:761px) and (max-width:1100px){.header nav{font-size:19px;gap:22px}.hero{grid-template-columns:37% 63%}.hero-occasion{font-size:20px}.role-slide strong{font-size:23px}.story-shopping p{font-size:21px}.story-actions{gap:8px}.story-actions button{font-size:18px}.role-ranking{gap:10px 28px;padding:24px}.ranking-row{grid-template-columns:28px 1fr auto;gap:10px}.ranking-row h3{font-size:22px}.participation-steps{gap:14px}.participation-steps li{padding:22px 18px}.participation-art img{width:90px;height:90px}.participation-steps h3{font-size:25px}.participation-steps p{font-size:20px}}
@media(max-width:760px){body{font-size:20px}.header{height:auto;flex-wrap:wrap;padding-block:16px;gap:15px}.logo{width:85px}.header nav{font-size:17px;gap:17px}.hero{display:flex;flex-direction:column;gap:20px;padding-top:16px}.hero-copy{width:100%;align-items:flex-start}.occasion-badge{margin:0 0 20px 3px}.hero-occasion{font-size:23px}.hero h1{display:flex;align-items:center;gap:15px;text-align:left}.counter-wrap{font-size:104px;width:49%;padding:10px 15px}.counter-caption{font-size:39px;margin:0}.role-carousel{width:100%;height:auto;aspect-ratio:1.18;min-height:0;--portrait:83%}.role-carousel:before,.role-slide img{top:49px}.role-slide strong{font-size:22px;top:0;left:42%;padding:9px 16px}.carousel-preview{top:45%;width:27%}.carousel-controls{left:42%;bottom:0;gap:12px}.carousel-arrow{height:36px;width:44px;font-size:25px}.hero-form-block{width:100%;margin:0}.hero-invitation{font-size:19px;margin-left:0}.search-form{display:grid;grid-template-columns:auto 1fr;gap:6px 10px;padding:12px;border-radius:20px}.search-form label,.search-form input{font-size:22px}.search-form .primary{grid-column:1/-1;width:100%;justify-content:space-between;font-size:20px;min-height:48px}.demo-controls{font-size:10px;align-items:start}.brand-bubbles i{width:calc(var(--size)*.7);height:calc(var(--size)*.7);opacity:.65}.hero .brand-bubbles i:nth-child(n+3){display:none}.tema-story{padding:38px 0 0;display:flex;flex-direction:column}.story-inner{min-height:0;order:0}.tema-story-copy{width:100%}.tema-story h2{font-size:34px}.story-shopping p{font-size:21px}.story-actions{gap:10px}.story-actions .primary{font-size:19px}.shop-button{font-size:18px}.story-product{width:180px;height:205px;margin:22px 0 0 12px;z-index:3}.story-photo{position:relative;order:1;left:auto;right:auto;top:auto;bottom:auto;width:100%;aspect-ratio:1.35;margin-top:-100px;background-position:center;background-size:cover;mask:linear-gradient(0deg,#000 90%,transparent);z-index:0}.story-photo:after{background:linear-gradient(0deg,#fff0e3,transparent 12%)}.roles-section{padding-block:38px}.roles-section h2{font-size:34px}.role-ranking{grid-template-columns:1fr;padding:16px 20px;border-radius:26px;gap:0}.ranking-row{min-height:108px;grid-template-columns:26px minmax(0,1fr) auto;padding:18px 0;gap:9px}.ranking-row:nth-last-child(2){border-bottom:1px solid #2044A110}.ranking-row h3{font-size:23px}.ranking-value{font-size:26px}.ranking-track{height:12px}.wall-bottom{align-items:start;gap:14px}.wall-bottom p,.text-button{font-size:18px}.text-button{white-space:nowrap;padding:10px 14px}.participation{padding-top:38px}.participation-heading{display:block;margin-bottom:26px}.participation-heading h2{font-size:35px}.participation-heading>p{font-size:20px;margin-top:18px}.participation-steps{display:block}.participation-steps:before{display:none}.participation-steps li:nth-child(n){margin:0 0 18px;padding:24px;border-radius:26px}.participation-art{height:100px;margin-bottom:18px}.step-number{font-size:100px}.participation-art img{height:110px;width:110px}.participation-steps h3{font-size:28px}.participation-steps p{font-size:21px}.footer{padding:10px 0 25px}.footer>.wrap{grid-template-columns:58px 1fr;gap:15px}.footer img{width:58px}.legal-links{display:grid;gap:12px;justify-items:start;font-size:15px}.nutrition{grid-column:1/-1;font-size:14px}.roles-section .brand-bubbles,.participation .brand-bubbles{opacity:.5}}
.role-slide img,.carousel-preview img{object-position:center top}
.tema-story h2{font-size:clamp(30px,2.9vw,44px);text-wrap:initial}.tema-story h2 span{color:var(--tyoma-blue-light)}
.story-photo{top:11%;bottom:5%;background-size:cover;background-position:45% center}
.participation-heading>p{max-width:470px}.participation .brand-bubbles i:first-child{top:36%;left:94%}
@media(max-width:760px){.tema-story h2{font-size:30px}.story-photo{top:auto;bottom:auto;background-position:center}.role-slide img{object-position:center top}.participation-heading>p{max-width:none}}
.story-product{width:min(100%,510px);height:300px;margin:28px 0 0}.story-product:before{display:none}.story-product img{filter:none}
.hero .brand-bubbles i:nth-child(3){top:64%;left:30%;width:120px;height:120px}
.tema-story .brand-bubbles i:nth-child(2){left:47%;top:1%;width:140px;height:140px}
.hero-copy{align-self:start;margin-top:10px}.occasion-badge{margin-top:0}
@media(max-width:760px){.header{padding-block:12px}.hero{padding-top:6px;gap:12px}.hero-copy{margin-top:0}.hero h1{gap:10px}.counter-wrap{font-size:90px}.counter-caption{font-size:35px}.occasion-badge{margin-bottom:15px}.role-carousel{aspect-ratio:1.1}.carousel-controls{bottom:0}.hero-invitation{font-size:18px}.story-product{width:100%;max-width:380px;height:230px;margin:20px auto 0}.story-photo{margin-top:8px;aspect-ratio:1.3}.tema-story .brand-bubbles i:nth-child(2){left:80%;top:46%}.tema-story h2{font-size:28px}.roles-section h2{font-size:30px}.participation-heading h2{font-size:31px}.hero .brand-bubbles i:first-child{left:-25%;top:14%}.hero .brand-bubbles i:nth-child(2){left:92%;top:20%}}
.tema-story .brand-bubbles{z-index:1}.tema-story .brand-bubbles i:nth-child(3){display:none}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.role-slide{transition:none}}
