/* Hero (first screen)
   Hash suffix _1cp90. Video background, editorial layout, frame.
   Part of the ENVY visual layer: files are loaded in numeric order and later files win — keep the order. See ../../README.md */
/* hero (first screen): light darkening so type reads over the video; video blurs as the page scrolls (--hero-p set by js/motion/01-core.js and siblings) */
[class*="_card_1cp90_20"] { isolation: isolate; }
[class*="_card_1cp90_20"]::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(4,7,9,.42) 0%, rgba(4,7,9,.14) 24%, rgba(4,7,9,.26) 54%, rgba(4,7,9,.74) 100%);
}
/* soft white "cloud" haze drifting in the sky part of the hero (pre-soft radial blobs, only translate is animated) */
.env-haze { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.env-haze i { position: absolute; display: block; border-radius: 50%; will-change: translate;
  background: radial-gradient(closest-side, rgba(255,255,255,var(--a,.34)) 0%, rgba(255,255,255,calc(var(--a,.34) * .55)) 38%, rgba(255,255,255,0) 100%);
  animation: env-haze-drift var(--d, 40s) ease-in-out var(--dl, 0s) infinite alternate; }
.env-haze i:nth-child(1) { left: 38%; top: -18%; width: 62%; height: 52%; --a: .50; --d: 46s; }
.env-haze i:nth-child(2) { left: 66%; top: 8%;  width: 52%; height: 40%; --a: .40; --d: 38s; --dl: -9s; }
.env-haze i:nth-child(3) { left: -8%; top: -10%; width: 46%; height: 36%; --a: .22; --d: 52s; --dl: -20s; }
.env-haze i:nth-child(4) { left: 22%; top: 30%; width: 50%; height: 24%; --a: .16; --d: 44s; --dl: -14s; }
@keyframes env-haze-drift { from { translate: -4% 1%; } to { translate: 5% -2%; } }
@media (prefers-reduced-motion: reduce) {
  .env-haze i { animation: none; }
}
[class*="_bgVideo_1cp90"] { --hero-p: 0; transform: translateZ(0) scale(calc(1 + var(--hero-p) * .26)) !important; transform-origin: 50% 40%; transition: transform .7s cubic-bezier(.22, 1, .36, 1), filter .7s cubic-bezier(.22, 1, .36, 1); }
[class*="_title_1cp90_455"], [class*="_subtitle_1cp90_468"], [class*="_brandLine_1cp90_480"] { text-shadow: 0 2px 18px rgba(0,0,0,.45); }
[class*="_brandLine_1cp90_480"] { color: rgba(255,255,255,.72); }
@media (min-width: 768px) {
  [class*="_brandLine_1cp90_480"] { text-align: left; max-width: 560px; }
}
[class*="_title_1cp90"] { font-weight: 600 !important; letter-spacing: 0; line-height: .98; }
html[lang=zh] h1, html[lang=zh] h2, html[lang=zh] h3, html[lang=zh] [class*="_title_1cp90"], html[lang=zh] [class*="_sectionTitle_"] { letter-spacing: 0; font-weight: 700 !important; }
/* hero video: plays always; blur/dim only while scrolled (Safari freezes video that has a filter at rest) */
/* hero video: colour is pulled back 20% at rest (saturate .8) and drains to black-and-white as the page scrolls, together with the blur, dimming and zoom.
   The filter list is constant (no none <-> filter switch), so Safari never re-creates the video layer; --hero-p is quantised in js. */
[class*="_bgVideo_1cp90"] { will-change: auto; filter: saturate(calc(.8 * (1 - min(var(--hero-p) * 1.25, 1)))) brightness(calc(1 - var(--hero-p) * .36)) blur(calc(var(--hero-p) * 14px)); }
@media not all {
  [class*="_bgVideo_1cp90"] { display: block !important; }
  [class*="_card_1cp90_20"] { background-image: none !important; }
}
/* descriptions: thinner, smaller and quieter than the headings they sit under */
[class*="_subtitle_1cp90"]  { font-size: 17px !important; font-weight: 300 !important; color: rgba(255,255,255,.78) !important; line-height: 1.5 !important; }
[class*="_brandLine_1cp90"] { font-size: 15px !important; font-weight: 300 !important; color: rgba(255,255,255,.6) !important; line-height: 1.6 !important; }
/* hero layout: editorial split desktop: big headline on top, a 1px rule, then three columns on the same baseline grid — tagline · description · buttons.
   The block sits well above the bottom edge (no buttons glued to it). Mobile keeps one column with a calmer bottom margin. */
[class*="_body_1cp90"] { padding-bottom: clamp(36px, 6.5svh, 72px) !important; }
@media (min-width: 1024px) {
  [class*="_body_1cp90"] {
      display: grid !important; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 0;
      align-items: start !important; max-width: none !important; width: 100% !important; box-sizing: border-box;
      padding: 0 0 clamp(40px, 8svh, 88px) !important;
    }
  [class*="_body_1cp90"]::before { content: ""; grid-row: 2; grid-column: 1 / -1; height: 1px; margin: clamp(28px, 5svh, 52px) 0 28px; background: rgba(255,255,255,.22); }
  [class*="_textBlock_1cp90"] { display: contents !important; }
  [class*="_title_1cp90"] {
      grid-row: 1; grid-column: 1 / 11; max-width: none !important; width: auto !important;
      font-size: clamp(44px, 6.4vw, 100px) !important; font-weight: 600 !important; letter-spacing: -.04em !important; line-height: .96 !important;
      text-wrap: balance;
    }
  [class*="_subtitle_1cp90"] {
      grid-row: 3; grid-column: 1 / 5; max-width: none !important; margin: 0;
      font-size: clamp(18px, 1.55vw, 22px) !important; font-weight: 400 !important; letter-spacing: -.01em; line-height: 1.3 !important; color: rgba(255,255,255,.94) !important;
    }
  [class*="_brandLine_1cp90"] {
      grid-row: 3; grid-column: 5 / 9; max-width: 34rem !important; margin: 0; padding-top: 3px;
      font-size: 15px !important; font-weight: 300 !important; line-height: 1.6 !important; color: rgba(255,255,255,.62) !important;
    }
  [class*="_ctas_1cp90"] { grid-row: 3; grid-column: 9 / 13; justify-content: flex-end !important; flex-wrap: nowrap; gap: 12px; width: auto !important; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  [class*="_subtitle_1cp90"] { grid-column: 1 / 6; }
  [class*="_brandLine_1cp90"] { grid-column: 6 / 13; }
  [class*="_ctas_1cp90"] { grid-row: 4; grid-column: 1 / -1; justify-content: flex-start !important; margin-top: 28px; }
}
/* hero: the smudge that darkened the left edge was a 186px blur + multiply blend over a playing video; it is now one static radial gradient */
[class*="_ellipse_1cp90"] { filter: none !important; mix-blend-mode: normal !important; background: radial-gradient(closest-side, rgba(13,22,27,.78) 0%, rgba(13,22,27,.5) 45%, rgba(13,22,27,0) 100%) !important; }
[class*="_section_1cp90_1"] { padding: var(--hero-gap) !important; background: var(--hero-gap-bg); }
[class*="_card_1cp90_20"] { border-radius: var(--hero-radius) !important; -webkit-mask-image: -webkit-radial-gradient(white, black); }
[class*="_card_1cp90_20"]::after {                         /* hairline rim so the edge reads on a dark gap */
  content: ""; position: absolute; inset: 0; z-index: 5; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.09);
}
[class*="_card_1cp90_20"] { border-radius: var(--r-xl) !important; padding: calc(var(--page-x) - var(--hero-gap)) calc(var(--page-x) - var(--hero-gap)) 0 !important; }
/* MOBILE · one button size everywhere (48px high, same type, same minimum width) */
@media (max-width: 767px) {
  [class*="_btnPrimary_1cp90"], [class*="_btnGhost_1cp90"], [class*="_cta_r6q8r"], [class*="_storyCta_iryqy"], [class*="_cta_nvxel"] {
      box-sizing: border-box !important; height: 48px !important; min-height: 48px !important; min-width: 176px !important; padding: 0 26px !important;
      font-size: 12px !important; line-height: 1 !important; display: inline-flex !important; align-items: center; justify-content: center; width: auto !important; max-width: 100%; }
  [class*="_btnPrimary_1cp90"], [class*="_btnGhost_1cp90"] { min-width: min(240px, 100%) !important; }
  [class*="_ctas_1cp90"] { align-items: center; }
}
@media (prefers-reduced-motion: no-preference) {
  @media (hover:hover) {
    /* only the hero button breathes: nine breathing buttons cost a fifth of the main thread (each scale tick restyles / repaints a masked, overflow-hidden pill) for a barely visible effect */
    [class*="_btnPrimary_1cp90"]:not(:hover){
        animation: env-btn-breathe 7.5s cubic-bezier(.45, 0, .55, 1) infinite; }
  }
}

/* MOBILE · a solid first screen (20.11): large left-aligned headline, text under it on the same left edge, the two buttons side by side across the full width */
@media (max-width: 767px) {
  [class*="_body_1cp90"] { align-items: stretch !important; text-align: left !important; }
  [class*="_textBlock_1cp90"] { align-items: flex-start !important; text-align: left !important; width: 100%; }
  [class*="_title_1cp90"] {
    font-size: clamp(36px, 10.6vw, 50px) !important; line-height: 1 !important; font-weight: 600 !important; letter-spacing: -.04em !important;
    text-align: left !important; max-width: none !important; width: 100% !important; text-wrap: balance;
  }
  [class*="_subtitle_1cp90"], [class*="_brandLine_1cp90"] { text-align: left !important; max-width: none !important; width: 100% !important; }
  [class*="_brandLine_1cp90"] { color: rgba(255,255,255,.8) !important; }
  [class*="_subtitle_1cp90"] { font-size: 18px !important; font-weight: 400 !important; color: rgba(255,255,255,.92) !important; line-height: 1.35 !important; }
  [class*="_ctas_1cp90"] { flex-direction: row !important; flex-wrap: nowrap !important; align-items: stretch !important; justify-content: space-between !important; gap: 10px !important; width: 100% !important; }
  [class*="_ctas_1cp90"] > * { flex: 1 1 0 !important; min-width: 0 !important; width: auto !important; padding: 0 10px !important; font-size: 11.5px !important; letter-spacing: .1em !important; white-space: nowrap; text-align: center; justify-content: center !important; }
}

/* MOBILE · hero video: no CSS filter on a playing video (a filtered video leaves the phone's video layer and stalls). Colour is baked into the mobile file; the scroll dimming is plain opacity over the dark card, the zoom stays a composited transform */
@media (max-width: 767px) {
  [class*="_bgVideo_1cp90"] { filter: none !important; opacity: calc(1 - var(--hero-p) * .6); transition: transform .7s cubic-bezier(.22, 1, .36, 1), opacity .5s linear; }
}
