:root {
  color-scheme: light;
  --wall: rgb(248, 248, 246);
  --ink: #232320;
  --ink-soft: #4a4a46;
  --muted: #70716b;
  --line: rgba(35, 35, 32, 0.16);
  --line-strong: rgba(35, 35, 32, 0.28);
  --field: #eeeeea;
  --nav: rgba(248, 248, 246, 0.88);
  --shadow: 0 28px 86px rgba(35, 35, 32, 0.2);
  --page-x: clamp(20px, 5vw, 76px);
  --font-display: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", Georgia, "Times New Roman", serif;
  --font-body: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "Noto Serif SC", serif;
  --font-ui: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--wall);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.58;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body.is-lightbox-open {
  overflow: hidden;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

button,
input,
textarea {
  font: inherit;
}

@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor,
  body.has-custom-cursor * {
    cursor: none !important;
  }
}

.site-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(248, 248, 246, 0.82);
  border-radius: 50%;
  background: rgba(248, 248, 246, 0.06);
  box-shadow:
    0 0 0 1px rgba(35, 35, 32, 0.2),
    0 12px 36px rgba(0, 0, 0, 0.18);
  mix-blend-mode: difference;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.site-cursor::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(248, 248, 246, 0.92);
  content: "";
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 160ms ease;
}

.site-cursor.is-visible {
  opacity: 1;
}

.site-cursor.is-hovering {
  border-color: rgba(248, 248, 246, 0.96);
  background: rgba(248, 248, 246, 0.14);
}

.site-cursor.is-hovering::after {
  opacity: 0.62;
}

.brand,
.nav-links a,
.album-tile,
.contact-form button,
.icon-button,
.text-link {
  transform: translate3d(var(--magnet-x, 0), var(--magnet-y, 0), 0);
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 120;
  transform: translateY(-160%);
  border: 1px solid var(--ink);
  padding: 8px 12px;
  background: var(--wall);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 13px;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 18%, rgba(35, 35, 32, 0.035), transparent 24%),
    repeating-linear-gradient(90deg, rgba(35, 35, 32, 0.018), rgba(35, 35, 32, 0.018) 1px, transparent 1px, transparent 4px);
  opacity: 0.32;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  border-bottom: 1px solid var(--line);
  padding: 0 var(--page-x);
  background: var(--nav);
  backdrop-filter: blur(6px);
  font-family: var(--font-ui);
  transition:
    opacity 180ms ease,
    transform 220ms ease,
    border-color 180ms ease;
  will-change: transform;
}

body.is-nav-hidden .top-nav,
body.is-about-nav-hidden .top-nav {
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, -100%, 0);
}

body.is-world-nav .top-nav {
  border-bottom-color: rgba(248, 248, 246, 0.13);
  background: rgba(8, 9, 8, 0.2);
  color: var(--wall);
}

body.is-world-nav .brand,
body.is-world-nav .nav-links a:hover,
body.is-world-nav .nav-links a[aria-current="page"] {
  color: var(--wall);
}

body.is-world-nav .nav-links {
  color: rgba(248, 248, 246, 0.72);
}

.brand {
  flex: 0 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 500;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2.6vw, 34px);
  overflow-x: auto;
  color: var(--ink-soft);
  font-size: 14px;
  white-space: nowrap;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  border-bottom: 1px solid transparent;
  padding: 6px 0;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-color: currentColor;
  color: var(--ink);
}

.content-flow {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.content-section {
  position: relative;
  z-index: 1;
  padding: clamp(72px, 9vw, 136px) var(--page-x);
  border-bottom: 1px solid var(--line);
}

.content-section:last-child {
  border-bottom: 0;
}

.section-kicker {
  margin: 0 0 16px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 880px;
  margin-bottom: clamp(38px, 6vw, 80px);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.98;
  text-wrap: balance;
}

h1 {
  font-size: clamp(72px, 15vw, 190px);
}

h2 {
  font-size: clamp(46px, 8vw, 112px);
}

h3 {
  font-size: clamp(44px, 7vw, 104px);
}

p {
  margin: 0;
}

.home-section {
  --home-content-opacity: 1;
  --home-content-scale: 1;
  --home-content-z: 0px;
  --home-content-blur: 0px;
  --home-origin-x: 50vw;
  --home-origin-y: 50vh;
  display: grid;
  align-items: end;
  gap: clamp(44px, 7vw, 96px);
  position: relative;
  min-height: 100svh;
  border-bottom: 0;
  overflow: hidden;
  background: transparent;
  color: var(--wall);
  isolation: isolate;
}

.world-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #08090b;
  pointer-events: none;
}

.world-backdrop::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 58% 40%, rgba(248, 248, 246, 0.12), transparent 34%),
    linear-gradient(90deg, rgba(8, 9, 8, 0.52), rgba(8, 9, 8, 0.22) 46%, rgba(8, 9, 8, 0.42)),
    linear-gradient(0deg, rgba(8, 8, 7, 0.48), transparent 38%);
}

.world-backdrop-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 100dvh;
}

.world-photo-label {
  --world-label-x: 50vw;
  --world-label-y: 50vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(52vw, 520px);
  color: rgba(248, 248, 246, 0.96);
  font-family: var(--font-ui);
  font-size: clamp(12px, 1.05vw, 15px);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: 0.01em;
  opacity: 0;
  pointer-events: none;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.88),
    0 8px 24px rgba(0, 0, 0, 0.72);
  transform: translate3d(var(--world-label-x), var(--world-label-y), 0);
  transition: opacity 160ms ease;
}

.world-photo-label::before {
  display: block;
  flex: 0 0 clamp(92px, 12vw, 180px);
  height: 1px;
  background: rgba(248, 248, 246, 0.84);
  box-shadow: 0 0 18px rgba(248, 248, 246, 0.16);
  content: "";
}

.world-photo-label[data-state="active"] {
  opacity: 1;
}

.world-photo-label span {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

body.is-world-interactive .world-backdrop {
  pointer-events: auto;
}

body.is-world-interactive .world-backdrop-canvas {
  cursor: grab;
}

body.is-world-interactive .world-backdrop-canvas.is-dragging {
  cursor: grabbing;
}

body:not(.is-world-interactive) .world-backdrop-canvas {
  pointer-events: none;
}

body.is-world-interactive .content-flow {
  pointer-events: none;
}

body.is-world-interactive .portfolio-section,
body.is-world-interactive .contact-section {
  pointer-events: auto;
}

.home-foreground {
  position: fixed;
  inset: 0;
  z-index: 2;
  display: grid;
  align-content: end;
  gap: clamp(16px, 3vw, 30px);
  padding: clamp(72px, 9vw, 136px) var(--page-x) clamp(68px, 14vh, 156px);
  opacity: var(--home-content-opacity);
  filter: blur(var(--home-content-blur));
  transform: perspective(980px) translate3d(0, 0, var(--home-content-z)) scale(var(--home-content-scale));
  transform-origin: var(--home-origin-x) var(--home-origin-y);
  pointer-events: none;
  will-change: opacity, filter, transform;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(30px, 6vw, 88px);
  align-items: center;
}

.home-statement {
  display: grid;
  gap: 24px;
  max-width: 940px;
}

.home-section .section-kicker {
  color: rgba(248, 248, 246, 0.7);
}

.home-section h1,
.home-section h2,
.home-section h3 {
  color: var(--wall);
}

.home-statement p,
.section-heading p,
.artist-text p,
.contact-heading p {
  max-width: 66ch;
  color: var(--ink-soft);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.76;
  text-wrap: pretty;
}

.home-statement p {
  color: rgba(248, 248, 246, 0.82);
}

.text-link {
  width: max-content;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  color: var(--ink);
  font-weight: 700;
}

.portal-entry {
  position: relative;
  display: block;
  width: 100%;
  min-height: clamp(360px, 58svh, 660px);
  border: 0;
  padding: 0;
  overflow: hidden;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  isolation: isolate;
  text-align: left;
}

.portal-entry::before {
  position: absolute;
  inset: 8% -8% 6% 6%;
  z-index: -1;
  content: "";
  border-top: 1px solid rgba(35, 35, 32, 0.16);
  border-bottom: 1px solid rgba(35, 35, 32, 0.1);
  transform: skewY(-6deg);
}

.portal-entry-canvas,
.portal-field-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.portal-entry-canvas {
  min-height: clamp(360px, 58svh, 660px);
}

.portal-entry-label,
.portal-entry-copy,
.portal-entry-controls {
  position: absolute;
  left: clamp(12px, 2vw, 26px);
  z-index: 2;
  font-family: var(--font-mono);
}

.portal-entry-label {
  bottom: clamp(42px, 7vw, 76px);
  color: var(--ink);
  font-size: 12px;
  text-transform: uppercase;
}

.portal-entry-copy {
  right: clamp(12px, 2vw, 26px);
  bottom: clamp(38px, 5vw, 56px);
  color: var(--ink-soft);
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.5;
}

.portal-entry-controls {
  right: clamp(12px, 2vw, 26px);
  bottom: clamp(12px, 2vw, 22px);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
  text-transform: uppercase;
}

.portal-entry:hover .portal-entry-copy,
.portal-entry:focus-visible .portal-entry-copy {
  color: var(--ink);
}

.portal-entry:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 8px;
}

.portal-fallback {
  position: absolute;
  right: clamp(14px, 3vw, 36px);
  bottom: clamp(14px, 3vw, 36px);
  z-index: 3;
  max-width: 26ch;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 13px;
  line-height: 1.5;
}

.is-portal-ready .portal-fallback {
  opacity: 0;
  pointer-events: none;
}

.is-portal-failed .portal-fallback {
  opacity: 1;
  pointer-events: auto;
}

.portal-section {
  position: relative;
  min-height: 100dvh;
  margin-top: -1px;
  overflow: hidden;
  padding: 0;
  border-top: 0;
  background: transparent;
  isolation: isolate;
  pointer-events: none;
}

.portal-field-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 100dvh;
  cursor: grab;
}

.portal-field-canvas.is-dragging {
  cursor: grabbing;
}

.world-hud {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(240px, 420px) minmax(220px, 360px);
  grid-template-rows: auto 1fr auto;
  align-content: stretch;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 28px);
  min-height: 0;
  padding: clamp(94px, 10vw, 132px) var(--page-x) clamp(24px, 4vw, 48px);
  pointer-events: none;
}

.world-panel {
  pointer-events: none;
  border: 0;
  background: transparent;
  color: var(--wall);
  backdrop-filter: none;
}

.world-intro {
  grid-column: 1;
  align-self: start;
  padding: 0;
}

.portal-scene-entry {
  display: inline-block;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(248, 248, 246, 0.52);
  padding-bottom: 3px;
  color: var(--wall);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.2;
  opacity: 0.62;
  pointer-events: auto;
  text-transform: uppercase;
}

.portal-scene-entry:hover,
.portal-scene-entry:focus-visible {
  border-color: var(--wall);
}

.world-intro h2 {
  color: var(--wall);
  font-size: clamp(34px, 5vw, 70px);
}

.world-intro p:not(.section-kicker) {
  color: rgba(248, 248, 246, 0.76);
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.7;
}

.world-hint {
  position: absolute;
  left: 50%;
  bottom: clamp(28px, 5svh, 64px);
  z-index: 2;
  margin: 0;
  color: rgba(248, 248, 246, 0.58);
  font-family: var(--font-ui);
  font-size: clamp(12px, 1vw, 14px);
  letter-spacing: 0.08em;
  line-height: 1.2;
  pointer-events: none;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.68);
  transform: translateX(-50%);
  white-space: nowrap;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

body.has-world-photo-selection .world-hint {
  opacity: 0;
  transform: translateX(-50%) translateY(6px);
}

.portal-fallback-field {
  top: auto;
  left: var(--page-x);
  right: auto;
}

.portfolio-section {
  padding-right: var(--page-x);
  background: var(--wall);
  overflow-x: clip;
}

.album-sections {
  display: grid;
  gap: clamp(70px, 9vw, 132px);
}

.album-section {
  --album-radius: clamp(12px, 1.1vw, 18px);
  --album-preview-height: clamp(660px, 72svh, 840px);
  --album-watermark-size: clamp(72px, 5.4vw, 96px);
  display: grid;
  gap: clamp(18px, 2.4vw, 30px);
  align-content: start;
  position: relative;
  isolation: isolate;
  padding-top: clamp(86px, 8vw, 108px);
}

.album-spread {
  position: relative;
  z-index: 1;
  isolation: isolate;
  display: grid;
  gap: clamp(16px, 2.2vw, 28px);
  align-content: start;
  overflow: hidden;
  border: 1px solid rgba(35, 35, 32, 0.14);
  border-radius: var(--album-radius);
  padding: clamp(24px, 2.7vw, 42px);
  background: rgba(248, 248, 246, 0.9);
  cursor: pointer;
  transform: translate3d(0, 0, 0);
  transition:
    border-color 220ms ease,
    background 220ms ease,
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.album-watermark {
  position: absolute;
  top: clamp(14px, 2.2vw, 26px);
  left: clamp(28px, 5vw, 76px);
  z-index: 0;
  max-width: calc(100% - clamp(56px, 10vw, 152px));
  color: rgba(35, 35, 32, 0.06);
  font-family: var(--font-display);
  font-size: var(--album-watermark-size);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: 0;
  white-space: nowrap;
  pointer-events: none;
  transform: none;
}

.album-section:not([data-album-expanded="true"]) .album-spread:hover,
.album-section:not([data-album-expanded="true"]) .album-spread:focus-within {
  border-color: rgba(35, 35, 32, 0.2);
  background: rgba(248, 248, 246, 0.92);
  transform: translate3d(0, -10px, 0);
}

.album-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.album-label {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
}

.album-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid rgba(35, 35, 32, 0.2);
  border-radius: var(--album-radius);
  padding: 8px 13px 9px 15px;
  background: rgba(255, 255, 255, 0.34);
  color: var(--ink-soft);
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 13px;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.album-toggle::after {
  content: "+";
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1;
}

.album-toggle:hover,
.album-toggle:focus-visible {
  border-color: rgba(35, 35, 32, 0.36);
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  outline: 0;
  transform: translate3d(0, -1px, 0);
}

.album-masonry {
  --masonry-columns: 5;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(var(--masonry-columns), minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 22px);
  align-items: start;
  width: 100%;
  max-height: var(--album-preview-height);
  overflow: hidden;
  transition: max-height 720ms cubic-bezier(0.19, 1, 0.22, 1);
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
}

.album-section:not([data-album-expanded="true"]) .album-masonry {
  pointer-events: auto;
}

.album-section[data-album-expanded="true"] .album-masonry {
  max-height: 9000px;
  -webkit-mask-image: none;
  mask-image: none;
}

.album-section[data-album-expanded="true"] .album-toggle {
  opacity: 0;
  pointer-events: none;
}

.album-section[data-album-expanded="true"] .album-spread {
  cursor: default;
}

.album-section:not([data-album-expanded="true"]) .album-tile {
  cursor: pointer;
}

.album-column {
  display: grid;
  gap: clamp(12px, 1.6vw, 22px);
  align-content: start;
  min-width: 0;
}

.album-tile {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: var(--ratio, 4 / 3);
  height: auto;
  min-height: 0;
  border: 0;
  padding: 0;
  overflow: hidden;
  border-radius: var(--album-radius);
  background:
    linear-gradient(135deg, rgba(35, 35, 32, 0.045), rgba(35, 35, 32, 0.018)),
    var(--field);
  color: inherit;
  cursor: zoom-in;
  text-align: left;
}

.album-tile::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(248, 248, 246, 0.42), transparent);
  content: "";
  opacity: 0.44;
  transform: translateX(-42%);
  transition: opacity 220ms ease;
}

.album-tile.is-image-ready::before {
  opacity: 0;
}

.album-tile img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: contain;
  opacity: 0;
  transform: translateZ(0);
  transition:
    opacity 220ms ease,
    filter 180ms ease,
    transform 180ms ease;
}

.album-tile.is-image-ready img {
  opacity: 1;
}

.album-tile:hover img {
  filter: brightness(0.94) contrast(1.04);
  transform: scale(1.012);
}

.album-tile:active img {
  transform: scale(0.992);
}

.album-guide {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(96px, 0.18fr) minmax(280px, 0.82fr);
  gap: clamp(18px, 3vw, 42px);
  max-width: min(960px, 100%);
  border-top: 1px solid var(--line);
  padding: clamp(14px, 2vw, 22px) 0 0;
  color: var(--ink-soft);
}

.album-guide span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
}

.album-guide p {
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.45vw, 18px);
  line-height: 1.86;
  text-wrap: pretty;
}

.artist-statement {
  display: grid;
  gap: clamp(24px, 4vw, 52px);
  max-width: min(1260px, calc(100vw - var(--page-x) * 2));
  margin-bottom: clamp(54px, 8vw, 112px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(28px, 5vw, 62px) 0;
  overflow: visible;
}

.keyword-marquee {
  --keyword-left: -30vw;
  --keyword-right: -62vw;
  position: relative;
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  width: auto;
  min-height: clamp(300px, 46svh, 560px);
  margin: 0 calc(var(--page-x) * -1) clamp(40px, 6vw, 82px) calc(var(--page-x) * -1);
  overflow: hidden;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: var(--wall);
}

.keyword-row {
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: hidden;
}

.keyword-row + .keyword-row {
  border-top: 1px solid var(--line-strong);
}

.keyword-stream {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: clamp(18px, 4vw, 60px);
  min-width: max-content;
  padding-right: clamp(18px, 4vw, 60px);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(92px, 18vw, 280px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.86;
  white-space: nowrap;
  transform: translate3d(var(--keyword-shift, 0), 0, 0);
  transition: transform 80ms linear;
  will-change: transform;
}

.keyword-row--left .keyword-stream {
  --keyword-shift: var(--keyword-left);
}

.keyword-row--right .keyword-stream {
  --keyword-shift: var(--keyword-right);
}

.keyword-stream span {
  flex: 0 0 auto;
}

.keyword-stream strong,
.keyword-stream em {
  font: inherit;
  letter-spacing: 0;
}

.keyword-stream strong {
  color: var(--ink);
  font-weight: 680;
}

.keyword-stream em {
  color: rgba(35, 35, 32, 0.16);
  font-style: normal;
  font-weight: 500;
}

.contact-section {
  display: block;
  padding: 0;
  border-bottom: 0;
  background: var(--wall);
}

.about-cinema {
  position: relative;
  min-height: 280svh;
  background: var(--wall);
  isolation: isolate;
}

.about-cinema-stage {
  --about-image-width: min(46vw, 760px);
  --about-image-height: min(48svh, 441px);
  --about-radius: 5px;
  --about-overlay: 0.08;
  --about-copy-opacity: 0;
  --about-copy-y: 18px;
  position: sticky;
  top: 0;
  display: grid;
  place-items: center;
  height: 100svh;
  overflow: hidden;
}

.about-cinema-stage::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(0deg, rgba(14, 14, 12, var(--about-overlay)), rgba(14, 14, 12, calc(var(--about-overlay) * 0.62))),
    radial-gradient(circle at 50% 42%, rgba(248, 248, 246, 0.04), transparent 46%);
}

.about-cinema-media {
  position: relative;
  z-index: 1;
  width: var(--about-image-width);
  height: var(--about-image-height);
  margin: 0;
  overflow: hidden;
  border-radius: var(--about-radius);
  background: #d9d9d3;
  box-shadow: 0 22px 80px rgba(35, 35, 32, calc(0.06 + var(--about-progress, 0) * 0.16));
  transform: translate3d(0, 0, 0);
}

.about-cinema-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  filter: saturate(0.96) brightness(calc(1 - var(--about-progress, 0) * 0.18));
  transform: scale(calc(1 + var(--about-progress, 0) * 0.035));
}

.about-cinema-copy {
  position: absolute;
  right: var(--page-x);
  bottom: clamp(28px, 6vh, 70px);
  left: var(--page-x);
  z-index: 3;
  color: var(--wall);
  opacity: var(--about-copy-opacity);
  transform: translate3d(0, var(--about-copy-y), 0);
  transition: opacity 120ms linear;
}

.about-cinema-copy::before {
  display: block;
  width: 100%;
  height: 1px;
  margin-bottom: clamp(18px, 3vw, 32px);
  background: rgba(248, 248, 246, 0.62);
  content: "";
}

.about-cinema-copy-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(340px, 0.45fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: end;
}

.about-cinema-copy h2 {
  color: var(--wall);
  font-size: clamp(58px, 9vw, 150px);
  line-height: 0.9;
}

.about-location {
  display: grid;
  gap: 0.04em;
  max-width: none;
  color: rgba(248, 248, 246, 0.9);
  font-family: var(--font-ui);
  font-size: clamp(28px, 4vw, 58px);
  font-weight: 700;
  line-height: 1.14;
  text-wrap: balance;
}

.about-location p {
  max-width: none;
  margin: 0;
  white-space: nowrap;
}

.contact-shell {
  display: grid;
  gap: clamp(26px, 4vw, 56px);
  place-items: center;
  align-content: center;
  min-height: 100svh;
  padding: clamp(72px, 9vw, 136px) var(--page-x);
  border-top: 1px solid var(--line);
  text-align: center;
}

.contact-combined-heading {
  display: grid;
  gap: 12px;
  justify-items: center;
  max-width: 920px;
}

.contact-form-panel {
  display: grid;
  gap: 18px;
  justify-items: center;
  width: min(100%, 760px);
}

.artist-text {
  display: grid;
  gap: 24px;
  max-width: 960px;
}

.work-pullquote {
  max-width: min(1120px, 100%);
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 66px);
  line-height: 1.16;
  text-wrap: balance;
}

.line-wrapper {
  display: block;
  overflow: hidden;
  padding-bottom: 0.03em;
}

.line-inner {
  display: block;
  transform: translate3d(0, 112%, 0);
  will-change: transform;
}

.work-pullquote .line-wrapper {
  margin-bottom: 0.05em;
}

.work-pullquote .line-inner {
  white-space: normal;
}

.artist-text p .line-wrapper + .line-wrapper {
  margin-top: 0.22em;
}

.contact-heading {
  justify-items: center;
  margin-bottom: 0;
  text-align: center;
}

.contact-heading p {
  margin-inline: auto;
}

.contact-form {
  position: relative;
  display: grid;
  gap: 18px;
  justify-items: center;
  width: min(100%, 720px);
  border-top: 1px solid var(--line-strong);
  padding-top: 18px;
}

.form-status {
  width: 100%;
  min-height: 26px;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 14px;
  text-align: center;
}

.form-status[data-state="success"] {
  color: var(--ink);
}

.form-status[data-state="error"] {
  color: #6b2821;
}

.form-fields {
  position: relative;
  display: grid;
  gap: 18px;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  padding: clamp(16px, 3vw, 28px);
  background: rgba(248, 248, 246, 0.68);
  text-align: left;
  transform-origin: 50% 100%;
  will-change: opacity, transform, filter;
}

.contact-form label {
  display: grid;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.contact-form label span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(35, 35, 32, 0.18);
  border-radius: 0;
  padding: 11px 12px 12px;
  background: rgba(255, 255, 255, 0.32);
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--ink);
}

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form button {
  position: relative;
  width: max-content;
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--wall);
  cursor: pointer;
  font-family: var(--font-ui);
  overflow: hidden;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.contact-form button:hover {
  background: transparent;
  color: var(--ink);
}

.contact-form button:active {
  transform: translateY(1px) scale(0.99);
}

.contact-form button:disabled {
  cursor: progress;
  opacity: 0.62;
}

.contact-form.is-absorbing .form-fields {
  animation: form-absorb 760ms cubic-bezier(0.18, 0.74, 0.24, 1) both;
}

.contact-form.is-absorbing button {
  animation: submit-pulse 760ms cubic-bezier(0.18, 0.74, 0.24, 1) both;
}

.contact-form.is-submitted .form-fields {
  display: none;
}

@keyframes form-absorb {
  0% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
  }

  70% {
    opacity: 0.56;
    filter: blur(0.4px);
    transform: translate3d(0, 34px, 0) scale(0.58);
  }

  100% {
    opacity: 0;
    filter: blur(1.2px);
    transform: translate3d(0, 74px, 0) scale(0.1);
  }
}

@keyframes submit-pulse {
  0% {
    transform: translate3d(var(--magnet-x, 0), var(--magnet-y, 0), 0) scale(1);
  }

  54% {
    transform: translate3d(var(--magnet-x, 0), var(--magnet-y, 0), 0) scale(1.06);
  }

  100% {
    transform: translate3d(var(--magnet-x, 0), var(--magnet-y, 0), 0) scale(1);
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  padding: 28px;
  background: rgba(35, 35, 32, 0);
  transition: background 260ms ease;
}

.lightbox.is-open {
  background: rgba(35, 35, 32, 0.94);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-stage {
  position: fixed;
  z-index: 101;
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: zoom-out;
  transform-origin: top left;
  backface-visibility: hidden;
  contain: paint;
  will-change: transform;
  transition: transform 520ms cubic-bezier(0.19, 1, 0.22, 1);
}

.lightbox-stage[hidden] {
  display: none;
}

.lightbox-stage img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  box-shadow: none;
  transform: translateZ(0);
}

.lightbox-preview {
  opacity: 1;
}

.lightbox-full {
  opacity: 0;
  transition: opacity 180ms ease;
}

.lightbox-full.is-ready {
  opacity: 1;
}

.is-lightbox-source {
  visibility: hidden;
}

.lightbox-bar {
  position: absolute;
  top: 18px;
  right: 18px;
  left: 18px;
  z-index: 102;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  opacity: 0;
  transition: opacity 180ms ease;
}

.lightbox.is-open .lightbox-bar {
  opacity: 1;
}

.lightbox.is-closing .lightbox-bar {
  pointer-events: none;
}

.lightbox-nav {
  position: fixed;
  inset: 0;
  z-index: 102;
  pointer-events: none;
}

.lightbox-arrow {
  position: fixed;
  top: 50%;
  display: grid;
  place-items: center;
  width: clamp(34px, 3vw, 48px);
  height: clamp(58px, 8svh, 92px);
  border: 0;
  background: transparent;
  color: rgba(248, 248, 246, 0.68);
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 200;
  line-height: 1;
  opacity: 0;
  pointer-events: auto;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.74);
  transform: translateY(-50%);
  transition:
    color 160ms ease,
    opacity 180ms ease,
    transform 180ms ease;
}

.lightbox-arrow--prev {
  left: clamp(18px, 4vw, 72px);
}

.lightbox-arrow--next {
  right: clamp(18px, 4vw, 72px);
}

.lightbox.is-open:not(.is-single) .lightbox-arrow {
  opacity: 0.78;
}

.lightbox-arrow:hover,
.lightbox-arrow:focus-visible {
  color: var(--wall);
  transform: translateY(-50%) scale(1.08);
}

.lightbox.is-single .lightbox-nav,
.lightbox.is-closing .lightbox-nav {
  opacity: 0;
  pointer-events: none;
}

.lightbox-title {
  color: var(--wall);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(248, 248, 246, 0.48);
  border-radius: 0;
  background: rgba(248, 248, 246, 0.08);
  color: var(--wall);
  cursor: pointer;
  font-size: 20px;
}

@media (max-width: 1040px) {
  .album-masonry {
    --masonry-columns: 3;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 112px;
  }

  .top-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    min-height: auto;
    padding-top: 16px;
    padding-bottom: 12px;
  }

  .nav-links {
    justify-content: flex-start;
    width: 100%;
  }

  .content-section {
    padding-top: 58px;
    padding-bottom: 70px;
  }

  .home-section {
    min-height: 60svh;
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
  }

  .portal-entry,
  .portal-entry-canvas {
    min-height: min(54svh, 460px);
  }

  h1 {
    font-size: clamp(58px, 20vw, 104px);
  }

  h2 {
    font-size: clamp(40px, 14vw, 72px);
  }

  h3 {
    font-size: clamp(38px, 13vw, 66px);
  }

  .album-masonry {
    --masonry-columns: 1;
  }

  .album-section {
    --album-radius: clamp(10px, 3vw, 16px);
    --album-preview-height: clamp(520px, 68svh, 720px);
    --album-watermark-size: clamp(44px, 11vw, 68px);
    padding-top: clamp(58px, 14vw, 82px);
  }

  .album-watermark {
    top: clamp(12px, 4vw, 22px);
    left: clamp(18px, 6vw, 28px);
    max-width: calc(100% - clamp(36px, 12vw, 56px));
  }

  .album-spread {
    padding: clamp(16px, 5vw, 24px);
  }

  .album-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .album-toggle {
    align-self: flex-start;
  }

  .album-guide {
    position: static;
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .keyword-marquee {
    min-height: clamp(220px, 38svh, 360px);
  }

  .keyword-stream {
    gap: clamp(16px, 8vw, 34px);
    padding-right: clamp(16px, 8vw, 34px);
    font-size: clamp(76px, 28vw, 150px);
    line-height: 0.92;
  }

  .about-cinema {
    min-height: 190svh;
  }

  .about-cinema-stage {
    --about-image-width: min(82vw, 520px);
    --about-image-height: min(42svh, 360px);
  }

  .about-cinema-media img {
    object-position: 50% 36%;
  }

  .about-cinema-copy-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-cinema-copy h2 {
    font-size: clamp(52px, 18vw, 94px);
  }

  .work-pullquote {
    max-width: 11.5em;
    font-size: clamp(30px, 11vw, 54px);
    line-height: 1.18;
  }

  .about-location p {
    white-space: normal;
  }

  .about-cinema-copy p {
    max-width: 18ch;
    font-size: clamp(24px, 9vw, 42px);
  }

  .world-hud {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    min-height: 0;
    padding-top: 120px;
    padding-bottom: 22px;
  }

  .world-intro {
    max-width: min(100%, 220px);
    padding: 0;
  }

  .world-intro h2 {
    font-size: clamp(32px, 12vw, 54px);
  }

}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--line-strong);
  outline-offset: 3px;
}

.album-tile:focus-visible,
.contact-form button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(35, 35, 32, 0.08);
}

.lightbox .icon-button:focus-visible {
  outline-color: var(--wall);
  outline-offset: 5px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }

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

  .line-inner {
    transform: none !important;
  }

  .portal-entry:hover .portal-entry-copy,
  .portal-entry:focus-visible .portal-entry-copy {
    color: var(--ink-soft);
  }

  .album-section:not([data-album-expanded="true"]) .album-spread:hover,
  .album-section:not([data-album-expanded="true"]) .album-spread:focus-within {
    transform: none;
  }

  .keyword-stream,
  .keyword-row--right .keyword-stream {
    animation: none;
    transform: none;
  }

  .about-cinema {
    min-height: 100svh;
  }

  .about-cinema-stage {
    --about-image-width: 100vw;
    --about-image-height: 100svh;
    --about-radius: 0;
    --about-overlay: 0.46;
    --about-copy-opacity: 1;
    --about-copy-y: 0px;
    position: relative;
  }
}
