:root {
  --bg: #050609;
  --bg-2: #0b0e14;
  --text: #f5f2eb;
  --muted: rgba(245, 242, 235, 0.64);
  --faint: rgba(245, 242, 235, 0.36);
  --line: rgba(245, 242, 235, 0.14);
  --glass: rgba(15, 18, 26, 0.58);
  --accent: #9fd9ff;
  --accent-2: #e9c978;
  --max: 1180px;
  --wide: 1380px;
  --mx: 0;
  --my: 0;
  --scroll-y: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  scrollbar-color: rgba(159, 217, 255, 0.34) rgba(255, 255, 255, 0.04);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(115deg, rgba(93, 155, 255, 0.13), transparent 28rem),
    linear-gradient(245deg, rgba(233, 201, 120, 0.11), transparent 26rem),
    linear-gradient(180deg, #050609 0%, #090b11 42%, #040506 100%);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: radial-gradient(circle at center, black, transparent 74%);
  pointer-events: none;
}

body::after {
  position: fixed;
  inset: auto -10% -18% -10%;
  z-index: -2;
  height: 42vh;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(159, 217, 255, 0.14), transparent);
  filter: blur(32px);
  pointer-events: none;
}

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

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

button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.site-noise {
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: 0.055;
  pointer-events: none;
  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='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}

.depth-atmosphere {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.depth-atmosphere span {
  position: absolute;
  display: block;
  width: 1px;
  height: 92vh;
  background: linear-gradient(180deg, transparent, rgba(159, 217, 255, 0.24), transparent);
  opacity: 0.34;
  transform:
    translate3d(calc(var(--mx) * 10px), calc(var(--my) * 8px), 0)
    rotate(18deg);
}

.depth-atmosphere span:nth-child(1) {
  top: 12vh;
  left: 9vw;
}

.depth-atmosphere span:nth-child(2) {
  top: 48vh;
  right: 18vw;
  height: 118vh;
  background: linear-gradient(180deg, transparent, rgba(233, 201, 120, 0.18), transparent);
  transform:
    translate3d(calc(var(--mx) * -12px), calc(var(--my) * 10px), 0)
    rotate(-21deg);
}

.depth-atmosphere span:nth-child(3) {
  top: 128vh;
  left: 48vw;
  height: 84vh;
  opacity: 0.22;
  transform:
    translate3d(calc(var(--mx) * 6px), calc(var(--my) * -8px), 0)
    rotate(42deg);
}

.cursor-glow {
  position: fixed;
  z-index: -1;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(159, 217, 255, 0.12), transparent 68%);
  filter: blur(12px);
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  pointer-events: none;
  transition: opacity 240ms ease;
}

main {
  position: relative;
  isolation: isolate;
}

main::before {
  position: absolute;
  top: 82vh;
  right: 0;
  left: 0;
  z-index: -1;
  height: 220vh;
  content: "";
  background:
    linear-gradient(90deg, transparent 0 9%, rgba(159, 217, 255, 0.08) 9.15%, transparent 9.3%),
    linear-gradient(90deg, transparent 0 71%, rgba(233, 201, 120, 0.07) 71.1%, transparent 71.24%);
  mask-image: linear-gradient(180deg, transparent, black 10%, black 84%, transparent);
  pointer-events: none;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 32px), 1180px);
  min-height: 64px;
  padding: 10px 14px 10px 12px;
  border: 1px solid rgba(245, 242, 235, 0.12);
  border-radius: 999px;
  background: rgba(6, 7, 10, 0.62);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(24px) saturate(135%);
  transform: translateX(-50%);
  transition:
    background 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease,
    transform 240ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(245, 242, 235, 0.18);
  background: rgba(6, 7, 10, 0.78);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(245, 242, 235, 0.2);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.24), transparent 42%),
    linear-gradient(135deg, rgba(159, 217, 255, 0.24), rgba(233, 201, 120, 0.14));
  color: #fff;
  font-size: 12px;
  font-weight: 650;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 12px 28px rgba(0, 0, 0, 0.34);
}

.brand span:last-child {
  display: grid;
  gap: 2px;
  line-height: 1.1;
}

.brand strong {
  font-size: 15px;
  font-weight: 620;
}

.brand em {
  color: var(--faint);
  font-size: 10px;
  font-style: normal;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(245, 242, 235, 0.72);
  font-size: 13px;
  line-height: 1;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  width: min(calc(100% - 44px), var(--wide));
  min-height: 100vh;
  margin: 0 auto;
  padding: 130px 0 74px;
  transform-style: preserve-3d;
}

.hero-field {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.hero-field span {
  position: absolute;
  width: 1px;
  filter: blur(0.2px);
  opacity: 0.5;
  animation: drift 15s ease-in-out infinite alternate;
}

.hero-field span:nth-child(1) {
  top: 2%;
  left: 18%;
  height: 80vh;
  background: linear-gradient(180deg, transparent, rgba(82, 140, 255, 0.28), transparent);
  transform: rotate(24deg);
}

.hero-field span:nth-child(2) {
  right: 23%;
  bottom: 4%;
  height: 70vh;
  background: linear-gradient(180deg, transparent, rgba(233, 201, 120, 0.22), transparent);
  transform: rotate(-19deg);
  animation-delay: -4s;
}

.hero-field span:nth-child(3) {
  top: 8%;
  right: 42%;
  height: 58vh;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: rotate(41deg);
  animation-delay: -8s;
}

@keyframes drift {
  from {
    transform: translate3d(-2%, -2%, 0) scale(0.96);
  }
  to {
    transform: translate3d(5%, 4%, 0) scale(1.08);
  }
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-right: clamp(0px, 5vw, 50px);
  transform:
    translate3d(calc(var(--mx) * -8px), calc(var(--my) * -5px), 34px);
  transition: transform 220ms ease-out;
}

.artist-name {
  margin-bottom: 20px;
  color: rgba(245, 242, 235, 0.72);
  font-size: clamp(18px, 2.2vw, 30px);
  font-weight: 520;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(46px, 7.3vw, 104px);
  font-weight: 680;
  line-height: 0.96;
}

.hero-copy p:not(.artist-name) {
  max-width: 620px;
  margin-bottom: 0;
  color: rgba(245, 242, 235, 0.76);
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.82;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(245, 242, 235, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 14px;
  transition:
    transform 200ms ease,
    background 200ms ease,
    border-color 200ms ease;
}

.hero-actions a:first-child {
  background: #f5f2eb;
  color: #090b11;
}

.hero-actions a:hover {
  border-color: rgba(245, 242, 235, 0.32);
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.hero-actions a:first-child:hover {
  background: #fff;
}

.hero-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(520px, 62vw, 740px);
  transform:
    translate3d(calc(var(--mx) * 12px), calc(var(--my) * 8px), 56px);
  transform-style: preserve-3d;
  transition: transform 240ms ease-out;
}

.hero-art {
  position: relative;
  z-index: 2;
  width: min(76%, 470px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(245, 242, 235, 0.18);
  border-radius: 34px;
  box-shadow:
    0 48px 140px rgba(0, 0, 0, 0.54),
    0 0 0 16px rgba(255, 255, 255, 0.025);
  transform: translateZ(44px);
  transition:
    transform 260ms ease-out,
    box-shadow 260ms ease-out;
}

.hero-art::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.22), transparent 28%, transparent 72%, rgba(159, 217, 255, 0.08)),
    linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.32));
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-art::before {
  position: absolute;
  inset: -18%;
  z-index: 2;
  content: "";
  background: linear-gradient(115deg, transparent 28%, rgba(255, 255, 255, 0.24) 45%, transparent 58%);
  opacity: 0.28;
  transform: translateX(calc(var(--mx) * 18px));
  pointer-events: none;
}

.hero-art img {
  width: 100%;
  aspect-ratio: 4 / 5.35;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.04) contrast(1.02);
}

.hero-orbit {
  position: absolute;
  inset: 9% 2% 8% 8%;
  border: 1px solid rgba(159, 217, 255, 0.2);
  border-radius: 48%;
  transform: rotate(-19deg);
  animation: orbitPulse 5.8s ease-in-out infinite alternate;
  transform-style: preserve-3d;
}

.hero-orbit::before,
.hero-orbit::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.hero-orbit::before {
  top: 14%;
  right: 10%;
  width: 12px;
  height: 12px;
  background: var(--accent);
  box-shadow: 0 0 28px rgba(159, 217, 255, 0.8);
}

.hero-orbit::after {
  right: 20%;
  bottom: 8%;
  width: 8px;
  height: 8px;
  background: var(--accent-2);
  box-shadow: 0 0 24px rgba(233, 201, 120, 0.75);
}

@keyframes orbitPulse {
  from {
    opacity: 0.55;
    transform: rotate(-19deg) scale(0.98);
  }
  to {
    opacity: 0.95;
    transform: rotate(-13deg) scale(1.02);
  }
}

.hero-meta {
  position: absolute;
  right: 0;
  bottom: 56px;
  left: 0;
  display: flex;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid rgba(245, 242, 235, 0.12);
  color: rgba(245, 242, 235, 0.44);
  font-size: 12px;
  text-transform: uppercase;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid rgba(245, 242, 235, 0.1);
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(18px);
}

.ticker div {
  display: flex;
  width: max-content;
  gap: 42px;
  padding: 18px 0;
  color: rgba(245, 242, 235, 0.54);
  font-size: 13px;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
}

.ticker span {
  position: relative;
}

.ticker span::after {
  position: absolute;
  top: 50%;
  right: -25px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(159, 217, 255, 0.48);
  content: "";
  transform: translateY(-50%);
}

@keyframes ticker {
  from {
    transform: translateX(100vw);
  }
  to {
    transform: translateX(-100%);
  }
}

.section {
  position: relative;
  width: min(calc(100% - 44px), var(--max));
  margin: 0 auto;
  padding: clamp(86px, 11vw, 150px) 0;
  transform-style: preserve-3d;
}

.js-ready [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 42px, 0) scale(0.985);
  transition:
    opacity 800ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.section::before {
  position: absolute;
  top: clamp(34px, 6vw, 72px);
  right: min(-7vw, -28px);
  z-index: -1;
  width: 1px;
  height: clamp(190px, 24vw, 360px);
  background: linear-gradient(180deg, transparent, rgba(159, 217, 255, 0.22), transparent);
  content: "";
  opacity: 0.52;
  transform: translateZ(-80px) rotate(18deg);
  pointer-events: none;
}

.section-index {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.intro-section {
  display: grid;
  grid-template-columns: 0.64fr 0.36fr;
  gap: clamp(34px, 7vw, 96px);
  align-items: end;
}

.intro-section::after {
  position: absolute;
  right: 7%;
  bottom: 16%;
  left: 7%;
  z-index: -1;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(159, 217, 255, 0.28), transparent);
  transform: translateZ(-60px) rotate(-2deg);
}

.large-statement p {
  margin-bottom: 0;
  color: #fff;
  font-size: clamp(34px, 5.4vw, 78px);
  font-weight: 640;
  line-height: 1.08;
}

.intro-text p,
.section-top p,
.about-copy p,
.practice-flow p,
.timeline p,
.contact-section p {
  color: rgba(245, 242, 235, 0.67);
  font-size: 16px;
  line-height: 1.9;
}

.section-top {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(280px, 0.42fr);
  gap: clamp(30px, 7vw, 88px);
  align-items: end;
  margin-bottom: 42px;
  transform: translateZ(24px);
}

h2 {
  margin-bottom: 0;
  color: #fff;
  font-size: clamp(34px, 4.8vw, 70px);
  font-weight: 660;
  line-height: 1;
}

.gallery-shell {
  position: relative;
  min-height: clamp(590px, 64vw, 790px);
  overflow: hidden;
  border: 1px solid rgba(245, 242, 235, 0.13);
  border-radius: 38px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018) 40%, rgba(159, 217, 255, 0.05)),
    linear-gradient(105deg, rgba(159, 217, 255, 0.1), transparent 34%),
    linear-gradient(245deg, rgba(233, 201, 120, 0.09), transparent 42%),
    rgba(5, 7, 11, 0.76);
  box-shadow:
    0 48px 140px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  perspective: 1200px;
  transform: translateZ(0);
  transition:
    border-color 260ms ease,
    box-shadow 260ms ease,
    transform 260ms ease;
}

.gallery-shell:hover {
  border-color: rgba(245, 242, 235, 0.2);
  box-shadow:
    0 56px 160px rgba(0, 0, 0, 0.48),
    0 0 90px rgba(159, 217, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.gallery-shell::before {
  position: absolute;
  right: 5%;
  bottom: 108px;
  left: 5%;
  height: 38%;
  content: "";
  background:
    linear-gradient(rgba(245, 242, 235, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 242, 235, 0.07) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(180deg, transparent, black 22%, transparent 96%);
  opacity: 0.62;
  transform: rotateX(62deg);
  transform-origin: center bottom;
  pointer-events: none;
}

.gallery-shell::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.9), transparent 14%, transparent 86%, rgba(5, 7, 11, 0.9)),
    linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.42));
  pointer-events: none;
}

.gallery-space {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.gallery-space span {
  position: absolute;
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(159, 217, 255, 0.42), transparent);
  opacity: 0.52;
}

.gallery-space span:nth-child(1) {
  top: 17%;
  right: 7%;
  left: 7%;
}

.gallery-space span:nth-child(2) {
  top: 50%;
  right: 12%;
  left: 12%;
  opacity: 0.24;
}

.gallery-space span:nth-child(3) {
  right: 18%;
  bottom: 26%;
  left: 18%;
  opacity: 0.3;
}

.gallery-viewport {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: clamp(58px, 6vw, 86px) 0 150px;
}

.gallery-track {
  display: flex;
  gap: clamp(22px, 4vw, 52px);
  align-items: center;
  min-height: clamp(390px, 45vw, 570px);
  padding: 0 max(34px, calc((100vw - var(--max)) / 2 + 44px));
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-padding-inline: max(34px, calc((100vw - var(--max)) / 2 + 44px));
  scroll-snap-type: x mandatory;
  transform-style: preserve-3d;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  will-change: scroll-position;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-piece {
  position: relative;
  flex: 0 0 clamp(250px, 34vw, 430px);
  scroll-snap-align: center;
  opacity: 0.62;
  transform: translateZ(-70px) rotateY(-9deg) scale(0.94);
  transition:
    opacity 360ms ease,
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 360ms ease;
  filter: saturate(0.85) brightness(0.78);
  will-change: transform, opacity, filter;
}

.gallery-piece:nth-child(even) {
  transform: translateZ(-82px) rotateY(9deg) scale(0.92);
}

.gallery-piece.is-active {
  z-index: 4;
  opacity: 1;
  transform: translateZ(88px) rotateY(0deg) scale(1.05);
  filter: saturate(1.04) brightness(1);
}

.work-button {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
}

.gallery-piece .work-button {
  overflow: hidden;
  border: 1px solid rgba(245, 242, 235, 0.16);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.36),
    0 0 0 12px rgba(255, 255, 255, 0.022);
  transition:
    border-color 260ms ease,
    box-shadow 360ms ease,
    transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-piece.is-active .work-button {
  border-color: rgba(245, 242, 235, 0.26);
  box-shadow:
    0 42px 120px rgba(0, 0, 0, 0.46),
    0 0 80px rgba(159, 217, 255, 0.12),
    0 0 0 12px rgba(255, 255, 255, 0.025);
}

.gallery-piece .work-button::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.18), transparent 27%, transparent 70%, rgba(159, 217, 255, 0.12)),
    linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.76));
  pointer-events: none;
}

.gallery-piece img {
  width: 100%;
  aspect-ratio: 4 / 5.12;
  object-fit: cover;
  object-position: center;
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-piece:hover img,
.gallery-piece.is-active img {
  transform: scale(1.035);
}

.piece-number {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(245, 242, 235, 0.18);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.32);
  color: rgba(245, 242, 235, 0.78);
  font-size: 12px;
  font-weight: 650;
  backdrop-filter: blur(14px);
}

.piece-caption {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 3;
  display: grid;
  gap: 9px;
}

.piece-caption strong {
  color: #fff;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 630;
  line-height: 1;
}

.piece-caption em {
  color: rgba(245, 242, 235, 0.62);
  font-size: 13px;
  font-style: normal;
}

.gallery-console {
  position: absolute;
  right: clamp(22px, 4vw, 52px);
  bottom: clamp(22px, 4vw, 42px);
  left: clamp(22px, 4vw, 52px);
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(245, 242, 235, 0.13);
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.42);
}

.gallery-console > div:first-child {
  display: grid;
  gap: 7px;
}

.gallery-console span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 650;
}

.gallery-console strong {
  color: #fff;
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 600;
}

.gallery-console em {
  color: rgba(245, 242, 235, 0.54);
  font-size: 13px;
  font-style: normal;
}

.gallery-controls {
  display: flex;
  gap: 10px;
}

.gallery-controls button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(245, 242, 235, 0.17);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.075);
  color: #fff;
  backdrop-filter: blur(14px);
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.gallery-controls button:hover {
  border-color: rgba(245, 242, 235, 0.3);
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-2px);
}

.gallery-controls svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(32px, 7vw, 94px);
  align-items: center;
}

.about-section::before {
  right: auto;
  left: -12%;
  background: linear-gradient(180deg, transparent, rgba(233, 201, 120, 0.2), transparent);
}

.portrait-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(245, 242, 235, 0.14);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.34);
  transform: translateZ(42px) rotateY(2deg);
  transition:
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.portrait-panel:hover {
  box-shadow:
    0 44px 140px rgba(0, 0, 0, 0.42),
    0 0 90px rgba(159, 217, 255, 0.08);
  transform: translateZ(56px) rotateY(0deg) translateY(-4px);
}

.portrait-panel::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.28)),
    linear-gradient(135deg, rgba(159, 217, 255, 0.16), transparent 32%);
  pointer-events: none;
}

.portrait-panel img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.about-copy h2 {
  margin-bottom: 30px;
}

.about-copy p {
  margin-bottom: 20px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 36px 0 0;
  overflow: hidden;
  border: 1px solid rgba(245, 242, 235, 0.12);
  border-radius: 24px;
  background: rgba(245, 242, 235, 0.1);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.24);
}

.facts div {
  min-height: 118px;
  padding: 22px;
  background: rgba(8, 10, 15, 0.8);
  transition:
    background 220ms ease,
    transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.facts div:hover {
  background: rgba(13, 17, 26, 0.92);
  transform: translateY(-2px);
}

.facts dt {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 12px;
}

.facts dd {
  margin: 0;
  color: rgba(245, 242, 235, 0.78);
  font-size: 14px;
  line-height: 1.65;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  perspective: 1000px;
}

.timeline article,
.practice-flow article {
  position: relative;
  min-height: 250px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(245, 242, 235, 0.12);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.22);
  transform: translateZ(0);
  transition:
    border-color 260ms ease,
    box-shadow 320ms ease,
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
    background 260ms ease;
}

.timeline article:hover,
.practice-flow article:hover {
  border-color: rgba(245, 242, 235, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.045);
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.3),
    0 0 70px rgba(159, 217, 255, 0.07);
  transform: translateY(-6px) translateZ(28px);
}

.timeline article::before,
.practice-flow article::before {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 1px;
  height: 128px;
  background: linear-gradient(180deg, rgba(159, 217, 255, 0.34), transparent);
  content: "";
  transform: rotate(22deg);
}

.timeline span,
.practice-flow span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 650;
}

.timeline h3,
.practice-flow h3 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.22;
}

.practice-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  perspective: 1100px;
}

.practice-flow article {
  min-height: 310px;
}

.contact-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(320px, 0.55fr);
  gap: clamp(30px, 8vw, 100px);
  align-items: start;
  width: min(calc(100% - 44px), var(--max));
  margin: 0 auto clamp(40px, 8vw, 90px);
  padding: clamp(44px, 7vw, 78px);
  border: 1px solid rgba(245, 242, 235, 0.14);
  border-radius: 34px;
  background:
    linear-gradient(125deg, rgba(159, 217, 255, 0.13), transparent 37%),
    linear-gradient(245deg, rgba(233, 201, 120, 0.11), transparent 42%),
    rgba(255, 255, 255, 0.055);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.32);
  transform-style: preserve-3d;
}

.contact-section::before {
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  content: "";
  background: linear-gradient(135deg, rgba(159, 217, 255, 0.12), transparent 34%, rgba(233, 201, 120, 0.1));
  filter: blur(22px);
  opacity: 0.42;
  transform: translateZ(-40px);
  pointer-events: none;
}

.contact-section h2 {
  margin-bottom: 0;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.contact-actions a,
.contact-actions span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(245, 242, 235, 0.14);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  color: rgba(245, 242, 235, 0.86);
  font-size: 14px;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.contact-actions a:hover {
  border-color: rgba(245, 242, 235, 0.28);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 44px), var(--max));
  margin: 0 auto;
  padding: 28px 0 42px;
  border-top: 1px solid rgba(245, 242, 235, 0.1);
  color: rgba(245, 242, 235, 0.45);
  font-size: 13px;
}

.footer p {
  margin: 0 0 8px;
}

.icp-link {
  color: rgba(245, 242, 235, 0.52);
}

.lightbox {
  width: min(92vw, 1120px);
  max-height: 92vh;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(245, 242, 235, 0.16);
  border-radius: 28px;
  background: rgba(7, 8, 12, 0.96);
  color: #fff;
  box-shadow: 0 40px 140px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: scale(0.965) translateY(18px);
  transition:
    opacity 220ms ease,
    transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox[open] {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
}

.lightbox img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  background: #030405;
}

.lightbox > div {
  padding: 20px 24px 24px;
}

.lightbox h3 {
  margin-bottom: 8px;
  font-size: 24px;
}

.lightbox p {
  margin: 0;
  color: rgba(245, 242, 235, 0.62);
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(245, 242, 235, 0.16);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.52);
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

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

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

@media (max-width: 980px) {
  .site-header {
    top: 12px;
    width: min(calc(100% - 20px), 720px);
  }

  .nav {
    gap: 0;
  }

  .nav a {
    padding: 10px 9px;
    font-size: 12px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 26px;
    min-height: auto;
    padding-top: 116px;
  }

  .hero-copy {
    order: 1;
    padding-right: 0;
  }

  .hero-stage {
    order: 2;
    min-height: 520px;
  }

  .hero-art {
    width: min(72%, 430px);
    transform: none;
  }

  .hero-meta {
    position: static;
    order: 3;
  }

  .intro-section,
  .section-top,
  .about-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .timeline,
  .practice-flow {
    grid-template-columns: 1fr;
  }

  .gallery-shell {
    min-height: 650px;
    border-radius: 30px;
  }

  .gallery-track {
    padding-inline: 38px;
    scroll-padding-inline: 38px;
  }

  .gallery-piece {
    flex-basis: min(74vw, 390px);
    transform: translateZ(0) scale(0.95);
  }

  .gallery-piece:nth-child(even) {
    transform: translateZ(0) scale(0.95);
  }

  .gallery-piece.is-active {
    transform: translateZ(0) scale(1);
  }

  .contact-section {
    padding: 34px;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: center;
    min-height: 58px;
    padding: 8px 10px;
  }

  .brand {
    gap: 8px;
  }

  .brand span:last-child {
    display: none;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .nav a {
    padding: 9px 7px;
    font-size: 11px;
  }

  .hero,
  .section,
  .contact-section,
  .footer {
    width: min(calc(100% - 28px), var(--max));
  }

  .hero {
    padding-top: 96px;
  }

  h1 {
    font-size: clamp(42px, 15vw, 68px);
  }

  .artist-name {
    font-size: 18px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions a {
    flex: 1 1 150px;
  }

  .hero-stage {
    min-height: 430px;
  }

  .hero-art {
    width: min(82%, 360px);
    border-radius: 26px;
  }

  .hero-meta {
    gap: 12px;
    overflow: auto;
    white-space: nowrap;
  }

  .section {
    padding: 74px 0;
  }

  .large-statement p {
    font-size: 34px;
  }

  h2 {
    font-size: 36px;
  }

  .gallery-shell {
    width: calc(100vw - 28px);
    min-height: 580px;
    margin-left: 50%;
    border-radius: 24px;
    transform: translateX(-50%);
  }

  .gallery-viewport {
    padding: 44px 0 132px;
  }

  .gallery-track {
    min-height: 360px;
    padding-inline: 24px;
    scroll-padding-inline: 24px;
  }

  .gallery-piece {
    flex-basis: min(78vw, 310px);
    transform: translateZ(0) scale(0.94);
  }

  .gallery-piece:nth-child(even) {
    transform: translateZ(0) scale(0.94);
  }

  .gallery-piece.is-active {
    transform: translateZ(0) scale(1);
  }

  .gallery-piece .work-button {
    border-radius: 23px;
  }

  .gallery-piece img {
    aspect-ratio: 4 / 5.25;
  }

  .piece-number {
    top: 14px;
    left: 14px;
    width: 38px;
    height: 38px;
  }

  .piece-caption {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }

  .piece-caption strong {
    font-size: 25px;
  }

  .gallery-console {
    display: grid;
    gap: 18px;
  }

  .gallery-controls {
    justify-content: space-between;
  }

  .gallery-controls button {
    width: 44px;
    height: 44px;
  }

  .facts {
    grid-template-columns: 1fr;
  }

  .portrait-panel img {
    aspect-ratio: 1 / 1.15;
  }

  .contact-actions {
    display: grid;
  }

  .footer {
    display: grid;
    gap: 18px;
  }
}
