/* Adapted from the supplied homepage and its missing live base rules. Scoped to this plugin. */
/* Exact public homepage base rules extracted from WordPress Additional CSS. */

.hpp-home {
  --sa-green: #003c34;
  --sa-action: #009b59;
  --sa-pale: #d6ebe7;
  --sa-light-grey: #f4f7f6;
  --sa-left-rail-space: clamp(150px, 9.4vw, 215px);
  --sa-right-space: clamp(26px, 3.2vw, 62px);

  position: relative;
  z-index: 1;
  box-sizing: border-box;

  width: calc(100vw - var(--sa-left-rail-space));
  max-width: calc(100vw - var(--sa-left-rail-space));

  margin-left: calc(50% - 50vw + var(--sa-left-rail-space));
  margin-right: calc(50% - 50vw);

  padding-right: var(--sa-right-space);

  background: #ffffff;
  color: var(--sa-green);
  overflow: hidden;
}

.hpp-home,
.hpp-home * {
  box-sizing: border-box;
}

.hpp-home a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 1200px) {
  .hpp-home {
    --sa-left-rail-space: clamp(118px, 11vw, 165px);
  }
}

@media (max-width: 860px) {
  .hpp-home {
    --sa-left-rail-space: 0px;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* ==========================================================
   TOP HERO
   ========================================================== */

.hpp-hero {
  position: relative;
  min-height: 128vh;
  display: grid;
  grid-template-columns: minmax(520px, 53%) minmax(430px, 47%);
  column-gap: clamp(42px, 5vw, 96px);
  padding-top: clamp(110px, 8.8vw, 168px);
  align-items: start;
}

.hpp-hero-media {
  position: sticky;
  top: clamp(72px, 7.2vh, 116px);
  align-self: start;
  width: 100%;
  max-width: 900px;
}

.hpp-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1.25 / 1;
  overflow: hidden;
  background: #111;
}

.hpp-video-frame::before,
.hpp-video-frame::after {
  content: "";
  position: absolute;
  left: 40%;
  width: 40%;
  height: 14px;
  background: var(--sa-action);
  z-index: 3;
}

.hpp-video-frame::before {
  top: 9%;
}

.hpp-video-frame::after {
  bottom: 19%;
}

.hpp-hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
  transform: scale(1.035);
}

.hpp-hero-copy {
  position: sticky;
  top: clamp(104px, 11vh, 158px);
  align-self: start;
  padding-top: clamp(26px, 3vw, 56px);
  padding-left: clamp(18px, 3.4vw, 78px);
  max-width: 820px;
}

.hpp-eyebrow,
.hpp-section-label,
.hpp-card-type {
  font-family: "HPP Ave Heavy", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hpp-eyebrow {
  margin: 0 0 clamp(34px, 3.4vw, 62px);
  font-size: clamp(15px, 1.05vw, 22px);
  line-height: 1.15;
}

.hpp-hero-title {
  margin: 0;
  max-width: 760px;
  font-family: "HPP Noe", Georgia, serif;
  font-size: clamp(62px, 5.35vw, 112px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--sa-green);
}

.hpp-hero-text {
  margin: clamp(42px, 4.4vw, 78px) 0 0;
  max-width: 690px;
  font-family: "HPP Ave", Arial, sans-serif;
  font-size: clamp(18px, 1.22vw, 25px);
  line-height: 1.27;
  color: var(--sa-green);
}

/* ==========================================================
   A&O-STYLE ANIMATED BUTTONS
   Hover animates in. Mouse-out reverses automatically.
   ========================================================== */

.hpp-arrow-link {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  min-height: 76px;
  margin-top: clamp(32px, 3vw, 58px);
  padding: 0 34px 0 38px;
  overflow: hidden;

  font-family: "HPP Ave Heavy", Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(14px, 0.95vw, 19px);
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;

  color: var(--sa-action);
}

.hpp-arrow-link::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--sa-action);
  z-index: -1;
  transition: width 0.46s cubic-bezier(0.22, 1, 0.36, 1);
}

.hpp-link-text,
.hpp-link-arrow {
  position: relative;
  z-index: 2;
  transition:
    color 0.34s ease,
    transform 0.46s cubic-bezier(0.22, 1, 0.36, 1);
}

.hpp-link-arrow {
  display: inline-block;
  margin-left: 24px;
  font-size: 1.35em;
  line-height: 0;
}

.hpp-arrow-link:hover::before {
  width: 100%;
}

.hpp-arrow-link:hover .hpp-link-text,
.hpp-arrow-link:hover .hpp-link-arrow {
  color: #ffffff;
}

.hpp-arrow-link:hover .hpp-link-arrow {
  transform: translateX(9px);
}

/* ==========================================================
   ABOUT STATEMENT — no overlap with hero video
   ========================================================== */

.hpp-about-block {
  position: relative;
  display: grid;
  grid-template-columns: minmax(130px, 22%) minmax(0, 78%);
  column-gap: clamp(32px, 4vw, 82px);
  min-height: 72vh;
  padding-top: clamp(115px, 12vw, 190px);
  padding-bottom: clamp(130px, 13vw, 210px);
  clear: both;
}

.hpp-section-label {
  margin: clamp(12px, 1vw, 24px) 0 0;
  font-size: clamp(14px, 0.95vw, 19px);
  line-height: 1.2;
}

.hpp-about-content {
  max-width: 1220px;
}

.hpp-large-statement {
  margin: 0;
  max-width: 1180px;
  font-family: "HPP Noe", Georgia, serif;
  font-weight: 400;
  font-size: clamp(56px, 5vw, 102px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--sa-pale);
}

.hpp-large-statement .hpp-word {
  display: inline-block;
  white-space: nowrap;
}

.hpp-large-statement .hpp-char {
  color: var(--sa-pale);
  opacity: 1;
  transition:
    color 0.42s ease,
    opacity 0.42s ease;
}

.hpp-large-statement .hpp-char.is-visible {
  color: var(--sa-green);
  opacity: 1;
}

.hpp-about-link {
  margin-top: clamp(42px, 4vw, 78px);
}

/* ==========================================================
   INSIGHTS SECTION — smaller, closer to A&O proportions
   ========================================================== */

.hpp-insights-block {
  position: relative;
  padding-top: clamp(70px, 8vw, 140px);
  padding-bottom: clamp(150px, 12vw, 240px);
}

.hpp-insights-head {
  display: grid;
  grid-template-columns: minmax(360px, 48%) minmax(300px, 52%);
  column-gap: clamp(50px, 6vw, 120px);
  align-items: center;
  margin-bottom: clamp(70px, 7vw, 130px);
}

.hpp-insights-head h2 {
  margin: 0;
  font-family: "HPP Noe", Georgia, serif;
  font-size: clamp(50px, 4.25vw, 88px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--sa-green);
}

.hpp-small-text-link {
  justify-self: start;
  font-family: "HPP Ave Heavy", Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(13px, 0.9vw, 18px);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--sa-action);
  transition: color 0.28s ease;
}

.hpp-small-text-link span {
  display: inline-block;
  margin-left: 18px;
  transition: transform 0.36s ease;
}

.hpp-small-text-link:hover {
  color: var(--sa-green);
}

.hpp-small-text-link:hover span {
  transform: translateX(9px);
}

.hpp-insights-grid {
  display: grid;
  grid-template-columns: minmax(430px, 52%) minmax(390px, 48%);
  column-gap: clamp(72px, 8vw, 150px);
  align-items: start;
}

/* Large left card */
.hpp-feature-card {
  display: block;
  color: var(--sa-green);
}

.hpp-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 1.52 / 1;
  overflow: hidden;
  background: #111;
}

.hpp-card-image img,
.hpp-side-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.hpp-feature-card:hover img,
.hpp-side-card:hover img {
  transform: scale(1.045);
}

.hpp-card-title {
  display: block;
  margin-top: clamp(30px, 2.6vw, 48px);
  max-width: 760px;
  font-family: "HPP Noe", Georgia, serif;
  font-size: clamp(32px, 2.45vw, 52px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.hpp-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: clamp(34px, 3vw, 58px);
  font-family: "HPP Ave", Arial, sans-serif;
  font-size: clamp(15px, 1vw, 20px);
}

.hpp-card-type {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding-left: 26px;
  font-size: clamp(13px, 0.88vw, 18px);
}

.hpp-card-type::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 5px;
  background: var(--sa-action);
}

.hpp-blue::before {
  background: #3e83ff;
}

.hpp-purple::before {
  background: #bd42ff;
}

.hpp-pink::before {
  background: #ff4cc8;
}

/* Right-side cards */
.hpp-side-news {
  display: block;
}

.hpp-side-card {
  display: grid;
  grid-template-columns: minmax(190px, 310px) minmax(230px, 1fr);
  column-gap: clamp(28px, 3vw, 54px);
  align-items: start;
  color: var(--sa-green);
}

.hpp-side-card + .hpp-side-card {
  margin-top: clamp(70px, 6.5vw, 120px);
}

.hpp-side-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #111;
}

.hpp-side-copy {
  display: block;
  padding-top: 2px;
}

.hpp-side-topic {
  display: block;
  margin-bottom: clamp(18px, 1.5vw, 28px);
  font-family: "HPP Ave", Arial, sans-serif;
  font-size: clamp(15px, 1vw, 20px);
  line-height: 1.2;
}

.hpp-side-title {
  display: block;
  max-width: 520px;
  font-family: "HPP Noe", Georgia, serif;
  font-size: clamp(24px, 1.65vw, 34px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hpp-side-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: clamp(58px, 6vw, 110px);
  font-family: "HPP Ave", Arial, sans-serif;
  font-size: clamp(14px, 0.9vw, 18px);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1200px) {
  .hpp-home {
    --sa-left-rail-space: clamp(118px, 11vw, 165px);
  }

  .hpp-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 120px;
  }

  .hpp-hero-media,
  .hpp-hero-copy {
    position: relative;
    top: auto;
  }

  .hpp-hero-copy {
    padding-left: 0;
    padding-top: 64px;
  }

  .hpp-about-block {
    grid-template-columns: 1fr;
    padding-top: 120px;
  }

  .hpp-section-label {
    margin-bottom: 36px;
  }

  .hpp-insights-head,
  .hpp-insights-grid {
    grid-template-columns: 1fr;
  }

  .hpp-small-text-link {
    margin-top: 36px;
  }

  .hpp-side-news {
    margin-top: 80px;
  }
}

@media (max-width: 860px) {
  .hpp-home {
    --sa-left-rail-space: 0px;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: 24px;
    padding-right: 24px;
  }

  .hpp-hero {
    padding-top: 130px;
  }

  .hpp-hero-title {
    font-size: clamp(48px, 13vw, 68px);
  }

  .hpp-large-statement {
    font-size: clamp(44px, 11vw, 64px);
  }

  .hpp-insights-head h2 {
    font-size: clamp(42px, 11vw, 62px);
  }

  .hpp-side-card {
    grid-template-columns: 1fr;
  }

  .hpp-side-copy {
    padding-top: 26px;
  }

  .hpp-side-meta {
    margin-top: 34px;
  }
}

.hpp-scroll-letter-section {
  margin-top: 0 !important;
  padding-top: clamp(28px, 4vw, 58px) !important;
}

.hpp-before-scroll-letter {
  margin-bottom: clamp(18px, 3vw, 44px) !important;
  padding-bottom: 0 !important;
}

.hpp-scroll-letter-heading {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  color: #d8ebe6;
}

.hpp-scroll-letter-heading .hpp-word {
  display: inline-block;
  white-space: nowrap;
}

.hpp-scroll-letter-heading .hpp-letter {
  display: inline-block;
  color: #d8ebe6;
  transition: color 0.12s linear, opacity 0.12s linear;
  will-change: color, opacity;
}

@media (max-width: 767px) {
  .hpp-scroll-letter-section {
    padding-top: 34px !important;
  }

  .hpp-before-scroll-letter {
    margin-bottom: 24px !important;
  }
}

.hpp-home-page,
  .hpp-home-page body,
  .hpp-home-page .site-container,
  .hpp-home-page .site-inner,
  .hpp-home-page .content-sidebar-wrap,
  .hpp-home-page .content,
  .hpp-home-page .entry,
  .hpp-home-page .entry-content,
  .hpp-home-page .wp-site-blocks,
  .hpp-home-page .wp-block-post-content {
    overflow: visible !important;
    transform: none !important;
    contain: none !important;
  }

  #hpp-home {
    --sa-green: #003c34;
    --sa-action: #009153;
    --sa-pale: #d6ebe7;
    overflow: visible !important;
  }

  #hpp-home .hpp-hero {
    min-height: 94vh !important;
    grid-template-columns: minmax(500px, 49%) minmax(430px, 51%) !important;
    column-gap: clamp(54px, 6vw, 118px) !important;
    padding-top: clamp(76px, 6.2vw, 118px) !important;
    align-items: start !important;
  }

  #hpp-home .hpp-hero-media {
    top: clamp(58px, 6vh, 92px) !important;
    max-width: 880px !important;
  }

  #hpp-home .hpp-hero-copy {
    top: clamp(52px, 5.6vh, 86px) !important;
    padding-top: 0 !important;
    padding-left: clamp(18px, 3vw, 64px) !important;
    max-width: 760px !important;
  }

  #hpp-home .hpp-eyebrow {
    font-size: clamp(14px, 0.86vw, 17px) !important;
    font-weight: 800 !important;
    letter-spacing: 0.085em !important;
    margin-bottom: clamp(24px, 2.3vw, 38px) !important;
  }

  #hpp-home .hpp-hero-title {
    max-width: 700px !important;
    font-size: clamp(46px, 4.05vw, 80px) !important;
    line-height: 1 !important;
    letter-spacing: -0.028em !important;
  }

  #hpp-home .hpp-hero-text {
    max-width: 620px !important;
    margin-top: clamp(28px, 2.7vw, 46px) !important;
    font-size: clamp(16px, 1vw, 20px) !important;
    line-height: 1.34 !important;
  }


  /* =========================================================
     HERO VIDEO FLOW FIX — V8
     Keeps the video inside the hero grid instead of allowing
     inherited positioning to make it float independently.
     ========================================================= */

  #hpp-home .hpp-hero {
    position: relative !important;
    display: grid !important;
  }

  #hpp-home .hpp-video-frame {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 1.25 / 1 !important;
    overflow: hidden !important;
    background: #111 !important;
  }

  #hpp-home .hpp-hero-video {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: cover !important;
    filter: grayscale(1) contrast(1.08) !important;
    transform: scale(1.035) !important;
  }

  @media (min-width: 1201px) {
    #hpp-home .hpp-hero-media {
      position: relative !important;
      top: auto !important;
      right: auto !important;
      bottom: auto !important;
      left: auto !important;
      align-self: start !important;
      margin-top: clamp(58px, 6vh, 92px) !important;
      z-index: 1 !important;
    }

    #hpp-home .hpp-hero-copy {
      position: relative !important;
      top: auto !important;
      right: auto !important;
      bottom: auto !important;
      left: auto !important;
      align-self: start !important;
      margin-top: clamp(52px, 5.6vh, 86px) !important;
      z-index: 2 !important;
    }
  }

  /* Separator for the Investment Entry Checker after the
     multilingual statement, matching the existing editorial rhythm. */
  #hpp-home .hpp-investment-moved {
    position: relative !important;
    margin-top: clamp(8px, 1vw, 16px) !important;
    padding-top: clamp(44px, 3.4vw, 62px) !important;
    border-top: 1px solid var(--sa-pale) !important;
  }


  #hpp-home .hpp-arrow-link {
    position: relative !important;
    isolation: isolate !important;
    display: inline-flex !important;
    align-items: center !important;
    min-height: 64px !important;
    margin-top: clamp(24px, 2.1vw, 38px) !important;
    padding: 0 30px 0 34px !important;
    overflow: hidden !important;
    font-family: "HPP Ave Heavy", Arial, sans-serif !important;
    font-size: clamp(13px, 0.84vw, 17px) !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: 0.095em !important;
    text-transform: uppercase !important;
    color: var(--sa-action) !important;
    text-decoration: none !important;
  }

  #hpp-home .hpp-arrow-link::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 auto 0 0 !important;
    width: 5px !important;
    background: var(--sa-action) !important;
    z-index: 1 !important;
    transition: width 0.9s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  #hpp-home .hpp-link-text,
  #hpp-home .hpp-link-arrow {
    position: relative !important;
    z-index: 2 !important;
    transition: color 0.52s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  #hpp-home .hpp-link-arrow {
    display: inline-block !important;
    margin-left: 24px !important;
    font-size: 1.35em !important;
    line-height: 0 !important;
  }

  #hpp-home .hpp-arrow-link:hover::before,
  #hpp-home .hpp-arrow-link:focus-visible::before {
    width: 100% !important;
  }

  #hpp-home .hpp-arrow-link:hover .hpp-link-text,
  #hpp-home .hpp-arrow-link:hover .hpp-link-arrow,
  #hpp-home .hpp-arrow-link:focus-visible .hpp-link-text,
  #hpp-home .hpp-arrow-link:focus-visible .hpp-link-arrow {
    color: #ffffff !important;
  }

  #hpp-home .hpp-arrow-link:hover .hpp-link-arrow,
  #hpp-home .hpp-arrow-link:focus-visible .hpp-link-arrow {
    transform: translateX(9px) !important;
  }

  /* =========================================================
     EDITORIAL STATEMENT SECTIONS
     Improved vertical rhythm: still spacious, but no large
     viewport-height gaps between Investment Checker,
     Translations and Insights.
     ========================================================= */

  #hpp-home .hpp-about-block,
  #hpp-home .hpp-about-block.hpp-scroll-letter-section {
    min-height: 0 !important;
    height: auto !important;
    margin-top: 0 !important;
    padding-top: clamp(62px, 4.5vw, 82px) !important;
    padding-bottom: clamp(38px, 3.2vw, 56px) !important;
    grid-template-columns: minmax(130px, 22%) minmax(0, 78%) !important;
    align-items: start !important;
    overflow: visible !important;
  }

  /* When the second animated statement marks the first statement
     as its previous section, preserve the intended bottom breathing room. */
  #hpp-home .hpp-about-block.hpp-before-scroll-letter {
    margin-bottom: 0 !important;
    padding-bottom: clamp(38px, 3.2vw, 56px) !important;
    min-height: 0 !important;
    height: auto !important;
  }

  /* The hero may receive this helper class from the first animated
     statement. Do not let that helper create an extra gap. */
  #hpp-home .hpp-hero.hpp-before-scroll-letter {
    margin-bottom: 0 !important;
  }

  #hpp-home .hpp-section-label {
    font-size: clamp(13px, 0.85vw, 17px) !important;
    font-weight: 800 !important;
    letter-spacing: 0.085em !important;
  }

  #hpp-home .hpp-large-statement {
    max-width: 1060px !important;
    margin-top: 0 !important;
    font-size: clamp(42px, 3.85vw, 74px) !important;
    line-height: 1.03 !important;
    letter-spacing: -0.027em !important;
    transform: none !important;
    will-change: auto !important;
  }

  #hpp-home .hpp-scroll-letter-heading {
    transform: none !important;
    will-change: auto !important;
  }

  #hpp-home .hpp-about-link {
    margin-top: clamp(26px, 2.2vw, 36px) !important;
  }


  /* =========================================================
     MULTILINGUAL MANUALS — V8
     Self-contained multilingual statement.
     Uses unique V4 selectors so older cached multilingual JS
     cannot interfere with this section.
     ========================================================= */

  #hpp-home .hpp-multilingual {
    position: relative !important;
    margin-top: clamp(8px, 1vw, 16px) !important;
    padding-top: clamp(44px, 3.4vw, 62px) !important;
    border-top: 1px solid var(--sa-pale) !important;
  }

  #hpp-home .hpp-mlm-stage {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
  }

  #hpp-home .hpp-mlm-stage .hpp-mlm-heading {
    grid-area: 1 / 1 !important;
    width: 100% !important;
    max-width: 1060px !important;
    margin: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(3px) !important;
    filter: blur(0.4px) !important;
    transition:
      opacity 850ms cubic-bezier(.16, 1, .3, 1),
      transform 900ms cubic-bezier(.16, 1, .3, 1),
      filter 850ms cubic-bezier(.16, 1, .3, 1) !important;
  }

  #hpp-home .hpp-mlm-stage .hpp-mlm-heading.hpp-mlm-active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    filter: blur(0) !important;
  }

  #hpp-home .hpp-mlm-stage .hpp-mlm-heading.hpp-mlm-leaving {
    opacity: 0 !important;
    visibility: visible !important;
    transform: translateY(-3px) !important;
    filter: blur(0.4px) !important;
    transition:
      opacity 1000ms cubic-bezier(.45, 0, .55, 1),
      transform 1050ms cubic-bezier(.22, 1, .36, 1),
      filter 1000ms cubic-bezier(.45, 0, .55, 1) !important;
  }

  #hpp-home .hpp-mlm-stage .hpp-mlm-heading[data-hpp-lang="ar"],
  #hpp-home .hpp-mlm-button-labels .hpp-mlm-button-label[data-hpp-lang="ar"] {
    font-family: "HPP Arabic", Arial, sans-serif !important;
    font-weight: 800 !important;
  }

  #hpp-home .hpp-mlm-stage .hpp-mlm-heading[data-hpp-lang="zh"],
  #hpp-home .hpp-mlm-stage .hpp-mlm-heading[data-hpp-lang="zh"] .hpp-word {
    white-space: normal !important;
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
  }

  #hpp-home .hpp-mlm-stage .hpp-mlm-heading[data-hpp-lang="zh"] .hpp-word {
    display: inline !important;
  }

  #hpp-home .hpp-mlm-button-labels {
    position: relative !important;
    z-index: 2 !important;
    display: grid !important;
    grid-template-columns: max-content !important;
    align-items: center !important;
  }

  #hpp-home .hpp-mlm-button-labels .hpp-mlm-button-label {
    grid-area: 1 / 1 !important;
    display: block !important;
    position: relative !important;
    z-index: 2 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(3px) !important;
    filter: blur(0.4px) !important;
    transition:
      color 0.52s ease,
      opacity 850ms cubic-bezier(.16, 1, .3, 1),
      transform 900ms cubic-bezier(.16, 1, .3, 1),
      filter 850ms cubic-bezier(.16, 1, .3, 1) !important;
  }

  #hpp-home .hpp-mlm-button-labels .hpp-mlm-button-label.hpp-mlm-active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    filter: blur(0) !important;
  }

  #hpp-home .hpp-mlm-button-labels .hpp-mlm-button-label.hpp-mlm-leaving {
    opacity: 0 !important;
    visibility: visible !important;
    transform: translateY(-3px) !important;
    filter: blur(0.4px) !important;
    transition:
      color 0.52s ease,
      opacity 1000ms cubic-bezier(.45, 0, .55, 1),
      transform 1050ms cubic-bezier(.22, 1, .36, 1),
      filter 1000ms cubic-bezier(.45, 0, .55, 1) !important;
  }

  #hpp-home .hpp-mlm-button:hover .hpp-mlm-button-label,
  #hpp-home .hpp-mlm-button:focus-visible .hpp-mlm-button-label {
    color: #ffffff !important;
  }

  @media (max-width: 860px) {
    #hpp-home .hpp-mlm-button-labels {
      grid-template-columns: minmax(0, 1fr) !important;
      width: 100% !important;
      max-width: 270px !important;
    }

    #hpp-home .hpp-mlm-button-labels .hpp-mlm-button-label {
      white-space: normal !important;
      max-width: 270px !important;
      font-size: 17px !important;
      line-height: 1.08 !important;
      letter-spacing: 0.095em !important;
      color: var(--sa-action) !important;
    }

    #hpp-home .hpp-mlm-button:hover .hpp-mlm-button-label,
    #hpp-home .hpp-mlm-button:focus-visible .hpp-mlm-button-label {
      color: var(--sa-action) !important;
    }
  }

  @media (max-width: 480px) {
    #hpp-home .hpp-mlm-button-labels {
      max-width: 245px !important;
    }

    #hpp-home .hpp-mlm-button-labels .hpp-mlm-button-label {
      max-width: 245px !important;
      font-size: 16px !important;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    #hpp-home .hpp-mlm-stage .hpp-mlm-heading,
    #hpp-home .hpp-mlm-button-labels .hpp-mlm-button-label {
      transition: none !important;
      transform: none !important;
      filter: none !important;
    }
  }


  /* =========================================================
     INSIGHTS
     Pulled closer to the translation section while preserving
     a breathable editorial transition.
     ========================================================= */

  #hpp-home .hpp-insights-block {
    padding-top: clamp(24px, 2.4vw, 42px) !important;
    padding-bottom: clamp(100px, 8vw, 150px) !important;
  }

  #hpp-home .hpp-insights-head {
    margin-bottom: clamp(42px, 3.7vw, 64px) !important;
  }

  #hpp-home .hpp-insights-head h2 {
    font-size: clamp(42px, 3.55vw, 68px) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.028em !important;
  }

  #hpp-home .hpp-card-title {
    font-size: clamp(28px, 2.05vw, 42px) !important;
    line-height: 1.06 !important;
    letter-spacing: -0.024em !important;
  }

  #hpp-home .hpp-side-title {
    font-size: clamp(22px, 1.45vw, 30px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.022em !important;
  }

  #hpp-home .hpp-card-meta,
  #hpp-home .hpp-side-meta,
  #hpp-home .hpp-side-topic {
    font-size: clamp(14px, 0.9vw, 18px) !important;
  }

  #hpp-home .hpp-capabilities-block {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(360px, 45%) minmax(420px, 55%) !important;
    column-gap: clamp(70px, 8vw, 150px) !important;
    align-items: stretch !important;
    padding-top: clamp(30px, 4vw, 70px) !important;
    padding-bottom: 0 !important;
    overflow: visible !important;
  }

  #hpp-home .hpp-capabilities-panel-wrap {
    position: relative !important;
    align-self: stretch !important;
    min-height: 100% !important;
    overflow: visible !important;
  }

  #hpp-home .hpp-capabilities-panel {
    position: sticky !important;
    top: clamp(88px, 8vh, 125px) !important;
    width: 100% !important;
    min-height: clamp(520px, 44vw, 680px) !important;
    padding: clamp(58px, 5vw, 86px) !important;
    background: var(--sa-green) !important;
    color: #ffffff !important;
    z-index: 50 !important;
    box-sizing: border-box !important;
  }

  #hpp-home .hpp-cap-label {
    display: block;
    margin-bottom: clamp(42px, 4vw, 70px);
    font-family: "HPP Ave Heavy", Arial, sans-serif;
    font-size: clamp(13px, 0.9vw, 18px);
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
  }

  #hpp-home .hpp-cap-title {
    margin: 0;
    max-width: 520px;
    font-family: "HPP AOSA", Georgia, serif;
    font-size: clamp(42px, 3.7vw, 70px);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.026em;
    color: #ffffff !important;
  }

  #hpp-home .hpp-cap-text {
    max-width: 520px;
    margin: clamp(42px, 4vw, 66px) 0 0;
    font-family: "HPP Ave", Arial, sans-serif;
    font-size: clamp(17px, 1.05vw, 22px);
    line-height: 1.34;
  }

  #hpp-home .hpp-cap-link {
    margin-top: clamp(54px, 5vw, 84px) !important;
    color: var(--sa-action) !important;
  }

  #hpp-home .hpp-cap-list {
    display: block;
    padding-bottom: 0 !important;
  }

  #hpp-home .hpp-cap-item {
    position: relative;
    display: block;
    padding: clamp(34px, 3.4vw, 56px) 70px clamp(34px, 3.4vw, 56px) 0;
    border-top: 3px solid var(--sa-pale);
    color: var(--sa-green);
    text-decoration: none !important;
  }

  #hpp-home .hpp-cap-item::before {
    content: "";
    position: absolute;
    top: -3px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--sa-action);
    transition: width 1.05s cubic-bezier(0.16, 1, 0.3, 1);
  }

  #hpp-home .hpp-cap-item:last-child {
    border-bottom: 3px solid var(--sa-pale);
  }

  #hpp-home .hpp-cap-item-title {
    display: block;
    font-family: "HPP AOSA", Georgia, serif;
    font-size: clamp(34px, 2.7vw, 54px);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -0.025em;
    transition: color 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  }

  #hpp-home .hpp-cap-item-text {
    display: block;
    max-width: 760px;
    margin-top: clamp(18px, 1.5vw, 28px);
    font-family: "HPP Ave", Arial, sans-serif;
    font-size: clamp(17px, 1.05vw, 22px);
    line-height: 1.34;
  }

  #hpp-home .hpp-cap-item-arrow {
    position: absolute;
    right: 0;
    top: clamp(38px, 3.6vw, 62px);
    font-family: Arial, sans-serif;
    font-size: clamp(25px, 1.8vw, 34px);
    color: var(--sa-green);
    transition: color 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
  }

  #hpp-home .hpp-cap-item:hover::before,
  #hpp-home .hpp-cap-item:focus-visible::before {
    width: 100%;
  }

  #hpp-home .hpp-cap-item:hover .hpp-cap-item-title,
  #hpp-home .hpp-cap-item:focus-visible .hpp-cap-item-title,
  #hpp-home .hpp-cap-item:hover .hpp-cap-item-arrow,
  #hpp-home .hpp-cap-item:focus-visible .hpp-cap-item-arrow {
    color: var(--sa-action);
  }

  #hpp-home .hpp-cap-item:hover .hpp-cap-item-arrow,
  #hpp-home .hpp-cap-item:focus-visible .hpp-cap-item-arrow {
    transform: translateX(10px);
  }

  @media (max-width: 1200px) {
    #hpp-home .hpp-hero {
      min-height: auto !important;
      padding-top: 110px !important;
    }

    #hpp-home .hpp-hero-copy {
      padding-top: 38px !important;
    }

    #hpp-home .hpp-capabilities-block {
      grid-template-columns: 1fr !important;
      row-gap: 70px !important;
    }

    #hpp-home .hpp-capabilities-panel {
      position: relative !important;
      top: auto !important;
      left: auto !important;
      bottom: auto !important;
      width: 100% !important;
      min-height: auto !important;
      padding: 42px 28px !important;
    }
  }

  @media (max-width: 860px) {
    #hpp-home .hpp-hero-title {
      font-size: clamp(40px, 10vw, 56px) !important;
    }

    #hpp-home .hpp-large-statement {
      font-size: clamp(36px, 9vw, 54px) !important;
    }

    #hpp-home .hpp-insights-head h2 {
      font-size: clamp(36px, 9vw, 54px) !important;
    }

    #hpp-home .hpp-cap-title {
      font-size: clamp(36px, 9vw, 54px);
    }

    #hpp-home .hpp-cap-item-title {
      font-size: clamp(30px, 8vw, 44px);
    }
  }

  /* =========================================================
     HOME PAGE MOBILE / TABLET
     Keeps the existing design but gives the statement sections
     a tighter, deliberate vertical rhythm.
     ========================================================= */

  @media (max-width: 1200px) {
    body.hpp-home-page #hpp-home .hpp-hero,
    body.hpp-home-page #hpp-home .hpp-hero {
      grid-template-columns: 1fr !important;
      min-height: auto !important;
      padding-bottom: 0 !important;
    }

    body.hpp-home-page #hpp-home .hpp-hero-media,
    body.hpp-home-page #hpp-home .hpp-hero-media,
    body.hpp-home-page #hpp-home .hpp-hero-copy,
    body.hpp-home-page #hpp-home .hpp-hero-copy {
      position: relative !important;
      top: auto !important;
    }

    body.hpp-home-page #hpp-home .hpp-about-block,
    body.hpp-home-page #hpp-home .hpp-about-block.hpp-scroll-letter-section,
    body.hpp-home-page #hpp-home .hpp-about-block,
    body.hpp-home-page #hpp-home .hpp-about-block.hpp-scroll-letter-section {
      display: grid !important;
      grid-template-columns: 1fr !important;
      min-height: 0 !important;
      height: auto !important;
      margin-top: 0 !important;
      padding-top: 64px !important;
      padding-bottom: 46px !important;
      row-gap: 0 !important;
      overflow: visible !important;
    }

    body.hpp-home-page #hpp-home .hpp-about-block.hpp-before-scroll-letter,
    body.hpp-home-page #hpp-home .hpp-about-block.hpp-before-scroll-letter {
      padding-bottom: 46px !important;
    }

    body.hpp-home-page #hpp-home .hpp-section-label,
    body.hpp-home-page #hpp-home .hpp-section-label {
      display: block !important;
      max-width: 340px !important;
      margin: 0 0 32px 0 !important;
      padding: 0 !important;
      position: relative !important;
      z-index: 3 !important;
    }

    body.hpp-home-page #hpp-home .hpp-about-content,
    body.hpp-home-page #hpp-home .hpp-about-content {
      display: block !important;
      max-width: none !important;
      width: 100% !important;
      position: relative !important;
      z-index: 2 !important;
    }
  }

  @media (max-width: 860px) {
    body.hpp-home-page #hpp-home .hpp-about-block,
    body.hpp-home-page #hpp-home .hpp-about-block.hpp-scroll-letter-section,
    body.hpp-home-page #hpp-home .hpp-about-block,
    body.hpp-home-page #hpp-home .hpp-about-block.hpp-scroll-letter-section {
      padding-top: 52px !important;
      padding-bottom: 38px !important;
    }

    body.hpp-home-page #hpp-home .hpp-about-block.hpp-before-scroll-letter,
    body.hpp-home-page #hpp-home .hpp-about-block.hpp-before-scroll-letter {
      padding-bottom: 38px !important;
    }

    body.hpp-home-page #hpp-home .hpp-section-label,
    body.hpp-home-page #hpp-home .hpp-section-label {
      font-size: 18px !important;
      line-height: 1.08 !important;
      letter-spacing: 0.085em !important;
      margin-bottom: 30px !important;
    }

    body.hpp-home-page #hpp-home .hpp-large-statement,
    body.hpp-home-page #hpp-home .hpp-scroll-letter-heading,
    body.hpp-home-page #hpp-home .hpp-large-statement,
    body.hpp-home-page #hpp-home .hpp-scroll-letter-heading {
      max-width: 100% !important;
      width: 100% !important;
      margin: 0 !important;
      font-size: clamp(42px, 12.2vw, 56px) !important;
      line-height: 1.01 !important;
      letter-spacing: -0.038em !important;
    }

    body.hpp-home-page #hpp-home .hpp-large-statement .hpp-word,
    body.hpp-home-page #hpp-home .hpp-scroll-letter-heading .hpp-word,
    body.hpp-home-page #hpp-home .hpp-large-statement .hpp-word,
    body.hpp-home-page #hpp-home .hpp-scroll-letter-heading .hpp-word {
      display: inline-block !important;
      white-space: nowrap !important;
    }

    body.hpp-home-page #hpp-home .hpp-about-link,
    body.hpp-home-page #hpp-home .hpp-about-link {
      width: min(100%, 430px) !important;
      max-width: 100% !important;
      min-height: auto !important;
      margin-top: 28px !important;
      padding: 22px 24px 22px 28px !important;
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      gap: 18px !important;
      box-sizing: border-box !important;
      overflow: hidden !important;
      color: var(--sa-action) !important;
      background: transparent !important;
    }

    body.hpp-home-page #hpp-home .hpp-about-link::before,
    body.hpp-home-page #hpp-home .hpp-about-link::before {
      width: 6px !important;
    }

    body.hpp-home-page #hpp-home .hpp-about-link .hpp-link-text,
    body.hpp-home-page #hpp-home .hpp-about-link .hpp-link-text {
      display: block !important;
      white-space: normal !important;
      max-width: 270px !important;
      font-size: 17px !important;
      line-height: 1.08 !important;
      letter-spacing: 0.095em !important;
      color: var(--sa-action) !important;
    }

    body.hpp-home-page #hpp-home .hpp-about-link .hpp-link-arrow,
    body.hpp-home-page #hpp-home .hpp-about-link .hpp-link-arrow {
      flex: 0 0 auto !important;
      margin-left: auto !important;
      font-size: 28px !important;
      line-height: 1 !important;
      color: var(--sa-action) !important;
      transform: none !important;
    }

    body.hpp-home-page #hpp-home .hpp-about-link:hover::before,
    body.hpp-home-page #hpp-home .hpp-about-link:focus-visible::before,
    body.hpp-home-page #hpp-home .hpp-about-link:hover::before,
    body.hpp-home-page #hpp-home .hpp-about-link:focus-visible::before {
      width: 6px !important;
    }

    body.hpp-home-page #hpp-home .hpp-about-link:hover .hpp-link-text,
    body.hpp-home-page #hpp-home .hpp-about-link:hover .hpp-link-arrow,
    body.hpp-home-page #hpp-home .hpp-about-link:focus-visible .hpp-link-text,
    body.hpp-home-page #hpp-home .hpp-about-link:focus-visible .hpp-link-arrow,
    body.hpp-home-page #hpp-home .hpp-about-link:hover .hpp-link-text,
    body.hpp-home-page #hpp-home .hpp-about-link:hover .hpp-link-arrow,
    body.hpp-home-page #hpp-home .hpp-about-link:focus-visible .hpp-link-text,
    body.hpp-home-page #hpp-home .hpp-about-link:focus-visible .hpp-link-arrow {
      color: var(--sa-action) !important;
      transform: none !important;
    }
  }

  @media (max-width: 480px) {
    body.hpp-home-page #hpp-home .hpp-about-block,
    body.hpp-home-page #hpp-home .hpp-about-block.hpp-scroll-letter-section,
    body.hpp-home-page #hpp-home .hpp-about-block,
    body.hpp-home-page #hpp-home .hpp-about-block.hpp-scroll-letter-section {
      padding-top: 46px !important;
      padding-bottom: 34px !important;
    }

    body.hpp-home-page #hpp-home .hpp-about-block.hpp-before-scroll-letter,
    body.hpp-home-page #hpp-home .hpp-about-block.hpp-before-scroll-letter {
      padding-bottom: 34px !important;
    }

    body.hpp-home-page #hpp-home .hpp-large-statement,
    body.hpp-home-page #hpp-home .hpp-scroll-letter-heading,
    body.hpp-home-page #hpp-home .hpp-large-statement,
    body.hpp-home-page #hpp-home .hpp-scroll-letter-heading {
      font-size: clamp(40px, 11.4vw, 50px) !important;
      line-height: 1.015 !important;
    }

    body.hpp-home-page #hpp-home .hpp-about-link,
    body.hpp-home-page #hpp-home .hpp-about-link {
      width: 100% !important;
      padding: 20px 22px 20px 26px !important;
    }

    body.hpp-home-page #hpp-home .hpp-about-link .hpp-link-text,
    body.hpp-home-page #hpp-home .hpp-about-link .hpp-link-text {
      max-width: 245px !important;
      font-size: 16px !important;
    }
  }

  /* =========================================================
     FINAL HOME SPACING GUARD
     Overrides older Additional CSS rules such as the legacy
     190px/120px .hpp-scroll-letter-section spacing while keeping
     the class itself for the smooth animation.
     ========================================================= */
  body.hpp-home-page #hpp-home .hpp-about-block.hpp-scroll-letter-section,
  body.hpp-home-page #hpp-home .hpp-about-block.hpp-scroll-letter-section {
    margin-top: 0 !important;
    min-height: 0 !important;
    height: auto !important;
  }

  body.hpp-home-page #hpp-home .hpp-before-scroll-letter,
  body.hpp-home-page #hpp-home .hpp-before-scroll-letter {
    margin-bottom: 0 !important;
    min-height: 0 !important;
    height: auto !important;
  }
