/* The globe chapter is the cover; the footer rests underneath it. */
.footer-reveal-ready #main {
  position:relative; z-index:1; background:#fff;
  border-radius:0 0 clamp(24px,3vw,44px) clamp(24px,3vw,44px);
  box-shadow:0 18px 36px #071c2b26;
}
.footer-reveal-ready .global-presence {
  position:relative;
  display:grid; align-items:center;
  min-height:calc(100svh - var(--footer-header-height,80px));
  border-bottom:0;
  border-radius:0 0 clamp(24px,3vw,44px) clamp(24px,3vw,44px);
}
.footer-reveal-ready .footer--refined {
  position:sticky; z-index:0;
  display:flex; align-items:center;
  min-height:calc(100svh - var(--footer-header-height,80px));
  padding-bottom:24px;
  /* Tall footers reveal at the top, then flow normally so every row stays reachable. */
  bottom:min(0px,calc(100svh - var(--footer-header-height,80px) - 12px - var(--footer-reveal-height)));
}
@media(prefers-reduced-motion:reduce) {
  .footer-reveal-ready #main { border-radius:0; box-shadow:none; }
  .footer-reveal-ready .global-presence { min-height:0; border-radius:0; }
  .footer-reveal-ready .footer--refined { position:relative; bottom:auto; min-height:0; }
}

/* The cover uses the same lower-centre contour as every ordinary footer. */
@supports (mask-image:linear-gradient(#000,#000)) {
  .footer-reveal-ready #main {
    --home-footer-edge:calc(7px + 25px * var(--section-edge-progress,1));
    --home-footer-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 32' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M0 0H1440V7H1250C1216 7 1204 32 1168 32H272C236 32 224 7 190 7H0Z'/%3E%3C/svg%3E");
    border-radius:0;box-shadow:none;
    -webkit-mask:linear-gradient(#000,#000) top / 100% calc(100% - var(--home-footer-edge) + 1px) no-repeat,var(--home-footer-mask) bottom / 100% var(--home-footer-edge) no-repeat;
    mask:linear-gradient(#000,#000) top / 100% calc(100% - var(--home-footer-edge) + 1px) no-repeat,var(--home-footer-mask) bottom / 100% var(--home-footer-edge) no-repeat;
  }
  .footer-reveal-ready .global-presence {border-radius:0;padding-bottom:72px;}
  @media(max-width:900px) {
    .footer-reveal-ready #main {--home-footer-edge:23px;}
  }
}
