/* Footer v2 — phones and small tablets (≤ 760px), every page and language.
   1. The live scene sits under the logo and tagline, in room the brand block reserves (placed by foot-v2.js).
      Other pages show the painted still until the live scene is ready, or if WebGL is unavailable.
   2. The bottom row is a tidy 2 × 2 grid that never wraps mid-label or runs off screen. */
@media (max-width: 760px) {
  .foot > .foot__scene { position: absolute; z-index: 0; left: 0; right: 0; height: 340px; min-height: 0;
    -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 70%, transparent);
            mask-image: linear-gradient(transparent, #000 18%, #000 70%, transparent); }
  .foot.tx .foot__brand { padding-bottom: 250px; }

  /* other pages: painted still (framed on the pearl by foot-scene.js) … */
  .pfoot::before { background-size: var(--fs-size, cover); background-position: var(--fs-pos, center top); }
  .pfoot .foot__brand { padding-bottom: clamp(210px, 60vw, 300px); }
  /* … replaced by the live scene, laid out exactly like the homepage */
  .foot-live .pfoot, .foot-live-pending .pfoot { background: #F6F2EE; }
  .foot-live .pfoot::before, .foot-live .pfoot__orbit,
  .foot-live-pending .pfoot::before, .foot-live-pending .pfoot__orbit { display: none; }
  .foot-live .pfoot .foot__brand, .foot-live-pending .pfoot .foot__brand { padding-bottom: 250px; }
  .foot-live .pfoot .foot__inner, .foot-live-pending .pfoot .foot__inner { padding-top: 110px; }

  /* bottom row */
  .foot .foot__base { display: grid; grid-template-columns: 1fr; gap: 18px; }
  .foot__links { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); justify-content: space-between; gap: 14px 24px; width: 100%; }
  .foot__links i { display: none; }
  .foot__links a, .foot__links button { white-space: nowrap; justify-self: start; }
  .foot__links > :nth-child(even) { justify-self: end; }

  .home .foot__inner { padding-bottom: 96px; }
}
