.jocely-gallery {
  --jg-bg: #0c0c0d;
  --jg-surface: #151517;
  --jg-surface-soft: #1b1b1e;
  --jg-text: #f6f3ee;
  --jg-muted: #a9a5a3;
  --jg-line: rgba(255, 255, 255, 0.13);
  --jg-accent: #ff4f8b;
  --jg-columns: 3;
  position: relative;
  isolation: isolate;
  width: 100vw;
  min-height: 100vh;
  margin-left: calc(50% - 50vw);
  padding: clamp(120px, 13vw, 205px) max(24px, calc((100vw - 1240px) / 2)) clamp(90px, 11vw, 170px);
  overflow: hidden;
  color: var(--jg-text);
  background-color: var(--jg-bg);
  background:
    radial-gradient(circle at 12% 18%, color-mix(in srgb, var(--jg-accent) 10%, transparent), transparent 27rem),
    radial-gradient(circle at 88% 62%, rgba(31, 180, 211, 0.07), transparent 29rem),
    var(--jg-bg);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

.jocely-gallery *,
.jocely-gallery *::before,
.jocely-gallery *::after {
  box-sizing: border-box;
}

.jocely-gallery button {
  font: inherit;
}

.jg-ambient {
  position: absolute;
  z-index: -1;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.16;
  filter: blur(100px);
  animation: jg-drift 14s ease-in-out infinite alternate;
}

.jg-ambient-one {
  top: 5%;
  left: -20rem;
  background: var(--jg-accent);
}

.jg-ambient-two {
  top: 48%;
  right: -23rem;
  background: #19b7d3;
  animation-delay: -6s;
}

.jg-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(290px, 0.55fr);
  gap: clamp(48px, 9vw, 140px);
  align-items: end;
  margin-bottom: clamp(70px, 10vw, 140px);
}

.jg-hero--single {
  grid-template-columns: minmax(0, 1fr);
}

.jg-hero--single .jg-heading-copy {
  max-width: 980px;
}

.jg-hero--single-aside {
  width: min(100%, 520px);
  margin-left: auto;
}

.jg-heading-copy {
  min-width: 0;
}

.jg-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: var(--jg-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-transform: uppercase;
}

.jg-eyebrow > span {
  width: 30px;
  height: 1px;
  background: var(--jg-accent);
  box-shadow: 0 0 15px color-mix(in srgb, var(--jg-accent) 75%, transparent);
}

.jocely-gallery .jg-hero h1 {
  max-width: 890px;
  margin: 0;
  color: var(--jg-text);
  font-size: clamp(58px, 9.4vw, 138px);
  font-weight: 320;
  letter-spacing: -0.065em;
  line-height: 0.87;
  text-wrap: balance;
}

.jg-hero-aside {
  padding: 0 0 12px;
}

.jg-hero-aside > p {
  margin: 0 0 34px;
  color: var(--jg-muted);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.75;
}

.jg-current-series {
  position: relative;
  display: grid;
  grid-template-columns: 11px minmax(0, 1fr) auto;
  gap: 4px 13px;
  align-items: center;
  padding: 17px 18px;
  overflow: hidden;
  border: 1px solid var(--jg-line);
  border-radius: 14px;
  color: inherit;
  background: rgba(255, 255, 255, 0.035);
  text-decoration: none;
  backdrop-filter: blur(14px);
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

.jg-current-series:hover {
  border-color: color-mix(in srgb, var(--jg-series-color, var(--jg-accent)) 55%, var(--jg-line));
  color: inherit;
  background: rgba(255, 255, 255, 0.065);
  transform: translateY(-2px);
}

.jg-current-series:focus-visible {
  outline: 2px solid var(--jg-series-color, var(--jg-accent));
  outline-offset: 4px;
}

.jg-current-series::after {
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, var(--jg-series-color, var(--jg-accent)), transparent 70%);
  content: "";
}

.jg-current-series > span {
  grid-row: 1 / span 2;
  align-self: center;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--jg-series-color, var(--jg-accent));
  box-shadow: 0 0 18px var(--jg-series-color, var(--jg-accent));
  animation: jg-pulse 2.4s ease-in-out infinite;
}

.jg-current-series small {
  grid-column: 2;
  color: var(--jg-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.jg-current-series strong {
  grid-column: 2;
  min-width: 0;
  color: var(--jg-text);
  font-size: 15px;
  font-weight: 600;
}

.jg-current-series em {
  grid-column: 3;
  grid-row: 1 / span 2;
  display: flex;
  gap: 7px;
  align-items: center;
  color: var(--jg-muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 220ms ease;
}

.jg-current-series em b {
  color: var(--jg-series-color, var(--jg-accent));
  font-size: 15px;
  transition: transform 220ms ease;
}

.jg-current-series:hover em {
  color: var(--jg-text);
}

.jg-current-series:hover em b {
  transform: translateX(3px);
}

.jg-series-approach {
  position: relative;
  margin: clamp(-60px, -4vw, -32px) 0 clamp(70px, 9vw, 125px);
  padding: clamp(36px, 5vw, 66px);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(230px, 0.65fr) minmax(0, 1.35fr);
  gap: 22px clamp(48px, 8vw, 120px);
  border: 1px solid var(--jg-line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 6% 18%, color-mix(in srgb, var(--jg-series-color) 14%, transparent), transparent 21rem),
    var(--jg-surface);
}

.jg-series-approach::after {
  position: absolute;
  right: -60px;
  bottom: -75px;
  width: 190px;
  height: 190px;
  border: 1px solid color-mix(in srgb, var(--jg-series-color) 34%, transparent);
  border-radius: 50%;
  content: "";
}

.jg-series-approach-label {
  grid-column: 1 / -1;
  margin: 0;
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--jg-muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.jg-series-approach-label > span {
  width: 30px;
  height: 1px;
  background: var(--jg-series-color);
}

.jocely-gallery .jg-series-approach h2 {
  margin: 0;
  color: var(--jg-text);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 430;
  letter-spacing: -0.05em;
  line-height: 1;
}

.jg-series-approach-text {
  max-width: 65ch;
  margin: 0;
}

.jocely-gallery .jg-series-approach .jg-series-approach-text,
.jocely-gallery .jg-series-approach .jg-series-approach-text p {
  color: var(--jg-text);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(17px, 1.25vw, 20px);
  font-style: normal;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.75;
  text-align: left;
}

.jg-series-approach-text p {
  margin: 0 0 1em;
}

.jg-series-approach-text p:last-child {
  margin-bottom: 0;
}

.jg-series-approach.jg-series-approach--after-grid {
  margin: clamp(70px, 9vw, 125px) 0 0;
}

.jg-filtered-approaches {
  margin-top: clamp(70px, 9vw, 125px);
}

.jg-filtered-approaches[hidden],
.jg-filtered-series-approach[hidden] {
  display: none !important;
}

.jg-series-approach.jg-filtered-series-approach {
  margin: 0;
}

.jg-filters {
  position: sticky;
  z-index: 20;
  top: 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto clamp(55px, 7vw, 90px);
  padding: 7px;
  overflow-x: auto;
  border: 1px solid var(--jg-line);
  border-radius: 999px;
  background: rgba(16, 16, 18, 0.78);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
  scrollbar-width: none;
  backdrop-filter: blur(20px);
}

.jg-filters::-webkit-scrollbar {
  display: none;
}

.jg-filter-status {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.jg-filter {
  position: relative;
  flex: 0 0 auto;
  padding: 11px 17px;
  border: 0;
  border-radius: 999px;
  color: var(--jg-muted);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.jg-filter:hover {
  color: var(--jg-text);
  transform: translateY(-1px);
}

.jg-filter:focus-visible {
  outline: 2px solid var(--jg-series-color, var(--jg-accent));
  outline-offset: 2px;
}

.jg-filter.is-active {
  color: #0c0c0d;
  background: var(--jg-series-color, var(--jg-accent));
}

.jg-filter sup {
  margin-left: 6px;
  font-size: 8px;
  opacity: 0.65;
}

.jg-grid {
  display: grid;
  grid-template-columns: repeat(var(--jg-columns), minmax(0, 1fr));
  column-gap: clamp(18px, 2.3vw, 34px);
  row-gap: clamp(42px, 6vw, 78px);
  align-items: start;
}

.jg-card {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  transition: opacity 230ms ease, transform 350ms cubic-bezier(0.2, 0.75, 0.25, 1), filter 230ms ease;
}

.jg-card[hidden] {
  display: none !important;
}

.jg-card.is-hiding {
  opacity: 0;
  filter: blur(8px);
  transform: scale(0.97);
}

.jg-art-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: zoom-in;
  text-align: inherit;
}

.jocely-gallery[data-lightbox=""] .jg-art-open,
.jocely-gallery[data-lightbox="no"] .jg-art-open {
  cursor: default;
}

.jg-image-wrap {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: clamp(10px, 1.45vw, 22px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  background: var(--jg-surface);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  place-items: center;
}

.jg-image-wrap::after {
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.16), transparent 35%);
  content: "";
  pointer-events: none;
  transition: background 400ms ease, border-color 400ms ease;
}

.jg-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 850ms cubic-bezier(0.19, 1, 0.22, 1), filter 500ms ease;
}

.jg-image-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(circle at 30% 32%, var(--jg-series-color, var(--jg-accent)), transparent 22%),
    radial-gradient(circle at 67% 65%, #18b9d4, transparent 25%),
    linear-gradient(135deg, #19191d, #09090a);
  opacity: 0.7;
}

.jg-card:hover .jg-image-wrap img {
  filter: saturate(1.07) contrast(1.02);
  transform: scale(1.025);
}

.jg-card:hover .jg-image-wrap::after {
  border-color: color-mix(in srgb, var(--jg-series-color, var(--jg-accent)) 55%, transparent);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.27), transparent 48%);
}

.jg-view-icon {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 50%;
  background: rgba(10, 10, 11, 0.48);
  opacity: 0;
  place-items: center;
  transform: translateY(8px) scale(0.9);
  transition: opacity 300ms ease, transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1), background 250ms ease;
  backdrop-filter: blur(12px);
}

.jg-view-icon i {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
}

.jg-view-icon b {
  z-index: 1;
  color: #fff;
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
}

.jg-card:hover .jg-view-icon {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.jg-status {
  position: absolute;
  z-index: 3;
  top: 16px;
  left: 16px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: #fff;
  background: rgba(12, 12, 13, 0.62);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.jg-status-disponible::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: #64d898;
  box-shadow: 0 0 10px rgba(100, 216, 152, 0.65);
  content: "";
}

.jg-status-vendue,
.jg-status-collection {
  opacity: 0.72;
}

.jg-card-copy {
  position: relative;
  padding: 19px 3px 0;
}

.jg-card-copy::before {
  position: absolute;
  top: 0;
  left: 3px;
  width: 0;
  height: 1px;
  background: var(--jg-series-color, var(--jg-accent));
  content: "";
  transition: width 550ms cubic-bezier(0.19, 1, 0.22, 1);
}

.jg-card:hover .jg-card-copy::before {
  width: 58px;
}

.jg-card-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 7px;
  color: var(--jg-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.3;
  text-transform: uppercase;
}

.jg-card-kicker span {
  color: var(--jg-series-color, var(--jg-accent));
}

.jocely-gallery .jg-art-title {
  margin: 0;
  color: var(--jg-text);
  font-size: clamp(21px, 2vw, 29px);
  font-weight: 430;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.jg-art-collection {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: uppercase;
}

.jg-art-collection span {
  color: var(--jg-series-color, var(--jg-accent));
}

.jg-art-meta {
  margin: 8px 0 0;
  color: var(--jg-muted);
  font-size: 12px;
  line-height: 1.55;
}

.jg-reference {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.36);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.jg-empty {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 260px;
  padding: clamp(35px, 7vw, 90px);
  border: 1px solid var(--jg-line);
  background: rgba(255, 255, 255, 0.025);
}

.jg-empty span {
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--jg-accent);
  box-shadow: 0 0 25px var(--jg-accent);
}

.jg-empty p {
  margin: 0;
  color: var(--jg-muted);
  font-size: clamp(18px, 2vw, 28px);
}

.jg-reveal {
  opacity: 1;
  transform: none;
}

.jocely-gallery.jg-ready .jg-reveal {
  opacity: 0;
  transform: translateY(28px);
}

.jocely-gallery.jg-ready .jg-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--jg-delay, 0ms);
}

.jg-lightbox[hidden] {
  display: none !important;
}

.jg-lightbox {
  position: fixed;
  z-index: 999999;
  inset: 0;
  display: grid;
  padding: clamp(20px, 4vw, 65px);
  color: #f7f4ef;
  background: rgba(7, 7, 8, 0.96);
  opacity: 0;
  place-items: center;
  transition: opacity 300ms ease;
  backdrop-filter: blur(22px);
}

.jg-lightbox.is-open {
  opacity: 1;
}

.jg-lightbox-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(260px, 0.55fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
  width: min(1380px, calc(100vw - 100px));
  max-height: calc(100vh - 80px);
}

.jg-lightbox-image {
  display: grid;
  min-width: 0;
  height: min(82vh, 920px);
  place-items: center;
}

.jg-lightbox-image img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 35px 110px rgba(0, 0, 0, 0.48);
}

.jg-lightbox-copy {
  max-width: 400px;
}

.jg-lightbox-series {
  margin: 0 0 13px;
  color: var(--jg-series-color, var(--jg-accent));
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.jocely-gallery .jg-lightbox-copy h2 {
  margin: 0;
  color: #f7f4ef;
  font-size: clamp(36px, 4.3vw, 70px);
  font-weight: 350;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.jg-lightbox-meta {
  margin: 20px 0 0;
  color: #a9a5a3;
  font-size: 13px;
}

.jg-lightbox-description {
  margin-top: 25px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: #c0bcba;
  font-size: 14px;
  line-height: 1.75;
}

.jg-lightbox-description p {
  margin: 0 0 12px;
}

.jg-room-trigger,
.jg-room-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f7f4ef;
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.jg-room-trigger {
  margin-top: 28px;
  padding: 14px 18px;
  border-radius: 999px;
}

.jg-detail-link {
  min-height: 43px;
  margin: 22px 10px 0 0;
  padding: 0 16px;
  display: inline-flex;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #fff;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: border-color 200ms ease, background 200ms ease, color 200ms ease;
}

.jg-detail-link span {
  color: var(--jg-series-color, var(--jg-accent));
  font-size: 14px;
}

.jg-detail-link:hover {
  border-color: var(--jg-series-color, var(--jg-accent));
  color: #0b0b0c;
  background: var(--jg-series-color, var(--jg-accent));
}

.jg-detail-link:hover span {
  color: inherit;
}

.jg-room-trigger[hidden] {
  display: none !important;
}

.jg-room-trigger span {
  color: var(--jg-series-color, var(--jg-accent));
  font-size: 16px;
  font-weight: 400;
  transition: transform 220ms ease;
}

.jg-room-trigger:hover,
.jg-room-back:hover {
  border-color: var(--jg-series-color, var(--jg-accent));
  background: var(--jg-series-color, var(--jg-accent));
  color: #0b0b0c;
  transform: translateY(-1px);
}

.jg-room-trigger:hover span {
  color: inherit;
  transform: translateX(3px);
}

.jg-room-view[hidden] {
  display: none !important;
}

.jg-room-view {
  width: min(1380px, calc(100vw - 110px));
  max-height: calc(100vh - 65px);
  overflow-y: auto;
  scrollbar-width: thin;
}

.jg-room-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 18px;
}

.jg-room-header p {
  margin: 0 0 3px;
  color: #f7f4ef;
  font-size: clamp(22px, 2.3vw, 36px);
  font-weight: 420;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.jg-room-header small {
  display: block;
  max-width: 650px;
  color: #aaa6a3;
  font-size: 12px;
  line-height: 1.55;
}

.jg-room-back {
  flex: 0 0 auto;
  padding: 12px 16px;
  border-radius: 999px;
}

.jg-room-presets {
  display: flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  max-width: 100%;
  margin: 0 0 13px;
  padding: 6px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  scrollbar-width: none;
  backdrop-filter: blur(14px);
}

.jg-room-presets::-webkit-scrollbar {
  display: none;
}

.jg-room-preset {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 0;
  border-radius: 999px;
  color: #aaa6a3;
  background: transparent;
  cursor: pointer;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.jg-room-preset > span {
  width: 7px;
  height: 7px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.jg-room-preset:hover {
  color: #fff;
  transform: translateY(-1px);
}

.jg-room-preset.is-active {
  color: #0b0b0c;
  background: var(--jg-series-color, var(--jg-accent));
}

.jg-room-preset.is-active > span {
  border-color: currentColor;
  background: currentColor;
}

.jg-room-scene {
  position: relative;
  width: 100%;
  aspect-ratio: 1672 / 941;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #222;
  box-shadow: 0 35px 120px rgba(0, 0, 0, 0.52);
}

.jg-room-background {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 220ms ease;
}

.jg-room-background.is-changing {
  opacity: 0.28;
}

.jg-room-artwork {
  position: absolute;
  z-index: 2;
  top: 34%;
  left: 52%;
  display: block;
  width: 25%;
  max-width: 58%;
  max-height: 57%;
  object-fit: contain;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42), 0 3px 8px rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -50%);
  transform-origin: center;
  transition: width 500ms cubic-bezier(0.19, 1, 0.22, 1), height 500ms cubic-bezier(0.19, 1, 0.22, 1), opacity 250ms ease;
}

.jg-room-size {
  position: absolute;
  z-index: 3;
  right: 15px;
  bottom: 15px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  background: rgba(10, 10, 11, 0.62);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.jg-lightbox.is-room-mode .jg-lightbox-stage,
.jg-lightbox.is-room-mode .jg-lightbox-nav {
  display: none;
}

.jg-lightbox-close,
.jg-lightbox-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  place-items: center;
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

.jg-lightbox-close:hover,
.jg-lightbox-nav:hover {
  border-color: var(--jg-accent);
  background: rgba(255, 255, 255, 0.09);
}

.jg-lightbox-close {
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
}

.jg-lightbox-close span {
  position: absolute;
  width: 18px;
  height: 1px;
  background: currentColor;
  transform: rotate(45deg);
}

.jg-lightbox-close span + span {
  transform: rotate(-45deg);
}

.jg-lightbox-nav {
  top: 50%;
  width: 46px;
  height: 46px;
  transform: translateY(-50%);
}

.jg-lightbox-nav:hover {
  transform: translateY(-50%) scale(1.05);
}

.jg-lightbox-prev {
  left: 20px;
}

.jg-lightbox-next {
  right: 20px;
}

body.jg-lightbox-active {
  overflow: hidden !important;
}

@keyframes jg-drift {
  from { transform: translate3d(0, -3%, 0) scale(0.95); }
  to { transform: translate3d(7%, 8%, 0) scale(1.08); }
}

@keyframes jg-pulse {
  0%, 100% { opacity: 0.65; transform: scale(0.84); }
  50% { opacity: 1; transform: scale(1); }
}

@media (max-width: 900px) {
  .jocely-gallery {
    --jg-columns: 2;
    padding-right: 24px;
    padding-left: 24px;
  }

  .jg-hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .jg-hero-aside {
    display: grid;
    grid-template-columns: 1fr minmax(230px, 0.7fr);
    gap: 28px;
    align-items: end;
  }

  .jg-hero-aside > p {
    margin: 0;
  }

  .jg-series-approach {
    grid-template-columns: 1fr;
  }

  .jg-lightbox-stage {
    grid-template-columns: 1fr;
    gap: 22px;
    width: min(780px, calc(100vw - 50px));
    overflow-y: auto;
  }

  .jg-lightbox-image {
    height: 62vh;
  }

  .jg-lightbox-copy {
    max-width: none;
    padding-bottom: 20px;
  }

  .jg-room-view {
    width: min(100%, 900px);
  }

  .jg-lightbox-nav {
    top: auto;
    bottom: 20px;
    transform: none;
  }

  .jg-lightbox-nav:hover {
    transform: scale(1.05);
  }
}

@media (max-width: 620px) {
  .jocely-gallery {
    --jg-columns: 2;
    padding-top: 105px;
  }

  .jocely-gallery .jg-hero h1 {
    font-size: clamp(52px, 19vw, 82px);
  }

  .jg-hero-aside {
    display: block;
  }

  .jg-hero-aside > p {
    margin-bottom: 28px;
  }

  .jg-filters {
    top: 8px;
    width: calc(100vw - 28px);
    margin-left: -10px;
    border-radius: 16px;
  }

  .jg-series-approach {
    margin-top: -34px;
    padding: 36px 26px;
    border-radius: 18px;
  }

  .jg-filter {
    padding: 10px 13px;
  }

  .jg-grid {
    column-gap: 14px;
    row-gap: 42px;
  }

  .jg-card {
    margin-bottom: 0;
  }

  .jg-view-icon {
    opacity: 1;
    transform: none;
  }

  .jg-lightbox {
    padding: 62px 14px 78px;
  }

  .jg-lightbox-stage {
    width: 100%;
    max-height: calc(100vh - 130px);
  }

  .jg-lightbox-image {
    height: 54vh;
  }

  .jg-lightbox-close {
    top: 10px;
    right: 10px;
  }

  .jg-lightbox-prev {
    left: calc(50% - 54px);
  }

  .jg-lightbox-next {
    right: calc(50% - 54px);
  }

  .jg-room-view {
    width: 100%;
    max-height: calc(100vh - 90px);
  }

  .jg-room-header {
    display: block;
  }

  .jg-room-back {
    margin-top: 13px;
  }

  .jg-room-presets {
    width: 100%;
    border-radius: 14px;
  }

  .jg-room-scene {
    width: 150%;
    margin-left: -25%;
  }

  .jg-room-size {
    right: 27%;
  }
}

@media (min-width: 421px) and (max-width: 767px) {
  .jocely-gallery {
    --jg-columns: 2 !important;
  }
}

@media (max-width: 420px) {
  .jocely-gallery {
    --jg-columns: 1 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jocely-gallery *,
  .jocely-gallery *::before,
  .jocely-gallery *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .jg-reveal {
    opacity: 1;
    transform: none;
  }
}
