:root {
  --cream: #fff9f3;
  --cream-deep: #fff1e8;
  --haze: #ecaeb5;
  --haze-light: #f5cbd0;
  --cocoa: #51413e;
  --cocoa-soft: #7f6865;
  --sky: #88b7c7;
  --sky-dark: #5e98aa;
  --white: #fffdf9;
  --serif: "Cormorant Garamond", "Noto Serif SC", serif;
  --jp-serif: "Noto Serif SC", "Shippori Mincho", serif;
  --script: "Ma Shan Zheng", "ZCOOL XiaoWei", cursive;
  --sans: "Noto Sans JP", "Noto Sans SC", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--cream);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--cocoa);
  background: var(--cream);
  font-family: var(--sans);
  scrollbar-gutter: stable;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--sky-dark);
  outline-offset: 4px;
}

::selection {
  color: #fff;
  background: var(--sky-dark);
}

.gallery-site {
  min-height: 100svh;
  overflow: hidden;
  background: var(--cream);
}

body.is-loading {
  overflow: hidden;
}

body.is-loading ::-webkit-scrollbar {
  display: none;
}

.loading-screen {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--cream-deep);
}

.loading-name {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: .5rem;
  color: var(--cocoa);
  font: 1.25rem var(--serif);
  letter-spacing: .23em;
  animation: float-in .7s var(--ease) both;
}

.loading-name i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--cream);
  background: var(--cocoa);
  font: 1.8rem/.75 var(--serif);
  font-style: normal;
  letter-spacing: 0;
  animation: i-explode 1.5s 3.5s var(--ease) forwards;
}

.loading-name span {
  display: inline-block;
}

.loading-flower-wrapper {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  animation: flower-explode 1.5s 3.5s var(--ease) forwards;
}

.loading-flower {
  position: absolute;
  width: min(85vw, 620px);
  height: min(85vw, 620px);
  border: 1px solid rgba(236, 174, 181, .62);
  border-radius: 44% 56% 46% 54% / 54% 42% 58% 46%;
  animation: petal-spin 4s linear infinite;
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes i-explode {
  to {
    transform: translate(-180px, -160px) rotate(-210deg) scale(0.2);
    opacity: 0;
    filter: blur(4px);
  }
}

.loading-char {
  display: inline-block;
  animation: char-explode 1.5s 3.5s var(--ease) forwards;
}

@keyframes char-explode {
  to {
    transform: translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(0.15);
    opacity: 0;
    filter: blur(5px);
  }
}

@keyframes flower-explode {
  to {
    transform: scale(2.4);
    opacity: 0;
    filter: blur(5px);
  }
}

.topbar,
.gallery-hero {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

body:not(.is-loading) .topbar,
body:not(.is-loading) .gallery-hero {
  opacity: 1;
  transform: translateY(0);
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--cream-deep);
}

::-webkit-scrollbar-thumb {
  background: rgba(200, 150, 155, 0.5);
  border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(180, 120, 130, 0.75);
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(200, 150, 155, 0.5) var(--cream-deep);
}

.topbar {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 1.05rem clamp(1.2rem, 4vw, 4.5rem);
  border-bottom: 1px solid rgba(81, 65, 62, .09);
  background: rgba(255, 249, 243, .88);
  box-shadow: 0 4px 20px rgba(103, 72, 66, .035);
  backdrop-filter: blur(14px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .62rem;
  padding: 0;
  border: 0;
  color: var(--cocoa);
  background: transparent;
  cursor: pointer;
  font: 1rem var(--serif);
  letter-spacing: .2em;
}

.wordmark img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2.25rem);
}

.topbar nav button,
.topbar nav a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: 0;
  border: 0;
  color: var(--cocoa);
  background: transparent;
  font: .74rem var(--serif);
  letter-spacing: .15em;
  text-decoration: none;
  cursor: pointer;
  transition: color .2s var(--ease), transform .2s var(--ease);
}

.topbar nav button:hover,
.topbar nav a:hover {
  color: var(--sky-dark);
  transform: translateY(-2px);
}

.gallery-hero {
  position: relative;
  min-height: min(820px, 100svh);
  padding: 7.5rem clamp(1.25rem, 8vw, 9rem) 4rem;
  overflow: hidden;
  background: var(--cream);
}

.hero-sky {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(.1px);
}

.sky-a {
  top: -24vw;
  right: -14vw;
  width: 46vw;
  height: 46vw;
  border: 1px solid rgba(136, 183, 199, .2);
}

.sky-b {
  bottom: -26vw;
  left: -18vw;
  width: 43vw;
  height: 43vw;
  background: rgba(236, 174, 181, .13);
}

.hero-kicker {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--sky-dark);
  font: 1.12rem var(--script);
  letter-spacing: .13em;
}

.hero-intro {
  position: absolute;
  z-index: 4;
  bottom: clamp(2.5rem, 8vh, 5.4rem);
  left: clamp(1.25rem, 8vw, 9rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-intro p {
  margin: 0;
  color: var(--cocoa-soft);
  font: 1.28rem var(--script);
  letter-spacing: .08em;
}

.hero-intro button {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  width: max-content;
  padding: .5rem 0;
  border: 0;
  border-bottom: 1px solid var(--sky);
  color: var(--cocoa);
  background: transparent;
  cursor: pointer;
  font: .78rem var(--serif);
  letter-spacing: .15em;
  transition: color .2s var(--ease), gap .2s var(--ease);
}

.hero-intro button:hover {
  gap: .84rem;
  color: var(--sky-dark);
}

.hero-stage {
  position: absolute;
  z-index: 2;
  top: 12%;
  right: clamp(1rem, 7vw, 9rem);
  width: min(62vw, 900px);
  height: min(73vh, 650px);
}

.hero-panel {
  position: absolute;
  margin: 0;
  overflow: hidden;
  padding: .65rem;
  background: var(--white);
  box-shadow: 0 18px 35px rgba(109, 74, 71, .12);
  will-change: transform;
  transform: translateZ(0);
}

.hero-panel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.hero-panel-left {
  z-index: 1;
  bottom: 5%;
  left: 0;
  width: 32%;
  height: 47%;
  transform: rotate(-7deg);
  background: #e8eef4;
}

.hero-panel-left img,
.hero-panel-left .img-protect-img {
  object-position: left center;
}

.hero-panel-left .img-protect-bg {
  background-position: left center;
}

.hero-panel-center {
  z-index: 3;
  top: 0;
  left: 19%;
  width: 58%;
  height: 90%;
  transform: rotate(1.8deg);
}

.hero-panel-center img,
.hero-panel-center .img-protect-img {
  object-position: 25% center;
}

.hero-panel-center .img-protect-bg {
  background-position: 25% center;
}

.hero-panel-right {
  z-index: 2;
  right: 0;
  bottom: 3%;
  width: 31%;
  height: 44%;
  transform: rotate(7deg);
  background: #f6e2e6;
}

.hero-panel-right img,
.hero-panel-right .img-protect-img {
  object-position: center top;
}

.hero-panel-right .img-protect-bg {
  background-position: center top;
}

.gallery-hero h1 {
  position: absolute;
  z-index: 3;
  top: 30%;
  left: clamp(1.25rem, 8vw, 9rem);
  display: flex;
  flex-direction: column;
  margin: 0;
  color: var(--cocoa);
  font: clamp(5.4rem, 12vw, 12.6rem)/.68 var(--serif);
  font-weight: 500;
  letter-spacing: -.08em;
  pointer-events: none;
}

.gallery-hero h1 em {
  padding-left: .31em;
  color: var(--haze);
  font-style: italic;
  font-weight: 400;
}

.hero-date {
  position: absolute;
  z-index: 3;
  top: 65%;
  left: clamp(1.25rem, 8vw, 9rem);
  margin: 0;
  color: var(--cocoa-soft);
  font: .88rem var(--serif);
  letter-spacing: .13em;
}

.work-stage {
  position: relative;
  overflow: hidden;
  padding: clamp(4.2rem, 8vw, 8rem) 10vw clamp(5rem, 10vw, 10rem);
  background: linear-gradient(180deg, #f5cac7 0%, #edb9bd 50%, #f3c8c3 100%);
}

.stage-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.orb-one {
  top: -14rem;
  right: -11rem;
  width: 32rem;
  height: 32rem;
  border: 1px solid rgba(255, 255, 255, .3);
}

.orb-two {
  bottom: -17rem;
  left: -12rem;
  width: 37rem;
  height: 37rem;
  background: rgba(255, 245, 235, .23);
}

.stage-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .54;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .78) 1px, transparent 1.55px), repeating-linear-gradient(135deg, transparent 0 18px, rgba(255, 253, 249, .17) 18px 19px, transparent 19px 52px);
  background-position: 0 0, 14px 6px;
  background-size: 20px 20px, 72px 72px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .92), transparent 19%, transparent 81%, rgba(0, 0, 0, .92));
}

.stage-charm {
  position: absolute;
  z-index: 0;
  display: block;
  color: rgba(255, 253, 249, .46);
  pointer-events: none;
}

@keyframes float-slow {

  0%,
  100% {
    transform: translateY(0) rotate(var(--base-rotation, 0deg));
  }

  50% {
    transform: translateY(-12px) rotate(var(--base-rotation, 0deg));
  }
}

.charm-candy {
  top: 8%;
  right: 3.2%;
  width: 5.9rem;
  height: 2.35rem;
  border: 2px solid currentColor;
  border-radius: 999px;
  --base-rotation: -13deg;
  transform: rotate(var(--base-rotation));
  animation: float-slow 6s ease-in-out infinite;
}

.charm-candy::before,
.charm-candy::after {
  position: absolute;
  top: 50%;
  width: 1.45rem;
  height: 1.45rem;
  border: 2px solid currentColor;
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.charm-candy::before {
  left: -1.03rem;
}

.charm-candy::after {
  right: -1.03rem;
}

.charm-bow {
  bottom: 12%;
  left: 3.2%;
  width: 5.4rem;
  height: 3.2rem;
  border: 2px solid currentColor;
  border-radius: 58% 42% 48% 52%;
  --base-rotation: 20deg;
  transform: rotate(var(--base-rotation));
  animation: float-slow 7s ease-in-out infinite;
  animation-delay: -1.5s;
}

.charm-bow::before,
.charm-bow::after {
  position: absolute;
  top: 50%;
  width: 2.95rem;
  height: 2.25rem;
  border: 2px solid currentColor;
  border-radius: 60% 40% 45% 55%;
  content: "";
}

.charm-bow::before {
  right: 56%;
  transform: translateY(-50%) rotate(-22deg);
}

.charm-bow::after {
  left: 56%;
  transform: translateY(-50%) rotate(22deg);
}

.charm-cherry {
  top: 46%;
  left: 2.2%;
  width: 2.25rem;
  height: 2.25rem;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: 2.2rem .5rem 0 -2px #edb9bd, 2.2rem .5rem 0 0 currentColor;
  --base-rotation: -12deg;
  transform: rotate(var(--base-rotation));
  animation: float-slow 8s ease-in-out infinite;
  animation-delay: -3s;
}

.charm-cherry::before {
  position: absolute;
  top: -1.7rem;
  left: 1.48rem;
  width: 2.4rem;
  height: 2.2rem;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  border-radius: 70% 0 0 0;
  content: "";
  transform: rotate(21deg);
}

.charm-star-l {
  top: 62%;
  left: 3.5%;
  width: 2.3rem;
  height: 2.3rem;
  border: 2px solid currentColor;
  border-radius: 50% 0 50% 0;
  --base-rotation: 45deg;
  transform: rotate(var(--base-rotation));
  animation: float-slow 6.5s ease-in-out infinite;
  animation-delay: -0.8s;
}

.charm-star-s {
  top: 24%;
  right: 4%;
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid currentColor;
  border-radius: 50% 0 50% 0;
  --base-rotation: 15deg;
  transform: rotate(var(--base-rotation));
  animation: float-slow 5.5s ease-in-out infinite;
  animation-delay: -2.2s;
}

.charm-heart {
  bottom: 25%;
  left: 4%;
  width: 2.2rem;
  height: 2.2rem;
  --base-rotation: -15deg;
  transform: rotate(var(--base-rotation));
  animation: float-slow 7.5s ease-in-out infinite;
  animation-delay: -4.5s;
}

.charm-heart::before,
.charm-heart::after {
  position: absolute;
  top: 0;
  width: 1.2rem;
  height: 1.8rem;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 1.2rem 1.2rem 0 0;
  content: "";
}

.charm-heart::before {
  left: 0;
  transform: rotate(-45deg);
  transform-origin: 100% 100%;
}

.charm-heart::after {
  left: 0;
  transform: rotate(45deg);
  transform-origin: 0 100%;
}

.charm-cat {
  bottom: 8%;
  right: 4%;
  width: 2.8rem;
  height: 2.2rem;
  border: 2px solid currentColor;
  border-radius: 50% 50% 45% 45% / 40% 40% 60% 60%;
  --base-rotation: 12deg;
  transform: rotate(var(--base-rotation));
  animation: float-slow 8.5s ease-in-out infinite;
  animation-delay: -5.8s;
}

.charm-cat::before,
.charm-cat::after {
  position: absolute;
  top: -0.6rem;
  width: 0.8rem;
  height: 0.8rem;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  content: "";
}

.charm-cat::before {
  left: 0.3rem;
  transform: rotate(25deg) skewY(-10deg);
}

.charm-cat::after {
  right: 0.3rem;
  transform: rotate(65deg) skewY(10deg);
}

.work-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(78vw, 1520px);
  margin: 0 auto clamp(1.9rem, 3vw, 2.8rem);
  color: var(--white);
}

.work-heading>div {
  display: flex;
  align-items: baseline;
  gap: .6rem;
}

.work-heading span {
  color: var(--sky-dark);
  font: .82rem var(--serif);
  letter-spacing: .15em;
}

.work-heading h2 {
  margin: 0;
  color: rgba(255, 255, 255, .9);
  font: 1.1rem var(--serif);
  font-weight: 500;
  letter-spacing: .2em;
}

.work-heading p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font: .86rem var(--serif);
  letter-spacing: .14em;
}

.work-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(.75rem, 1.2vw, 1.25rem);
  width: min(78vw, 1520px);
  margin: auto;
}

.work-column {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: clamp(.75rem, 1.2vw, 1.25rem);
}

.work-column:nth-child(1) {
  padding-top: clamp(.8rem, 1.6vw, 1.45rem);
}

.work-column:nth-child(3) {
  padding-top: clamp(.35rem, .8vw, .72rem);
}

.work-item {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border: 0;
  outline: 0;
  cursor: zoom-in;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease), transform .8s var(--ease), box-shadow .28s var(--ease);
  will-change: transform;
  contain: paint;
}

.work-item::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 253, 249, .52);
  content: "";
  pointer-events: none;
}

.work-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.work-item.visible:hover {
  z-index: 2;
  box-shadow: 0 15px 34px rgba(96, 52, 57, .2);
  transform: translateY(-5px) rotate(-.45deg);
}

.work-item img,
.work-item .img-protect-bg,
.work-item .img-protect-img {
  transition: transform .55s var(--ease), filter .25s var(--ease);
  will-change: transform;
}

.work-item:hover img,
.work-item:hover .img-protect-bg,
.work-item:hover .img-protect-img {
  filter: saturate(1.06) brightness(1.03);
  transform: scale(1.035);
}

.view-chip {
  position: absolute;
  z-index: 1;
  right: .72rem;
  bottom: .72rem;
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  color: var(--sky-dark);
  border-radius: 50%;
  background: rgba(255, 253, 249, .93);
  font: .62rem var(--serif);
  letter-spacing: .02em;
  opacity: 0;
  transform: scale(.86);
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}

.work-item:hover .view-chip,
.work-item:focus-visible .view-chip {
  opacity: 1;
  transform: scale(1);
}

.work-tall {
  aspect-ratio: 1 / 2;
}

.work-wide {
  aspect-ratio: 5 / 3;
}

.work-square,
.work-feature {
  aspect-ratio: 1;
}

.work-landscape {
  aspect-ratio: 7 / 4;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1.15rem, 10vw, 10rem);
  color: rgba(81, 65, 62, .72);
  background: #f3c8c3;
  font: .92rem var(--script);
  letter-spacing: .1em;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  color: var(--cocoa);
  text-decoration: none;
  transition: color .2s var(--ease), transform .2s var(--ease);
}

.site-footer a:hover {
  color: var(--sky-dark);
  transform: translate(2px, -2px);
}

.lightbox {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vh, 3rem) clamp(3.9rem, 8vw, 8rem);
  overflow: auto;
  background: rgba(83, 65, 62, .92);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-canvas {
  display: grid;
  width: fit-content;
  max-width: 100%;
  max-height: calc(100svh - 6rem);
  place-items: center;
  padding: clamp(.4rem, .9vw, .8rem);
  background: var(--cream);
  box-shadow: 0 16px 55px rgba(42, 29, 28, .28);
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox.active .lightbox-canvas {
  opacity: 1;
  transform: scale(1);
}

.lightbox-canvas img {
  display: block;
  width: auto;
  height: auto;
  max-width: calc(100vw - clamp(7.8rem, 16vw, 16rem));
  max-height: calc(100svh - 7.6rem);
  object-fit: contain;
}

.lightbox-close,
.lightbox-arrow {
  position: fixed;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  cursor: pointer;
  transition: color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}

.lightbox-close {
  top: 1.4rem;
  right: clamp(1rem, 3vw, 2.5rem);
  border-radius: 50%;
}

.lightbox-arrow {
  top: 50%;
  border-radius: 50%;
  transform: translateY(-50%);
}

.arrow-left {
  left: clamp(.65rem, 2.2vw, 2.4rem);
}

.arrow-right {
  right: clamp(.65rem, 2.2vw, 2.4rem);
}

.lightbox-close:hover,
.lightbox-arrow:hover {
  color: var(--sky-dark);
  background: var(--cream);
}

.arrow-left:hover {
  transform: translate(-3px, -50%);
}

.arrow-right:hover {
  transform: translate(3px, -50%);
}

.img-protect {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  transform: translateZ(0);
}

.img-protect-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  will-change: transform;
  transform: translateZ(0);
}

.lightbox-canvas .img-protect {
  display: grid;
  place-items: center;
}

.lightbox-canvas .img-protect-bg {
  background-size: contain;
  background-position: center;
}

.img-protect-img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.lightbox-canvas .img-protect-img {
  width: auto;
  height: auto;
  max-width: calc(100vw - clamp(7.8rem, 16vw, 16rem));
  max-height: calc(100svh - 7.6rem);
  object-fit: contain;
}

.img-protect-mask {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: transparent;
  cursor: inherit;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

@media (max-width: 760px) {
  .topbar {
    padding: .85rem 1.05rem;
  }

  .wordmark {
    gap: .44rem;
    font-size: .8rem;
  }

  .wordmark img {
    width: 25px;
    height: 25px;
  }

  .topbar nav {
    gap: .95rem;
  }

  .topbar nav button,
  .topbar nav a {
    font-size: .62rem;
  }

  .gallery-hero {
    display: flex;
    min-height: 0;
    flex-direction: column;
    padding: 5.75rem 1.2rem 2.3rem;
  }

  .hero-kicker {
    position: relative;
    z-index: 4;
    font-size: .98rem;
  }

  .gallery-hero h1 {
    position: relative;
    z-index: 4;
    top: auto;
    left: auto;
    margin: 1.25rem 0 0;
    font-size: clamp(4.35rem, 21vw, 5.8rem);
  }

  .hero-date {
    position: relative;
    z-index: 4;
    top: auto;
    left: auto;
    margin: .76rem 0 0;
    font-size: .7rem;
    letter-spacing: .1em;
  }

  .hero-stage {
    position: relative;
    z-index: 2;
    top: auto;
    right: auto;
    width: 100%;
    height: min(78vw, 350px);
    margin: 1.8rem 0 1.6rem;
  }

  .hero-panel {
    padding: .35rem;
  }

  .hero-panel-left {
    bottom: 1%;
    left: 0;
    width: 35%;
    height: 46%;
  }

  .hero-panel-center {
    left: 19%;
    width: 60%;
    height: 91%;
  }

  .hero-panel-right {
    right: 0;
    bottom: 3%;
    width: 30%;
    height: 39%;
  }

  .hero-intro {
    position: relative;
    z-index: 4;
    bottom: auto;
    left: auto;
    gap: .76rem;
  }

  .hero-intro p {
    font-size: 1.08rem;
  }

  .hero-intro button {
    font-size: .68rem;
  }

  .sky-a {
    top: -20vw;
    right: -26vw;
    width: 68vw;
    height: 68vw;
  }

  .sky-b {
    bottom: -22vw;
    left: -42vw;
    width: 72vw;
    height: 72vw;
  }

  .work-stage {
    padding: 3.8rem 1rem 4.4rem;
  }

  .stage-pattern {
    opacity: .36;
    background-size: 16px 16px, 52px 52px;
  }

  .charm-candy {
    top: 6rem;
    right: -1.5rem;
    transform: scale(.7) rotate(-13deg);
  }

  .charm-bow {
    bottom: 6%;
    left: -1.8rem;
    transform: scale(.62) rotate(20deg);
  }

  .charm-cherry,
  .charm-star-l,
  .charm-star-s,
  .charm-heart,
  .charm-cat {
    display: none;
  }

  .work-heading {
    width: 100%;
    margin-bottom: 1.65rem;
  }

  .work-heading span {
    font-size: .72rem;
  }

  .work-heading h2 {
    font-size: .9rem;
  }

  .work-heading p {
    font-size: .68rem;
  }

  .work-grid {
    display: block;
    width: 100%;
    column-count: 2;
    column-gap: .75rem;
  }

  .work-column {
    display: contents;
  }

  .work-item {
    width: 100%;
    margin: 0 0 .75rem;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
  }

  .work-column:nth-child(1),
  .work-column:nth-child(3) {
    padding-top: 0;
  }

  .view-chip {
    opacity: 1;
    width: 31px;
    height: 31px;
    right: .4rem;
    bottom: .4rem;
    font-size: .54rem;
  }

  .site-footer {
    padding: 1.3rem 1rem;
    font-size: .84rem;
  }

  .lightbox {
    padding: 4.8rem 1rem 5rem;
  }

  .lightbox-canvas {
    width: 100%;
    max-height: calc(100svh - 10rem);
    padding: .35rem;
  }

  .lightbox-canvas img,
  .lightbox-canvas .img-protect-img {
    max-width: 100%;
    max-height: calc(100svh - 10.7rem);
  }

  .lightbox-arrow {
    top: auto;
    bottom: 1.4rem;
    transform: none;
  }

  .arrow-left {
    left: calc(50% - 48px);
  }

  .arrow-right {
    right: calc(50% - 48px);
  }

  .arrow-left:hover,
  .arrow-right:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }

  .loading-screen {
    display: none;
  }
}