/* =========================================================================
   Inner-page banner — Framer "HeroSlideshow" (Ken Burns photo) + text layers
   Used by About (and the other inner pages)
   ========================================================================= */
.ph { position: relative; isolation: isolate; width: 100%; height: 817px; overflow: hidden; background: #050B18; color: #FFFFFF; }
.ph-img { position: absolute; inset: 0; transform-origin: 50% 50%; animation: phZoom 8.6s linear forwards; will-change: transform; }
.ph-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }
@keyframes phZoom { from { transform: scale(1); } to { transform: scale(1.12); } }
.ph-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(5, 11, 24, .9) 0%, rgba(5, 11, 24, .9) 25%, transparent 85%); opacity: .85; pointer-events: none; }

/* text block: 1440px frame, 80px inner padding → lines up with the 1280px content edge */
.ph-text { position: absolute; z-index: 2; top: 50%; left: 50%; width: min(1440px, 100%); transform: translate(-50%, -50%); display: flex; flex-direction: column; gap: 24px; padding: 0 80px; }
.ph-crumbs { display: flex; align-items: center; gap: 8px; padding: 16px 0; font-size: 13px; }
.ph-crumbs a { color: #FFFFFF; text-decoration: none; transition: color .25s ease; }
.ph-crumbs a:hover { color: #C8A96A; }
.ph-crumbs span { color: #BBBDBF; }
.ph-crumbs b { color: #C8A96A; font-weight: 600; }
.ph-eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; }
.ph-main { display: flex; flex-direction: column; gap: 16px; }
.ph-title { margin: 0; font-family: 'Tenor Sans', 'Noto Sans SC', sans-serif; font-size: 64px; font-weight: 400; line-height: 65px; color: #C5A059; white-space: pre; }
.ph-title span { color: #FFFFFF; }
.ph-desc { width: min(540px, 100%); }
.ph-desc p { margin: 0; font-size: 16px; line-height: 28px; }
.ph-desc p + p { margin-top: 28px; }

/* text rises in once (Framer appear effect) */
.ph-text > * { animation: phUp .9s cubic-bezier(0.22, 1, 0.36, 1) both; }
.ph-text > *:nth-child(2) { animation-delay: .08s; }
.ph-text > *:nth-child(3) { animation-delay: .16s; }
@keyframes phUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
body.gbh-loading .ph-text > * { animation-play-state: paused; }

@media (max-width: 899.98px) {
  .ph-text { padding: 0 24px; }
  .ph-title { font-size: 52px; line-height: 1.1; }
}
@media (max-width: 767.98px) {
  .ph { height: auto; min-height: 100svh; }
  .ph-shade { background: linear-gradient(0deg, rgba(5, 11, 24, .9) 0%, rgba(5, 11, 24, .9) 30%, transparent 100%); }
  .ph-text { top: auto; bottom: 0; transform: none; left: 0; padding: 120px 20px 48px; gap: 16px; position: relative; min-height: 100svh; justify-content: flex-end; }
  .ph-title { font-size: 40px; white-space: normal; }
  .ph-desc p { font-size: 15px; line-height: 25px; }
  .ph-desc p + p { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) { .ph-img, .ph-text > * { animation: none !important; } }

/* title variant: white text, gold highlight, wraps (Service banner) */
.ph-title.is-wrap { white-space: normal; max-width: 700px; color: #FFFFFF; line-height: 1.08; }
.ph-title.is-wrap b { font-weight: inherit; color: #C8A96A; }

/* text block starts at the top of the banner (Service) instead of the vertical centre */
@media (min-width: 768px) { .ph.is-top .ph-text { top: 0; transform: translateX(-50%); padding-top: 140px; } }
@media (min-width: 768px) { .ph.is-top { height: 680px; } }
/* Chinese title is made of wide characters: give it room so it breaks nicely */
html[lang^="zh"] .ph-title.is-wrap { max-width: 900px; }

/* Contact banner: gold small line, wide description */
.ph-eyebrow.is-gold { color: #C8A96A; }
.ph-desc.is-wide { width: min(820px, 100%); }
@media (min-width: 768px) { .ph.is-top.is-short { height: 560px; } }
