:root {
  --bg: #101114;
  --ink: #f5f1e7;
  --muted: #bdb4a4;
  --quiet: #817a71;
  --line: rgba(245, 241, 231, 0.14);
  --panel: rgba(15, 16, 18, 0.74);
  --glow: rgba(224, 202, 158, 0.18);
  --max-width: 1160px;
  --pastel-text: linear-gradient(
    112deg,
    #fff5df 0%,
    #ffd6ce 18%,
    #ffe7aa 34%,
    #f4dcff 52%,
    #cde3ff 70%,
    #d6f3df 86%,
    #fff6e8 100%
  );
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(ellipse at 18% 14%, rgba(218, 178, 92, 0.28), transparent 42rem),
    radial-gradient(ellipse at 84% 20%, rgba(93, 132, 168, 0.24), transparent 46rem),
    radial-gradient(ellipse at 72% 74%, rgba(133, 84, 148, 0.18), transparent 42rem),
    radial-gradient(ellipse at 20% 84%, rgba(88, 132, 104, 0.16), transparent 38rem),
    linear-gradient(180deg, #1b1a1d 0%, #13151a 38%, #101216 72%, #12100e 100%);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(ellipse at 48% 14%, rgba(255, 229, 184, 0.16), transparent 52rem),
    radial-gradient(ellipse at 70% 46%, rgba(184, 200, 255, 0.08), transparent 48rem),
    linear-gradient(90deg, transparent, rgba(236, 218, 180, 0.06) 48%, transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), transparent 24%, rgba(122, 147, 154, 0.05));
  mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 88%, transparent);
}

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

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

button {
  font: inherit;
}

#filament-canvas,
.atmosphere {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#filament-canvas {
  z-index: 2;
  opacity: 0.72;
  mix-blend-mode: screen;
  transition: opacity 1400ms ease;
}

.is-viewing-work #filament-canvas {
  opacity: 1;
}

.atmosphere {
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 48% 10%, rgba(250, 234, 198, 0.2), transparent 36rem),
    radial-gradient(ellipse at 12% 52%, rgba(126, 152, 169, 0.13), transparent 44rem),
    radial-gradient(ellipse at 86% 62%, rgba(170, 137, 182, 0.12), transparent 42rem),
    radial-gradient(ellipse at 54% 74%, rgba(255, 250, 232, 0.08), transparent 34rem),
    linear-gradient(180deg, rgba(255, 244, 220, 0.045), transparent 34%, rgba(201, 166, 106, 0.052));
  mix-blend-mode: soft-light;
  opacity: 1;
}

.atmosphere::before,
.atmosphere::after {
  position: absolute;
  inset: -28%;
  content: "";
  background-repeat: no-repeat;
  filter: blur(78px);
  opacity: 0.72;
  transform: translate3d(0, 0, 0) scale(1);
  will-change: transform, opacity;
}

.atmosphere::before {
  background:
    radial-gradient(ellipse at 20% 22%, rgba(255, 199, 104, 0.34), transparent 36%),
    radial-gradient(ellipse at 74% 16%, rgba(150, 198, 255, 0.24), transparent 38%),
    radial-gradient(ellipse at 64% 68%, rgba(214, 154, 255, 0.2), transparent 36%),
    radial-gradient(ellipse at 34% 78%, rgba(255, 250, 230, 0.2), transparent 34%);
  animation: luminousCloudBreath 68s ease-in-out infinite alternate;
}

.atmosphere::after {
  background:
    radial-gradient(ellipse at 16% 62%, rgba(98, 184, 255, 0.2), transparent 34%),
    radial-gradient(ellipse at 80% 54%, rgba(255, 221, 142, 0.26), transparent 38%),
    radial-gradient(ellipse at 50% 38%, rgba(255, 246, 236, 0.18), transparent 34%),
    radial-gradient(ellipse at 70% 84%, rgba(184, 142, 255, 0.18), transparent 36%);
  animation: luminousCloudDrift 86s ease-in-out infinite alternate;
}

@keyframes luminousCloudBreath {
  0% {
    opacity: 0.44;
    transform: translate3d(-1.5%, -1%, 0) scale(1);
  }

  50% {
    opacity: 0.62;
    transform: translate3d(1.2%, 1.8%, 0) scale(1.035);
  }

  100% {
    opacity: 0.5;
    transform: translate3d(2%, -0.5%, 0) scale(1.015);
  }
}

@keyframes luminousCloudDrift {
  0% {
    opacity: 0.32;
    transform: translate3d(1%, 1.5%, 0) scale(1.02);
  }

  45% {
    opacity: 0.52;
    transform: translate3d(-1.8%, -1%, 0) scale(1.055);
  }

  100% {
    opacity: 0.4;
    transform: translate3d(-0.5%, 2%, 0) scale(1.025);
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px clamp(20px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(5, 6, 8, 0.86), transparent);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 6px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.2);
  transition: opacity 250ms ease, transform 250ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  opacity: 0.8;
  transform: scaleX(1);
}

.section {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(88px, 13vw, 160px) 0;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100vh;
  align-items: center;
  justify-items: center;
  padding-top: 132px;
  text-align: center;
  box-shadow: 0 20vh 24vh rgba(5, 6, 9, 0.34);
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
  filter: blur(74px);
  mix-blend-mode: screen;
  will-change: transform, opacity;
}

.hero::before {
  top: 8%;
  left: max(-18vw, -240px);
  width: min(86vw, 1040px);
  height: min(74vh, 760px);
  background:
    radial-gradient(ellipse at 28% 34%, rgba(255, 199, 112, 0.26), transparent 42%),
    radial-gradient(ellipse at 68% 26%, rgba(192, 218, 255, 0.18), transparent 40%),
    radial-gradient(ellipse at 72% 70%, rgba(219, 162, 255, 0.15), transparent 38%),
    radial-gradient(ellipse at 42% 68%, rgba(255, 250, 232, 0.18), transparent 34%);
  opacity: 0.76;
  animation: heroLightBreath 64s ease-in-out infinite alternate;
}

.hero::after {
  top: 18%;
  right: max(-22vw, -260px);
  width: min(78vw, 920px);
  height: min(68vh, 680px);
  background:
    radial-gradient(ellipse at 30% 28%, rgba(118, 198, 255, 0.16), transparent 38%),
    radial-gradient(ellipse at 64% 48%, rgba(255, 223, 150, 0.2), transparent 42%),
    radial-gradient(ellipse at 46% 74%, rgba(255, 244, 235, 0.14), transparent 34%);
  opacity: 0.58;
  animation: heroLightDrift 78s ease-in-out infinite alternate;
}

.hero-artwork {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: min(84vw, 1120px);
  margin: 0;
  pointer-events: none;
  opacity: 0.42;
  filter: blur(2.5px);
  transform: translate(-50%, -50%) scale(1);
  animation: heroArtworkEmerge 1600ms ease-out forwards;
}

.hero-artwork::before,
.hero-artwork::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
}

.hero-artwork::before {
  background:
    radial-gradient(ellipse at 50% 50%, transparent 0%, transparent 50%, rgba(15, 16, 18, 0.28) 68%, rgba(15, 16, 18, 0.56) 100%),
    linear-gradient(90deg, rgba(15, 16, 18, 0.96) 0%, rgba(15, 16, 18, 0.5) 9%, transparent 25%, transparent 75%, rgba(15, 16, 18, 0.5) 91%, rgba(15, 16, 18, 0.96) 100%),
    linear-gradient(180deg, rgba(15, 16, 18, 0.9) 0%, rgba(15, 16, 18, 0.36) 12%, transparent 30%, transparent 70%, rgba(15, 16, 18, 0.42) 88%, rgba(15, 16, 18, 0.94) 100%);
}

.hero-artwork::after {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255, 239, 198, 0.12), rgba(205, 222, 255, 0.05) 28%, transparent 52%),
    radial-gradient(ellipse at 50% 50%, transparent 0%, transparent 52%, rgba(15, 16, 18, 0.3) 76%, rgba(15, 16, 18, 0.6) 100%);
  mix-blend-mode: soft-light;
}

.hero-artwork img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: auto;
  border: 0;
  opacity: 0.66;
  filter: saturate(1.12) contrast(1.02) brightness(0.9);
  mix-blend-mode: lighten;
  animation: heroArtworkBreath 28000ms ease-in-out 1600ms infinite alternate;
}

@keyframes heroArtworkEmerge {
  0% {
    opacity: 0.18;
    filter: blur(8px);
    transform: translate(-50%, -50%) scale(0.982);
  }

  100% {
    opacity: 0.42;
    filter: blur(2.5px);
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes heroArtworkBreath {
  0% {
    opacity: 0.6;
    filter: saturate(1.06) contrast(0.98) brightness(0.84);
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    opacity: 0.72;
    filter: saturate(1.16) contrast(1.04) brightness(0.94);
    transform: translate3d(-0.8%, -0.6%, 0) scale(1.012);
  }
}

@keyframes heroLightBreath {
  0% {
    opacity: 0.62;
    transform: translate3d(-1.4%, -1%, 0) scale(0.98);
  }

  50% {
    opacity: 0.82;
    transform: translate3d(1.8%, 1.2%, 0) scale(1.045);
  }

  100% {
    opacity: 0.7;
    transform: translate3d(0.8%, -0.4%, 0) scale(1.02);
  }
}

@keyframes heroLightDrift {
  0% {
    opacity: 0.48;
    transform: translate3d(1%, 1.5%, 0) scale(1);
  }

  55% {
    opacity: 0.66;
    transform: translate3d(-1.6%, -1.2%, 0) scale(1.05);
  }

  100% {
    opacity: 0.54;
    transform: translate3d(-0.6%, 1%, 0) scale(1.02);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  max-width: min(1080px, 100%);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 22px;
  color: #d9c79d;
  font-size: clamp(0.92rem, 1.2vw, 1.08rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: min(96vw, 1060px);
  color: #fff4df;
  font-size: clamp(2.7rem, 6.65vw, 5.65rem);
  line-height: 1.08;
  padding-bottom: 0.08em;
}

.hero h1 {
  background:
    linear-gradient(
      112deg,
      #fff5df 0%,
      #ffd6ce 18%,
      #ffe7aa 34%,
      #f4dcff 52%,
      #cde3ff 70%,
      #d6f3df 86%,
      #fff6e8 100%
    );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  opacity: 0.78;
  white-space: nowrap;
  text-shadow: 0 0 28px rgba(255, 230, 190, 0.06);
}

.hero .eyebrow {
  color: #f1d9b8;
  text-shadow: 0 0 22px rgba(255, 187, 152, 0.16);
}

h2 {
  color: #fffaf0;
  font-size: clamp(2.2rem, 5vw, 4.7rem);
  line-height: 1.12;
  padding-bottom: 0.1em;
}

.subtitle {
  margin: 18px 0 0;
  color: #d7c8bd;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 2.9vw, 2.35rem);
  line-height: 1.1;
}

.hero .subtitle {
  background: linear-gradient(100deg, #ead5c7, #d6ddf4 48%, #eadcb9);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.intro {
  max-width: 480px;
  margin: 24px auto 0;
  color: #c9beb4;
  font-size: clamp(1rem, 1.7vw, 1.16rem);
  text-align: center;
}

.section-heading {
  max-width: 680px;
  margin-bottom: clamp(34px, 7vw, 72px);
}

.works-section {
  position: relative;
  isolation: isolate;
  width: min(1320px, calc(100% - 40px));
  padding-top: clamp(110px, 14vw, 180px);
  padding-bottom: clamp(110px, 16vw, 210px);
}

.works-section::before {
  position: absolute;
  inset: clamp(-180px, -13vw, -96px) calc(50% - 50vw) 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(42, 31, 24, 0.46), transparent 34rem),
    radial-gradient(ellipse at 78% 28%, rgba(18, 25, 34, 0.52), transparent 42rem),
    radial-gradient(ellipse at 50% 52%, rgba(5, 6, 9, 0.9), transparent 72rem),
    radial-gradient(ellipse at 26% 78%, rgba(12, 18, 17, 0.56), transparent 48rem),
    linear-gradient(180deg, transparent 0%, rgba(5, 6, 9, 0.18) 10%, rgba(5, 6, 9, 0.7) 24%, rgba(5, 6, 9, 0.82) 54%, rgba(5, 6, 9, 0.68) 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 9%, #000 91%, transparent 100%);
}

.works-section .section-heading,
.gallery {
  position: relative;
  z-index: 1;
}

.gallery {
  display: grid;
  gap: clamp(48px, 8vw, 96px);
}

.work-card {
  --scene-warm: rgba(255, 248, 232, 0.34);
  --scene-cool: rgba(184, 210, 255, 0.08);
  --scene-side: rgba(245, 238, 224, 0.12);
  appearance: none;
  position: relative;
  display: grid;
  grid-template-columns: minmax(120px, 0.35fr) minmax(0, 1fr) minmax(120px, 0.35fr);
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  align-content: center;
  column-gap: clamp(22px, 4vw, 64px);
  row-gap: clamp(10px, 1.8vw, 22px);
  min-width: 0;
  min-height: clamp(720px, 100vh, 960px);
  padding: clamp(52px, 8vw, 104px) 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  aspect-ratio: auto;
  text-align: inherit;
  width: 100%;
  scroll-margin-top: 24px;
}

.work-card:nth-child(2) {
  --scene-warm: rgba(230, 240, 255, 0.3);
  --scene-cool: rgba(160, 188, 255, 0.12);
  --scene-side: rgba(220, 230, 252, 0.11);
}

.work-card:nth-child(3) {
  --scene-warm: rgba(246, 255, 232, 0.26);
  --scene-cool: rgba(170, 235, 192, 0.1);
  --scene-side: rgba(228, 245, 218, 0.1);
}

.work-card:nth-child(4) {
  --scene-warm: rgba(255, 228, 188, 0.3);
  --scene-cool: rgba(255, 176, 148, 0.08);
  --scene-side: rgba(252, 224, 190, 0.12);
}

.work-card:nth-child(5) {
  --scene-warm: rgba(245, 232, 255, 0.27);
  --scene-cool: rgba(190, 170, 255, 0.12);
  --scene-side: rgba(236, 224, 252, 0.1);
}

.work-card:nth-child(6) {
  --scene-warm: rgba(255, 245, 232, 0.28);
  --scene-cool: rgba(190, 228, 255, 0.1);
  --scene-side: rgba(246, 238, 226, 0.11);
}

.has-scroll-reveal .work-card {
  opacity: 0.38;
  transition: opacity 1100ms ease;
}

.has-scroll-reveal .work-card.is-visible {
  opacity: 1;
}

.work-card::before {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: min(128vw, 1680px);
  height: min(84vh, 820px);
  content: "";
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(245, 238, 224, 0.018) 8%,
      rgba(245, 238, 224, 0.065) 18%,
      var(--scene-side) 31%,
      var(--scene-warm) 45%,
      rgba(255, 251, 241, 0.3) 55%,
      var(--scene-side) 69%,
      rgba(245, 238, 224, 0.052) 82%,
      rgba(245, 238, 224, 0.014) 92%,
      transparent 100%
    ),
    radial-gradient(ellipse at 42% 42%, var(--scene-cool), transparent 38rem),
    radial-gradient(ellipse at 50% 48%, rgba(255, 248, 232, 0.18), transparent 42rem),
    linear-gradient(180deg, transparent, rgba(2, 3, 5, 0.32), transparent);
  filter: blur(18px);
  opacity: 0.52;
  pointer-events: none;
  transform: translate(-50%, -54%);
  transition: opacity 1200ms ease, transform 1600ms ease, filter 1600ms ease;
  mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 84%, transparent);
}

.work-card::after {
  position: absolute;
  inset: auto 0 10%;
  z-index: 1;
  justify-self: center;
  width: min(64%, 760px);
  height: 1px;
  content: "";
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 245, 220, 0.14), transparent);
  opacity: 0.55;
  transition: opacity 300ms ease;
}

.work-card:hover::before,
.work-card:focus-visible::before,
.work-card.is-visible::before {
  opacity: 0.9;
  filter: blur(22px);
  transform: translate(-50%, -52%) scaleX(1.08);
}

.work-card.is-active::before {
  animation: wallBreath 8s ease-in-out infinite alternate;
}

.work-card.is-active .work-artwork img {
  filter: saturate(1.12) contrast(1.1) brightness(1.045);
}

.work-card:hover::after,
.work-card:focus-visible::after {
  opacity: 1;
}

.work-artwork {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  z-index: 1;
  isolation: isolate;
  display: inline-grid;
  place-items: center;
  width: fit-content;
  justify-self: center;
  align-self: end;
  max-width: min(100%, 920px);
  max-height: min(66vh, 680px);
}

.work-artwork::before {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: min(128vw, 1680px);
  height: calc(100% + clamp(80px, 14vw, 180px));
  content: "";
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(245, 238, 224, 0.012) 8%,
      rgba(245, 238, 224, 0.052) 18%,
      var(--scene-side) 31%,
      var(--scene-warm) 45%,
      rgba(255, 251, 241, 0.26) 55%,
      var(--scene-side) 69%,
      rgba(245, 238, 224, 0.04) 82%,
      rgba(245, 238, 224, 0.01) 92%,
      transparent 100%
    ),
    radial-gradient(ellipse at 50% 50%, rgba(255, 248, 232, 0.1), transparent 46rem);
  filter: blur(20px);
  opacity: 0.78;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 1200ms ease, transform 1600ms ease, filter 1600ms ease;
  mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
}

.work-card.is-visible .work-artwork::before,
.work-card.is-artwork-hovered .work-artwork::before {
  opacity: 0.92;
  transform: translate(-50%, -50%) scaleX(1.04);
}

.work-card img {
  position: relative;
  width: auto;
  max-width: 100%;
  max-height: min(66vh, 680px);
  padding: clamp(10px, 1.2vw, 23px);
  border: 1px solid rgba(255, 252, 244, 0.14);
  background:
    linear-gradient(
      180deg,
      rgba(255, 253, 246, 0.88),
      rgba(239, 233, 222, 0.78)
    );
  object-fit: contain;
  opacity: 0;
  filter: saturate(1.06) contrast(1.07) brightness(1.025);
  box-shadow:
    0 0 0 1px rgba(255, 246, 224, 0.08),
    -190px 0 190px -92px rgba(255, 250, 236, 0.28),
    190px 0 190px -92px rgba(255, 250, 236, 0.24),
    -360px 0 260px -160px rgba(255, 250, 236, 0.11),
    360px 0 260px -160px rgba(255, 250, 236, 0.09),
    0 34px 90px rgba(0, 0, 0, 0.4),
    0 0 52px rgba(255, 238, 208, 0.08);
  transition: transform 1200ms cubic-bezier(0.16, 1, 0.3, 1), opacity 900ms ease, filter 900ms ease;
}

.work-card img[src] {
  color: transparent;
}

.work-card img.is-loaded {
  opacity: 0.94;
}

.work-card.is-artwork-hovered .work-artwork img.is-loaded,
.work-card:focus-visible .work-artwork img.is-loaded,
.work-card.is-visible .work-artwork img.is-loaded {
  opacity: 1;
  filter: saturate(1.09) contrast(1.085) brightness(1.035);
  transform: scale(1.012) translateY(0);
}

.work-card.is-artwork-hovered .work-artwork img.is-loaded {
  filter: saturate(1.13) contrast(1.1) brightness(1.05);
  transform: scale(1.016) translateY(0);
}

.work-title {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: clamp(24px, 3vw, 46px);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 5.4vw, 5.35rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.14;
  text-align: center;
  text-transform: none;
  text-wrap: balance;
  color: rgba(255, 247, 228, 0.72);
  opacity: 0;
  text-shadow:
    0 0 22px rgba(0, 0, 0, 0.52),
    0 0 42px rgba(255, 228, 192, 0.14);
  mix-blend-mode: screen;
  transform: scale(0.992);
  transition: opacity 1250ms ease, transform 1350ms cubic-bezier(0.16, 1, 0.3, 1), color 1250ms ease;
  pointer-events: none;
}

.work-card[data-title="Observable Universe"] .work-title {
  padding: clamp(20px, 2.5vw, 36px);
  font-size: clamp(1.15rem, 2.95vw, 3.15rem);
  line-height: 1.12;
}

.work-card[data-title="Bodylight"] .work-title {
  padding: clamp(20px, 2.6vw, 38px);
  font-size: clamp(1.35rem, 3.45vw, 3.55rem);
  line-height: 1.12;
}

.has-scroll-reveal .work-card img.is-loaded {
  opacity: 0.2;
  transform: translateY(28px) scale(0.992);
}

.has-scroll-reveal .work-card.is-visible img.is-loaded {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.work-card.is-title-revealed .work-title,
.work-card:focus-visible .work-title {
  color: rgba(255, 249, 235, 0.62);
  opacity: 0.58;
  transform: scale(1);
}

@media (hover: none) {
  .work-card.is-active .work-title {
    color: rgba(255, 249, 235, 0.58);
    opacity: 0.52;
    transform: scale(1);
  }
}

@keyframes wallBreath {
  from {
    opacity: 0.78;
    transform: translate(-50%, -52%) scaleX(1.04);
  }

  to {
    opacity: 0.96;
    transform: translate(-50%, -52%) scaleX(1.14);
  }
}

.text-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 7vw, 96px);
  border-top: 1px solid var(--line);
}

.has-scroll-reveal .text-block,
.has-scroll-reveal .artist-portrait,
.has-scroll-reveal .cv-section .section-heading,
.has-scroll-reveal .cv-content,
.has-scroll-reveal .contact-section .section-heading,
.has-scroll-reveal .contact-links {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1200ms ease, transform 1400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.has-scroll-reveal .is-visible-section .text-block,
.has-scroll-reveal .is-visible-section .artist-portrait,
.has-scroll-reveal .cv-section.is-visible-section .section-heading,
.has-scroll-reveal .cv-section.is-visible-section .cv-content,
.has-scroll-reveal .contact-section.is-visible-section .section-heading,
.has-scroll-reveal .contact-section.is-visible-section .contact-links {
  opacity: 1;
  transform: translateY(0);
}

.text-block {
  grid-column: 2;
}

.text-block p:last-child {
  max-width: 730px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.34rem);
}

.about-section {
  align-items: center;
}

.artist-portrait {
  position: relative;
  grid-column: 1;
  width: min(100%, 430px);
  margin: 0;
  justify-self: center;
}

.artist-portrait::before {
  position: absolute;
  inset: 8% -28% 10%;
  z-index: -1;
  content: "";
  background:
    radial-gradient(ellipse at 48% 42%, rgba(255, 247, 228, 0.14), transparent 44%),
    linear-gradient(90deg, transparent, rgba(255, 246, 224, 0.08), transparent);
  filter: blur(26px);
  opacity: 0.72;
  pointer-events: none;
}

.artist-portrait img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: 50% 50%;
  padding: clamp(8px, 1vw, 14px);
  border: 1px solid rgba(255, 252, 244, 0.13);
  background: linear-gradient(180deg, rgba(255, 253, 246, 0.82), rgba(232, 225, 214, 0.62));
  filter: saturate(0.92) contrast(1.03);
  box-shadow:
    0 0 0 1px rgba(255, 246, 224, 0.06),
    0 28px 80px rgba(0, 0, 0, 0.34),
    0 0 56px rgba(255, 235, 210, 0.06);
  transition: filter 1400ms ease, transform 1600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.about-section.is-visible-section .artist-portrait img {
  filter: saturate(0.96) contrast(1.05) brightness(1.02);
  transform: translateY(-4px);
}

.cv-section {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(34px, 7vw, 96px);
  border-top: 1px solid var(--line);
}

.cv-section .section-heading {
  margin-bottom: 0;
}

.cv-content {
  min-width: 0;
}

.exhibition-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.exhibition-list li {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 30px);
  padding: 20px 0;
  border-bottom: 1px solid rgba(245, 241, 231, 0.11);
}

.exhibition-list.is-collapsed li:nth-child(n + 5) {
  display: none;
}

.exhibition-list span {
  color: #d9c79d;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1;
}

.exhibition-list p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
  line-height: 1.55;
}

.cv-download {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(245, 241, 231, 0.22);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cv-download::after {
  content: "PDF";
  color: #d9c79d;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.cv-toggle {
  display: block;
  margin-top: 22px;
  padding: 0 0 8px;
  border: 0;
  border-bottom: 1px solid rgba(245, 241, 231, 0.16);
  color: rgba(245, 241, 231, 0.68);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 260ms ease, border-color 260ms ease;
}

.cv-toggle:hover,
.cv-toggle:focus-visible {
  border-color: rgba(255, 238, 204, 0.38);
  color: rgba(255, 248, 232, 0.92);
}

.contact-section {
  min-height: 64vh;
  border-top: 1px solid var(--line);
}

.contact-links {
  display: grid;
  gap: 18px;
  max-width: 620px;
}

.contact-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.55rem, 4.4vw, 3.1rem);
  line-height: 1.1;
}

.contact-links a::after {
  content: "->";
  color: #d9c79d;
  font-family: Inter, system-ui, sans-serif;
  font-size: 1rem;
  opacity: 0.78;
  transition: opacity 280ms ease, transform 280ms ease;
}

.contact-links a {
  transition: color 280ms ease, border-color 280ms ease, text-shadow 280ms ease;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  border-color: rgba(255, 238, 204, 0.42);
  color: rgba(255, 250, 238, 0.96);
  text-shadow: 0 0 26px rgba(255, 225, 192, 0.12);
}

.contact-links a:hover::after,
.contact-links a:focus-visible::after {
  opacity: 1;
  transform: translateX(5px);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 48px);
  background:
    linear-gradient(
      180deg,
      rgba(1, 2, 3, 0.96) 0%,
      rgba(1, 2, 3, 0.96) 11%,
      rgba(42, 45, 50, 0.94) 12%,
      rgba(74, 77, 84, 0.9) 30%,
      rgba(82, 85, 92, 0.88) 50%,
      rgba(64, 67, 73, 0.9) 70%,
      rgba(34, 37, 42, 0.94) 88%,
      rgba(1, 2, 3, 0.96) 89%,
      rgba(1, 2, 3, 0.96) 100%
    ),
    linear-gradient(
      90deg,
      rgba(26, 29, 34, 0.92),
      rgba(72, 75, 82, 0.88) 22%,
      rgba(88, 91, 98, 0.86) 50%,
      rgba(70, 73, 80, 0.88) 78%,
      rgba(22, 25, 30, 0.92)
    );
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(18px);
  transition: opacity 520ms ease, background 720ms ease;
}

.lightbox::before {
  content: "";
  display: none;
}

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

.lightbox-content {
  position: relative;
  isolation: isolate;
  z-index: 1;
  width: min(72vw, 1080px);
  margin: 0;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 760ms ease 120ms, transform 900ms cubic-bezier(0.16, 1, 0.3, 1) 120ms;
}

.lightbox.is-open .lightbox-content {
  opacity: 1;
  transform: scale(1);
}

.lightbox-content::before,
.lightbox-content::after {
  content: none;
}

.lightbox-viewport {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: min(76vh, 760px);
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  cursor: zoom-in;
  touch-action: none;
}

.lightbox-viewport.is-zoomed {
  cursor: grab;
}

.lightbox-viewport.is-dragging {
  cursor: grabbing;
}

.lightbox-content img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  padding: clamp(9px, 1vw, 20px);
  border: 1px solid rgba(255, 252, 244, 0.12);
  background:
    linear-gradient(
      180deg,
      rgba(255, 253, 246, 0.84),
      rgba(239, 233, 222, 0.72)
    );
  object-fit: contain;
  filter: saturate(1.08) contrast(1.08) brightness(1.035);
  box-shadow:
    0 0 0 1px rgba(255, 246, 224, 0.05),
    0 28px 76px rgba(0, 0, 0, 0.38);
  transform-origin: center center;
  transform: translate3d(0, 0, 0) scale(1);
  transition: transform 180ms ease;
  user-select: none;
  will-change: transform;
  pointer-events: none;
}

.lightbox-viewport.is-dragging img {
  transition: none;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(245, 241, 231, 0.08);
  border-radius: 50%;
  color: rgba(245, 241, 231, 0.42);
  background: rgba(12, 13, 14, 0.36);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  opacity: 0.42;
  transition: opacity 260ms ease, color 260ms ease, background 260ms ease, border-color 260ms ease, transform 260ms ease;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  border-color: rgba(245, 241, 231, 0.22);
  color: rgba(255, 250, 238, 0.9);
  background: rgba(12, 13, 14, 0.72);
  opacity: 1;
  transform: scale(1.04);
}

.artwork-label {
  position: absolute;
  bottom: max(24px, calc((100vh - min(76vh, 760px)) / 2));
  left: clamp(22px, 4vw, 64px);
  right: auto;
  z-index: 3;
  width: min(190px, 19vw);
  color: rgba(245, 241, 231, 0.58);
  opacity: 0;
  transform: none;
  transition: opacity 900ms ease 760ms, transform 900ms ease 760ms;
}

.lightbox.is-open .artwork-label {
  opacity: 1;
}

.artwork-label dl {
  display: grid;
  gap: 7px;
  margin: 0;
}

.artwork-label div {
  display: block;
}

.artwork-label dd {
  margin: 0;
  color: rgba(220, 216, 207, 0.58);
  font-size: 0.74rem;
  font-weight: 300;
  letter-spacing: 0.03em;
  line-height: 1.7;
}

.artwork-label div:first-child dd {
  color: rgba(232, 227, 216, 0.68);
}

.lightbox-tools {
  position: absolute;
  top: 22px;
  left: 50%;
  z-index: 3;
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(245, 241, 231, 0.12);
  border-radius: 999px;
  background: rgba(12, 13, 14, 0.72);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 52px;
  height: 72px;
  border: 0;
  color: rgba(245, 241, 231, 0.32);
  background: transparent;
  cursor: pointer;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 3rem;
  line-height: 1;
  opacity: 0.34;
  transform: translateY(-50%);
  transition: opacity 280ms ease, color 280ms ease, transform 280ms ease;
}

.lightbox-prev {
  left: clamp(14px, 2vw, 32px);
}

.lightbox-next {
  right: clamp(14px, 2vw, 32px);
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  color: rgba(255, 250, 238, 0.86);
  opacity: 1;
}

.lightbox-prev:hover,
.lightbox-prev:focus-visible {
  transform: translate(-4px, -50%);
}

.lightbox-next:hover,
.lightbox-next:focus-visible {
  transform: translate(4px, -50%);
}

.brand,
.site-nav a,
.eyebrow,
h1,
h2,
.subtitle,
.work-title,
.exhibition-list span,
.artwork-label dd,
.cv-download,
.cv-download::after,
.cv-toggle,
.contact-links a,
.contact-links a::after {
  background: var(--pastel-text);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.site-nav a {
  opacity: 0.76;
  transition: opacity 260ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
}

.site-nav a::after {
  background: var(--pastel-text);
}

.zoom-control {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.zoom-control:hover,
.zoom-control:focus-visible {
  border-color: rgba(245, 241, 231, 0.22);
  background: rgba(255, 244, 220, 0.09);
}

@media (max-width: 820px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    background-attachment: scroll;
    overscroll-behavior-x: none;
  }

  #filament-canvas {
    opacity: 0.32;
  }

  .is-mobile-scrolling #filament-canvas {
    opacity: 0.22;
  }

  .site-header {
    backdrop-filter: none;
  }

  .atmosphere::before,
  .atmosphere::after,
  .hero::before,
  .hero::after {
    animation: none;
    filter: none;
    will-change: auto;
  }

  .is-mobile-scrolling .atmosphere::before,
  .is-mobile-scrolling .atmosphere::after,
  .is-mobile-scrolling .hero::before,
  .is-mobile-scrolling .hero::after {
    opacity: 0.34;
  }

  .site-header {
    align-items: flex-start;
    gap: 18px;
    padding: 18px 20px;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 16px;
    max-width: 265px;
    font-size: 0.68rem;
  }

  .section {
    width: min(100% - 28px, var(--max-width));
    padding: 88px 0;
  }

  .hero-artwork {
    top: 52%;
    left: 50%;
    width: min(100%, 700px);
    filter: none;
  }

  .works-section::before {
    inset-inline: -14px;
  }

  .work-card::before {
    width: min(92vw, 760px);
  }

  .hero-artwork img {
    filter: saturate(1.04) contrast(1.01) brightness(0.9);
    animation: none;
    mix-blend-mode: normal;
  }

  .works-section {
    width: min(100% - 28px, var(--max-width));
    padding-top: 96px;
    padding-bottom: 110px;
  }

  .hero {
    min-height: 92vh;
    padding-top: 122px;
  }

  .hero-inner {
    max-width: min(100%, 560px);
  }

  h1 {
    font-size: clamp(2.62rem, 13.5vw, 4.45rem);
  }

  .hero h1 {
    white-space: normal;
  }

  .intro {
    max-width: 32rem;
  }

  .lightbox {
    box-sizing: border-box;
    place-items: center;
    width: 100vw;
    max-width: 100vw;
    min-height: 100svh;
    max-height: 100svh;
    padding: 78px 14px 24px;
    overflow: hidden;
    backdrop-filter: none;
  }

  .lightbox-tools {
    top: 18px;
  }

  .lightbox-close {
    top: 18px;
    right: 14px;
  }

  .lightbox-viewport {
    width: 100%;
    max-width: calc(100vw - 28px);
    height: min(58svh, 520px);
    max-height: 58svh;
    overflow: hidden;
    touch-action: pan-y;
  }

  .lightbox-viewport.is-zoomed {
    touch-action: none;
  }

  .lightbox-content {
    order: 1;
    display: grid;
    place-items: center;
    width: 100%;
    max-width: calc(100vw - 28px);
    max-height: calc(100svh - 112px);
    transform-origin: center center;
  }

  .lightbox-content img {
    box-sizing: border-box;
    width: auto;
    max-width: 100%;
    max-height: 58svh;
    padding: clamp(7px, 2.4vw, 12px);
    will-change: auto;
  }

  .artwork-label {
    order: 2;
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    z-index: 3;
    width: min(100%, 320px);
    margin: 18px auto 0;
    transform: none;
  }

  .artwork-label dl {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    gap: 8px 18px;
  }

  .artwork-label dd {
    font-size: 0.68rem;
  }

  .gallery {
    gap: 92px;
  }

  .work-card {
    grid-template-columns: 1fr;
    min-height: auto;
    column-gap: 0;
    row-gap: 14px;
    padding: 18px 0 42px;
  }

  .work-artwork {
    grid-column: 1;
  }

  .work-card img {
    max-width: 100%;
    max-height: 68vh;
    padding: clamp(10px, 3vw, 18px);
    opacity: 1;
    filter: none;
    box-shadow:
      0 0 0 1px rgba(255, 246, 224, 0.08),
      0 18px 42px rgba(0, 0, 0, 0.3);
    transform: none;
    transition: none;
  }

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

  .work-card.is-visible .work-artwork::before,
  .work-card.is-artwork-hovered .work-artwork::before {
    display: none;
  }

  .work-card.is-active .work-artwork img,
  .work-card.is-visible .work-artwork img.is-loaded,
  .work-card.is-artwork-hovered .work-artwork img.is-loaded {
    filter: none;
    transform: none;
  }

  .has-scroll-reveal .work-card img.is-loaded,
  .has-scroll-reveal .work-card.is-visible img.is-loaded {
    opacity: 1;
    transform: none;
  }

  .work-card img.is-loaded,
  .has-scroll-reveal .work-card img,
  .has-scroll-reveal .work-card.is-visible img {
    opacity: 1;
    transform: none;
  }

  .work-card.is-active::before {
    animation: none;
  }

  .is-mobile-scrolling .work-card img {
    opacity: 1;
    transform: none;
    transition-duration: 1ms;
  }

  .is-mobile-scrolling .work-artwork::before {
    filter: none;
    opacity: 0.28;
  }

  .work-title {
    justify-self: center;
    align-self: center;
    margin: 0;
    text-align: center;
    font-size: clamp(2.2rem, 12vw, 4rem);
  }

  .text-section {
    grid-template-columns: 1fr;
  }

  .artist-portrait {
    grid-column: 1;
    width: min(100%, 360px);
    justify-self: start;
  }

  .cv-section {
    grid-template-columns: 1fr;
  }

  .text-block {
    grid-column: 1;
  }
}

@media (max-width: 560px) {
  .gallery {
    gap: 76px;
  }

  .work-card {
    padding-bottom: 34px;
  }

  .work-card img {
    padding: 9px;
  }

  .exhibition-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-links a {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    overflow-wrap: anywhere;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }
}

.lightbox {
  background:
    linear-gradient(
      180deg,
      rgba(1, 2, 3, 0.96) 0%,
      rgba(1, 2, 3, 0.96) 11%,
      rgba(42, 45, 50, 0.94) 12%,
      rgba(74, 77, 84, 0.9) 30%,
      rgba(82, 85, 92, 0.88) 50%,
      rgba(64, 67, 73, 0.9) 70%,
      rgba(34, 37, 42, 0.94) 88%,
      rgba(1, 2, 3, 0.96) 89%,
      rgba(1, 2, 3, 0.96) 100%
    ),
    linear-gradient(
      90deg,
      rgba(26, 29, 34, 0.92),
      rgba(72, 75, 82, 0.88) 22%,
      rgba(88, 91, 98, 0.86) 50%,
      rgba(70, 73, 80, 0.88) 78%,
      rgba(22, 25, 30, 0.92)
    );
}

.lightbox::before,
.lightbox-content::before,
.lightbox-content::after {
  display: none !important;
  content: none !important;
}

.lightbox-viewport {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.lightbox-content img {
  box-shadow:
    0 0 0 1px rgba(255, 246, 224, 0.05),
    0 28px 76px rgba(0, 0, 0, 0.38) !important;
}

/* Continuous wall mode: keep scrolling stable instead of revealing scenes in pieces. */
.work-card,
.work-card.is-visible,
.text-block,
.artist-portrait,
.cv-section .section-heading,
.cv-content,
.contact-section .section-heading,
.contact-links {
  opacity: 1 !important;
  transform: none !important;
}

.work-card::before,
.work-artwork::before {
  filter: none !important;
  transition: none !important;
}

.work-card.is-visible::before,
.work-card.is-artwork-hovered::before,
.work-card.is-visible .work-artwork::before,
.work-card.is-artwork-hovered .work-artwork::before {
  transform: translate(-50%, -50%) !important;
}

.work-card img,
.work-card img.is-loaded,
.has-scroll-reveal .work-card img.is-loaded,
.has-scroll-reveal .work-card.is-visible img.is-loaded {
  opacity: 1 !important;
  transform: none !important;
}
