/* Persistent navigation, shared by the landing page and every content route. */
html:root { --sticky-header-height:100px; scroll-padding-top:calc(var(--sticky-header-height) + 16px); }
body .site-header,body .sub-header { position:sticky; top:0; z-index:40; }
body .mobile-nav:not([hidden]),body .sub-mobile-nav:not([hidden]) { position:absolute; inset:100% 0 auto; background:#faf9f6; max-height:calc(100dvh - var(--sticky-header-height)); overflow-y:auto; overscroll-behavior:contain; }
body > .floating-top { position:fixed; z-index:35; right:max(24px,env(safe-area-inset-right)); bottom:calc(24px + env(safe-area-inset-bottom)); display:flex; align-items:center; justify-content:center; width:48px; height:48px; margin:0; padding:0; border:1px solid #cbbbab; border-radius:3px; background:#faf9f6; color:#945235; box-shadow:0 4px 18px #25252312; text-decoration:none; font:24px/1 Archivo,sans-serif; transition:background-color .15s,color .15s; }
body > .floating-top[hidden] { display:none; }
body > .floating-top svg { width:18px; height:18px; transform:rotate(-45deg); }
body > .floating-top:hover { background:#252523; color:#faf9f6; }
body > .floating-top:focus-visible { outline:2px solid #945235; outline-offset:4px; }
body:has(.privacy-panel:not([hidden]),.mobile-nav:not([hidden]),.sub-mobile-nav:not([hidden]),input:focus,textarea:focus,select:focus) > .floating-top { visibility:hidden; }
@media(max-width:760px) {
  html:root { --sticky-header-height:80px; }
  body > .floating-top { right:max(16px,env(safe-area-inset-right)); bottom:calc(16px + env(safe-area-inset-bottom)); }
}
@media(prefers-reduced-motion:reduce) { body > .floating-top { transition:none; } }
