/* ============================================================
   IAMPAQ Gallery System
   ------------------------------------------------------------
   A separate stylesheet, loaded only on gallery and builder pages.
   app.css is not modified.

   Everything here is namespaced `gx-` because app.css already uses a
   `.gallery` class for the homepage section — the two must not collide.

   Colour and type come from the tokens app.css already defines
   (--ink, --paper, --gold), with literal fallbacks so this file still
   renders correctly if it is ever loaded on its own.
   ============================================================ */

.gx {
  --gx-ink: var(--ink, #0b0c0d);
  --gx-ink-soft: var(--ink-soft, #111315);
  --gx-paper: var(--paper, #f2efe8);
  --gx-accent: var(--gold, #c59b5d);
  --gx-accent-dark: var(--gold-dark, #846a43);
  --gx-muted: var(--muted, #aaa59b);
  --gx-line: var(--line-dark, #ffffff18);
  --gx-gutter: clamp(14px, 1.6vw, 26px);
  --gx-pad: 7vw;
}

/* ---------- Page head ---------- */

.gx-hero {
  padding: clamp(140px, 18vh, 220px) var(--gx-pad) clamp(48px, 7vh, 90px);
  background:
    radial-gradient(circle at 78% 30%, #6b4b2733 0, transparent 26%),
    linear-gradient(140deg, #0d0f10, #090a0b);
  border-bottom: 1px solid var(--gx-line);
}

.gx-eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gx-accent);
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 26px;
}

.gx-eyebrow i {
  display: block;
  width: 26px;
  height: 1px;
  background: var(--gx-accent);
}

.gx-hero h1 {
  font: 400 clamp(52px, 8vw, 128px) / 0.88 Georgia, "Times New Roman", serif;
  letter-spacing: -0.06em;
  margin: 0 0 28px;
  max-width: 15ch;
}

.gx-hero h1 em {
  color: var(--gx-accent);
  font-style: italic;
}

.gx-lede {
  max-width: 62ch;
  color: #b8b4ac;
  line-height: 1.8;
  font-size: clamp(14px, 1.05vw, 16px);
  margin: 0;
}

.gx-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 34px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #85817a;
}

.gx-meta-row b {
  color: var(--gx-paper);
  font-weight: 400;
}

/* ---------- Filters ---------- */

.gx-filters {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 8px;
  align-items: center;
  padding: 18px var(--gx-pad);
  /* Opaque: this bar is sticky, and a blurred backdrop on it re-rasterised
     the images scrolling underneath on every frame. */
  background: var(--gx-ink);
  border-bottom: 1px solid var(--gx-line);
}

.gx-chip {
  appearance: none;
  background: transparent;
  border: 1px solid #ffffff26;
  border-radius: 100px;
  color: #d2cec5;
  padding: 9px 18px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.gx-chip:hover { color: #fff; border-color: #ffffff55; }

.gx-chip[aria-pressed="true"],
.gx-chip.is-active {
  background: var(--gx-accent);
  border-color: var(--gx-accent);
  color: #15110c;
}

.gx-filter-spacer { flex: 1 1 auto; }

.gx-sort {
  background: transparent;
  border: 1px solid #ffffff26;
  border-radius: 100px;
  color: #d2cec5;
  padding: 9px 16px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gx-sort option { background: var(--gx-ink-soft); color: var(--gx-paper); }

/* ---------- Shared figure ---------- */

.gx-body { padding: clamp(40px, 6vh, 82px) var(--gx-pad) clamp(70px, 12vh, 140px); }

.gx-figure {
  position: relative;
  display: block;
  margin: 0;
  overflow: hidden;
  background: #16181a;
  cursor: zoom-in;
  border: 1px solid transparent;
  transition: border-color 0.35s ease;
}

.gx-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* The slight scale keeps the hover motion from revealing an edge. */
  transform: scale(1.001);
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
  filter: saturate(0.94);
}

.gx-figure:hover img,
.gx-figure:focus-visible img {
  transform: scale(1.055);
  filter: saturate(1.05);
}

.gx-figure:hover { border-color: #ffffff1f; }

.gx-figure:focus-visible {
  outline: 2px solid var(--gx-accent);
  outline-offset: 3px;
}

.gx-figcap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 46px 20px 18px;
  background: linear-gradient(to top, #000000d9 8%, transparent);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.gx-figure:hover .gx-figcap,
.gx-figure:focus-visible .gx-figcap { opacity: 1; transform: none; }

.gx-figcap strong {
  display: block;
  font: 400 17px/1.25 Georgia, serif;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.gx-figcap span {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gx-accent);
}

/* ---------- Layout: masonry (default for modeling) ---------- */

.gx-masonry {
  columns: 3;
  column-gap: var(--gx-gutter);
}

.gx-masonry .gx-figure {
  break-inside: avoid;
  margin-bottom: var(--gx-gutter);
  /* Column flow needs inline-block to avoid split figures in some engines. */
  display: inline-block;
  width: 100%;
}

.gx-masonry .gx-figure img { height: auto; }

/* ---------- Layout: editorial ---------- */

.gx-editorial {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--gx-gutter);
  grid-auto-flow: dense;
}

.gx-editorial .gx-figure { grid-column: span 2; aspect-ratio: 3 / 4; }
.gx-editorial .gx-figure[data-orientation="landscape"] { grid-column: span 4; aspect-ratio: 16 / 10; }
.gx-editorial .gx-figure[data-orientation="square"] { grid-column: span 2; aspect-ratio: 1 / 1; }
/* Every fifth frame runs wide, which is what gives the page its rhythm. */
.gx-editorial .gx-figure:nth-child(5n + 1) { grid-column: span 3; aspect-ratio: 4 / 5; }
.gx-editorial .gx-figure:nth-child(7n + 3) { grid-column: span 3; aspect-ratio: 3 / 2; }

/* ---------- Layout: clean grid ---------- */

.gx-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--gx-gutter);
}

.gx-grid .gx-figure { aspect-ratio: 4 / 5; }

/* ---------- Layout: full width ---------- */

.gx-fullwidth {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 5vh, 70px);
}

.gx-fullwidth .gx-figure { aspect-ratio: 21 / 9; cursor: zoom-in; }
.gx-fullwidth .gx-figcap { opacity: 1; transform: none; padding: 60px 32px 26px; }

/* ---------- Layout: lookbook ---------- */

.gx-lookbook {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 56px);
  align-items: start;
}

.gx-lookbook .gx-figure { aspect-ratio: 3 / 4; }
/* Alternating offset gives the spread its editorial feel. */
.gx-lookbook .gx-figure:nth-child(even) { margin-top: clamp(30px, 7vw, 110px); }
.gx-lookbook .gx-figure:nth-child(4n + 1) { aspect-ratio: 4 / 5; }

/* ---------- Layout: slideshow ---------- */

.gx-slideshow {
  position: relative;
  display: flex;
  gap: var(--gx-gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding-bottom: 18px;
}

.gx-slideshow .gx-figure {
  flex: 0 0 min(78vw, 900px);
  aspect-ratio: 3 / 2;
  scroll-snap-align: center;
}

.gx-slideshow-hint {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6f6c66;
}

/* ---------- Gallery index cards ---------- */

.gx-index {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: clamp(20px, 2.6vw, 44px);
}

.gx-card {
  display: block;
  position: relative;
  background: var(--gx-ink-soft);
  border: 1px solid var(--gx-line);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gx-card:hover { border-color: #ffffff33; transform: translateY(-4px); }

.gx-card-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #16181a; }

.gx-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gx-card:hover .gx-card-media img { transform: scale(1.06); }

.gx-card-empty {
  display: grid;
  place-items: center;
  height: 100%;
  color: #4a4843;
  font: 400 40px Georgia, serif;
}

.gx-card-body { padding: 24px 24px 28px; }

.gx-card-body h2,
.gx-card-body h3 {
  font: 400 clamp(22px, 2vw, 30px) / 1.15 Georgia, serif;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}

.gx-card-body p {
  margin: 0;
  color: #93908a;
  font-size: 13px;
  line-height: 1.7;
}

.gx-card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gx-accent);
}

.gx-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: var(--gx-accent);
  color: #15110c;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 100px;
}

.gx-empty {
  padding: 90px 0;
  text-align: center;
  color: #7d7a74;
}

.gx-empty h2 { font: 400 32px Georgia, serif; color: var(--gx-paper); margin: 0 0 10px; }

/* ---------- Load more / pagination ---------- */

.gx-more { display: flex; justify-content: center; margin-top: clamp(40px, 6vh, 76px); }

.gx-more a,
.gx-more button {
  appearance: none;
  cursor: pointer;
  background: transparent;
  border: 1px solid #ffffff38;
  border-radius: 100px;
  color: var(--gx-paper);
  padding: 15px 34px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: 0.25s;
}

.gx-more a:hover,
.gx-more button:hover { background: var(--gx-paper); color: var(--gx-ink); }

/* ---------- Credits panel ---------- */

.gx-credits {
  margin-top: clamp(50px, 8vh, 100px);
  padding-top: 34px;
  border-top: 1px solid var(--gx-line);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 26px 40px;
}

.gx-credits div span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6f6c66;
  margin-bottom: 7px;
}

.gx-credits div b { font: 400 16px Georgia, serif; color: var(--gx-paper); }

/* ---------- Lightbox ---------- */

.gx-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  /* The heaviest one in the project: a full-viewport 18px blur, running while
     a large photograph faded in over it. A near-opaque backdrop reads the same
     and costs one paint. */
  background: #050606f2;
  opacity: 0;
  transition: opacity 0.32s ease;
}

.gx-lightbox.is-open { display: block; }
.gx-lightbox.is-visible { opacity: 1; }

.gx-lb-stage {
  position: absolute;
  inset: 84px 0 132px;
  display: grid;
  place-items: center;
  padding: 0 clamp(16px, 7vw, 120px);
}

.gx-lb-figure {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  display: grid;
  place-items: center;
}

.gx-lb-figure img,
.gx-lb-figure video {
  max-width: 100%;
  max-height: calc(100vh - 240px);
  object-fit: contain;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.36s ease, transform 0.36s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 18px 44px #000000a8;
}

.gx-lb-figure img.is-loaded,
.gx-lb-figure video.is-loaded { opacity: 1; transform: none; }

.gx-lb-bar {
  position: absolute;
  inset: 0 0 auto;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 5vw, 44px);
  gap: 20px;
}

.gx-lb-title {
  min-width: 0;
  font: 400 17px/1.3 Georgia, serif;
  color: var(--gx-paper);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gx-lb-count {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gx-accent);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.gx-lb-btn {
  appearance: none;
  background: #ffffff0f;
  border: 1px solid #ffffff2b;
  color: var(--gx-paper);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 19px;
  line-height: 1;
  transition: 0.22s;
}

.gx-lb-btn:hover { background: var(--gx-paper); color: var(--gx-ink); border-color: var(--gx-paper); }
.gx-lb-btn:focus-visible { outline: 2px solid var(--gx-accent); outline-offset: 3px; }
.gx-lb-btn[disabled] { opacity: 0.3; cursor: default; }

.gx-lb-prev,
.gx-lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 54px;
  height: 54px;
}

.gx-lb-prev { left: clamp(8px, 2.4vw, 34px); }
.gx-lb-next { right: clamp(8px, 2.4vw, 34px); }

.gx-lb-foot {
  position: absolute;
  inset: auto 0 0;
  padding: 0 clamp(16px, 5vw, 44px) 20px;
}

.gx-lb-caption {
  max-width: 70ch;
  margin: 0 auto 14px;
  text-align: center;
  color: #b8b4ac;
  font-size: 13px;
  line-height: 1.7;
}

.gx-lb-caption em { color: var(--gx-accent); font-style: normal; }

.gx-lb-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  justify-content: flex-start;
}

.gx-lb-thumbs::-webkit-scrollbar { height: 4px; }
.gx-lb-thumbs::-webkit-scrollbar-thumb { background: #ffffff2b; border-radius: 4px; }

.gx-lb-thumb {
  appearance: none;
  flex: 0 0 auto;
  width: 62px;
  height: 46px;
  padding: 0;
  border: 1px solid transparent;
  background: #16181a;
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 0.2s, border-color 0.2s;
}

.gx-lb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gx-lb-thumb:hover { opacity: 0.85; }
.gx-lb-thumb[aria-current="true"] { opacity: 1; border-color: var(--gx-accent); }

.gx-lb-loading {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 2px solid #ffffff2e;
  border-top-color: var(--gx-accent);
  border-radius: 50%;
  animation: gx-spin 0.75s linear infinite;
}

@keyframes gx-spin { to { transform: rotate(360deg); } }

body.gx-lb-open { overflow: hidden; }

/* ---------- Builder pages ---------- */

.gx-page { padding: clamp(140px, 18vh, 210px) var(--gx-pad) clamp(80px, 12vh, 150px); }
.gx-page-wrap { max-width: 860px; margin: 0 auto; }
.gx-page.is-wide .gx-page-wrap { max-width: 1180px; }
.gx-page.is-editorial .gx-page-wrap { max-width: 720px; }

.gx-block { margin: 0 0 clamp(30px, 5vh, 64px); }

.gx-block h2 { font: 400 clamp(34px, 4.2vw, 62px)/1.05 Georgia, serif; letter-spacing: -0.04em; margin: 0 0 14px; }
.gx-block h3 { font: 400 clamp(24px, 2.6vw, 38px)/1.15 Georgia, serif; letter-spacing: -0.03em; margin: 0 0 12px; }
.gx-block.is-center { text-align: center; }

.gx-rich { color: #b8b4ac; font-size: 16px; line-height: 1.85; }
.gx-rich p { margin: 0 0 1.1em; }
.gx-rich a { color: var(--gx-accent); text-decoration: underline; text-underline-offset: 3px; }
.gx-rich ul, .gx-rich ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.gx-rich li { margin-bottom: 0.5em; }
.gx-rich blockquote { border-left: 2px solid var(--gx-accent); margin: 1.4em 0; padding-left: 1.2em; color: #d2cec5; }
.gx-rich h2, .gx-rich h3, .gx-rich h4 { color: var(--gx-paper); font-family: Georgia, serif; font-weight: 400; }

.gx-block-image figure { margin: 0; }
.gx-block-image img { width: 100%; height: auto; display: block; }
.gx-block-image figcaption { margin-top: 12px; font-size: 12px; color: #85817a; letter-spacing: 0.04em; }
.gx-block-image.is-wide { margin-left: calc(var(--gx-pad) / -2); margin-right: calc(var(--gx-pad) / -2); }
.gx-block-image.is-full { margin-left: calc(var(--gx-pad) * -1); margin-right: calc(var(--gx-pad) * -1); }

.gx-quote {
  border-left: 2px solid var(--gx-accent);
  padding-left: clamp(18px, 3vw, 34px);
  font: 400 clamp(21px, 2.3vw, 32px)/1.45 Georgia, serif;
  color: var(--gx-paper);
}

.gx-quote cite {
  display: block;
  margin-top: 16px;
  font: 400 11px/1 Arial, sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gx-accent);
  font-style: normal;
}

.gx-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--gx-line); }
.gx-stats div { background: var(--gx-ink); padding: 26px 22px; }
.gx-stats b { display: block; font: 400 30px Georgia, serif; color: var(--gx-accent); margin-bottom: 7px; }
.gx-stats span { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #85817a; }

.gx-cta { border: 1px solid var(--gx-line); padding: clamp(28px, 4vw, 52px); text-align: center; }
.gx-cta p { margin: 0 0 22px; color: #b8b4ac; font-size: 16px; line-height: 1.8; }

.gx-btn {
  display: inline-block;
  border-radius: 100px;
  padding: 15px 32px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: 0.25s;
  border: 1px solid var(--gx-paper);
  background: var(--gx-paper);
  color: var(--gx-ink);
}

.gx-btn.is-secondary { background: transparent; color: var(--gx-paper); border-color: #ffffff38; }
.gx-btn:hover { background: var(--gx-accent); border-color: var(--gx-accent); color: #15110c; }

.gx-media-grid { display: grid; gap: var(--gx-gutter); }
.gx-media-grid.is-2 { grid-template-columns: repeat(2, 1fr); }
.gx-media-grid.is-3 { grid-template-columns: repeat(3, 1fr); }
.gx-media-grid.is-4 { grid-template-columns: repeat(4, 1fr); }

.gx-embed { position: relative; aspect-ratio: 16 / 9; border: 1px solid var(--gx-line); }
.gx-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.gx-divider { height: 1px; background: var(--gx-line); border: 0; margin: clamp(30px, 5vh, 60px) 0; }
.gx-spacer.is-small { height: 24px; }
.gx-spacer.is-medium { height: 56px; }
.gx-spacer.is-large { height: 104px; }

/* ---------- Attached gallery strip (projects / businesses / about) ---------- */

.gx-attached { margin-top: clamp(36px, 6vh, 70px); }

.gx-attached h3 {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gx-accent);
  margin: 0 0 20px;
  font-weight: 400;
}

.gx-attached-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .gx-masonry { columns: 2; }
  .gx-editorial { grid-template-columns: repeat(4, 1fr); }
  .gx-editorial .gx-figure:nth-child(5n + 1) { grid-column: span 2; }
  .gx-editorial .gx-figure:nth-child(7n + 3) { grid-column: span 2; }
  .gx-media-grid.is-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .gx { --gx-pad: 6vw; }

  .gx-masonry { columns: 1; }

  .gx-editorial { grid-template-columns: repeat(2, 1fr); }
  .gx-editorial .gx-figure,
  .gx-editorial .gx-figure[data-orientation="landscape"],
  .gx-editorial .gx-figure[data-orientation="square"],
  .gx-editorial .gx-figure:nth-child(5n + 1),
  .gx-editorial .gx-figure:nth-child(7n + 3) { grid-column: span 2; aspect-ratio: 3 / 4; }

  .gx-lookbook { grid-template-columns: 1fr; }
  .gx-lookbook .gx-figure:nth-child(even) { margin-top: 0; }

  .gx-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .gx-media-grid.is-2, .gx-media-grid.is-3, .gx-media-grid.is-4 { grid-template-columns: 1fr; }
  .gx-fullwidth .gx-figure { aspect-ratio: 4 / 3; }
  .gx-slideshow .gx-figure { flex-basis: 86vw; }

  /* Captions are always visible on touch, where there is no hover. */
  .gx-figcap { opacity: 1; transform: none; padding: 34px 14px 12px; }
  .gx-figcap strong { font-size: 14px; }

  .gx-block-image.is-wide,
  .gx-block-image.is-full { margin-left: 0; margin-right: 0; }

  .gx-lb-stage { inset: 68px 0 118px; padding: 0 8px; }
  .gx-lb-figure img, .gx-lb-figure video { max-height: calc(100vh - 200px); }
  .gx-lb-bar { height: 68px; }
  .gx-lb-title { font-size: 14px; }
  .gx-lb-prev, .gx-lb-next { width: 44px; height: 44px; }
  .gx-lb-thumbs { justify-content: flex-start; }
  .gx-lb-thumb { width: 48px; height: 36px; }
}

@media (hover: none) {
  /* Without a pointer there is no hover state to reveal the caption. */
  .gx-figcap { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .gx-figure img,
  .gx-card,
  .gx-card-media img,
  .gx-lb-figure img,
  .gx-lb-figure video,
  .gx-figcap {
    transition: none !important;
    transform: none !important;
  }
  .gx-lb-loading { animation: none; }
}

/* ---------------------------------------------------------------
   Scrollbars
   Matching the public site rather than the operating system.
   --------------------------------------------------------------- */
.gx-shell,
.gx-lb-body,
.gx-lb-meta {
  scrollbar-width: thin;
  scrollbar-color: #4a453d var(--gx-ink);
}

.gx-shell::-webkit-scrollbar,
.gx-lb-body::-webkit-scrollbar,
.gx-lb-meta::-webkit-scrollbar { width: 10px; height: 10px; }

.gx-shell::-webkit-scrollbar-track,
.gx-lb-body::-webkit-scrollbar-track,
.gx-lb-meta::-webkit-scrollbar-track { background: var(--gx-ink); }

.gx-shell::-webkit-scrollbar-thumb,
.gx-lb-body::-webkit-scrollbar-thumb,
.gx-lb-meta::-webkit-scrollbar-thumb {
  background: #4a453d;
  border-radius: 999px;
  border: 2px solid var(--gx-ink);
}

.gx-shell::-webkit-scrollbar-thumb:hover,
.gx-lb-body::-webkit-scrollbar-thumb:hover,
.gx-lb-meta::-webkit-scrollbar-thumb:hover { background: var(--gx-accent, #c59b5d); }
