/* =====================================================================
   STADIA GLOBAL — product pages (Apple Watch Ultra 4 look)
   Tokens: css/variables-ultra.css (scoped to [data-theme="ultra"])
   Colors: css/brand.css. Motion: css/motion.css + js/motion.js.
   Every class is prefixed u- (shared) or ah- / sb- / cb- (one page),
   so this file can sit beside the home page styles without clashes.
   ===================================================================== */

[data-theme="ultra"] {
  --u-display: 'SF Pro Display', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --u-text: 'SF Pro Text', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --u-gutter: clamp(20px, 5vw, 64px);
  --u-max: 1180px;
  --u-link-on-dark: #2997ff; /* Link Blue lifted for contrast on black */
  --gnav-h: 44px;
  --lnav-h: 52px;
  --ease-dossier: cubic-bezier(0.16, 1, 0.3, 1);

  background: var(--color-absolute-black);
  color: var(--color-polar-white);
  font-family: var(--u-text);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  letter-spacing: var(--tracking-body);
  font-feature-settings: normal;
  -webkit-font-smoothing: antialiased;
}
/* Base resets use :where() so they never outrank component classes */
:where([data-theme="ultra"]) *, :where([data-theme="ultra"]) *::before, :where([data-theme="ultra"]) *::after { box-sizing: border-box; }
:where([data-theme="ultra"]) :is(h1, h2, h3, p, figure, dl, dd) { margin: 0; }
:where([data-theme="ultra"]) ul { margin: 0; padding: 0; list-style: none; }
:where([data-theme="ultra"]) a { color: inherit; }
:where([data-theme="ultra"]) :is(img, video) { display: block; max-width: 100%; }
:where([data-theme="ultra"]) :focus-visible { outline: 2px solid var(--u-link-on-dark); outline-offset: 3px; }
body[data-theme="ultra"] { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.u-hero-display {
  font-family: var(--u-display); font-weight: 600;
  font-size: clamp(40px, 6.4vw, 96px); line-height: var(--leading-hero-display); letter-spacing: -0.009em;
  text-transform: uppercase;
}
.u-section-heading {
  font-family: var(--u-display); font-weight: 600;
  font-size: clamp(32px, 4.6vw, 56px); line-height: 1.07; letter-spacing: -0.005em;
}
.u-metric { font-family: var(--u-display); font-weight: 600; font-size: clamp(56px, 9vw, 128px); line-height: 1; letter-spacing: -0.009em; font-variant-numeric: tabular-nums; }
.u-product-label { font-family: var(--u-display); font-weight: 600; font-size: var(--text-product-label); line-height: var(--leading-product-label); letter-spacing: var(--tracking-product-label); }
.u-eyebrow { font-weight: 600; font-size: 17px; line-height: 1.24; color: var(--color-steel); }
.u-body-large { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.38; letter-spacing: 0.009em; max-width: 32ch; color: var(--color-steel); }
.u-body-large strong { color: var(--color-polar-white); font-weight: 600; }
.u-small { font-size: 14px; line-height: 1.29; letter-spacing: -0.224px; font-weight: 600; }
.u-green { color: var(--color-battery-green); }

/* ---------- Controls ---------- */
.u-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 28px; padding: 4px 12px; border-radius: var(--radius-buttons); border: 0;
  background: var(--color-purchase-blue); color: var(--color-white);
  font: 400 var(--text-button-label)/var(--leading-button-label) var(--u-text); letter-spacing: var(--tracking-button-label);
  text-decoration: none; cursor: pointer; white-space: nowrap; flex: none; transition: background-color .2s ease, transform .2s ease;
}
.u-pill:hover { background: #0077ed; }
.u-pill:active { transform: scale(0.97); }
.u-pill--lg { min-height: 44px; padding: 11px 22px; font-size: 17px; letter-spacing: -0.374px; }
.u-pill--light { background: var(--color-white); color: var(--color-graphite); }
.u-pill--light:hover { background: var(--color-polar-white); }
.u-link { color: var(--u-link-on-dark); text-decoration: none; }
.u-link:hover { text-decoration: underline; }
.u-link::after { content: " ›"; }

/* Dark selector chip (36px radius) */
.u-chip {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px 14px 14px; border: 0; border-radius: var(--radius-selectorchips);
  background: rgba(66, 66, 69, 0.72); color: rgba(255, 255, 255, 0.8);
  font: 600 17px/1.24 var(--u-text); letter-spacing: -0.374px; text-align: left; cursor: pointer;
  transition: background-color .3s ease, color .3s ease, transform .3s var(--ease-dossier);
}
.u-chip::before {
  content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid currentColor; font-weight: 400; font-size: 20px; line-height: 1;
  transition: transform .4s var(--ease-dossier);
}
.u-chip:hover { color: #fff; }
.u-chip[aria-selected="true"], .u-chip[aria-pressed="true"] { background: rgba(110, 110, 115, 0.72); color: #fff; }
.u-chip[aria-selected="true"]::before { transform: rotate(45deg); }
.u-chip--plain::before { display: none; }
.u-chip--plain { padding: 10px 20px; font-size: 14px; }

/* Pill input */
.u-input {
  width: 100%; min-height: 50px; padding: 0 45px 0 24px;
  border-radius: var(--radius-inputs); border: 1px solid var(--color-divider-gray);
  background: rgba(255, 255, 255, 0.04); color: var(--color-polar-white);
  font: 400 17px/1.47 var(--u-text);
}
.u-input::placeholder { color: var(--color-steel); }
.u-input[aria-invalid="true"] { border-color: #ff6961; }

/* ---------- Global nav (44px) + product bar (52px, sticky) ---------- */
.u-gnav {
  height: var(--gnav-h); background: var(--color-carbon);
  display: flex; align-items: center; justify-content: center; gap: clamp(16px, 3vw, 40px);
  padding: 0 var(--u-gutter); font-size: var(--text-global-nav); letter-spacing: var(--tracking-global-nav); line-height: 1;
  position: relative; z-index: 60;
}
.u-gnav a { color: rgba(255, 255, 255, 0.8); text-decoration: none; transition: color .2s; white-space: nowrap; }
.u-gnav a:hover, .u-gnav a[aria-current="page"] { color: #fff; }
.u-gnav__mark { display: inline-flex; align-items: center; gap: 6px; color: var(--color-glyph-silver) !important; }
.u-gnav__mark svg { width: 14px; height: 14px; }

.u-lnav {
  position: sticky; top: 0; z-index: 50; height: var(--lnav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 var(--u-gutter);
  background: rgba(17, 17, 17, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color .3s ease;
}
.u-lnav.is-stuck { background: rgba(17, 17, 17, 0.9); }
.u-lnav__title { font: 600 17px/21px var(--u-text); letter-spacing: -0.374px; color: rgba(255, 255, 255, 0.85); text-decoration: none; white-space: nowrap; }
/* Where you are / HOME */
.u-lnav__crumbs { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.u-lnav__crumbs .u-lnav__title { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.u-lnav__sep, .u-lnav .u-lnav__home { flex: none; }
.u-lnav__sep { font: 400 17px/21px var(--u-text); color: var(--color-divider-gray); }
.u-lnav .u-lnav__home {
  font: 600 17px/21px var(--u-text); letter-spacing: -0.374px; text-decoration: none;
  color: rgba(255, 255, 255, 0.6); transition: color .2s ease;
}
.u-lnav .u-lnav__home:hover, .u-lnav .u-lnav__home:focus-visible { color: #fff; }
.u-lnav__links { display: flex; align-items: center; gap: 24px; font-size: 12px; }
.u-lnav__links a:not(.u-pill) { color: rgba(255, 255, 255, 0.8); text-decoration: none; padding: 18px 0 16px; border-bottom: 1px solid transparent; }
.u-lnav__links a:not(.u-pill):hover { color: #fff; }
.u-lnav__links a[aria-current="true"] { color: #fff; border-bottom-color: var(--color-polar-white); }

/* ---------- Sections and tiles ---------- */
.u-section { padding: clamp(90px, 12vw, 160px) var(--u-gutter); position: relative; }
.u-wrap { max-width: var(--u-max); margin: 0 auto; }
.u-section__head { display: flex; flex-direction: column; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); }
.u-carbon { background: var(--color-carbon); }
.u-black { background: var(--color-absolute-black); }
.u-graphite { background: var(--stadia-grey-dark); }

.u-tile {
  position: relative; overflow: hidden; border-radius: var(--radius-mediatiles);
  background: var(--stadia-grey-dark);
}
.u-tile > img, .u-tile > video { width: 100%; height: 100%; object-fit: cover; }
.u-tile__caption {
  position: absolute; left: clamp(20px, 4vw, 48px); right: clamp(20px, 4vw, 48px); bottom: clamp(20px, 4vw, 48px);
  font-family: var(--u-display); font-weight: 600; font-size: clamp(24px, 3vw, 40px); line-height: 1.1; color: var(--color-polar-white);
  max-width: 20ch;
}

/* Placeholder state for missing images */
[data-theme="ultra"] .is-empty > img, [data-theme="ultra"] .is-empty > video { display: none; }
[data-theme="ultra"] .is-empty { background-image: none; }
[data-theme="ultra"] .is-empty::after {
  content: attr(data-placeholder);
  position: absolute; top: 20px; left: 24px; right: 24px;
  font: 400 14px/1.3 var(--u-text); letter-spacing: -0.2px; color: var(--color-steel);
  text-transform: none;
}

/* White information tiles on the polar band */
.u-polar { background: var(--color-polar-white); color: var(--color-graphite); }
.u-polar .u-section-heading { color: var(--color-graphite); }
.u-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.u-info {
  background: var(--color-white); color: var(--color-graphite); border-radius: var(--radius-cards);
  padding: 40px 32px; display: flex; flex-direction: column; gap: 14px; min-height: 280px;
  transition: transform .5s var(--ease-dossier);
}
.u-info:hover { transform: scale(1.015); }
.u-info h3 { font: 600 24px/1.17 var(--u-display); letter-spacing: 0.009em; }
.u-info p { color: #6e6e73; font-size: 17px; }
.u-info .u-link { color: var(--color-link-blue); margin-top: auto; }

/* Close-look module: chips beside a big crop */
.u-close { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.u-close__chips { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; justify-content: center; }
.u-close__stage { position: relative; min-height: min(70vh, 640px); }
.u-close__panel {
  position: absolute; inset: 0; border-radius: var(--radius-mediatiles); overflow: hidden; background: var(--stadia-grey-dark);
  opacity: 0; transform: scale(1.03); visibility: hidden;
  transition: opacity .6s var(--ease-dossier), transform .9s var(--ease-dossier), visibility 0s .6s;
}
.u-close__panel.is-active { opacity: 1; transform: none; visibility: visible; transition: opacity .6s var(--ease-dossier), transform .9s var(--ease-dossier), visibility 0s; }
.u-close__panel > img { width: 100%; height: 100%; object-fit: cover; }
.u-close__text {
  position: absolute; left: 32px; right: 32px; bottom: 32px; max-width: 34ch;
  font-size: 19px; line-height: 1.42; color: var(--color-polar-white);
}
.u-close__text strong { display: block; font: 600 28px/1.14 var(--u-display); margin-bottom: 8px; }

/* Signup */
.u-signup { display: flex; gap: 12px; align-items: center; max-width: 560px; flex-wrap: wrap; }
.u-signup .u-input { flex: 1 1 260px; }
.u-signup__status { flex-basis: 100%; font-size: 14px; color: var(--color-steel); min-height: 1.3em; }
.u-signup__status a { color: var(--u-link-on-dark); }

/* Scene stage defaults: absolutely-placed layers become a stack when motion is off */
.u-abs { position: absolute; }
html:not(.motion-ok) [data-theme="ultra"] .pin-stage {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px;
  padding: 96px var(--u-gutter);
}
html:not(.motion-ok) [data-theme="ultra"] .pin-stage > .u-abs { position: relative; inset: auto; transform: none; }

/* Footer — polar band */

/* =====================================================================
   ASHER'S HARVEST  (black → deep green → vivid green)
   ===================================================================== */
.ah-hero .pin-stage { --flood-from: var(--color-absolute-black); --flood-to: var(--stadia-green-deep); }
.ah-hero__top {
  top: calc(var(--lnav-h) + 4vh); left: 0; right: 0; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 var(--u-gutter);
  opacity: calc(1 - var(--t, 0)); transform: translateY(calc(var(--t, 0) * -70px));
}
.ah-hero__product {
  /* Transparent pouch cut-out: no frame, floats on black, then on the green flood */
  left: 50%; top: 60%; height: min(46vh, 520px); width: auto; aspect-ratio: 758 / 725; max-width: 88vw; margin: 0;
  translate: -50% -50%;
  transform: translateY(calc(var(--t, 0) * -10vh)) scale(calc(1 - var(--t, 0) * 0.4));
}
html:not(.motion-ok) .ah-hero__product { translate: none; }
.ah-hero__product picture, .ah-hero__product img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ah-hero__buy {
  left: 0; right: 0; bottom: 4vh; display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: calc(1 - var(--t, 0));
}
.ah-hero__after {
  left: var(--u-gutter); right: var(--u-gutter); bottom: 10vh; text-align: center;
  opacity: var(--t, 1); transform: translateY(calc((1 - var(--t, 1)) * 50px));
}
.ah-hero__after .u-section-heading { max-width: 26ch; margin: 0 auto; font-size: clamp(26px, 3.4vw, 46px); }

.ah-words { background: var(--stadia-green-deep); }
.ah-words p { font: 600 clamp(32px, 5vw, 64px)/1.1 var(--u-display); letter-spacing: -0.005em; max-width: 20ch; }

.ah-tile .u-tile { height: min(78vh, 760px); }
.ah-tile__caption { opacity: var(--t, 1); transform: translateY(calc((1 - var(--t, 1)) * 30px)); }

.ah-numbers { background: var(--stadia-green); color: var(--stadia-green-ink); }
.ah-numbers dl.u-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 48px; }
.ah-numbers dt { font-weight: 600; font-size: 19px; line-height: 1.3; max-width: 18ch; }
.ah-numbers dd { order: -1; }
.ah-numbers dl > div { display: flex; flex-direction: column; gap: 12px; border-top: 2px solid var(--stadia-green-ink); padding-top: 24px; }
.ah-numbers .u-metric span.unit { font-size: .4em; margin-left: .1em; }

/* =====================================================================
   SPACE BOOT & APPAREL  (black → neon orange)
   ===================================================================== */
.sb-hero .pin-stage { --flood-from: var(--color-absolute-black); --flood-to: var(--stadia-orange); }
.sb-hero__word {
  inset: 0; display: grid; place-items: center; pointer-events: none; z-index: 2;
  font: 600 clamp(64px, 17vw, 300px)/0.9 var(--u-display); letter-spacing: -0.02em; text-transform: uppercase; text-align: center;
  color: var(--color-polar-white);
  transform: scale(calc(1 + var(--t, 0) * 7)); transform-origin: 50% 46%;
  opacity: clamp(0, calc(1 - var(--t, 0) * 1.5), 1);
}
.sb-hero__product picture, .sb-hero__product img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sb-hero__product {
  /* Portrait frame sized by height so the whole boot fits on screen */
  /* Transparent cut-out: no frame, no background — the boot floats on black, then on orange */
  margin: 0; left: 50%; top: 45%; height: min(68vh, 760px); width: auto; aspect-ratio: 768 / 1024; max-width: 84vw;
  translate: -50% -50%;
  opacity: var(--t, 1); transform: scale(calc(0.8 + var(--t, 1) * 0.2));
}
html:not(.motion-ok) .sb-hero__product { translate: none; }
.sb-hero__caption {
  margin: 0; left: var(--u-gutter); right: var(--u-gutter); bottom: 5vh; text-align: center; color: var(--stadia-orange-ink);
  opacity: var(--t, 1); transform: translateY(calc((1 - var(--t, 1)) * 40px));
}
.sb-hero__caption .u-section-heading { max-width: 26ch; margin: 0 auto; font-size: clamp(26px, 3.4vw, 44px); }
.sb-hero__cite { margin-top: 12px; font: 600 17px/1.3 var(--u-text); letter-spacing: -0.2px; }
.sb-hero__cite::before { content: "— "; }

.sb-gallery .pin-stage { background: var(--stadia-orange); color: var(--stadia-orange-ink); display: flex; flex-direction: column; justify-content: center; gap: 40px; }
.sb-gallery__head { padding: calc(var(--lnav-h) + 24px) var(--u-gutter) 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.sb-gallery .h-track { gap: 24px; padding: 0 var(--u-gutter); }
.sb-card { flex: none; margin: 0; display: flex; flex-direction: column; gap: 14px; }
/* Transparent cut-outs float on the orange: no frame, no background. Sized 25% smaller than before. */
.sb-card__media { position: relative; height: min(45vh, 480px); aspect-ratio: 768 / 1024; }
.sb-card__media picture, .sb-card__media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sb-card__caption { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; color: var(--stadia-orange-ink); }
.sb-card__name { font: 600 clamp(17px, 1.5vw, 21px)/1.2 var(--u-display); letter-spacing: 0.01em; }
.sb-card__index { font: 600 14px/1 var(--u-text); opacity: .7; white-space: nowrap; }
.sb-progress { height: 2px; margin: 0 var(--u-gutter); background: rgba(49, 20, 0, 0.2); }
.sb-progress span { display: block; height: 100%; background: var(--stadia-orange-ink); }

.sb-words p { font: 600 clamp(32px, 5vw, 64px)/1.1 var(--u-display); max-width: 20ch; }

/* =====================================================================
   FITNESS COMBINE  (black → deep blue → vivid blue)
   ===================================================================== */
.cb-hero .pin-stage { --flood-from: var(--color-absolute-black); --flood-to: var(--stadia-blue-deep); }
/* Background video: dimmed on black, then fades further as the blue floods in (still faintly visible) */
.cb-hero__video { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.cb-hero__video video {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%;
  opacity: calc(0.55 - var(--t, 1) * 0.35);
  filter: saturate(0.85);
}
.cb-hero__vbtn {
  position: absolute; z-index: 3; left: var(--u-gutter); bottom: calc(3vh + 8px);
  height: 30px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(0, 0, 0, 0.45); color: #fff;
  font: 600 12px/1 var(--u-text); letter-spacing: 0.01em;
}
.cb-hero__vbtn:hover, .cb-hero__vbtn:focus-visible { background: var(--color-polar-white); color: var(--color-graphite); }
.cb-hero .pin-stage > :not(.cb-hero__video) { z-index: 1; }
.cb-hero__title {
  top: calc(var(--lnav-h) + 6vh); left: 0; right: 0; text-align: center; padding: 0 var(--u-gutter);
  opacity: calc(1 - var(--t, 0)); transform: translateY(calc(var(--t, 0) * -60px));
}
.cb-hero__ring { left: 50%; top: 55%; width: min(52vh, 84vw, 460px); aspect-ratio: 1; translate: -50% -50%; }
html:not(.motion-ok) .cb-hero__ring { translate: none; }
.cb-ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.cb-ring__track { fill: none; stroke: rgba(0, 217, 89, 0.18); stroke-width: 18; }
.cb-ring__bar { fill: none; stroke: var(--color-battery-green); stroke-width: 18; stroke-linecap: round; stroke-dasharray: 1000; stroke-dashoffset: calc(1000 - var(--t, 1) * 994.2); }
.cb-hero__readout { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; }
.cb-hero__readout .u-metric { font-size: clamp(48px, 8vh, 96px); }
.cb-hero__after {
  left: var(--u-gutter); right: var(--u-gutter); bottom: 8vh; text-align: center;
  opacity: var(--t, 1); transform: translateY(calc((1 - var(--t, 1)) * 40px));
}

.cb-steps { background: var(--stadia-blue-deep); }
.cb-steps__line { height: 2px; background: rgba(255,255,255,.18); margin: 0 0 40px; position: relative; overflow: hidden; }
.cb-steps__line span { position: absolute; inset: 0; background: var(--color-polar-white); transform: scaleX(var(--t, 1)); transform-origin: left; }
.cb-steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.cb-steps li { opacity: calc(0.28 + var(--t, 1) * 0.72); transform: translateY(calc((1 - var(--t, 1)) * 16px)); }
.cb-steps li b { display: block; font: 600 clamp(40px, 5vw, 64px)/1 var(--u-display); margin-bottom: 16px; }
.cb-steps li h3 { font: 600 24px/1.17 var(--u-display); margin-bottom: 8px; }
.cb-steps li p { color: rgba(245, 245, 247, 0.72); }

.cb-board__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.u-table-wrap { overflow-x: auto; border-radius: var(--radius-cards); background: var(--color-carbon); padding: 8px 24px; }
.u-table { width: 100%; min-width: 640px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.u-table th { text-align: left; font: 600 12px/1.33 var(--u-text); color: var(--color-steel); padding: 18px 12px 14px 0; border-bottom: 1px solid #333336; }
.u-table td { padding: 18px 12px 18px 0; border-bottom: 1px solid #222; font-size: 17px; }
.u-table tr:last-child td { border-bottom: 0; }
.u-table .u-num { text-align: right; }
.u-table .u-rank { color: var(--color-steel); width: 4em; }
.u-table .u-score { color: var(--color-battery-green); font: 600 24px/1 var(--u-display); }
.u-table .u-unit { color: var(--color-steel); font-size: 0.82em; font-weight: 400; }
.u-table th .u-unit { font-size: 1em; }
.u-table .u-muted { color: var(--color-steel); }
.u-table .u-athlete { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.u-flag { flex: none; width: 24px; height: 16px; border-radius: 3px; overflow: hidden; outline: 1px solid rgba(255, 255, 255, 0.18); outline-offset: -1px; }
.u-table tbody { transition: opacity .15s ease; }
.u-table tbody.is-swapping { opacity: 0; }
.motion-ok .u-table tbody tr { animation: row-in .5s var(--ease-dossier) both; animation-delay: calc(var(--i, 0) * 50ms); }
.cb-board__note { margin-top: 16px; font-size: 14px; color: var(--color-steel); }

.cb-measures { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.cb-measure {
  border-radius: var(--radius-cards); background: var(--stadia-grey-dark); padding: 36px 32px; min-height: 300px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  transition: transform .6s var(--ease-dossier), background-color .4s ease;
}
.cb-measure:hover { transform: scale(1.02); background: #26262a; }
.cb-measure__unit { font: 600 clamp(30px, 2.6vw, 44px)/1 var(--u-display); overflow-wrap: anywhere; }
.cb-measure h3 { font: 600 24px/1.17 var(--u-display); margin-bottom: 8px; }
.cb-measure p { color: var(--color-steel); }

.cb-cta { background: var(--stadia-blue); color: var(--color-white); text-align: center; }
.cb-cta .u-section-heading { max-width: 18ch; margin: 0 auto 32px; }

/* ---------- Responsive ---------- */
@media (max-width: 833px) {
  .u-lnav__links a:not(.u-pill) { display: none; }
  .u-gnav { justify-content: space-between; gap: 12px; overflow-x: auto; }
  .u-lnav__title, .u-lnav .u-lnav__home { font-size: 15px; }
  .u-close { grid-template-columns: 1fr; }
  .u-close__chips { flex-direction: row; flex-wrap: wrap; }
  .u-chip { padding: 10px 16px 10px 10px; font-size: 15px; }
  .u-close__stage { min-height: 62vh; }
  .cb-steps ol { grid-template-columns: 1fr; }
  .sb-card__media { height: auto; width: 58.5vw; }
}
@media (prefers-reduced-motion: reduce) {
  html:not(.motion-force) .u-close__panel { transition: none; }
}

/* Wide screens: all three Close looks cards fit, so skip the sideways scroll scene and its hint */
@media (min-width: 1100px) {
  .sb-gallery { --pin-h: 100vh !important; }
  .sb-gallery__head .u-small, .sb-gallery .sb-progress { display: none; }
}

/* =====================================================================
   CLOSE LOOKS — click to view larger
   ===================================================================== */
.sb-card__open {
  border: 0; padding: 0; background: none; cursor: zoom-in; border-radius: var(--radius-cards);
  transition: transform .6s var(--ease-dossier);
}
.sb-card__open:hover, .sb-card__open:focus-visible { transform: scale(1.03); }
.sb-card__open:focus-visible { outline: 2px solid var(--stadia-orange-ink); outline-offset: 6px; }
.sb-card__zoom {
  position: absolute; left: 50%; bottom: 8px; translate: -50% 0;
  padding: 6px 14px; border-radius: 999px; background: rgba(49, 20, 0, 0.82); color: #fff;
  font: 600 12px/1.3 var(--u-text); letter-spacing: 0.02em; white-space: nowrap;
  opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s var(--ease-dossier);
  pointer-events: none;
}
.sb-card__open:hover .sb-card__zoom, .sb-card__open:focus-visible .sb-card__zoom { opacity: 1; transform: none; }
@media (hover: none) { .sb-card__zoom { opacity: 1; transform: none; } }

html.lb-open, html.lb-open body { overflow: hidden; }
.u-lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; color: #fff; overflow: hidden;
}
.u-lightbox[open] { display: grid; place-items: center; }
.u-lightbox::backdrop { background: rgba(0, 0, 0, 0.88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.u-lightbox__figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.u-lightbox__figure picture, .u-lightbox__figure img {
  display: block; height: min(82vh, 1152px); width: auto; max-width: 88vw; aspect-ratio: 912 / 1152;
  object-fit: contain; border-radius: var(--radius-cards);
}
.u-lightbox__caption { display: flex; gap: 16px; align-items: baseline; font: 600 clamp(16px, 1.6vw, 20px)/1.2 var(--u-display); letter-spacing: 0.01em; }
.u-lightbox__count { font: 600 13px/1 var(--u-text); color: var(--color-steel); }
.u-lightbox__btn, .u-lightbox__close {
  position: absolute; border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(40, 40, 42, 0.8); color: #fff;
  cursor: pointer; transition: background-color .25s ease, color .25s ease;
}
.u-lightbox__btn { top: 50%; translate: 0 -50%; width: 52px; height: 52px; border-radius: 50%; font: 400 32px/1 var(--u-text); padding-bottom: 4px; }
.u-lightbox__prev { left: clamp(12px, 3vw, 40px); }
.u-lightbox__next { right: clamp(12px, 3vw, 40px); }
.u-lightbox__close { top: clamp(12px, 3vh, 28px); right: clamp(12px, 3vw, 40px); height: 36px; padding: 0 18px; border-radius: 999px; font: 600 14px/1 var(--u-text); }
.u-lightbox__btn:hover, .u-lightbox__close:hover,
.u-lightbox__btn:focus-visible, .u-lightbox__close:focus-visible { background: var(--color-polar-white); color: var(--color-graphite); }

/* Open: backdrop fades, picture rises and settles; switching colorways crossfades */
@media (prefers-reduced-motion: no-preference) {
  .u-lightbox[open]::backdrop { animation: lb-fade .4s ease both; }
  .u-lightbox[open] .u-lightbox__figure { animation: lb-in .6s var(--ease-dossier) both; }
  .u-lightbox.is-swapping .u-lightbox__figure picture { animation: lb-swap .45s var(--ease-dossier) both; }
}
html.motion-force .u-lightbox[open] .u-lightbox__figure { animation: lb-in .6s var(--ease-dossier) both; }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lb-in { from { opacity: 0; transform: translateY(24px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes lb-swap { from { opacity: 0.2; transform: scale(0.985); } to { opacity: 1; transform: none; } }

@media (max-width: 833px) {
  .u-lightbox__figure picture, .u-lightbox__figure img { height: auto; width: 88vw; }
  .u-lightbox__btn { top: auto; bottom: 20px; translate: none; }
  .u-lightbox__prev { left: calc(50% - 64px); }
  .u-lightbox__next { right: calc(50% - 64px); }
  .u-lightbox__figure { margin-bottom: 64px; }
}

/* Asher's Harvest hero headline is longer than the other pages': slightly smaller so it stays on two lines */
.ah-hero__title { font-size: clamp(28px, 4.2vw, 64px); margin: 0 auto; }

/* Asher's Harvest how-to video: portrait container with rounded corners (matches the video's 1248 × 1632 shape) */
.ah-tile .u-tile.ah-video {
  height: min(78vh, 760px); width: auto; max-width: 100%; aspect-ratio: 1248 / 1632; margin: 0 auto;
  border-radius: var(--r-frame, 28px); --grow-radius: var(--r-frame, 28px); background: #111;
}
.ah-video__media, .ah-video__media video { position: absolute; inset: 0; width: 100%; height: 100%; }
.ah-video__media video { object-fit: cover; }
.ah-video__caption {
  left: 50%; right: auto; bottom: 20px; translate: -50% 0; max-width: calc(100% - 32px); width: max-content;
  padding: 12px 22px; border-radius: 999px; background: rgba(0, 0, 0, 0.62);
  font-size: clamp(18px, 2vw, 26px); text-align: center; z-index: 2;
}
.ah-video__btn {
  position: absolute; z-index: 3; top: 16px; right: 16px; height: 30px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.4); background: rgba(0, 0, 0, 0.5); color: #fff; font: 600 12px/1 var(--u-text);
}
.ah-video__btn:hover, .ah-video__btn:focus-visible { background: var(--color-polar-white); color: var(--color-graphite); }
@media (max-width: 833px) { .ah-tile .u-tile.ah-video { height: auto; width: 100%; } }

/* Formula selector: pouch stands on a graphite panel, flavor note below it */
.u-close__panel--product { display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 32px 32px 28px; background: var(--stadia-grey-dark); }
.u-close__panel--product picture { flex: 1 1 auto; min-height: 0; width: 100%; display: flex; justify-content: center; }
.u-close__panel--product img { width: auto; height: 100%; max-height: 100%; max-width: 100%; object-fit: contain; }
.u-close__panel--product .u-close__text { position: static; max-width: 40ch; text-align: center; margin-top: 20px; color: var(--color-steel); }
.u-close__panel--product .u-close__text strong { color: var(--color-polar-white); font-size: clamp(22px, 2.2vw, 28px); }
.u-close__sub { display: block; margin-top: 4px; font: 600 15px/1.2 var(--u-text); color: var(--stadia-green); letter-spacing: 0.01em; }
/* Pouch rises into place when its chip is chosen */
.u-close__panel--product picture { transform: translateY(14px); transition: transform .8s var(--ease-dossier); }
.u-close__panel--product.is-active picture { transform: none; }
.u-close__stage { min-height: min(78vh, 720px); }
.u-close__chips .u-chip { width: 100%; }
@media (max-width: 833px) {
  .u-close__chips .u-chip { width: auto; }
  .u-close__stage { min-height: 76vh; }
}

/* Ingredients disclosure inside each formula panel: a pill that opens a scrollable list over the pouch */
.u-close__panel--product .u-close__text p { margin: 6px 0 0; }
.u-ingredients { margin-top: 14px; }
.u-ingredients summary {
  display: inline-flex; align-items: center; gap: 8px; list-style: none; cursor: pointer;
  height: 32px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.28);
  font: 600 13px/1 var(--u-text); color: var(--color-polar-white); transition: background-color .25s ease, color .25s ease;
}
.u-ingredients summary::-webkit-details-marker { display: none; }
.u-ingredients summary::after { content: "+"; font-weight: 400; font-size: 18px; line-height: 1; transition: transform .3s var(--ease-dossier); }
.u-ingredients[open] summary::after { transform: rotate(45deg); }
.u-ingredients summary:hover, .u-ingredients summary:focus-visible { background: var(--color-polar-white); color: var(--color-graphite); }
.u-ingredients__list {
  position: absolute; left: 20px; right: 20px; top: 20px; bottom: 150px; z-index: 2;
  margin: 0; padding: 22px 26px; overflow-y: auto; list-style: none; text-align: left;
  background: rgba(17, 17, 17, 0.95); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 22px;
  columns: 2 220px; column-gap: 28px; font-size: 15px; line-height: 1.45; color: var(--color-polar-white);
}
.u-ingredients__list li { break-inside: avoid; padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
@media (prefers-reduced-motion: no-preference) {
  .u-ingredients[open] .u-ingredients__list { animation: ing-in .4s var(--ease-dossier) both; }
}
@keyframes ing-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Fourth section heading: three buyer lines, each on its own line, rising in one after another */
.ah-tile__title { font-size: clamp(22px, 2.6vw, 36px); line-height: 1.25; }
.ah-tile__title > span + span { font-weight: 400; }
.ah-tile__title > span:first-child { font-size: 1.4em; line-height: 1.1; margin-bottom: 0.15em; }
.ah-tile__title > span { display: block; }

/* Numbers band: "$" sits before the figure at the same reduced size as the unit after it */
.ah-numbers .u-metric .unit--pre { margin: 0 0.04em 0 0; vertical-align: 0.9em; }
/* "Trillion" at the same size as the figures; the band's figures are sized so "$1 Trillion" fits on one line */
.ah-numbers .u-metric { font-size: clamp(46px, 7vw, 104px); white-space: nowrap; }
.ah-numbers .u-metric .unit--word { font-size: 1em; }

/* Apparel "Get release updates": email signup on the left, white STADIA logo in the open space on the right */
.sb-updates { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.sb-updates__logo { margin: 0; justify-self: end; width: 100%; max-width: 480px; }
.sb-updates__logo img { display: block; width: 100%; height: auto; }
.motion-ok .sb-updates__logo img { clip-path: inset(0 50% 0 50%); transition: clip-path 1.4s var(--ease-dossier) .2s; }
.motion-ok .sb-updates__logo.is-revealed img { clip-path: inset(0 0 0 0); }
@media (max-width: 833px) {
  .sb-updates { grid-template-columns: 1fr; }
  .sb-updates__logo { justify-self: start; max-width: 300px; order: -1; }
}

/* Combine call to action: white STADIA logo centred above the heading and button */
.cb-cta__logo { margin: 0 auto 40px; width: 100%; max-width: 420px; }
.cb-cta__logo img { display: block; width: 100%; height: auto; }
.motion-ok .cb-cta__logo img { clip-path: inset(0 50% 0 50%); transition: clip-path 1.4s var(--ease-dossier) .2s; }
.motion-ok .cb-cta__logo.is-revealed img { clip-path: inset(0 0 0 0); }
@media (max-width: 833px) { .cb-cta__logo { max-width: 280px; margin-bottom: 28px; } }
/* Combine call to action: smaller sub-line under "Register Today!!" */
.cb-cta .u-section-heading { margin-bottom: 12px; }
.cb-cta__sub { font: 600 clamp(19px, 2vw, 26px)/1.25 var(--u-display); color: rgba(255, 255, 255, 0.86); margin: 0 auto 32px; }

/* Spanish and French headlines run longer: keep the Asher's Harvest headline clear of the pouches */
html:not([lang="en"]) .ah-hero__title { font-size: clamp(24px, 3.4vw, 50px); }
html:not([lang="en"]) .ah-hero__after .u-section-heading { font-size: clamp(22px, 2.9vw, 40px); }

/* Combine region chips: year / "Planned" tags and the North America sub-region row */
.u-tag { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; font: 600 11px/1.3 var(--u-text); background: var(--color-battery-green); color: #00210e; }
.u-tag--muted { background: rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.8); }
.cb-board__subs { display: flex; flex-wrap: wrap; gap: 8px; margin: -16px 0 28px; }
.u-chip--sm { padding: 7px 14px; font-size: 13px; }
.u-table .u-subregion { margin-left: 10px; padding: 2px 8px; border-radius: 999px; font-size: 12px; color: var(--color-steel); border: 1px solid #333336; }
html[dir="rtl"] .u-table .u-subregion, html[dir="rtl"] .u-tag { margin-left: 0; margin-right: 8px; }
/* Sources: one horizontal line pinned to the bottom of the green numbers section */
.ah-numbers { position: relative; }
.ah-numbers__source {
  position: absolute; left: 0; right: 0; bottom: 22px;
  display: flex; align-items: center; justify-content: center; gap: 10px 22px; flex-wrap: nowrap;
  padding: 0 var(--u-gutter); margin: 0; white-space: nowrap; overflow-x: auto;
  font: 500 13px/1.4 var(--u-text); color: var(--stadia-green-ink);
}
.ah-src__label { font-weight: 700; opacity: .85; }
.ah-src { display: inline-flex; align-items: center; gap: 8px; }
.ah-src__n { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--stadia-green-ink); color: var(--stadia-green); font-size: 11px; font-weight: 700; }
.ah-numbers__source a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ah-numbers__source a:hover { text-decoration-thickness: 2px; }
/* Phones: the two sources stack under the label instead of running off the edge */
@media (max-width: 833px) {
  .ah-numbers__source { position: static; flex-direction: column; align-items: flex-start; gap: 8px; white-space: normal; margin-top: 48px; padding: 0; }
}

/* =====================================================================
   COMBINE REGISTRATION (combine-register.html, register-success.html, 404)
   ===================================================================== */
.reg__wrap { max-width: 880px; }
.reg__head { display: flex; flex-direction: column; gap: 18px; margin-bottom: 48px; }
.reg__logo { margin: 0 0 12px; max-width: 300px; }
.reg__head .u-body-large { max-width: 46ch; }
.reg__notice { padding: 14px 18px; border-radius: 14px; background: rgba(255, 105, 97, 0.12); color: #ffb3ae; font-size: 15px; }
.reg__form { display: flex; flex-direction: column; gap: 28px; }
.reg__group { margin: 0; padding: 28px; border: 0; border-radius: var(--radius-cards); background: var(--stadia-grey-dark); }
.reg__group legend { float: left; width: 100%; margin-bottom: 20px; padding: 0; font: 600 21px/1.2 var(--u-display); color: var(--color-polar-white); }
.reg__group legend + * { clear: both; }
.reg__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.reg__field { display: flex; flex-direction: column; gap: 8px; }
.reg__field--wide { grid-column: 1 / -1; }
.reg__field label { font: 600 14px/1.3 var(--u-text); color: rgba(245, 245, 247, 0.85); }
.reg__opt { font-weight: 400; color: var(--color-steel); }
.reg__field input, .reg__field select, .reg__field textarea {
  width: 100%; min-height: 48px; padding: 12px 16px; border-radius: 12px;
  border: 1px solid #3a3a3c; background: #111; color: var(--color-polar-white);
  font: 400 16px/1.4 var(--u-text);
}
.reg__field select { appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #86868b 50%), linear-gradient(135deg, #86868b 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
html[dir="rtl"] .reg__field select { background-position: 20px 52%, 14px 52%; padding-right: 16px; padding-left: 40px; }
.reg__field textarea { min-height: 96px; resize: vertical; }
.reg__field input:focus, .reg__field select:focus, .reg__field textarea:focus { outline: none; border-color: var(--u-link-on-dark); box-shadow: 0 0 0 3px rgba(41, 151, 255, 0.25); }
.reg__field [aria-invalid="true"], .reg__check input[aria-invalid="true"] { border-color: #ff6961; outline: 1px solid #ff6961; }
.reg__hint { margin-top: 4px; font-size: 13px; line-height: 1.45; color: var(--color-steel); }
.reg__group--agree { display: flex; flex-direction: column; gap: 14px; }
.reg__check { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.45; color: rgba(245, 245, 247, 0.9); cursor: pointer; }
.reg__check input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--color-purchase-blue); }
.reg__check a { color: var(--u-link-on-dark); }
.reg__pay { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.reg__pay .u-pill[disabled] { opacity: .6; cursor: wait; }
.reg__secure { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.45; color: var(--color-steel); max-width: 60ch; }
.reg__secure svg { flex: none; margin-top: 2px; }
.reg__status { min-height: 1.4em; font-size: 15px; color: rgba(245, 245, 247, 0.9); }
.reg__status a { color: var(--u-link-on-dark); }
.reg__done { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.reg__done-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 8px; }
@media (max-width: 833px) { .reg__grid { grid-template-columns: 1fr; } .reg__group { padding: 22px; } }

/* Legal pages */
.legal__wrap { max-width: 760px; }
.legal__draft { display: inline-block; margin-bottom: 24px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 106, 19, 0.16); color: #ffb48a; font-size: 13px; font-weight: 600; }
.legal__lang { margin-bottom: 16px; color: var(--color-steel); }
.legal__updated { margin: 12px 0 36px; color: var(--color-steel); font-size: 14px; }
.legal h2 { margin: 40px 0 12px; font: 600 24px/1.2 var(--u-display); }
.legal p, .legal li { font-size: 17px; line-height: 1.6; color: rgba(245, 245, 247, 0.86); }
.legal ul { list-style: disc; padding-inline-start: 22px; display: flex; flex-direction: column; gap: 10px; }
.legal a { color: var(--u-link-on-dark); }
.reg__group legend.sr-only { float: none; width: 1px; margin: 0; }
/* Phones: keep the language picker visible next to the STADIA mark (the other links scroll sideways) */
@media (max-width: 833px) {
  .u-gnav .u-gnav__mark { order: 0; }
  .u-gnav .lang-switch--ultra { order: 1; }
  .u-gnav > a:not(.u-gnav__mark) { order: 2; }
}


/* ---------- Asher's Harvest: "Who we reach in 2027" age chart (0–65 scale) ---------- */
.ages { margin-top: 72px; padding-bottom: 40px; color: var(--stadia-green-ink); }
.ages__title { font: 600 clamp(24px, 2.6vw, 34px)/1.15 var(--u-display); margin-bottom: 28px; }
.ages__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ages__row { display: grid; grid-template-columns: minmax(170px, 260px) 1fr; gap: 20px; align-items: center; }
.ages__label { display: flex; flex-direction: column; gap: 2px; }
.ages__label strong { font: 600 17px/1.25 var(--u-display); }
.ages__label span { font-size: 13px; line-height: 1.3; opacity: .78; }
.ages__track { position: relative; height: 34px; border-radius: 999px; background: rgba(0, 33, 14, 0.10); }
.ages__bar {
  position: absolute; top: 0; bottom: 0;
  left: calc(var(--from) / 65 * 100%); width: calc((var(--to) - var(--from)) / 65 * 100%);
  min-width: 56px; border-radius: 999px; background: var(--stadia-green-ink); color: var(--stadia-green);
  display: flex; align-items: center; justify-content: center;
  transform-origin: left center;
}
html[dir="rtl"] .ages__bar { left: auto; right: calc(var(--from) / 65 * 100%); transform-origin: right center; }
.ages__bar b { font: 700 13px/1 var(--u-text); white-space: nowrap; direction: ltr; }
.ages__row--school .ages__bar { background: #ffffff; color: var(--stadia-green-ink); }
.ages__row--family .ages__bar { background: rgba(0, 33, 14, 0.45); color: #ffffff; }
/* Bars grow in from their start age when the row is revealed */
.motion-ok .ages__row .ages__bar { transform: scaleX(0); transition: transform 1s var(--ease-dossier) .15s; }
.motion-ok .ages__row.is-revealed .ages__bar { transform: scaleX(1); }
.ages__axis { display: grid; grid-template-columns: minmax(170px, 260px) 1fr; column-gap: 20px; margin-top: 10px; }
.ages__axis > * { grid-column: 2; }
.ages__ticks { position: relative; height: 16px; font-size: 12px; opacity: .7; }
.ages__ticks span { position: absolute; left: calc(var(--at) / 65 * 100%); transform: translateX(-50%); }
html[dir="rtl"] .ages__ticks span { left: auto; right: calc(var(--at) / 65 * 100%); transform: translateX(50%); }
.ages__axis p { margin-top: 6px; font-size: 12px; font-weight: 600; opacity: .7; }
.ages__note { margin-top: 22px; font-size: 13px; line-height: 1.5; opacity: .8; max-width: 80ch; }
@media (max-width: 833px) {
  .ages { margin-top: 48px; padding-bottom: 0; }
  .ages__row { grid-template-columns: 1fr; gap: 8px; }
  .ages__axis { grid-template-columns: 1fr; }
  .ages__axis > * { grid-column: 1; }
}
