/* Inset footer, using the navigation's liquid glass treatment. */
body>footer{width:calc(100% - 40px);max-width:none;margin:20px auto 96px;padding:18px 26px;border-radius:24px;border:1px solid rgba(130,130,145,.16);background:rgba(245,245,247,.55);-webkit-backdrop-filter:blur(28px) saturate(165%);backdrop-filter:blur(28px) saturate(165%);box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 8px 28px rgba(0,0,0,.05)}
body>footer .foot{max-width:none;gap:20px;align-items:center}
body>footer .footer-meta{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px 22px}
body:is(.architecture-page,.about-page)>footer,html[data-site-theme="dark"] body>footer{background:rgba(26,26,30,.55);border-color:rgba(255,255,255,.14);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 8px 28px rgba(0,0,0,.14)}
@media(max-width:760px){body>footer{width:calc(100% - 24px);margin-top:12px;margin-bottom:84px;padding:18px 20px;border-radius:20px}body>footer .foot{gap:14px}body>footer .footer-meta{justify-content:flex-start}}
@media(prefers-reduced-transparency:reduce){body>footer{background:var(--paper);-webkit-backdrop-filter:none;backdrop-filter:none}body:is(.architecture-page,.about-page)>footer,html[data-site-theme="dark"] body>footer{background:#1c1c1e}}
@media print{body>footer{margin-bottom:0;box-shadow:none}}

/* Centre the wordmark itself; the trademark does not affect its line box. */
body>footer .footer-brand-group{align-items:center}
body>footer .foot .brand{position:relative;display:inline-block;line-height:1;padding-right:11px;align-self:center;transform:translateY(-1px)}
body>footer .foot .brand sup{position:absolute;top:0;right:0;font-size:8px;line-height:1;letter-spacing:0;margin:0;vertical-align:baseline;transform:none}

/* Slim footer capsule, matching the 56px navigation bubbles. */
body>footer{padding:10px 26px;min-height:56px;border-radius:28px}
body>footer .foot{min-height:34px}
@media(max-width:760px){body>footer{padding:10px 18px;border-radius:24px}body>footer .foot{gap:8px}body>footer .footer-meta{gap:4px 16px}}

/* Leave the same gap above the fixed bubbles as between the bubbles. */
body>footer{margin-bottom:calc(78px + env(safe-area-inset-bottom))}
@media(max-width:760px){body>footer{margin-bottom:calc(66px + env(safe-area-inset-bottom))}}
@media print{body>footer{margin-bottom:0}}

/* Align the footer edges with the outer desktop navigation bubbles. */
@media(min-width:1101px){body>footer{width:calc(100% - 48px);max-width:992px}}
@media(min-width:761px) and (max-width:1100px){body>footer{width:calc(100% - 24px);max-width:1016px}}

/* Official wordmark: black on light pages, white on dark pages. */
body>footer .foot .brand{padding:0;transform:none;line-height:0}
body>footer .foot .brand .footer-logo{display:block;width:120px;height:auto;max-width:none;filter:none}
body:is(.architecture-page,.about-page)>footer .foot .brand{background:transparent;padding:0;border-radius:0}

/* The footer is the final row, with room for the contact bubbles above it. */
body>footer{
 --footer-content-gap:20px;
 --footer-actions-gap:12px;
 margin-top:var(--footer-actions-gap);
 margin-bottom:calc(16px + env(safe-area-inset-bottom));
}
@media(max-width:760px){
 body>footer{
  --footer-content-gap:12px;
  --footer-actions-gap:8px;
  padding:6px 14px;
  border-radius:20px;
  margin-bottom:calc(10px + env(safe-area-inset-bottom));
 }
 body>footer .foot{min-height:0;gap:2px;flex-wrap:wrap}
 body>footer .footer-brand-group{width:100%;gap:12px;justify-content:space-between}
 body>footer .foot .brand .footer-logo{width:96px}
 body>footer .footer-socials a{width:28px;height:28px}
 body>footer .footer-meta{
  width:100%;
  justify-content:space-between;
  gap:2px 10px;
  font-size:9px;
  line-height:1.35;
 }
 body>footer .footer-meta a{padding-block:0}
}
@media print{body>footer{margin-block:20px 0}}
