/* Shared navigation used by the homepage and About page. */
.site-topbar {
  background: var(--deep, #0d1820);
  color: #f3f1ec;
}
.site-header-sticky {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--deep, #0d1820);
  color: #f3f1ec;
}
.announcement-bar {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 8px 20px;
  background: #1b2723;
  color: rgba(243, 241, 236, 0.72);
  font-size: 14px;
  line-height: 1.4;
}
.announcement-bar p {
  margin: 0;
}
.announcement-bar strong {
  color: #f3f1ec;
  font-weight: 500;
  white-space: nowrap;
}
.announcement-bar__divider {
  height: 20px;
  width: 1px;
  background: rgba(243, 241, 236, 0.28);
}
.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-block: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.34em;
}
.brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.desktop-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 14px;
  color: rgba(243, 241, 236, 0.82);
}
.desktop-nav a,
.header-cta,
.text-link {
  transition: opacity 0.2s ease;
}
.mobile-menu-cta {
  display: none;
}
.desktop-nav a:hover,
.header-cta:hover,
.text-link:hover {
  opacity: 0.68;
}
.header-cta {
  justify-self: end;
  border: 1px solid rgba(243, 241, 236, 0.45);
  padding: 14px 20px;
  font-size: 14px;
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: white;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
  margin: 6px;
}
@media (max-width: 900px) {
  .desktop-nav {
    gap: 16px;
    font-size: 12px;
  }
  .site-header {
    grid-template-columns: 1fr auto auto;
    gap: 18px;
  }
  .header-cta {
    padding: 12px 14px;
  }
}
@media (max-width: 640px) {
  .announcement-bar {
    min-height: 0;
    flex-direction: column;
    gap: 4px;
    padding: 8px 16px;
    font-size: 10px;
    line-height: 14px;
    text-align: center;
  }
  .announcement-bar p {
    max-width: 100%;
  }
  .announcement-bar strong {
    white-space: normal;
  }
  .announcement-bar__divider {
    display: none;
  }
  .site-header {
    display: flex;
    justify-content: space-between;
    padding-block: 16px;
  }
  .brand {
    font-size: 11px;
    gap: 10px;
    letter-spacing: 0.28em;
  }
  .brand img {
    width: 25px;
    height: 25px;
  }
  .desktop-nav {
    display: none;
  }
  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .desktop-nav.is-open {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 20px;
    background: #0d1820;
    height:100vh;
  }
  .desktop-nav.is-open a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid #ffffff25;
    font-size: 14px;
  }
  .desktop-nav.is-open .mobile-menu-cta {
    display: block;
    width: max-content;
    margin-top: 24px;
    padding: 14px 20px;
    border: 1px solid rgba(243, 241, 236, 0.45);
    border-bottom: 1px solid rgba(243, 241, 236, 0.45);
  }
}

@media (max-width: 1260px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .site-header {
    grid-template-columns: 1fr auto auto;
  }
}
