:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", "Segoe UI", sans-serif;
  --font-serif: "Cormorant Garamond", "Bodoni 72", Didot, "Songti SC", "STSong", Georgia, serif;
  --page-ink: #060606;
  --page-paper: #f4f3ee;
  --page-white: #f4f3ee;
  --page-muted-dark: rgba(6, 6, 6, .58);
  --page-muted-light: rgba(244, 243, 238, .58);
  --hairline-dark: rgba(6, 6, 6, .16);
  --hairline-dark-strong: rgba(6, 6, 6, .42);
  --hairline-light: rgba(244, 243, 238, .18);
  --hairline-light-strong: rgba(244, 243, 238, .46);
  --page-ease: cubic-bezier(.19, 1, .22, 1);
}

html {
  background: var(--page-ink);
  scroll-behavior: auto;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: clip;
}

body {
  background: var(--page-ink);
  color: var(--page-white);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Defensive positioning for fixed chrome */
.skip-link {
  position: fixed;
  top: -100px;
  left: 30px;
  z-index: 100;
}

/* =========================================================
   GLOBAL KINETIC SPLIT BACKDROP
   ========================================================= */
.split-backdrop {
  display: none;
}

@media (min-width: 901px) {
  .split-backdrop {
    display: block;
    position: fixed;
    inset: 14px;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: 24px;
    background: #060606;
  }

  /* The white wall is a single GPU layer translated on the X axis. Its 36px
     left feather is part of the layer, so the divide stays smooth at 120fps. */
  .split-backdrop-light {
    position: absolute;
    inset: 0;
    background: #f4f3ee;
    transform: translate3d(65%, 0, 0);
    will-change: transform;
  }

  .split-backdrop-light::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -36px;
    width: 36px;
    background: linear-gradient(to right, rgba(244, 243, 238, 0), #f4f3ee);
  }
}

/* =========================================================
   ARCHIVAL GRAIN & GLOBAL THEATRE FRAME
   ========================================================= */
.film-grain {
  position: fixed;
  z-index: 45;
  inset: 14px;
  pointer-events: none;
  opacity: .022;
  mix-blend-mode: normal;
  background-size: 180px 180px;
  transform: translateZ(0);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.65' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =========================================================
   HEADER & JOURNEY — pure monochrome difference blend
   ========================================================= */
.site-header {
  top: 42px;
  left: 52px;
  right: 52px;
  font-size: 11px;
}

.brand {
  font-size: 15px;
  letter-spacing: .24em;
  font-weight: 600;
}

.site-nav {
  gap: clamp(20px, 2.5vw, 36px);
  font-size: 11px;
  letter-spacing: .16em;
}

.site-nav a {
  opacity: .72;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  opacity: 1;
}

.site-nav a[aria-current="page"]::after {
  background: currentColor;
}

.journey {
  position: fixed;
  z-index: 30;
  left: 52px;
  bottom: 34px;
  gap: 14px;
  font-size: 10px;
  letter-spacing: .14em;
  transition: opacity .45s var(--page-ease);
}

.journey[data-at-home="true"] {
  opacity: .68;
}

.journey-line {
  width: 64px;
}

/* =========================================================
   HERO (#home) — author-designed visual anchor, untouched
   ========================================================= */
#home.home-chapter {
  height: 100svh;
  min-height: 620px;
}

#home .home-stage {
  position: relative;
  top: auto;
  height: 100svh;
}

#home .eyebrow {
  font-size: 10px;
  letter-spacing: .22em;
  color: #a09f97;
}

#home .name {
  font-size: 12px;
  letter-spacing: .26em;
}

#home .replay {
  font-size: 10px;
  letter-spacing: .14em;
  color: #adaaa2;
}

#home .home-scroll {
  position: absolute;
  z-index: 3;
  left: 38px;
  bottom: 66px;
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 10px;
  letter-spacing: .16em;
  color: #a5a49c;
}

#home .home-credit {
  right: 38px;
  bottom: 34px;
  font-size: 10px;
  letter-spacing: .16em;
  color: rgba(12, 12, 10, .72);
  opacity: 1;
}

/* Desktop: let the hero canvas run to the viewport edge so the white wall
   continues into the next act without a 14px black band sweeping through. */
@media (min-width: 901px) {
  #home .home-stage {
    background: transparent;
  }

  #home .hero-canvas {
    bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  /* The canvas bottom now runs to the viewport edge; pin the inner layers to
     the original inset-14 box so the hero composition does not move. */
  #home .portrait-layer,
  #home .portrait-fx,
  #home .hero-ink-fx {
    bottom: 14px;
  }

  #home .portrait-fx,
  #home .hero-ink-fx {
    height: calc(100% - 14px);
  }

  #home .hero {
    top: calc(50% - 7px);
  }

  #home .home-scroll {
    bottom: 80px;
  }

  #home .home-credit {
    bottom: 48px;
  }
}

/* =========================================================
   STORY / ACTS — four full-screen gallery stages
   ========================================================= */
.story {
  position: relative;
  z-index: 2;
}

.act {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
}

.act-grid {
  flex: 1;
  min-width: 0;
  display: grid;
  margin: 14px;
  align-items: stretch;
}

.act-works .act-grid {
  grid-template-columns: 40% 60%;
}

.act-imprints .act-grid {
  grid-template-columns: 52% 48%;
}

.act-about .act-grid {
  grid-template-columns: 36% 64%;
}

.act-face {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.act-face--dark {
  color: var(--page-paper);
}

.act-face--light {
  color: var(--page-ink);
}

.act-kicker {
  margin: 0;
  font-size: 11px;
  letter-spacing: .18em;
  line-height: 1.4;
  text-transform: uppercase;
  opacity: .62;
}

/* =========================================================
   ACT 1 / WORKS — interactive black & white gallery
   ========================================================= */
.works-index {
  justify-content: flex-start;
  padding: clamp(104px, 13svh, 140px) clamp(36px, 4.6vw, 72px) clamp(88px, 10svh, 110px) clamp(48px, 6.4vw, 96px);
}

.works-index .act-kicker {
  color: rgba(244, 243, 238, .62);
}

.work-list {
  list-style: none;
  margin: clamp(24px, 3.6vh, 40px) 0 0;
  padding: 0;
  position: relative;
}

.work-item {
  position: relative;
  border-bottom: 1px solid rgba(244, 243, 238, .12);
  opacity: .5;
  transition: opacity .45s var(--page-ease);
}

.work-item::before {
  content: "";
  position: absolute;
  left: clamp(-18px, -1.4vw, -10px);
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: rgba(244, 243, 238, .55);
  transform: scaleY(0);
  transform-origin: center top;
  transition: transform .5s var(--page-ease);
}

.work-item.is-active::before {
  transform: scaleY(1);
}

.work-item.is-active {
  opacity: 1;
}

.work-row {
  display: grid;
  grid-template-columns: 2.2em minmax(0, 1fr);
  gap: 14px;
  width: 100%;
  padding: clamp(14px, 2.2vh, 22px) 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform .5s var(--page-ease);
}

.work-row:hover,
.work-row:focus-visible {
  transform: translateX(6px);
}

.work-num {
  padding-top: .45em;
  font-size: 11px;
  letter-spacing: .16em;
  opacity: .5;
  font-variant-numeric: tabular-nums;
}

.work-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.work-name {
  font-family: var(--font-serif);
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 400;
  letter-spacing: -.015em;
  line-height: 1;
}

.work-kind {
  font-size: 10px;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
  opacity: .52;
}

.work-active-panel {
  min-height: clamp(92px, 12svh, 112px);
  margin-top: clamp(22px, 3vh, 32px);
  transition: opacity .22s ease;
}

.work-active-panel.is-swapping {
  opacity: 0;
}

.work-desc {
  max-width: 26em;
  margin: 0 0 14px;
  color: rgba(244, 243, 238, .62);
  font-size: 13px;
  line-height: 1.7;
}

.work-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.work-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0 6px;
  border-bottom: 1px solid var(--hairline-light-strong);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: border-color .3s ease, gap .35s var(--page-ease), transform .35s var(--page-ease);
}

.work-links a:hover,
.work-links a:focus-visible {
  gap: 12px;
  border-bottom-color: currentColor;
}

/* right: white gallery wall */
.gallery-stage {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  row-gap: clamp(18px, 2.6vh, 28px);
  padding: clamp(104px, 13svh, 140px) clamp(40px, 5vw, 84px) clamp(84px, 9.5svh, 104px);
}

.works-meta,
.plate-caption {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  font-size: 10px;
  letter-spacing: .16em;
  line-height: 1.5;
  text-transform: uppercase;
  color: rgba(6, 6, 6, .55);
}

.works-meta {
  padding-top: 12px;
}

.plate-caption {
  padding-top: 12px;
}

.works-year {
  font-variant-numeric: tabular-nums;
}

.works-hint {
  opacity: .62;
  transition: opacity .3s ease;
}

.plate-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.plate-stack {
  position: relative;
  width: min(100%, 82svh);
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid rgba(6, 6, 6, .14);
  background: #eceae3;
  transform-origin: center center;
  clip-path: inset(0 0 0 0);
  transform: perspective(1100px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) scale(var(--stack-scale, 1));
  transition: clip-path .5s var(--page-ease), transform .18s ease-out;
  will-change: transform, clip-path;
}

/* Five staggered darkroom blades sweep the new plate clean. */
.plate-shutter {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  gap: 2px;
  pointer-events: none;
}

.plate-shutter i {
  flex: 1 1 20%;
  background: #060606;
  transform: scaleY(0);
  transform-origin: top center;
}

.plate-shutter i:first-child {
  border-left: 0;
}

.plate-shutter.is-wiping i {
  animation: shutter-blade .64s var(--page-ease) both;
}

.plate-shutter.is-wiping i:nth-child(1) {
  animation-delay: 0ms;
}

.plate-shutter.is-wiping i:nth-child(2) {
  animation-delay: 35ms;
}

.plate-shutter.is-wiping i:nth-child(3) {
  animation-delay: 70ms;
}

.plate-shutter.is-wiping i:nth-child(4) {
  animation-delay: 105ms;
}

.plate-shutter.is-wiping i:nth-child(5) {
  animation-delay: 140ms;
}

@keyframes shutter-blade {
  0% {
    transform: scaleY(1);
  }

  100% {
    transform: scaleY(0);
  }
}

/* Darkroom shutter: the incoming plate develops upward over the previous one. */
.plate-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  z-index: 0;
  opacity: 0;
  clip-path: inset(100% 0 0 0);
  scale: 1.05;
  filter: grayscale(1) contrast(1.06);
  transition: clip-path .85s var(--page-ease), scale .55s var(--page-ease), opacity .3s ease, filter .7s ease;
  will-change: clip-path, scale;
}

.plate-img.is-prev {
  opacity: 1;
  z-index: 1;
  clip-path: inset(0 0 0 0);
  scale: 1;
  animation: none;
}

.plate-img.is-active {
  opacity: 1;
  z-index: 2;
  clip-path: inset(0 0 0 0);
  scale: 1;
  animation: plate-develop .85s var(--page-ease);
}

@keyframes plate-develop {
  from {
    clip-path: inset(100% 0 0 0);
    scale: 1.05;
  }

  to {
    clip-path: inset(0 0 0 0);
    scale: 1;
  }
}

.plate-stack:hover .plate-img.is-active {
  scale: 1.035;
}

.plate-stack:hover .plate-img.is-active,
.plate-stack:hover .plate-img.is-prev {
  filter: grayscale(0) contrast(1) brightness(1);
}

.plate-stack:hover ~ .plate-caption .works-hint,
.gallery-stage:hover .works-hint {
  opacity: .32;
}

/* =========================================================
   ACT 2 / IMPRINTS — dark network index × white coordinate wall
   ========================================================= */
.imprints-index {
  justify-content: center;
  padding: clamp(112px, 14svh, 148px) clamp(64px, 6.8vw, 108px) clamp(88px, 10svh, 112px) clamp(52px, 6.4vw, 96px);
}

.imprints-index .act-kicker {
  color: rgba(244, 243, 238, .62);
}

.imprint-asn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: clamp(26px, 4vh, 40px);
  color: inherit;
}

.imprint-asn-name {
  font-family: var(--font-serif);
  font-size: clamp(64px, 7.2vw, 108px);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: .88;
  transition: opacity .3s ease;
}

.imprint-asn-sub {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .55;
  transition: opacity .3s ease;
}

.imprint-asn:hover .imprint-asn-name,
.imprint-asn:focus-visible .imprint-asn-name {
  opacity: .72;
}

.imprint-list {
  position: relative;
  margin-top: clamp(30px, 4.4vh, 48px);
}

.imprint-row {
  display: grid;
  grid-template-columns: 2.4em minmax(0, 1fr) auto 1.4em;
  gap: 14px;
  align-items: baseline;
  padding: clamp(14px, 2.2vh, 20px) 0;
  border-bottom: 1px solid rgba(244, 243, 238, .13);
  transition: padding-left .45s var(--page-ease), opacity .3s ease;
}

.imprint-list:hover .imprint-row {
  opacity: .4;
}

.imprint-list:hover .imprint-row:hover,
.imprint-row:focus-visible {
  opacity: 1;
  padding-left: 10px;
}

.imprint-num {
  font-size: 11px;
  letter-spacing: .16em;
  opacity: .5;
  font-variant-numeric: tabular-nums;
}

.imprint-name {
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.1;
}

.imprint-role {
  font-size: 11px;
  letter-spacing: .12em;
  opacity: .55;
}

/* Architectural nameplate numerals: lining figures align on the baseline. */
.imprint-asn-name,
.wall-name,
.imprint-name {
  font-variant-numeric: lining-nums;
}

.imprint-arrow {
  justify-self: end;
  font-size: 13px;
  opacity: .5;
  transition: transform .35s var(--page-ease), opacity .3s ease;
}

.imprint-row:hover .imprint-arrow,
.imprint-row:focus-visible .imprint-arrow {
  opacity: 1;
}

/* right: white wall with the live AS218834 astrolabe */
.imprint-wall {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(56px, 7svh, 76px) clamp(40px, 4.4vw, 72px) clamp(36px, 4.6svh, 52px);
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
}

.imprint-orbit {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  top: clamp(112px, 13svh, 136px);
  bottom: clamp(158px, 19svh, 184px);
  pointer-events: none;
}

.imprint-astrolabe {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.imprint-ghost {
  position: absolute;
  right: -.08em;
  bottom: -.22em;
  font-family: var(--font-serif);
  font-size: clamp(240px, 27vw, 400px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: .8;
  color: rgba(6, 6, 6, .05);
  z-index: 0;
  pointer-events: none;
  user-select: none;
  transition: opacity .9s ease, scale .6s var(--page-ease);
}

.imprint-wall-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: auto;
  padding-top: clamp(12px, 1.8svh, 18px);
  border-top: 1px solid var(--hairline-dark);
  clip-path: inset(0 0 0 0);
  transition: opacity .28s ease, transform .45s var(--page-ease), clip-path .4s var(--page-ease);
}

/* The wall copy is clipped upward and develops back in, never a hard flash. */
.imprint-wall.is-swapping .imprint-wall-inner {
  opacity: 0;
  transform: translateY(-8px);
  clip-path: inset(0 0 100% 0);
}

.imprint-wall.is-swapping .imprint-ghost {
  opacity: .5;
  scale: .96;
}

.wall-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 clamp(10px, 1.6svh, 16px);
  font-size: 9.5px;
  letter-spacing: .2em;
  line-height: 1.4;
  text-transform: uppercase;
  color: rgba(6, 6, 6, .5);
}

.wall-pulse {
  width: 4px;
  height: 4px;
  flex: none;
  border-radius: 50%;
  background: currentColor;
  opacity: .6;
  animation: wall-pulse 2.8s var(--page-ease) infinite;
}

@keyframes wall-pulse {
  0%,
  100% {
    opacity: .28;
    transform: scale(.8);
  }

  50% {
    opacity: .85;
    transform: scale(1);
  }
}

.wall-name {
  margin: 0;
  overflow-wrap: anywhere;
  font-family: var(--font-serif);
  font-variant-numeric: lining-nums;
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.05;
}

.wall-note {
  margin: clamp(7px, 1.1svh, 11px) 0 0;
  font-size: 9.5px;
  letter-spacing: .14em;
  line-height: 1.7;
  text-transform: uppercase;
  color: rgba(6, 6, 6, .55);
}

/* =========================================================
   ACT 3 / ABOUT — mirrored closing portrait + colophon
   ========================================================= */
.about-visual {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: transparent;
}

.about-visual img {
  display: block;
  width: 120%;
  max-width: none;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: grayscale(1) contrast(1.08);
}

.about-copy {
  align-items: flex-start;
  padding: clamp(104px, 13svh, 140px) clamp(48px, 6vw, 104px) clamp(26px, 4vh, 40px) clamp(56px, 7vw, 120px);
}

.about-title {
  margin: clamp(26px, 4vh, 44px) 0 0;
  font-family: var(--font-serif);
  font-size: clamp(56px, 6.6vw, 104px);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: .88;
}

.about-title em {
  font-style: italic;
}

.about-bio {
  max-width: 27em;
  margin: clamp(26px, 3.6vh, 40px) 0 0;
  color: rgba(6, 6, 6, .68);
  font-size: 15px;
  line-height: 1.9;
}

.about-signature {
  display: block;
  width: clamp(150px, 14vw, 196px);
  height: auto;
  margin: clamp(26px, 4vh, 44px) 0 0 -4px;
  overflow: visible;
  cursor: pointer;
  transition: opacity .6s ease;
}

.about-signature:focus-visible {
  outline: 1px solid var(--hairline-dark-strong);
  outline-offset: 8px;
}

.about-signature path {
  fill: none;
  stroke: var(--page-ink);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  opacity: .84;
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 34px;
  margin-top: clamp(28px, 4vh, 44px);
}

.about-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 4px 0 7px;
  border-bottom: 1px solid var(--hairline-dark-strong);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: border-color .3s ease, gap .35s var(--page-ease), transform .35s var(--page-ease);
}

.about-links a:hover,
.about-links a:focus-visible {
  gap: 13px;
  border-bottom-color: currentColor;
}

.about-colophon {
  position: relative;
  width: 100%;
  margin-top: auto;
  padding-top: 18px;
  color: var(--page-muted-dark);
  font-size: 10px;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* Short desktop viewports keep the imprints act inside exactly one screen. */
@media (min-width: 901px) and (max-height: 740px) {
  .imprints-index {
    padding-top: clamp(88px, 12svh, 104px);
    padding-bottom: 72px;
  }

  .imprint-asn {
    margin-top: 22px;
  }

  .imprint-asn-name {
    font-size: clamp(56px, 6.4vw, 92px);
  }

  .imprint-list {
    margin-top: 24px;
  }

  .imprint-row {
    padding-top: clamp(11px, 1.8vh, 16px);
    padding-bottom: clamp(11px, 1.8vh, 16px);
  }
}

/* =========================================================
   CURTAIN CHOREOGRAPHY — single-trigger act entrances
   ========================================================= */
.mask-line {
  display: block;
  overflow: hidden;
  padding-bottom: .12em;
  margin-bottom: -.12em;
}

.mask-line > span {
  display: block;
  transition: transform 1.05s var(--page-ease);
}

.js-ready .act:not(.is-inview) .mask-line > span {
  transform: translate3d(0, 108%, 0);
}

.act-works .act-kicker .mask-line > span {
  transition-delay: .04s;
}

.act-works .work-item:nth-child(1) .mask-line > span {
  transition-delay: .16s;
}

.act-works .work-item:nth-child(2) .mask-line > span {
  transition-delay: .23s;
}

.act-works .work-item:nth-child(3) .mask-line > span {
  transition-delay: .3s;
}

.act-imprints .act-kicker .mask-line > span {
  transition-delay: .04s;
}

.act-imprints .imprint-asn-name.mask-line > span {
  transition-delay: .16s;
}

.act-about .act-kicker .mask-line > span {
  transition-delay: .04s;
}

.act-about .about-title .mask-line:nth-child(1) > span {
  transition-delay: .14s;
}

.act-about .about-title .mask-line:nth-child(2) > span {
  transition-delay: .22s;
}

/* 1px architectural rules draw from left to right */
.work-list::before,
.works-meta::before,
.plate-caption::before,
.imprint-list::before,
.about-colophon::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--hairline-light);
  transform: scaleX(1);
  transform-origin: left center;
  transition: transform .95s var(--page-ease);
}

.works-meta::before,
.plate-caption::before,
.about-colophon::before {
  background: var(--hairline-dark);
}

.work-list::before {
  transition-delay: .1s;
}

.works-meta::before {
  transition-delay: .02s;
}

.plate-caption::before {
  transition-delay: .3s;
}

.imprint-list::before {
  transition-delay: .14s;
}

.about-colophon::before {
  transition-delay: .34s;
}

.js-ready .act:not(.is-inview) .work-list::before,
.js-ready .act:not(.is-inview) .works-meta::before,
.js-ready .act:not(.is-inview) .plate-caption::before,
.js-ready .act:not(.is-inview) .imprint-list::before,
.js-ready .act:not(.is-inview) .about-colophon::before {
  transform: scaleX(0);
}

/* plate develops like a darkroom print on first entry */
.js-ready .act-works:not(.is-inview) .plate-stack {
  clip-path: inset(0 0 100% 0);
  transform: perspective(1100px) scale(1.06);
}

.act-works.is-inview .plate-stack {
  animation: plate-unveil 1.15s var(--page-ease);
}

@keyframes plate-unveil {
  from {
    clip-path: inset(0 0 100% 0);
    transform: perspective(1100px) scale(1.06);
  }

  to {
    clip-path: inset(0 0 0 0);
    transform: perspective(1100px) rotateX(0deg) rotateY(0deg) scale(1);
  }
}

/* supporting copy settles in after the rules and masks */
.work-active-panel {
  transition: opacity .55s ease, transform .75s var(--page-ease);
}

.js-ready .act-works:not(.is-inview) .work-active-panel {
  opacity: 0;
  transform: translateY(12px);
}

.works-fig,
.works-year,
.plate-caption-text,
.works-hint {
  transition: opacity .8s ease;
}

.js-ready .act-works:not(.is-inview) .works-fig,
.js-ready .act-works:not(.is-inview) .works-year,
.js-ready .act-works:not(.is-inview) .plate-caption-text,
.js-ready .act-works:not(.is-inview) .works-hint {
  opacity: 0;
}

.imprint-row {
  transition: padding-left .45s var(--page-ease), opacity .6s ease .08s, transform .75s var(--page-ease) .08s;
}

.js-ready .act-imprints:not(.is-inview) .imprint-row {
  opacity: 0;
  transform: translateY(12px);
}

.js-ready .act-imprints:not(.is-inview) .imprint-wall-inner {
  opacity: 0;
  transform: translateY(18px);
}

.js-ready .act-imprints:not(.is-inview) .imprint-ghost {
  opacity: 0;
  scale: .97;
}

.about-bio,
.about-links {
  transition: opacity .85s ease, transform .95s var(--page-ease);
}

.about-visual {
  transition: opacity 1.1s var(--page-ease);
}

.about-colophon {
  transition: opacity .8s ease .18s;
}

.js-ready .act-about:not(.is-inview) .about-bio,
.js-ready .act-about:not(.is-inview) .about-links,
.js-ready .act-about:not(.is-inview) .about-signature,
.js-ready .act-about:not(.is-inview) .about-visual,
.js-ready .act-about:not(.is-inview) .about-colophon {
  opacity: 0;
}

.js-ready .act-about:not(.is-inview) .about-bio,
.js-ready .act-about:not(.is-inview) .about-links {
  transform: translateY(14px);
}

/* Desktop-only depth parallax hooks (values written by site.js). */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .js-ready .about-visual img {
    margin-bottom: -14px;
    transform: translate3d(0, var(--about-shift, 0px), 0);
    will-change: transform;
  }

  .js-ready .imprint-ghost {
    transform: translate3d(0, var(--ghost-shift, 0px), 0);
  }

  .plate-img {
    transform: translate3d(var(--plate-px, 0px), var(--plate-py, 0px), 0);
    will-change: clip-path, scale, transform;
  }
}

/* =========================================================
   RELIABLE REVEAL MOTION (always completes to opacity: 1)
   ========================================================= */
/* =========================================================
   SCROLL INERTIA & MAGNETIC LINKS
   ========================================================= */
.work-links a,
.about-links a {
  transform: translate3d(var(--mag-x, 0px), var(--mag-y, 0px), 0);
}

/* Draggable globe — touch-free desktop only */
@media (min-width: 901px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .imprint-wall {
    cursor: grab;
    touch-action: none;
  }

  .imprint-wall.is-dragging {
    cursor: grabbing;
  }
}

/* =========================================================
   GALLERY CURSOR — desktop precision-pointer companion
   ========================================================= */
.gallery-cursor {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .gallery-cursor {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 60;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: 1px solid transparent;
    background: #f4f3ee;
    pointer-events: none;
    mix-blend-mode: difference;
    opacity: 0;
    transform: translate3d(var(--cursor-x, -100px), var(--cursor-y, -100px), 0) translate(-50%, -50%);
    transition: width .32s var(--page-ease), height .32s var(--page-ease), background-color .3s ease, border-color .3s ease, opacity .25s ease;
    will-change: transform, width, height;
  }

  .gallery-cursor.is-visible {
    opacity: .92;
  }

  .gallery-cursor.is-ring {
    width: 28px;
    height: 28px;
    background-color: transparent;
    border-color: rgba(244, 243, 238, .85);
  }

  .gallery-cursor.is-plate {
    width: 54px;
    height: 54px;
    background-color: transparent;
    border-color: rgba(244, 243, 238, .85);
  }

  .gallery-cursor-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8.5px;
    letter-spacing: .2em;
    text-indent: .2em;
    text-transform: uppercase;
    color: #f4f3ee;
    opacity: 0;
    transition: opacity .25s ease;
  }

  .gallery-cursor.is-plate .gallery-cursor-label {
    opacity: .92;
  }
}

/* Restrained shuttle on external-link arrows. */
@keyframes arrow-shuttle {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }

  42% {
    transform: translate3d(5px, -5px, 0);
    opacity: 0;
  }

  43% {
    transform: translate3d(-4px, 4px, 0);
    opacity: 0;
  }

  100% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

.work-links a > span[aria-hidden="true"],
.about-links a > span[aria-hidden="true"] {
  display: inline-block;
}

.work-links a:hover > span[aria-hidden="true"],
.work-links a:focus-visible > span[aria-hidden="true"],
.about-links a:hover > span[aria-hidden="true"],
.about-links a:focus-visible > span[aria-hidden="true"],
.imprint-row:hover .imprint-arrow,
.imprint-row:focus-visible .imprint-arrow {
  animation: arrow-shuttle .6s var(--page-ease);
}

/* =========================================================
   RESPONSIVE — <=900px single-column gallery
   ========================================================= */
@media (max-width: 900px) {
  .site-header {
    top: max(8px, env(safe-area-inset-top));
    right: 8px;
    left: 8px;
    min-height: 58px;
    padding: 16px 20px;
    border-radius: 17px 17px 0 0;
    background: rgba(8, 8, 8, .92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--page-white);
    mix-blend-mode: normal;
    transition: background .25s ease, color .25s ease;
    font-size: 10px;
  }

  .cinema-edition[data-header-tone="light"] .site-header {
    background: rgba(242, 241, 236, .92);
    color: var(--page-ink);
  }

  .brand {
    font-size: 13px;
  }

  .site-nav {
    gap: 12px;
    font-size: 10px;
    letter-spacing: .11em;
  }

  .journey {
    display: none;
  }

  .act {
    display: block;
    min-height: 0;
  }

  .act-grid {
    display: block;
    margin: 0;
  }

  /* ---- works: black index + paper plate wall ---- */
  .act-works {
    background: #060606;
    color: var(--page-paper);
  }

  .works-index {
    padding: 100px 24px 34px;
  }

  .work-list {
    display: flex;
    gap: 10px;
    margin-top: 34px;
  }

  .work-item {
    flex: 1 1 0;
    min-width: 0;
    display: block;
    opacity: 1;
    border-bottom: 0;
  }

  .work-item::before {
    display: none;
  }

  .work-name.mask-line {
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .work-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid rgba(244, 243, 238, .16);
    transform: none;
  }

  .work-item.is-active .work-row {
    border-bottom-color: var(--page-paper);
  }

  .work-item:not(.is-active) .work-row {
    opacity: .5;
  }

  .work-row:hover,
  .work-row:focus-visible {
    transform: none;
  }

  .work-num {
    padding-top: 0;
    font-size: 9.5px;
    letter-spacing: .08em;
  }

  .work-main {
    display: block;
    min-width: 0;
  }

  .work-name {
    font-size: 13.5px;
    line-height: 1.25;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .work-kind {
    display: none;
  }

  .work-active-panel {
    min-height: 0;
    margin-top: 22px;
  }

  .work-desc {
    max-width: 30em;
    margin-bottom: 16px;
    font-size: 13.5px;
    color: rgba(244, 243, 238, .62);
  }

  .work-links a {
    border-bottom-color: rgba(244, 243, 238, .4);
  }

  .gallery-stage {
    display: block;
    padding: 34px 24px 96px;
    background: var(--page-paper);
    color: var(--page-ink);
  }

  .works-meta,
  .plate-caption {
    color: rgba(6, 6, 6, .55);
  }

  .works-meta {
    padding-top: 12px;
    border-top-color: var(--hairline-dark);
  }

  .plate-slot {
    display: block;
    margin-top: 22px;
  }

  .plate-stack {
    width: 100%;
    max-width: none;
    aspect-ratio: 3 / 2;
    background: var(--page-paper);
  }

  .plate-img {
    object-fit: cover;
    object-position: top center;
    filter: grayscale(.22) contrast(1.03) brightness(.96);
  }

  .plate-stack:hover .plate-img.is-active {
    filter: grayscale(.22) contrast(1.03) brightness(.96);
  }

  .plate-caption {
    margin-top: 18px;
    border-top-color: var(--hairline-dark);
  }

  .works-hint {
    display: none;
  }

  /* ---- imprints: one black column ---- */
  .act-imprints {
    background: #060606;
    color: var(--page-paper);
  }

  .imprints-index {
    padding: 100px 24px 96px;
  }

  .imprint-asn {
    margin-top: 30px;
  }

  .imprint-asn-name {
    font-size: clamp(56px, 15vw, 72px);
  }

  .imprint-list {
    margin-top: 34px;
  }

  .imprint-row {
    grid-template-columns: 2em minmax(0, 1fr) auto 1em;
    gap: 10px;
    padding: 16px 0;
  }

  .imprint-name {
    font-size: clamp(18px, 5.4vw, 24px);
  }

  .imprint-wall {
    display: flex;
    height: 260px;
    min-height: 260px;
    padding: 0 24px 18px;
    background: var(--page-paper);
    color: var(--page-ink);
  }

  .imprint-orbit {
    top: 0;
    bottom: 96px;
  }

  .imprint-wall-inner {
    padding-top: 10px;
  }

  .imprint-wall .wall-kicker {
    margin-bottom: 7px;
    font-size: 8px;
    letter-spacing: .16em;
  }

  .imprint-wall .wall-name {
    font-size: clamp(24px, 7.4vw, 30px);
  }

  .imprint-wall .wall-note {
    margin-top: 5px;
    font-size: 7.5px;
    letter-spacing: .1em;
    line-height: 1.5;
  }

  .imprint-wall .imprint-ghost {
    display: none;
  }

  /* ---- about: paper copy + full-bleed portrait frame ---- */
  .act-about {
    background: var(--page-paper);
    color: var(--page-ink);
  }

  .act-about .act-grid {
    display: flex;
    flex-direction: column;
  }

  .about-copy {
    order: 1;
    width: 100%;
    padding: 100px 24px 0;
  }

  .about-title {
    margin-top: 26px;
    font-size: clamp(48px, 14vw, 68px);
  }

  .about-bio {
    margin-top: 24px;
    font-size: 14.5px;
  }

  .about-signature {
    width: 150px;
    margin-top: 30px;
  }

  .about-links {
    margin-top: 30px;
    gap: 18px 26px;
  }

  .about-colophon {
    margin-top: 44px;
    padding-bottom: 0;
  }

  .about-visual {
    order: 2;
    width: 100%;
    margin-top: 52px;
    aspect-ratio: 4 / 4.2;
    max-height: 62svh;
    padding: 8% 0 0;
    background: #060606;
  }

  .about-visual img {
    width: 102%;
    transform: scale(1.02);
    transform-origin: center bottom;
  }
}

/* Mobile hero corner controls: mobile-hero.css loads first, so re-assert the
   small-screen positioning here to win the cascade. */
@media (max-width: 760px) {
  #home .home-scroll {
    left: auto;
    right: var(--mobile-gutter, 24px);
    bottom: var(--mobile-bottom, 24px);
    gap: 7px;
    font-size: 9.5px;
    letter-spacing: .14em;
    color: #9a9992;
  }

  #home .home-credit {
    display: none;
  }
}

@media (hover: none), (pointer: coarse) {
  .plate-img {
    filter: grayscale(.22) contrast(1.03) brightness(.96);
  }

  .plate-stack:hover .plate-img.is-active {
    filter: grayscale(.22) contrast(1.03) brightness(.96);
  }

  .works-hint {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .gallery-cursor {
    display: none !important;
  }

  .js-ready .reveal,
  .js-ready .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .js-ready .act:not(.is-inview) .mask-line > span,
  .js-ready .act:not(.is-inview) .work-active-panel,
  .js-ready .act:not(.is-inview) .imprint-row,
  .js-ready .act:not(.is-inview) .imprint-wall-inner,
  .js-ready .act:not(.is-inview) .imprint-ghost,
  .js-ready .act:not(.is-inview) .about-bio,
  .js-ready .act:not(.is-inview) .about-links,
  .js-ready .act:not(.is-inview) .about-signature,
  .js-ready .act:not(.is-inview) .about-visual,
  .js-ready .act:not(.is-inview) .about-colophon,
  .js-ready .act:not(.is-inview) .works-fig,
  .js-ready .act:not(.is-inview) .works-year,
  .js-ready .act:not(.is-inview) .plate-caption-text,
  .js-ready .act:not(.is-inview) .works-hint {
    opacity: 1;
    transform: none;
    clip-path: none;
    transition: none;
  }

  .mask-line > span {
    transform: none;
    transition: none;
  }

  .work-list::before,
  .works-meta::before,
  .plate-caption::before,
  .imprint-list::before,
  .about-colophon::before {
    transform: scaleX(1);
    transition: none;
  }

  .plate-stack {
    clip-path: none;
    transform: none;
    transition: none;
  }

  .plate-img,
  .plate-img.is-active,
  .plate-img.is-prev {
    animation: none;
    transition: none;
    clip-path: inset(0);
    scale: 1;
    translate: none;
    transform: none;
  }

  .js-ready .act:not(.is-inview) .work-list::before,
  .js-ready .act:not(.is-inview) .works-meta::before,
  .js-ready .act:not(.is-inview) .plate-caption::before,
  .js-ready .act:not(.is-inview) .imprint-list::before,
  .js-ready .act:not(.is-inview) .about-colophon::before {
    transform: scaleX(1);
    transition: none;
  }

  .js-ready .act-works:not(.is-inview) .plate-stack,
  .act-works.is-inview .plate-stack {
    clip-path: none;
    transform: none;
    animation: none;
  }

  .plate-shutter {
    display: none;
  }

  #works .plate-slot,
  #imprints .imprint-list,
  #about .about-copy,
  .work-links a,
  .about-links a {
    transform: none;
  }

  .wall-pulse {
    animation: none;
    opacity: .6;
  }

  .imprint-wall.is-swapping .imprint-wall-inner {
    clip-path: none;
    opacity: 1;
    transform: none;
  }

  .imprint-ghost,
  .imprint-wall.is-swapping .imprint-ghost {
    scale: 1;
    transition: none;
  }

  .plate-img:not(.is-active):not(.is-prev) {
    opacity: 0;
  }

  .work-item::before {
    transition: none;
  }

  .about-visual img,
  #home .hero-canvas {
    transform: none;
    translate: none;
    transition: none;
  }

  .imprint-wall-inner {
    clip-path: none;
    transition: none;
  }

  .imprint-ghost {
    scale: 1;
    transform: none;
    transition: none;
  }

  .work-links a:hover > span[aria-hidden="true"],
  .work-links a:focus-visible > span[aria-hidden="true"],
  .about-links a:hover > span[aria-hidden="true"],
  .about-links a:focus-visible > span[aria-hidden="true"],
  .imprint-row:hover .imprint-arrow,
  .imprint-row:focus-visible .imprint-arrow {
    animation: none;
  }

  .work-row,
  .imprint-row,
  .work-item::before,
  .about-signature {
    transition: none;
  }
}
