/* SAYFA-DUZELT C (17 Kas 2026): the page type's clay Zıpır in the first screen (build/sayfa-maskot.mjs). Every box has a fixed
   height and width before the image arrives (no layout shift); only transforms move; reduced motion: still. */
.zm{--zh:clamp(104px,9vw + 60px,220px);position:relative;display:block;height:var(--zh);width:calc(var(--zh) * 1.3);pointer-events:none;user-select:none;line-height:0;letter-spacing:0}
.zm-k{position:absolute;left:0;bottom:0;height:100%;width:auto;max-width:none;transform-origin:42% 100%;animation:zm-yay 3.8s cubic-bezier(.45,0,.3,1) infinite}
.zm-p{position:absolute;height:auto;overflow:visible;filter:drop-shadow(0 6px 6px rgba(60,40,15,.18))}
@keyframes zm-yay{0%,100%{transform:none}30%{transform:translateY(-3.5%) scale(.985,1.02)}48%{transform:translateY(0) scale(1.02,.975)}60%{transform:none}}

/* kose: standing on the bottom-right corner of a full-width hero, its feet on the block below */
section:has(> .zm-kose){position:relative;min-height:calc(var(--zh,150px) + 2.5rem)}
section:has(> .zm-kose){--zh:clamp(104px,9vw + 60px,220px)}
.zm-kose{position:absolute;right:max(var(--gutter),env(safe-area-inset-right));bottom:-10px;z-index:2}
/* phones and tablets: the corner figure floats right at the top of the hero and the title and lede wrap around it (no text under it) */
@media(max-width:900px){section:has(> .zm-kose){--zh:clamp(92px,8vw + 60px,128px);min-height:0;display:flow-root}
  .zm-kose{position:relative;float:right;right:auto;bottom:auto;margin:2px -4px 4px 8px}}

/* yan: right after the title's last word, on its baseline */
.zm-yan{display:inline-block;vertical-align:-.1em;--zh:1.25em;margin-left:.18em;margin-right:-.1em}
.zm-yan .zm-k{animation-duration:4.2s}
@media(max-width:700px){.zm-yan{--zh:1.6em}}

/* act: beside the hero's action buttons */
.zm-act{--zh:clamp(92px,6vw + 50px,170px);margin-left:auto;align-self:flex-end;flex:none}
@media(max-width:420px){.zm-act{--zh:84px}}

/* the props' one small loop each (user units of the 100x100 box) */
.zm-ibre{transform-box:view-box;transform-origin:50px 56px;animation:zm-don 8s steps(60) infinite}
@keyframes zm-don{to{transform:rotate(360deg)}}
.zm-buyutec{animation:zm-gez 5.5s ease-in-out infinite}
@keyframes zm-gez{0%,100%{transform:translate(0,0)}35%{transform:translate(-22px,-16px)}70%{transform:translate(-8px,12px)}}
.zm-salla{transform-box:fill-box;transform-origin:50% 100%;animation:zm-sal 3.4s ease-in-out infinite}
@keyframes zm-sal{0%,100%{transform:rotate(-3deg)}50%{transform:rotate(3deg)}}
.zm-ok{animation:zm-itt 1.6s ease-in-out infinite}
@keyframes zm-itt{0%,100%{transform:none}50%{transform:translateX(3px)}}
.zm-kordon{stroke-dasharray:4 0;animation:zm-kor 3s ease-in-out infinite}
@keyframes zm-kor{0%,100%{transform:none}50%{transform:translate(1px,-2px)}}
.zm-tik{stroke-dasharray:20;stroke-dashoffset:20;animation:zm-ciz 3.2s ease-in-out infinite}
@keyframes zm-ciz{0%,15%{stroke-dashoffset:20}45%,100%{stroke-dashoffset:0}}
.zm-tv{animation:zm-tvy 2.8s ease-in-out infinite}.zm-tv1{animation-delay:-.9s}.zm-tv2{animation-delay:-1.8s}
@keyframes zm-tvy{0%,100%{transform:none}50%{transform:translateY(-4px)}}
.zm-atis{transform-box:fill-box;transform-origin:50% 60%;animation:zm-kalp 1.9s ease-in-out infinite}
@keyframes zm-kalp{0%,60%,100%{transform:none}20%{transform:scale(1.1)}35%{transform:scale(.97)}}
@media(prefers-reduced-motion:reduce){.zm *,.zm{animation:none!important;transition:none!important}}
@media print{.zm{display:none}}
