#site-footer{position:relative;height:100svh;margin-right:var(--rail);background:#112a25}
.footer-layer{position:relative;min-height:100svh;background:#112a25;color:#f9f3ec;overflow:hidden}
.footer-enhanced .footer-layer{position:fixed;inset:0 var(--rail) 0 0;z-index:25;min-height:0;height:100svh;clip-path:inset(var(--footer-mask,100%) 0 0);transform:translateY(var(--footer-shift,65px));visibility:hidden;pointer-events:none;will-change:clip-path,transform}
.footer-enhanced.footer-visible .footer-layer{visibility:visible;pointer-events:auto}
.footer-layer:before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 80% 0,#48605235,transparent 65%);pointer-events:none}
.footer-inner{position:relative;min-height:100svh;padding:5svh 5vw 3svh;display:grid;grid-template-columns:1.15fr 1fr;grid-template-areas:"brand pages" "nav pages" "bottom bottom";column-gap:7vw;row-gap:3svh;align-content:space-between}
.footer-brand{grid-area:brand;position:relative}.footer-logo{display:block;position:static;width:auto;height:clamp(60px,9svh,96px);max-width:130px;object-fit:contain;filter:brightness(0) invert(1);margin:0 0 2svh auto}
.footer-eyebrow{font-size:clamp(18px,1.7vw,28px);color:#d1a941;margin:0 0 2svh}
.footer-brand h2{font-weight:400;font-size:clamp(63px,min(7.2vw,11svh),140px);line-height:.83;letter-spacing:-.025em;margin:0 0 3svh}.footer-brand h2 span:last-child{color:#f9f3ec}
.footer-actions{display:flex;align-items:center;gap:25px;flex-wrap:wrap}.footer-actions a{font-size:clamp(18px,1.6vw,25px);color:#e1ddcf;text-decoration:none}.footer-actions a:hover{color:#eebd57}.footer-actions .footer-donate{padding:10px 30px;border:1px solid #ac832e;border-radius:40px;color:#eebd57;transition:background .3s,color .3s}.footer-actions .footer-donate:hover{color:#112a25;background:#d1a941}
.footer-pages{grid-area:pages;min-width:0;align-self:center;text-align:center}.footer-pages h3{font-size:clamp(25px,2vw,36px);font-weight:400;color:#b7c5ca;margin:0 0 3svh}
.footer-deck{position:relative;height:clamp(260px,49svh,560px);width:min(100%,350px);margin:auto;perspective:1000px}
.footer-page-card{position:absolute;inset:0;display:flex;align-items:center;justify-content:space-between;flex-direction:column;border:0;border-radius:3px;background:#faf8f0;color:#17372d;padding:32px 26px;box-shadow:2px 7px 14px #0003;transition:transform .8s cubic-bezier(.22,1,.36,1),background .5s,opacity .4s;text-align:center;transform-origin:50% 88%;outline-offset:6px}
.footer-page-card:after{content:"";position:absolute;inset:7px;border:1px solid #17372d88;border-radius:2px;pointer-events:none}
.footer-card-index{align-self:flex-start;color:#8b6c2d;font-size:17px;letter-spacing:.08em}.footer-card-title{font-size:clamp(31px,2.65vw,46px);font-weight:400;line-height:1;max-width:240px;margin:4px 0 10px}.footer-card-icon{width:clamp(65px,11svh,115px);height:clamp(65px,11svh,115px);color:#8b6c2d}.footer-card-visual{display:block;width:100%;height:48%;min-height:0;overflow:hidden;isolation:isolate;background:#224c3e}.footer-card-photo{display:block;width:100%;height:100%;object-fit:cover;filter:grayscale(1) contrast(.95);mix-blend-mode:luminosity;opacity:.9}.footer-card-note{font-size:14px;color:#586153;padding:12px 0 4px;letter-spacing:.02em}.footer-card-arrow{position:absolute;bottom:-13px;left:28px;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#17372d;color:#eebd57;font-size:21px;border:0}
.footer-page-card.is-active:hover{background:#fffaf2}.footer-card-controls{display:flex;justify-content:center;gap:14px;margin-top:40px;flex-wrap:wrap}.footer-card-controls button{color:#b7c5ca;background:none;border:0;border-bottom:1px solid #ac832e44;padding:6px 0;font-size:18px;transition:color .3s,border-color .3s}.footer-card-controls button[aria-pressed=true]{color:#eebd57;border-color:#eebd57}
.footer-nav{grid-area:nav;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 25px}.footer-nav a{text-decoration:none;color:#b7c5ca;font-size:clamp(18px,1.5vw,25px);padding:4px 0;width:fit-content;transition:color .3s,translate .3s}.footer-nav a:hover{color:#eebd57;translate:-5px 0}
.footer-bottom{grid-area:bottom;border-top:1px solid #ac832e66;padding-top:18px;display:flex;justify-content:space-between;align-items:center;gap:20px}.footer-bottom small{font-size:16px;color:#b7c5ca}.footer-top{background:none;border:0;color:#eebd57;font-size:20px;padding:0}
@media(max-width:800px),(max-height:620px){#site-footer{height:auto}.footer-enhanced .footer-layer{position:relative;inset:auto;height:auto;min-height:0;clip-path:none;transform:none;visibility:visible;pointer-events:auto;will-change:auto}.footer-inner{min-height:0;padding:60px 26px 25px;grid-template-columns:1fr;grid-template-areas:"brand" "pages" "nav" "bottom";gap:50px}.footer-brand h2{font-size:76px;line-height:.85}.footer-logo{width:auto;height:80px;margin-bottom:22px}.footer-pages{padding-top:10px}.footer-deck{height:370px;width:min(260px,80%)}.footer-card-title{font-size:40px}.footer-card-icon{height:90px;width:90px}.footer-card-controls{gap:18px}.footer-bottom{align-items:flex-start;flex-direction:column;gap:15px}.footer-nav{gap:10px 20px}}
@media(prefers-reduced-motion:reduce){.footer-page-card,.footer-nav a{transition:none}}

.footer-page-card{text-decoration:none}
