/* New homepage — scoped so it does not affect existing pages */

:root {
  --hp-navy: #193F7D;
  --hp-navy-dark: #002b54;
  --hp-footer: #01407f;
  --hp-sky: #E3F5FF;
  --hp-sky-dark: #58A7DB;
  --hp-orange: #f78600;
  --hp-orange-dark: #ed8000;
  --hp-purple: #9F3AE5;
  --hp-green: #78CB0B;
  --hp-text: #3d4043;
  --hp-muted: #221F20;
  --hp-light: #e8f4fc;
  --hp-light-2: #f3f8fc;
  --hp-white: #fff;
  --hp-radius: 16px;
  --hp-radius-pill: 200px;
  --hp-shadow: 0 10px 30px rgba(0, 48, 94, 0.08);
}

html {
  scroll-behavior: smooth;
}

.hp-page {
  font-family: "Roboto", sans-serif;
  color: var(--hp-text);
  background: var(--hp-white);
  overflow-x: hidden;
}

.hp-page img:not(.hp-mountains) {
  max-width: 100%;
  height: auto;
}

/* Home contains its grid gutters without clipping the page or its controls. */
.hp-page[data-site-page="home"] {
  overflow-x: visible;
}

.visually-hidden {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

.hp-page h1,
.hp-page h2,
.hp-page h3 {
  color: var(--hp-navy);
  font-weight: 600;
}

.hp-page h1 {
  font-family: "Montserrat", sans-serif;
}

.hp-page h2,
.hp-page h3 {
  font-family: "Roboto", sans-serif;
}

.hp-page h1 span {
  color: #221F20;
}

.hp-section-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.hp-section-intro h2 {
  font-size: 32px;
  margin-bottom: 60px;
}

.hp-process .hp-section-intro h2,
.hp-serve .hp-section-intro h2,
.hp-vision h2,
.hp-different .hp-section-intro h2 {
  color: #606060;
}

.hp-section-intro p {
  margin: 0 auto;
  max-width: 450px;
  color: var(--hp-muted);
  font-size: 16px;
  line-height: 1.6;
}

.hp-section-intro strong {
  color: var(--hp-navy);
  font-weight: 600;
  font-size: 18px;
}

/* Buttons */

.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--hp-orange);
  border-radius: var(--hp-radius-pill);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 12px 24px;
  color: var(--hp-white);
  text-decoration: none;
  border: 2px solid transparent;
  transition: 0.2s ease;
  transition-property: background-color, color, border-color;
  font-family: "Roboto", sans-serif;
  line-height: 1.2;
  white-space: nowrap;
}

.hp-btn:hover {
  background-color: var(--hp-orange-dark);
  color: var(--hp-white);
}

/* Optical alignment of Home labels; preserve the button box and hit area. */
.hp-page[data-site-page="home"] main .hp-btn {
  padding-top: 13px;
  padding-bottom: 11px;
}

.hp-btn--sm {
  font-size: 12px;
  padding: 8px 16px;
}

.hp-btn--navy {
  background-color: var(--hp-navy);
}

.hp-btn--navy:hover {
  background-color: var(--hp-navy-dark);
}

.hp-btn--sky {
  background-color: var(--hp-sky);
  color: var(--hp-sky-dark);
  border-color: var(--hp-sky-dark);
}

.hp-btn--sky:hover {
  background-color: var(--hp-sky-dark);
}

.hp-btn--orange {
  background-color: var(--hp-orange);
}

.hp-btn--outline,
.hp-btn--ghost {
  background-color: var(--hp-white);
  color: var(--hp-navy);
  border-color: var(--hp-navy);
}

.hp-btn--outline:hover,
.hp-btn--ghost:hover {
  background-color: var(--hp-light);
  color: var(--hp-navy);
}

.hp-btn--wide {
  width: 100%;
}

.hp-color-orange { background-color: var(--hp-orange); }
.hp-color-navy { background-color: var(--hp-navy); }
.hp-color-sky { background-color: var(--hp-sky); }
.hp-color-purple { background-color: var(--hp-purple); }
.hp-color-green { background-color: var(--hp-green); }

.hp-color-text-orange { color: var(--hp-orange) !important; }
.hp-color-text-navy { color: var(--hp-navy) !important; }
.hp-color-text-sky { color: var(--hp-sky) !important; }
.hp-color-text-sky-dark { color: var(--hp-sky-dark) !important; }
.hp-color-text-purple { color: var(--hp-purple) !important; }
.hp-color-text-green { color: var(--hp-green) !important; }

.hp-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--hp-white);
  font-size: 22px;
  flex-shrink: 0;
}

.hp-icon-circle--sky {
  background: var(--hp-sky);
}

.hp-round-photo {
  width: min(100%, 420px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: var(--hp-shadow);
  background: var(--hp-light);
}

/* Hero */

.hp-hero {
  padding: 72px 0 40px;
}

.hp-eyebrow {
  color: var(--hp-navy);
  font-size: 21px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hp-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hp-hero__lead,
.hp-hero__audiences {
  font-size: 16px;
  line-height: 1.7;
  color: var(--hp-muted);
  max-width: 540px;
}

.hp-hero__audiences {
  color: var(--hp-navy);
  font-weight: 700;
  margin-bottom: 28px;
}

.hp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hp-hero-visual {
  position: relative;
  max-width: 540px;
  margin: 0 auto;
}

.hp-hero-visual__image {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 24px;
}

/* Belief bar */

.hp-belief {
  padding: 12px 0 20px;
}

.hp-belief__bar {
  background: var(--hp-sky);
  border-radius: 12px;
  padding: 24px 40px;
}

.hp-belief__heading {
  display: flex;
  align-items: center;
  gap: 32px;
}

.hp-belief__heading h2 {
  font-size: 22px;
  margin: 0;
  line-height: 1.3;
  font-weight: 500;
}

.hp-belief p {
  margin: 0;
  color: var(--hp-muted);
  font-size: 16px;
  line-height: 1.7;
}

@media (min-width: 992px) {
  .hp-belief .col-lg-7 {
    border-left: 2px solid var(--hp-navy);
    padding-left: 36px;
  }
}

/* Process */

.hp-process {
  padding: 40px 0 80px;
}

.hp-process__item {
  text-align: center;
  position: relative;
  height: 100%;
  padding: 0 20px;
}

.hp-process__icon {
  width: 96px;
  height: 96px;
  display: block;
  margin: 0 auto 16px;
  object-fit: contain;
}

.hp-process__item h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  font-weight: 500;
}

.hp-process__item p {
  font-size: 14px;
  color: #606060;
  line-height: 1.6;
  margin: 0;
}

@media (min-width: 992px) {
  .hp-process__row .col:not(:last-child) .hp-process__item::after {
    content: "";
    position: absolute;
    top: 40px;
    left: calc(100% + (var(--bs-gutter-x, 1.5rem) / 2));
    width: 51px;
    height: 17px;
    background: url("../images/home/step-arrow.svg") center / contain no-repeat;
    transform: translateX(-50%);
  }

  .hp-process__row .col:nth-child(even):not(:last-child) .hp-process__item::after {
    transform: translateX(-50%) scaleY(-1);
  }
}

/* Who we serve */

.hp-serve {
  padding: 20px 0 80px;
}

.hp-serve-card {
  background: var(--hp-white);
  border: 1px solid #BFBFBF;
  border-radius: var(--hp-radius);
  box-shadow: var(--hp-shadow);
  padding: 24px 22px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.hp-serve-card__deco {
  position: absolute;
  top: -45px;
  left: -30px;
  width: 105px;
  height: auto;
  pointer-events: none;
}

.hp-serve-card__label {
  position: relative;
  text-align: center;
  z-index: 1;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 5px;
}

.hp-serve-card--orange .hp-serve-card__label { color: var(--hp-orange); }
.hp-serve-card--navy .hp-serve-card__label { color: var(--hp-navy); }
.hp-serve-card--purple .hp-serve-card__label { color: var(--hp-purple); }
.hp-serve-card--green .hp-serve-card__label { color: var(--hp-green); }

.hp-serve-card h3 {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 20px;
  text-transform: uppercase;
  margin-bottom: 16px;
  line-height: 1.3;
  color: #606060;
}

.hp-serve-card h3::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  margin: 20px auto 0;
}

.hp-serve-card--orange h3::after { background-color: var(--hp-orange); }
.hp-serve-card--navy h3::after { background-color: var(--hp-navy); }
.hp-serve-card--purple h3::after { background-color: var(--hp-purple); }
.hp-serve-card--green h3::after { background-color: var(--hp-green); }

.hp-serve-card p {
  position: relative;
  z-index: 1;
  font-size: 14px;
  line-height: 1.6;
  color: #8B8B8B;
  margin-bottom: 16px;
}

.hp-serve-card ul {
  position: relative;
  z-index: 1;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}

.hp-serve-card li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 8px;
  color: #8B8B8B;
}

.hp-serve-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 17px;
  height: 17px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.hp-serve-card--orange li::before { background-image: url("../images/home/orange-checkmark.svg"); }
.hp-serve-card--navy li::before { background-image: url("../images/home/blue-checkmark.svg"); }
.hp-serve-card--purple li::before { background-image: url("../images/home/purple-checkmark.svg"); }
.hp-serve-card--green li::before { background-image: url("../images/home/green-checkmark.svg"); }

.hp-serve-card .hp-btn {
  position: relative;
  z-index: 1;
  align-self: center;
  margin-top: auto;
}

.hp-serve-card--orange .hp-btn--outline-accent {
  color: var(--hp-orange);
  border-color: var(--hp-orange);
  background: transparent;
}

.hp-serve-card--navy .hp-btn--outline-accent {
  color: var(--hp-navy);
  border-color: var(--hp-navy);
  background: transparent;
}

.hp-serve-card--purple .hp-btn--outline-accent {
  color: var(--hp-purple);
  border-color: var(--hp-purple);
  background: transparent;
}

.hp-serve-card--green .hp-btn--outline-accent {
  color: var(--hp-green);
  border-color: var(--hp-green);
  background: transparent;
}

.hp-btn--outline-accent:hover {
  color: var(--hp-white);
}

.hp-serve-card--orange .hp-btn--outline-accent:hover { background: var(--hp-orange); }
.hp-serve-card--navy .hp-btn--outline-accent:hover { background: var(--hp-navy); }
.hp-serve-card--purple .hp-btn--outline-accent:hover { background: var(--hp-purple); }
.hp-serve-card--green .hp-btn--outline-accent:hover { background: var(--hp-green); }

/* Vision */

.hp-vision {
  position: relative;
  padding: 80px 0 100px;
  background-color: var(--hp-light);
  overflow: hidden;
}

.hp-vision__photo-wrap {
  position: relative;
  text-align: center;
}

.hp-vision__mark {
  position: absolute;
  width: 88%;
  left: -8%;
  top: -8%;
  pointer-events: none;
}

.hp-vision h2 {
  font-size: 36px;
  margin-bottom: 8px;
}

.hp-vision h3 {
  font-size: 18px;
  color: var(--hp-navy);
  margin-bottom: 40px;
}

.hp-check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.hp-check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.5;
  color: #8B8B8B;
}

.hp-check-list li strong {
  font-weight: 700;
  color: #8B8B8B;
}

.hp-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  background: url("../images/home/our-vision-checkmark.svg") center / contain no-repeat;
}

.hp-mountains {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  object-fit: cover;
  object-position: center bottom;
  pointer-events: none;
  display: block;
}

/* Differentiation */

.hp-different {
  position: relative;
  padding: 20px 0 160px;
  background-color: var(--hp-light);
  overflow: hidden;
}

.hp-different .container-xxl {
  position: relative;
  z-index: 1;
}

.hp-different .hp-section-intro {
  margin-bottom: 32px;
}

.hp-diff-card {
  background: var(--hp-white);
  border-radius: var(--hp-radius);
  padding: 18px 28px;
  text-align: center;
  height: 100%;
  border: 1px solid #BFBFBF;
}

.hp-diff-card img.hp-diff-card__icon {
  display: block;
  height: 48px;
  width: auto;
  max-width: 72px;
  margin: 0 auto 8px;
  object-fit: contain;
}

.hp-diff-card h3 {
  font-size: 14px;
  margin-bottom: 10px;
}

.hp-diff-card h3::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  background: #D0D0D0;
  margin: 10px auto 0;
}

.hp-diff-card p {
  font-size: 13px;
  line-height: 1.55;
  color: #8B8B8B;
  margin: 0;
}

/* Promise */

.hp-promise {
  padding: 80px 0;
}

.hp-promise img.hp-promise__icon {
  display: block;
  height: 64px;
  width: auto;
  margin-bottom: 16px;
  object-fit: contain;
}

.hp-promise h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.hp-promise p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--hp-navy);
  font-weight: 700;
  max-width: 520px;
}

.hp-promise p + p {
  color: #8B8B8B;
  font-weight: 400;
}

/* Ribbon */

.hp-ribbon {
  background: none;
  max-width: 1440px;
  width: calc(100% - 32px);
  margin: 0 auto 20px;
  padding: 0;
}

.hp-ribbon .container-xxl {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.hp-ribbon__inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  background: var(--hp-navy);
  color: var(--hp-white);
  border-radius: 12px;
  padding: 28px 0;
}

.hp-ribbon__lead,
.hp-ribbon__end {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-size: 26px;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 40px;
  flex-shrink: 0;
}

.hp-ribbon__lead {
  font-weight: 600;
  border-right: 1px solid #C5CEDE;
}

.hp-ribbon__lead-title {
  display: block;
  font-size: 26px;
  font-weight: 600;
}

.hp-ribbon__accent,
.hp-ribbon__end {
  color: #57A8DC;
}

.hp-ribbon__end {
  font-weight: 700;
  border-left: 1px solid #C5CEDE;
}

.hp-ribbon__icons {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.hp-ribbon__icons li {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0 12px;
  border-right: 1px solid #C5CEDE;
}

.hp-ribbon__icons li:last-child {
  border-right: 0;
}

.hp-ribbon__icons img.hp-ribbon__icon {
  display: block;
  height: 36px;
  width: auto;
  max-width: 52px;
  object-fit: contain;
}

@media (max-width: 991.98px) {
  .hp-ribbon__inner {
    flex-direction: column;
    text-align: center;
  }

  .hp-ribbon__lead,
  .hp-ribbon__end {
    padding: 24px;
    border: 0;
  }

  .hp-ribbon__lead {
    border-bottom: 1px solid #C5CEDE;
  }

  .hp-ribbon__end {
    border-top: 1px solid #C5CEDE;
  }

  .hp-ribbon__icons {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hp-ribbon__icons li {
    border-right: 0;
    padding: 16px;
    flex: 0 0 auto;
  }
}

@media (max-width: 767.98px) {

  .hp-hero,
  .hp-process,
  .hp-serve,
  .hp-vision,
  .hp-different,
  .hp-promise {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .hp-belief__bar {
    padding: 24px;
  }

  .hp-belief__heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .hp-hero h1,
  .hp-vision h2,
  .hp-promise h2,
  .hp-section-intro h2 {
    font-size: 28px;
  }

  .hp-hero-badge {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
}

/* Match the g-5 half-gutter when these containers fill the viewport. */
@media (max-width: 1399.98px) {
  .hp-vision > .container-xxl, .hp-promise > .container-xxl {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* The hero switches to g-xl-5 at 1200px, before container-xxl is capped. */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .hp-page[data-site-page="home"] .hp-hero > .container-xxl {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* Home main content follows the approved mobile gutter, independently of shared chrome. */
@media (max-width: 767.98px) {
  .hp-page:not(.advisors-page) { --hp-mobile-gutter: 20px; }
  .hp-page:not(.advisors-page) main > section > .container-xxl {
    width: 100%; max-width: none; padding-left: var(--hp-mobile-gutter); padding-right: var(--hp-mobile-gutter);
  }
  .hp-page:not(.advisors-page) main > section > .container-xxl > .row { --bs-gutter-x: calc(2 * var(--hp-mobile-gutter)); }
  .hp-page:not(.advisors-page) main > .hp-ribbon { width: 100%; }
}
@media (max-width: 359.98px) {
  .hp-page:not(.advisors-page) { --hp-mobile-gutter: 16px; }
}

.hp-page:not(.advisors-page) .hp-hero__actions .hp-btn .hp-button-arrow,
.hp-page:not(.advisors-page) .hp-vision .hp-btn .hp-button-arrow {
  display: inline-flex; align-items: center; justify-content: center; line-height: 1.2;
  width: 0.8973214286em; height: 1.2em;
  transform: translateY(-2px);
  transition: transform 180ms ease;
}
.hp-page:not(.advisors-page) .hp-hero__actions .hp-btn:hover .hp-button-arrow,
.hp-page:not(.advisors-page) .hp-vision .hp-btn:hover .hp-button-arrow { transform: translate(3px, -2px); }
@media (prefers-reduced-motion: reduce) {
  .hp-page:not(.advisors-page) .hp-hero__actions .hp-btn .hp-button-arrow,
  .hp-page:not(.advisors-page) .hp-vision .hp-btn .hp-button-arrow { transition: none; }
}

@media (max-width: 767.98px) {
  .hp-page:not(.advisors-page) .hp-vision > .container-xxl > .row { --bs-gutter-y: 32px; }
  .hp-page:not(.advisors-page) .hp-vision__photo-wrap { width: 100%; max-width: 320px; margin-inline: auto; }
  .hp-page:not(.advisors-page) .hp-vision__photo-wrap > img { width: 100%; max-width: 320px; }
  .hp-page:not(.advisors-page) .hp-vision .col-md-6:last-child { text-align: center; }
  .hp-page:not(.advisors-page) .hp-vision .hp-check-list { width: fit-content; max-width: 100%; margin-inline: auto; text-align: left; }
}

@media (max-width: 991.98px) {
  .hp-page:not(.advisors-page) .hp-promise > .container-xxl > .row { --bs-gutter-y: 32px; }
  .hp-page:not(.advisors-page) .hp-promise .col-lg-6:first-child { max-width: calc(520px + 2 * var(--hp-mobile-gutter, 24px)); margin-inline: auto; }
  .hp-page:not(.advisors-page) .hp-promise .hp-promise__icon { margin-inline: auto; }
  .hp-page:not(.advisors-page) .hp-promise h2 { text-align: center; }
  .hp-page:not(.advisors-page) .hp-promise p { text-align: center; }
  .hp-page:not(.advisors-page) .hp-promise .hp-round-photo { width: 100%; max-width: 320px; }
}

@media (max-width: 991.98px) {
  .hp-page:not(.advisors-page) .hp-hero .col-lg-6:first-child { text-align: center; }
  .hp-page:not(.advisors-page) .hp-hero h1,
  .hp-page:not(.advisors-page) .hp-hero__lead { max-width: 620px; margin-inline: auto; }
  .hp-page:not(.advisors-page) .hp-hero__audiences { max-width: 560px; margin-inline: auto; }
  .hp-page:not(.advisors-page) .hp-hero__actions { justify-content: center; }
  .hp-page:not(.advisors-page) .hp-hero-visual { max-width: 420px; }
}
