/*
  Riva Blooms: Gallery page (gallery.php)
  Photos + manifest come from tools/compress_gallery.py → assets/portfolio/
  Chapters: 01 Bridal (sticky split) · 02 Hand-tied (bento) · 03 After Dark (pinned
  horizontal scroll) · 04 Wreaths (arches) · 05 Studio Life (polaroids) + lightbox.
*/

:root {
  --gx-header: 70px;
  --gx-tabs: 52px;
  --gx-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gx-ink: #1f2a24;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ---------- Photo tile (shared) ---------- */
.gx-photo {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: var(--ar, 3 / 4);
  background: var(--c, #e9e2d8);
  cursor: zoom-in;
}
/* Blurred ~300 byte preview while the real photo loads */
.gx-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--lqip) center / cover no-repeat;
  filter: blur(14px);
  transform: scale(1.15);
}
.gx-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--gx-ease), opacity 0.6s ease;
}
.gx-js .gx-photo img { opacity: 0; }
.gx-js .gx-photo img.is-loaded { opacity: 1; }
.gx-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 17, 16, 0.32), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
@media (hover: hover) {
  .gx-photo:hover img { transform: scale(1.045); }
  .gx-photo:hover::after { opacity: 1; }
}
.gx-photo:focus-visible { outline: 2px solid var(--color-main); outline-offset: 4px; }

/* Reveal on scroll (uses `translate` so it never fights a tile's own `transform`) */
.gx-reveal {
  transition: opacity 0.9s ease var(--d, 0s), translate 0.9s var(--gx-ease) var(--d, 0s);
}
.gx-js .gx-reveal:not(.is-in) { opacity: 0; translate: 0 28px; }

/* ---------- Shared type ---------- */
.gx-eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-main);
}

/* ---------- Intro + chapter index ---------- */
.gx-intro {
  padding: clamp(56px, 8vw, 112px) 0 clamp(48px, 6vw, 88px);
  text-align: center;
  background: #fff;
}
.gx-intro__title {
  max-width: 22ch;
  margin: 0 auto 24px;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.4;
}
.gx-intro__lede {
  max-width: 600px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  font-size: 17px;
  color: var(--color-text-muted);
}
.gx-index {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 2.2vw, 32px);
  max-width: 1040px;
  margin: 0 auto;
}
.gx-index__item {
  display: grid;
  justify-items: center;
  gap: 2px;
  color: inherit;
}
.gx-index__thumb {
  width: 100%;
  aspect-ratio: 3 / 4;
  margin-bottom: 14px;
  overflow: hidden;
  border-radius: 999px 999px 14px 14px;
  background: var(--c);
  box-shadow: 0 18px 40px -24px rgba(24, 58, 44, 0.45);
}
.gx-index__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--gx-ease);
}
.gx-index__item:hover .gx-index__thumb img { transform: scale(1.07); }
.gx-index__num { font-size: 12px; letter-spacing: 0.22em; color: var(--color-main); }
.gx-index__name {
  font-family: "La Gagliane", serif;
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.45;
  text-align: center;
}
.gx-index__count { font-size: 13px; color: var(--color-sage-green); }

@media (max-width: 767px) {
  .gx-index {
    grid-template-columns: repeat(5, 132px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin: 0 calc(-1 * var(--space-6));
    padding: 0 var(--space-6) 8px;
  }
  .gx-index::-webkit-scrollbar { display: none; }
  .gx-index__item { scroll-snap-align: start; }
}

/* ---------- Floating chapter bar ---------- */
.gx-tabs {
  position: fixed;
  top: var(--gx-header);
  left: 0;
  right: 0;
  z-index: 45;
  pointer-events: none;
}
.gx-tabs__inner {
  display: flex;
  justify-content: center;
  gap: 4px;
  height: var(--gx-tabs);
  align-items: center;
  padding: 0 16px;
  overflow-x: auto;
  scrollbar-width: none;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(17, 17, 16, 0.07);
  transform: translateY(-110%);
  opacity: 0;
  transition: transform 0.45s var(--gx-ease), opacity 0.3s ease, background 0.4s ease, border-color 0.4s ease;
}
.gx-tabs__inner::-webkit-scrollbar { display: none; }
.gx-tabs.is-visible { pointer-events: auto; }
.gx-tabs.is-visible .gx-tabs__inner { transform: none; opacity: 1; }
.gx-tabs a {
  flex: none;
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 14px;
  white-space: nowrap;
  color: var(--color-text-muted);
  transition: background 0.25s ease, color 0.25s ease;
}
.gx-tabs a span { margin-right: 3px; font-size: 11px; letter-spacing: 0.1em; color: var(--color-main); }
.gx-tabs a:hover { background: rgba(115, 135, 110, 0.14); }
.gx-tabs a.is-active { background: var(--color-dark-green); color: #fff; }
.gx-tabs a.is-active span { color: var(--color-accent-strong); }
.gx-tabs.is-dark .gx-tabs__inner { background: rgba(12, 30, 22, 0.72); border-color: rgba(255, 255, 255, 0.08); }
.gx-tabs.is-dark a { color: rgba(255, 255, 255, 0.72); }
.gx-tabs.is-dark a:hover { background: rgba(255, 255, 255, 0.1); }
.gx-tabs.is-dark a.is-active { background: var(--color-accent-strong); color: var(--color-dark-green); }
.gx-tabs.is-dark a.is-active span { color: var(--color-dark-green); }
@media (max-width: 767px) {
  .gx-tabs__inner { justify-content: flex-start; }
}

/* ---------- Chapter shell + heading ---------- */
.gx-chapter {
  position: relative;
  padding: clamp(72px, 9vw, 140px) 0;
  scroll-margin-top: calc(var(--gx-header) + var(--gx-tabs) - 1px);
}
.gx-head { position: relative; max-width: 440px; }
.gx-head__num {
  display: block;
  margin-bottom: 14px;
  font-family: "La Gagliane", serif;
  font-size: clamp(44px, 5vw, 76px);
  line-height: 1.1;
  color: transparent;
  -webkit-text-stroke: 1px var(--color-main);
}
.gx-head__kicker {
  margin: 0 0 22px;
  font-family: var(--font-cursive);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
  color: var(--color-main);
}
.gx-head__title {
  margin: 0 0 18px;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.35;
}
.gx-head__intro { margin: 0 0 14px; color: var(--color-text-muted); }
.gx-head__count {
  margin: 0 0 22px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-sage-green);
}
.gx-head__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  font-weight: 500;
  color: var(--color-dark-green);
  border-bottom: 1px solid currentColor;
  transition: color 0.25s ease;
}
.gx-head__link .icon { width: 16px; height: 16px; color: inherit; transition: transform 0.25s ease; }
.gx-head__link:hover { color: var(--color-main); }
.gx-head__link:hover .icon { transform: translateX(4px); }

.gx-head--center { max-width: 560px; margin: 0 auto clamp(44px, 5vw, 76px); text-align: center; }
.gx-head--row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: clamp(20px, 3vw, 40px);
  align-items: end;
  max-width: 760px;
  margin-bottom: clamp(36px, 4vw, 56px);
}
.gx-head--row .gx-head__num { grid-row: 1 / span 5; margin: 0; }
.gx-head--row .gx-head__count { margin-bottom: 0; }
.gx-head--light .gx-head__num { -webkit-text-stroke-color: var(--color-accent-strong); }
.gx-head--light .gx-head__kicker { color: var(--color-accent-strong); }
.gx-head--light .gx-head__title { color: #fff; }
.gx-head--light .gx-head__intro { color: rgba(255, 255, 255, 0.72); }
.gx-head--light .gx-head__count { color: #a9bba4; }

/* ---------- 01 Bridal: sticky editorial split ---------- */
.gx-bridal { background: var(--color-beige); }
.gx-split {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.gx-split__aside {
  position: sticky;
  top: calc(var(--gx-header) + var(--gx-tabs) + 48px);
}
.gx-split__flow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 2.2vw, 30px);
  align-items: start;
}
.gx-split__col { display: grid; gap: clamp(14px, 2.2vw, 30px); }
.gx-split__col:nth-child(2) { margin-top: clamp(64px, 11vw, 170px); }
/* Leaf-cut corners, borrowed from the site's buttons */
.gx-split__col:nth-child(1) .gx-photo { border-radius: 0 56px; }
.gx-split__col:nth-child(2) .gx-photo { border-radius: 56px 0; }
@media (max-width: 899px) {
  .gx-split { grid-template-columns: 1fr; }
  .gx-split__aside { position: static; }
  .gx-split__col:nth-child(1) .gx-photo { border-radius: 0 36px; }
  .gx-split__col:nth-child(2) .gx-photo { border-radius: 36px 0; }
}

/* ---------- 02 Hand-tied: bento ---------- */
.gx-handtied { background: #fff; }
.gx-bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: clamp(10px, 1.6vw, 20px);
}
.gx-bento > * { aspect-ratio: 3 / 4; border-radius: 14px; }
.gx-bento__feature { grid-column: 1 / span 2; grid-row: span 2; aspect-ratio: auto !important; }
.gx-bento__feature--right { grid-column: 3 / span 2; }
@media (max-width: 1023px) {
  .gx-bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gx-bento__feature--right { grid-column: 2 / span 2; }
}
@media (max-width: 767px) {
  .gx-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gx-bento__feature,
  .gx-bento__feature--right { grid-column: 1 / -1; grid-row: span 1; aspect-ratio: 4 / 5 !important; }
}

.gx-note {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
}
.gx-note p { margin: 0; font-family: var(--font-cursive); font-size: clamp(19px, 1.9vw, 26px); line-height: 1.45; }
.gx-note--sage { background: var(--color-sage-green); color: #fff; }
.gx-note--pink { background: var(--color-pink); color: var(--color-dark-green); }
.gx-note--pink p { font-family: "La Gagliane", serif; font-size: clamp(14px, 1.3vw, 18px); letter-spacing: 0.04em; line-height: 1.75; }
.gx-note--cta { background: var(--color-dark-green); color: #fff; transition: background 0.3s ease; }
.gx-note--cta:hover { background: #22513e; }
.gx-note__small { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-accent-strong); }
.gx-note__big { font-family: "La Gagliane", serif; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.45; }
.gx-note .icon { width: 22px; height: 22px; color: inherit; transition: transform 0.25s ease; }
.gx-note--cta:hover .icon { transform: translateX(5px); }

/* ---------- Interlude marquee ---------- */
.gx-marquee {
  overflow: hidden;
  padding: clamp(26px, 4vw, 46px) 0;
  background: #fff;
  border-block: 1px solid rgba(17, 17, 16, 0.07);
}
.gx-marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: gx-marquee 70s linear infinite;
}
.gx-marquee__track > * { margin-right: clamp(20px, 3vw, 44px); }
.gx-marquee span {
  font-family: "La Gagliane", serif;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.4;
  white-space: nowrap;
  color: var(--color-dark-green);
}
.gx-marquee span.is-outline { color: transparent; -webkit-text-stroke: 1px var(--color-main); }
.gx-marquee i { font-style: normal; font-size: clamp(14px, 1.6vw, 22px); color: var(--color-main); }
@keyframes gx-marquee { to { transform: translateX(-50%); } }

/* ---------- 03 After Dark: pinned horizontal exhibition ---------- */
.gx-dark {
  padding: 0;
  color: #fff;
  background:
    radial-gradient(90% 70% at 18% 35%, rgba(115, 135, 110, 0.28), transparent 60%),
    linear-gradient(160deg, #183a2c 0%, #0f271d 55%, #0a1a13 100%);
}
.gx-dark__pin {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: clamp(72px, 12vw, 120px) 0 clamp(64px, 10vw, 96px);
}
.gx-dark__pin::-webkit-scrollbar { display: none; }
.gx-dark__track {
  --gx-edge: max(24px, calc((100vw - var(--container-max)) / 2 + 24px));
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 56px);
  width: max-content;
  padding: 0 var(--gx-edge);
}
.gx-dark__track > * { flex: none; scroll-snap-align: center; }
.gx-dark__intro { width: min(400px, 78vw); scroll-snap-align: start; }
.gx-dark__item {
  height: min(60vh, 460px);
  border-radius: 4px;
  box-shadow: 0 34px 60px -24px rgba(0, 0, 0, 0.7);
}
.gx-dark__item:nth-of-type(odd) { translate: 0 3vh; }
.gx-dark__item:nth-of-type(even) { translate: 0 -3vh; }
.gx-dark__hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 0;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.gx-dark__hint .icon { width: 18px; height: 18px; color: var(--color-accent-strong); }
.gx-dark__outro {
  width: min(440px, 80vw);
  font-family: "La Gagliane", serif;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.5;
}
.gx-dark__outro p { margin: 0; }
.gx-dark__outro em { font-style: normal; color: var(--color-accent-strong); }
.gx-dark__progress {
  position: absolute;
  left: max(24px, calc((100vw - var(--container-max)) / 2 + 24px));
  right: max(24px, calc((100vw - var(--container-max)) / 2 + 24px));
  bottom: clamp(26px, 5vh, 48px);
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
}
.gx-dark__progress span {
  display: block;
  height: 100%;
  background: var(--color-accent-strong);
  transform: scaleX(0);
  transform-origin: left;
}
/* Desktop: the JS pins the section and turns vertical scroll into sideways travel */
.gx-dark.is-pinned .gx-dark__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  scroll-snap-type: none;
  padding: calc(var(--gx-header) + var(--gx-tabs)) 0 0;
}
.gx-dark.is-pinned .gx-dark__track { will-change: transform; }
.gx-dark.is-pinned .gx-dark__item { height: min(62vh, 660px); }

/* ---------- 04 Wreaths & Tributes: arches ---------- */
.gx-wreaths { background: linear-gradient(180deg, #fff 0%, #faf6f0 100%); }
.gx-arches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4.5vw, 64px) clamp(20px, 3.5vw, 56px);
  max-width: 1080px;
  margin: 0 auto;
  padding-bottom: clamp(40px, 6vw, 90px);
}
.gx-arch { position: relative; padding: 12px; }
.gx-arch:nth-child(3n + 2) { transform: translateY(clamp(40px, 6vw, 90px)); }
.gx-arch::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--color-accent-strong);
  border-radius: 999px 999px 8px 8px;
  pointer-events: none;
}
.gx-arch .gx-photo { aspect-ratio: 3 / 4; border-radius: 999px 999px 4px 4px; }
@media (max-width: 767px) {
  .gx-arches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gx-arch:nth-child(3n + 2) { transform: none; }
  .gx-arch:nth-child(even) { transform: translateY(48px); }
  .gx-arch { padding: 8px; }
}

/* ---------- 05 Studio Life: polaroids ---------- */
.gx-studio {
  overflow-x: clip;
  background-color: #f8eeea;
  background-image: radial-gradient(rgba(115, 135, 110, 0.13) 1px, transparent 1.2px);
  background-size: 22px 22px;
}
.gx-polaroids {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(26px, 3.4vw, 46px) clamp(14px, 2.6vw, 38px);
  max-width: 1160px;
  margin: 0 auto;
}
.gx-polaroid {
  position: relative;
  width: clamp(148px, 42vw, 250px);
  margin: 0;
  padding: 10px 10px 0;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 16px 32px -14px rgba(70, 45, 35, 0.32);
  transform: rotate(var(--tilt, 0deg));
  transition: opacity 0.9s ease var(--d, 0s), translate 0.9s var(--gx-ease) var(--d, 0s),
              transform 0.5s var(--gx-ease), box-shadow 0.5s ease;
}
.gx-polaroid:nth-child(even) { margin-top: 30px; }
/* A strip of washi tape */
.gx-polaroid::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 50%;
  z-index: 2;
  width: 86px;
  height: 24px;
  background: rgba(230, 203, 145, 0.62);
  transform: translateX(-50%) rotate(calc(var(--tilt, 0deg) * -1.4));
}
.gx-polaroid .gx-photo { aspect-ratio: 4 / 5; }
.gx-polaroid figcaption {
  padding: 10px 6px 14px;
  font-family: var(--font-cursive);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.2;
  text-align: center;
  color: var(--gx-ink);
}
@media (hover: hover) {
  .gx-polaroid:hover {
    z-index: 3;
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 30px 50px -18px rgba(70, 45, 35, 0.4);
  }
  .gx-polaroid:hover .gx-photo img { transform: none; }
}

/* ---------- Closing CTA ---------- */
.gx-closing {
  padding: clamp(72px, 9vw, 124px) 0 clamp(24px, 4vw, 48px);
  text-align: center;
  background: #fff;
}
.gx-closing h2 { margin: 0 0 26px; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.5; }
.gx-closing p:not(.gx-eyebrow) { max-width: 560px; margin: 0 auto 44px; line-height: 1.8; color: var(--color-text-muted); }
.gx-closing__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 32px; }

/* ---------- Lightbox ---------- */
.gx-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  color: #fff;
  background: rgba(10, 22, 16, 0.96);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.gx-lightbox[hidden] { display: none; }
.gx-lightbox.is-open { opacity: 1; }
.gx-lightbox__stage {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 76px 96px 6px;
}
.gx-lightbox__img {
  max-width: calc(100vw - 192px);
  max-height: calc(100vh - 176px);
  width: auto;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s ease, transform 0.5s var(--gx-ease);
}
.gx-lightbox__img.is-swapping { opacity: 0; transform: scale(0.985); }
.gx-lightbox__meta { max-width: 760px; margin: 0 auto; padding: 14px 24px 28px; text-align: center; }
.gx-lightbox__chapter {
  margin: 0 0 4px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-accent-strong);
}
.gx-lightbox__caption { margin: 0; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, 0.82); }
.gx-lightbox__count {
  position: absolute;
  top: 28px;
  left: 30px;
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.65);
}
.gx-lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  color: #fff;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.gx-lightbox__btn:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.5); }
.gx-lightbox__btn:focus-visible { outline: 2px solid var(--color-accent-strong); outline-offset: 3px; }
.gx-lightbox__close { top: 16px; right: 20px; }
.gx-lightbox__prev,
.gx-lightbox__next { top: 50%; translate: 0 -50%; }
.gx-lightbox__prev { left: 22px; }
.gx-lightbox__next { right: 22px; }
@media (max-width: 767px) {
  .gx-lightbox__stage { padding: 68px 12px 4px; }
  .gx-lightbox__img { max-width: calc(100vw - 24px); max-height: calc(100vh - 210px); }
  .gx-lightbox__meta { padding: 12px 72px 30px; }
  .gx-lightbox__prev,
  .gx-lightbox__next { top: auto; bottom: 22px; translate: none; width: 46px; height: 46px; }
  .gx-lightbox__prev { left: 14px; }
  .gx-lightbox__next { right: 14px; }
  .gx-lightbox__count { top: 30px; left: 18px; }
  .gx-lightbox__close { top: 14px; right: 14px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .gx-marquee__track { animation: none; }
  .gx-js .gx-reveal:not(.is-in) { opacity: 1; translate: none; }
  .gx-photo img,
  .gx-polaroid,
  .gx-lightbox,
  .gx-lightbox__img { transition: none; }
}
