/* Scalar Core v2 signature moments (see v2-signature.js). */

@property --v2-ap { syntax: '<length>'; inherits: false; initial-value: 0px; }

/* ------------------------------------------------------------- 1. opening */
/* The preloader from scalar-core.com (built by assets/site-atmosphere.js):
   black field, the logo filling from the bottom, the wordmark, a thin bar and
   the status line. The page stays still underneath until it has gone. */
html.v2-arrival-lock, html.v2-arrival-lock body { overflow: hidden !important; }
/* Returning visitors never see it, not even for a frame. */
html:not([data-arrival="show"]) .sc-arrival:not(.loaded) { display: none !important; }
html[data-motion] .sc-arrival.v2-preloader {
  position: fixed; inset: 0; z-index: 2000001;
  display: flex !important; align-items: center; justify-content: center;
  width: 100vw; height: 100vh; height: 100dvh;
  background: #000 !important; color: #fff;
  opacity: 1; visibility: visible; clip-path: none !important;
  transition: opacity .8s cubic-bezier(.2,.8,.2,1), visibility .8s !important;
}
html[data-motion] .sc-arrival.v2-preloader::before,
html[data-motion] .sc-arrival.v2-preloader::after { display: none !important; }
html[data-motion] .sc-arrival.v2-preloader.loaded { opacity: 0 !important; visibility: hidden !important; pointer-events: none; }
.v2-preloader .preloader-content { display: flex; flex-direction: column; align-items: center; width: 80%; max-width: 350px; }
.v2-preloader .preloader-logo-container { position: relative; display: inline-block; margin-bottom: 20px; }
.v2-preloader :is(.preloader-logo-bg, .preloader-logo-fill img) { display: block; width: clamp(100px, 18vw, 180px); height: auto; max-width: none; }
.v2-preloader .preloader-logo-bg { filter: brightness(0) invert(1); opacity: .15; }
.v2-preloader .preloader-logo-fill { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; clip-path: inset(100% 0 0 0); }
.v2-preloader .preloader-logo-fill img { filter: brightness(0) invert(1) drop-shadow(0 0 15px rgba(255, 255, 255, .6)); transition: filter .4s ease; }
.v2-preloader .preloader-title {
  font-family: Yume, yumeXHA, sans-serif; font-size: clamp(30px, 6vw, 50px); color: #fff;
  margin-bottom: 30px; letter-spacing: 5px; text-shadow: 0 0 20px rgba(255, 255, 255, .2); text-align: center;
}
.v2-preloader .preloader-bar-container { width: 100%; height: 2px; background: rgba(255, 255, 255, .1); position: relative; overflow: hidden; margin-bottom: 15px; }
.v2-preloader .preloader-bar { position: absolute; top: 0; left: 0; height: 100%; width: 0%; background: #7E0047; box-shadow: 0 0 10px #7E0047; }
.v2-preloader.is-linked .preloader-bar { background: #00ff88; box-shadow: 0 0 10px #00ff88; }
.v2-preloader .preloader-text {
  font-family: Inter, sans-serif; font-size: 10px; font-weight: 800; letter-spacing: 4px;
  color: rgba(255, 255, 255, .5); text-transform: uppercase; text-align: center; transition: color .4s ease;
}
@media (prefers-reduced-motion: reduce) { html[data-motion] .sc-arrival.v2-preloader { transition: none !important; } }
@media print { .sc-arrival { display: none !important; } }

/* ------------------------------------------------------ 2. playbook rail */
/* The rail runs under the phase controls at every size. */
@media all {
  html[data-motion] #shared-how-to-play .playbook-controls { position: relative; }
  html[data-motion]:not(#v2):not(#v2) body#top #shared-how-to-play .playbook-controls > .v2-pin-rail {
    position: absolute !important; left: 0 !important; right: 0 !important; top: auto !important; bottom: -1px !important;
    width: auto !important; height: 2px !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important;
    display: grid !important; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; order: 99; grid-area: auto !important;
    pointer-events: none; opacity: 1 !important; transform: none !important;
  }
  .v2-pin-rail i { display: block; overflow: hidden; background: color-mix(in srgb, var(--ink) 12%, transparent); }
  .v2-pin-rail b {
    display: block; height: 100%;
    background: var(--accent-ui, var(--accent));
    transform-origin: 0 50%; scale: 0 1;
    transition: scale .3s ease-out;
  }
  .v2-pin-rail b.on { scale: 1 1; }
}

/* --------------------------------------------------- 3. photo carry-over */
@media (prefers-reduced-motion: no-preference) {
  /* The site stills every named group; this one is allowed to travel. */
  html[data-motion]::view-transition-group(v2-photo) {
    animation: revert !important;
    animation-duration: .72s !important;
    animation-timing-function: cubic-bezier(.76,0,.24,1) !important;
    z-index: 10;
  }
  html[data-motion]::view-transition-image-pair(v2-photo) { overflow: clip; }
  /* No partner on the other page: step aside quickly instead of lingering. */
  html[data-motion]::view-transition-old(v2-photo):only-child,
  html[data-motion]::view-transition-new(v2-photo):only-child { animation-duration: .25s !important; }
  html[data-motion]::view-transition-old(v2-photo),
  html[data-motion]::view-transition-new(v2-photo) {
    height: 100%; object-fit: cover;
    mix-blend-mode: normal !important;
    animation-duration: .72s !important;
    animation-timing-function: cubic-bezier(.76,0,.24,1) !important;
  }
}

/* --------------------------------------------------------- 4. live frame */
.v2-hud { display: none; }
@media (min-width: 1201px), (min-width: 1024px) and (orientation: landscape) {
  .v2-hud {
    position: fixed; z-index: 200001;
    left: calc(var(--hl, 24px) + 46px);
    right: calc(var(--hr, 24px) + 46px);
    bottom: calc(var(--hb, 12px) - 6px);
    height: 12px;
    display: flex; justify-content: space-between; align-items: center;
    pointer-events: none;
    view-transition-name: v2-hud;
    font: 600 9px/12px Orbitron, Inter, sans-serif;
    letter-spacing: .2em; text-transform: uppercase;
    color: var(--muted, #8a968f);
  }
  .v2-hud[hidden] { display: none; }
  .v2-hud > span { display: flex; align-items: center; gap: 12px; padding: 0 12px; background: var(--bg); }
  .v2-hud b { color: var(--accent-ui, var(--accent)); font-weight: 700; font-variant-numeric: tabular-nums; }
  .v2-hud-l span { min-width: 12ch; }
  .v2-hud-ruler { display: flex; gap: 3px; align-items: center; }
  .v2-hud-ruler i { width: 1px; height: 6px; background: currentColor; opacity: .45; transition: background .3s, opacity .3s, height .3s; }
  .v2-hud-ruler i:nth-child(5n) { height: 9px; }
  .v2-hud-ruler i.on { background: var(--accent-ui, var(--accent)); opacity: 1; }
}

/* ---------------------------------------------- 8. footer: closing spread */
/* The expanded footer is the site's own from 1201px; below that the compact
   footer carries the same spread (see 8b). */
@media (min-width: 1201px) {
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .scalar-mega-footer { display: flex !important; }
}
@media (min-width: 1201px), (min-width: 1024px) and (orientation: landscape) {
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .scalar-mega-footer {
    min-height: calc(100svh - 96px);
    flex-direction: column; justify-content: space-between; align-items: stretch !important;
    padding-top: 72px !important;
  }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .footer-main {
    display: grid !important; grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    column-gap: 32px !important; row-gap: 80px !important; padding: 0 !important; width: 100% !important; max-width: none !important;
  }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .sc-footer-intro {
    grid-column: 1 / -1 !important;
    display: grid !important; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); column-gap: 64px; align-items: end;
    width: 100% !important; max-width: none !important; margin: 0 !important;
  }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .sc-footer-intro > .v2-chap { grid-column: 1 / -1; margin-bottom: 40px; }
  /* The big type is the statement itself, not a logo. */
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .sc-footer-intro h2 {
    font-size: clamp(44px, min(5.2vw, 7vh), 100px) !important; line-height: 1.06 !important; letter-spacing: -.035em !important;
    margin: 0 !important; max-width: none !important;
  }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .footer-social-links {
    display: flex !important; flex-direction: column !important; gap: 0 !important;
    width: 100% !important; max-width: none !important; margin: 0 !important;
    border-top: 1px solid var(--control-line, #ffffff26);
  }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .footer-social-links a {
    position: relative; overflow: hidden;
    display: grid !important; grid-template-columns: 48px 1fr auto; align-items: center;
    width: auto !important; height: auto !important; min-height: 0 !important; margin: 0 !important;
    padding: 24px 4px !important; border: 0 !important; border-bottom: 1px solid var(--control-line, #ffffff26) !important;
    background: none !important; box-shadow: none !important; clip-path: none !important;
    font: 500 clamp(16px, min(1.55vw, 2.1vh), 28px)/1 Orbitron, sans-serif !important; letter-spacing: .02em !important; text-transform: uppercase;
    color: var(--ink, #f0f2ec) !important; text-align: left !important; justify-content: initial !important;
    transition: color .4s ease, padding .5s cubic-bezier(.16,1,.3,1);
  }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .footer-social-links a::before {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
    background: var(--accent-ui, var(--accent)); transform-origin: 0 50%; scale: 0 1;
    transition: scale .7s cubic-bezier(.16,1,.3,1);
  }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .footer-social-links a::after { display: none !important; }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .footer-social-links .v2-row-i { font: 600 10px/1 Orbitron, sans-serif; letter-spacing: .2em; color: var(--muted, #8a968f); }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .footer-social-links .v2-row-a { font-size: .8em; transition: rotate .5s cubic-bezier(.16,1,.3,1), translate .5s cubic-bezier(.16,1,.3,1); }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .footer-social-links a:is(:hover, :focus-visible) { color: var(--accent-ui, var(--accent)) !important; padding-left: 16px !important; }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .footer-social-links a:is(:hover, :focus-visible)::before { scale: 1 1; }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .footer-social-links a:is(:hover, :focus-visible) .v2-row-a { rotate: 45deg; translate: -4px 0; }

  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .footer-grid {
    grid-column: 1 / -1 !important; width: 100% !important; max-width: none !important;
    display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; column-gap: 32px !important;
    border-top: 1px solid var(--control-line, #ffffff26); padding-top: 28px !important; margin: 0 !important;
  }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .footer-grid .f-col { border: 0 !important; padding: 0 !important; }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .footer-grid .f-col::before { display: none !important; }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .footer-grid .f-head { border: 0 !important; padding: 0 !important; margin: 0 0 18px !important; color: var(--muted, #8a968f) !important; font-size: 10px !important; letter-spacing: .22em !important; }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .footer-grid .f-list li a, html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .footer-grid .f-list li button { font-size: 15px !important; }

  /* The bottom line: both marks at full presence, the credit between them. */
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .footer-bottom {
    display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 24px;
    width: 100% !important; max-width: none !important; margin: 56px 0 0 !important; padding: 20px 0 0 !important;
    border-top: 1px solid var(--control-line, #ffffff26) !important;
  }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .footer-bottom img { width: 76px !important; height: 76px !important; }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .footer-bottom .footer-copyright { margin: 0 !important; font: 600 10px/1 Orbitron, sans-serif !important; letter-spacing: .22em !important; text-transform: uppercase; color: var(--muted, #8a968f) !important; }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .footer-bottom a { width: auto !important; height: auto !important; padding: 0 !important; }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .footer-bottom .footer-orbit { display: none !important; }
}

/* ---------------------------------------------------- 6. object + glow */
/* Staged object visual override is handled in v2-motion.css so fixed art stays clear of copy. */
@media (min-width: 1201px), (min-width: 1024px) and (orientation: landscape) {
  .desktop-object-copy { position: relative; isolation: isolate; }
  .v2-glow {
    position: absolute; z-index: -1; pointer-events: none;
    left: -22%; top: 50%; width: 150%; aspect-ratio: 1.3; translate: 0 -50%;
    background: radial-gradient(closest-side, var(--v2-glow, rgb(140 42 171 / .2)), transparent);
    opacity: .9;
    animation: v2-glow 22s ease-in-out infinite alternate;
  }
  .v2-glow[data-study='2'] { --v2-glow: rgb(10 164 207 / .17); animation-delay: -6s; }
  .v2-glow[data-study='3'] { --v2-glow: rgb(214 170 70 / .14); animation-delay: -12s; }
  .v2-glow[data-study='4'] { --v2-glow: rgb(160 220 60 / .12); animation-delay: -17s; }
  html[data-theme='light'] .v2-glow { opacity: .55; }
  @keyframes v2-glow {
    0% { transform: translate(-4%, 3%) scale(1); }
    50% { transform: translate(5%, -4%) scale(1.08); }
    100% { transform: translate(-2%, -2%) scale(.96); }
  }
}
.v2-glow { display: none; }
@media (min-width: 1201px), (min-width: 1024px) and (orientation: landscape) { .v2-glow { display: block; } }
@media (prefers-reduced-motion: reduce) { .v2-glow { animation: none !important; } }

/* ------------------------------- 8b. compact footer: the same closing spread */
@media (max-width: 1200px) {
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .compact-footer {
    display: flex !important; flex-direction: column !important; gap: 48px !important;
    text-align: left !important;
    padding-top: 40px !important; padding-bottom: max(28px, env(safe-area-inset-bottom)) !important;
  }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .compact-footer .sc-footer-intro {
    display: grid !important; gap: 32px !important; text-align: left !important; margin: 0 !important; padding: 0 !important;
  }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .compact-footer .sc-footer-intro > .v2-chap { margin: 0 !important; }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .compact-footer .sc-footer-intro h2 {
    text-align: left !important; margin: 0 !important; width: auto !important;
    font-size: clamp(44px, 12.4vw, 92px) !important; line-height: 1.06 !important; letter-spacing: -.035em !important;
  }
  /* Social links: large indexed rows with hairlines, as on desktop. */
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .compact-footer .footer-social-links {
    display: flex !important; flex-direction: column !important; gap: 0 !important; width: 100% !important; max-width: none !important; margin: 0 !important;
    border-top: 1px solid var(--control-line, #ffffff26);
  }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .compact-footer .footer-social-links a {
    position: relative; overflow: hidden;
    display: grid !important; grid-template-columns: 40px 1fr auto; align-items: center; justify-content: initial !important;
    width: auto !important; min-height: 64px !important; height: auto !important; margin: 0 !important; padding: 18px 2px !important;
    border: 0 !important; border-bottom: 1px solid var(--control-line, #ffffff26) !important; border-radius: 0 !important;
    background: none !important; box-shadow: none !important; clip-path: none !important;
    font: 500 clamp(18px, 4.8vw, 26px)/1 Orbitron, sans-serif !important; letter-spacing: .02em !important; text-transform: uppercase;
    color: var(--ink, #f0f2ec) !important; text-align: left !important;
  }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .compact-footer .footer-social-links a::before,
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .compact-footer .footer-social-links a::after { display: none !important; }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .compact-footer .footer-social-links .v2-row-i { font: 600 10px/1 Orbitron, sans-serif; letter-spacing: .2em; color: var(--muted, #8a968f); }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .compact-footer .footer-social-links .site-symbol { justify-self: end; color: var(--accent-ui, var(--accent)); }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .compact-footer .footer-social-links a:active { color: var(--accent-ui, var(--accent)) !important; }

  /* Links: two quiet columns, left aligned, then the policies in small caps. */
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .compact-footer-content {
    display: grid !important; gap: 20px !important; padding: 0 !important; margin: 0 !important;
    background: none !important; border: 0 !important; box-shadow: none !important; backdrop-filter: none !important; clip-path: none !important;
  }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .compact-footer-nav {
    display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 0 24px !important;
    border: 0 !important; padding: 0 !important; margin: 0 !important;
  }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .compact-footer-nav > a {
    justify-content: flex-start !important; gap: 8px; min-height: 48px !important; padding: 0 !important;
    border: 0 !important; border-bottom: 1px solid var(--control-line, #ffffff1f) !important; background: none !important;
    font: 500 16px/1.4 Inter, sans-serif !important;
  }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .compact-footer-policies {
    display: flex !important; flex-wrap: wrap; justify-content: flex-start !important; gap: 0 24px !important; margin: 0 !important; padding: 0 !important;
  }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .compact-footer-policies :is(a, button) {
    min-height: 44px !important; font: 600 10px/1 Orbitron, sans-serif !important; letter-spacing: .2em !important; text-transform: uppercase;
    color: var(--muted, #8a968f) !important;
  }
  /* Bottom line: both marks at the ends, the credit between them. */
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .compact-footer-brands {
    display: flex !important; justify-content: space-between !important; align-items: center !important; gap: 16px !important;
    margin: 0 !important; padding: 24px 0 0 !important; border: 0 !important; border-top: 1px solid var(--control-line, #ffffff26) !important;
  }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .compact-footer-brands .compact-brand { display: grid !important; justify-items: center; gap: 10px; }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .compact-footer-brands img { width: 64px !important; height: 64px !important; }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .compact-footer-brands span { font: 600 9px/1 Orbitron, sans-serif !important; letter-spacing: .22em !important; text-transform: uppercase; color: var(--muted, #8a968f) !important; }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .compact-footer > .compact-footer-credit {
    margin: -24px 0 0 !important; text-align: left !important;
    font: 600 10px/1 Orbitron, sans-serif !important; letter-spacing: .22em !important; text-transform: uppercase; color: var(--muted, #8a968f) !important;
  }
}
/* Tablets: the statement and the rows sit side by side, as on desktop. */
@media (min-width: 700px) and (max-width: 1200px) {
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .compact-footer .sc-footer-intro { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: 48px; align-items: end; }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .compact-footer .sc-footer-intro > .v2-chap { grid-column: 1 / -1; }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .compact-footer .sc-footer-intro h2 { font-size: clamp(56px, 7.8vw, 96px) !important; line-height: 1.06 !important; }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .compact-footer-content { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: 48px; align-items: start; }
}

/* ------------------------------------------------ 9. product page, phones */
/* The price and the product notes use the full width of the purchase panel
   instead of the narrow first column beside the bag button. */
@media (max-width: 699px) {
  html[data-motion]:not(#v2):not(#v2) body#top .purchase-panel > :is(.product-price, .purchase-notes) { grid-column: 1 / -1 !important; max-width: none !important; width: auto !important; }
}

/* ------------------------------- 10. footer on laptops and short screens */
@media (min-width: 1201px) {
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .scalar-mega-footer { padding-top: clamp(32px, 6vh, 72px) !important; }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .footer-main { row-gap: clamp(32px, 6.3vh, 80px) !important; }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .footer-social-links a { padding-block: clamp(14px, 1.9vh, 24px) !important; }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .footer-bottom { margin-top: clamp(24px, 4.4vh, 56px) !important; }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .footer-bottom img { width: clamp(52px, 6vh, 76px) !important; height: clamp(52px, 6vh, 76px) !important; }
}
@media (min-width: 1201px) and (max-height: 1000px) {
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .footer-grid .f-list li { margin: 0 !important; padding: 0 !important; }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .footer-grid .f-list li :is(a, button) { min-height: 36px !important; padding-block: 0 !important; display: inline-flex !important; align-items: center; }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer .footer-grid .f-list { gap: 0 !important; row-gap: 0 !important; }
}

/* ---------------------------------------------- 11. scroll performance */
/* Looping decoration rests while off screen (see pauseOffscreen). */
.v2-off, .v2-off *, .v2-off::before, .v2-off::after, .v2-off *::before, .v2-off *::after { animation-play-state: paused !important; }
/* The hero scan line moves by transform (the original moved "top", which
   re-laid out and repainted the hero on every frame). */
html[data-motion]:not(#v2):not(#v2) body#top#top #hero-section::after {
  top: 0 !important; bottom: 0 !important; height: auto !important; box-shadow: none !important;
  background:
    linear-gradient(90deg, #0000, #ffa2be1f 30%, #ffa2be3d 70%, #0000) top / 100% 1px no-repeat,
    linear-gradient(#ffa2be0d, #0000) top / 100% 14px no-repeat !important;
  animation: v2-scan 16s linear infinite !important;
  will-change: transform;
}
@keyframes v2-scan { from { transform: translateY(-1px); } to { transform: translateY(100%); } }
/* The object's drop shadow was re-filtered on every scrolled frame of the
   sequence; the glow behind it (unchanged) gives the same halo. */
html[data-motion]:not(#v2):not(#v2) body#top#top .desktop-object-visual > :is(canvas, .story-poster) { filter: none !important; }

/* Phones: footer marks without labels, at one visual height (the Scalar mark
   has more air inside its drawing, so it is drawn a little larger), and the
   credit centred under them. */
@media (max-width: 1200px) {
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer#shared-footer .compact-footer-brands span { display: none !important; }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer#shared-footer .compact-footer-brands img { width: 60px !important; height: 60px !important; }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer#shared-footer .compact-footer-brands a[href="#top"] img { width: 66px !important; height: 66px !important; margin: -3px !important; }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer#shared-footer .compact-footer > .compact-footer-credit { margin: 0 !important; text-align: center !important; }
}
@media (max-width: 1200px) {
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer#shared-footer .compact-footer-brands a { grid-template-columns: auto !important; width: auto !important; min-width: 0 !important; }
  html[data-motion]:not(#v2):not(#v2):not(#v2) body#top#top #shared-footer#shared-footer .compact-footer-brands img { max-width: none !important; max-height: none !important; flex: none !important; }
}

/* ---------------------------------------------- 12. WCAG AA contrast floors */
body[data-page="about"] :is(.studio-gallery-head h2, .studio-gallery-heading h2, #studio-gallery-title) {
  color: color-mix(in srgb, var(--text, #f0f2ec) 58%, transparent) !important;
}
html[data-theme="light"] body[data-page="about"] :is(.studio-gallery-head h2, .studio-gallery-heading h2, #studio-gallery-title) {
  color: color-mix(in srgb, var(--text, #192723) 66%, transparent) !important;
}
.ticker-track span {
  color: color-mix(in srgb, var(--ink, var(--text, #f0f2ec)) 68%, transparent) !important;
}
html[data-theme="light"] .ticker-track span {
  color: color-mix(in srgb, var(--ink, var(--text, #192723)) 76%, transparent) !important;
}
html[data-theme="light"] #shared-footer .footer-social-links .v2-row-i {
  color: var(--muted, #404d46) !important;
  opacity: 0.88 !important;
}
html[data-motion]:not(#v2):not(#v2) body#top#top .chapter-dock a {
  color: color-mix(in srgb, var(--sc-text, #ecefe6) 86%, var(--sc-plate, #161a19)) !important;
}
html[data-theme="light"][data-motion]:not(#v2):not(#v2) body#top#top .chapter-dock a {
  color: color-mix(in srgb, var(--sc-text, #121714) 86%, var(--sc-plate, #eef0eb)) !important;
}
html[data-motion]:not(#v2):not(#v2) body#top#top .chapter-dock a[aria-current] {
  color: #e6ff7a !important;
}
html[data-theme="light"][data-motion]:not(#v2):not(#v2) body#top#top .chapter-dock a[aria-current] {
  color: var(--sc-signal-ink, #10130a) !important;
}
html[data-motion]:not(#v2):not(#v2) body#top#top .chapter-dock a:hover {
  color: #ffffff !important;
}
html[data-theme="light"][data-motion]:not(#v2):not(#v2) body#top#top .chapter-dock a:hover {
  color: var(--sc-signal-ink, #10130a) !important;
}
