.orie-header {
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #dce5ee;
  backdrop-filter: blur(18px);
  font-family: Inter, Arial, sans-serif;
}

.orie-header,
.orie-header * {
  box-sizing: border-box;
}

.orie-header__inner {
  width: min(1180px, calc(100% - 48px));
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  margin: 0 auto;
}

.orie-header__brand {
  width: 190px;
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.orie-header__brand img {
  display: block;
  width: 100%;
  height: auto;
}

.orie-header__brand-text {
  display: none;
  align-items: flex-end;
  gap: 3px;
  color: #12b9ee;
  font-size: 2.2rem;
  font-weight: 900;
  font-style: italic;
  line-height: 0.85;
}

.orie-header__brand-text small {
  margin-bottom: 3px;
  padding: 1px 3px;
  color: #147cff;
  border: 2px solid #12b9ee;
  font-size: 0.55rem;
  font-style: normal;
}

.orie-header__panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.orie-header__menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.orie-header__menu a {
  position: relative;
  display: inline-flex;
  padding: 30px 0;
  color: #0a1628;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.orie-header__menu a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  height: 3px;
  background: #12b9ee;
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.orie-header__menu a:hover,
.orie-header__menu a:focus-visible,
.orie-header__menu a.is-active {
  color: #147cff;
}

.orie-header__menu a:hover::after,
.orie-header__menu a:focus-visible::after,
.orie-header__menu a.is-active::after {
  transform: scaleX(1);
}

.orie-header__toggle,
.orie-header__close {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.orie-header__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
}

.orie-header__toggle span:not(.screen-reader-text) {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: #0a1628;
  border-radius: 3px;
}

.orie-header__close {
  display: none;
}

html.orie-header-menu-open,
html.orie-header-menu-open body {
  overflow: hidden;
}

@media (max-width: 900px) {
  .orie-header__inner {
    min-height: 78px;
  }

  .orie-header__brand {
    width: 168px;
  }

  .orie-header__toggle {
    display: block;
  }

  .orie-header__panel {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 88px 28px;
    background: linear-gradient(135deg, #04142d, #0b4f9b 58%, #147cff);
  }

  .orie-header__panel.is-open {
    display: flex;
  }

  .orie-header__menu {
    display: grid;
    gap: 24px;
    text-align: center;
  }

  .orie-header__menu a {
    justify-content: center;
    padding: 0 0 12px;
    color: #ffffff;
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 900;
    text-transform: uppercase;
  }

  .orie-header__menu a:hover,
  .orie-header__menu a:focus-visible,
  .orie-header__menu a.is-active {
    color: #bff5ff;
  }

  .orie-header__menu a::after {
    bottom: 0;
    background: #bff5ff;
  }

  .orie-header__close {
    position: absolute;
    top: 28px;
    right: 28px;
    display: block;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 50%;
  }

  .orie-header__close span {
    position: absolute;
    top: 23px;
    left: 13px;
    width: 22px;
    height: 2px;
    background: #ffffff;
  }

  .orie-header__close span:first-child {
    transform: rotate(45deg);
  }

  .orie-header__close span:last-child {
    transform: rotate(-45deg);
  }
}

@media (max-width: 560px) {
  .orie-header__inner {
    width: calc(100% - 32px);
  }
}
