.final-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 80px;
  padding: 0;
  border-bottom: 1px solid rgba(16, 28, 51, 0.12);
  background: rgba(246, 243, 236, 0.95);
  backdrop-filter: blur(18px);
}

.final-header .ibv2-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1360px;
  min-height: 80px;
  margin: 0 auto;
  padding: 0 clamp(28px, 5vw, 72px);
  gap: clamp(32px, 4vw, 56px);
}

.final-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
  padding-right: clamp(24px, 3vw, 42px);
  border-right: 1px solid rgba(16, 28, 51, 0.14);
  color: #071c33;
  text-decoration: none;
}

.final-header .ibv2-seal {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  color: #071c33;
}

.final-header .ring-text {
  font-family: "IBM Plex Mono", "Inter", sans-serif;
  font-size: 4.4px;
  letter-spacing: 1px;
  fill: currentColor;
  text-transform: uppercase;
}

.final-header .mono {
  font-family: "IBM Plex Mono", "Inter", sans-serif;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.final-header .ibv2-brand-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.final-header .ibv2-brand-name span {
  font-family: "Inter", sans-serif;
  font-size: 9px;
  font-weight: 500;
  color: #7a8491;
  letter-spacing: 0.08em;
}

.final-header .nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
  gap: clamp(16px, 2vw, 28px);
  padding: 0;
  font-family: "Inter", sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.2;
}

.final-header .nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.final-header .nav-toggle-label {
  display: none;
}

.theme-seal .final-header,
.ibv2-home .final-header {
  min-height: 80px;
  padding: 0;
  background: rgba(246, 243, 236, 0.95);
}

.theme-seal .final-header .ibv2-nav,
.ibv2-home .final-header .ibv2-nav {
  min-height: 80px;
  padding: 0 clamp(28px, 5vw, 72px);
}

.final-header .nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: #243044;
  text-decoration: none;
  white-space: nowrap;
}

.final-header .nav a:hover,
.final-header .nav a:focus-visible {
  color: #071c33;
}

.final-header .nav .highlight,
.final-header .nav .active,
.final-header .nav [aria-current="page"] {
  color: #a8792c;
}

.final-header .nav .cta {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #071c33;
  border-radius: 0;
  background: transparent;
  color: #071c33;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: none;
}

.final-header .nav .cta:hover,
.final-header .nav .cta:focus-visible {
  background: #071c33;
  color: #ffffff;
}

@media (max-width: 1120px) {
  .final-header {
    position: relative;
    min-height: auto;
  }

  .final-header .ibv2-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-height: auto;
    padding: 16px 24px;
    gap: 12px;
  }

  .final-header .brand {
    min-width: 0;
    justify-self: start;
    padding-right: 0;
    border-right: 0;
  }

  .final-header .nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 6px;
    padding: 8px 0;
    border-top: 1px solid rgba(16, 28, 51, 0.12);
    font-size: 12px;
  }

  .final-header .nav-toggle-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 86px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(16, 28, 51, 0.28);
    color: #071c33;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    user-select: none;
  }

  .final-header .nav-toggle-icon span {
    display: block;
    width: 16px;
    height: 1.5px;
    background: currentColor;
  }

  .final-header .nav-toggle-icon {
    display: grid;
    gap: 4px;
  }

  .final-header .nav-toggle:focus-visible + .nav-toggle-label {
    outline: 2px solid #a8792c;
    outline-offset: 3px;
  }

  .final-header .nav-toggle:checked ~ .nav {
    display: grid;
  }

  .final-header .nav a,
  .final-header .nav .cta {
    justify-content: flex-start;
    min-height: 44px;
    padding: 0 4px;
    border: 0;
    border-bottom: 1px solid rgba(16, 28, 51, 0.1);
    font-size: 12px;
    text-align: left;
    white-space: normal;
    line-height: 1.2;
  }

  .final-header .nav .cta {
    margin-top: 6px;
    padding: 0 12px;
    justify-content: center;
    border: 1px solid #071c33;
  }

  .theme-seal .final-header .nav a,
  .theme-seal .final-header .nav .cta,
  .ibv2-home .final-header .nav a,
  .ibv2-home .final-header .nav .cta {
    font-size: 12px;
  }

  .theme-seal .final-header,
  .ibv2-home .final-header {
    min-height: auto;
  }

  .theme-seal .final-header .ibv2-nav,
  .ibv2-home .final-header .ibv2-nav {
    min-height: auto;
    padding: 16px 24px;
  }
}

@media (max-width: 680px) {
  .final-header .ibv2-nav {
    padding-inline: 20px;
  }

  .final-header .ibv2-brand-name {
    font-size: 12px;
    white-space: normal;
  }

  .final-header .ibv2-brand-name span {
    font-size: 8px;
  }

  .final-header .nav {
    grid-template-columns: 1fr;
  }

  .theme-seal .final-header .ibv2-nav,
  .ibv2-home .final-header .ibv2-nav {
    padding-inline: 20px;
  }
}
