/* Hero statement: huge two-line headline left of center at about mid-height,
   small paragraph + Book Today bottom-left, subtle dark gradient left and bottom.
   Text only (no panel). Replaces the older hero eyebrow/lede block. */
.hero-statement{
  position:absolute;
  inset:0;
  z-index:2;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:calc(var(--head-h,72px) + 8vh) var(--pad,24px) clamp(28px,6vh,64px);
  box-sizing:border-box;
  pointer-events:none;
}
.hero-statement > *{pointer-events:auto}
.d-hero .hero-statement .hero-statement-h{
  position:absolute;
  left:var(--pad,24px);
  right:var(--pad,24px);
  top:53%;
  margin:0;
  padding:0;
  max-width:100%;
  font-family:Akrobat,"Akrobat",sans-serif;
  font-weight:900;
  font-size:clamp(28px,calc((100vw - 2 * var(--pad,24px)) / var(--hs-k,13.5)),112px);
  line-height:.98;
  letter-spacing:0;
  text-transform:uppercase;
  text-align:left;
  text-wrap:balance;
  overflow-wrap:break-word;
  text-shadow:0 2px 24px rgba(0,0,0,.35);
}
.hero-statement-h .hs-l1,
.hero-statement-h .hs-l2{display:block}
.hero-statement .hero-statement-h .hs-l1{color:#fff;font-weight:900}
.hero-statement .hero-statement-h .hs-l2{color:#003CD5;font-weight:800;font-style:normal;margin-top:.04em;text-shadow:none}
html:is([lang="zh-CN"],[lang="zh-Hant"],[lang="ja"],[lang="th"]) .hero-statement .hero-statement-h .hs-l2{font-style:normal;font-weight:700}
.hero-statement-foot{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:16px;
  width:100%;
  max-width:min(34rem,100%);
}
.hero-statement-p{
  margin:0;
  max-width:100%;
  white-space:normal;
  word-break:normal;
  overflow-wrap:anywhere;
  color:#fff;
  font-size:clamp(15px,1.25vw,19px);
  line-height:1.5;
  text-shadow:0 1px 12px rgba(0,0,0,.5);
}
.hero-statement-btn{
  display:inline-block;
  padding:14px 28px;
  background:#FF7800;
  color:#fff;
  font-family:Akrobat,"Akrobat",sans-serif;
  font-weight:900;
  font-size:19px;
  letter-spacing:.04em;
  text-transform:uppercase;
  text-decoration:none;
  border-radius:0;
}
.hero-statement-btn:hover,
.hero-statement-btn:focus-visible{background:#003CD5;color:#fff}
.hero-statement-btn:focus-visible{outline:2px solid #fff;outline-offset:3px}
/* Width-fit divisors per language (longest line must fit; wrapping is the fallback). */
html[lang="zh-CN"]{--hs-k:7.2}
html[lang="zh-Hant"]{--hs-k:7.2}
html[lang="ja"]{--hs-k:15}
html[lang="th"]{--hs-k:15}
html[lang="vi"]{--hs-k:16}
html[lang="id"]{--hs-k:15}
html[lang="ms"]{--hs-k:17.5}
html[lang="fil"]{--hs-k:16}
/* Subtle dark gradient on the left and bottom of the pinned hero video, for legibility. */
.concept-d .d-hero-img::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    linear-gradient(90deg,rgba(0,0,0,.58) 0%,rgba(0,0,0,.28) 42%,rgba(0,0,0,0) 72%),
    linear-gradient(0deg,rgba(0,0,0,.62) 0%,rgba(0,0,0,.2) 32%,rgba(0,0,0,0) 55%);
}
/* Section titles used to copy the old hero h1 size by script. Keep their sizes the same
   without it (values match the previous fitted sizes per language). */
html[lang="zh-CN"]{--hero-title-size:clamp(16px,calc((100vw - 32px) / 9.89),62px)}
html[lang="zh-Hant"]{--hero-title-size:clamp(16px,calc((100vw - 32px) / 9.32),62px)}
html[lang="ja"]{--hero-title-size:clamp(16px,calc((100vw - 32px) / 20.6),62px)}
html[lang="th"]{--hero-title-size:clamp(16px,calc((100vw - 32px) / 13.65),62px)}
html[lang="vi"]{--hero-title-size:clamp(16px,calc((100vw - 32px) / 13.66),62px)}
html[lang="id"]{--hero-title-size:clamp(16px,calc((100vw - 32px) / 13.98),62px)}
html[lang="ms"]{--hero-title-size:clamp(16px,calc((100vw - 32px) / 17.36),62px)}
html[lang="fil"]{--hero-title-size:clamp(16px,calc((100vw - 32px) / 19.92),62px)}
html[lang="en"],html[lang="en-US"]{--hero-title-size:clamp(16px,calc((100vw - 32px) / 14.2),62px)}
@media (max-width:640px){
  .d-hero .hero-statement .hero-statement-h{top:47%}
  /* Phone: bigger type, the long line wraps to two lines. */
  html[lang="en"]{--hs-k:9}
  html[lang="zh-CN"],html[lang="zh-Hant"]{--hs-k:7.2}
  html[lang="ja"]{--hs-k:12}
  html[lang="th"]{--hs-k:11}
  html[lang="vi"]{--hs-k:11}
  html[lang="id"]{--hs-k:10.5}
  html[lang="ms"]{--hs-k:12}
  html[lang="fil"]{--hs-k:11}
  .hero-statement{padding-bottom:calc(112px + env(safe-area-inset-bottom,0px))}
  .hero-statement-p{font-size:14px;line-height:1.45}
  .hero-statement-btn{padding:12px 22px;font-size:17px}
}

html[lang="ja"] .hero-statement .hero-statement-h .hs-l2{word-break:auto-phrase}
