/* ============================================================================
   /galeri — "plasma / silicon glass" skin over the interactive album timeline.
   The campus video + overlay come from the shared V3 layer (partials/v3/video-background,
   site-v3-glass.css); this file only skins the album timeline. The timeline mechanics (3D stage, inline transform/opacity set by
   gallery-motion-timeline.js) are unchanged; this file only styles them.
   Namespaced .gmt-* / .gx-*; scoped to body.gallery-motion-page.
   Progressive enhancement: without .is-enhanced the stage is a scrollable strip
   and the catalogue below is the representation.
   ========================================================================== */

body.v3.site-page.gallery-motion-page {
  --gx-bg: #05070d;
  --gx-ink: #f2f6fb;
  --gx-dim: #aab6c8;
  --gx-cyan: #5ad7ff;
  --gx-blue: #4c8dff;
  --gx-violet: #9b7bff;
  --gx-magenta: #ff6ad5;
  --gx-green: #4df0b0;
  --gx-glass: rgba(255, 255, 255, 0.06);
  --gx-glass-strong: rgba(255, 255, 255, 0.1);
  --gx-edge: rgba(255, 255, 255, 0.16);
  background: var(--gx-bg);
  color: var(--gx-ink);
}

/* ---- page ------------------------------------------------------- */
body.gallery-motion-page .gx-page {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
}
/* ---- breadcrumb (shared component, re-skinned for this page) ------ */
body.gallery-motion-page .site-page-orientation { background: transparent; border-bottom: 0; }
body.gallery-motion-page .site-page-orientation__inner { max-width: 1180px; padding-block: 0.4rem 1.2rem; }
body.gallery-motion-page .site-breadcrumb__item,
body.gallery-motion-page .site-breadcrumb__separator { color: var(--gx-dim); }
body.gallery-motion-page .site-breadcrumb__link { color: var(--gx-cyan); font-weight: 600; }
body.gallery-motion-page .site-breadcrumb__link:hover { color: #fff; }
body.gallery-motion-page .site-breadcrumb__item--current { color: var(--gx-ink); }

/* ---- hero ----------------------------------------------------- */
body.gallery-motion-page .gx-hero {
  width: min(1280px, calc(100% - 2 * clamp(1rem, 4vw, 2rem)));
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(0.8rem, 2vw, 1.4rem);
}
body.gallery-motion-page .gx-hero__panel {
  width: 100%;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--gx-edge);
  border-radius: clamp(24px, 4vw, 40px);
  background:
    radial-gradient(90% 130% at 0% 0%, rgba(90, 215, 255, 0.12), transparent 58%),
    linear-gradient(150deg, rgba(12, 20, 38, 0.78), rgba(8, 12, 25, 0.58));
  -webkit-backdrop-filter: blur(22px) saturate(135%);
  backdrop-filter: blur(22px) saturate(135%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 32px 90px -48px rgba(0, 0, 0, 0.92);
}
body.gallery-motion-page .gx-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.4rem 0.95rem;
  border: 1px solid var(--gx-edge);
  border-radius: 999px;
  background: var(--gx-glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gx-cyan);
}
body.gallery-motion-page .gx-hero__eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gx-green);
  box-shadow: 0 0 12px var(--gx-green);
}
body.gallery-motion-page .gx-hero__title {
  margin: 1.1rem 0 0;
  max-width: 16ch;
  font-size: clamp(2.3rem, 7vw, 4.8rem);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.035em;
  background: linear-gradient(100deg, #ffffff 10%, #cfe6ff 45%, #c9b8ff 80%, #ffb9ec 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
body.gallery-motion-page .gx-hero__text {
  margin: 1.1rem 0 0;
  max-width: 52ch;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.65;
  color: var(--gx-dim);
}
body.gallery-motion-page .gx-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}
body.gallery-motion-page .gx-hero__stats li {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--gx-edge);
  border-radius: 999px;
  background: var(--gx-glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
  color: var(--gx-dim);
}
body.gallery-motion-page .gx-hero__stats strong { color: var(--gx-ink); font-weight: 700; font-size: 1.05rem; margin-right: 0.15rem; }

/* ---- timeline shell ----------------------------------------------- */
body.gallery-motion-page .gallery-motion {
  margin: clamp(0.4rem, 2vw, 1rem) 0 0;
}
body.gallery-motion-page .gallery-motion a:focus-visible,
body.gallery-motion-page .gallery-motion button:focus-visible {
  outline: 3px solid var(--gx-cyan);
  outline-offset: 3px;
  border-radius: 10px;
}
body.gallery-motion-page .gmt-eyebrow {
  margin: 0 auto clamp(0.75rem, 2vw, 1.1rem);
  max-width: 1180px;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gx-dim);
}

/* the glass stage */
body.gallery-motion-page .gmt-viewport {
  position: relative;
  width: min(1180px, calc(100% - 2 * clamp(1rem, 4vw, 2rem)));
  margin-inline: auto;
  height: clamp(380px, 56vh, 580px);
  perspective: 1600px;
  perspective-origin: 50% 46%;
  overflow: hidden;
  border: 1px solid var(--gx-edge);
  border-radius: clamp(24px, 4vw, 40px);
  background:
    radial-gradient(70% 55% at 50% 52%, rgba(90, 215, 255, 0.14), rgba(90, 215, 255, 0) 70%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025) 55%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 0 80px rgba(255, 255, 255, 0.02),
    0 40px 120px -40px rgba(0, 0, 0, 0.85);
  touch-action: pan-y;
}
body.gallery-motion-page .gmt-viewport::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 90px 10px rgba(5, 7, 13, 0.55);
}

/* editorial axis + ticks */
body.gallery-motion-page .gmt-axis {
  position: absolute;
  left: 9%;
  right: 9%;
  top: 25%;
  height: 1px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
body.gallery-motion-page .gmt-axis__line {
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.28) 14%, rgba(255, 255, 255, 0.28) 86%, rgba(255, 255, 255, 0));
}
body.gallery-motion-page .gmt-axis__tick {
  position: relative;
  width: 2px;
  height: 9px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  transition: background-color 0.25s ease, height 0.25s ease, box-shadow 0.25s ease;
}
body.gallery-motion-page .gmt-axis__tick.is-active {
  height: 20px;
  background: linear-gradient(180deg, var(--gx-cyan), var(--gx-violet));
  box-shadow: 0 0 14px rgba(90, 215, 255, 0.8);
}
body.gallery-motion-page .gmt-date {
  position: absolute;
  left: 0;
  right: 0;
  top: 7%;
  margin: 0;
  text-align: center;
  font-size: clamp(1.5rem, 4.4vw, 2.7rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 0 40px rgba(90, 215, 255, 0.45);
}

/* ---- stage + album objects ---------------------------------------- */
body.gallery-motion-page .gmt-stage {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  cursor: grab;
}
body.gallery-motion-page .gmt-stage.is-dragging { cursor: grabbing; }

body.gallery-motion-page .gmt-album {
  position: absolute;
  left: 50%;
  top: 55%;
  width: clamp(200px, 23vw, 290px);
  aspect-ratio: 3 / 3.75;
  transform: translate(-50%, -50%);
  transform-style: preserve-3d;
  text-decoration: none;
  color: var(--gx-dim);
  will-change: transform, opacity;
}
/* glass / plastic edge: a bright rim, an inner highlight, soft coloured glow behind */
body.gallery-motion-page .gmt-album__frame {
  position: relative;
  display: block;
  width: 100%;
  height: 83%;
  padding: 7px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.07) 48%, rgba(255, 255, 255, 0.18));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -10px 24px rgba(0, 0, 0, 0.22),
    0 28px 60px -22px rgba(0, 0, 0, 0.8);
  transition: filter 0.35s ease, box-shadow 0.35s ease;
}
body.gallery-motion-page .gmt-album__frame::before {
  content: "";
  position: absolute;
  inset: 12% -8% -8%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(76, 141, 255, 0.55), rgba(155, 123, 255, 0.25) 55%, rgba(155, 123, 255, 0) 80%);
  filter: blur(26px);
  opacity: 0;
  transition: opacity 0.35s ease;
}
body.gallery-motion-page .gmt-album__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: none;
  border-radius: 17px;
  background: #101826;
}
body.gallery-motion-page .gmt-album__img--placeholder { background: linear-gradient(135deg, #18233a, #0b1220); }
body.gallery-motion-page .gmt-album__tag {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 0.7rem auto 0;
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gx-dim);
  text-align: center;
}
/* side albums: calmer, slightly soft */
body.gallery-motion-page .gmt-album:not(.is-active) .gmt-album__frame { filter: blur(1.4px) brightness(0.72) saturate(0.85); }
body.gallery-motion-page .gmt-album.is-active { color: #fff; }
body.gallery-motion-page .gmt-album.is-active .gmt-album__tag { color: #fff; border-color: rgba(90, 215, 255, 0.5); background: rgba(90, 215, 255, 0.12); }
body.gallery-motion-page .gmt-album.is-active .gmt-album__frame {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 -10px 24px rgba(0, 0, 0, 0.2),
    0 44px 90px -26px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(90, 215, 255, 0.3);
}
body.gallery-motion-page .gmt-album.is-active .gmt-album__frame::before { opacity: 1; }

/* ---- nav arrows: frosted discs --------------------------------- */
body.gallery-motion-page .gmt-nav {
  position: absolute;
  top: 55%;
  translate: 0 -50%;
  z-index: 200;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--gx-edge);
  border-radius: 50%;
  background: var(--gx-glass-strong);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
body.gallery-motion-page .gmt-nav svg { width: 22px; height: 22px; }
body.gallery-motion-page .gmt-nav:hover { background: rgba(255, 255, 255, 0.18); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 28px rgba(90, 215, 255, 0.35); }
body.gallery-motion-page .gmt-nav:active { transform: scale(0.94); }
body.gallery-motion-page .gmt-nav:disabled { opacity: 0.3; cursor: default; box-shadow: none; }
body.gallery-motion-page .gmt-nav--prev { left: clamp(0.6rem, 3vw, 2rem); }
body.gallery-motion-page .gmt-nav--next { right: clamp(0.6rem, 3vw, 2rem); }

/* ---- readout: the selected album's details, in a glass panel ---- */
body.gallery-motion-page .gmt-readout {
  position: relative;
  max-width: 720px;
  margin: clamp(1.2rem, 3vw, 1.8rem) auto 0;
  padding: clamp(1.4rem, 3.5vw, 2.1rem) clamp(1.25rem, 5vw, 2.6rem);
  width: calc(100% - 2 * clamp(1rem, 4vw, 2rem));
  border: 1px solid var(--gx-edge);
  border-radius: clamp(22px, 3.5vw, 32px);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 30px 80px -40px rgba(0, 0, 0, 0.8);
  text-align: center;
}
body.gallery-motion-page .gmt-readout__kicker {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gx-cyan);
}
body.gallery-motion-page .gmt-readout__title {
  margin: 0.6rem 0 0;
  font-size: clamp(1.45rem, 3.6vw, 2.3rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #fff;
  overflow-wrap: anywhere;
}
body.gallery-motion-page .gmt-readout__count {
  margin: 0.7rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gx-dim);
}
body.gallery-motion-page .gmt-readout__sep { color: #6c7a90; margin: 0 0.4rem; }
body.gallery-motion-page .gmt-readout__pos { font-variant-numeric: tabular-nums; color: var(--gx-ink); }
body.gallery-motion-page .gmt-readout__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  margin-top: 1.2rem;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  background: linear-gradient(100deg, #1f6fe0, #6a4de6 70%, #a645d8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 34px -10px rgba(106, 77, 230, 0.8);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
body.gallery-motion-page .gmt-readout__cta:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 16px 44px -10px rgba(106, 77, 230, 0.95); }
body.gallery-motion-page .gmt-readout__note { margin: 0.8rem 0 0; font-size: 0.8rem; color: #8f9db2; }

body.gallery-motion-page .gmt-mobile-nav {
  display: none;
  gap: 0.75rem;
  justify-content: center;
  margin: 1rem auto 0;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}
body.gallery-motion-page .gmt-mobile-btn {
  flex: 1;
  max-width: 12rem;
  min-height: 48px;
  border: 1px solid var(--gx-edge);
  border-radius: 999px;
  background: var(--gx-glass-strong);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
body.gallery-motion-page .gmt-mobile-btn:active { background: rgba(255, 255, 255, 0.2); }
body.gallery-motion-page .gmt-mobile-btn:disabled { opacity: 0.35; cursor: default; }

body.gallery-motion-page .gmt-hint {
  margin: 1rem auto 0;
  max-width: 640px;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
  text-align: center;
  font-size: 0.82rem;
  color: #8f9db2;
  transition: opacity 0.4s ease;
}
body.gallery-motion-page .gmt-hint.is-hidden { opacity: 0; }

/* ---- catalogue: glass index (also the no-JS representation) ----- */
body.gallery-motion-page .gmt-catalogue {
  max-width: 820px;
  width: calc(100% - 2 * clamp(1rem, 4vw, 2rem));
  margin: clamp(2rem, 5vw, 3.2rem) auto 0;
}
body.gallery-motion-page .gmt-catalogue__surface {
  padding: clamp(0.85rem, 2.5vw, 1.35rem);
  border: 1px solid var(--gx-edge);
  border-radius: clamp(24px, 3.5vw, 32px);
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(90, 215, 255, 0.1), transparent 62%),
    linear-gradient(155deg, rgba(9, 16, 31, 0.82), rgba(6, 10, 22, 0.68));
  -webkit-backdrop-filter: blur(22px) saturate(135%);
  backdrop-filter: blur(22px) saturate(135%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 30px 80px -44px rgba(0, 0, 0, 0.9);
}
body.gallery-motion-page .gmt-catalogue__label {
  margin: 0 0 0.8rem 0.3rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gx-cyan);
}
body.gallery-motion-page .gmt-catalogue__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
body.gallery-motion-page .gmt-catalogue__item + .gmt-catalogue__item { margin-top: 0.45rem; }
body.gallery-motion-page .gmt-catalogue__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 0.4rem 1rem;
  min-height: 48px;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  color: #f7faff;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
body.gallery-motion-page .gmt-catalogue__row:hover,
body.gallery-motion-page .gmt-catalogue__row:focus-visible {
  border-color: rgba(90, 215, 255, 0.38);
  background: rgba(255, 255, 255, 0.12);
}
body.gallery-motion-page .gmt-catalogue__row[aria-current="true"] {
  border-color: rgba(90, 215, 255, 0.34);
  background: linear-gradient(100deg, rgba(76, 141, 255, 0.3), rgba(155, 123, 255, 0.22));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
body.gallery-motion-page .gmt-catalogue__num { font-size: 0.78rem; font-weight: 700; color: var(--gx-cyan); font-variant-numeric: tabular-nums; }
body.gallery-motion-page .gmt-catalogue__title { font-size: 1rem; font-weight: 650; color: #fff; overflow-wrap: anywhere; }
body.gallery-motion-page .gmt-catalogue__year { font-size: 0.78rem; color: #c7d3e4; margin-left: 0.5rem; }
body.gallery-motion-page .gmt-catalogue__count { font-size: 0.8rem; color: #c7d3e4; white-space: nowrap; }

body.gallery-motion-page .visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}

/* ---- no-JS / no-enhancement fallback for the stage ---------------- */
body.gallery-motion-page .gallery-motion:not(.is-enhanced) .gmt-viewport {
  height: auto;
  perspective: none;
  padding: clamp(1.25rem, 4vw, 2rem);
}
body.gallery-motion-page .gallery-motion:not(.is-enhanced) .gmt-axis,
body.gallery-motion-page .gallery-motion:not(.is-enhanced) .gmt-date,
body.gallery-motion-page .gallery-motion:not(.is-enhanced) .gmt-nav,
body.gallery-motion-page .gallery-motion:not(.is-enhanced) .gmt-mobile-nav,
body.gallery-motion-page .gallery-motion:not(.is-enhanced) .gmt-hint,
body.gallery-motion-page .gallery-motion:not(.is-enhanced) .gmt-readout {
  display: none;
}
body.gallery-motion-page .gallery-motion:not(.is-enhanced) .gmt-stage {
  position: static;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}
body.gallery-motion-page .gallery-motion:not(.is-enhanced) .gmt-album {
  position: static;
  transform: none;
  flex: 0 0 auto;
  width: min(64vw, 240px);
  opacity: 1 !important;
}
body.gallery-motion-page .gallery-motion:not(.is-enhanced) .gmt-album .gmt-album__frame { filter: none; }

/* ---- responsive ----------------------------------------------- */
@media (max-width: 720px) {
  body.gallery-motion-page .gx-hero {
    width: calc(100% - 2rem);
    padding-top: 1.5rem;
  }
  body.gallery-motion-page .gx-hero__panel {
    padding: 1.35rem;
    border-radius: 24px;
  }
  /* phones: no big backdrop filters on the 3D stage */
  body.gallery-motion-page .gmt-viewport {
    height: clamp(360px, 92vw, 470px);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background:
      radial-gradient(75% 55% at 50% 55%, rgba(90, 215, 255, 0.16), rgba(90, 215, 255, 0) 72%),
      rgba(255, 255, 255, 0.05);
  }
  body.gallery-motion-page .gmt-album { width: clamp(176px, 54vw, 236px); }
  body.gallery-motion-page .gmt-nav { display: none; }
  body.gallery-motion-page .gmt-mobile-nav { display: flex; }
  body.gallery-motion-page .gmt-catalogue__surface { padding: 0.75rem; }
  body.gallery-motion-page .gmt-catalogue__row { grid-template-columns: auto 1fr; }
  body.gallery-motion-page .gmt-catalogue__count { grid-column: 2; }
  body.gallery-motion-page .gx-hero__title { max-width: none; }
}
@media (min-width: 721px) and (max-width: 1024px) {
  body.gallery-motion-page .gmt-viewport { height: clamp(360px, 50vw, 470px); }
}

/* ---- reduced motion ------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  body.gallery-motion-page .gallery-motion * { transition: none !important; }
  body.gallery-motion-page .gmt-album { will-change: auto; }
  body.gallery-motion-page .gmt-readout__cta:hover { transform: none; }
}
