/* v5: quieter two-font palette and details physically attached to the rooms. */
.cozy{--ink:#293f50;--accent:#315faf;--ball-grade:saturate(.78) brightness(.97);--decor-grade:none}
.cozy[data-time=night]{--ball-grade:saturate(.7) brightness(.76) sepia(.12);--decor-grade:brightness(.76) sepia(.16)}
.welcome-title{padding-bottom:100px}
.welcome-hanger{position:absolute;bottom:-8px;left:2px;width:164px;height:92px;padding:0;background:none;border:0;cursor:pointer;isolation:isolate;touch-action:manipulation}
.welcome-hanger .tag-cords{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#ad8d60;stroke-width:1.4;stroke-linecap:round;overflow:visible}
.tag-cords circle{fill:#b49b6f;stroke:#8b7250;stroke-width:.7}
.welcome-hanger .welcome-tag{position:absolute;left:0;top:36px;bottom:auto;width:164px;height:48px;display:flex;justify-content:center;gap:9px;padding:9px 16px;border-radius:7px;background:#efe0c1;color:#315faf;font:700 16px Nunito,sans-serif;box-shadow:0 3px 5px #5b452016;transform:none;transform-origin:50% 50%;pointer-events:none}
.welcome-hanger .welcome-tag::before{display:none}
.tag-eye{position:absolute;top:-2px;width:4px;height:4px;border-radius:50%;background:#826c49;box-shadow:inset 0 1px 1px #53422055}
.eye-left{left:20px}.eye-right{right:20px}
.welcome-hanger:focus-visible{outline:2px solid #315faf;outline-offset:4px;border-radius:8px}
.welcome-hanger.sign-touched .welcome-tag{background:#e1d1ac}
.cozy .house-notes>span:first-child{font-family:Nunito,Golos,sans-serif;font-weight:700;font-style:normal;font-size:20px;color:#293f50}
.cozy .house-bottom p em{font-family:Nunito,Golos,sans-serif;font-weight:700;font-style:normal;letter-spacing:-.02em}
.wall-accessory,.wall-plaque{position:absolute;pointer-events:none;filter:var(--decor-grade);transition:filter 2.8s ease-in-out}
.cozy .decor-image{width:100%;height:100%;display:block;fill:none;stroke:none;overflow:hidden;filter:drop-shadow(2px 3px 2px #4d2d222b)}
.cozy .wall-accessory{z-index:0}
.wall-fish{left:27%;top:27%;width:13%;aspect-ratio:3/4}
.wall-bone{left:26%;top:34%;width:22%;aspect-ratio:660/315}
.wall-radio{left:40%;top:42%;width:22%;aspect-ratio:1}
.radio-name{position:absolute;left:50%;top:48%;transform:translate(-50%,-50%);width:45%;color:#3b4b50;font-family:Nunito,Golos,sans-serif;text-align:center;line-height:1.05}
.radio-name small{display:block;font-size:clamp(6px,.62vw,9px);margin-bottom:3px;font-weight:700}
.radio-name strong{display:block;font-size:clamp(7px,.8vw,12px);overflow-wrap:normal;line-height:1.15}
.wall-plaque{right:5%;top:43%;width:31%;aspect-ratio:704/390;z-index:1}
.plaque-copy{position:absolute;inset:14% 9% 15%;display:flex;justify-content:center;align-items:center;flex-direction:column;color:#5b4631;font-family:Nunito,Golos,sans-serif;line-height:1.18;text-align:center}
.plaque-copy strong{display:block;font-size:clamp(12px,1.3vw,18px)}
.plaque-copy>span{display:block;font-size:clamp(9px,.85vw,12px);margin-top:4px}
.cozy .dog-story-scene .scene-handnote{right:5%;top:7%;max-width:185px;padding:17px 20px 19px;background:none;color:#4e4a39;border:0;border-radius:48% 45% 40% 46% / 43% 44% 48% 46%;box-shadow:none;isolation:isolate;transform:none;font-family:Nunito,Golos,sans-serif;font-weight:700;font-size:17px;line-height:1.3;text-align:center}
.speech-surface{position:absolute;inset:0;z-index:-1;pointer-events:none;background:#fff4dc;border-radius:inherit;box-shadow:0 3px 7px #4933161a;opacity:.85}
.speech-surface::after{content:'';position:absolute;left:26%;bottom:-12px;width:24px;height:23px;background:#fff4dc;clip-path:polygon(0 0,100% 0,4% 100%);transform:rotate(12deg)}
.story-ball-rest{width:12%;left:82%;bottom:4.5%;isolation:isolate}
.story-ball-rest::after{left:22%;bottom:-2%;width:56%;height:7%;background:radial-gradient(ellipse,#392618a6 0%,#39261866 40%,transparent 74%);filter:blur(.5px);z-index:-1}
.story-ball-rest::before{content:'';position:absolute;left:25%;top:95%;width:105%;height:22%;background:radial-gradient(ellipse at 26% 8%,#49321e70 0%,#49321e35 40%,transparent 73%);transform:rotate(9deg);filter:blur(2px);z-index:-2}
.cozy .dog-story-scene .story-ball-rest .story-ball{position:static;width:100%;height:100%;display:block;fill:none;stroke:none;filter:var(--ball-grade);transition:filter 2.8s ease-in-out}
.cozy .neighbor-portrait,.cozy .neighbor-birds .neighbor-portrait,.cozy .neighbor-dogs .neighbor-portrait,.cozy .neighbor-small .neighbor-portrait{background:#fff5e4;color:#293f50}
.cozy .neighbor-birds .neighbor-portrait,.cozy .neighbor-small .neighbor-portrait{background:#dce5e7}
.cozy .story-heart,.cozy .directory-heart{color:#8c6848}
@media(max-width:1050px) and (min-width:761px){.cozy .dog-story-scene .scene-handnote{font-size:15px;max-width:150px;padding:14px 15px 17px}.cozy .dog-story-scene .dog-motion{right:0}.wall-radio{width:24%;left:39%;top:43%}}
@media(max-width:760px){
 .welcome-title{padding-bottom:98px}.welcome-hanger{bottom:-5px}.welcome-copy{padding-top:26px}
 .cozy .house-notes>span:first-child{font-size:16px}.cozy .house-bottom p em{font-size:22px}
 .wall-fish{left:24%;top:30%;width:10.5%}.wall-bone{left:26%;top:35%;width:22%}.wall-radio{left:39%;top:46%;width:24%}
 .radio-name small{font-size:7px}.radio-name strong{font-size:9px}
 .wall-plaque{width:32%;right:4%;top:43%}.plaque-copy strong{font-size:12px}.plaque-copy>span{font-size:9px;margin-top:3px}
 .cozy .dog-story-scene .scene-handnote{font-size:13px;max-width:139px;right:4%;top:3%;padding:12px 15px 15px}
 .story-ball-rest{width:12%;left:82%;bottom:4.5%}
}
@media(max-width:360px){.cozy .dog-story-scene .scene-handnote{font-size:12px;max-width:127px}.wall-plaque{width:34%;right:3%}.plaque-copy strong{font-size:10px}.plaque-copy>span{font-size:8px}.radio-name strong{font-size:8px}}
@media(prefers-reduced-motion:reduce){.wall-accessory,.wall-plaque,.cozy .dog-story-scene .story-ball-rest .story-ball{transition:none}}

/* Keep the hamster beneath its room lamp; the filmed floor contact travels with it. */
.cozy .house .room.room-small .pet.hamster-motion{left:48%;right:auto;bottom:6%;transform:translateX(-50%)}
.cozy .house .hamster-motion .hamster-poster,.cozy .house .hamster-motion video{filter:brightness(1.05) saturate(1.03)}
.cozy[data-time=night] .house .hamster-motion .hamster-poster,.cozy[data-time=night] .house .hamster-motion video{filter:brightness(.99) sepia(.12) saturate(1.06)}

/* The contact marks share the cat's own 900x720 coordinate space, including on mobile. */
.cozy .cat-contact-shadow{display:none}
.cozy .story-cat-motion::before{content:'';position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none;
 background:
  radial-gradient(ellipse 6.4% 1.35% at 15.7% 95.1%,#482c1d91 0%,#482c1d50 32%,#482c1d00 80%),
  radial-gradient(ellipse 7.4% 1.4% at 28.9% 96.1%,#482c1d91 0%,#482c1d50 32%,#482c1d00 80%),
  radial-gradient(ellipse 7.1% 1.5% at 43.6% 94.9%,#482c1d80 0%,#482c1d40 36%,#482c1d00 82%),
  radial-gradient(ellipse 23% 3.2% at 39% 93.4%,#54331e40 0%,#54331e21 40%,#54331e00 85%),
  radial-gradient(ellipse 14% 1.8% at 78% 91.1%,#54331e38 0%,#54331e00 85%);
 filter:blur(.55px)}

/* v9: the ball rests deeper on the room floor, with contact and cast shadows. */
.cozy .house-ball-rest{position:absolute;left:32%;bottom:6.5%;width:9.4%;aspect-ratio:1;z-index:1;pointer-events:none;isolation:isolate}
.cozy .house-ball-rest::before{content:'';position:absolute;left:18%;top:94%;width:115%;height:23%;background:radial-gradient(ellipse at 32% 25%,#49321e70 0%,#49321e2e 40%,transparent 72%);transform:rotate(9deg);filter:blur(1.4px);z-index:-2}
.cozy .house-ball-rest::after{content:'';position:absolute;left:19%;bottom:-2%;width:62%;height:8%;background:radial-gradient(ellipse,#3926189c 0%,#3926185e 34%,transparent 75%);filter:blur(.5px);z-index:-1}
.cozy .house-ball-image{display:block;width:100%;height:100%;fill:none;stroke:none;filter:saturate(.72) brightness(.95);transition:filter 2.8s ease-in-out}
.cozy[data-time=night] .house-ball-image{filter:saturate(.64) brightness(.7) sepia(.18)}
@media(max-width:760px){.cozy .house-ball-rest{left:80%}}

/* The golden rim breathes like a small radio pilot light, without moving the record. */
.radio-light{position:absolute;inset:4% 5% 3% 3%;border:1px solid #ffe0a5;border-radius:50%;box-shadow:0 0 6px 2px #ffd38ba6,0 0 18px 7px #ffae4b77;opacity:.14;pointer-events:none;transition:opacity .4s ease-out}
.radio-live .radio-light{animation:radio-warmth 9s ease-in-out infinite}
.radio-live:is(:hover,:focus-within) .radio-light{animation:none;opacity:1}
@keyframes radio-warmth{0%,18%,68%,100%{opacity:.14}32%{opacity:1}43%{opacity:.3}55%{opacity:.8}}
@media(prefers-reduced-motion:reduce){
 .cozy .house-ball-image{transition:none}
 .radio-live .radio-light{animation:none;opacity:.35;transition:none}
 .radio-live:is(:hover,:focus-within) .radio-light{opacity:1}
}
/* Quiet second resident: fixed feet, no hover transform or replacement video. */
.cozy .floor-budgie{position:absolute;left:22%;bottom:5.8%;width:25%;z-index:3;pointer-events:none}
.cozy .floor-budgie img{display:block;width:100%;height:auto;filter:brightness(.98) saturate(.92);transition:filter 2.8s ease-in-out}
.cozy .floor-budgie-motion{display:block;pointer-events:auto;cursor:pointer;aspect-ratio:890/615}
.cozy .floor-budgie-motion::before{content:'';position:absolute;left:52%;right:7%;bottom:2%;height:7%;border-radius:50%;background:#27323a;opacity:.25;filter:blur(3px);transform:skewX(-18deg)}
.cozy .floor-budgie-motion img,.cozy .floor-budgie-motion video{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;filter:brightness(.98) saturate(.98);transition:filter 2.8s ease-in-out}
.cozy .floor-budgie-motion video{opacity:0;pointer-events:none}
.cozy .floor-budgie-motion.is-playing video{opacity:1}
.cozy .floor-budgie-motion.is-playing img{visibility:hidden}
.cozy .floor-budgie-motion:focus-visible{outline:2px solid #315faf;outline-offset:3px;border-radius:8px}
.cozy[data-time=night] .floor-budgie img{filter:brightness(.81) sepia(.12) saturate(.94)}
.cozy[data-time=night] .floor-budgie-motion video{filter:brightness(.81) sepia(.12) saturate(.94)}
@media(prefers-reduced-motion:reduce){.cozy .floor-budgie img,.cozy .floor-budgie-motion video{transition:none}}
.cozy .range-mats .range-scene{mix-blend-mode:multiply}
.cozy{--wheel-grade:saturate(.80) brightness(.94) contrast(1.02)}
.cozy[data-time=night]{--wheel-grade:saturate(.80) brightness(.74) sepia(.10)}
.wheel-product{filter:var(--wheel-grade);transition:filter 2.8s ease-in-out}
.cozy .room-wheel{position:absolute;left:53%;bottom:12.5%;width:34%;aspect-ratio:1048/1170;z-index:1;pointer-events:none}
.cozy .room-wheel svg{display:block;width:100%;height:100%;fill:none;stroke:none;overflow:visible}
.room-wheel:before{content:'';position:absolute;left:4%;right:-5%;bottom:-1%;height:24%;background:radial-gradient(ellipse at 52% 52%,#4a2b1f50,#4a2b1f26 46%,#4a2b1f00 72%);filter:blur(3px);transform:skewX(-22deg) translate(5px,2px)}
.cozy .wheel-hutch-front{position:absolute;inset:0;width:100%;height:100%;z-index:2;fill:none;stroke:none;pointer-events:none}
@media(max-width:760px){.cozy .room-wheel{width:43%;left:50%;bottom:15%}}
@media(prefers-reduced-motion:reduce){.wheel-product{transition:none}}

/* Two familiar moments invite a closer look at their neighbours. */
.cozy [data-scene-panel][hidden]{display:none!important}
.cozy .story-switch{display:flex;align-items:center;gap:8px;margin:0 0 16px;flex-wrap:wrap}
.cozy .story-switch-button{display:inline-flex;align-items:center;gap:8px;min-height:46px;padding:7px 17px 7px 10px;border:1px solid #9baaa3;border-radius:30px;background:transparent;color:#293f50;font:700 15px Nunito,Golos,sans-serif;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.cozy .story-switch-button .pet-pictogram{width:27px;height:27px}
.cozy .story-switch-button.is-active{background:#315faf;border-color:#315faf;color:#fffaf0}
.cozy .story-switch-button:not(.is-active):hover{background:#eee3d0}
.cozy .story-switch-button:focus-visible{outline:3px solid #315faf;outline-offset:3px}
.cozy .home-story-switch{margin-top:72px}
.cozy .home-story-switch + [data-scene-panel] .home-story,.cozy .hamster-story{padding-top:0}
.cozy .bird-story{background:#dce7df;align-items:center}
.cozy .bird-story .play-story-copy{min-height:390px}
.cozy .storybook-room{position:relative;isolation:isolate;overflow:hidden;width:100%;aspect-ratio:622/338;border-radius:8px;align-self:center}
.cozy .storybook-room .house{display:block;position:relative;max-width:none;width:100%;height:100%;margin:0;aspect-ratio:auto}
.cozy .storybook-room .house .room{position:absolute;inset:0;top:0;left:0;right:auto;bottom:auto;width:100%;height:100%;margin:0;border:0;border-radius:0;overflow:hidden;aspect-ratio:auto;background:none}
.cozy .storybook-room .room-scene{display:block;position:absolute;inset:0;width:100%;height:100%}
.cozy .storybook-room .room-wheel{left:53%;bottom:12.5%;width:34%}
.cozy .storybook-room .room-birds .pet.bird-motion{height:48%;right:18%;bottom:47%}
.cozy .storybook-room .floor-budgie{left:22%;bottom:5.8%;width:25%}
.cozy .hamster-story{align-items:center}
@media(max-width:760px){.cozy .home-story-switch{margin-top:48px}.cozy .bird-story .play-story-copy{min-height:0}.cozy .storybook-room{border-radius:0}.cozy .hamster-story .storybook-room{border-radius:10px 52px 10px 10px}.cozy .story-switch-button{font-size:14px;padding-right:14px}}
@media(prefers-reduced-motion:reduce){.cozy .story-switch-button{transition:none}}
@media(min-width:761px) and (max-width:900px){.cozy header nav{display:none}.cozy .menu-button{display:block}}

/* One consistent editorial layout for every animal story. */
.cozy .unified-story{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:6%;padding:0;background:transparent;overflow:visible}
.cozy .unified-story .story-scene{width:100%;aspect-ratio:1.25;min-height:0;border-radius:12px 84px 12px 12px;overflow:hidden;isolation:isolate}
.cozy .unified-story .storybook-room .house{position:absolute;width:112%;height:112%;left:-6%;top:-6%;aspect-ratio:auto}
.cozy .unified-story .home-story-copy{padding:0}
.cozy .unified-story .home-main-link{margin-top:24px}
.cozy .unified-story .home-small-copy+.home-main-link{margin-top:0}
.cozy .unified-story .dog-motion{height:94%;right:0;bottom:-3%}
.cozy .unified-story .story-ball-rest{left:82%;bottom:4.5%;width:12%}
@media(max-width:760px){.cozy .unified-story{display:flex;flex-direction:column;align-items:stretch;gap:25px;padding:0}.cozy .unified-story .story-scene{border-radius:10px 60px 10px 10px}.cozy .unified-story .home-main-link{margin-top:20px}.cozy .unified-story .home-small-copy+.home-main-link{margin-top:0}.cozy .unified-story .dog-motion{height:94%;right:0;bottom:-3%}}
@media(max-width:760px){.cozy .range-scratchers .range-note,.cozy .range-fountains .range-note{max-width:145px}}

/* Keep the original proportions of the room artwork in editorial stories. */
.cozy .unified-story .story-scene{aspect-ratio:1.65}
.cozy .unified-story .storybook-room .house{width:116.2%;height:104%;left:-8.1%;top:-2%}
.cozy .unified-story .storybook-room .room-birds .pet.bird-motion{height:42%;right:18%;bottom:47%}
.cozy .unified-story .storybook-room .floor-budgie{bottom:8%;width:23%}
.cozy .unified-story .cat-story-scene .story-cat-motion{width:58%;right:6%;bottom:2%}
.cozy .unified-story .cat-story-scene .wall-plaque{top:12%;right:3%;width:28%}
.cozy .unified-story .dog-story-scene .scene-handnote{left:4%;right:auto;top:6%}
.cozy .unified-story .dog-story-scene .speech-surface::after{left:auto;right:20%;transform:scaleX(-1) rotate(12deg)}
/* Four chapters, one room geometry, with a quieter alternating rhythm. */
.cozy-life{display:flex;flex-direction:column;gap:64px}
.cozy .cozy-life-heading{margin-bottom:0}
.cozy [data-scene-panel="dogs"]{order:1}.cozy [data-scene-panel="cats"]{order:2}.cozy [data-scene-panel="birds"]{order:3}.cozy [data-scene-panel="small"]{order:4}
.cozy [data-scene-panel="cats"] .story-scene,.cozy [data-scene-panel="small"] .story-scene{grid-column:2;grid-row:1}
.cozy [data-scene-panel="cats"] .home-story-copy,.cozy [data-scene-panel="small"] .home-story-copy{grid-column:1;grid-row:1}
.cozy .unified-story .dog-story-scene .dog-motion{right:20%;height:91%;bottom:-2.5%}
.cozy .unified-story .dog-story-scene .scene-handnote{left:5%;top:7%;font-size:clamp(12px,1.2vw,17px);max-width:35%;padding:13px 14px}
.cozy .unified-story .cat-story-scene .wall-plaque{top:43%;right:3%;width:27%}
.cozy .unified-story .cat-story-scene .story-cat-motion{right:12%;width:55%;bottom:2%}
.cozy .unified-story .story-scratcher{left:6%;width:30%;bottom:0}
.cozy .story-cat-motion::before{opacity:.65}
.cozy footer{background:#eee5d4;border-top:1px solid #c8bea850;padding:45px 6% 26px;position:relative}
.cozy footer>p{font:700 clamp(23px,2.2vw,32px)/1.3 Nunito,sans-serif;max-width:25ch;color:#29495d}
.cozy footer>div{font-size:16px;gap:28px;margin-top:25px}
.cozy footer>small{display:block;max-width:80ch;font-size:12px;line-height:1.7;margin-top:30px;color:#67736f}
@media(max-width:760px){.cozy-life{gap:44px}.cozy .unified-story .story-scene{order:0}.cozy .unified-story .home-story-copy{order:1}.cozy .unified-story .dog-story-scene .dog-motion{right:20%}.cozy .unified-story .wall-plaque .plaque-copy strong{font-size:10px}.cozy .unified-story .wall-plaque .plaque-copy>span{font-size:7px}.cozy footer>p{margin-top:18px}.cozy footer>div{display:flex;flex-wrap:wrap}}
/* v15: finish the small moments with clearer grounding and breathing room. */
.cozy .cozy-life{padding-bottom:80px}
.cozy .unified-story .dog-story-scene .scene-handnote{left:20%;right:auto;top:4%;max-width:31%;}
.cozy .unified-story .story-ball-rest{left:76%;width:10%;}
.cozy .house .room.room-cats .cat-motion::before{left:11%;top:91%;width:78%;height:10%;background:radial-gradient(ellipse at 29% 42%,#4b2c1d70 0%,#4b2c1d30 38%,transparent 74%),radial-gradient(ellipse at 58% 48%,#4b2c1d58 0%,transparent 70%);filter:blur(.8px)}
.cozy .house .room.room-cats .scratcher-prop::before{content:'';position:absolute;left:8%;right:7%;bottom:4%;height:7%;border-radius:50%;background:#49301f55;filter:blur(3px);z-index:-1}
.cozy .where-family-scene{overflow:hidden;border-radius:12px 72px 12px 12px;}
.cozy .where-family{display:block;width:100%;height:100%;object-fit:cover;object-position:center;}
.cozy .where-family-scene .where-note{position:absolute;left:7%;top:8%;}
.cozy .range-toys .range-scene{background:#e7d9eb;}
.cozy .toy-pair{position:absolute;inset:8% 8% 4%;display:flex;align-items:center;justify-content:center;gap:4%;}
.cozy .toy-pair img{width:45%;height:88%;object-fit:contain;mix-blend-mode:multiply;filter:saturate(1.12) contrast(1.02);}
.cozy .toy-pair img+img{width:46%;}
@media(max-width:760px){.cozy .unified-story .dog-story-scene .scene-handnote{left:16%;max-width:34%;}.cozy .unified-story .story-ball-rest{left:73%;width:11%;}.cozy .where-family-scene{border-radius:10px 50px 10px 10px;}}
.cozy footer{display:grid;grid-template-columns:1fr 260px;gap:40px;align-items:center}
.cozy .footer-window{position:relative;min-height:180px;border:10px solid #31506a;border-bottom-width:18px;border-radius:12px 12px 5px 5px;background:#f5c77a;overflow:hidden;cursor:pointer;box-shadow:inset 0 0 0 3px #d49c55,0 8px 0 #244157;color:#fff9e9}
.cozy .footer-shutter{position:absolute;z-index:2;top:0;width:50%;height:100%;background:repeating-linear-gradient(90deg,#31506a 0 11px,#42637a 11px 17px);transition:transform .55s cubic-bezier(.2,.8,.2,1)}
.cozy .footer-shutter-a{left:0;transform-origin:left center}.cozy .footer-shutter-b{right:0;transform-origin:right center}
.cozy .footer-window:hover .footer-shutter-a,.cozy .footer-window:focus-visible .footer-shutter-a,.cozy .footer-window.is-open .footer-shutter-a{transform:rotateY(-62deg)}
.cozy .footer-window:hover .footer-shutter-b,.cozy .footer-window:focus-visible .footer-shutter-b,.cozy .footer-window.is-open .footer-shutter-b{transform:rotateY(62deg)}
.cozy .footer-hamster{position:absolute;inset:40px 0 auto;text-align:center;font:700 28px Nunito,sans-serif;color:#81502d;transform:translateY(20px);transition:transform .55s}.cozy .footer-window:hover .footer-hamster,.cozy .footer-window.is-open .footer-hamster{transform:translateY(0)}
.cozy .footer-window-label{position:absolute;bottom:8px;left:0;right:0;font:700 13px Nunito,sans-serif;color:#31506a}
@media(max-width:760px){.cozy footer{display:block}.cozy .footer-window{margin-top:26px;width:100%;min-height:140px}}
/* v16 refinements */
.cozy .house .room.room-cats .cat-motion::before{left:0;top:0;width:100%;height:100%;background:radial-gradient(ellipse 8% 1.4% at 28% 95%,#4b2c1d72 0%,#4b2c1d28 48%,transparent 82%),radial-gradient(ellipse 9% 1.5% at 44% 95%,#4b2c1d65 0%,#4b2c1d24 48%,transparent 82%),radial-gradient(ellipse 18% 2.2% at 78% 92%,#4b2c1d42 0%,transparent 80%);filter:blur(.7px)}
.cozy .house .room.room-dogs .dog-motion::before{content:'';position:absolute;z-index:-1;left:12%;right:4%;bottom:3%;height:8%;border-radius:50%;background:radial-gradient(ellipse,#4b2c1d62 0%,#4b2c1d27 48%,transparent 80%);filter:blur(2.5px)}
.cozy .welcome-hanger .welcome-tag{background:linear-gradient(145deg,#b8783f,#8e512b);border:2px solid #6f3d23;border-radius:5px;color:#fff1d3;box-shadow:0 4px 0 #6a3e27,0 8px 14px #4a291f35;font-family:Georgia,serif;font-size:17px}
.cozy .welcome-hanger .paw-mark{fill:#f7d89d}
.cozy header nav a{position:relative;text-underline-offset:5px;text-decoration-thickness:1px;transition:color .2s}.cozy header nav a::after{content:none}.cozy header nav a:hover,.cozy header nav a:focus-visible{transform:none;text-decoration:underline;text-underline-offset:5px}
.cozy footer{display:block}.cozy footer .footer-copy{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start}.cozy footer .footer-copy>div{display:flex;gap:24px;margin:0}.cozy footer .footer-copy>small{grid-column:1/-1}
.cozy .toy-pair{inset:8% 5% 4%;gap:1%}.cozy .toy-pair img,.cozy .toy-pair img+img,.cozy .toy-pair img+img+img{width:32%;height:88%;object-fit:contain;mix-blend-mode:multiply;filter:saturate(1.12) contrast(1.02)}
.cozy .range-toys .range-scene{background:#efe2ed}
.cozy .where-family-scene .where-note{left:auto;right:6%;top:auto;bottom:7%;background:#fff4dcdd;color:#6b5038}
.cozy footer{position:relative;overflow:hidden;background:#ead8b8}
.cozy footer::before{content:'';position:absolute;inset:auto 0 0;height:150px;background:linear-gradient(180deg,#ead8b800,#c4d2b1aa 75%),url('/homes/assets/house-garden.png') center bottom/cover no-repeat;opacity:.3;pointer-events:none}
.cozy footer .footer-copy{position:relative;z-index:1}
.cozy footer .footer-landscape{position:absolute;right:7%;bottom:16px;width:34%;height:92px;z-index:0;opacity:.65}
.cozy footer .footer-landscape::before,.cozy footer .footer-landscape::after{content:'';position:absolute;border-radius:50% 50% 0 0;background:#91a97d;bottom:0;width:72%;height:72px}
.cozy footer .footer-landscape::before{left:0}.cozy footer .footer-landscape::after{right:0;width:58%;height:55px;background:#b0bd8d}
.cozy footer .footer-landscape i{position:absolute;bottom:0;width:6px;height:45px;background:#6f8c68;border-radius:5px;z-index:1}.cozy footer .footer-landscape i:nth-child(1){left:24%}.cozy footer .footer-landscape i:nth-child(2){left:48%;height:63px}.cozy footer .footer-landscape i:nth-child(3){left:74%;height:38px}
.cozy .range-toys{background:#f3e6d6}.cozy .range-toys .range-copy{max-width:42%;}.cozy .range-toys .range-scene:before{inset:42% -18% -50% 28%;background:#ead4bc99}
.cozy .toy-pair{inset:20% 3% 2% 31%;gap:0;align-items:flex-end}.cozy .toy-pair img,.cozy .toy-pair img+img,.cozy .toy-pair img+img+img{width:33%;height:82%;object-fit:contain;mix-blend-mode:multiply;filter:saturate(1.05) contrast(1.03)}
.cozy .where-partner-scene .shop-faces{filter:drop-shadow(0 2px 1px #17394c22)}
/* v18: composed garden footer and grounded room details */
.cozy footer{position:relative;overflow:hidden;background:#e5d2ae url('/homes/assets/house-garden.png') center/cover no-repeat;background-blend-mode:soft-light}
.cozy footer::before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#e5d2aecc 0%,#e5d2ae66 48%,#8da27b55 100%);pointer-events:none}
.cozy footer .footer-landscape{display:none}
.cozy .welcome-hanger .welcome-tag{background:linear-gradient(165deg,#a96d39 0%,#7f4929 48%,#6d3d25 100%);border:1px solid #57301e;border-radius:8px;color:#fff1d3;box-shadow:inset 0 1px #e5b47766,0 4px 0 #593421,0 10px 18px #4a291f35;font-family:Nunito,Golos,sans-serif;font-size:16px;letter-spacing:.02em}
.cozy .welcome-hanger .welcome-tag::after{content:'';position:absolute;inset:5px;border:1px solid #e6b77955;border-radius:5px;pointer-events:none}
.cozy .where-family-scene .where-note{right:5%;bottom:6%;left:auto;top:auto;transform:rotate(3deg);padding:12px 18px;border-radius:52% 46% 48% 44%;background:#fff4dcdf;box-shadow:0 5px 12px #493a2426}
.cozy .where-partner-scene .shop-faces{filter:drop-shadow(0 2px 1px #17394c22)}
.cozy .house .room.room-cats .cat-motion::after{content:'';position:absolute;left:19%;right:26%;bottom:1.5%;height:3%;border-radius:50%;background:radial-gradient(ellipse,#3d291f55,transparent 74%);filter:blur(1.5px);z-index:-2}
.cozy .house .room.room-dogs .dog-motion::after{content:'';position:absolute;left:19%;right:16%;bottom:1.5%;height:3%;border-radius:50%;background:radial-gradient(ellipse,#3d291f55,transparent 74%);filter:blur(1.5px);z-index:-2}
/* v19 final footer: botanical garden backdrop only, never the house plate. */
.cozy footer{background:linear-gradient(180deg,#f2e2c4 0%,#ead8b1 55%,#c6d2a7 100%);padding:58px 6% 46px;min-height:250px}
.cozy footer::before{background:
 radial-gradient(ellipse 27% 72% at -2% 112%,#7c9a6d 0 46%,transparent 47%),
 radial-gradient(ellipse 25% 68% at 101% 115%,#78956c 0 45%,transparent 46%),
 radial-gradient(ellipse 12% 12% at 11% 92%,#db936b 0 18%,transparent 19%),
 radial-gradient(ellipse 11% 11% at 91% 91%,#d99a6d 0 18%,transparent 19%),
 linear-gradient(173deg,transparent 0 54%,#afc08e 55% 65%,transparent 66%);opacity:1}
.cozy footer::after{right:11%;top:28px;width:78px;height:78px;background:#f2ae6f;box-shadow:0 0 0 12px #f2ae6f22,0 0 0 24px #f2ae6f10}
.cozy footer .footer-copy{display:grid;grid-template-columns:minmax(240px,1fr) auto;grid-template-rows:auto auto auto;column-gap:80px;row-gap:20px;max-width:1080px;margin:auto;position:relative;z-index:2}
.cozy footer .footer-copy .brand{grid-column:1;grid-row:1;mix-blend-mode:multiply;filter:saturate(1.15) contrast(1.1)}
.cozy footer .footer-copy>p{grid-column:2;grid-row:1;font:700 clamp(22px,2.2vw,32px)/1.18 Nunito,sans-serif;max-width:18ch;margin:0;color:#29495d;align-self:center}
.cozy footer .footer-copy>div{grid-column:1 / -1;grid-row:2;display:flex;gap:30px;margin:0;font-size:15px}
.cozy footer .footer-copy>small{grid-column:1 / -1;grid-row:3;max-width:72ch;margin:0;color:#53645a}
.cozy footer .official-logo{mix-blend-mode:multiply;background:transparent}
@media(max-width:760px){.cozy footer{padding:42px 24px 34px}.cozy footer .footer-copy{display:block}.cozy footer .footer-copy>p{margin:20px 0;max-width:22ch}.cozy footer .footer-copy>div{gap:22px;margin-bottom:22px}.cozy footer::after{right:8%;top:18px;width:52px;height:52px}}
/* Keep the footer mark clean on the botanical backdrop; the source logo photo has a white studio field. */
.cozy footer .footer-copy .official-logo{display:none}
.cozy footer .footer-copy .brand::before{content:'SKYRUS';display:block;color:#315faf;font:800 clamp(34px,4vw,54px)/.85 Nunito,Golos,sans-serif;letter-spacing:-.08em;text-shadow:0 2px 0 #fff5df66}
.cozy footer .footer-copy .brand::after{content:'дом для каждого';display:block;color:#31506a;font:600 10px/1.2 Nunito,Golos,sans-serif;letter-spacing:.03em;margin-top:8px}
/* Keep the horizon organic; avoid a hard diagonal band. */
.cozy footer::before{background:
 radial-gradient(ellipse 27% 72% at -2% 112%,#7c9a6d 0 46%,transparent 47%),
 radial-gradient(ellipse 25% 68% at 101% 115%,#78956c 0 45%,transparent 46%),
 radial-gradient(ellipse 12% 12% at 11% 92%,#db936b 0 18%,transparent 19%),
 radial-gradient(ellipse 11% 11% at 91% 91%,#d99a6d 0 18%,transparent 19%),
 radial-gradient(ellipse 42% 28% at 52% 118%,#b5c58f 0 52%,transparent 53%)}
/* v21: use the same illustrated garden language as the house exterior. */
.cozy footer{background:#f4e4c7 url('/homes/assets/garden-footer-v21.png') center/cover no-repeat;background-blend-mode:normal}
.cozy footer::before,.cozy footer::after{display:none}
.cozy footer .footer-copy .official-logo{display:block;width:155px;height:47px;mix-blend-mode:multiply;filter:none}
.cozy footer .footer-copy .brand::before,.cozy footer .footer-copy .brand::after{display:none}
.cozy footer .footer-brand{display:block;width:220px}.cozy footer .footer-logo{display:block;width:100%;height:auto;mix-blend-mode:normal}
.cozy footer .footer-copy>p{margin:0}
/* v23: footer uses the exact same branded mark as the header. */
.cozy footer{min-height:310px;padding:56px 6% 70px;background-position:center bottom}
.cozy footer .footer-copy{grid-template-columns:minmax(260px,1fr) minmax(300px,1fr);column-gap:110px;row-gap:26px;max-width:1080px}
.cozy footer .footer-copy .footer-brand{grid-column:1;grid-row:1;width:190px;align-self:start}
.cozy footer .footer-copy .footer-brand .official-logo{display:block;width:190px;height:58px;mix-blend-mode:multiply}
.cozy footer .footer-copy>p{grid-column:2;grid-row:1;max-width:18ch;font-size:clamp(24px,2.5vw,35px);line-height:1.12;align-self:start;padding-top:4px}
.cozy footer .footer-copy>div{grid-column:1 / -1;grid-row:2;display:flex;gap:38px;padding-top:10px;position:relative;z-index:4}
.cozy footer .footer-copy>div a{font-size:16px;color:#29495d;text-decoration:none;background:#f5e8cae8;padding:8px 14px;border-radius:18px;box-shadow:0 2px 0 #7b684522;transition:background .2s,transform .2s}
.cozy footer .footer-copy>div a:hover{background:#fff4dc;transform:translateY(-2px)}
.cozy footer .footer-copy>small{display:none}
@media(max-width:760px){.cozy footer{min-height:330px;padding:42px 24px 78px}.cozy footer .footer-copy{display:grid;grid-template-columns:1fr;gap:20px}.cozy footer .footer-copy .footer-brand{grid-column:1;grid-row:1}.cozy footer .footer-copy>p{grid-column:1;grid-row:2;margin:0}.cozy footer .footer-copy>div{grid-column:1;grid-row:3;gap:14px}.cozy footer .footer-copy>div a{font-size:14px;padding:8px 12px}}
.cozy footer .footer-brand .official-logo image{mix-blend-mode:multiply}
.cozy footer .footer-copy .footer-brand .footer-logo{display:block;width:190px;height:auto;mix-blend-mode:normal}
/* Painted welcome sign: source image is cropped without changing its proportions. */
.cozy .cozy-intro h1 em{color:inherit}
.cozy .welcome-title{padding-bottom:115px}
.cozy .welcome-hanger{height:110px}
.cozy .welcome-hanger .welcome-tag{top:36px;height:78px;padding:0;border:0;border-radius:10px;background:transparent url('assets/painted-sign-concepts.png') 98% 63%/329% auto no-repeat;box-shadow:none}
.cozy .welcome-hanger .welcome-tag::after{display:none}
.cozy .welcome-hanger .welcome-tag>.paw-mark,.cozy .welcome-hanger .welcome-tag>span,.cozy .welcome-hanger .tag-eye{visibility:hidden}
.cozy .welcome-hanger.sign-touched .welcome-tag{background-color:transparent}

/* The animals in the editorial stories play a gesture; their nearby buttons lead to categories. */
.cozy .unified-story .story-scene button.pet{cursor:default}
.cozy .dog-story-scene.story-motion-ready .scene-handnote{opacity:0;transform:translateY(4px);pointer-events:none;transition:opacity .45s ease-out,transform .45s ease-out}
.cozy .dog-story-scene.story-motion-ready.story-motion-active .scene-handnote{opacity:1;transform:translateY(0);transition-delay:.35s}
@media(prefers-reduced-motion:reduce){.cozy .dog-story-scene.story-motion-ready .scene-handnote{opacity:1;transform:none;transition:none}}

/* Little stories belong to the house; the original room and animals remain intact. */
.cozy-world .paw-portrait{position:absolute;z-index:2;left:62%;top:35%;width:8%;aspect-ratio:1;border:3px solid #aa7244;border-radius:50%;background:#f3dfb7;box-shadow:0 2px 4px #6d472d55;display:grid;place-items:center;pointer-events:none;transform:rotate(-5deg)}
.cozy-world .paw-portrait svg{width:70%;height:70%;stroke:#8b613e}
.cozy-world .room-dogs:hover .paw-portrait{animation:portrait-sway 1.4s ease-out}
@keyframes portrait-sway{0%,100%{transform:rotate(-5deg)}35%{transform:rotate(1deg)}70%{transform:rotate(-7deg)}}
.category-personality{display:inline-block;margin-top:18px;padding:7px 12px;border:1px solid #dbc8a7;border-radius:5px;background:#f9edd6;color:#6f5948;font-size:14px;transform:rotate(-1deg)}
.empty-friend{display:block;width:76px;height:76px;margin-bottom:15px;color:#3b6389}.empty-friend svg{width:100%;height:100%}
.where-partners.neon-awake .neon-face{animation:neon-arrive .9s ease-out both}.where-partners.neon-awake .neon-face:nth-child(2){animation-delay:.15s}.where-partners.neon-awake .neon-face:nth-child(3){animation-delay:.3s}.where-partners.neon-awake .neon-face:nth-child(4){animation-delay:.45s}
@keyframes neon-arrive{0%{opacity:.25}35%{opacity:.8}50%{opacity:.5}100%{opacity:1}}
.cozy-world .paw-portrait{left:74%;top:33%}
.cozy-world .paw-portrait .paw-mark{fill:#93643e;stroke:none;width:58%;height:58%}
@media(max-width:760px){.category-personality{font-size:13px;margin-top:12px}}
@media(prefers-reduced-motion:reduce){.cozy-world .room-dogs:hover .paw-portrait,.where-partners.neon-awake .neon-face{animation:none}}
/* Welcome: a message hanging from the garden branch. */
.cozy .cozy-intro{grid-template-columns:1fr 1.12fr;gap:5%;align-items:center;padding-top:52px;padding-bottom:54px}
.cozy .welcome-title{padding-bottom:0}
.cozy .welcome-title .cozy-cta{margin-top:30px}
.cozy .welcome-garden-sign{position:relative;width:100%;max-width:570px;justify-self:end;aspect-ratio:1.9;display:grid;place-items:center}
.cozy .welcome-branch{position:absolute;width:100%;height:auto;top:-8%;left:0;pointer-events:none}
.cozy .welcome-story-sign{position:absolute;top:18%;left:19%;width:62%;height:75%;border:0;padding:0;background:none;cursor:pointer;transform-origin:50% 0}
.cozy .welcome-story-sign::before,.cozy .welcome-story-sign::after{content:'';position:absolute;top:0;height:22%;width:2px;background:#9c7a52;z-index:1;box-shadow:1px 0 #e4c395}
.cozy .welcome-story-sign::before{left:17%}.cozy .welcome-story-sign::after{right:17%}
.cozy .welcome-story-board{position:absolute;inset:15% 0 0;display:grid;place-items:center;filter:drop-shadow(0 6px 7px #6a4b302e)}
.cozy .welcome-story-board img{display:block;width:100%;height:100%;object-fit:contain}
.cozy .welcome-story-board>span{position:absolute;inset:0;display:grid;place-content:center;text-align:center;color:#294961;font:italic 500 clamp(20px,2vw,30px)/1.25 Georgia,serif;letter-spacing:.005em}
.cozy .welcome-story-sign.is-swaying{animation:welcome-story-sway 2.4s ease-out}
@keyframes welcome-story-sway{0%{transform:rotate(0)}16%{transform:rotate(3deg)}38%{transform:rotate(-2.3deg)}60%{transform:rotate(1.2deg)}80%{transform:rotate(-.5deg)}100%{transform:rotate(0)}}
.cozy .welcome-story-sign:focus-visible{outline:2px solid #315faf;outline-offset:5px;border-radius:12px}
@media(max-width:760px){.cozy .cozy-intro{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:35px 24px 25px}.cozy .welcome-title .cozy-cta{margin-top:23px}.cozy .welcome-garden-sign{align-self:center;max-width:430px;width:100%;margin-top:15px}.cozy .welcome-story-board>span{font-size:clamp(17px,5vw,24px)}}
@media(prefers-reduced-motion:reduce){.cozy .welcome-story-sign.is-swaying{animation:none}}
.cozy .welcome-story-sign::before,.cozy .welcome-story-sign::after{height:31%}
/* Refined welcome still life, with fixed branch and separately moving board. */
.cozy .welcome-garden-sign{isolation:isolate}
.cozy .welcome-envelope{position:absolute;z-index:0;left:4%;top:34%;width:40%;height:auto;transform:rotate(-8deg);pointer-events:none;filter:drop-shadow(0 5px 7px #71563630)}
.cozy .welcome-story-sign{z-index:1;top:18%;left:22%;width:64%;height:75%;animation:none!important}
.cozy .welcome-story-sign::before,.cozy .welcome-story-sign::after{display:none}
.cozy .story-sign-cords{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:3;fill:#99704a;stroke:#a98257;stroke-width:2;stroke-linecap:round;filter:drop-shadow(1px 2px 1px #795b384d)}
.cozy .story-sign-cords circle{stroke:#eed8ac;stroke-width:1;fill:#745132}
.cozy .welcome-story-board{filter:drop-shadow(1px 7px 7px #614c333d);transform-origin:50% 15%;will-change:transform}
.cozy .welcome-story-board>span{font-family:'Segoe Print','Comic Sans MS',cursive;font-style:normal;font-weight:400;font-size:clamp(19px,1.85vw,27px);line-height:1.32;transform:rotate(-1deg)}
.cozy .story-sign-mark{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:5px;font-style:normal}
.cozy .story-sign-mark::before,.cozy .story-sign-mark::after{content:'';width:36px;height:1px;background:#72817e}
.cozy .story-sign-mark svg{width:18px;height:18px;fill:#6a8281}
@media(max-width:760px){.cozy .welcome-story-board>span{font-size:clamp(14px,4.6vw,22px)}.cozy .story-sign-mark{margin-top:2px}.cozy .story-sign-mark svg{width:14px;height:14px}.cozy .story-sign-mark::before,.cozy .story-sign-mark::after{width:22px}}
.cozy .welcome-envelope{left:-1%;top:30%;width:43%}
/* A garden branch enters from the outer edge; its shadow shares the scene light. */
@media(min-width:761px){.cozy .cozy-intro{overflow-x:clip;overflow-y:visible}.cozy .welcome-branch{width:calc(100% + max(7vw, (100vw - 1440px)/2 + 7vw));max-width:none;top:-6%;left:0}}
.cozy .welcome-branch{filter:drop-shadow(3px 9px 7px #6d553528)}
.cozy .welcome-envelope{filter:drop-shadow(3px 8px 8px #74563735)}
.cozy .welcome-story-board{filter:drop-shadow(2px 9px 8px #62452d42)}
@media(max-width:760px){.cozy .welcome-garden-sign{overflow:hidden}.cozy .welcome-branch{width:120%;max-width:none;left:0;top:-4%}}
@media(min-width:761px){.cozy{overflow-x:clip}.cozy .cozy-intro{overflow:visible}.cozy .cozy-intro h1{font-size:clamp(60px,5.8vw,82px)}}

/* A lighter branch enters from above, leaving the right margin open for tracks. */
.cozy header .catalog-link{display:none}
.cozy .story-sign-cords .story-branch-knot{fill:#b28a5b;stroke:#efd3a0;stroke-width:1.3}
@media(min-width:1201px){
 .cozy header nav{flex:1;justify-content:center;gap:clamp(22px,2.4vw,40px)}
 .cozy header .header-search{flex:0 1 260px}
 .cozy .welcome-title{transform:translateX(-2%)}
 .cozy .welcome-branch{width:116%;top:-24%;left:-6%}
}
@media(min-width:761px) and (max-width:1200px){.cozy .welcome-branch{width:116%;top:-24%;left:-6%}}
@media(max-width:760px){.cozy .welcome-branch{width:116%;top:-24%;left:-6%}}
