/* A separate paper island: links remain above the artwork, never inside the reeds. */
.family-site footer.lake-footer{position:relative;isolation:isolate;overflow:hidden;margin:36px auto 40px;padding:0;background:#fff9eb;border:1px solid #d5ddc6;border-radius:32px;box-shadow:0 6px 0 #bdd2c3,0 22px 45px #17494e14;text-align:left;color:#17494e;font:16px/1.6 var(--world-control-font)}
.family-site footer.lake-footer::after{display:none}
.lake-footer-content{position:relative;z-index:1;padding:46px 48px 0}
.lake-footer-content h2{font:700 clamp(28px,3.6vw,40px)/1.2 Georgia,serif;margin:0 0 12px;text-align:center}
.lake-footer-intro{text-align:center;margin:0 auto 28px;max-width:620px;color:#526f6c}
.lake-footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch}
.lake-footer-link{display:flex;gap:16px;align-items:center;padding:19px 20px;border:1px solid #d4dac0;border-radius:21px;background:#fffdf5;box-shadow:0 4px 0 #d4dfc6;text-decoration:none;color:#17494e;min-height:106px;transition:transform .15s,background .15s}
.lake-footer-link:hover{background:#edf3e4;transform:translateY(-2px)}
.lake-footer-link img{width:58px;height:58px;object-fit:contain;flex:none}.lake-footer-link span{min-width:0}.lake-footer-link strong{display:block;font-size:18px;font-weight:800}.lake-footer-link small{display:block;font:15px/1.5 var(--world-control-font);color:#607772;margin-top:5px}
.lake-footer-bottom{display:flex;justify-content:center;flex-wrap:wrap;gap:26px;padding:26px 0 12px}.lake-footer-bottom a{font-size:14px;font-weight:700;text-decoration:none;min-height:44px;display:flex;align-items:center}.lake-footer-bottom a:hover{text-decoration:underline}
.lake-footer-note{max-width:700px;margin:24px auto 0;text-align:center;white-space:pre-line}.lake-footer-note p{margin:8px 0}
.lake-footer-scene{display:block;width:100%;height:clamp(160px,24vw,270px);object-fit:cover;object-position:center bottom;margin:0;pointer-events:none}
.family-site .content-page{padding:40px 64px 64px}.content-page h1,.content-page .content-lead,.content-prose{max-width:760px;margin-left:auto;margin-right:auto}.content-page h1{margin-top:32px}.content-lead{font:21px/1.6 Georgia,serif;color:#526f6c}.content-prose{font:20px/1.8 Georgia,serif;overflow-wrap:anywhere}.content-prose p{white-space:pre-line;margin:0 0 1.25em}.content-back{font:700 14px var(--world-control-font);text-decoration:none;display:inline-flex;min-height:44px;align-items:center}
@media(max-width:700px){.lake-footer-content{padding:30px 22px 0}.lake-footer-links{grid-template-columns:1fr}.lake-footer-link{padding:16px;gap:12px;min-height:92px}.lake-footer-link img{width:48px;height:48px}.lake-footer-link strong{font-size:17px}.family-site .content-page{padding:28px 24px 40px}.content-prose{font-size:19px}.lake-footer-scene{height:180px}.family-site footer.lake-footer{border-radius:24px;margin-top:26px}}
@media(prefers-reduced-motion:reduce){.lake-footer-link{transition:none}}
/* Keep the complete painted border; its empty paper centre sits behind the controls. */
.lake-footer-content{padding-bottom:clamp(180px,24vw,270px)}
.lake-footer-scene{position:absolute;z-index:0;bottom:0;left:0;width:100%;height:auto;object-fit:contain;object-position:center bottom}
@media(max-width:700px){.lake-footer-content{padding-bottom:150px}.lake-footer-scene{height:auto}}

/* V6: three close translucent cards, contact on the water-facing second row. */
.family-site footer.lake-footer{min-height:0;margin-top:28px}
.lake-footer-content{padding:48px 38px 115px}
.lake-footer-links{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:1000px;margin:auto}
.lake-footer-link{padding:8px 12px;gap:11px;min-height:92px;background:rgba(255,253,245,.58);border-color:#cad6b8;box-shadow:0 3px 0 #c8d8b5aa,0 8px 20px #17494e0a;backdrop-filter:none}
.lake-footer-link img{width:76px;height:76px}.lake-footer-link strong{font-size:16px;line-height:1.4;overflow-wrap:anywhere}.lake-footer-link small{font-size:13px;line-height:1.5}
.lake-footer-contact{order:100;grid-column:2;grid-row:auto;margin-top:8px;background:rgba(255,253,245,.58)}
.family-site button.lake-back-top{position:fixed;right:max(20px,calc((100vw - 1120px)/2 + 16px));bottom:22px;z-index:100;min-height:56px;width:56px;height:56px;padding:5px;border:1px solid #c7d4b7;border-radius:50%;background:#fff9ebe6;box-shadow:0 3px 0 #b9ccaf,0 8px 20px #17494e22}.lake-back-top img{width:42px;height:42px;object-fit:contain}.lake-back-top[hidden]{display:none!important}
@media(max-width:900px){.lake-footer-content{padding:38px 24px 110px}.lake-footer-links{grid-template-columns:repeat(2,minmax(0,1fr))}.lake-footer-contact{grid-column:1/-1;grid-row:auto;max-width:360px;width:100%;justify-self:center}.family-site footer.lake-footer{min-height:0}}
@media(max-width:550px){.lake-footer-content{padding:28px 22px 100px}.lake-footer-links{grid-template-columns:1fr;gap:10px}.lake-footer-contact{grid-column:1;max-width:none}.lake-footer-link{min-height:86px;background:rgba(255,253,245,.58)}.family-site footer.lake-footer{min-height:0}.family-site button.lake-back-top{right:16px;bottom:18px;width:52px;height:52px;min-height:52px}}

.lake-footer-link img.lake-footer-teachers-icon{transform:scale(1.3)}
