/* =========================================================================
   Home page.

   Numbers below About are measured from ui/首页-关于我们2.0.png
   (1920 × 7077). The 0819 sheet (older ui/首页-关于我们.png, 1920 × 5627) is the
   source for Hero / Creative / Global / Clients, which that round did not
   redraw. Mockups can only be measured by *ink*, so each ink coordinate was
   converted to a CSS line-box coordinate with tools/inkoffset.py
   (HarmonyOS Sans SC: asc 928 / desc 244 / upem 1000).
   ========================================================================= */

/* ---------------- 1. Hero — y 0, h 1080 ---------------- */

.hero {
  --light-dx: 0px;
  --light-dy: 0px;
  position: relative;
  container-type: size;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: var(--c-black);
}

.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: min(58vw, 920px);
  aspect-ratio: 1;
  pointer-events: none;
  background: radial-gradient(circle, rgb(255 255 255 / 0.2), rgb(154 210 255 / 0.07) 34%, transparent 70%);
  mix-blend-mode: screen;
  opacity: 0.72;
  transform: translate(calc(-50% + var(--light-dx)), calc(-50% + var(--light-dy)));
  transition: transform 220ms ease-out;
}

.hero__ripple {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #000;
}
.hero__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero.is-rippling .hero__media {
  visibility: hidden;
}

/*
 * Two wordmark images sit on the same 1920×1080 cover box as the photo,
 * so they stay locked to the prismatic hero when the frame crops.
 */
.hero__words {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero__words-art {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100cqi, calc(100cqb * 1920 / 1080));
  height: max(100cqb, calc(100cqi * 1080 / 1920));
  transform: translate(-50%, -50%);
}

.hero__word {
  position: absolute;
  height: auto;
  opacity: 0;
  transition: opacity 2.8s ease;
}

.hero__word--mark {
  left: 24.64%;
  top: 39.81%;
  width: 50.73%;
  translate: 0 48px;
  transition:
    opacity 1.8s ease,
    translate 1.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hero__word--script {
  left: 24.43%;
  top: 52.04%;
  width: 51.2%;
}

.hero.is-words-in .hero__word--mark {
  opacity: 1;
  translate: 0 0;
  transition-delay: 320ms;
}

.hero.is-words-in .hero__word--script {
  opacity: 1;
  transition-delay: 1100ms;
}

.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 900px) {
  .hero {
    height: auto;
    min-height: 0;
    aspect-ratio: 1920 / 1080;
    max-height: 78vh;
  }
}

/* ---------------- 2. About — y 1080, h 1077 ---------------- */

/*
 * The 0824 mockup grew this section from 647 to 1077 and enlarged the artwork to a full
 * 1920×1080 canvas: the backdrop fills it and the 1444-wide fan still sits at x 476,
 * with the canvas bottom-aligned so its extra 3px fall off the top. tools/fanpick0824.py
 * scores that composite at MAE 2.8 against the mockup band, where the backdrop alone
 * scores 30.9 and any frame of the old clip scores 144.7 — the clip is a black-backed
 * close-up and no longer belongs here. The copy moved down with the artwork and the red
 * <strong> runs are gone: the heading carries the accent now.
 */
.about {
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  /* 2.0 keeps the 1077px design band; taller viewports still remain a full snap. */
  height: max(1077px, calc(100svh - 3px));
  min-height: 0;
  padding-top: var(--header-height);
  overflow: hidden;
  background: transparent;
}

.about__fan {
  position: absolute;
  bottom: 0;
  left: 476px;
  z-index: 0;
  width: 1444px;
  height: 1080px;
  pointer-events: none;
}

.about__fan img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* An admin-supplied clip has its own framing, so it covers the section instead. */
video.about__fan {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: auto;
}

.about__fan-fallback {
  display: none;
}

.about.is-alpha-unsupported .about__fan-fallback {
  display: block;
}

.about.is-alpha-unsupported video.about__fan {
  display: none;
}

.about__inner {
  position: relative;
  z-index: 1;
  padding-left: 40px; /* text column starts at x 280, container starts at 240 */
  translate: 0 -78px; /* aligns the 3.0 title ink at y1446 */
}

.about__title {
  color: var(--c-red);
  font-size: var(--fs-banner);
  font-weight: var(--fw-bold);
  line-height: 1;
}

/*
 * 3.0 enlarges the Chinese copy and lets its 730px frame wrap naturally to five
 * lines. Individual blur spans still follow those browser line breaks.
 */
.about__body {
  position: relative;
  top: -1px;
  max-width: 730px; /* 3.0 wraps to 36 / 33 / 34 / 33 / 5 characters */
  margin-top: 45px; /* CN ink top 1550 */
  font-size: 22px;
  font-weight: var(--fw-medium); /* mockup strokes run 19% thicker than Regular */
  line-height: 36px;
}

/*
 * The snapping described above lands on every word here, so the block ran 16px wide of
 * the mockup at 13px. 12.7px puts the authored lines back on the mockup's
 * 682/658/699/675/628.
 */
.about__body-en {
  max-width: 720px; /* same frame; EN ink ends at 908–979 */
  margin-top: 34px; /* CN box bottom 1586 → EN ink tops 1620 → 1644 → 1668 → 1692 → 1716 */
  color: var(--c-gray);
  font-size: 12.7px;
  line-height: 24px;
}

@media (max-width: 1400px) {
  .about {
    display: block;
    height: auto;
    min-height: 0;
    padding-top: 0;
    padding-bottom: 96px;
  }

  .about__inner {
    padding-top: 180px;
    padding-left: 0;
    translate: none;
  }

  /* Narrower than the mockup's text frame — let the paragraphs reflow instead. */
  .about__body br,
  .about__body-en br {
    display: none;
  }

  /*
   * The mockup's copy sits clear of the fan's dense stripes because the canvas is
   * 1920 wide. Below that the two would collide, so the text column narrows and
   * the fan fades out on the side it approaches.
   */
  .about__body,
  .about__body-en {
    max-width: 58%;
  }

  /* The mockup's x 476 only works on a 1920 canvas; below it the fan hugs the edge. */
  .about__fan {
    left: auto;
    right: 0;
    width: 76%;
    height: 100%;
    mask-image: linear-gradient(to right, transparent, #000 42%);
  }
}

@media (max-width: 900px) {
  .about {
    padding-bottom: 64px;
  }

  .about__inner {
    padding-top: 96px;
  }

  /*
   * The copy runs the full width here, so the artwork has to stay under it rather
   * than beside it: it fades in below the paragraphs instead of from the side.
   */
  .about__fan {
    opacity: 0.28;
    mask-image: linear-gradient(to bottom, transparent 38%, #000);
  }

  .about__body,
  .about__body-en {
    max-width: none;
  }

  .about__body {
    margin-top: 32px;
    line-height: 1.8;
  }

  .about__body-en {
    margin-top: 20px;
    line-height: 1.7;
  }
}

/* ---------------- 3. Business — y 2157, h 1080 ---------------- */

.business {
  min-height: max(100svh, 56.25vw);
  overflow: hidden;
  background: var(--c-white);
}

/*
 * The foreground lockup retains its measured 1920 × 900 coordinate space and is
 * cover-scaled into the 2.0 screen. The background independently fills the full
 * viewport and reuses the current Hero media file.
 */
.business__stage {
  --sw: 1920;
  --sh: 900;
  --dy: 75;
  --stage-h: max(100svh, 56.25vw);
  width: 100%;
  height: var(--stage-h);
  min-height: var(--stage-h);
  overflow: hidden;
}

.business__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.business__bg img,
.business__bg video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.business__bg::before {
  content: "";
  position: absolute;
  inset: -18%;
  pointer-events: none;
  background: repeating-conic-gradient(
    from 0deg,
    rgb(255 255 255 / 0) 0deg 9deg,
    rgb(90 190 255 / 0.1) 11deg 13deg,
    rgb(255 255 255 / 0) 15deg 21deg,
    rgb(255 90 160 / 0.09) 23deg 25deg,
    rgb(255 255 255 / 0) 27deg 33deg,
    rgb(255 210 70 / 0.08) 35deg 37deg,
    rgb(255 255 255 / 0) 39deg 45deg
  );
  mask-image: radial-gradient(circle at 50% 48%, #000 12%, #000 28%, transparent 62%);
  -webkit-mask-image: radial-gradient(circle at 50% 48%, #000 12%, #000 28%, transparent 62%);
  mix-blend-mode: screen;
}

.business__bg::after {
  content: "";
  position: absolute;
  inset: 16% 28%;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(255 255 255 / 0.32) 0%, rgb(255 255 255 / 0) 70%);
  opacity: 0.38;
}

.business__infinity {
  --x: 536;
  --y: 168;
  --w: 849;
}

.business__ring {
  --x: 742;
  --y: 157;
  --w: 434;
  will-change: opacity;
  animation: business-glow 3.8s ease-in-out infinite;
}

.business__mark {
  --x: 896;
  --y: 307;
  --w: 129;
}

.business__heading {
  --y: 384; /* ink 2112 */

  color: var(--c-black);
  font-size: calc(32 * var(--u));
  font-weight: var(--fw-bold);
  line-height: 1;
  white-space: nowrap;
}

.business__heading-en {
  --y: 422; /* ink 2151 */

  color: var(--c-gray);
  font-size: calc(16 * var(--u));
  /* mockup ink 134 wide against Chrome's 131 over 16 glyph gaps */
  letter-spacing: calc(0.19 * var(--u));
  line-height: 1;
  white-space: nowrap;
}

/* the two vertical word pairs flanking the ring */
.business__words {
  --y: 349; /* ink 2083; the 38px line-height adds 7px of half-leading */

  width: auto;
  color: var(--c-black);
  font-size: calc(26 * var(--u));
  font-weight: var(--fw-bold);
  line-height: calc(38 * var(--u)); /* ink tops 2083 → 2121 */
  letter-spacing: calc(14 * var(--u));
  white-space: nowrap;
}

.business__words span {
  display: block;
}

.business__words--left {
  --x: 709;
}

.business__words--right {
  --x: 1138;
}

/* ---- the six business entries ---- */

.business__grid {
  display: contents;
}

.business__item {
  --icon-scale: 1;
  /*
   * Where the circular body sits inside the cutout, in source units. The assets
   * are @2x and --iw is half their width, so these are the alpha bounds halved:
   * the padding around the circle is symmetric (L19/R18 in the shipped AVIF),
   * but the shadow below it is not, which is why the two axes differ.
   */
  --cl: 23;
  --cw: 69;
  /* Gap from the label's box to that circle, both columns alike. */
  --gap: 26;
  /*
   * The mockup centres each label on the whole cutout, shadow included, which
   * lands 8.25 units below the circle's centreline and reads low; 8.33 is the
   * requested 10px correction at 1920, which lands the CN/EN pair on that
   * centreline. A larger lift (25px was tried) reads high instead.
   */
  --lift: 8.33;
}

.business__icon {
  position: absolute;
  left: calc(var(--ix) * var(--u));
  top: calc((var(--iy) + var(--dy, 0)) * var(--u));
  width: calc(var(--iw) * var(--u));
  transform: scale(var(--icon-scale));
  transition: transform var(--dur-slow) var(--ease-out);
}

/*
 * The bubble is a <picture>, so the box below takes the layer width but the
 * <img> inside keeps its intrinsic 116px and would render a fifth too small,
 * left-aligned in its own box.
 */
.business__icon img {
  width: 100%;
  height: auto;
}

/*
 * Anchored on the bubble's visible circular edge rather than on a measured
 * centre, so both lines keep the same optical gap whichever side they sit on.
 * They still share one centre axis, as the mockup has them.
 */
.business__label {
  position: absolute;
  left: calc((var(--ix) + var(--cl)) * var(--u));
  top: calc((var(--ly) - var(--lift) + var(--dy, 0)) * var(--u));
  text-align: center;
  white-space: nowrap;
  transform: translateX(calc(-100% - var(--gap) * var(--u)));
}

.business__item--aigc .business__label,
.business__item--spatial .business__label {
  /*
   * Extra shift after --gap: Immersive Entertainment is centred on 空间娱乐
   * and hangs ~35 units left of the Chinese. 48 keeps that English clear of
   * the bubble and moves both titles right together so the CN column stays aligned.
   */
  --label-shift: 20;
  left: calc((var(--ix) + var(--cl) + var(--cw)) * var(--u));
  width: max-content;
  text-align: center;
  transform: translateX(calc((var(--gap) + var(--label-shift)) * var(--u)));
}

/*
 * English is out of flow so the box stays Chinese-wide. Both right-column
 * Chinese labels then share one left edge; each English line centres on
 * its own Chinese and may overflow both sides (Immersive Entertainment).
 */
.business__item--aigc .business__label i,
.business__item--spatial .business__label i {
  position: absolute;
  left: 50%;
  top: calc(100% + 4 * var(--u));
  margin-top: 0;
  transform: translateX(-50%);
}

.business__label b {
  display: block;
  color: var(--c-black);
  font-size: calc(20 * var(--u));
  font-weight: var(--fw-medium);
  line-height: 1;
  transition: color var(--dur) var(--ease-out);
}

.business__label i {
  display: block;
  margin-top: calc(4 * var(--u));
  color: var(--c-gray);
  font-size: calc(12 * var(--u));
  font-style: normal;
  line-height: 1;
}

.business__item:hover,
.business__item:focus-within {
  --icon-scale: 1.06;
}

.business__item:hover .business__label b,
.business__item:focus-within .business__label b {
  color: var(--c-red);
}

/*
 * Business is unchanged between the 2.0 and 3.0 exports (a pixel diff of the
 * two mockups reports no differences in this band), so these stay the measured
 * icon top-left plus the shared CN/EN ink centre of each label, in the
 * 1920 × 900 source coordinate space.
 *
 * --ly is the mockup's measured label top, before the lift above. Horizontal
 * placement is no longer measured: the mockup's own label centres (515, 459,
 * 459, 515, 1454, 1452) leave the two columns at unequal distances from the
 * bubbles, so --gap drives that instead. AIGC and Immersive Entertainment are
 * drawn 2–3 units higher than the rest, so they keep their measured tops.
 */
.business__item--digital {
  --ix: 575;
  --iy: 185;
  --iw: 90;
  --cl: 11; /* the only cutout exported at 180px rather than 232px */
  --cw: 68;
  --ly: 214;
}

.business__item--exhibition {
  --ix: 499;
  --iy: 272;
  --iw: 116;
  --ly: 313;
}

.business__item--campaign {
  --ix: 499;
  --iy: 385;
  --iw: 116;
  --ly: 427;
}

.business__item--commercial {
  --ix: 563;
  --iy: 487;
  --iw: 116;
  --ly: 528;
}

.business__item--aigc {
  --ix: 1277;
  --iy: 214;
  --iw: 116;
  --ly: 252;
}

.business__item--spatial {
  --ix: 1277;
  --iy: 443;
  --iw: 116;
  --ly: 482;
}

@keyframes business-glow {
  0%,
  100% {
    opacity: 0.22;
  }

  50% {
    opacity: 1;
  }
}

/* The radial composition cannot survive a phone width: switch to a grid. */
@media (max-width: 900px) {
  .business__stage {
    height: auto;
    min-height: 0;
    padding: 56px 0 64px;
  }

  /* The iridescent sphere is the section's backdrop, not a layer to stack. */
  .business__bg img {
    opacity: 0.55;
  }

  .business__heading,
  .business__heading-en {
    text-align: center;
  }

  .business__heading {
    font-size: 26px;
  }

  .business__heading-en {
    margin-top: 10px;
    font-size: 14px;
  }

  /* .business__bg is still absolute, and positioned elements paint above
     in-flow siblings, so the reflowed grid has to be positioned too. */
  .business__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
    width: min(var(--page-max-width), 100% - var(--page-gutter) * 2);
    margin: 40px auto 0;
  }

  .business__item {
    position: relative;
    display: grid;
    justify-items: center;
  }

  .business__icon,
  .business__label,
  /* Out-specifies the right-hand column's edge anchoring. */
  .business__item--aigc .business__label,
  .business__item--spatial .business__label {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
  }

  .business__icon {
    width: 72px;
  }

  .business__label {
    width: auto;
    margin-top: 12px;
  }
}

/* ---------------- 4. Creative / Technology — y 3237, h 1080 ---------------- */

.creative {
  min-height: 100svh;
  overflow: hidden;
  background: var(--c-black);
  color: var(--c-white);
}

.creative__stage {
  --sw: 1920;
  --sh: 1080;
  --stage-h: 100svh;
  width: 100%;
  height: var(--stage-h);
  min-height: var(--stage-h);
  overflow: hidden;
}

.creative__face--left {
  --x: 95;
  --y: 0;
  --w: 776;
}

.creative__face--right {
  --x: 1039;
  --y: 176;
  --w: 859;
}

.creative__pillar {
  --y: 423; /* 2.0 ink top 3623 */

  left: calc(var(--x) * var(--u));
  width: auto;
  text-align: center;
  transform: translateX(-50%);
}

.creative__pillar--left {
  --x: 563;
}

.creative__pillar--right {
  --x: 1344;
}

.creative__pillar b {
  display: block;
  font-size: calc(64 * var(--u));
  font-weight: var(--fw-bold);
  line-height: 1;
}

.creative__pillar i {
  display: block;
  margin: calc(15 * var(--u)) 0 calc(14 * var(--u)); /* IDEA ink 2869, 意 ink 2902 */
  font-size: calc(20 * var(--u));
  font-style: normal;
  font-weight: var(--fw-light);
  line-height: 1;
}

.creative__copy {
  --x: 956; /* the copy block is centred on 955.5, not on the 960 canvas centre */
  --y: 488; /* 2.0 line 1 ink top 3673 */

  left: calc(var(--x) * var(--u));
  width: auto;
  font-size: calc(24 * var(--u));
  font-weight: var(--fw-light);
  line-height: calc(36 * var(--u));
  text-align: center;
  white-space: nowrap;
  transform: translateX(-50%);
}

.creative__copy-l2 {
  display: block;
  transform: translateX(calc(3 * var(--u))); /* line 2 ink centre 958.5 vs line 1's 955.5 */
}

.creative__driven {
  --x: 864;
  --y: 943;
  --w: 215;
}

.creative__face--left,
.creative__face--right,
.creative__driven {
  transition:
    clip-path 1.15s cubic-bezier(0.22, 0.61, 0.36, 1),
    translate 1.15s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.8s var(--ease-out);
}

.creative__face--left {
  clip-path: inset(100% 0 0 0);
  translate: 0 0;
}

.creative__face--right {
  clip-path: inset(100% 0 0 0);
  translate: 0 0;
}

.creative__driven {
  opacity: 0;
  translate: 0 18px;
}

.creative__stage.is-visible .creative__face--left,
.creative__stage.is-visible .creative__face--right {
  clip-path: inset(0);
  translate: 0 0;
}

.creative__stage.is-visible .creative__driven {
  opacity: 1;
  translate: 0 0;
  transition-delay: 1900ms;
}

@media (min-width: 901px) {
  .business__stage .stage__layer,
  .business__icon,
  .business__label,
  .business__bg {
    --cover: max(1, var(--stage-h) * var(--sw) / (100cqi * var(--sh)));
    --u: calc(100cqi / var(--sw) * var(--cover));
    --ox: calc((100cqi - var(--sw) * var(--u)) / 2);
    --oy: calc((var(--stage-h) - var(--sh) * var(--u)) / 2);
  }

  /*
   * Creative starts at the viewport top so its black background and left portrait
   * both paint behind the fixed navigation. The remaining composition stays
   * contained so its lower content remains visible on short/wide viewports.
   */
  .creative__stage .stage__layer {
    --u: min(
      calc(100cqi / var(--sw)),
      calc((var(--stage-h) - var(--header-height)) / var(--sh))
    );
    --ox: calc((100cqi - var(--sw) * var(--u)) / 2);
    --oy: calc(
      var(--header-height) +
      (var(--stage-h) - var(--header-height) - var(--sh) * var(--u)) / 2
    );
  }

  /* Keep both portrait assets at their original width-based size and coordinates.
     Text and the Driven mark keep using the contained coordinate system above. */
  .creative__stage .creative__face--left,
  .creative__stage .creative__face--right {
    --u: calc(100cqi / var(--sw));
    --ox: 0px;
    --oy: 0px;
  }

  .business__stage .stage__layer:not(.stage__layer--center),
  .creative__stage .stage__layer:not(.stage__layer--center) {
    left: calc(var(--x) * var(--u) + var(--ox));
    top: calc((var(--y) + var(--dy, 0)) * var(--u) + var(--oy));
  }

  .business__stage .stage__layer--center,
  .creative__stage .stage__layer--center {
    top: calc((var(--y) + var(--dy, 0)) * var(--u) + var(--oy));
  }

  .business__bg {
    inset: auto;
    left: var(--ox);
    top: var(--oy);
    width: calc(var(--sw) * var(--u));
    height: calc(var(--sh) * var(--u));
  }

  .business__icon {
    left: calc(var(--ix) * var(--u) + var(--ox));
    top: calc((var(--iy) + var(--dy, 0)) * var(--u) + var(--oy));
  }

  .business__label {
    left: calc((var(--ix) + var(--cl)) * var(--u) + var(--ox));
    top: calc((var(--ly) - var(--lift) + var(--dy, 0)) * var(--u) + var(--oy));
  }

  .business__item--aigc .business__label,
  .business__item--spatial .business__label {
    left: calc((var(--ix) + var(--cl) + var(--cw)) * var(--u) + var(--ox));
  }
}

/*
 * On a phone the two portraits stop being a composition and become the section's
 * backdrop: the two word pillars sit side by side over them, with the copy and
 * the Technology-Driven mark stacked underneath.
 */
@media (max-width: 900px) {
  .creative__stage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-items: center;
    height: auto;
    min-height: 0;
    padding: 64px var(--page-gutter) 56px;
    row-gap: 40px;
  }

  .creative__face--left,
  .creative__face--right {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    opacity: 0.45;
  }

  .creative__face--left {
    left: 0;
  }

  .creative__face--right {
    left: 50%;
  }

  .creative__face--left img,
  .creative__face--right img {
    height: 100%;
    object-fit: cover;
  }

  .creative__pillar {
    z-index: 1;
  }

  .creative__pillar b {
    font-size: 44px;
  }

  .creative__pillar i {
    margin: 10px 0;
    font-size: 13px;
  }

  .creative__copy,
  .creative__driven {
    grid-column: 1 / -1;
    z-index: 1;
  }

  .creative__copy {
    font-size: 16px;
    line-height: 1.9;
    text-align: center;
    white-space: normal;
  }

  .creative__copy-l2 {
    transform: none;
  }

  /* Outweighs `.stage--reflow > .stage__layer { width: auto }`. */
  .creative__stage > .creative__driven {
    width: 180px;
  }
}

/* ---------------- 5. Global 3.0 — y 4317, h 1410 ---------------- */

.global {
  padding-top: 187px; /* 3.0 moves the full composition down by 33px */
  background: var(--c-section-gray);
  text-align: center;
}

/*
 * Light, not Bold: tools/weights.py measures the mockup's ink mass at 60.3
 * against Light's 59.0 and Regular's 86.5 (see also the clients title).
 */
.section-title {
  font-size: var(--fs-h1);
  font-weight: var(--fw-light);
  line-height: 1;
}

.global__intro .section-title,
.global__intro .global__lead {
  opacity: 0;
  translate: 0 18px;
  transition:
    opacity 1s ease,
    translate 1s var(--ease-out);
}

.global.is-visible .global__intro .global__lead {
  opacity: 1;
  translate: none;
  transition-delay: 1080ms;
}

.global__lead {
  /* Sized so the map stage below starts exactly at the mockup's y 3600. */
  /*
   * The box keeps its measured 41px so the map below stays put; the 1px is a
   * pure ink correction, hence `top` rather than a smaller margin.
   */
  position: relative;
  top: -4px;
  margin-top: 41px;
  font-size: 24px;
  font-weight: var(--fw-regular);
  letter-spacing: 0;
  line-height: 1;
}

/*
 * The map is one composition: base map, guide lines, pin overlay and country
 * labels all keep their mockup geometry. 2.0 preserves that composition and
 * adds 472px of breathing room below it, making Global 1410px tall.
 */
.global__composition {
  position: relative;
}

@media (min-width: 901px) {
  .global__composition {
    /* Offset the lead's 18px → 24px line-box growth and crop 33px from the
       stage's empty tail so Global remains a true, non-overlapping screen. */
    height: calc(100vw * 1116 / 1920);
    margin-top: -6px;
    overflow: visible;
  }
}

.global__basemap,
.global__pins,
.global__guides,
.global__label {
  opacity: 0;
  transition: opacity 820ms ease;
}

.global.is-visible .global__basemap {
  opacity: 1;
}

.global.is-visible .global__guides {
  opacity: 1;
  transition-delay: 360ms;
}

.global.is-visible .global__pins {
  opacity: 1;
  transition-delay: 420ms;
  animation: global-pins-breathe 2.8s ease-in-out 1.35s infinite;
}

.global.is-visible .global__intro .section-title {
  opacity: 1;
  translate: none;
  transition-delay: 900ms;
}

.global.is-visible .global__label {
  opacity: 1;
  transition-delay: 1500ms;
}

.global__map {
  --sw: 1920;
  --sh: 1149;
}

/*
 * The label stage is laid over the map stage rather than nested inside it, so
 * that a phone can drop it below the artwork; as an absolutely positioned stage
 * it still measures the same inline size, so --u — and every label position —
 * is unchanged.
 */
.global__labels {
  --sw: 1920;
  --sh: 1149;
  /* 12px sits a shorter cap in the same line box, so the boxes drop 3px to keep
     each baseline on its guide line (ink bottoms move +1 across all 15 labels). */
  --dy: 3;

  position: absolute;
  inset: 0;
}

.global__basemap {
  --x: 545;
  --y: 107;
  --w: 824;
}

.global__guides {
  --x: 407;
  --y: 245;
  --w: 1102;
}

.global__pins {
  --x: 638;
  --y: 235;
  --w: 675;
}

@keyframes global-pins-breathe {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.28;
  }
}

/* Glyph advance steps measure 16 at an ink width of 12, i.e. 14px + 2px tracking. */
/*
 * The 0824 mockup set these back from 14px Bold to 12px Regular with tighter tracking:
 * tools/maplabel0824.py fits 中国 23×11 and 沙特阿拉伯 64×11 at 12px / 1.4 exactly
 * (the 0819 boxes, 28×13 and 75×13, fit 14px / 1.7–2.0), and tools/weights.py reads
 * the ink mass at 71.5 against Regular's 77.4 where the 0819 label read 102.3
 * against Bold's 112.4.
 */
.global__label {
  width: auto;
  font-size: calc(12 * var(--u));
  font-weight: var(--fw-regular);
  line-height: 1;
  letter-spacing: calc(1.4 * var(--u));
  white-space: nowrap;
}

/* Right-hand column: --x is the measured ink right edge, so back out the
   trailing letter-space and the side bearing. */
.global__label--right {
  left: auto;
  right: calc((1920 - var(--x) - 3) * var(--u));
  text-align: right;
}

@media (max-width: 900px) {
  .global {
    padding-top: 56px;
  }

  .global__lead {
    width: min(var(--page-max-width), 100% - var(--page-gutter) * 2);
    margin: 16px auto 0;
    line-height: 1.7;
  }

  /*
   * Pinned to the map the labels would render at ~6px, so they become a legible
   * list under the artwork; the red pins still carry the positional information.
   */
  .global__labels {
    position: relative;
    inset: auto;
    container-type: normal;
    aspect-ratio: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    width: min(var(--page-max-width), 100% - var(--page-gutter) * 2);
    margin: 24px auto 0;
  }

  .global__labels > .global__label {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    font-size: 13px;
    letter-spacing: normal;
    text-align: center;
  }
}

/* ---------------- 6. Clients — standalone 1920 × 1080 screen ---------------- */

.clients {
  --clients-u: min(calc(100vw / 1920), calc(100svh / 1080));

  position: relative;
  box-sizing: border-box;
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--c-section-gray);
  text-align: center;
}

.clients__title {
  position: absolute;
  top: max(calc(var(--header-height) + 8px), calc(148 * var(--clients-u)));
  width: 100%;
  font-size: calc(48 * var(--clients-u));
  font-weight: var(--fw-light);
  line-height: calc(64 * var(--clients-u));
}

.clients__cards {
  position: absolute;
  top: calc(419 * var(--clients-u));
  left: 50%;
  display: flex;
  justify-content: center;
  gap: calc(27 * var(--clients-u));
  width: calc(1438 * var(--clients-u));
  transform: translateX(-50%);
}

/*
 * The 0826 logo-wall exports are complete 1x card canvases: 506 × 539 for the
 * Technology wall and 275–277 × 539 for the other three columns, flattened
 * onto the section grey by tools/asset-map.mjs, so no panel is needed behind.
 */
.client-card {
  --sw: 276;
  --sh: 539;

  flex: 0 0 calc(var(--sw) * var(--clients-u));
  width: auto;
  overflow: hidden;
  text-align: center;
}

.client-card--wide {
  --sw: 506;
}

.client-card__wall {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.client-card__wall img {
  width: 100%;
  height: 100%;
}

.client-card__en,
.client-card__cn {
  z-index: 1;
  color: var(--c-black);
}

.client-card__en {
  --y: 44; /* ink 4617 */

  font-size: calc(24 * var(--u));
  font-weight: var(--fw-bold);
  line-height: 1;
}

/*
 * Tracking measured at 4px (glyph advance steps of 22 at font-size 18). The
 * matching padding-left cancels the trailing letter-space so the ink — not the
 * box — ends up centred, and the red rule below is drawn at its measured 94px.
 */
.client-card__cn {
  --y: 113; /* ink 4684 */

  padding-left: calc(4 * var(--u));
  font-size: calc(18 * var(--u));
  font-weight: var(--fw-medium);
  line-height: 1;
  letter-spacing: calc(4 * var(--u));
  white-space: nowrap;
}

/*
 * The labels are hand-placed in the mockup rather than centred on their card:
 * measured ink centres sit at 596.5 / 932 / 1171 / 1411.5 (EN) and
 * 597 / 930 / 1171 / 1412 (CN) against card centres of 593.5 / 929 / 1173.5 / 1417.5.
 */
.client-card:nth-child(1) .client-card__en { --dx: 3; }
.client-card:nth-child(2) .client-card__en { --dx: 2; }
.client-card:nth-child(3) .client-card__en { --dx: -2.5; }
.client-card:nth-child(4) .client-card__en { --dx: -6; }

.client-card:nth-child(1) .client-card__cn { --dx: 3.5; }
.client-card:nth-child(3) .client-card__cn { --dx: -2.5; }
.client-card:nth-child(4) .client-card__cn { --dx: -5.5; }

.client-card__names {
  position: absolute;
  right: calc(16 * var(--u));
  left: calc(16 * var(--u));
  top: calc(168 * var(--u));
  z-index: 1;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #2a2a2a;
  font-size: calc(11 * var(--u));
  font-weight: var(--fw-medium);
  line-height: calc(22 * var(--u));
}

.client-card__cn::after {
  content: '';
  position: absolute;
  left: 50%;
  top: calc(100% + 8 * var(--u)); /* rule at y 4709 */
  width: calc(94 * var(--u));
  height: max(1px, calc(1 * var(--u)));
  background: var(--c-red);
  transform: translateX(-50%);
}

/*
 * The four cards shrink gracefully as one row down to ~640px (the labels stay
 * above 13px), so this section keeps the desktop layout longer than the others.
 */
@media (max-width: 900px) {
  .clients {
    height: auto;
    padding: 56px 0 24px;
    overflow: visible;
  }

  .clients__title {
    position: static;
    font-size: 20px;
    line-height: 1.5;
  }

  .clients__cards {
    position: static;
    width: min(var(--page-max-width), 100% - var(--page-gutter) * 2);
    margin: 40px auto 0;
    transform: none;
  }

  .client-card {
    flex: 0 1 calc(var(--sw) * 1px);
  }
}

@media (max-width: 640px) {
  /* A grid rather than wrapped flex: two equal columns can't be knocked onto a
     third row by sub-pixel rounding. */
  .clients__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: min(var(--page-max-width), 100% - var(--page-gutter) * 2);
    margin-top: 32px;
  }

  .client-card {
    margin-left: 0;
  }

  /* The wide card's wall is 406 × 450 — it needs the full row to stay legible. */
  .client-card--wide {
    grid-column: 1 / -1;
  }
}

/* Effect 4 — word / glyph blur-in (text-effects.html) */
.fx-blur__w {
  display: inline-block;
  filter: blur(14px);
  opacity: 0;
  transform: translateY(14px);
  transition:
    filter 0.9s ease,
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: filter, transform, opacity;
}

.fx-blur.in .fx-blur__w {
  filter: blur(0);
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) .fx-blur__w {
    filter: none;
    opacity: 1;
    transform: none;
    transition: none;
  }

  html:not(.force-motion) .hero.is-rippling .hero__media {
    visibility: visible;
  }

  html:not(.force-motion) .hero__ripple {
    display: none;
  }

  html:not(.force-motion) .hero__word {
    opacity: 1;
    transition: none;
  }

  html:not(.force-motion) .business__bg::before,
  html:not(.force-motion) .business__bg::after,
  html:not(.force-motion) .business__infinity,
  html:not(.force-motion) .business__ring,
  html:not(.force-motion) .business__icon {
    animation: none;
  }

  html:not(.force-motion) .creative__face--left,
  html:not(.force-motion) .creative__pillar--left,
  html:not(.force-motion) .creative__face--right,
  html:not(.force-motion) .creative__pillar--right,
  html:not(.force-motion) .creative__driven {
    clip-path: none;
    opacity: 1;
    translate: none;
    transition: none;
  }

  html:not(.force-motion) .global__intro .section-title,
  html:not(.force-motion) .global__intro .global__lead,
  html:not(.force-motion) .global__basemap,
  html:not(.force-motion) .global__pins,
  html:not(.force-motion) .global__guides,
  html:not(.force-motion) .global__label,
  html:not(.force-motion) .global__composition.is-visible .global__pins {
    animation: none;
    opacity: 1;
    translate: none;
    transition: none;
  }
}
