.home-portfolio-page {
  --wjt-home-header: 116px;
  --wjt-paper: #e7e4dc;
  --wjt-ink: #242523;
  --wjt-muted: #777872;
  --wjt-line: rgba(36, 37, 35, 0.2);
  --wjt-night: #20211f;
  overflow-x: clip;
  background: var(--wjt-paper);
}

.home-portfolio-page .main-content,
.home-portfolio-page .fashion-home {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.home-portfolio-page .fashion-home {
  display: block;
}

.wjt-work-home {
  position: relative;
  color: var(--wjt-ink);
  background: var(--wjt-paper);
}

.wjt-work-home img {
  max-width: none;
}

.wjt-page-axis {
  position: fixed;
  z-index: 70;
  top: calc(var(--wjt-home-header) + 34px);
  left: 20px;
  bottom: 34px;
  width: 16px;
  display: grid;
  grid-template-rows: auto minmax(80px, 1fr) auto;
  justify-items: center;
  gap: 10px;
  color: rgba(36, 37, 35, 0.48);
  mix-blend-mode: difference;
  pointer-events: none;
}

.wjt-page-axis span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 8px;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
}

.wjt-page-axis i {
  position: relative;
  width: 1px;
  height: 100%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.26);
}

.wjt-page-axis b {
  position: absolute;
  inset: 0;
  display: block;
  background: #fff;
  transform: scaleY(0);
  transform-origin: top;
  will-change: transform;
}

.wjt-work-hero {
  position: relative;
  min-height: 205svh;
  background: var(--wjt-paper);
}

.wjt-work-hero-sticky {
  position: sticky;
  top: var(--wjt-home-header);
  height: calc(100svh - var(--wjt-home-header));
  min-height: 560px;
  overflow: hidden;
}

.wjt-work-hero-label,
.wjt-work-hero-count,
.wjt-work-hero-scroll {
  position: absolute;
  z-index: 5;
  margin: 0;
  color: rgba(36, 37, 35, 0.68);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em !important;
}

.wjt-work-hero-label {
  top: 34px;
  left: 6%;
}

.wjt-work-hero-count {
  top: 34px;
  right: 6%;
}

.wjt-work-hero-count span {
  color: var(--wjt-ink);
}

.wjt-work-hero-scroll {
  right: 6%;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.wjt-work-hero-scroll span {
  font-size: 15px;
  animation: wjt-home-scroll-cue 1.7s ease-in-out infinite;
}

@keyframes wjt-home-scroll-cue {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

.wjt-work-hero-frame {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: min(420px, 30vw);
  height: min(520px, 48vh);
  margin: 0;
  overflow: hidden;
  border-radius: 28px 0 28px 0;
  background: #c9c7c0;
  transform: translate(-50%, -50%);
  box-shadow: 0 24px 60px rgba(39, 40, 37, 0.12);
  will-change: width, height, border-radius;
}

.wjt-work-hero-frame img,
.wjt-work-hero-frame > span {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.wjt-work-hero-frame img {
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  will-change: transform;
}

.wjt-work-hero-frame > span {
  background: linear-gradient(90deg, rgba(17, 18, 17, 0.58), rgba(17, 18, 17, 0.03) 68%);
  opacity: 0;
  will-change: opacity;
}

.wjt-work-hero-copy {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 6%;
  width: min(610px, 58vw);
  color: #f8f5ed;
  opacity: 0;
  transform: translateY(calc(-50% + 34px));
  will-change: opacity, transform;
  pointer-events: none;
}

.wjt-work-hero-copy > p:first-child {
  margin: 0 0 20px;
  color: rgba(248, 245, 237, 0.68);
  font-family: "Iowan Old Style", "Baskerville", serif;
  font-size: 12px;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
}

.wjt-work-hero-copy h1 {
  margin: 0;
  color: inherit;
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: clamp(54px, 8vw, 116px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: 0.1em !important;
}

.wjt-work-hero-copy > p:nth-of-type(2) {
  max-width: 47ch;
  margin: 28px 0 0;
  color: rgba(248, 245, 237, 0.8);
  font-size: 14px;
  line-height: 1.9;
}

.wjt-work-hero-copy a {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  padding-bottom: 7px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.66);
  font-size: 11px;
  letter-spacing: 0.14em !important;
  text-decoration: none;
  pointer-events: auto;
}

.wjt-work-opening {
  position: relative;
  min-height: 1400px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 260px 410px 230px;
  gap: 24px;
  padding: clamp(110px, 12vw, 190px) 6% clamp(120px, 12vw, 190px);
  overflow: hidden;
  background: #efede7;
}

.wjt-work-opening-copy {
  z-index: 3;
  grid-column: 5 / 11;
  display: grid;
  grid-template-columns: minmax(90px, 0.28fr) minmax(0, 1fr);
  gap: 24px clamp(32px, 6vw, 90px);
  align-self: start;
}

.wjt-work-opening-copy > p:first-child {
  margin: 10px 0 0;
  color: var(--wjt-muted);
  font-size: 9px;
  letter-spacing: 0.16em !important;
}

.wjt-work-opening-copy h2 {
  margin: 0;
  color: var(--wjt-ink);
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: clamp(30px, 3.8vw, 59px);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: 0.06em !important;
}

.wjt-work-opening-copy h2 span {
  display: block;
  margin-bottom: 17px;
  font-family: "Iowan Old Style", "Baskerville", serif;
  font-size: 0.48em;
  letter-spacing: 0.04em !important;
}

.wjt-work-opening-copy > p:last-child {
  grid-column: 2;
  max-width: 48ch;
  margin: 6px 0 0;
  color: #656660;
  font-size: 14px;
  line-height: 2;
}

.wjt-work-opening-image {
  z-index: 2;
  margin: 0;
  overflow: hidden;
  background: #d1cec6;
}

.wjt-work-opening-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.4s cubic-bezier(0.2, 0.72, 0.2, 1);
}

.wjt-work-opening-image--left {
  grid-column: 1 / 5;
  grid-row: 2 / 4;
  align-self: end;
  height: 610px;
  clip-path: polygon(0 0, 100% 0, 100% 89%, 86% 100%, 0 100%);
}

.wjt-work-opening-image--right {
  grid-column: 8 / 13;
  grid-row: 3 / 5;
  height: 520px;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%, 0 13%);
}

.wjt-work-opening-word {
  position: absolute;
  z-index: 1;
  right: -2vw;
  bottom: 118px;
  margin: 0;
  color: #cec29d;
  font-family: "Iowan Old Style", "Baskerville", serif;
  font-size: clamp(82px, 14vw, 220px);
  font-weight: 400;
  line-height: 0.75;
  letter-spacing: -0.04em !important;
  white-space: nowrap;
}

[data-scroll-reveal] {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 900ms ease, transform 1.2s cubic-bezier(0.2, 0.72, 0.2, 1);
}

[data-scroll-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-scroll-reveal].is-visible img {
  transform: scale(1);
}

.wjt-work-sequence {
  position: relative;
  min-height: 430svh;
  color: #f3f0e8;
  background: var(--wjt-night);
}

.wjt-work-sequence-sticky {
  position: sticky;
  top: var(--wjt-home-header);
  height: calc(100svh - var(--wjt-home-header));
  min-height: 560px;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 44%, rgba(113, 119, 110, 0.18), transparent 31%),
    var(--wjt-night);
}

.wjt-work-sequence-main {
  position: absolute;
  inset: 0 49% 0 0;
  overflow: hidden;
  background: #d7d4cc;
}

.wjt-work-sequence-main figure,
.wjt-work-sequence-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.wjt-work-sequence-main figure {
  margin: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 700ms ease, transform 1.4s cubic-bezier(0.2, 0.72, 0.2, 1);
}

.wjt-work-sequence-main figure.is-active {
  opacity: 1;
  transform: scale(1);
}

.wjt-work-sequence-main img {
  display: block;
  object-fit: cover;
}

.wjt-work-sequence-copy {
  position: absolute;
  z-index: 4;
  top: 50%;
  right: 5.4%;
  width: 38%;
  height: 300px;
  transform: translateY(-50%);
}

.wjt-work-sequence-copy article {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  opacity: 0;
  transform: translateY(28px);
  clip-path: inset(0 0 100% 0);
  transition: opacity 560ms ease, transform 800ms cubic-bezier(0.2, 0.72, 0.2, 1), clip-path 900ms cubic-bezier(0.2, 0.72, 0.2, 1);
  pointer-events: none;
}

.wjt-work-sequence-copy article.is-active {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0 0 0 0);
}

.wjt-work-sequence-copy article > p:first-child {
  margin: 0 0 24px;
  color: rgba(243, 240, 232, 0.45);
  font-size: 9px;
  letter-spacing: 0.16em !important;
}

.wjt-work-sequence-copy h2 {
  margin: 0;
  color: inherit;
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: clamp(43px, 5vw, 78px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.06em !important;
}

.wjt-work-sequence-copy article > p:last-child {
  max-width: 44ch;
  margin: 26px 0 0;
  color: rgba(243, 240, 232, 0.68);
  font-size: 14px;
  line-height: 1.9;
}

.wjt-work-sequence-slices {
  position: absolute;
  z-index: 3;
  inset: 0 0 0 51%;
  pointer-events: none;
}

.wjt-work-sequence-slices figure {
  position: absolute;
  right: 8%;
  width: clamp(110px, 13vw, 205px);
  aspect-ratio: 1.3 / 1;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  opacity: 0.26;
  transform: scale(0.7);
  transition: opacity 700ms ease, transform 900ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

.wjt-work-sequence-slices figure:nth-child(1) { top: 7%; }
.wjt-work-sequence-slices figure:nth-child(2) { top: 28%; }
.wjt-work-sequence-slices figure:nth-child(3) { top: 61%; }
.wjt-work-sequence-slices figure:nth-child(4) { top: 82%; }

.wjt-work-sequence-slices figure.is-active {
  z-index: 2;
  opacity: 0.9;
  transform: scale(1.12);
}

.wjt-work-sequence-slices img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.wjt-work-sequence-progress {
  position: absolute;
  z-index: 5;
  right: 5.4%;
  bottom: 30px;
  margin: 0;
  color: rgba(243, 240, 232, 0.4);
  font-size: 10px;
  letter-spacing: 0.14em !important;
}

.wjt-work-sequence-progress span {
  color: #f3f0e8;
}

.wjt-work-sequence-steps {
  position: relative;
  z-index: 0;
}

.wjt-work-sequence-steps i {
  display: block;
  height: 100svh;
}

@media (max-width: 900px) {
  .wjt-page-axis {
    display: none;
  }

  .wjt-work-opening {
    min-height: 1260px;
  }

  .wjt-work-opening-copy {
    grid-column: 4 / 12;
  }

  .wjt-work-opening-image--left {
    grid-column: 1 / 7;
  }

  .wjt-work-opening-image--right {
    grid-column: 7 / 13;
  }

  .wjt-work-sequence-main {
    inset: 0 44% 0 0;
  }

  .wjt-work-sequence-copy {
    right: 4%;
    width: 36%;
  }

  .wjt-work-sequence-slices {
    inset-left: 56%;
  }

  .wjt-work-sequence-slices figure {
    right: 5%;
  }
}

@media (max-width: 680px) {
  .home-portfolio-page {
    --wjt-home-header: 82px;
  }

  .home-portfolio-page .site-header .nav-wrap {
    min-height: 82px;
  }

  .wjt-work-hero {
    min-height: 185svh;
  }

  .wjt-work-hero-sticky,
  .wjt-work-sequence-sticky {
    min-height: 520px;
  }

  .wjt-work-hero-label,
  .wjt-work-hero-count {
    top: 22px;
    font-size: 8px;
  }

  .wjt-work-hero-label {
    left: 22px;
  }

  .wjt-work-hero-count {
    right: 22px;
  }

  .wjt-work-hero-scroll {
    right: 22px;
    bottom: 18px;
    font-size: 7px;
  }

  .wjt-work-hero-frame {
    width: 54vw;
    height: 42vh;
    border-radius: 20px 0 20px 0;
  }

  .wjt-work-hero-frame img {
    object-position: 58% center;
  }

  .wjt-work-hero-copy {
    top: auto;
    right: 22px;
    bottom: 86px;
    left: 22px;
    width: auto;
    transform: translateY(28px);
  }

  .wjt-work-hero-copy h1 {
    font-size: clamp(46px, 15vw, 70px);
  }

  .wjt-work-hero-copy > p:nth-of-type(2) {
    max-width: 34ch;
    margin-top: 20px;
    font-size: 12px;
    line-height: 1.75;
  }

  .wjt-work-hero-copy a {
    margin-top: 18px;
  }

  .wjt-work-opening {
    min-height: 1100px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: auto 210px 260px 260px;
    gap: 16px;
    padding: 82px 22px 100px;
  }

  .wjt-work-opening-copy {
    grid-column: 1 / 7;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .wjt-work-opening-copy > p:first-child {
    margin: 0;
  }

  .wjt-work-opening-copy h2 {
    font-size: 32px;
  }

  .wjt-work-opening-copy > p:last-child {
    grid-column: 1;
    font-size: 12px;
    line-height: 1.85;
  }

  .wjt-work-opening-image--left {
    grid-column: 1 / 5;
    grid-row: 2 / 4;
    height: 470px;
  }

  .wjt-work-opening-image--right {
    grid-column: 3 / 7;
    grid-row: 4;
    height: 250px;
  }

  .wjt-work-opening-word {
    right: -20px;
    bottom: 60px;
    font-size: 78px;
  }

  .wjt-work-sequence {
    min-height: 410svh;
  }

  .wjt-work-sequence-main {
    inset: 0 0 44% 0;
  }

  .wjt-work-sequence-main::after {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 45% 0 0;
    background: linear-gradient(transparent, var(--wjt-night));
  }

  .wjt-work-sequence-copy {
    top: auto;
    right: 22px;
    bottom: 58px;
    left: 22px;
    width: auto;
    height: 250px;
    transform: none;
  }

  .wjt-work-sequence-copy h2 {
    font-size: 37px;
  }

  .wjt-work-sequence-copy article > p:last-child {
    margin-top: 18px;
    font-size: 12px;
    line-height: 1.75;
  }

  .wjt-work-sequence-slices {
    z-index: 4;
    inset: 43% 0 auto 0;
    height: 82px;
    display: flex;
    justify-content: center;
    gap: 7px;
    padding: 0 20px;
  }

  .wjt-work-sequence-slices figure,
  .wjt-work-sequence-slices figure:nth-child(n) {
    position: relative;
    top: auto;
    right: auto;
    width: min(20vw, 76px);
    flex: 0 0 min(20vw, 76px);
    transform: scale(0.82);
  }

  .wjt-work-sequence-slices figure.is-active {
    transform: scale(1);
  }

  .wjt-work-sequence-progress {
    right: 22px;
    bottom: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wjt-work-hero-scroll span {
    animation: none;
  }

  [data-scroll-reveal],
  .wjt-work-opening-image img,
  .wjt-work-sequence-main figure,
  .wjt-work-sequence-copy article,
  .wjt-work-sequence-slices figure {
    transition: none;
  }

  [data-scroll-reveal] {
    opacity: 1;
    transform: none;
  }
}

.wjt-work-gallery {
  position: relative;
  padding: clamp(110px, 12vw, 190px) 6% clamp(120px, 13vw, 210px);
  overflow: hidden;
  background: #efede7;
}

.wjt-work-gallery-head {
  display: grid;
  grid-template-columns: minmax(120px, 0.28fr) minmax(0, 1fr);
  gap: clamp(34px, 8vw, 130px);
  margin-bottom: clamp(90px, 11vw, 170px);
}

.wjt-work-gallery-head > p {
  margin: 9px 0 0;
  color: var(--wjt-muted);
  font-size: 9px;
  letter-spacing: 0.15em !important;
}

.wjt-work-gallery-head > div {
  max-width: 860px;
}

.wjt-work-gallery-head h2 {
  margin: 0;
  color: var(--wjt-ink);
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: clamp(38px, 5.4vw, 82px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.04em !important;
}

.wjt-work-gallery-head > div > p {
  max-width: 53ch;
  margin: 30px 0 0;
  color: #666761;
  font-size: 14px;
  line-height: 1.95;
}

.wjt-work-gallery-head button,
.wjt-work-gallery-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin: 30px 0 0;
  padding: 0 0 7px;
  color: var(--wjt-ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  font-size: 11px;
  letter-spacing: 0.13em !important;
  text-decoration: none;
  cursor: pointer;
}

.wjt-work-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(36px, 7vw, 110px) 24px;
  align-items: start;
}

.wjt-work-gallery-item {
  margin: 0;
}

.wjt-work-gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.2s cubic-bezier(0.2, 0.72, 0.2, 1);
}

.wjt-work-gallery-item.is-visible img {
  transform: scale(1);
}

.wjt-work-gallery-item--wide {
  grid-column: 1 / 9;
}

.wjt-work-gallery-item--wide img {
  aspect-ratio: 1.68 / 1;
}

.wjt-work-gallery-item--portrait {
  grid-column: 9 / 13;
  margin-top: 22vw;
}

.wjt-work-gallery-item--portrait img {
  aspect-ratio: 0.76 / 1;
}

.wjt-work-gallery-item--small {
  grid-column: 2 / 7;
}

.wjt-work-gallery-item--small img {
  aspect-ratio: 1.18 / 1;
}

.wjt-work-gallery-item--offset {
  grid-column: 8 / 13;
  margin-top: 12vw;
}

.wjt-work-gallery-item--offset img {
  aspect-ratio: 1 / 1.1;
}

.wjt-work-gallery-item--closing {
  grid-column: 4 / 11;
  margin-top: 5vw;
}

.wjt-work-gallery-item--closing img {
  aspect-ratio: 1.45 / 1;
}

.wjt-work-gallery-item figcaption {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: baseline;
  padding-top: 14px;
  border-top: 1px solid var(--wjt-line);
}

.wjt-work-gallery-item figcaption span,
.wjt-work-gallery-item figcaption small {
  color: var(--wjt-muted);
  font-size: 8px;
  letter-spacing: 0.12em !important;
}

.wjt-work-gallery-item figcaption strong {
  color: var(--wjt-ink);
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: 19px;
  font-weight: 400;
}

.wjt-work-gallery-item figcaption small {
  text-transform: uppercase;
}

.wjt-work-gallery-link {
  margin: clamp(90px, 10vw, 150px) 0 0 auto;
}

.wjt-experience-controls {
  position: fixed;
  z-index: 88;
  right: 22px;
  bottom: 22px;
  display: flex;
  gap: 8px;
}

.wjt-experience-line-link {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  color: #06c755;
  background: rgba(30, 31, 29, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 10px 32px rgba(22, 23, 21, 0.16);
  backdrop-filter: blur(14px);
  text-decoration: none;
}

.wjt-experience-line-link svg {
  width: 30px;
  height: 30px;
  display: block;
}

.wjt-experience-controls button {
  width: auto;
  min-width: 108px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(30, 31, 29, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  box-shadow: 0 10px 32px rgba(22, 23, 21, 0.16);
  backdrop-filter: blur(14px);
  cursor: pointer;
}

.wjt-experience-controls button:hover,
.wjt-experience-controls button:focus-visible,
.wjt-experience-line-link:hover,
.wjt-experience-line-link:focus-visible {
  color: #fff;
  background: rgba(30, 31, 29, 0.94);
}

.wjt-experience-line-link:hover,
.wjt-experience-line-link:focus-visible {
  color: #06c755;
}

.wjt-experience-controls span,
.wjt-experience-controls strong {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em !important;
}

.wjt-experience-controls strong {
  color: #d1c08a;
}

.wjt-experience-controls [aria-pressed="true"] strong {
  color: #fff;
}

@media (max-width: 680px) {
  .wjt-work-gallery {
    padding: 88px 22px 110px;
  }

  .wjt-work-gallery-head {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 82px;
  }

  .wjt-work-gallery-head h2 {
    font-size: 34px;
  }

  .wjt-work-gallery-head > div > p {
    margin-top: 22px;
    font-size: 12px;
  }

  .wjt-work-gallery-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 70px 12px;
  }

  .wjt-work-gallery-item--wide,
  .wjt-work-gallery-item--closing {
    grid-column: 1 / 7;
  }

  .wjt-work-gallery-item--portrait {
    grid-column: 3 / 7;
    margin-top: 0;
  }

  .wjt-work-gallery-item--small {
    grid-column: 1 / 6;
  }

  .wjt-work-gallery-item--offset {
    grid-column: 2 / 7;
    margin-top: 0;
  }

  .wjt-work-gallery-item--closing {
    margin-top: 0;
  }

  .wjt-work-gallery-item figcaption {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .wjt-work-gallery-item figcaption small {
    grid-column: 2;
  }

  .wjt-work-gallery-link {
    margin-top: 76px;
  }

  .wjt-experience-controls {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    justify-content: flex-end;
  }

  .wjt-experience-controls button {
    min-width: 0;
    gap: 10px;
    padding: 9px 12px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .wjt-work-gallery-item img {
    transition: none;
  }
}
