.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  width: 100%;
  border: 0;
  color: #f4f5f5;
  background: linear-gradient(rgb(0 0 0 / 55%), transparent 95%);
  backdrop-filter: none;
  transition: opacity .3s;
}

.site-header.is-scroll-hidden { opacity: 0; pointer-events: none; }
.site-header.is-scroll-hidden:focus-within { opacity: 1; pointer-events: auto; }
.site-header.is-content-nav { background: #08080a; box-shadow: inset 0 -1px rgb(240 240 250 / 14%); }
.site-header.is-content-nav .header-shadow { display: none; }
.header-shadow, .menu-backdrop { position: absolute; inset: 0 0 auto; pointer-events: none; }
.header-shadow { height: 300px; background: linear-gradient(rgb(0 0 0 / 46%), transparent); }
.menu-backdrop {
  height: 360px;
  opacity: 0;
  background: linear-gradient(rgb(0 0 0 / 78%), rgb(0 0 0 / 52%) 38%, rgb(0 0 0 / 23%) 70%, transparent);
  transition: opacity .3s;
}
.has-open-menu .menu-backdrop { opacity: 1; }
.header-nav { position: relative; display: flex; align-items: center; gap: 40px; padding: 24px 60px; }
.top-bar { display: flex; align-items: center; height: 28px; }
.site-logo {
  position: relative;
  z-index: 2;
  width: 147px;
  min-height: 28px;
}
.site-header .menu-toggle { display: none; }
.header-navigation { display: flex; align-items: center; }
.nav-links { display: flex; align-items: center; gap: 24px; list-style: none; padding: 0; margin: 0; }
.nav-item { position: relative; }
.nav-label, .submenu a {
  color: rgb(244 245 245 / 90%);
  font-family: var(--page-font, Arial, sans-serif);
  font-size: .8125rem;
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: .055em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-label {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 13px 0 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.submenu-toggle { padding-right: 3px; }
.nav-label:hover, .submenu a:hover { color: #fff; }
.nav-chevron { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 10px; height: 10px; }
.nav-chevron::before {
  content: "";
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-1px) rotate(45deg);
  transition: transform .2s;
}
[aria-expanded="true"] .nav-chevron::before { transform: translateY(2px) rotate(225deg); }
.submenu-toggle:not([aria-expanded="true"]) .nav-chevron { visibility: hidden; }
.submenu {
  position: absolute;
  top: -18px;
  left: -20px;
  display: none;
  flex-direction: column;
  min-width: max-content;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 60px 20px 10px;
}
.submenu.is-open { display: flex; }
.submenu li { line-height: 1.12; }

.quick-access { position: absolute; right: 5%; width: 263px; color: #f4f5f5; }
.quick-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 33px;
  padding: 0 10px;
  border: 1px solid rgb(255 255 255 / 26%);
  border-radius: 4px;
  background: transparent;
  color: rgb(244 245 245 / 90%);
  cursor: pointer;
  font: 500 .75rem/1 var(--page-font, Arial, sans-serif);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.quick-heading { display: none; }
.quick-panel {
  position: absolute;
  top: 33px;
  left: 0;
  width: 100%;
  padding: 20px 10px 20px 6px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  backdrop-filter: blur(6px);
  transition: opacity .3s;
}
.quick-access[data-open="true"] .quick-panel { opacity: 1; visibility: visible; pointer-events: auto; }
.quick-cards { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.quick-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 0 16px;
  border: 0;
  border-bottom: 1px solid rgb(255 255 255 / 25%);
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.quick-card-content { display: flex; gap: 8px; align-items: center; }
.quick-card img { display: block; width: 64px; height: 64px; flex: none; border-radius: 8px; object-fit: cover; }
.quick-card-copy { display: inline-flex; flex-direction: column; gap: 8px; min-width: 0; }
.quick-title { font: 650 1rem/1.2 var(--page-font, Arial, sans-serif); }
.quick-description { color: rgb(244 245 245 / 81%); font: 400 .8125rem/1.25 var(--page-font, Arial, sans-serif); }
.quick-all {
  align-self: stretch;
  min-height: 34px;
  padding: 5px;
  border: 0;
  background: transparent;
  color: rgb(244 245 245 / 90%);
  font: 650 .8125rem/1.15 var(--page-font, Arial, sans-serif);
  text-transform: uppercase;
  cursor: pointer;
}
.quick-all:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.quick-access-inline { display: none; }
.site-header :is(a, button):focus-visible, .quick-access-inline button:focus-visible { outline: 1px solid #fff; outline-offset: 5px; }

@media (max-width: 1500px) {
  .header-nav { gap: 30px; padding: 24px 40px; }
  .nav-links { gap: 18px; }
  .quick-access { right: 3%; }
}

@media (max-width: 1350px) {
  .nav-links { gap: 12px; }
  .quick-access { right: 2%; width: 199px; }
}

@media (width < 1280px) {
  .is-navigation-open, .is-navigation-open body { overflow: hidden; }
  .header-nav { display: block; padding: 24px 0; }
  .top-bar { justify-content: space-between; align-items: center; height: 28px; padding: 0 12px 0 16px; }
  .site-header .menu-toggle {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #eceef0;
    cursor: pointer;
  }
  .site-header .menu-toggle span { display: block; width: 24px; height: 1px; background: currentColor; }
  .site-header .menu-toggle[aria-expanded="true"] span:first-child { width: 22px; transform: translateY(7px) rotate(45deg); }
  .site-header .menu-toggle[aria-expanded="true"] span:nth-child(2) { visibility: hidden; transform: none; }
  .site-header .menu-toggle[aria-expanded="true"] span:last-child { width: 22px; transform: translateY(-7px) rotate(-45deg); }
  .header-navigation { display: none; }
  .site-header.is-mobile-open { height: 100svh; overflow-y: auto; overscroll-behavior: contain; background: #050706; }
  .site-header.is-mobile-open :is(.header-shadow, .menu-backdrop) { display: none; }
  .site-header.is-mobile-open .header-navigation { display: block; padding-top: 35px; }
  .nav-links { flex-direction: column; align-items: flex-start; gap: 35px; margin: 0 16px; }
  .nav-item { width: 100%; }
  .nav-label { width: max-content; color: rgb(244 245 245 / 82%); font-size: 1.125rem; line-height: 1.2; }
  .nav-label[aria-expanded="true"] { color: #fff; }
  .submenu-toggle:not([aria-expanded="true"]) .nav-chevron { visibility: visible; }
  .submenu { position: static; gap: 24px; padding: 24px 0 0; }
  .submenu a { color: rgb(244 245 245 / 84%); font-size: .875rem; font-weight: 450; }
  .quick-access { position: static; width: 100%; margin-top: 20px; padding: 30px 12px 16px 16px; }
  .quick-toggle { display: none; }
  .quick-heading { display: block; margin: 0; color: rgb(244 245 245 / 84%); font: 650 1.125rem/1.7 var(--page-font, Arial, sans-serif); letter-spacing: .05em; }
  .quick-panel { position: static; width: 100%; padding: 8px 0 40px; opacity: 1; visibility: visible; pointer-events: auto; backdrop-filter: none; }
  .quick-all { align-self: end; min-height: 40px; }
}

@media (max-width: 961px) {
  .quick-access-inline { display: block; margin-top: 0; background: #050706; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header, .site-header *, .quick-access-inline * { transition: none !important; }
}
