/* Footer meadow retains its original proportions at every viewport size. */
.cozy footer.garden-footer{display:block;position:relative;isolation:isolate;min-height:250px;margin:0;padding:0;border:0;overflow:hidden;background:#feecc7 url('assets/footer-meadow.png') center bottom/100% auto no-repeat;color:#293f50}
.cozy footer.garden-footer::before,.cozy footer.garden-footer::after{content:none;display:none}
.cozy footer.garden-footer .garden-footer-inner{position:relative;display:grid;grid-template-columns:230px minmax(0,1fr) 270px;align-items:start;gap:32px;max-width:1170px;margin:0 auto;padding:30px 30px 0;text-align:left}
.cozy footer.garden-footer .garden-footer-brand{display:block;grid-column:1;grid-row:1;width:190px;height:57px;margin:10px 0 0;padding:0;background:transparent}
.cozy footer.garden-footer .garden-footer-brand .official-logo{display:block;width:100%;height:100%;overflow:hidden;mix-blend-mode:multiply;filter:none}
.cozy footer.garden-footer .garden-footer-wish{grid-column:3;grid-row:1;max-width:250px;margin:13px 0 0;padding:0;color:#293f50;font:700 21px/1.3 Nunito,sans-serif;letter-spacing:0;text-align:left}
.cozy footer.garden-footer .garden-footer-nav{grid-column:2;grid-row:1;display:grid;grid-template-columns:repeat(3,max-content);justify-content:start;align-items:center;gap:7px 10px;margin:0;padding:0}
.cozy footer.garden-footer .garden-footer-nav a{display:flex;align-items:center;justify-content:center;min-height:39px;padding:9px 15px;border:1px solid #90aeb255;border-radius:24px;background:#f9f2de;color:#234763;font:700 17px/1.25 Nunito,sans-serif;text-decoration:none;white-space:nowrap;transition:background .2s,color .2s}
.cozy footer.garden-footer .garden-footer-nav a:hover{background:#e1ebec;color:#234763}
.cozy footer.garden-footer a:focus-visible{outline:2px solid #315faf;outline-offset:4px}
@media(max-width:1000px){.cozy footer.garden-footer .garden-footer-inner{grid-template-columns:180px minmax(0,1fr);gap:20px 24px}.cozy footer.garden-footer .garden-footer-brand{width:170px;height:auto}.cozy footer.garden-footer .garden-footer-wish{grid-column:1/-1;grid-row:2;margin:0 0 80px}}
@media(max-width:650px){.cozy footer.garden-footer{min-height:0;background-size:auto 230px}.cozy footer.garden-footer .garden-footer-inner{display:flex;flex-direction:column;align-items:center;gap:20px;padding:28px 20px 105px;text-align:center}.cozy footer.garden-footer .garden-footer-brand{width:180px;height:54px;margin:0}.cozy footer.garden-footer .garden-footer-nav{order:2;display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.cozy footer.garden-footer .garden-footer-nav a{font-size:16px;padding:9px 14px;min-height:44px}.cozy footer.garden-footer .garden-footer-wish{order:3;margin:0;max-width:280px;text-align:center;font-size:19px}.cozy footer.garden-footer .garden-footer-wish br{display:none}}
@media(prefers-reduced-motion:reduce){.cozy footer.garden-footer .garden-footer-nav a{transition:none}}


/* The meadow follows the local clock; text and the original logo stay above it. */
.cozy footer.garden-footer[data-time=night]{background-color:#43575b;color:#fff4de}
.cozy footer.garden-footer[data-time=night]::before{content:"";display:block;position:absolute;inset:0;z-index:-1;background:#feecc7 url('assets/footer-meadow.png') center bottom/100% auto no-repeat;filter:sepia(.35) saturate(.72) hue-rotate(155deg) brightness(.48)}
.cozy footer.garden-footer[data-time=night] .garden-footer-wish{color:#fff4de}
.cozy footer.garden-footer[data-time=night] .garden-footer-brand{position:relative;isolation:isolate}
.cozy footer.garden-footer[data-time=night] .garden-footer-brand::before{content:"";position:absolute;z-index:-1;inset:-36px -38px;background:radial-gradient(ellipse,#f9e7bded 0%,#f9e7bdc2 30%,transparent 72%);pointer-events:none}
.cozy footer.garden-footer[data-time=night] .garden-footer-nav a{background:#f9f0da;color:#234763}
.cozy footer.garden-footer[data-time=night] .garden-footer-nav a:hover{background:#dce8e7}
@media(max-width:650px){.cozy footer.garden-footer[data-time=night]::before{background-size:auto 230px}}
.cozy footer.garden-footer[data-time=night]::before{height:auto;width:auto;opacity:1}
.cozy footer.garden-footer[data-time=night] .garden-footer-brand{isolation:auto}
/* Night variant: a white silhouette, with no background panel or glow. */
.cozy footer.garden-footer[data-time=night] .garden-footer-brand::before{display:none}
.cozy footer.garden-footer[data-time=night] .garden-footer-brand .official-logo{visibility:hidden}
.cozy footer.garden-footer[data-time=night] .garden-footer-brand::after{content:"";display:block;position:absolute;inset:0;background:#fff8eb;mask:url('assets/brand-source/skyrus-logo-transparent-v21.png') center/contain no-repeat;-webkit-mask:url('assets/brand-source/skyrus-logo-transparent-v21.png') center/contain no-repeat}
.cozy footer.garden-footer[data-time=night] .garden-footer-nav a{color:#315faf}
