/* The historical left navigation remains the desktop anchor. */
.reading-progress { position:fixed; z-index:50; top:0; left:var(--sidebar-w); right:auto; width:3px; height:100%; pointer-events:none; background:transparent; }
.reading-progress__fill { display:block; width:100%; height:100%; background:#4380c6; transform:scaleY(0); transform-origin:center top; }
body:is(.is-privacy-open,.is-menu-open,.is-lightbox-open) .reading-progress { visibility:hidden; }
@media (max-width:980px) {
 .reading-progress { left:0; right:auto; width:2px; height:100%; z-index:49; }
 .reading-progress__fill { transform:scaleY(0); transform-origin:center top; }
}
@media (max-width:980px) {
  body.is-menu-open .topbar [data-drawer-open] { visibility:hidden; }
  .drawer.drawer--navigating { transition:none !important; opacity:0 !important; visibility:hidden !important; }
  .drawer.drawer--navigating .drawer__panel { transition:none !important; }
  .topbar [data-drawer-open],.drawer .drawer__close {
    display:grid; place-items:center; width:44px; height:44px; padding:0;
    border:0 !important; border-radius:8px; background:transparent !important;
    box-shadow:none !important; filter:none !important; color:#eeefeb !important;
    cursor:pointer; transition:color 160ms ease,background-color 160ms ease,transform 100ms ease;
  }
  .topbar [data-drawer-open] svg { display:block; width:24px; height:24px; }
  .drawer .drawer__close svg { display:block; width:20px; height:20px; }
  .topbar [data-drawer-open]:active,.drawer .drawer__close:active { transform:scale(.95) !important; background:rgba(255,255,255,.06) !important; }
  .topbar [data-drawer-open]:focus-visible,.drawer .drawer__close:focus-visible { outline:2px solid #9cbce9 !important; outline-offset:2px; }
}
@media (max-width:980px) and (hover:hover) and (pointer:fine) {
  .topbar [data-drawer-open]:hover,.drawer .drawer__close:hover { background:rgba(255,255,255,.05) !important; }
}
.sidebar .nav a,.drawer__nav a {
  transition:background-color 180ms ease,color 180ms ease,transform 120ms ease;
}
.sidebar .nav a:is(.is-active,[aria-current="page"]),.drawer__nav a:is(.is-active,[aria-current="page"]) {
  background:#173b67 !important; color:#fff !important;
  border-color:transparent !important; box-shadow:none !important;
}
@media (hover:hover) and (pointer:fine) {
  .sidebar .nav a:hover,.drawer__nav a:hover {
    background:#173b67 !important; color:#fff !important;
    border-color:transparent !important; box-shadow:none !important;
  }
}
.sidebar .nav a:active,.drawer__nav a:active {
  background:#214d80 !important; color:#fff !important;
  transform:scale(.985) !important;
}
.sidebar .nav a:focus-visible,.drawer__nav a:focus-visible { outline:2px solid #9cbce9 !important; outline-offset:2px !important; }
/* Transparent native fallback and scrollbars inside dialogs. */
* { scrollbar-width:thin; scrollbar-color:#7591b8 transparent; }
@supports selector(::-webkit-scrollbar) {
  * { scrollbar-width:auto !important; scrollbar-color:auto !important; }
  *::-webkit-scrollbar { width:6px; height:6px; background:transparent; }
  *::-webkit-scrollbar-track,*::-webkit-scrollbar-track-piece { background:transparent; border:0; box-shadow:none; }
  *::-webkit-scrollbar-thumb {
    min-height:44px; min-width:44px; border:0;
    border-radius:999px; background:#7591b8; background-clip:padding-box !important;
  }
  *::-webkit-scrollbar-thumb:hover,*::-webkit-scrollbar-thumb:active { background-color:#94bdf2; }
  *::-webkit-scrollbar-button { display:none; width:0; height:0; }
  *::-webkit-scrollbar-corner { background:transparent; }
}
@media (forced-colors:active) {
  * { scrollbar-color:auto; }
  *::-webkit-scrollbar-thumb { background-color:ButtonText; }
}
.page-scrollbar { position:fixed; inset:0 0 0 auto; width:10px; z-index:49; pointer-events:none; background:none; }
.page-scrollbar[hidden],.page-scrollbar__thumb[hidden] { display:none; }
.page-scrollbar__thumb {
  position:absolute; top:0; right:2px; width:3px; min-height:44px;
  border:0; border-radius:999px; background:#7591b8; pointer-events:auto;
  touch-action:none; cursor:grab; box-shadow:none;
  transition:background-color 200ms ease; user-select:none;
}
.page-scrollbar__thumb:hover,.page-scrollbar__thumb.is-dragging { background:#94bdf2; }
.page-scrollbar__thumb.is-dragging { cursor:grabbing; }
.page-scrollbar__thumb:focus-visible { outline:2px solid #c0d7f9; outline-offset:2px; }
html.has-page-scrollbar { scrollbar-width:none !important; }
html.has-page-scrollbar::-webkit-scrollbar { display:none; width:0; height:0; }
@media (prefers-reduced-motion:reduce) { .page-scrollbar__thumb { transition:none; } }
@media (forced-colors:active) {
  .page-scrollbar { display:none; }
  html.has-page-scrollbar { scrollbar-width:auto !important; }
  html.has-page-scrollbar::-webkit-scrollbar { display:initial; width:auto; }
}
#ccFab { left:max(18px,env(safe-area-inset-left,0px)) !important; right:auto !important; bottom:max(18px,env(safe-area-inset-bottom,0px)) !important; translate:0 calc(-1 * var(--footer-overlap,0px)); transition:opacity 180ms ease,color 180ms ease,background-color 180ms ease,border-color 180ms ease; }

@media (min-width:981px) {
  #ccFab { left:calc(var(--sidebar-w) + 18px) !important; }
}
.scrolltop { bottom:max(18px,env(safe-area-inset-bottom,0px)) !important; translate:0 calc(-1 * var(--footer-overlap,0px)); }
#ccFab,.scrolltop { width:40px !important; height:40px !important; }
@media(pointer:coarse){#ccFab,.scrolltop{width:44px!important;height:44px!important}}
#ccFab svg { width:20px !important; height:20px !important; }
.scrolltop { font-size:20px !important; }
.scrolltop { padding:0; line-height:1; }
.scrolltop svg { display:block; width:16px !important; height:16px !important; flex:0 0 16px; }
.hero { min-height:72svh; }
@media (max-width:980px) {
  .hero,.page-hero { min-height:64svh; }
}
@media (max-width:980px) and (max-height:540px) {
  .hero { min-height:20rem; background-position:center top; }
}
@media (min-width:981px) {
  :root { --sidebar-expanded:224px; --sidebar-collapsed:56px; --sidebar-w:var(--sidebar-expanded); }
  :root.nav-collapsed { --sidebar-w:var(--sidebar-collapsed); }
  .sidebar { width:var(--sidebar-expanded) !important; clip-path:inset(0 0 0 0); overflow-x:hidden; }
  .nav-collapsed .sidebar { width:var(--sidebar-collapsed) !important; clip-path:none; padding-left:20px; padding-right:20px; }
  .nav-collapsed .sidebar .nav a { width:44px; padding:12px; }
  .sidebar .brand { padding-top:46px; min-height:112px; }
  .sidebar .brand a { display:block; position:relative; padding:12px 0 !important; }
  .sidebar .brand img { width:auto !important; height:55px !important; max-width:100% !important; margin-inline:auto; transform:none !important; will-change:auto; transition:opacity 180ms ease; }
  .sidebar.is-logo-exchanging .brand .logo-light{visibility:hidden!important}
  .sidebar .nav a { display:flex; align-items:center; gap:14px; min-height:48px; padding:12px 14px; white-space:nowrap; }
  .sidebar__icon { width:20px; height:20px !important; flex:0 0 20px; }
  .sidebar__label { display:inline-block; }
  .sidebar__toggle { position:fixed; z-index:51; left:calc(var(--sidebar-w) - 1px); top:calc(50% - 20px); width:26px; height:40px; border:1px solid var(--line) !important; border-left:0 !important; border-radius:0 10px 10px 0; background:var(--panel) !important; box-shadow:none !important; filter:none !important; transform:none; color:var(--muted); display:grid; place-items:center; padding:0; cursor:pointer; translate:0 0; scale:1; transform-origin:left center; transition:color 180ms ease,scale 240ms cubic-bezier(.22,1,.36,1); }
  .sidebar__toggle,.sidebar__toggle:is(:hover,:active,:focus) { background:var(--panel) !important; border-color:var(--line) !important; box-shadow:inset 7px 0 9px -7px rgba(0,0,0,.34) !important; filter:none !important; }
  .sidebar__toggle::before { content:""; position:absolute; inset:-2px -8px -2px -10px; background:transparent; }
  .sidebar__toggle::after { content:none !important; }
  .sidebar__toggle svg { width:16px; height:16px; scale:1; transform-origin:center; transition:transform 240ms cubic-bezier(.23,1,.32,1),scale 120ms cubic-bezier(.23,1,.32,1),translate 240ms cubic-bezier(.22,1,.36,1); }
  .sidebar__toggle:active { translate:0 0; scale:1.03 1; }
  .sidebar__toggle:active svg { scale:.9; }
  .nav-collapsed .sidebar__toggle svg { transform:rotate(180deg); }
  .sidebar__initial { display:none; width:44px; height:44px; flex:0 0 44px; background:url("../img/monogram.svg?v=20261129_1") center / 44px auto no-repeat; font-size:0; line-height:0; }
  .nav-collapsed .sidebar .brand { justify-content:flex-start; }
  .nav-collapsed .sidebar .brand a { display:flex; align-items:center; justify-content:center; width:44px; min-width:44px; padding:0 !important; margin:0 !important; }
  .nav-collapsed .sidebar .brand img { display:none; }
  .nav-collapsed .sidebar__initial { display:block; }
  .nav-collapsed .sidebar__label { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .sidebar__toggle:focus-visible { outline:2px solid #8bbaff !important; outline-offset:-4px !important; }
  html:not(.nav-collapsed) .sidebar { padding-inline:20px; }
  html:not(.nav-collapsed) .sidebar .brand img { width:100% !important; height:auto !important; max-height:55px; object-fit:contain; }
  html:not(.nav-collapsed) .sidebar .nav { gap:4px; }
  html:not(.nav-collapsed) .sidebar .nav a {
    min-height:48px; padding:13px 14px; border:0 !important;
    border-left:2px solid transparent !important; border-radius:0;
    background:transparent !important; color:#e0e3de;
    font-size:1rem; font-weight:400; letter-spacing:0; text-transform:none;
  }
  html:not(.nav-collapsed) .sidebar .sidebar__icon { display:none; }
  html:not(.nav-collapsed) .sidebar .nav a:is(.is-active,[aria-current="page"]) {
    background:transparent !important; border-left-color:#75a3df !important;
    color:#a8c8f3 !important; font-weight:600;
  }
}
@media (min-width:981px) and (hover:hover) and (pointer:fine) {
  html:not(.nav-collapsed) .sidebar .nav a:hover { background:#323536 !important; color:#fff; }
}
@media (max-width:980px) {
  .sidebar__toggle,.sidebar__initial { display:none; }
}
@media (hover:hover) and (pointer:fine) {
  .sidebar__toggle:hover { color:var(--text); scale:1.12 1; }
  .sidebar__toggle:hover svg { translate:-2px 0; }
  .nav-collapsed .sidebar__toggle:hover svg { translate:2px 0; }
}
.obelisk__media,.feature__media {
  min-height:0 !important;
  aspect-ratio:.65;
  width:100%; max-width:680px; margin-inline:auto;
  overflow:visible !important;
}
.obelisk__img,.feature__img { width:min(440px,86%) !important; }
.obelisk__img--front,.feature__img--front {
  width:min(480px,88%) !important;
  top:clamp(64px,8vw,112px) !important;
}
.obelisk__img--front { top:clamp(112px,14vw,200px) !important; }
@media (prefers-reduced-motion:reduce) { .sidebar__toggle svg { transition:none; } }
@media (forced-colors:active) { .sidebar__toggle:focus-visible { outline:2px solid ButtonText; } }
/* Keep the SVG lettering on its native vector paint path, without filtered image layers. */
.hero__logo img,.topbar__logo img,.sidebar .brand img {
  filter:none !important; image-rendering:auto !important;
  transform:none !important; will-change:auto !important; backface-visibility:visible;
}

@media(prefers-reduced-motion:reduce){.sidebar__toggle,.sidebar__toggle:hover,.sidebar__toggle:active{transition:none;scale:1}.sidebar__toggle svg,.sidebar__toggle:hover svg,.nav-collapsed .sidebar__toggle:hover svg{translate:0 0}}

/* Keep the mobile header and progress rail on the same viewport anchor. */
body:is(.is-privacy-open,.is-menu-open,.is-lightbox-open) .reading-progress,
.reading-progress[inert]{display:none!important}
@media(max-width:980px){
 body{padding-top:calc(68px + env(safe-area-inset-top,0px))}
 .topbar{position:fixed!important;top:0;left:0;right:0;width:100%;z-index:50;padding-top:env(safe-area-inset-top,0px)}
 .reading-progress{top:var(--mobile-nav-height,calc(68px + env(safe-area-inset-top,0px)));z-index:49}
 html{scroll-padding-top:calc(var(--mobile-nav-height,68px) + 16px)}
 .topbar{clip-path:inset(0 0 0 0);transition:clip-path 240ms cubic-bezier(.23,1,.32,1)}
 .topbar__inner{transition:translate 240ms cubic-bezier(.23,1,.32,1)}
 .topbar .topbar__logo{position:relative;display:block;width:170px;height:44px;line-height:0}
 .topbar .topbar__logo>img{position:absolute;left:0;top:0;width:170px;height:44px!important;object-fit:contain;object-position:left center}
 .topbar .topbar__logo>.topbar__initial{display:none;width:44px}
 .topbar.is-compact{clip-path:inset(0 0 12px 0)}
 .topbar.is-compact .topbar__inner{translate:0 -6px}
 .topbar.is-compact .topbar__logo{width:44px}
 .topbar.is-compact .topbar__logo>img:not(.topbar__initial){display:none}
 .topbar.is-compact .topbar__logo>.topbar__initial{display:block}
 .topbar.is-logo-exchanging .logo-light{visibility:hidden!important}
}
@media(prefers-reduced-motion:reduce){.topbar,.topbar__inner{transition:none!important}}
