.home #header.top {
  background-color: #fff;
  box-shadow: none;
}

.home #header.top .logo-blue {
  display: block;
}

.home #header.top .logo-white {
  display: none;
}

.home #header.top #mega-menu-wrap-header-nav #mega-menu-header-nav > li.mega-menu-item > a.mega-menu-link {
  color: var(--primary-color, #07133f);
}

.ci-home-hero {
  --ci-hero-navy: var(--primary-color, #07133f);
  --ci-hero-blue: var(--secondary-color, #1769ff);
  position: relative;
  min-height: clamp(610px, 48vw, 760px);
  margin: 0;
  padding: clamp(150px, 11vw, 190px) 0 clamp(68px, 6vw, 96px);
  overflow: hidden;
  isolation: isolate;
  background: #fff;
}

.ci-home-hero,
.ci-home-hero * {
  box-sizing: border-box;
}

.ci-home-hero__inner {
  position: relative;
  z-index: 2;
  width: min(100% - 120px, 1440px);
  margin-inline: auto;
}

.ci-home-hero__content {
  width: min(50%, 660px);
}

.ci-home-hero__eyebrow {
  margin: 0 0 20px;
  color: var(--ci-hero-navy);
  font-family: var(--paragraph-font, sans-serif);
  font-size: clamp(11px, 0.78vw, 13px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.ci-home-hero__title {
  max-width: 660px;
  margin: 0;
  color: var(--ci-hero-navy);
  font-family: var(--title-font, sans-serif);
  font-size: clamp(48px, 4.35vw, 72px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.035em;
}

.ci-home-hero__title-primary,
.ci-home-hero__title-highlight {
  display: block;
}

.ci-home-hero__title-highlight {
  color: var(--ci-hero-blue);
}

.ci-home-hero__copy {
  max-width: 630px;
  margin-top: clamp(22px, 2vw, 30px);
}

.ci-home-hero__copy p {
  margin: 0;
  color: var(--ci-hero-navy);
  font-family: var(--paragraph-font, sans-serif);
  font-size: clamp(16px, 1.12vw, 19px);
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: 0;
}

.ci-home-hero__copy p + p {
  margin-top: 13px;
}

.ci-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px 30px;
  margin-top: clamp(26px, 2.6vw, 38px);
}

.ci-home-hero__button,
.ci-home-hero__text-link {
  font-family: var(--paragraph-font, sans-serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.ci-home-hero__button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border: 1px solid var(--ci-hero-navy);
  border-radius: 6px;
  background: var(--ci-hero-navy);
  box-shadow: 0 8px 20px rgba(7, 19, 63, 0.12);
  color: #fff;
  text-align: center;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ci-home-hero__button:hover {
  border-color: var(--ci-hero-blue);
  background: var(--ci-hero-blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(23, 105, 255, 0.2);
  transform: translateY(-1px);
}

.ci-home-hero__text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  color: var(--ci-hero-navy);
  white-space: nowrap;
}

.ci-home-hero__text-link svg {
  width: 17px;
  height: 17px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform 180ms ease;
}

.ci-home-hero__text-link:hover {
  color: var(--ci-hero-blue);
}

.ci-home-hero__text-link:hover svg {
  transform: translateY(3px);
}

.ci-home-hero__button:focus-visible,
.ci-home-hero__text-link:focus-visible {
  outline: 3px solid rgba(23, 105, 255, 0.42);
  outline-offset: 4px;
}

.ci-home-hero__media {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
}

.ci-home-hero__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.98) 35%, rgba(255, 255, 255, 0.72) 49%, rgba(255, 255, 255, 0) 68%);
  content: "";
  pointer-events: none;
}

.ci-home-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 1440px) {
  .ci-home-hero {
    min-height: 620px;
    padding-top: 132px;
    padding-bottom: 64px;
  }

  .ci-home-hero__inner {
    width: min(100% - 96px, 1240px);
  }

  .ci-home-hero__content {
    width: min(51%, 590px);
  }

  .ci-home-hero__title {
    font-size: clamp(45px, 4.1vw, 59px);
  }

  .ci-home-hero__copy p {
    font-size: clamp(15px, 1.15vw, 17px);
  }
}

@media (max-width: 1100px) {
  .ci-home-hero {
    min-height: 590px;
    padding-top: 108px;
  }

  .ci-home-hero__inner {
    width: min(100% - 64px, 980px);
  }

  .ci-home-hero__content {
    width: 57%;
  }

  .ci-home-hero__title {
    font-size: clamp(42px, 4.7vw, 52px);
  }

  .ci-home-hero__media::after {
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.98) 40%, rgba(255, 255, 255, 0.8) 55%, rgba(255, 255, 255, 0.08) 78%);
  }
}

@media (max-width: 900px) {
  .ci-home-hero {
    min-height: 0;
    padding: 54px 0 0;
    overflow: hidden;
  }

  .ci-home-hero__inner {
    width: min(100% - 48px, 720px);
  }

  .ci-home-hero__content {
    width: 100%;
  }

  .ci-home-hero__title {
    max-width: 690px;
    font-size: clamp(42px, 7vw, 58px);
  }

  .ci-home-hero__copy {
    max-width: 680px;
  }

  .ci-home-hero__copy p {
    font-size: 17px;
  }

  .ci-home-hero__media {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 16 / 8.4;
    margin-top: 42px;
  }

  .ci-home-hero__media::after {
    display: none;
  }

  .ci-home-hero__image {
    object-position: 62% center;
  }
}

@media (max-width: 600px) {
  .ci-home-hero {
    padding-top: 40px;
  }

  .ci-home-hero__inner {
    width: calc(100% - 40px);
  }

  .ci-home-hero__eyebrow {
    margin-bottom: 16px;
    font-size: 10px;
    letter-spacing: 0.34em;
  }

  .ci-home-hero__title {
    font-size: clamp(36px, 9.6vw, 42px);
    line-height: 0.98;
  }

  .ci-home-hero__copy {
    margin-top: 22px;
  }

  .ci-home-hero__copy p {
    font-size: 16px;
    line-height: 1.5;
  }

  .ci-home-hero__actions {
    align-items: flex-start;
    gap: 14px;
    margin-top: 28px;
  }

  .ci-home-hero__button {
    width: 100%;
    min-height: 50px;
    padding-inline: 22px;
  }

  .ci-home-hero__text-link {
    min-height: 42px;
    padding-inline: 2px;
  }

  .ci-home-hero__media {
    aspect-ratio: 4 / 3;
    margin-top: 28px;
  }

  .ci-home-hero__image {
    object-position: 65% center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ci-home-hero__button,
  .ci-home-hero__text-link svg {
    transition: none;
  }
}
