.efg-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
}
.efg-header__inner {
  position: relative;
  gap: clamp(0.85rem, 1.6vw, 1.5rem);
  min-width: 0;
}
.efg-header__brand {
  text-decoration: none;
  flex: 0 0 auto;
}
.efg-header__brand-mark {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 999px;
  background: var(--color-accent-graphite);
  box-shadow: 0 12px 26px rgba(12, 9, 5, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.efg-header__brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 83%;
  transform: scale(1.45);
}
.efg-header__brand-orbit {
  position: absolute;
  inset: 6px;
  border-radius: inherit;
  border: 1px dashed rgba(249, 245, 238, 0.7);
}
.efg-header__brand-glyph {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1px solid rgba(249, 245, 238, 0.9);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
  background: linear-gradient(135deg, rgba(249, 245, 238, 0.9), rgba(255, 214, 170, 0.9));
}
.efg-header__toggle {
  position: relative;
  width: 42px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(33, 37, 41, 0.16);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(246, 239, 230, 0.95));
  display: none;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(12, 9, 5, 0.08);
}
.efg-header__toggle-bar {
  width: 18px;
  height: 1.5px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(196, 106, 61, 0.3), var(--color-accent-primary));
  transition: transform var(--transition-bounce), opacity var(--transition-fast);
}
.efg-header__toggle.is-active .efg-header__toggle-bar:first-child {
  transform: translateY(2px) rotate(42deg);
}
.efg-header__toggle.is-active .efg-header__toggle-bar:last-child {
  transform: translateY(-2px) rotate(-42deg);
}
.efg-header__nav {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}
.efg-header__nav ul {
  margin-bottom: 0;
}
.efg-header__menu {
  list-style: none;
  justify-content: flex-end;
  gap: clamp(0.65rem, 1.25vw, 1.35rem);
  min-width: 0;
}
.efg-header__menu-item {
  display: flex;
  align-items: center;
}
.efg-header__link {
  text-decoration: none;
  white-space: nowrap;
}
.efg-header__cta {
  display: flex;
  align-items: center;
}
.efg-header__mobile-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-overlay-subtle);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  z-index: calc(var(--z-sticky) - 1);
}
.efg-header__mobile-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}
@media (max-width: 1239.98px) {
  .efg-header__menu {
    gap: 0.75rem;
    font-size: 0.72rem;
    letter-spacing: 0.13em;
  }
}
@media (max-width: 1179.98px) {
  .efg-header__toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }
  .efg-header__nav {
    position: fixed;
    inset: calc(var(--nav-height) + 0.25rem) var(--space-md) auto;
    border-radius: var(--radius-card-lg);
    background: radial-gradient(circle at 0 0, rgba(255, 214, 170, 0.3), transparent 55%), radial-gradient(circle at 100% 0, rgba(26, 127, 90, 0.24), transparent 55%), var(--color-accent-graphite-soft);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: var(--shadow-elevated);
    transform-origin: top right;
    transform: scale(0.96) translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal), transform var(--transition-bounce);
    z-index: var(--z-dropdown);
  }
  .efg-header__nav::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-image: radial-gradient(circle at 0 0, rgba(255, 214, 170, 0.4), transparent 60%), radial-gradient(circle at 100% 0, rgba(26, 127, 90, 0.4), transparent 60%);
    mix-blend-mode: screen;
    opacity: 0.7;
    pointer-events: none;
  }
  .efg-header__nav::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: calc(var(--radius-card-lg) - 1px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    pointer-events: none;
  }
  .efg-header__nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1) translateY(0);
  }
  .efg-header__menu {
    display: flex;
    flex-direction: column;
    padding: var(--space-md) var(--space-lg) var(--space-md);
    gap: 0.6rem;
  }
  .efg-header__menu-item {
    justify-content: flex-start;
  }
  .efg-header__link {
    width: 100%;
    padding: 0.3rem 0;
    font-family: var(--font-accent);
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(249, 245, 238, 0.8);
  }
  .efg-header__link.nav__link--active {
    color: #fff;
  }
}
@media (max-width: 575.98px) {
  .efg-header__brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
  .efg-header__nav {
    inset: calc(var(--nav-height) + 0.35rem) var(--space-sm) auto;
  }
}
