/* Full-viewport video background, with homepage copy layered in front. */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 63px);
  min-height: calc(100svh - 63px);
  overflow: hidden;
  background: #f5f2e7 url('../images/newsite/home-hero-poster.jpg') center / cover no-repeat;
  text-align: left;
}
.home-hero-media { position: absolute; inset: 0; z-index: -2; }
.home-hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #f5f2e7 0%, rgba(245,242,231,.97) 20%, rgba(245,242,231,.87) 34%, rgba(245,242,231,.28) 53%, transparent 72%);
  pointer-events: none;
}
.home-hero-layout.wrap {
  display: flex;
  align-items: center;
  width: min(1280px, calc(100% - 88px));
  min-height: inherit;
}
.page-home .home-hero-copy { width: min(550px, 46%); padding: 70px 0 76px; }
.home-hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  color: #62634f;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.home-hero .eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: #df6524; }
.page-home .home-hero h1 {
  max-width: 550px;
  margin: 0 0 24px;
  color: #243b36;
  font-size: clamp(48px, 4.9vw, 74px);
  font-weight: 750;
  line-height: 1.06;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.home-hero h1 > span { display: block; color: #bc4c18; }
.page-home .home-hero .lead {
  max-width: 440px;
  margin: 0;
  color: #344e47;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 600;
  line-height: 1.4;
}
.page-home .home-hero p.support {
  max-width: 410px;
  margin: 16px 0 0;
  color: #515b4f;
  font-size: 16px;
  line-height: 1.7;
}
.home-hero .hero-actions { justify-content: flex-start; gap: 8px; margin-top: 29px; }
.home-hero .button {
  min-height: 48px;
  padding: 0 21px;
  background: #254d40;
  font-size: 14px;
  transition: background .18s ease;
}
.home-hero .button:hover { background: #183a2f; }
.home-hero .button.secondary { color: #304a40; background: transparent; }
.home-hero .button.secondary:hover { background: #e8e7d9; }
.home-hero .button:focus-visible { outline: 3px solid #bc4c18; outline-offset: 4px; }
.home-hero-path {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 36px;
  color: #56624f;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .035em;
}
.home-hero-path i { color: #7e8975; font-style: normal; }
.lang-cn .home-hero h1 { line-height: 1.2; letter-spacing: -.025em; }
.lang-ms .home-hero h1 { font-size: clamp(40px, 4.1vw, 62px); }
@media (max-width: 980px) {
  .page-home .home-hero { min-height: calc(100vh - 67px); min-height: calc(100svh - 67px); }
  .home-hero-layout.wrap { width: calc(100% - 60px); }
  .page-home .home-hero-copy { width: 55%; padding: 60px 0; }
  .page-home .home-hero h1 { font-size: 50px; }
  .lang-ms .home-hero h1 { font-size: 43px; }
  .home-hero::before { background: linear-gradient(90deg, rgba(245,242,231,.98), rgba(245,242,231,.94) 28%, rgba(245,242,231,.68) 46%, transparent 90%); }
  .home-hero .button { padding: 0 16px; }
}
@media (max-width: 700px) {
  .home-hero-layout.wrap { width: calc(100% - 48px); align-items: flex-start; }
  .page-home .home-hero-copy { width: 100%; max-width: 450px; padding: 42px 0 190px; }
  .home-hero-video { object-position: 63% center; }
  .home-hero::before { background: linear-gradient(180deg, rgba(245,242,231,.98) 0%, rgba(245,242,231,.94) 32%, rgba(245,242,231,.85) 60%, rgba(245,242,231,.25) 82%, transparent); }
  .home-hero .eyebrow { margin-bottom: 20px; font-size: 11px; }
  .page-home .home-hero h1 { max-width: 500px; font-size: clamp(42px, 9vw, 56px); margin-bottom: 20px; }
  .lang-ms .home-hero h1 { font-size: clamp(36px, 8vw, 48px); }
  .page-home .home-hero .lead { font-size: 18px; }
  .page-home .home-hero p.support { margin-top: 12px; font-size: 15px; line-height: 1.6; }
  .home-hero .hero-actions { margin-top: 23px; }
  .home-hero .button.secondary { background: rgba(245,242,231,.75); }
  .home-hero-path { display: none; }
}
@media (max-width: 700px) and (orientation: portrait) {
  .page-home .home-hero {
    --hero-art-height: clamp(248px, 94vw, 430px);
    background-image: none;
  }
  /* Use a shorter crop within the full-screen background so the sign stays in view. */
  .home-hero-video {
    position: absolute;
    inset: auto 0 0;
    height: var(--hero-art-height);
    object-position: 82% center;
    mask-image: linear-gradient(transparent, #000 26px);
  }
  .home-hero::before { background: none; }
  .page-home .home-hero-copy { padding: 36px 0 calc(var(--hero-art-height) - 12px); }
  .page-home .home-hero h1 { font-size: clamp(36px, 9vw, 54px); margin-bottom: 16px; }
  .lang-ms .home-hero h1 { font-size: clamp(34px, 8vw, 48px); }
  .home-hero .hero-actions { margin-top: 19px; }
}
