.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #000;
  color: #fff;
  padding: 12px 0;
  font-size: 10px;
  font-family: Helvetica, Arial, sans-serif;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #fff;
}

.header-left {
  position: absolute;
  left: 15px;
  display: flex;
  align-items: center;
}

.header-right {
  position: absolute;
  right: 15px;
}

.header-left a,
.header-right a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  padding: 4px 8px;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
  box-sizing: border-box;
}

.header-left a:active,
.header-left a:focus-visible,
.header-right a:active,
.header-right a:focus-visible {
  text-decoration: none;
}

.header-left > a + a {
  margin-left: 15px;
}

.nav-dropdown {
  display: inline-block;
  position: relative;
}

.header-left > * + * {
  margin-left: 15px;
}

.nav-trigger {
  background: none;
  border: none;
  color: inherit;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
  padding: 4px 8px;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
  box-sizing: border-box;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.nav-trigger:focus-visible {
  outline: 1px dashed currentColor;
  outline-offset: 3px;
}

.header-left a:hover,
.header-right a:hover,
.nav-trigger:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  text-decoration: none !important;
}

.nav-menu {
  display: flex;
  position: fixed;
  top: var(--nav-offset, 48px); /* hug the header */
  left: 0;
  right: 0;
  width: 100vw;
  padding: 0;
  background: #000;
  border-top: none; /* visually attached to header */
  border-bottom: 1px solid #fff;
  z-index: 10000;
  box-shadow: none;
  text-align: left; /* ensure alignment is consistent even if page body is centered */
  box-sizing: border-box;
  gap: 0;
  flex-direction: column;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: scaleY(0.9);
  transform-origin: top center;
  pointer-events: none;
  transition: max-height 240ms ease, opacity 240ms ease, transform 240ms ease;
}

.nav-dropdown.open .nav-menu {
  max-height: 80vh;
  opacity: 1;
  transform: scaleY(1);
  pointer-events: auto;
  align-items: stretch;
}

.nav-menu a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  padding: 14px 24px;
  margin: 0 !important; /* override page-level link margins */
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}

.nav-title {
  flex: 0 0 48%;
}

.nav-medium {
  flex: 0 0 34%;
  text-align: center;
  font-size: 12px;
  opacity: 0.9;
}

.nav-year {
  flex: 0 0 auto;
  margin-left: auto;
  font-size: 12px;
  letter-spacing: 0.06em;
  opacity: 0.8;
  text-align: right;
}

@media (max-width: 720px) {
  .nav-medium {
    display: none;
  }
  .nav-title {
    flex: 1 1 auto;
  }
}

.nav-menu a + a {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a:visited {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
