/* ============================================================
   STI ASSETS MANAGEMENT — HOMEPAGE REVAMP
   ============================================================
   Visual direction:
   - Institutional / editorial rather than dashboard-like.
   - Large typography and asymmetric compositions.
   - Navy is used as a structural surface; orange is an accent.
   - Borders and spacing do more work than heavy card shadows.
   - Motion uses opacity/transform only and respects reduced motion.
============================================================ */

/* ============================================================
   HOMEPAGE TOKENS
============================================================ */

:root {
  --home-navy: #033669;
  --home-navy-deep: #02284f;
  --home-navy-soft: #0a477c;
  --home-orange: #f68634;
  --home-ink: #17212b;
  --home-muted: #63717d;
  --home-line: rgba(3, 54, 105, 0.10);
  --home-surface: #f5f7f9;
  --home-surface-warm: #faf8f5;
  --home-shell: 1400px;
  --home-section-space: clamp(52px, 5vw, 76px);
  --home-radius: 8px;
  --home-ease: cubic-bezier(0.23, 1, 0.32, 1);
}

.home-shell {
  width: min(calc(100% - 48px), var(--home-shell));
  margin-inline: auto;
}


/* ============================================================
   SHARED HOMEPAGE TYPOGRAPHY / LINKS
============================================================ */

.home-section-label,
.home-hero-eyebrow {
  margin: 0;
  color: var(--home-orange);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.33;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


.home-section-label-light {
  color: #ffc08e;
}

.home-section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(48px, 8vw, 118px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 78px);
}

.home-section-intro h2,
.home-about h2,
.home-why h2,
.home-contact-cta h2 {
  margin: 18px 0 0;
  color: var(--home-navy);
  font-size: clamp(2.35rem, 3.8vw, 3.75rem);
  font-weight: 720;
  line-height: 1.03;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.home-section-intro-side p {
  max-width: 520px;
  margin: 0 0 26px;
  color: var(--home-muted);
  font-size: 1rem;
  line-height: 1.78;
}

.home-text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  padding-bottom: 5px;
  color: var(--home-navy);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.015em;
}

.home-text-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transform: scaleX(0.35);
  transition: transform 320ms var(--home-ease);
}

.home-text-link .ui-icon {
  transition: transform 320ms var(--home-ease);
}

.home-text-link:hover::after {
  transform: scaleX(1);
}

.home-text-link:hover .ui-icon {
  transform: translate(3px, -2px);
}

.home-text-link-light {
  color: #ffffff;
}

.home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--home-radius);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
  transition:
    transform 160ms var(--home-ease),
    background-color 160ms var(--home-ease),
    border-color 160ms var(--home-ease),
    color 160ms var(--home-ease);
}

/* Primary: navy fill. Use on light surfaces. 12.2:1 with white text. */
.home-button-primary {
  color: #ffffff;
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.home-button-primary:hover {
  color: #ffffff;
  background: #04477f;
  border-color: #04477f;
  transform: translateY(-2px);
}

/* Invert: white fill, navy label. Use on navy bands and the hero photo. */
.home-button-invert {
  color: var(--color-primary);
  background: #ffffff;
  border-color: #ffffff;
}

.home-button-invert:hover {
  color: var(--color-primary);
  background: #eef2f6;
  border-color: #eef2f6;
  transform: translateY(-2px);
}

/* Secondary: the partner to primary on light surfaces. */
.home-button-secondary {
  color: var(--color-primary);
  background: #ffffff;
  border-color: rgba(3, 54, 105, 0.22);
}

.home-button-secondary:hover {
  color: var(--color-primary);
  background: var(--color-bg-alt);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

/* Ghost: secondary action over photography. */
.home-button-ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.home-button-ghost:hover {
  color: var(--home-navy);
  background: #ffffff;
  border-color: #ffffff;
}

/* Icon nudge applies to every variant, not just primary. */
.home-button .ui-icon {
  transition: transform 200ms var(--home-ease);
}

.home-button:hover .ui-icon {
  transform: translate(3px, -3px);
}

.home-button:focus-visible,
.home-text-link:focus-visible,
.home-service-card-link:focus-visible,
.home-insight-image-link:focus-visible,
.home-insight-card h3 a:focus-visible {
  outline: 3px solid #be5500;
  outline-offset: 4px;
}

/* ============================================================
   1. HERO
============================================================ */

.home-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(630px, calc(100vh - 80px), 800px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: var(--home-navy-deep);
}

.home-hero-media,
.home-hero-overlay {
  position: absolute;
  inset: 0;
}

.home-hero-media {
  z-index: -3;
}

.home-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  transform: scale(1.035);
  animation: homeHeroImage 1500ms var(--home-ease) both;
}

/*
 * The video is injected by JS and fades in over the still.
 * The still remains beneath it as the poster and as the
 * permanent fallback on mobile and reduced-motion.
 */
.home-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  /*
   * Delayed so the copy finishes arriving before the footage
   * starts moving. Otherwise the two compete for attention.
   */
  transition: opacity 900ms var(--home-ease) 400ms;
}

.home-hero-video.is-ready {
  opacity: 1;
}

.home-hero-overlay {
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(2, 32, 62, 0.94) 0%,
      rgba(3, 54, 105, 0.87) 42%,
      rgba(3, 54, 105, 0.52) 68%,
      rgba(2, 40, 79, 0.28) 100%
    ),
    linear-gradient(
      180deg,
      rgba(2, 40, 79, 0.05) 48%,
      rgba(2, 40, 79, 0.72) 100%
    );
}

.home-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 72%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 72%);
}

.home-hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: inherit;
  /*
   * Must clear the 90px sticky header at every viewport
   * height, hence the generous minimum.
   */
  padding-top: clamp(130px, 16vh, 180px);
  padding-bottom: clamp(56px, 6vw, 88px);
}

.home-hero-copy {
  max-width: 850px;
}

.home-hero-eyebrow {
  color: rgba(255, 255, 255, 0.78);
  animation: homeHeroCopy 900ms var(--home-ease) 120ms both;
}

.home-hero-title {
  margin: 24px 0 0;
  color: #ffffff;
  font-size: clamp(3.35rem, 7.1vw, 6.75rem);
  font-weight: 600;
  line-height: 0.91;
  letter-spacing: -0.065em;
  text-wrap: balance;
  animation: homeHeroCopy 900ms var(--home-ease) 220ms both;
}

.home-hero-title span {
  color: #ffffff;
}

.home-hero-summary {
  max-width: 660px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.75;
  text-wrap: pretty;
  animation: homeHeroCopy 900ms var(--home-ease) 340ms both;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  animation: homeHeroCopy 900ms var(--home-ease) 460ms both;
}

.home-hero-foot {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
  padding-top: 20px;
  animation: homeHeroCopy 900ms var(--home-ease) 580ms both;
}

.home-hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-hero-trust span:nth-child(even) {
  color: var(--home-orange);
}


@keyframes homeHeroImage {
  from {
    opacity: 0.5;
    transform: scale(1.08);
  }
  to {
    opacity: 1;
    transform: scale(1.035);
  }
}

@keyframes homeHeroCopy {
  from {
    opacity: 0;
    transform: translate3d(0, 32px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* ============================================================
   4. PROOF STRIP
============================================================ */

.home-proof {
  --proof-gap: clamp(24px, 4vw, 56px);
  background: #ffffff;
  border-bottom: 1px solid var(--home-line);
}

.home-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--proof-gap);
  padding-block: clamp(36px, 4vw, 52px);
}

.home-proof-item {
  position: relative;
  min-width: 0;
}

/* Divider sits in the middle of the gap, so text still starts evenly */
.home-proof-item + .home-proof-item::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: calc(var(--proof-gap) / -2);
  width: 1px;
  background: var(--home-line);
}

.home-proof-value {
  display: block;
  color: var(--home-navy);
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 760;
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}

.home-proof-label {
  display: block;
  margin-top: 10px;
  color: var(--home-muted);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
}

/* ============================================================
   2. WHAT WE DO
============================================================ */

.home-services {
  padding: var(--home-section-space) 0;
  overflow: hidden;
  background: var(--home-surface-warm);
}

.home-services-rail-wrap {
  width: min(calc(100% - 48px), var(--home-shell));
  margin-inline: auto;
}

.home-services-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.home-service-card {
  min-width: 0;
}

.home-service-card-link {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 530px;
  overflow: hidden;
  color: #ffffff;
  background: var(--home-navy);
}

.home-service-card-link > img {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 720ms var(--home-ease), filter 500ms ease;
}

.home-service-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(2, 40, 79, 0.08) 18%,
      rgba(2, 40, 79, 0.38) 52%,
      rgba(2, 40, 79, 0.96) 100%
    );
  transition: background 420ms ease;
}

.home-service-content {
  align-self: flex-end;
  width: 100%;
  padding: 26px 24px 28px;
}

.home-service-number {
  display: block;
  margin-bottom: 14px;
  color: #ffbd8d;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.home-service-content h3 {
  max-width: 260px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.35rem, 2vw, 1.82rem);
  font-weight: 690;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.home-service-content p {
  display: -webkit-box;
  overflow: hidden;
  max-width: 300px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.84rem;
  line-height: 1.62;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.home-service-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
}

.home-service-action .ui-icon {
  transition: transform 320ms var(--home-ease);
}

.home-service-card-link:hover > img {
  transform: scale(1.055);
}

.home-service-card-link:hover .home-service-shade {
  background:
    linear-gradient(
      180deg,
      rgba(2, 40, 79, 0.12) 12%,
      rgba(2, 40, 79, 0.5) 48%,
      rgba(2, 40, 79, 0.98) 100%
    );
}

.home-service-card-link:hover .home-service-action .ui-icon {
  transform: translate(3px, -3px);
}

/* ============================================================
   6. INVESTMENT SOLUTIONS
============================================================ */

.home-investments {
  padding: var(--home-section-space) 0;
  color: #ffffff;
  background:
    radial-gradient(circle at 92% 8%, rgba(246, 134, 52, 0.13), transparent 24%),
    var(--home-navy-deep);
}

.home-section-intro-light h2 {
  color: #ffffff;
}

.home-section-intro-light .home-section-intro-side p {
  color: rgba(255, 255, 255, 0.66);
}

.home-investment-list {
  display: grid;
  gap: clamp(18px, 2vw, 28px);
}

.home-investment-row {
  display: grid;

  grid-template-columns:
    minmax(300px, 0.8fr)
    minmax(360px, 1fr);

  gap: clamp(36px, 5vw, 72px);

  align-items: center;

  padding:
    clamp(34px, 4.2vw, 56px)
    clamp(28px, 3.5vw, 46px);

  background: rgba(255, 255, 255, 0.035);
}

.home-investment-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: rgba(255, 255, 255, 0.08);
}

.home-investment-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.home-investment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--home-ease), filter 500ms ease;
}

.home-investment-row {
  transition: background-color 280ms var(--home-ease);
}

.home-investment-row:hover {
  background: rgba(255, 255, 255, 0.055);
}

.home-investment-row:hover .home-investment-image img {
  transform: scale(1.045);
}

.home-investment-meta {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.home-investment-meta span {
  margin-inline: 6px;
  color: var(--home-orange);
}

.home-investment-copy h3 {
  max-width: 620px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 3.15rem);
  font-weight: 690;
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.home-investment-copy > p:not(.home-investment-meta) {
  max-width: 620px;
  margin: 20px 0 24px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.94rem;
  line-height: 1.75;
}

/* ============================================================
   3. ABOUT
============================================================ */

.home-about {
  padding: var(--home-section-space) 0;
  overflow: hidden;
  background: #ffffff;
}

.home-about-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(58px, 9vw, 132px);
  align-items: center;
}

.home-about-copy h2 {
  margin-top: 20px;
  max-width: 650px;
}

.home-about-lead {
  max-width: 610px;
  margin: 30px 0 0;
  color: var(--home-ink);
  font-size: clamp(1.08rem, 1.5vw, 1.22rem);
  font-weight: 520;
  line-height: 1.72;
}

.home-about-body {
  max-width: 590px;
  margin: 18px 0 0;
  color: var(--home-muted);
  font-size: 0.96rem;
  line-height: 1.78;
}

.home-about-actions {
  margin-top: 30px;
}

.home-about-visual {
  position: relative;
  min-height: 610px;
}

.home-about-image {
  position: absolute;
  overflow: hidden;
  margin: 0;
  background: var(--home-surface);
}

.home-about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--home-ease);
}

.home-about-visual:hover .home-about-image-main img {
  transform: scale(1.035);
}

.home-about-image-main {
  top: 0;
  right: 0;
  width: 78%;
  height: 78%;
}

.home-about-image-secondary {
  bottom: 0;
  left: 0;
  width: 48%;
  height: 43%;
  border: 12px solid #ffffff;
}

.home-about-year {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 180px;
  padding: 24px 24px 22px;
  color: #ffffff;
  background: var(--home-orange);
}

.home-about-year span {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.home-about-year strong {
  display: block;
  margin-top: 5px;
  color: #ffffff;
  font-size: 2.25rem;
  font-weight: 760;
  line-height: 1;
  letter-spacing: -0.04em;
}

/* ============================================================
   5. WHY STI
============================================================ */

.home-why {
  padding: var(--home-section-space) 0;
  background: #ffffff;
}

.home-why-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 0.78fr)
    minmax(560px, 1.22fr);

  gap: clamp(48px, 7vw, 96px);

  align-items: start;
}

.home-why-intro {
  position: sticky;
  top: 124px;
}

.home-why-intro h2 {
  max-width: 620px;
}

.home-why-intro > p:not(.home-section-label) {
  max-width: 570px;
  margin: 28px 0 32px;
  color: var(--home-muted);
  font-size: 0.97rem;
  line-height: 1.8;
}

.home-principles {
  margin: 0;
  padding: 0;

  list-style: none;

  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 14px;
}

.home-principle {
  display: grid;

  grid-template-columns:
    52px
    minmax(0, 1fr);

  gap: 18px;

  align-items: start;

  min-width: 0;
  min-height: 190px;

  padding: 28px 26px;

  background: #f6f8fa;

  border: 1px solid rgba(3, 54, 105, 0.055);

  transition:
    transform 260ms var(--home-ease),
    background-color 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms var(--home-ease);
}

.home-principle:hover {
  transform: translateY(-3px);

  background: #ffffff;

  border-color: rgba(3, 54, 105, 0.1);

  box-shadow:
    0 14px 30px rgba(3, 54, 105, 0.06);
}

.home-principle:hover .home-principle-icon {
  color: #ffffff;

  background: var(--home-orange);

  border-color: var(--home-orange);

  transform: translateY(-2px);
}
.home-principle-icon {
  display: grid;
  place-items: center;

  width: 52px;
  height: 52px;

  color: var(--home-orange);

  background: rgba(246, 134, 52, 0.07);

  border: 1px solid rgba(246, 134, 52, 0.13);

  border-radius: 50%;

  transition:
    color 260ms ease,
    background-color 260ms ease,
    border-color 260ms ease,
    transform 260ms var(--home-ease);
}

.home-principle-icon .ui-icon {
  width: 24px;
  height: 24px;

  stroke: currentColor;
}

.home-principle-content {
  min-width: 0;
}

.home-principle h3 {
  margin: 0;
  color: var(--home-navy);
  font-size: 1.35rem;
  font-weight: 720;
  letter-spacing: -0.025em;
}

.home-principle p {
  max-width: 560px;
  margin: 10px 0 0;
  color: var(--home-muted);
  font-size: 0.91rem;
  line-height: 1.72;
}

/* ============================================================
   7. DAILY MARKET DIGEST
   Full-bleed image-led research feature.
============================================================ */

.home-digest {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: var(--home-section-space) 0;
  color: #ffffff;
  background: var(--home-navy-deep);
}

.home-digest-background {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.home-digest-background img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-digest::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(2, 32, 62, 0.97) 0%,
      rgba(3, 54, 105, 0.91) 34%,
      rgba(3, 54, 105, 0.70) 58%,
      rgba(2, 40, 79, 0.28) 100%
    );
}

.home-digest-inner {
  position: relative;
}

.home-digest-copy {
  max-width: 680px;
}

.home-digest-copy h2 {
  max-width: 660px;
  margin: 20px 0 0;
  color: #ffffff;
  font-size: clamp(2.35rem, 3.8vw, 3.75rem);
  font-weight: 720;
  line-height: 1.03;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.home-digest-copy > p:not(.home-section-label) {
  max-width: 570px;
  margin: 27px 0 0;
  color: rgba(255, 255, 255, 0.80);
  font-size: 1rem;
  line-height: 1.75;
}

.home-digest-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 28px 0 32px;
}

.home-digest-topics span {
  padding: 8px 11px;
  color: rgba(255, 255, 255, 0.90);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.025em;
}

/* ============================================================
   8. NEWS
============================================================ */

.home-insights {
  padding: var(--home-section-space) 0;
  background: #f2f5f7;
}

.home-insights-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.home-insight-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.44fr) minmax(0, 0.56fr);
  min-height: 290px;
  background: #ffffff;
}

.home-insight-card-featured {
  grid-row: 1 / span 2;
  grid-template-columns: 1fr;
  min-height: 598px;
}

.home-insight-image-link {
  display: block;
  min-width: 0;
  overflow: hidden;
  background: #e9eef3;
}

.home-insight-image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--home-ease);
}

.home-insight-card-featured .home-insight-image-link {
  min-height: 330px;
}

.home-insight-card:hover .home-insight-image-link img {
  transform: scale(1.04);
}

.home-insight-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
}

.home-insight-card-featured .home-insight-copy {
  padding: 34px;
}

.home-insight-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 12px;
  margin-bottom: 15px;
  color: var(--home-muted);
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-insight-meta span {
  color: var(--home-orange);
}

.home-insight-card h3 {
  margin: 0;
  color: var(--home-navy);
  font-size: clamp(1.12rem, 1.6vw, 1.5rem);
  font-weight: 720;
  line-height: 1.2;
  letter-spacing: -0.028em;
}

.home-insight-card-featured h3 {
  font-size: clamp(1.7rem, 2.8vw, 2.65rem);
  line-height: 1.08;
}

.home-insight-card h3 a {
  transition: color 220ms ease;
}

.home-insight-card h3 a:hover {
  color: var(--color-accent-action);
}

.home-insight-copy > p {
  display: -webkit-box;
  overflow: hidden;
  margin: 14px 0 20px;
  color: var(--home-muted);
  font-size: 0.87rem;
  line-height: 1.65;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.home-insight-card-featured .home-insight-copy > p {
  max-width: 650px;
  font-size: 0.94rem;
  -webkit-line-clamp: 3;
}

.home-insight-copy .home-text-link {
  margin-top: auto;
}

.home-insights-grid-1,
.home-insights-grid-2 {
  grid-template-rows: auto;
}

.home-insights-grid-1 .home-insight-card-featured {
  grid-column: 1 / -1;
  grid-row: auto;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
  min-height: 460px;
}

.home-insights-grid-2 .home-insight-card-featured {
  grid-row: auto;
}

.home-insights-grid-2 .home-insight-card:not(.home-insight-card-featured) {
  grid-template-columns: 1fr;
}

.home-insights-empty {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 48px 24px;
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--home-line);
}

.home-insights-empty > div {
  max-width: 520px;
}

.home-insights-empty-icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  color: var(--home-orange);
  background: rgba(246, 134, 52, 0.1);
}

.home-insights-empty h3 {
  margin: 0;
  color: var(--home-navy);
  font-size: 1.35rem;
}

.home-insights-empty p {
  margin: 10px 0 0;
  color: var(--home-muted);
}

/* ============================================================
   9. FINAL CTA
============================================================ */

.home-contact-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(96px, 11vw, 160px) 0 126px;
  color: #ffffff;
  background: var(--home-navy-deep);
}

.home-contact-media,
.home-contact-overlay {
  position: absolute;
  inset: 0;
}

.home-contact-media {
  z-index: -3;
}

.home-contact-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-contact-overlay {
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(2, 40, 79, 0.97) 0%,
      rgba(3, 54, 105, 0.91) 52%,
      rgba(3, 54, 105, 0.56) 100%
    );
}

.home-contact-inner {
  max-width: 1240px;
}

.home-contact-cta h2 {
  max-width: 780px;
  color: #ffffff;
}

.home-contact-cta > .home-contact-inner > p:not(.home-section-label) {
  max-width: 650px;
  margin: 28px 0 32px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1rem;
  line-height: 1.8;
}

/* Homepage uses its own CTA; footer newsletter intentionally overlaps it. */
.footer-newsletter-wrap {
  margin-top: -50px;
}

/* ============================================================
   REVEAL MOTION — PROGRESSIVE ENHANCEMENT
============================================================ */

[data-reveal].home-reveal-ready {
  opacity: 0;
  transition:
    opacity 720ms var(--home-ease) var(--home-reveal-delay, 0ms),
    transform 720ms var(--home-ease) var(--home-reveal-delay, 0ms);
  will-change: opacity, transform;
}

[data-reveal="up"].home-reveal-ready {
  transform: translate3d(0, 28px, 0);
}

[data-reveal="left"].home-reveal-ready {
  transform: translate3d(-28px, 0, 0);
}

[data-reveal="right"].home-reveal-ready {
  transform: translate3d(28px, 0, 0);
}

[data-reveal].home-reveal-ready.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* ============================================================
   TABLET
============================================================ */

@media (max-width: 1023px) {
  .home-shell,
  .home-services-rail-wrap {
    width: min(calc(100% - 40px), var(--home-shell));
  }

  .home-section-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-section-intro-side p {
    margin-bottom: 20px;
  }

  .home-hero {
    min-height: 680px;
  }

  .home-hero-media img {
    object-position: 58% center;
  }

  .home-hero-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(2, 32, 62, 0.95) 0%,
        rgba(3, 54, 105, 0.84) 58%,
        rgba(2, 40, 79, 0.45) 100%
      ),
      linear-gradient(
        180deg,
        rgba(2, 40, 79, 0.04) 40%,
        rgba(2, 40, 79, 0.78) 100%
      );
  }

  .home-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
  }

  /* Stats 1 and 3 start each row, so they don't need a divider */
  .home-proof-item:nth-child(odd)::before {
    display: none;
  }

  .home-investment-row {
    grid-template-columns:
      minmax(240px, 0.75fr)
      minmax(300px, 1fr);

    gap: 28px;
  }

  .home-about-grid {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .home-about-copy {
    max-width: 720px;
  }

  .home-about-visual {
    width: min(100%, 760px);
    min-height: 560px;
    margin-left: auto;
  }

  .home-services-rail-wrap {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .home-services-rail {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(360px, 72vw);
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 16px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .home-services-rail::-webkit-scrollbar {
    display: none;
  }

  .home-service-card {
    scroll-snap-align: start;
  }

  .home-service-card-link {
    min-height: 500px;
  }

  .home-why-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .home-why-intro {
    position: static;
    max-width: 720px;
  }

  .home-insights-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .home-insight-card,
  .home-insight-card-featured {
    grid-row: auto;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .home-insight-card-featured {
    grid-column: 1 / -1;
  }

  .home-insight-image-link,
  .home-insight-card-featured .home-insight-image-link {
    min-height: 280px;
    aspect-ratio: 16 / 9;
  }

  .home-insights-grid-1 .home-insight-card-featured {
    grid-template-columns: 1fr;
    min-height: 0;
  }
}

/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 767px) {
  :root {
    --home-section-space: 44px;
  }
  .home-shell,
  .home-services-rail-wrap {
    width: min(calc(100% - 32px), var(--home-shell));
  }

  .home-section-intro h2,
  .home-about h2,
  .home-why h2,
  .home-contact-cta h2 {
    font-size: clamp(2.15rem, 9.4vw, 3rem);
    line-height: 1;
    letter-spacing: -0.045em;
  }

  .home-section-label {
    font-size: 0.66rem;
  }

  .home-hero {
    min-height: 0;
  }

  .home-hero-media img {
    object-position: 59% center;
  }

  .home-hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(2, 40, 79, 0.58) 0%,
        rgba(3, 54, 105, 0.78) 44%,
        rgba(2, 40, 79, 0.97) 100%
      );
  }

  .home-hero::after {
    opacity: 0.1;
    background-size: 72px 72px;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .home-hero-inner {
    min-height: 0;
    padding-top: clamp(64px, 12vw, 82px);
    padding-bottom: 48px;
  }

  .home-hero-title {
    font-size: clamp(2.85rem, 13vw, 4.25rem);
    line-height: 0.95;
  }

  .home-hero-summary {
    max-width: 540px;
    margin-top: 24px;
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .home-hero-actions {
    margin-top: 28px;
  }

  .home-hero-foot {
    align-items: flex-end;
    margin-top: 36px;
    padding-top: 0;
  }

  .home-hero-trust {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    font-size: 0.68rem;
    line-height: 1.45;
  }

  .home-hero-trust span:nth-child(even) {
    display: none;
  }

  .home-proof {
    --proof-gap: 20px;
  }

  .home-proof-grid {
    row-gap: 28px;
    padding-block: 32px;
  }

  .home-proof-value {
    font-size: clamp(1.75rem, 8vw, 2.55rem);
  }

  .home-investment-row {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 18px 30px;
  }

  .home-investment-image,
  .home-investment-copy {
    grid-column: 1;
    grid-row: auto;
  }

  .home-investment-image {
    margin-bottom: 2px;
    aspect-ratio: 16 / 10;
  }

  .home-investment-copy h3 {
    font-size: clamp(1.72rem, 8vw, 2.45rem);
  }

  .home-about-grid {
    gap: 44px;
  }

  .home-about-visual {
    display: grid;
    width: 100%;
    min-height: 0;
    margin: 0;
  }

  .home-about-image {
    position: relative;
    inset: auto;
  }

  .home-about-image-main {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .home-about-image-secondary {
    z-index: 2;
    width: 58%;
    height: auto;
    aspect-ratio: 4 / 3;
    margin-top: -64px;
    border-width: 8px;
  }

  .home-about-year {
    right: 0;
    bottom: 22px;
    width: 142px;
    padding: 19px 18px;
  }

  .home-about-year strong {
    font-size: 1.85rem;
  }

  .home-services-rail-wrap {
    box-sizing: border-box;
    width: 100%;
    padding-left: 16px;
    padding-right: 0;
  }

  .home-services-rail {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(82vw, 340px);
    padding-right: 16px;
    scroll-padding-left: 16px;
  }

  .home-service-card-link {
    height: clamp(420px, 115vw, 480px);
    min-height: 0;
  }

  .home-principles {
  grid-template-columns: 1fr;

  gap: 10px;
}

.home-principle {
  grid-template-columns:
    46px
    minmax(0, 1fr);

  gap: 16px;

  min-height: 0;

  padding: 24px 20px;
}

.home-principle-icon {
  width: 46px;
  height: 46px;
}

.home-principle-icon .ui-icon {
  width: 21px;
  height: 21px;
}

  .home-digest {
    min-height: 0;
  }

  .home-digest-background img {
    object-position: 64% center;
  }

  .home-digest::before {
    background:
      linear-gradient(
        180deg,
        rgba(2, 40, 79, 0.70) 0%,
        rgba(3, 54, 105, 0.87) 44%,
        rgba(2, 40, 79, 0.97) 100%
      );
  }

  .home-digest-copy {
    max-width: 100%;
  }

  .home-digest-copy h2 {
    font-size: clamp(2.15rem, 9.4vw, 3rem);
    line-height: 1;
    letter-spacing: -0.045em;
  }

  .home-digest-copy > p:not(.home-section-label) {
    font-size: 0.96rem;
    line-height: 1.7;
  }

  .home-insights-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .home-insight-card-featured {
    grid-column: auto;
  }

  .home-insight-image-link,
  .home-insight-card-featured .home-insight-image-link {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .home-insight-copy,
  .home-insight-card-featured .home-insight-copy {
    padding: 24px 22px 26px;
  }

  .home-insight-card-featured h3 {
    font-size: clamp(1.45rem, 7vw, 2.05rem);
  }

  .home-contact-cta {
    padding-bottom: 108px;
  }

  .home-contact-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(2, 40, 79, 0.72) 0%,
        rgba(2, 40, 79, 0.97) 100%
      );
  }

  .footer-newsletter-wrap {
    margin-top: 0;
  }
}

/* ============================================================
   SMALL MOBILE
============================================================ */

@media (max-width: 480px) {
  .home-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-button {
    width: 100%;
  }

  :root {
    --home-section-space: 40px;
  }

  .home-investment-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px 16px 28px;
  }

  .home-about-image-secondary {
    width: 64%;
    margin-top: -48px;
  }

  .home-about-year {
    bottom: 12px;
    width: 124px;
    padding: 16px 14px;
  }

  .home-about-year strong {
    font-size: 1.6rem;
  }

  .home-services-rail {
    grid-auto-columns: min(84vw, 330px);
  }
}

/* ============================================================
   REDUCED MOTION
============================================================ */

@media (prefers-reduced-motion: reduce) {
  .home-hero-media img,
  .home-hero-eyebrow,
  .home-hero-trust,
  .home-hero-title,
  .home-hero-summary,
  .home-hero-actions,
  .home-hero-foot {
    animation: none !important;
  }

  /*
   * The video is not injected at all under reduced motion,
   * but guard the transition in case it is already in the DOM
   * when the preference changes mid-session.
   */
  .home-hero-video {
    transition: none !important;
  }

  .home-motion-ready [data-reveal],
  [data-reveal].home-reveal-ready.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .home-investment-image img,
  .home-about-image img,
  .home-service-card-link > img,
  .home-insight-image-link img,
  .home-button,
  .home-text-link::after,
  .home-text-link .ui-icon,
  .home-service-action .ui-icon {
    transition: none;
  }

  .home-services-rail {
    scroll-behavior: auto;
  }
}
/* ===========================================================
   STICKY STACKED INVESTMENT CARDS
   -----------------------------------------------------------
   Each row sticks below the header as it scrolls, and the next
   row rides up over it. The previous card's title stays
   visible, so the stack reads as a deck rather than the cards
   simply disappearing.

   Pure CSS: sticky positioning does all of it.
   =========================================================== */

/*
 * Mobile stacking needs the cards to fit inside the viewport,
 * or there is no room for one to sit while the next travels.
 * The image is capped and the padding tightened to buy that
 * space back.
 */
@media (max-width: 1023px) {
  .home-investment-list {
    display: block;
  }

  .home-investment-row {
    position: sticky;
    top: 88px;
    margin-bottom: 45vh;
    background: var(--home-navy-deep);
    box-shadow: 0 -10px 30px rgba(2, 32, 62, 0.55);
    padding: 22px;
  }

  .home-investment-row:nth-child(2) { top: 106px; }
  .home-investment-row:nth-child(3) { top: 124px; }

  .home-investment-row .home-investment-image {
    max-height: 180px;
  }

  .home-investment-row .home-investment-image img {
    height: 180px;
    object-fit: cover;
  }

  .home-investment-list::after {
    content: "";
    display: block;
    height: 8vh;
  }
}

/*
 * Below 600px there is not enough height for the effect to
 * read at all, so the rows behave normally.
 */
@media (max-width: 599px) {
  .home-investment-row {
    position: static;
    margin-bottom: 18px;
    box-shadow: none;
  }

  .home-investment-list::after {
    display: none;
  }
}


@media (prefers-reduced-motion: reduce) {
  .home-investment-row {
    position: static !important;
    box-shadow: none;
  }

  .home-investment-list::after {
    display: none;
  }
}
/* ===========================================================
   STICKY STACKED INVESTMENT CARDS
   -----------------------------------------------------------
   Each row sticks below the header as it scrolls and the next
   rides up over it, leaving the previous card's title strip on
   show. Pure CSS: sticky positioning does all of it.
   =========================================================== */

@media (min-width: 1024px) {

  /*
   * Grid children can be sticky, but the grid's own gap fights
   * the stack. Block layout gives each row its own flow.
   */
  .home-investment-list {
    display: block;
  }

  .home-investment-row {
    position: sticky;

    /*
     * 110px clears the 90px header. Each card stops 64px lower
     * than the last, and that gap is what stays visible of the
     * card underneath.
     */
    top: 110px;

    /*
     * An opaque background is essential. The band is navy, so
     * the card must be navy too, or the row beneath shows
     * through where they overlap.
     */
    background: var(--home-navy-deep);

    margin-bottom: clamp(18px, 2vw, 28px);

    /*
     * Leading-edge shadow sells the overlap. Without it the
     * cards read as merging rather than sliding over.
     */
    box-shadow: 0 -10px 30px rgba(2, 32, 62, 0.55);
  }

  .home-investment-row:nth-child(2) { top: 174px; }
  .home-investment-row:nth-child(3) { top: 238px; }

  /*
   * Hover tint must stay opaque now that cards overlap, so the
   * translucent version is replaced with a solid mix.
   */
  .home-investment-row:hover {
    background: #0a3560;
  }

  /*
   * Tail space so the last card can settle before the whole
   * stack scrolls away together.
   */
  .home-investment-list::after {
    content: "";
    display: block;
    height: 28vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-investment-row {
    position: static !important;
    box-shadow: none;
  }

  .home-investment-list::after {
    display: none;
  }
}

.home-about-image-main img {
  object-position: center 22%;
}