/* Top strip: black bar, light text, close button. It sits above the header and scrolls away with the page.
   --strip-h is the strip's height (set by topstrip.js), --strip-visible is how much of it is still on screen.
   The header and the home hero start below it; both offsets reuse the site's existing variables. */
:root { --strip-h: 36px; --strip-visible: var(--strip-h); }
html.strip-closed { --strip-h: 0px; --strip-visible: 0px; }
.topstrip {
  position: absolute; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center;
  min-height: 36px; padding: 8px 52px; box-sizing: border-box;
  background: #0e0e0f; color: #f4f2ed; text-align: center;
}
html.strip-closed .topstrip, .topstrip[hidden] { display: none; }
.topstrip-text { margin: 0; font: 500 12.5px/1.35 var(--f-text, Inter, "Helvetica Neue", Arial, sans-serif); letter-spacing: .02em; color: #f4f2ed; text-wrap: balance; }
.topstrip-close {
  position: absolute; right: 10px; top: 50%; translate: 0 -50%;
  display: grid; place-items: center; width: 32px; height: 32px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: #f4f2ed; cursor: pointer;
  transition: background-color .2s ease;
}
.topstrip-close:hover { background: rgba(244, 242, 237, .16); }
.topstrip-close:focus-visible { outline: 2px solid #f4f2ed; outline-offset: 2px; }
@media (max-width: 767px) {
  .topstrip { padding: 8px 46px 8px 16px; }
  .topstrip-text { font-size: 12px; }
  .topstrip-close { right: 6px; }
}
/* Header and home hero start below the strip. The long :not(#_) chains match the weight of the site's own rules. */
html[lang] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) .masthead { top: var(--strip-visible) !important; }
html[lang]:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) { --hp-top: calc(var(--nav-h) + var(--strip-visible)); }
