html:has(.about-page) { overflow: hidden; overscroll-behavior: none; }
.about-page {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100svh;
  height: 100dvh;
  overflow: hidden;
}

.about-stage {
  --fade: 1350ms;
  position: relative;
  min-height: 0;
  isolation: isolate;
  overflow: hidden;
  background: #141414;
}

.about-scenes, .about-scene, .about-shade { position: absolute; inset: 0; }
.about-scene {
  display: grid;
  place-items: center;
  overflow: hidden;
  margin: 0;
  opacity: 0;
  transition: opacity var(--fade) cubic-bezier(.34, .01, .4, 1);
}
.about-scene.is-active { z-index: 1; opacity: 1; }
.about-scene.is-leaving { opacity: 1; transition: none; }
.about-scene img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--subject-desktop, center);
}
.about-bottom {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: end;
  gap: 16px;
  width: 100%;
}
.about-filter-lockup {
  min-width: 0;
  text-align: right;
}
.about-filter-captions {
  display: grid;
  justify-items: end;
}
.about-filter-name {
  margin: 5px 0 0;
  color: #f4f4ef;
  font-size: 11px;
  letter-spacing: .13em;
  line-height: 1.2;
  text-shadow: 0 1px 8px #000c;
}

.about-shade {
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse at bottom left, rgb(0 0 0 / .42), transparent 62%),
              radial-gradient(ellipse at bottom right, rgb(0 0 0 / .23), transparent 38%),
              linear-gradient(0deg, rgb(0 0 0 / .68), rgb(0 0 0 / .38) 28%, transparent 59%);
}

.about-copy {
  position: absolute;
  z-index: 3;
  left: max(var(--site-gutter), env(safe-area-inset-left));
  right: max(var(--site-gutter), env(safe-area-inset-right));
  bottom: max(56px, calc(46px + env(safe-area-inset-bottom)));
  display: grid;
  justify-items: start;
  pointer-events: none;
}

.about-title {
  grid-row: 1;
  margin: 0 0 8px;
  color: #fbfaf7;
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 480;
  line-height: 1.13;
  letter-spacing: -.04em;
  text-shadow: 0 1px 8px #000c;
}
.about-story {
  grid-row: 2;
  max-width: min(56ch, 100%);
  margin: 0 0 14px;
  color: #f6f4ef;
  font-size: clamp(13px, 1.13vw, 16px);
  line-height: 1.57;
  text-shadow: 0 1px 8px #000d;
}
:lang(ko) .about-title, :lang(ko) .about-story { word-break: keep-all; }

.about-copy [data-about-copy] {
  grid-area: 1 / 1;
  align-self: end;
  margin: 0;
  max-width: 100%;
  color: #fbfaf7;
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 1.25;
  letter-spacing: -.035em;
  font-weight: 450;
  overflow-wrap: anywhere;
  text-wrap: balance;
  text-shadow: 0 1px 5px #0009, 0 2px 18px #0006;
  opacity: 0;
  transform: translateY(.18em);
  transition: opacity 260ms ease, transform 530ms ease;
}
.about-copy [data-about-copy].is-active { opacity: 1; transform: translateY(0); transition-duration: 430ms, 590ms; transition-delay: 180ms; }
:lang(ko) .about-copy [data-about-copy] { word-break: keep-all; }

.about-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  display: grid;
  place-items: center;
  inline-size: 44px;
  block-size: 44px;
  padding: 0;
  border: 0;
  transform: translateY(-50%);
  background: rgb(17 17 17 / .54);
  color: #fff;
}
.about-arrow-previous { left: max(12px, env(safe-area-inset-left), calc(var(--site-gutter) / 2)); }
.about-arrow-next { right: max(12px, env(safe-area-inset-right), calc(var(--site-gutter) / 2)); }
.about-arrow::before {
  content: '';
  width: 9px;
  height: 9px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateX(-2px) rotate(45deg);
}
.about-arrow-previous::before { transform: translateX(2px) rotate(-135deg); }
.about-arrow:is(:hover, :focus-visible) { background: rgb(17 17 17 / .8); }
.about-arrow:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }

.about-actions {
  position: absolute;
  z-index: 4;
  inset-inline: 0;
  bottom: max(8px, env(safe-area-inset-bottom));
  display: grid;
  justify-items: center;
  gap: 3px;
  pointer-events: none;
}
.about-dots button { pointer-events: auto; }
.about-signature {
  width: 60px;
  height: auto;
}
.about-dots { display: grid; grid-auto-flow: column; grid-auto-columns: 13px; }
.about-dots button {
  display: grid;
  place-items: center;
  padding: 0;
  min-height: 35px;
  border: 0;
  background: none;
}
.about-dots button::before {
  content: '';
  width: 4px;
  height: 4px;
  background: #b8b8b8;
  transition: transform 200ms ease, background-color 200ms ease;
}
.about-dots button:hover::before, .about-dots button[aria-pressed="true"]::before { background: #fff; transform: scale(1.3); }
.about-dots button:focus-visible { outline-offset: -2px; }

@media (max-width: 700px) {
  .about-scene img { object-position: var(--subject-mobile, var(--subject-desktop, center)); }
  .about-copy {
    left: max(20px, env(safe-area-inset-left));
    right: max(20px, env(safe-area-inset-right));
    bottom: max(50px, calc(42px + env(safe-area-inset-bottom)));
  }
  .about-bottom { gap: 12px; }
  .about-copy [data-about-copy] { font-size: clamp(12px, 3.6vw, 16px); }
  .about-signature { width: 49px; }
}
@media (max-width: 620px) {
  .about-page .gallery-actions { gap: 6px; }
  .about-page .gallery-actions .gallery-store { display: inline-flex; font-size: 11px; }
  .about-page .gallery-store span { display: none; }
}
@media (max-height: 520px) {
  .about-copy { bottom: max(42px, calc(35px + env(safe-area-inset-bottom))); }
  .about-title { font-size: clamp(18px, 4.8vh, 24px); margin-bottom: 6px; }
  .about-story { line-height: 1.36; margin-bottom: 7px; }
  .about-copy [data-about-copy] { font-size: 13px; }
  .about-filter-name { margin-top: 5px; }
  .about-arrow { top: 34%; }
  .about-dots button { min-height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .about-scene, .about-copy [data-about-copy], .about-copy [data-about-copy].is-active, .about-dots button::before { transition: none; }
}
