.ocdata-sticky-header {
  position: relative;
  z-index: 90;
}

/* Guard the marketing site from third-party global heading rules. */
.elementor-widget-heading .elementor-heading-title {
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.ocdata-sticky-header__bar {
  backdrop-filter: none;
  background: var(--ocdata-header-bg, rgba(10, 21, 36, 0));
  border-bottom: 1px solid rgba(26, 45, 68, 0);
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  transition:
    background-color 500ms ease,
    border-color 500ms ease,
    box-shadow 500ms ease,
    backdrop-filter 500ms ease;
  z-index: 90;
}

.ocdata-sticky-header__inner {
  align-items: center;
  display: flex;
  gap: 20px;
  height: var(--ocdata-header-height, 96px);
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--ocdata-header-max-width, 1400px);
  padding: 0 48px;
  transition: height 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.ocdata-sticky-header__brand {
  align-items: center;
  color: var(--ocdata-header-text-active, #f4f0e8);
  display: inline-flex;
  flex: 0 0 auto;
  max-width: min(44vw, var(--ocdata-header-logo-width, 146px));
  text-decoration: none;
}

.ocdata-sticky-header__logo {
  display: block;
  height: auto;
  max-width: var(--ocdata-header-logo-width, 146px);
  object-fit: contain;
  transition: max-width 500ms cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.ocdata-sticky-header__brand-fallback {
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  line-height: 1;
}

.ocdata-sticky-header__nav {
  align-items: center;
  display: none;
  gap: 40px;
  justify-content: center;
}

.ocdata-sticky-header__nav-link,
.ocdata-sticky-header__mobile-link {
  color: var(--ocdata-header-text, #96a2b3);
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  position: relative;
  text-decoration: none;
  transition: color 220ms ease;
}

.ocdata-sticky-header__nav-link::after {
  background: var(--ocdata-header-text-active, #f4f0e8);
  bottom: -8px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 240ms ease;
  width: 100%;
}

.ocdata-sticky-header__nav-link:hover,
.ocdata-sticky-header__nav-link.is-current,
.ocdata-sticky-header__mobile-link:hover,
.ocdata-sticky-header__mobile-link.is-current {
  color: var(--ocdata-header-text-active, #f4f0e8);
}

.ocdata-sticky-header__nav-link:hover::after,
.ocdata-sticky-header__nav-link.is-current::after {
  transform: scaleX(1);
}

.ocdata-sticky-header__actions {
  align-items: center;
  display: flex;
  gap: 16px;
}

.ocdata-sticky-header__cta,
.ocdata-sticky-header__mobile-cta {
  align-items: center;
  background: var(--ocdata-header-button-bg, #ede7dc);
  color: var(--ocdata-header-button-text, #0a1524);
  display: inline-flex;
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  min-height: 0;
  padding: 10px 20px;
  text-decoration: none;
  text-transform: none;
  transition:
    background-color 240ms ease,
    color 240ms ease,
    padding 500ms cubic-bezier(0.16, 1, 0.3, 1),
    font-size 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.ocdata-sticky-header__cta:hover,
.ocdata-sticky-header__mobile-cta:hover {
  background: var(--ocdata-header-text-active, #f4f0e8);
  color: var(--ocdata-header-button-text, #0a1524);
}

.ocdata-sticky-header__toggle {
  align-items: center;
  appearance: none;
  background: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  min-height: 40px;
  min-width: 40px;
  padding: 0;
}

.ocdata-sticky-header__toggle span {
  background: var(--ocdata-header-text-active, #f4f0e8);
  display: block;
  height: 1px;
  transition: transform 240ms ease, opacity 240ms ease;
  width: 22px;
}

.ocdata-sticky-header__mobile {
  background: var(--ocdata-header-overlay, #0a1524);
  bottom: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: var(--ocdata-header-height-mobile, 80px);
  transform: translateY(18px);
  transition: opacity 280ms ease, transform 280ms ease;
  z-index: 89;
}

.ocdata-sticky-header__mobile-inner {
  display: grid;
  gap: 24px;
  padding: 28px 24px 36px;
}

.ocdata-sticky-header__mobile-nav {
  display: grid;
  gap: 18px;
}

.ocdata-sticky-header__mobile-link {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 38px;
  line-height: 0.98;
}

.ocdata-sticky-header__mobile-cta {
  justify-content: center;
}

.ocdata-sticky-header.is-open .ocdata-sticky-header__mobile {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.ocdata-sticky-header.is-open .ocdata-sticky-header__toggle span:nth-child(1) {
  transform: translateY(3px) rotate(45deg);
}

.ocdata-sticky-header.is-open .ocdata-sticky-header__toggle span:nth-child(2) {
  transform: translateY(-3px) rotate(-45deg);
}

.ocdata-sticky-header.is-scrolled .ocdata-sticky-header__bar {
  backdrop-filter: blur(8px);
  background: var(--ocdata-header-bg-scrolled, rgba(10, 21, 36, 0.98));
  border-bottom-color: var(--ocdata-header-border, #1a2d44);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.1);
}

.ocdata-sticky-header.is-scrolled .ocdata-sticky-header__inner {
  height: var(--ocdata-header-height-compact, 49px);
}

.ocdata-sticky-header.is-scrolled .ocdata-sticky-header__logo {
  max-width: var(--ocdata-header-logo-width-compact, 104px);
}

.ocdata-sticky-header.is-scrolled .ocdata-sticky-header__cta {
  font-size: 12px;
  padding: 8px 16px;
}

.ocdata-sticky-header__cta {
  display: none;
}

@media (min-width: 1025px) {
  .ocdata-sticky-header__nav {
    display: flex;
  }

  .ocdata-sticky-header__cta {
    display: inline-flex;
  }

  .ocdata-sticky-header__toggle,
  .ocdata-sticky-header__mobile {
    display: none;
  }
}

@media (max-width: 1024px) {
  .ocdata-sticky-header__inner {
    height: var(--ocdata-header-height-mobile, 80px);
    padding: 0 18px;
  }

  .ocdata-sticky-header__logo {
    max-width: min(42vw, var(--ocdata-header-logo-width, 146px));
  }

  .ocdata-sticky-header.is-scrolled .ocdata-sticky-header__inner {
    height: var(--ocdata-header-height-mobile-compact, 49px);
  }

  .ocdata-sticky-header.is-scrolled .ocdata-sticky-header__mobile {
    top: var(--ocdata-header-height-mobile-compact, 49px);
  }
}
