*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #fff;
  --text: #000;
  --text-muted: #8a8a8a;
  --line: #d8d8d8;
  --font: Helvetica, Arial, sans-serif;
  --max-width: 1120px;
  --page-gutter: clamp(1.25rem, 4vw, 2.75rem);
  --section-pad: clamp(3.5rem, 9vw, 7rem);
  --logo-size: clamp(3.25rem, 7vw, 4.5rem);
  --logo-top: clamp(1.25rem, 3vw, 2rem);
  --logo-gap: clamp(1.25rem, 3vw, 2rem);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}

html.is-carousel-dragging,
body.is-carousel-dragging {
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

html.is-carousel-dragging body,
body.is-carousel-dragging {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

#site-app {
  min-height: 100vh;
  background: var(--bg);
}

/* White page-to-page fade */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.page-transition.is-active {
  opacity: 1;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .page-transition {
    transition: none;
  }
}

/* Header */

.site-header {
  position: relative;
  padding: var(--logo-top) var(--page-gutter) clamp(1rem, 2.5vw, 1.75rem);
}

#site-app:has(.depictions.is-3d) .site-header {
  z-index: 400;
  pointer-events: none;
}

#site-app:has(.depictions.is-3d) .site-header__brand,
#site-app:has(.depictions.is-3d) .site-header__nav,
#site-app:has(.depictions.is-3d) .site-header__logo {
  pointer-events: auto;
}

.site-header__bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(0.75rem, 2.5vw, 2rem);
  min-height: var(--logo-size);
}

.site-header__brand {
  justify-self: start;
  min-width: 0;
  text-align: left;
}

.site-header__name {
  display: block;
  margin: 0;
  font-size: clamp(1.5rem, 3.6vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.site-header__tagline {
  margin-top: 0.4rem;
  color: var(--text-muted);
  font-size: clamp(0.8125rem, 1.5vw, 1rem);
  font-weight: 300;
  letter-spacing: 0.01em;
}

@media (min-width: 701px) {
  .site-header__tagline {
    font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    color: #7a7a7a;
  }
}

.site-header__logo-spacer {
  width: var(--logo-size);
  height: var(--logo-size);
  justify-self: center;
  pointer-events: none;
}

.site-header__logo {
  position: fixed;
  top: var(--logo-top);
  left: 50%;
  z-index: 400;
  display: flex;
  justify-content: center;
  margin: 0;
  transform: translateX(-50%);
  transform-origin: center center;
  pointer-events: auto;
  background: transparent;
}

.site-header__logo.is-bump {
  animation: site-header-logo-bump 0.42s cubic-bezier(0.34, 1.25, 0.64, 1);
}

@media (min-width: 701px) {
  .site-header__logo {
    transition: transform 0.2s cubic-bezier(0.34, 1.15, 0.64, 1);
  }

  .site-header__logo:hover {
    transform: translateX(-50%) scale(1.2);
  }

  .site-header__logo.is-bump {
    animation: site-header-logo-bump-desktop 0.42s cubic-bezier(0.34, 1.25, 0.64, 1);
  }
}

@keyframes site-header-logo-bump {
  0% {
    transform: translateX(-50%) scale(1);
  }

  38% {
    transform: translateX(-50%) scale(1.14);
  }

  72% {
    transform: translateX(-50%) scale(0.97);
  }

  100% {
    transform: translateX(-50%) scale(1);
  }
}

@keyframes site-header-logo-bump-desktop {
  0% {
    transform: translateX(-50%) scale(1.2);
  }

  38% {
    transform: translateX(-50%) scale(1.32);
  }

  72% {
    transform: translateX(-50%) scale(1.14);
  }

  100% {
    transform: translateX(-50%) scale(1.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header__logo {
    transition: none;
  }

  .site-header__logo:hover,
  .site-header__logo.is-bump {
    transform: translateX(-50%);
    animation: none;
  }
}

.site-header__logo-mark {
  display: block;
  width: var(--logo-size);
  height: var(--logo-size);
  border: 0;
  border-radius: 0;
  background: transparent !important;
  background-color: transparent !important;
  object-fit: contain;
  mix-blend-mode: normal;
  box-shadow: none;
  outline: none;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.site-header__logo-mark--image[hidden],
.site-header__logo-mark--video[hidden],
.site-header__logo-mark--canvas[hidden] {
  display: none !important;
}

.site-header__logo-mark--canvas {
  display: block;
}

.site-header__nav {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
  min-width: 0;
  text-align: right;
}

.site-header__link {
  font-size: clamp(0.8125rem, 1.5vw, 1.0625rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  transition: opacity 0.2s ease;
}

.site-header__link--series {
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.site-header__link:hover {
  opacity: 0.45;
}

@media (max-width: 700px) {
  .site-header__name {
    font-size: clamp(1.15rem, 5vw, 1.55rem);
  }

  .site-header__tagline {
    font-size: clamp(0.75rem, 3vw, 0.875rem);
  }

  .site-header__nav {
    gap: 0.28rem;
  }

  .site-header__link {
    font-size: clamp(0.7rem, 2.9vw, 0.8125rem);
  }

  .site-header__link--series {
    font-size: clamp(0.9rem, 3.6vw, 1.05rem);
  }
}

/* Original Depictions carousel */

.depictions {
  padding: clamp(1rem, 4vw, 2.5rem) 0 clamp(1.25rem, 3vw, 2rem);
  background: var(--bg);
  overflow: hidden;
  isolation: isolate;
}

.depictions__stage {
  position: relative;
  height: clamp(22rem, 58vw, 42rem);
  perspective: 1400px;
  perspective-origin: 50% 42%;
  touch-action: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  outline: none;
  overflow: hidden;
  contain: layout style;
  isolation: isolate;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.depictions__stage.is-dragging {
  cursor: grabbing;
}

.depictions__track {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  pointer-events: none;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.depictions__track .depictions__card {
  pointer-events: auto;
}

.depictions__card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(54vw, 34rem);
  max-width: 34rem;
  transform-origin: center center;
  transform-style: preserve-3d;
  transform: translate3d(-50%, -50%, 0) scale(0.6);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.depictions__card-media {
  width: 100%;
  background: transparent;
  transform-style: preserve-3d;
  /* Cheaper than filter:drop-shadow â€” avoids flicker while the page scrolls */
  box-shadow:
    0 14px 22px rgba(0, 0, 0, 0.07),
    0 2px 6px rgba(0, 0, 0, 0.04);
}

.depictions__card-image {
  width: 100%;
  height: auto;
  max-height: clamp(18rem, 54vw, 38rem);
  object-fit: contain;
  object-position: center center;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  image-rendering: auto;
  filter: none;
}

.depictions__card.is-center .depictions__card-media {
  box-shadow:
    0 14px 22px rgba(0, 0, 0, 0.07),
    0 2px 6px rgba(0, 0, 0, 0.04);
}

.depictions__card.is-center .depictions__card-image {
  filter: none;
}

.depictions__hover-zoom {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: clamp(15rem, 22vw, 20rem);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  background: var(--bg);
  border: 1px solid rgba(17, 17, 17, 0.2);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.2),
    0 4px 14px rgba(0, 0, 0, 0.1);
  transform: translate3d(-200vw, -200vh, 0);
  transition: opacity 120ms ease;
  contain: layout paint;
}

.depictions__hover-zoom.is-visible {
  opacity: 1;
}

.depictions__hover-zoom-image {
  position: absolute;
  max-width: none;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.depictions__detail {
  max-width: min(34rem, calc(100% - 2 * var(--page-gutter)));
  /* Fixed slot so Collaborations does not jump with artwork text length. */
  min-height: clamp(8.5rem, 20vw, 11.5rem);
  margin: clamp(0.35rem, 1.2vw, 0.75rem) auto 0;
  padding: 0 var(--page-gutter);
  text-align: left;
  box-sizing: border-box;
}

.depictions__detail-rule {
  width: 100%;
  height: 1px;
  margin-bottom: 0.85rem;
  background: var(--line);
}

.depictions__detail-head {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.depictions__detail-title {
  margin: 0;
  font-size: clamp(1.375rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.depictions__detail-medium {
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(0.875rem, 1.6vw, 1rem);
  font-weight: 300;
}

.depictions__detail-copy {
  margin-top: 0.7rem;
  color: var(--text-muted);
  font-size: clamp(0.875rem, 1.5vw, 0.975rem);
  font-weight: 300;
  line-height: 1.55;
  max-width: 36rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.depictions__detail-copy[hidden] {
  display: none;
}

@media (max-width: 700px) {
  .depictions__hover-zoom {
    display: none;
  }

  /* Mobile-only: vertical 3D stack + detail beside the center card */
  .depictions.is-vertical {
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.72fr);
    align-items: center;
    column-gap: clamp(0.45rem, 2.5vw, 0.85rem);
    padding: clamp(0.75rem, 3vw, 1.25rem) var(--page-gutter) clamp(1.5rem, 5vw, 2.5rem);
    min-height: clamp(32rem, 86vh, 44rem);
    touch-action: pan-y;
  }

  .depictions.is-vertical .depictions__stage {
    grid-column: 1;
    height: clamp(30rem, 80vh, 42rem);
    perspective: 1200px;
    perspective-origin: 48% 50%;
    touch-action: none;
    overscroll-behavior: contain;
  }

  .depictions.is-vertical .depictions__card {
    left: 52%;
    width: min(62vw, 16.5rem);
    max-width: 16.5rem;
  }

  .depictions.is-vertical .depictions__card-image {
    max-height: clamp(13rem, 40vh, 20rem);
  }

  /* Single cheap shadow layer keeps the continuous drift smooth on phones. */
  .depictions__card-media,
  .depictions__card.is-center .depictions__card-media {
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.07);
  }

  .depictions.is-vertical .depictions__detail {
    grid-column: 2;
    max-width: none;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    align-self: center;
    /* Sit beside the upper half of the center card, like the reference */
    transform: translateY(-12%);
  }

  .depictions.is-vertical .depictions__detail-rule {
    display: none;
  }

  .depictions.is-vertical .depictions__detail-title {
    font-size: clamp(1.15rem, 5.2vw, 1.55rem);
  }

  .depictions.is-vertical .depictions__detail-medium {
    font-size: clamp(0.7rem, 3vw, 0.8125rem);
  }

  .depictions.is-vertical .depictions__detail-copy {
    margin-top: 0.55rem;
    font-size: clamp(0.72rem, 3.1vw, 0.85rem);
    -webkit-line-clamp: 5;
    max-width: none;
  }

  /* Fallback before JS adds .is-vertical */
  .depictions__stage {
    height: clamp(18rem, 82vw, 26rem);
  }

  .depictions__card {
    width: min(66vw, 18.5rem);
  }

  .depictions__card-image {
    max-height: clamp(14rem, 70vw, 22rem);
  }

  .depictions__detail {
    min-height: clamp(7.5rem, 34vw, 9.5rem);
  }

  .depictions__detail-copy {
    -webkit-line-clamp: 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .depictions__card {
    transition: none !important;
  }
}

/* Desktop 3D floating gallery */

.depictions__canvas {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  touch-action: none;
}

.depictions.is-3d .depictions__canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
}

.depictions__hint {
  position: absolute;
  left: 50%;
  bottom: 0.85rem;
  z-index: 2;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.45;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
}

.depictions.is-3d {
  overflow: visible;
  isolation: auto;
  background: transparent;
}

.depictions.is-3d .depictions__stage {
  overflow: visible;
  contain: none;
  transform: none;
  isolation: auto;
  -webkit-transform: none;
  backface-visibility: visible;
  background: transparent;
}

.depictions.is-3d .depictions__hint {
  position: fixed;
  left: 50%;
  bottom: clamp(0.75rem, 2.5vh, 1.25rem);
  z-index: 150;
  transform: translateX(-50%);
}

#site-app:has(.depictions.is-3d) .footer {
  position: relative;
  z-index: 200;
}

@media (min-width: 701px) {
  .depictions.is-3d {
    padding-top: clamp(0.5rem, 2vw, 1.25rem);
  }

  .depictions.is-3d .depictions__stage {
    height: clamp(36rem, 84vh, 64rem);
    perspective: none;
    cursor: default;
  }

  .depictions.is-3d .depictions__track {
    display: none;
  }

  .depictions.is-3d .depictions__detail {
    position: relative;
    z-index: 200;
  }
}

@media (max-width: 700px) {
  .depictions.is-3d,
  .depictions.is-mobile-3d {
    padding: clamp(0.5rem, 2vw, 0.85rem) var(--page-gutter) clamp(7rem, 24vh, 11rem);
  }

  .depictions.is-3d .depictions__stage,
  .depictions.is-mobile-3d .depictions__stage {
    height: clamp(24rem, 56vh, 34rem);
    perspective: none;
    touch-action: none;
    overscroll-behavior: contain;
  }

  .depictions.is-3d .depictions__track,
  .depictions.is-mobile-3d .depictions__track {
    display: none;
  }

  .depictions.is-3d .depictions__detail,
  .depictions.is-mobile-3d .depictions__detail {
    max-width: none;
    min-height: 0;
    margin-top: 0.45rem;
    padding: 0;
    position: relative;
    z-index: 200;
  }

  .depictions.is-3d .depictions__detail-rule,
  .depictions.is-mobile-3d .depictions__detail-rule {
    display: none;
  }

  .depictions.is-3d .depictions__detail-title,
  .depictions.is-mobile-3d .depictions__detail-title {
    font-size: clamp(1.15rem, 5.2vw, 1.55rem);
  }

  .depictions.is-3d .depictions__detail-medium,
  .depictions.is-mobile-3d .depictions__detail-medium {
    font-size: clamp(0.7rem, 3vw, 0.8125rem);
  }

  .depictions.is-3d .depictions__detail-copy,
  .depictions.is-mobile-3d .depictions__detail-copy {
    margin-top: 0.55rem;
    font-size: clamp(0.72rem, 3.1vw, 0.85rem);
    -webkit-line-clamp: 5;
    max-width: none;
  }

  .depictions.is-3d .depictions__hint,
  .depictions.is-mobile-3d .depictions__hint {
    font-size: 0.62rem;
    bottom: 0.45rem;
  }
}

html.is-gallery-3d-dragging,
html.is-gallery-3d-dragging body {
  overflow: hidden;
  touch-action: none;
}

#original-depictions .depictions__detail,
#original-depictions .depictions__hint {
  display: none !important;
}

/* Biography */

.bio {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-pad) var(--page-gutter);
  scroll-margin-top: calc(var(--logo-top) + var(--logo-size) + 1rem);
}

.bio-page-main {
  min-height: calc(100vh - 12rem);
}

.bio-page .bio {
  padding-top: clamp(3rem, 8vw, 6rem);
  padding-bottom: clamp(5rem, 10vw, 8rem);
}

.bio__image-wrap {
  width: 100%;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  overflow: hidden;
}

.bio__image {
  display: block;
  width: auto;
  max-width: min(100%, clamp(16rem, 50vw, 28rem));
  height: auto;
  margin: 0 auto;
  image-rendering: auto;
}

.bio__text {
  max-width: 640px;
  margin: 0 auto;
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-muted);
  text-align: justify;
}

.bio__text p + p {
  margin-top: 1.25rem;
}

/* Secondary archive grids */

.archive-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-gutter) var(--section-pad);
  scroll-margin-top: calc(var(--logo-top) + var(--logo-size) + 1rem);
}

.archive-section[hidden] {
  display: none;
}

.archive-section__heading {
  margin: 0 0 clamp(1.5rem, 4vw, 2.5rem);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.archive-section__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.archive-section__item {
  margin: 0;
}

.archive-section__image {
  width: 100%;
  height: auto;
  object-fit: contain;
  image-rendering: auto;
}

@media (min-width: 901px) {
  .archive-section__grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
  }

  .bio__image {
    max-width: min(100%, clamp(20rem, 56vw, 36rem));
  }
}

.archive-section__caption {
  margin-top: 0.55rem;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* Footer */

.footer {
  content-visibility: auto;
  contain-intrinsic-size: 180px;
  padding: clamp(4rem, 10vw, 6rem) var(--page-gutter) clamp(2.75rem, 7vw, 4rem);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.35rem, 3.2vw, 1.85rem);
  text-align: center;
}

.footer__created {
  margin: 0;
  font-size: clamp(0.875rem, 1.45vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text);
}

.footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2.25rem, 5.5vw, 3.5rem);
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  text-decoration: none;
  opacity: 0.72;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.footer__social-link svg,
.footer__social-link img {
  display: block;
  width: clamp(2.25rem, 5vw, 3rem);
  height: clamp(2.25rem, 5vw, 3rem);
}

.footer__social-link img {
  object-fit: contain;
}

.footer__social-link:hover {
  opacity: 1;
  transform: scale(1.06);
}

.footer__social-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 2px;
}

@media (max-width: 700px) {
  #site-app:has(.depictions.is-3d) .footer {
    margin-top: clamp(3rem, 12vh, 6rem);
    padding-top: clamp(2.5rem, 7vw, 3.5rem);
    padding-bottom: max(clamp(2.75rem, 7vw, 4rem), env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer__social-link {
    transition: opacity 0.22s ease;
  }

  .footer__social-link:hover {
    transform: none;
  }
}

.collaborations-page-main {
  min-height: 40vh;
}

.collaborations-empty {
  margin: 0;
  padding: 0 var(--page-gutter) clamp(2rem, 5vw, 3.5rem);
  font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
  color: var(--text);
  opacity: 0.55;
}

.archive-section--collaborations {
  max-width: none;
  padding-top: clamp(3.5rem, 9vw, 6.5rem);
  padding-left: 0;
  padding-right: 0;
}

.archive-section--collaborations .archive-section__heading {
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding: 0 var(--page-gutter);
  text-align: left;
}

.collaborations-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-gutter);
  box-sizing: border-box;
}

.collab-project {
  display: block;
  width: min(100%, 22rem);
  max-width: 22rem;
  padding: 0;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.collab-project:focus-visible {
  outline: 2px solid #111;
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .collab-project:hover .collab-project__overlay {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.56) 0%,
      rgba(0, 0, 0, 0.34) 45%,
      rgba(0, 0, 0, 0.62) 100%
    );
  }
}

.collab-project__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 0;
  overflow: hidden;
  background: #111;
}

.collab-project__image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.collab-project__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.85rem 0.95rem;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.3) 45%,
    rgba(0, 0, 0, 0.58) 100%
  );
  color: #fff;
}

.collab-project__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 0;
}

.collab-project__top {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  max-width: 100%;
}

.collab-project__title {
  margin: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
}

.collab-project__credit {
  margin: 0;
  font-size: clamp(0.68rem, 1.2vw, 0.78rem);
  font-weight: 400;
  line-height: 1.3;
  color: #fff;
}

.collab-project__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
}

.collab-project__host,
.collab-project__location {
  margin: 0;
  font-size: clamp(0.7rem, 1.3vw, 0.8125rem);
  font-weight: 400;
  line-height: 1.3;
  color: #fff;
}

.collab-project__host {
  flex: 1 1 auto;
  min-width: 0;
}

.collab-project__location {
  flex: 0 0 auto;
  text-align: right;
}

@media (min-width: 601px) {
  .collab-project {
    width: min(100%, 24rem);
    max-width: 24rem;
  }

  .collab-project__media {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .collab-project__overlay {
    padding: 0.95rem 1.05rem;
  }

  .collab-project__title {
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  }
}

@media (max-width: 600px) {
  .collab-project {
    width: min(100%, 18.5rem);
    max-width: 18.5rem;
  }

  .collab-project__media {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .collab-project__overlay {
    padding: 0.8rem 0.85rem;
  }

  .collab-project__top {
    max-width: 100%;
  }

  .collab-project__title {
    font-size: clamp(1rem, 4.5vw, 1.2rem);
    line-height: 1.1;
  }

  .collab-project__host,
  .collab-project__location {
    font-size: clamp(0.68rem, 3vw, 0.78rem);
  }

  .collab-project__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }

  .collab-project__location {
    text-align: left;
  }
}

/* Collaborative project modal */

.collab-modal {
  position: fixed;
  inset: 0;
  z-index: 420;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
  overflow-y: auto;
}

.collab-modal[hidden] {
  display: none !important;
}

.collab-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
}

.collab-modal__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(760px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(1.1rem, 2.8vw, 1.75rem);
  margin: auto;
  padding: clamp(1.35rem, 3.8vw, 2.35rem);
  background: #fff;
  border: 1px solid #1a1a1a;
}

.collab-modal__close {
  position: absolute;
  top: clamp(0.85rem, 2.5vw, 1.15rem);
  right: clamp(0.85rem, 2.5vw, 1.15rem);
  z-index: 1;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  border-radius: 50%;
  background: #fff;
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.collab-modal__close:hover {
  background: #f5f5f5;
  border-color: #ccc;
}

.collab-modal__header {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-right: 2.25rem;
  flex-shrink: 0;
}

.collab-modal__title {
  margin: 0;
  font-size: clamp(1.5rem, 4.2vw, 2.125rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.collab-modal__meta {
  margin: 0;
  font-size: clamp(0.8125rem, 1.8vw, 0.9375rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-muted);
}

.collab-modal__meta[hidden] {
  display: none;
}

.collab-modal__figure {
  margin: 0;
  width: 100%;
  overflow: hidden;
  background: #f0f0f0;
}

.collab-modal__figure[hidden] {
  display: none;
}

.collab-modal__image {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  max-height: min(52vh, 420px);
  object-fit: cover;
}

.collab-modal__narrative {
  font-size: clamp(0.875rem, 1.9vw, 1rem);
  font-weight: 300;
  line-height: 1.7;
}

.collab-modal__narrative[hidden] {
  display: none;
}

.collab-modal__narrative p + p {
  margin-top: 1rem;
}

.collab-modal__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1rem);
}

.collab-modal__gallery[hidden] {
  display: none;
}

.collab-modal__gallery-item {
  margin: 0;
  overflow: hidden;
  background: #f0f0f0;
}

.collab-modal__gallery-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: 1;
  object-fit: cover;
}

@media (max-width: 600px) {
  .collab-modal {
    padding: 0.75rem;
    align-items: flex-start;
  }

  .collab-modal__card {
    max-height: none;
    margin-top: 1.5rem;
    gap: 1rem;
    padding: 1.15rem 1rem 1.35rem;
  }

  .collab-modal__gallery {
    grid-template-columns: 1fr;
  }
}

/* Contact modal */

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.contact-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.contact-modal[hidden] {
  display: none !important;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(6px);
}

@media (max-width: 700px) {
  .contact-modal__backdrop {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: none;
  }
}

.contact-modal__card {
  position: relative;
  width: min(100%, 24rem);
  padding: 1.75rem 1.5rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
}

.contact-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.contact-modal__title {
  margin: 0 0 1.25rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.contact-modal__item + .contact-modal__item {
  margin-top: 1rem;
}

.contact-modal__label {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-modal__link {
  font-size: 1rem;
  font-weight: 400;
}

.contact-modal__link:hover {
  opacity: 0.5;
}

/* Series archive page */

.series-page-main {
  min-height: calc(100vh - 12rem);
}

.series-archive {
  max-width: min(68rem, calc(100% - 2 * var(--page-gutter)));
  margin: 0 auto;
  padding: clamp(1.75rem, 5vw, 3.5rem) 0 clamp(5rem, 12vw, 8rem);
}

.series-archive__intro {
  padding-bottom: clamp(1.25rem, 3vw, 1.75rem);
  border-bottom: 2px solid #111;
}

.series-archive__page-title {
  margin: 0;
  font-size: clamp(2rem, 5.5vw, 3.35rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-transform: lowercase;
}

.series-archive__page-subtitle {
  max-width: 34rem;
  margin: 0.85rem 0 0;
  color: var(--text);
  font-size: clamp(0.92rem, 1.7vw, 1.05rem);
  font-weight: 300;
  line-height: 1.55;
}

.series-archive__list {
  display: flex;
  flex-direction: column;
}

.series-archive__empty {
  margin: 2.5rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.series-entry {
  padding: clamp(1.75rem, 4vw, 2.75rem) 0 clamp(3.5rem, 8vw, 5.5rem);
  border-bottom: 2px solid #111;
}

.series-entry:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.series-entry__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  column-gap: clamp(1.25rem, 4vw, 2.5rem);
  padding-bottom: clamp(1.15rem, 2.8vw, 1.6rem);
  border-bottom: 2px solid #111;
}

.series-entry__title {
  margin: 0;
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.series-entry__meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  min-width: 7.5rem;
  padding-left: clamp(1rem, 2.5vw, 1.5rem);
  border-left: 1.5px solid #111;
  align-self: stretch;
}

.series-entry__meta-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.35rem 0.55rem;
  align-items: baseline;
}

.series-entry__meta-label {
  font-size: clamp(0.78rem, 1.3vw, 0.92rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  white-space: nowrap;
}

.series-entry__meta-value {
  font-size: clamp(0.78rem, 1.3vw, 0.92rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--text);
}

.series-entry__description {
  width: 100%;
  max-width: none;
  margin: clamp(1.35rem, 3vw, 2rem) auto 0;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  font-weight: 400;
  line-height: 1.65;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.series-entry__subtitle {
  margin: 0 0 0.85rem;
  font-weight: 500;
}

.series-entry__description p + p {
  margin-top: 1rem;
}

.series-entry__gallery {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 1.8vw, 1.35rem);
  margin-top: clamp(2rem, 5vw, 3.25rem);
  width: 100%;
  overflow: visible;
}

.series-entry__figure {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: min(18rem, 42%);
  max-width: min(18rem, 42%);
  height: clamp(14rem, 36vh, 24rem);
  margin: 0;
  background: transparent;
}

.series-entry__image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  image-rendering: auto;
  -ms-interpolation-mode: bicubic;
}

.series-entry--large .series-entry__gallery {
  gap: clamp(0.65rem, 1.4vw, 1.1rem);
}

.series-entry--large .series-entry__figure {
  flex: 1 1 0;
  width: auto;
  max-width: none;
  height: clamp(18rem, 48vh, 34rem);
}

@media (max-width: 800px) {
  .series-archive {
    max-width: none;
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
  }

  .series-entry__head {
    grid-template-columns: 1fr;
    row-gap: 0;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .series-entry__title {
    font-size: clamp(2.4rem, 14vw, 3.75rem);
    padding-bottom: 1rem;
    border-bottom: 2px solid #111;
  }

  .series-entry__meta {
    min-width: 0;
    width: 100%;
    padding-left: 0;
    border-left: 0;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-top: 0;
    border-bottom: 2px solid #111;
  }

  .series-entry__gallery {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.75rem;
  }

  .series-entry__figure {
    flex: 1 1 0;
    width: min(11rem, 46%);
    max-width: min(11rem, 46%);
    height: clamp(11rem, 40vw, 17rem);
    margin-top: 0;
  }

  .series-entry--large .series-entry__figure {
    width: auto;
    max-width: none;
    height: clamp(13rem, 42vw, 20rem);
  }
}

/* Store */

.shop-page-main {
  padding-bottom: clamp(3rem, 8vw, 5.5rem);
}

.shop {
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3.75rem) var(--page-gutter) 0;
}

.shop__intro {
  text-align: left;
  margin-bottom: clamp(1.15rem, 3vw, 2.25rem);
}

.shop__brand {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  margin: 0 0 1.35rem;
  font-size: clamp(2.75rem, 5.2vw, 4.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.shop__brand-name {
  color: var(--text);
  font-weight: 700;
}

.shop__brand-rule {
  display: inline-block;
  width: 1px;
  height: 0.85em;
  background: #bdbdbd;
  align-self: center;
}

.shop__brand-label {
  color: #9a9a9a;
  font-weight: 400;
}

.shop__lede {
  margin: 0;
  max-width: 38rem;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--text);
}

.shop__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.shop__carousel {
  width: 100%;
  max-width: 78rem;
}

.shop__carousel-viewport {
  position: relative;
  width: 100%;
  height: clamp(26rem, 66svh, 44rem);
  min-height: 26rem;
  flex-shrink: 0;
  perspective: 1600px;
  perspective-origin: 50% 45%;
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.shop__carousel-viewport.is-dragging,
.shop__stage.is-dragging .shop__carousel-viewport {
  cursor: grabbing;
}

.shop__carousel-track {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: clamp(0.35rem, 1vh, 0.75rem);
}

.shop__card {
  position: absolute;
  left: 50%;
  top: auto;
  bottom: clamp(0.35rem, 1vh, 0.75rem);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: min(28rem, 42vw);
  height: min(36rem, 88%);
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
  transform-style: preserve-3d;
  transform-origin: center bottom;
  will-change: transform, opacity;
  cursor: grab;
  -webkit-tap-highlight-color: transparent;
}

.shop__card:focus-visible {
  outline: 2px solid #111;
  outline-offset: 6px;
}

.shop__card-media {
  display: grid;
  place-items: end center;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform-style: flat;
}

.shop__card-frame {
  position: relative;
  display: block;
  max-width: 100%;
  max-height: 100%;
  line-height: normal;
  isolation: isolate;
  overflow: visible;
  transform-style: flat;
}

.shop__card-image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  background: transparent;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.shop__sold-tag {
  position: absolute;
  top: 0.55rem;
  left: 50%;
  z-index: 6;
  display: block;
  margin: 0;
  padding: 0.2rem 0.45rem;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  font-family: var(--font);
  font-size: clamp(0.72rem, 1.15vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  transform: translateX(-50%) translateZ(2px);
}

.shop__figure {
  margin: 0;
  width: min(100%, 34rem);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shop__image {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
}

.shop__mobile-list {
  display: none !important;
}

.shop__controls {
  width: min(100%, 44rem);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: clamp(1.5rem, 3vw, 2.35rem);
  min-height: 4.75rem;
  flex-shrink: 0;
}

.shop__nav {
  border: 0;
  background: transparent;
  padding: 0 0 0.15rem;
  font-family: var(--font);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  cursor: pointer;
  line-height: 1;
}

.shop__nav--prev {
  color: #b0b0b0;
  justify-self: start;
}

.shop__nav--next {
  color: var(--text);
  justify-self: end;
}

.shop__nav:hover {
  opacity: 0.55;
}

.shop__nav[hidden] {
  visibility: hidden;
}

.shop__details {
  min-width: 0;
  width: min(100%, 28rem);
  min-height: 3.35rem;
  justify-self: center;
  text-align: center;
}

.shop__details-rule {
  height: 1px;
  background: #111;
  margin: 0 0 0.85rem;
}

.shop__details-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.55rem 1rem;
  min-height: 1.6em;
}

.shop__identity {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem 0.7rem;
  min-width: 0;
}

.shop__title {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 14rem;
}

.shop__type {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text);
}

.shop__details-divider {
  display: inline-block;
  width: 1px;
  height: 0.95em;
  background: #c4c4c4;
  align-self: center;
}

.shop__price {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.shop__description {
  width: min(100%, 34rem);
  margin: clamp(1.75rem, 4vw, 2.75rem) 0 0;
  font-size: clamp(0.9375rem, 1.4vw, 1.0625rem);
  line-height: 1.55;
  color: #333;
  text-align: justify;
  text-align-last: center;
  /* Keep layout stable while piece copy changes during swipe. */
  min-height: 0;
}

.shop__description p + p {
  margin-top: 0.75rem;
}

.shop__partner {
  width: min(100%, 32rem);
  margin: clamp(2rem, 4.5vw, 3.25rem) 0 0;
  font-size: clamp(0.875rem, 1.3vw, 1rem);
  line-height: 1.55;
  color: #333;
  text-align: justify;
  text-align-last: center;
}

.shop__inquire {
  margin-top: clamp(2rem, 4.5vw, 3.25rem);
  border: 0;
  border-radius: 999px;
  background: #8f8f8f;
  color: #fff;
  font-family: var(--font);
  font-size: clamp(1.125rem, 1.8vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  padding: 1.15rem 3rem;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.shop__inquire:hover {
  opacity: 0.82;
}

.shop__empty {
  margin: 2rem 0 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

@media (max-width: 700px) {
  .shop {
    max-width: 46rem;
    padding: clamp(1.5rem, 4vw, 3rem) var(--page-gutter) 0;
  }

  .shop__intro {
    text-align: left;
    margin-bottom: 1.15rem;
  }

  .shop__brand {
    font-size: clamp(1.65rem, 8vw, 2.25rem);
    gap: 0.55rem 0.75rem;
    margin: 0 0 1.15rem;
  }

  .shop__lede {
    max-width: 28rem;
    font-size: clamp(0.8125rem, 1.4vw, 0.9375rem);
  }

  .shop__carousel {
    display: block;
    max-width: none;
  }

  .shop__carousel-viewport {
    height: clamp(22rem, 58svh, 32rem);
    min-height: 22rem;
    perspective: 1200px;
  }

  .shop__card {
    width: min(16.5rem, 58vw);
    height: min(24rem, 88%);
  }

  .shop__controls {
    width: 100%;
    min-height: 5.5rem;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "details details"
      "prev next";
    gap: 0.85rem 1.25rem;
    margin-top: clamp(1.25rem, 3vw, 1.85rem);
  }

  .shop__details {
    grid-area: details;
    width: min(100%, 16.5rem);
    min-height: 2.85rem;
  }

  .shop__details-rule {
    margin: 0 0 0.7rem;
  }

  .shop__nav {
    font-size: clamp(0.8125rem, 1.4vw, 0.9375rem);
  }

  .shop__nav--prev {
    grid-area: prev;
  }

  .shop__nav--next {
    grid-area: next;
  }

  .shop__title {
    max-width: 10rem;
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  }

  .shop__price {
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  }

  .shop__type {
    font-size: clamp(0.75rem, 1.3vw, 0.875rem);
  }

  .shop__description {
    width: min(100%, 26rem);
    margin: clamp(1.5rem, 4vw, 2.25rem) 0 0;
    font-size: clamp(0.75rem, 1.3vw, 0.8125rem);
  }

  .shop__partner {
    width: min(100%, 24rem);
    margin: clamp(1.75rem, 4.5vw, 2.75rem) 0 0;
    font-size: clamp(0.6875rem, 1.2vw, 0.75rem);
  }

  .shop__inquire {
    width: min(100%, 16rem);
    margin-top: clamp(1.75rem, 4.5vw, 2.75rem);
    font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
    padding: 0.9rem 1.5rem;
  }

  .shop__sold-tag {
    top: 0.4rem;
    font-size: 0.7rem;
    padding: 0.18rem 0.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop__card {
    will-change: auto;
  }
}
