.hero-brand-scene{position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px 0 4px;min-height:208px}
.hero-brand-scene h1{font-size:clamp(48px,4.5vw,68px);max-width:66%;margin:0;line-height:1.04;letter-spacing:-.035em}
.hero-mascot-stage{position:relative;isolation:isolate;flex:0 0 200px;width:200px;height:214px;display:grid;place-items:center}
.hero-mascot-stage:before{content:"";position:absolute;z-index:-1;width:95%;height:95%;border-radius:50%;background:radial-gradient(ellipse,var(--accent-soft),transparent 68%);opacity:.8;pointer-events:none}
.hero-mascot-stage:after{content:"";position:absolute;z-index:-1;bottom:15px;left:20%;width:60%;height:12px;border-radius:50%;background:var(--text);opacity:.07;filter:blur(6px);pointer-events:none}
.hero-mascot{appearance:none;display:block;position:relative;width:212px;height:212px;border:0;background:transparent;padding:0;cursor:pointer;border-radius:42%;-webkit-tap-highlight-color:transparent;touch-action:manipulation;transform:rotate(-4deg);transition:transform .24s;outline-offset:0}
.hero-mascot img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;filter:drop-shadow(0 8px 12px #0002);animation:mg-home-breathe 5s ease-in-out infinite;transform-origin:50% 80%;will-change:auto}
.hero-mascot:hover{transform:rotate(1deg) translateY(-3px)}
.hero-mascot:focus-visible,.hero-mascot-sound:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.hero-mascot.is-petted img{animation:mg-home-pet .95s cubic-bezier(.32,.05,.3,1) both}
.hero-mascot-caption{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin:0 0 18px;color:var(--muted);font-size:12px;line-height:1.6}
.hero-mascot-caption strong{font-size:13px;font-weight:550;color:var(--text)}
.hero-mascot-caption span{font-size:10px;opacity:.75}
.hero-mascot-sound{position:absolute;bottom:0;right:8px;min-width:30px;min-height:30px;padding:5px;border:1px solid var(--line);border-radius:50%;background:var(--surface);color:var(--muted);display:grid;place-items:center;cursor:pointer;z-index:2}
.hero-mascot-sound svg{height:14px;width:14px;stroke:currentColor;fill:none;stroke-width:1.7}
.hero-mascot-speech{position:absolute;bottom:calc(100% - 8px);right:4px;border:1px solid var(--line);border-radius:12px 12px 3px 12px;background:var(--surface-2);box-shadow:0 5px 18px #0001;padding:8px 12px;font-size:11px;color:var(--text);max-width:210px;white-space:nowrap;pointer-events:none;animation:mg-pet-appear .2s ease both}
.hero-mascot-speech[hidden]{display:none}
.hero-mascot-spark{position:absolute;left:50%;top:48%;width:5px;height:5px;border-radius:50%;background:var(--accent);opacity:0;pointer-events:none}
.hero-mascot.is-petted .hero-mascot-spark{animation:mg-home-spark .8s ease-out both;animation-delay:calc(var(--i)*18ms)}
.brand-mark{width:44px;height:44px;padding:0;border:0;background:transparent;box-shadow:none}.brand-mark img{filter:drop-shadow(0 3px 3px #0002)}
@keyframes mg-home-breathe{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-4px) scale(1.015,1.025)}}
@keyframes mg-home-pet{0%,100%{transform:translateY(0) scale(1)}18%{transform:translateY(7px) scale(1.11,.87)}43%{transform:translateY(-22px) scale(.96,1.04) rotate(-7deg)}65%{transform:translateY(-12px) rotate(7deg)}84%{transform:translateY(2px) scale(1.04,.97)}}
@keyframes mg-home-spark{0%{opacity:0;transform:rotate(calc(var(--i)*45deg)) translateY(32px) scale(.5)}25%{opacity:.65}100%{opacity:0;transform:rotate(calc(var(--i)*45deg)) translateY(108px) scale(0)}}
@media(max-width:1100px) and (min-width:781px){.hero-mascot-stage{width:160px;height:188px;flex-basis:160px}.hero-mascot{width:184px;height:184px}.hero-brand-scene h1{font-size:52px}.hero-brand-scene{min-height:194px}}
@media(max-width:780px){.hero-brand-scene{max-width:560px;margin-inline:auto;min-height:208px;justify-content:space-between}.hero-brand-scene h1{font-size:clamp(48px,9vw,68px);max-width:64%}.hero-mascot-caption{justify-content:center}.hero-mascot-stage{width:180px;flex-basis:180px;height:198px}.hero-mascot{width:198px;height:198px}}
@media(max-width:420px){.hero-mascot-stage{width:130px;flex-basis:130px;height:164px;margin-right:16px}.hero-mascot{width:132px;height:132px}.hero-brand-scene{min-height:180px}.hero-brand-scene h1{font-size:42px;max-width:none;min-width:0;flex:1}.hero-mascot-sound{right:0;bottom:-3px}}
@media(max-width:360px){.hero-mascot-stage{width:108px;flex-basis:108px;height:148px;margin-right:12px}.hero-mascot{width:112px;height:112px}.hero-brand-scene h1{font-size:36px}}
@media(prefers-reduced-motion:reduce){.hero-mascot,.hero-mascot *{animation:none!important;transition:none!important}.hero-mascot.is-petted img{filter:drop-shadow(0 0 12px var(--accent))}}

.hero-mascot-gaze{position:absolute;inset:0;display:block;pointer-events:none;transform:translate3d(var(--look-x,0px),var(--look-y,0px),0) rotate(var(--look-turn,0deg));transform-origin:50% 82%;transition:transform .18s ease-out}
.hero-mascot.is-curious img{filter:drop-shadow(0 10px 14px #0003)}
/* Confetti is provided by the local optional effect, avoiding duplicate bursts. */
.hero-mascot.is-petted .hero-mascot-spark{display:none}
@media(prefers-reduced-motion:reduce){.hero-mascot-gaze{transform:none!important}}
