/* scene:hero · round 9 (Phantom grade). One giant die-cut sticker says the value; the five officers float around it
   as collectible renders with three glass chips of their real outputs and gold sparkles, over one tonal cloud. Idle:
   a staggered wobble (one home.loops unit, hero.js). Scroll: the cast flies outward and grows while the words leave
   (home.css .sx-explode / .sx-leave on the hero's --sx timeline). The yellow .dl stays the one thing to do, in the
   first screen on every phone. Components: COMPONENTS-R9.md. Desktop in desktop.css. */
.hero {
  display: flex; flex-direction: column; height: max(620px, 100svh); container: hero / size;
  padding: calc(72px + env(safe-area-inset-top, 0px)) 0 calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 2;   /* R10: the kingdom's cloud bank (kingdom.css .kd__pass, z 1) rises BEHIND the cast and the button: the reader
                   flies into cloud while the page's one action stays crisp */
}
.hero__copy { position: relative; z-index: 3; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 10px; }
/* 「一起經營感情」 is six ems: the sticker takes the column (outline included), capped by the screen's height */
.hero .sticker { font-size: min(calc((100cqw - 20px) / 6.42), 8.6cqh); }
.hero:lang(en) .sticker { font-size: min(calc((100cqw - 20px) / 5.6), 6.9cqh); line-height: 1; letter-spacing: -.01em; }
/* the hero's own face (owner R10, the hero title ONLY): a heavy square-terminal 黑體, Source Han Sans TC as "Attunely
   Hero" (<!-- hero:font -->), set tight like Phantom's heavy sticker words */
.hero .sticker--hero { font-family: var(--font-display); font-weight: 800; line-height: 1.04; letter-spacing: .01em; }   /* owner: back to the rounded face, pure black */
/* EN 1.1: Noto's 'y' descends .222em and 'i' rises .821em, so at .96 the "by" tail fused with the next line's i-dot */
.hero:lang(en) .sticker.sticker--hero { line-height: 1.1; letter-spacing: -.02em; }
.hero__sub { margin-top: 2px; max-width: 22em; padding: 0 var(--gut); font: 600 18px/1.45 var(--font-body); letter-spacing: .02em; color: var(--on-sky-2); text-align: center; text-wrap: balance; text-shadow: var(--sky-halo); }
.hero:lang(en) .hero__sub { max-width: 19em; letter-spacing: 0; }
/* endorsement (owner 2026-11-06), one quiet line like YC's "Backed by": the NVIDIA mark (eye in its own
   green, wordmark in the title ink so it turns cream at night), then the program name. Wordmark height = cap height. */
.hero__proof { --proof-wash: rgba(16, 11, 40, .5); position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; margin-top: 16px; font: 500 16px/1 var(--font-body); letter-spacing: .01em; }
:root[data-theme="light"] .hero__proof { --proof-wash: rgba(255, 255, 255, .62); }
/* a soft pool of light under the line (no edge, so never a chip): the sky's busy mid-tones drop away and the green and
   the ink sit on a clean ground, crisp, with no fuzzy text halo */
.hero__proof::before { content: ""; position: absolute; inset: -26px -44px; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, var(--proof-wash) 45%, transparent); }
.hero__proof-nv { height: 1.4em; width: auto; aspect-ratio: 2969 / 557; color: var(--on-sky-title); margin-top: -.08em; }
/* the program name in Barlow (OFL, home/fonts/OFL-barlow.txt; subset to these letters, 4.7 KB), the open cousin of
   NVIDIA's DIN-like sans: tracked caps after a hairline, as in NVIDIA's own lockup, so it reads as an institution */
@font-face { font-family: "Barlow Proof"; src: url("/h/fonts/barlow-500-proof.woff2") format("woff2"); font-weight: 500; font-display: swap; }
.hero__proof-name { color: var(--on-sky-title); font: 500 .8em/1 "Barlow Proof", var(--font-body); text-transform: uppercase; letter-spacing: .16em; margin: 0 -.16em 0 .85em; padding: .12em 0 .12em .85em; border-left: 1px solid color-mix(in oklab, var(--on-sky-title) 30%, transparent); }

/* the cast: no stacking context of its own, so a float can sit behind the words (z 1) or before them (z 4) */
.hero__cast { position: absolute; inset: 0; pointer-events: none; }
.hero__blobs .blob { --par: 36px; }
.hero__blob--a { --bw: 168cqw; left: -34cqw; top: 27%; }
.hero__blob--b { --bw: 96cqw; left: -48cqw; top: 70%; --par: 64px; }
.hero__blob--c { --bw: 70cqw; left: 66cqw; top: 2%; --par: 80px; }
/* light: the cloud behind the words is a deeper tone of the day, so the cream die-cut reads as a sticker, not a smudge */

/* phone (393 × 852 is the judge): a ring around the words, top band above, bottom band between the words and the button.
   --x/--y in % of the hero; widths follow the screen, capped by its height. --ex/--ey/--es: the explode. R10: the
   renders 1.25x (owner: bigger avatars on the phone), so they bleed past the screen edges and overlap one another in
   depth, never the words or the button */
.hero__o--commander { --x: 56%; --y: 8%; --w: min(52cqw, 24cqh); --r: 8deg; --wt: 8.2s; --wd: -1.4s; --ex: 34cqw; --ey: -26cqh; --es: 1.75; }
.hero__o--scout { --x: -12%; --y: 17.6%; --w: min(47.5cqw, 22cqh); --r: -11deg; --wt: 7.1s; --wd: -3.2s; --ex: -36cqw; --ey: -12cqh; --es: 1.6; }
.hero__o--concierge { --x: 26%; --y: 20.5%; --w: min(45cqw, 20.8cqh); --z: 2; --r: -4deg; --wt: 6.4s; --wd: -.6s; --ex: -4cqw; --ey: -34cqh; --es: 1.5; }
.hero__o--strategist { --x: 61%; --y: 55.4%; --w: min(55cqw, 25.5cqh); --r: 9deg; --wt: 7.8s; --wd: -4.6s; --ex: 52cqw; --ey: -6cqh; --es: 1.7; }
.hero__o--scientist { --x: -7.5%; --y: 65.4%; --w: min(50cqw, 23.2cqh); --r: -8deg; --wt: 8.8s; --wd: -2.2s; --ex: -54cqw; --ey: 2cqh; --es: 1.65; }
.hero__s--1 { --x: 49%; --y: 12.4%; --s: 20px; --sd: -.8s; }
.hero__s--2 { --x: 90%; --y: 33%; --s: 14px; --sd: -2.1s; }
.hero__s--3 { --x: 41%; --y: 72.6%; --s: 16px; --sd: -1.4s; }
.hero__s--4 { --x: 91%; --y: 76%; --s: 22px; --sd: -3s; }
.hero .float .glass { scale: .94; transform-origin: 0 50%; }
/* EN on a phone: three sticker lines and a two-line sub take more of the middle, so the bottom band steps down */
@media (max-width: 1023.98px) {
  .hero:lang(en) .hero__o--commander { --y: 7.4%; --w: min(48cqw, 22cqh); }
  .hero:lang(en) .hero__o--scout { --y: 16%; --w: min(42cqw, 19.5cqh); }
  .hero:lang(en) .hero__o--concierge { --y: 19.6%; --w: min(38cqw, 17.5cqh); }
  .hero:lang(en) .hero__o--strategist { --y: 60%; }
  .hero:lang(en) .hero__o--scientist { --y: 66.2%; --w: min(48cqw, 22.2cqh); }
  @container hero (max-height: 720px) {
    .hero:lang(en) .hero__o--commander { --y: 9%; --w: min(46cqw, 20cqh); }
    .hero:lang(en) .hero__o--strategist { --y: 60.4%; }
    .hero:lang(en) .hero__o--scientist { --y: 68.4%; --w: min(50cqw, 20.2cqh); }
  }
}

.hero__cta { position: relative; z-index: 3; flex: none; width: var(--col); margin: 10px auto 0; text-align: center; }
.hero__cta .motion-btn { display: none !important; }   /* owner 2026-10-24: no pause control under the hero CTA */
/* The store badges replace the hero button (owner 2026-10-30). Google's badge art carries its own
   transparent margin, so it is drawn larger and pulled in to sit level with Apple's. */
.hero__badges { margin-top: 0; gap: 6px 14px; }
.hero__badges .store-badge img { height: 52px; }
.hero__badges .store-badge--play img { height: 66px; margin: -11px; }
.hero__badges:lang(en) .store-badge--play img { height: 77px; margin: -13px; }
@media (min-width: 1024px) {
  .hero__badges .store-badge img { height: 58px; }
  .hero__badges .store-badge--play img { height: 74px; margin: -12px; }
  .hero__badges:lang(en) .store-badge--play img { height: 86px; margin: -14px; }
}

/* phone (owner 2026-10-30): the words and the store badges sit together as one centred group, so the cast can
   gather around them instead of spreading to the screen's top and bottom edges */
@media (max-width: 1023.98px) {
  .hero__copy { flex: 0 1 auto; margin-top: auto; padding-top: 8cqh; }
  .hero__cta { margin: 20px auto auto; }
  .hero__cast { inset: 4cqh 0 -4cqh; }   /* the whole cast steps down with the group (no stacking context) */
}

/* short phones (375 × 667): the bands tighten, the cast steps down and in, the badges stay on the first screen */
@media (max-width: 1023.98px) {
  @container hero (max-height: 720px) {
    .hero__sub { font-size: 16px; line-height: 1.4; }
    .hero__o--commander { --y: 9.4%; --x: 60%; }
    .hero__o--scout { --y: 21%; }
    .hero__o--concierge { --x: 33%; --y: 24.2%; --w: min(41cqw, 18.8cqh); }
    .hero__o--strategist { --y: 61%; }
    .hero__o--scientist { --y: 67%; --w: min(50cqw, 21.4cqh); }
    .hero .float .glass { scale: .84; }
  }
}
/* ≤ 375 wide: the two left renders come in from the edge (a hair smaller, about 1.15x) so each shows its whole face
   and most of its body: bigger avatars, never cropped ones */
@media (max-width: 375.98px) {
  .hero__o--scout { --x: -3%; --w: min(43cqw, 20cqh); }
  .hero__o--scientist { --x: -2.5%; --w: min(46cqw, 21.4cqh); }
  @container hero (max-height: 720px) { .hero__o--scientist { --w: min(46cqw, 19.8cqh); } }
}
/* a 320 phone: the renders keep their size; the two over the words step up a hair to clear the sticker's first line */
@media (max-width: 359.98px) {
  @container hero (max-height: 720px) {
    .hero__o--scout { --y: 18.6%; }
    .hero__o--concierge { --y: 23%; }
    .hero__o--scientist { --y: 68%; }
  }
}
/* EN breaks its sticker in three on a phone, in two on a desk */
@media (min-width: 1024px) { .hero__br { display: none; } }

/* owner 2026-10-26: the main title is pure black by day (cream by night, on the dark sky) */
:root[data-theme="light"] .hero .sticker--hero { color: #000; }
@media (max-width: 359.98px) { .hero__proof { font-size: 14px; } }   /* 320 wide: the lockup stays one line */
