/* Homepage composition derived from the clear glass design concept. */
.corporate[data-page="index"] .v4-main { margin-top: -88px; padding-top: 0; }

.crystal-home-feature {
  --home-header-space: 100px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: var(--home-header-space);
  background: #dceffc;
  border-radius: 34px;
}
.crystal-home-art {
  grid-area: 1 / 1 / 2 / 2;
  position: absolute;
  inset: calc(-1 * var(--home-header-space)) 0 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.crystal-home-art::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 89%, #dceffc);
}
.corporate[data-page="index"] .crystal-home-art > .v4-hero-image {
  inset: 0;
  width: 100%;
  height: 100%;
  object-position: right bottom;
}
.crystal-home-feature::before {
  position: absolute;
  inset: 0;
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, #eff9ffdd 0%, #eaf6ff96 31%, transparent 68%);
}
.corporate[data-page="index"] .crystal-home-feature .v4-hero {
  grid-area: 1 / 1;
  min-height: clamp(385px, calc(39.5vw - 12px), 570px);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  isolation: auto;
}
.corporate[data-page="index"] .crystal-home-feature .v4-hero::before,
.corporate[data-page="index"] .crystal-home-feature .v4-hero::after { display: none; }
.corporate[data-page="index"] .crystal-home-feature .v4-hero-content {
  width: min(56%, 690px);
  margin: 0;
  padding: clamp(18px, 4.5vw, 65px);
  border: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}
.corporate[data-page="index"] .crystal-home-feature h1 {
  max-width: 580px;
  margin: 0;
  font-size: clamp(34px, 5.05vw, 76px);
  letter-spacing: -.055em;
  text-wrap: unset;
}
html[lang="zh-Hans"] .corporate[data-page="index"] .crystal-home-feature h1 {
  font-size: clamp(32px, 4.4vw, 64px);
  letter-spacing: -.02em;
}
.corporate[data-page="index"] .crystal-home-feature .lead { max-width: 400px; }

/* The light rim stays crisp while the image shows through each glass surface. */
body.corporate[data-page="index"] #impact .metric-card,
.corporate[data-page="index"] :is(.partnership-section > .wrap, .crystal-quote-band) {
  background: linear-gradient(136deg, #fbfeffd9, #e7f6ff9e 64%, #e7f9ffbe);
  border: 1px solid #ffffffef;
  box-shadow: inset 2px 2px 3px #fff, inset -2px -2px 4px #bbeaff9c,
    inset 4px -3px 10px #fff3d461, 0 9px 24px #284e7630;
  backdrop-filter: blur(13px) saturate(1.22);
}
.corporate[data-page="index"] .crystal-home-feature #impact {
  grid-area: 2 / 1;
  position: relative;
  margin: 0;
  padding: 10px clamp(9px, 2vw, 25px) clamp(12px, 2vw, 25px);
  background: transparent;
}
.corporate[data-page="index"] .crystal-home-feature #impact .wrap { width: 100%; }
.corporate[data-page="index"] .crystal-home-feature #impact .metrics-grid {
  border: 0;
  gap: clamp(8px, 1.15vw, 16px);
}
.corporate[data-page="index"] .crystal-home-feature #impact .metric-card {
  min-height: 0;
  padding: clamp(14px, 1.6vw, 23px) 7px;
  border: 1px solid #fffffff0;
  color: #102943;
}
.corporate[data-page="index"] .crystal-home-feature #impact .metric-number { color: #0655a2; }
.corporate[data-page="index"] .crystal-home-feature #impact .metric-card p { color: #1d3a56; }
@media (max-width: 800px) {
  .home-impact-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
  }
  .corporate .home-impact-actions a.home-whatsapp {
    position: static;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
  }
  .corporate .home-impact-actions a.home-whatsapp > svg {
    width: 25px;
    height: 25px;
  }
}

body.corporate[data-page="index"] #partnerships { background: transparent; }
.corporate[data-page="index"] .partnership-section > .wrap {
  padding: clamp(20px, 3vw, 35px);
  border-radius: 24px;
}
.corporate[data-page="index"] .partnership-section .section-head {
  max-width: 680px;
  margin: 0 auto clamp(12px, 2vw, 22px);
  text-align: center;
}
.corporate[data-page="index"] .partnership-section .section-head > div {
  text-align: center;
}
.corporate[data-page="index"] .partnership-section .partner-marquee {
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
}

.corporate[data-page="index"] .v4-story-card {
  display: grid;
  position: relative;
  align-items: end;
  min-height: clamp(290px, 28vw, 395px);
  isolation: isolate;
  background: #183553;
}
.corporate[data-page="index"] .v4-story-card > img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.corporate[data-page="index"] .v4-story-card::before {
  position: absolute;
  inset: 0;
  content: "";
  z-index: -1;
  background: linear-gradient(0deg, #081d36ed, #0f284bad 33%, transparent 77%);
}
.corporate[data-page="index"] .v4-story-card :is(h3, p) { color: #fff; }
.corporate[data-page="index"] .v4-story-card p { margin: 12px 0 15px; }
.corporate[data-page="index"] .v4-story-card .v4-link {
  display: inline-flex;
  gap: 10px;
  background: #ffffffe0;
  color: #123d66;
  border-radius: 999px;
  padding: 8px 13px;
}
.crystal-project-card { grid-template-areas: "project"; }
.crystal-project-card > * { grid-area: project; }
.crystal-project-card > span {
  align-self: end;
  margin: 0 8px 8px;
  border-radius: 15px;
  background: linear-gradient(120deg, #f2fcffdf, #e1f3ffba);
  box-shadow: inset 0 1px 1px #fff, 0 2px 9px #10273e45;
  backdrop-filter: blur(12px);
  z-index: 1;
}
.corporate[data-page="index"] .crystal-quote-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: clamp(18px, 3vw, 34px);
  border-radius: 22px;
  text-align: start;
}
.crystal-quote-band::before { display: none; }
.crystal-quote-band h3 { margin: 0; font-size: clamp(24px, 3vw, 40px); letter-spacing: -.04em; }

@media (max-width: 700px) {
  .corporate[data-page="index"] .v4-main { margin-top: -74px; }
  .crystal-home-feature { --home-header-space: 79px; border-radius: 24px; }
  .corporate[data-page="index"] .crystal-home-feature h1 { font-size: clamp(31px, 8.7vw, 48px); }
  .corporate[data-page="index"] .crystal-home-feature .lead { font-size: 15px; }
  .corporate[data-page="index"] .v4-story-card > div { padding: 22px; }
  .corporate[data-page="index"] .v4-story-card .v4-link { min-height: 44px; align-items: center; }
}
@media (max-width: 800px) {
  .crystal-home-feature::before {
    z-index: -3;
    background: linear-gradient(155deg, #eff9ff, #d0eafc 44%, #dceffc);
  }
  .corporate[data-page="index"] .crystal-home-feature .v4-hero {
    min-height: 0;
    display: block;
  }
  .corporate[data-page="index"] .crystal-home-feature .v4-hero-content {
    width: 100%;
    padding: 16px clamp(19px, 4.5vw, 36px) 18px;
  }
  .crystal-home-art {
    grid-area: 2 / 1;
    position: relative;
    inset: auto;
    aspect-ratio: 8 / 5;
  }
  .corporate[data-page="index"] .crystal-home-art > .v4-hero-image {
    inset: auto 0 0 auto;
    width: 153%;
    max-width: none;
    height: auto;
  }
  .crystal-home-art::after {
    background: linear-gradient(180deg, #d0eafc 0%, transparent 8%, transparent 83%, #dceffc 100%);
  }
  .corporate[data-page="index"] .crystal-home-feature #impact { grid-area: 3 / 1; }
}
@media (prefers-reduced-transparency: reduce) {
  body.corporate[data-page="index"] #impact .metric-card,
  .corporate[data-page="index"] :is(.partnership-section > .wrap, .crystal-quote-band),
  .corporate[data-page="index"] .crystal-project-card > span {
    background: #f0f8ff;
    backdrop-filter: none;
  }
}
