/* CANVAS VAULT - CINEMATIC EXHIBITION LAYER */

:root {
  --vault-ink: #070706;
  --vault-charcoal: #11100e;
  --vault-ivory: #f4f0e8;
  --vault-paper: #fffdf8;
  --vault-red: #6d1518;
  --vault-gold: #d5ab4d;
  --vault-teal: #169c99;
  --vault-line: rgba(17, 16, 14, 0.14);
  --vault-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --cursor-x: 50vw;
  --cursor-y: 50vh;
  --hero-pointer-x: 0px;
  --hero-pointer-y: 0px;
}

:root[data-theme="dark"] {
  --vault-ivory: #0a0908;
  --vault-paper: #151310;
  --vault-line: rgba(255, 255, 255, 0.12);
}

html {
  background: var(--vault-ink);
}

body {
  background: var(--bg-main);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

main,
.site-footer,
.site-header {
  position: relative;
  z-index: 3;
}

.floating-orbs,
.anime-backdrop {
  display: none !important;
}

/* Opening reveal */
.vault-intro {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #050505;
  color: #fff;
  pointer-events: none;
  animation: vaultIntroCurtain 900ms var(--vault-ease) 1550ms forwards;
}

.vault-intro::before,
.vault-intro::after {
  position: absolute;
  inset: 0;
  content: '';
}

.vault-intro::before {
  background:
    linear-gradient(90deg, transparent 49.92%, rgba(213, 171, 77, 0.52) 50%, transparent 50.08%),
    linear-gradient(0deg, transparent 49.92%, rgba(213, 171, 77, 0.18) 50%, transparent 50.08%);
  transform: scale(0.15);
  opacity: 0;
  animation: vaultCrossReveal 1100ms var(--vault-ease) 100ms forwards;
}

.vault-intro::after {
  background: radial-gradient(circle at center, rgba(109, 21, 24, 0.36), transparent 40%);
  opacity: 0;
  animation: vaultGlowReveal 1200ms ease 250ms forwards;
}

.vault-intro__aperture {
  position: absolute;
  width: min(76vw, 940px);
  aspect-ratio: 1;
  border: 1px solid rgba(213, 171, 77, 0.28);
  border-radius: 50%;
  box-shadow:
    0 0 0 18vw rgba(0, 0, 0, 0.6),
    0 0 80px rgba(213, 171, 77, 0.12) inset;
  opacity: 0;
  transform: scale(0.42) rotate(-20deg);
  animation: vaultAperture 1500ms var(--vault-ease) forwards;
}

.vault-intro__wordmark {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto auto;
  align-items: end;
  column-gap: 18px;
  overflow: hidden;
}

.vault-intro__cv,
.vault-intro__name {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
  transform: translateY(115%);
  animation: vaultTypeRise 900ms var(--vault-ease) 360ms forwards;
}

.vault-intro__cv {
  color: var(--vault-gold);
  font-size: clamp(5rem, 15vw, 12rem);
}

.vault-intro__name {
  max-width: none;
  font-size: clamp(3rem, 9vw, 7.4rem);
  animation-delay: 460ms;
}

.vault-intro__edition {
  grid-column: 1 / -1;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  animation: vaultEditionIn 600ms ease 820ms forwards;
}

.vault-intro__progress {
  position: absolute;
  left: 50%;
  bottom: 8vh;
  width: min(220px, 52vw);
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(-50%);
}

.vault-intro__progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--vault-red), var(--vault-gold), #fff);
  transform: translateX(-100%);
  animation: vaultProgress 1250ms var(--vault-ease) 200ms forwards;
}

body.intro-done .vault-intro {
  visibility: hidden;
}

@keyframes vaultIntroCurtain {
  to { opacity: 0; transform: scale(1.06); visibility: hidden; }
}
@keyframes vaultCrossReveal {
  40% { opacity: 1; }
  100% { opacity: 0.3; transform: scale(1); }
}
@keyframes vaultGlowReveal {
  50%, 100% { opacity: 1; }
}
@keyframes vaultAperture {
  35% { opacity: 1; }
  100% { opacity: 0.72; transform: scale(1) rotate(0); }
}
@keyframes vaultTypeRise { to { transform: translateY(0); } }
@keyframes vaultEditionIn { to { opacity: 1; } }
@keyframes vaultProgress { to { transform: translateX(0); } }

/* Cursor lighting */
.cursor-aura {
  position: fixed;
  left: var(--cursor-x);
  top: var(--cursor-y);
  z-index: 4;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(213, 171, 77, 0.58);
  border-radius: 50%;
  mix-blend-mode: difference;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: width 240ms var(--vault-ease), height 240ms var(--vault-ease), opacity 240ms ease;
}

.cursor-aura span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}

body.has-precise-pointer .cursor-aura { opacity: 0.86; }
body.has-precise-pointer.is-cursor-over-action .cursor-aura { width: 66px; height: 66px; }

/* Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 14px clamp(14px, 2vw, 30px) 0;
  pointer-events: none;
  z-index: 100;
}

.site-header::before {
  position: absolute;
  inset: -14px -100vw -12px;
  z-index: -1;
  content: '';
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.98), rgba(5, 5, 5, 0.78) 68%, transparent);
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms ease;
}

body.is-scrolled .site-header::before { opacity: 1; }

.top-nav {
  width: min(1500px, 100%);
  min-height: 68px;
  margin: 0 auto;
  padding: 0 14px 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background: rgba(5, 5, 5, 0.72);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  pointer-events: auto;
}

body.is-scrolled .top-nav {
  min-height: 58px;
  background: rgba(5, 5, 5, 0.94);
  border-color: rgba(213, 171, 77, 0.24);
}

.nav-mark {
  position: relative;
  width: auto;
  height: auto;
  padding-right: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.nav-mark-cv {
  color: var(--vault-gold);
  font-size: 1.55rem;
  text-shadow: 0 0 22px rgba(213, 171, 77, 0.32);
}

.nav-links { gap: clamp(14px, 2.3vw, 36px); }

.nav-links a {
  position: relative;
  padding: 24px 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 14px;
  left: 0;
  height: 1px;
  content: '';
  background: linear-gradient(90deg, var(--vault-red), var(--vault-gold));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 360ms var(--vault-ease);
}

.nav-links a:is(:hover, .is-active) { color: #fff; }
.nav-links a:is(:hover, .is-active)::after { transform: scaleX(1); transform-origin: left; }

.theme-toggle {
  height: 38px;
  padding: 0 14px;
  border-radius: 0;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

/* Cinematic hero */
.hero.section-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(390px, 0.82fr) minmax(440px, 1.18fr);
  gap: 0;
  align-items: center;
  width: 100%;
  max-width: none;
  min-height: 100svh;
  padding: 118px clamp(28px, 6vw, 104px) 54px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 76% 46%, rgba(213, 171, 77, 0.14), transparent 24rem),
    radial-gradient(circle at 15% 68%, rgba(109, 21, 24, 0.18), transparent 29rem),
    #050505;
  color: #fff;
  margin: 0;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: '';
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 11vw 100%, 100% 9vw;
  mask-image: linear-gradient(90deg, black, transparent 70%);
  opacity: 0.48;
  transform: translate3d(calc(var(--hero-pointer-x) * -0.1), calc(var(--hero-pointer-y) * -0.1), 0);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: '';
  background:
    linear-gradient(90deg, #050505 0%, rgba(5, 5, 5, 0.92) 34%, rgba(5, 5, 5, 0.12) 68%, rgba(5, 5, 5, 0.58) 100%),
    linear-gradient(0deg, #050505 0%, transparent 25%, transparent 78%, rgba(5, 5, 5, 0.72) 100%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 5;
  width: min(100%, 700px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
  transform:
    translate3d(calc(var(--scene-shift-x) * 0.4), calc(var(--hero-copy-y) + var(--scene-shift-y) * 0.3), 0);
  opacity: var(--hero-copy-opacity);
}

.hero-eyebrow {
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
}

.glitch-title {
  max-width: 5ch;
  margin: 0 0 28px;
  color: #f7f2e9;
  font-size: clamp(6.4rem, 10.8vw, 11.5rem);
  line-height: 0.78;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 18px 70px rgba(0, 0, 0, 0.58);
}

.glitch-title::before,
.glitch-layer-1 {
  color: rgba(22, 156, 153, 0.92) !important;
  mix-blend-mode: screen !important;
}

.glitch-title::after,
.glitch-layer-2 {
  color: rgba(109, 21, 24, 0.94) !important;
  mix-blend-mode: screen !important;
}

.hero-sub {
  max-width: 33ch;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1rem, 1.3vw, 1.24rem);
  font-weight: 500;
}

.hero-statement {
  margin-bottom: 30px;
  color: var(--vault-gold);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.2rem, 1.8vw, 1.7rem);
  font-style: italic;
}

.hero-ctas { margin-bottom: 42px; }

.button {
  position: relative;
  min-height: 52px;
  padding: 0 24px;
  overflow: hidden;
  border-radius: 0;
  letter-spacing: 0.12em;
  isolation: isolate;
}

.button::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: '';
  background: linear-gradient(105deg, transparent 25%, rgba(255, 255, 255, 0.3), transparent 72%);
  transform: translateX(-120%) skewX(-18deg);
  transition: transform 650ms var(--vault-ease);
}

.button:hover::before { transform: translateX(120%) skewX(-18deg); }

.button-gold,
.button-dark,
.button-dark-solid {
  background: var(--vault-red);
  border-color: var(--vault-gold);
  color: #fff;
}

.button-gold:hover,
.button-dark:hover,
.button-dark-solid:hover {
  background: #8c2225;
  color: #fff;
  box-shadow: 0 18px 50px rgba(109, 21, 24, 0.34), 0 0 0 1px var(--vault-gold) inset;
}

.hero-copy .button-ghost {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.hero-stats { color: #fff; }
.stat-num { color: var(--vault-gold); font-size: 2.45rem; }
.stat-label { color: rgba(255, 255, 255, 0.46); }
.stat-div { background: rgba(255, 255, 255, 0.14); }

.hero-art {
  position: absolute;
  inset: 92px 0 0 42%;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent !important;
  box-shadow: none !important;
  transform: translate3d(calc(var(--scene-shift-x) * -0.25), calc(var(--hero-art-y) + var(--scene-shift-y) * -0.18), 0) scale(var(--hero-art-scale));
  pointer-events: none;
}

.hero-art-frame {
  position: relative;
  width: min(40vw, 590px);
  aspect-ratio: 0.78;
  transform: translate3d(calc(var(--hero-pointer-x) * -0.18), calc(var(--hero-pointer-y) * -0.15), 0) rotate(3deg);
  transition: transform 500ms var(--vault-ease);
}

.hero-art-frame::before {
  position: absolute;
  inset: -18px;
  z-index: -1;
  content: '';
  border: 1px solid rgba(213, 171, 77, 0.45);
  clip-path: polygon(0 0, 42% 0, 42% 2px, 2px 2px, 2px 72%, 0 72%, 0 0, 100% 0, 100% 100%, 62% 100%, 62% calc(100% - 2px), calc(100% - 2px) calc(100% - 2px), calc(100% - 2px) 28%, 100% 28%);
}

.hero-art-inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 50% 42%, #2a241b 0%, #17130f 60%, #0b0907 100%);
  box-shadow: 0 70px 150px rgba(0, 0, 0, 0.78), 0 0 80px rgba(109, 21, 24, 0.2);
  clip-path: none;
}

.hero-art-inner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: saturate(1.13) contrast(1.08) brightness(0.94);
  transform: scale(1);
  transition: clip-path 720ms var(--vault-ease), filter 600ms ease, opacity 420ms ease, transform 900ms var(--vault-ease);
}

.hero-art-inner.is-switching img {
  clip-path: inset(0 0 100% 0);
  filter: saturate(1.35) contrast(1.16) blur(6px);
  opacity: 0.25;
  transform: scale(1.025);
}

.hero-art-frame:hover .hero-art-inner img { transform: scale(1.008); }

.hero-art-scanlines {
  opacity: 0.2;
  mix-blend-mode: soft-light;
}

.hero-art-corner { display: none; }

.hero-art-ring {
  border-color: rgba(213, 171, 77, 0.28);
  opacity: 0.7;
}

.hero-art-ring-1 { inset: -14%; }
.hero-art-ring-2 { inset: -26%; border-color: rgba(22, 156, 153, 0.18); }

.hero-art-meta {
  position: absolute;
  right: clamp(30px, 4vw, 72px);
  bottom: 42px;
  z-index: 4;
  display: grid;
  min-width: 210px;
  padding: 18px 20px;
  border-left: 2px solid var(--vault-gold);
  background: rgba(5, 5, 5, 0.68);
  color: #fff;
  backdrop-filter: blur(14px);
}

.hero-art-meta span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-art-meta strong {
  margin-top: 5px;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
}

.hero-art-index {
  position: absolute;
  right: 3.5vw;
  top: 6vh;
  color: rgba(255, 255, 255, 0.06);
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(8rem, 18vw, 18rem);
  line-height: 1;
}

.hero-ghost-type {
  position: absolute;
  right: -0.04em;
  bottom: -0.08em;
  z-index: 0;
  color: rgba(255, 255, 255, 0.025);
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(13rem, 29vw, 31rem);
  line-height: 0.58;
  text-align: right;
  pointer-events: none;
  transform: translate3d(calc(var(--hero-pointer-x) * 0.08), calc(var(--hero-pointer-y) * 0.08), 0);
}

.hero-coordinate {
  position: absolute;
  z-index: 4;
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-coordinate--top { top: 104px; right: 3vw; }
.hero-coordinate--side { right: 18px; top: 50%; writing-mode: vertical-rl; transform: translateY(-50%); }

.hero-scroll-cue {
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
}

/* Moving collection rail */
.collection-marquee {
  position: relative;
  z-index: 5;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid rgba(213, 171, 77, 0.25);
  border-bottom: 1px solid rgba(213, 171, 77, 0.25);
  background: var(--vault-red);
  color: #fff;
}

.collection-marquee__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 34px;
  padding: 13px 0;
  animation: vaultMarquee 28s linear infinite;
}

.collection-marquee span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.16em;
}

.collection-marquee i { color: var(--vault-gold); font-style: normal; }

@keyframes vaultMarquee { to { transform: translateX(-50%); } }

/* Editorial collection sections */
.gallery-section {
  position: relative;
  padding: clamp(110px, 12vw, 180px) clamp(22px, 5.5vw, 92px);
  background: #ece6dc;
  color: #111;
  isolation: isolate;
}

.gallery-section::before {
  inset: 0;
  background:
    radial-gradient(circle at 84% 5%, rgba(109, 21, 24, 0.12), transparent 28rem),
    linear-gradient(90deg, rgba(17, 16, 14, 0.05) 1px, transparent 1px);
  background-size: auto, 12.5vw 100%;
  opacity: 1;
  mix-blend-mode: multiply;
}

.gallery-bg-grid {
  opacity: 0.14;
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, black, transparent 72%);
}

.gallery-section .section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  width: min(1500px, 100%);
  margin: 0 auto clamp(58px, 7vw, 96px);
  text-align: left;
}

.gallery-section .section-label {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--vault-red);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
}

.gallery-section .section-heading h2 {
  max-width: 8ch;
  color: #111;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(5rem, 10vw, 10rem);
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: 0;
  text-transform: uppercase;
}

.heading-accent-line {
  display: none;
}

.section-intro {
  max-width: 32ch;
  padding: 0 0 8px 24px;
  border-left: 1px solid rgba(109, 21, 24, 0.34);
  color: #655e55;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.55;
}

.vault-reveal {
  opacity: 0;
  transform: translate3d(0, 54px, 0);
  transition: opacity 900ms ease, transform 1100ms var(--vault-ease);
}

.vault-reveal.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.about-tags.vault-reveal,
.contact-right.vault-reveal {
  transition-delay: 120ms;
}

.art-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(26px, 4.5vw, 72px) clamp(20px, 3vw, 46px);
  width: min(1500px, 100%);
  margin: 0 auto;
  align-items: start;
  counter-reset: artwork;
}

.featured-section {
  padding-top: clamp(96px, 10vw, 150px);
  background: #f4f0e8;
}

.featured-grid .art-card:nth-child(1) { grid-column: 1 / span 7; grid-row: 1 / span 2; }
.featured-grid .art-card:nth-child(2) { grid-column: 8 / -1; }
.featured-grid .art-card:nth-child(3) { grid-column: 8 / -1; }

.gallery-section:not(.featured-section) .art-card:nth-child(6n+1),
.gallery-section:not(.featured-section) .art-card:nth-child(6n+4),
.gallery-section:not(.featured-section) .art-card:nth-child(6n+5) { grid-column: span 7; }

.gallery-section:not(.featured-section) .art-card:nth-child(6n+2),
.gallery-section:not(.featured-section) .art-card:nth-child(6n+3),
.gallery-section:not(.featured-section) .art-card:nth-child(6n+6) { grid-column: span 5; }

#gallery .art-card:last-child { grid-column: 4 / span 6; }

#gallery.is-extended-gallery .art-grid {
  transform: none;
  transform-origin: center;
  transition: none;
  will-change: auto;
}

#gallery.is-extended-gallery .art-tilt {
  transform: translate3d(0, 0, 0);
}

#gallery.is-extended-gallery .art-card:is(:hover, :focus-within) .art-tilt {
  transform: translate3d(0, -8px, 24px);
}

.art-card {
  position: relative;
  min-width: 0;
  perspective: 1500px;
  counter-increment: artwork;
}

.art-card::before {
  position: absolute;
  left: -0.06em;
  top: -0.42em;
  z-index: -1;
  color: rgba(17, 16, 14, 0.1);
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(5rem, 9vw, 9rem);
  line-height: 1;
  pointer-events: none;
  content: counter(artwork, decimal-leading-zero);
}

.art-tilt {
  position: relative;
  padding: clamp(10px, 1.2vw, 16px);
  border: 1px solid rgba(17, 16, 14, 0.12);
  border-radius: 0;
  background: #fffdf8;
  box-shadow: 0 25px 70px rgba(39, 24, 10, 0.11);
  transform: translate3d(0, var(--card-scroll-y, 0), 0) rotate(var(--card-scroll-rotate, 0));
  transition: transform 650ms var(--vault-ease), box-shadow 650ms var(--vault-ease), border-color 450ms ease;
}

.art-tilt::after {
  position: absolute;
  inset: -1px;
  z-index: 4;
  content: '';
  border: 1px solid rgba(var(--accent-rgb), 0);
  pointer-events: none;
  transition: inset 500ms var(--vault-ease), border-color 500ms ease;
}

.art-card:is(:hover, :focus-within) .art-tilt {
  border-color: rgba(var(--accent-rgb), 0.42);
  box-shadow: 0 48px 100px rgba(39, 24, 10, 0.2), 0 0 52px rgba(var(--accent-rgb), 0.12);
  transform: translate3d(0, calc(var(--card-scroll-y, 0px) - 10px), 28px) rotate(var(--card-scroll-rotate, 0deg));
}

.art-card:is(:hover, :focus-within) .art-tilt::after {
  inset: -9px;
  border-color: rgba(var(--accent-rgb), 0.34);
}

.image-shell {
  position: relative;
  height: clamp(360px, 43vw, 660px);
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #e7dfd3;
  box-shadow: none;
  transform:
    perspective(1400px)
    rotateX(var(--image-rotate-x, 0deg))
    rotateY(var(--image-rotate-y, 0deg))
    translate3d(var(--image-shift-x, 0), var(--image-shift-y, 0), 0);
  transform-style: preserve-3d;
  transition: transform 340ms var(--vault-ease), filter 400ms ease;
}

.gallery-section:not(.featured-section) .art-card:nth-child(6n+2) .image-shell,
.gallery-section:not(.featured-section) .art-card:nth-child(6n+3) .image-shell,
.gallery-section:not(.featured-section) .art-card:nth-child(6n+6) .image-shell {
  height: clamp(330px, 34vw, 520px);
}

.featured-grid .art-card:nth-child(1) .image-shell { height: clamp(580px, 68vw, 880px); }
.featured-grid .art-card:nth-child(2) .image-shell,
.featured-grid .art-card:nth-child(3) .image-shell { height: clamp(280px, 28vw, 390px); }

.image-shell::before {
  position: absolute;
  inset: 0;
  z-index: 3;
  content: '';
  background:
    radial-gradient(circle at var(--image-light-x, 50%) var(--image-light-y, 50%), rgba(255, 255, 255, 0.32), transparent 38%),
    linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.18) 49%, transparent 62%);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.image-shell::after {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  content: '↗';
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.58);
  color: #fff;
  font-size: 1.2rem;
  opacity: 0;
  transform: translateY(12px) rotate(-35deg);
  transition: opacity 300ms ease, transform 500ms var(--vault-ease);
}

.art-card:is(:hover, :focus-within) .image-shell::before,
.art-card:is(:hover, :focus-within) .image-shell::after { opacity: 1; }
.art-card:is(:hover, :focus-within) .image-shell::after { transform: translateY(0) rotate(0); }

.image-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.04);
  transform: scale(1.015) translateZ(30px);
  transition: transform 800ms var(--vault-ease), filter 500ms ease;
}

.art-card:is(:hover, :focus-within) .image-shell img {
  filter: saturate(1.14) contrast(1.07);
  transform: scale(1.075) translateZ(64px);
}

.art-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 18px;
  align-items: end;
  padding: 20px 8px 8px;
  color: #111;
}

.art-info h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  line-height: 1;
}

.art-price {
  color: var(--vault-red);
  font-size: 0.95rem;
  font-weight: 800;
}

.art-tag {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #81776a;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
}

/* About as a gallery manifesto */
.about-section {
  position: relative;
  min-height: 760px;
  padding: clamp(110px, 13vw, 190px) clamp(24px, 7vw, 120px);
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 25%, rgba(109, 21, 24, 0.42), transparent 30rem),
    linear-gradient(115deg, #070706, #12100d 60%, #080706);
  color: #fff;
  isolation: isolate;
}

.about-section::before {
  position: absolute;
  left: -0.04em;
  bottom: -0.25em;
  z-index: -1;
  content: 'CV';
  color: rgba(255, 255, 255, 0.035);
  font-family: 'Bebas Neue', sans-serif;
  font-size: min(55vw, 48rem);
  line-height: 1;
}

.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: clamp(54px, 10vw, 160px);
  align-items: end;
  width: min(1360px, 100%);
  margin: 0 auto;
}

.about-copy {
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.about-copy .section-label {
  padding: 0;
  border: 0;
  color: var(--vault-gold);
}

.about-copy h2 {
  margin-bottom: 36px;
  color: #fff;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(5.5rem, 11vw, 11rem);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: 0;
  text-transform: uppercase;
}

.about-copy h2 em {
  color: var(--vault-gold);
  font-family: 'Playfair Display', serif;
  font-size: 0.72em;
  text-transform: none;
}

.about-copy p {
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.8;
}

.about-profile {
  grid-template-columns: minmax(330px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(54px, 8vw, 120px);
}

.about-portrait-gallery {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(118px, 0.48fr);
  grid-template-rows: 1fr auto;
  gap: 16px;
  min-width: 0;
  padding: 12px 0 32px;
}

.about-portrait {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #0b0a09;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.46);
}

.about-portrait::after {
  position: absolute;
  inset: 0;
  content: '';
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(213, 171, 77, 0.18) inset;
}

.about-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-portrait--primary {
  grid-row: 1 / 3;
  aspect-ratio: 3 / 4;
}

.about-portrait--primary img { object-position: center 38%; }

.about-portrait--secondary {
  align-self: end;
  aspect-ratio: 1.36 / 1;
  transform: translateX(-18px);
}

.about-portrait--secondary img { object-position: center 32%; }

.about-portrait figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding: 54px 18px 16px;
  background: linear-gradient(transparent, rgba(5, 5, 5, 0.82));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.about-portrait figcaption span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.58rem;
  text-align: right;
}

.about-signature {
  display: grid;
  grid-template-columns: auto 48px;
  align-items: center;
  gap: 12px;
  min-height: 118px;
  padding: 14px 16px;
  border: 1px solid rgba(213, 171, 77, 0.26);
  background: #f4f1eb;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.3);
  transform: translateX(-18px);
}

.about-signature span {
  color: #5a0f0f;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.about-signature img {
  display: block;
  width: 48px;
  height: 90px;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
}

.about-story {
  display: grid;
  gap: 18px;
}

.about-story p { margin: 0; }

.about-practices {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1360px, 100%);
  margin: clamp(58px, 7vw, 96px) auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.about-practices .about-tag {
  grid-template-columns: 44px minmax(0, 1fr);
  min-height: 98px;
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.about-practices .about-tag:last-child { border-right: 0; }

.about-tags {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.about-tag {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition: padding 380ms var(--vault-ease), color 300ms ease;
}

.about-tag:hover { padding-left: 14px; color: var(--vault-gold); }
.tag-num { color: var(--vault-gold); }
.tag-text { color: rgba(255, 255, 255, 0.78); }
.about-3d-frame { opacity: 0.35; }

/* Exhibition documentation */
.exhibition-section {
  position: relative;
  padding: clamp(92px, 11vw, 150px) clamp(20px, 6vw, 96px);
  overflow: hidden;
  background: #0b0a09;
  color: #fff;
}

.exhibition-section .section-heading {
  width: min(1440px, 100%);
  margin: 0 auto clamp(42px, 6vw, 82px);
}

.exhibition-section .section-label { color: var(--vault-gold); }
.exhibition-section .section-heading h2 { color: #fff; }
.exhibition-section .section-intro { color: rgba(255, 255, 255, 0.58); }

.exhibition-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 0.85fr;
  gap: clamp(8px, 1.2vw, 18px);
  width: min(1440px, 100%);
  margin: 0 auto;
}

.exhibition-shot {
  position: relative;
  min-width: 0;
  aspect-ratio: 0.76;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(213, 171, 77, 0.2);
  background: #171411;
}

.exhibition-shot:first-child { aspect-ratio: 1.16; }

.exhibition-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.05);
  transition: transform 900ms var(--vault-ease), filter 600ms ease;
}

.exhibition-shot:hover img {
  filter: saturate(1.05) contrast(1.06);
  transform: scale(1.035);
}

.exhibition-shot figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 38px 18px 16px;
  background: linear-gradient(transparent, rgba(5, 5, 5, 0.84));
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Contact chamber */
.contact-section {
  position: relative;
  padding: clamp(100px, 12vw, 170px) clamp(22px, 6vw, 104px) 50px;
  overflow: hidden;
  background: #6d1518;
  color: #fff;
}

.contact-section::before {
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(213, 171, 77, 0.2), transparent 30rem),
    linear-gradient(100deg, rgba(5, 5, 5, 0.48), transparent 58%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: auto, auto, 12.5vw 100%;
  opacity: 1;
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(500px, 1.28fr);
  gap: clamp(50px, 9vw, 150px);
  width: min(1380px, 100%);
  margin: 0 auto;
}

.contact-left {
  position: sticky;
  top: 120px;
  align-self: start;
}

.contact-section .section-label {
  padding: 0;
  border: 0;
  color: var(--vault-gold);
}

.contact-left h2 {
  max-width: 7.2ch;
  margin: 14px 0 28px;
  color: #fff;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(5rem, 9vw, 9rem);
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-desc { max-width: 34ch; color: rgba(255, 255, 255, 0.66); }
.contact-info-block { border-color: rgba(255, 255, 255, 0.16); }
.cinfo-row { color: rgba(255, 255, 255, 0.72); }
.cinfo-icon { color: var(--vault-gold); }

.contact-right {
  padding: clamp(26px, 4vw, 52px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(6, 6, 5, 0.7);
  box-shadow: 0 48px 110px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.contact-form { gap: 24px; }

.contact-form {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.field-label {
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
}

.form-field input,
.form-field textarea {
  min-height: 48px;
  padding: 13px 0;
  border-width: 0 0 1px;
  border-radius: 0;
  border-color: rgba(255, 255, 255, 0.18);
  background: transparent;
  color: #fff;
  font-size: 1rem;
}

.form-field textarea { min-height: 104px; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255, 255, 255, 0.36); }
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--vault-gold);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
}

:root[data-theme="light"] .contact-right {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(244, 240, 232, 0.96);
  color: #111;
  box-shadow: 0 48px 110px rgba(35, 12, 10, 0.28);
}

:root[data-theme="light"] .contact-right .field-label { color: #6b6258; }

:root[data-theme="light"] .contact-right .form-field input,
:root[data-theme="light"] .contact-right .form-field textarea {
  border-color: rgba(17, 16, 14, 0.2);
  background: transparent;
  color: #111;
  color-scheme: light;
}

:root[data-theme="light"] .contact-right .form-field input::placeholder,
:root[data-theme="light"] .contact-right .form-field textarea::placeholder { color: #7c7368; }

:root[data-theme="light"] .contact-right .form-field input:focus,
:root[data-theme="light"] .contact-right .form-field textarea:focus {
  border-color: var(--vault-red);
  background: rgba(255, 255, 255, 0.62);
}

:root[data-theme="light"] .contact-right .form-field input:-webkit-autofill {
  box-shadow: 0 0 0 1000px #f4f0e8 inset;
  -webkit-text-fill-color: #111;
}

.guardian-note {
  width: min(1380px, 100%);
  margin: 52px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.44);
}

.site-footer {
  background: #050505;
  color: rgba(255, 255, 255, 0.58);
}

.footer-inner { border-color: rgba(255, 255, 255, 0.1); }
.footer-mark { color: var(--vault-gold); }

/* Exhibition-room product viewer */
.product-viewer__backdrop {
  background: rgba(2, 2, 2, 0.94);
  backdrop-filter: blur(22px) saturate(0.72);
}

.product-modal-content.product-viewer__chrome {
  width: min(1500px, 100%);
  height: min(900px, calc(100svh - 40px));
  max-width: calc(100vw - 40px);
  max-height: calc(100svh - 40px);
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.55fr);
  gap: 0;
  padding: 0;
  border: 1px solid rgba(213, 171, 77, 0.26);
  border-radius: 0;
  background: #f2eee6;
  box-shadow: 0 60px 180px rgba(0, 0, 0, 0.8);
}

.viewer-360.product-viewer__stage {
  height: 100%;
  min-height: 0;
  padding: clamp(30px, 5vw, 84px);
  border: 0;
  border-right: 1px solid rgba(17, 16, 14, 0.12);
  border-radius: 0;
  background:
    radial-gradient(circle at var(--viewer-light-x, 50%) var(--viewer-light-y, 46%), #fffdf7 0%, #f1e9dc 55%, #d8c8b4 100%);
  box-shadow: none;
}

.product-viewer__art-object {
  width: min(88%, 760px);
  max-height: 74svh;
}

.product-viewer__art-object img {
  max-height: 74svh;
  filter: brightness(1.1) contrast(1.08) saturate(1.12);
  box-shadow: 0 58px 130px rgba(56, 31, 13, 0.3), 0 0 0 1px rgba(17, 16, 14, 0.12);
}

.product-viewer__info {
  justify-content: flex-end;
  padding: clamp(36px, 5vw, 72px);
  color: #111;
}

.product-viewer__info > p { color: var(--vault-red); }
.product-viewer__info h2 { color: #111; font-size: clamp(3.2rem, 6vw, 6.8rem); }
.product-viewer__info h2 {
  max-width: 100%;
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  line-height: 0.88;
  overflow-wrap: anywhere;
}
.product-viewer__info span { color: #111; }
.product-viewer__description { color: #655e55 !important; }

.modal-close.product-viewer__close {
  top: 18px;
  right: 18px;
  z-index: 20;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 0;
}

.modal-close.product-viewer__close::before {
  content: '×';
  color: currentColor;
  font: 400 25px/1 Arial, sans-serif;
}

/* Dark theme keeps the original black-vault identity */
:root[data-theme="dark"] .gallery-section,
:root[data-theme="dark"] .featured-section {
  background: #0a0908;
  color: #f5f0e8;
}

:root[data-theme="dark"] .hero.section-shell {
  background:
    radial-gradient(circle at 76% 46%, rgba(213, 171, 77, 0.14), transparent 24rem),
    radial-gradient(circle at 15% 68%, rgba(109, 21, 24, 0.18), transparent 29rem),
    #050505;
  color: #fff;
}

:root[data-theme="dark"] .hero-copy {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
}

:root[data-theme="dark"] .about-copy {
  background: transparent;
  box-shadow: none;
}

:root[data-theme="dark"] .gallery-section::before {
  background:
    radial-gradient(circle at 84% 5%, rgba(22, 156, 153, 0.1), transparent 28rem),
    radial-gradient(circle at 12% 35%, rgba(109, 21, 24, 0.16), transparent 30rem),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 12.5vw 100%;
  mix-blend-mode: screen;
}

:root[data-theme="dark"] .gallery-section .section-heading h2,
:root[data-theme="dark"] .art-info { color: #f5f0e8; }
:root[data-theme="dark"] .section-intro { color: #9f9689; border-color: rgba(213, 171, 77, 0.32); }
:root[data-theme="dark"] .gallery-section .section-label { color: var(--vault-gold); }
:root[data-theme="dark"] .art-card::before { color: rgba(255, 255, 255, 0.06); }

:root[data-theme="dark"] .art-tilt {
  border-color: rgba(255, 255, 255, 0.1);
  background: #151310;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.52);
}

:root[data-theme="dark"] .art-price { color: var(--vault-gold); }
:root[data-theme="dark"] .art-tag { color: #8f877a; }
:root[data-theme="dark"] .image-shell { background: #211d18; }

:root[data-theme="dark"] .product-modal-content.product-viewer__chrome {
  border-color: rgba(213, 171, 77, 0.22);
  background: #151310;
  color: #f4f0e8;
}

:root[data-theme="dark"] .viewer-360.product-viewer__stage {
  border-right-color: rgba(213, 171, 77, 0.16);
  background:
    radial-gradient(circle at var(--viewer-light-x, 50%) var(--viewer-light-y, 46%), #392d1b 0%, #1b1712 54%, #0d0c0a 100%);
}

:root[data-theme="dark"] .product-viewer__info h2,
:root[data-theme="dark"] .product-viewer__info span { color: #f4f0e8; }
:root[data-theme="dark"] .product-viewer__description { color: #a69e92 !important; }

:root[data-theme="dark"] .button-gold,
:root[data-theme="dark"] .button-dark,
:root[data-theme="dark"] .button-dark-solid,
:root[data-theme="dark"] .modal-close.product-viewer__close {
  border-color: var(--vault-gold);
  background: var(--vault-red);
  color: #fff;
}

:root[data-theme="dark"] .button-gold:hover,
:root[data-theme="dark"] .button-dark:hover,
:root[data-theme="dark"] .button-dark-solid:hover,
:root[data-theme="dark"] .modal-close.product-viewer__close:hover {
  background: #8c2225;
  color: #fff;
}

/* Mobile and tablet */
@media (max-width: 1100px) {
  .hero.section-shell {
    grid-template-columns: minmax(330px, 0.9fr) minmax(380px, 1.1fr);
    padding-inline: 44px;
  }

  .glitch-title { font-size: clamp(5.5rem, 11vw, 8.5rem); }
  .hero-art { left: 38%; }
  .hero-art-frame { width: min(46vw, 540px); }
  .about-inner { gap: 70px; }
}

@media (max-width: 980px) {
  .site-header { padding: 10px 10px 0; }
  .top-nav { min-height: 58px; padding-inline: 16px; }

  .hero.section-shell {
    display: flex;
    min-height: 100svh;
    padding: 108px 26px 70px;
  }

  .hero-copy { width: min(92%, 590px); align-self: flex-end; }
  .glitch-title { max-width: 4.4ch; font-size: clamp(5.4rem, 18vw, 9rem); }
  .hero-sub { max-width: 28ch; }

  .hero-art {
    inset: 70px -18% 10% 20%;
    place-items: center end;
    opacity: 0.72;
  }

  .hero-art-frame { width: min(72vw, 570px); }
  .hero-art-meta { right: 28px; bottom: 28px; }
  .hero-art-index { display: none; }
  .hero::after { background: linear-gradient(0deg, #050505 10%, rgba(5, 5, 5, 0.88) 40%, rgba(5, 5, 5, 0.12) 84%, #050505 100%); }

  .gallery-section .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .section-intro { padding-left: 18px; }

  .featured-grid .art-card:nth-child(1),
  .featured-grid .art-card:nth-child(2),
  .featured-grid .art-card:nth-child(3),
  .gallery-section:not(.featured-section) .art-card:nth-child(n) {
    grid-column: span 6;
    grid-row: auto;
  }

  .featured-grid .art-card:nth-child(1) { grid-column: 1 / -1; }
  .featured-grid .art-card:nth-child(1) .image-shell { height: min(82vw, 680px); }

  .image-shell,
  .gallery-section:not(.featured-section) .art-card:nth-child(n) .image-shell,
  .featured-grid .art-card:nth-child(n+2) .image-shell { height: min(56vw, 480px); }

  .about-inner,
  .contact-inner { grid-template-columns: 1fr; }
  .about-tags { max-width: 620px; }
  .about-profile { gap: 64px; }
  .about-portrait-gallery { width: min(620px, 100%); margin: 0 auto; }
  .about-practices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: none;
  }
  .about-practices .about-tag:nth-child(2) { border-right: 0; }
  .about-practices .about-tag:nth-child(-n+2) { border-bottom-color: rgba(255, 255, 255, 0.16); }
  .contact-left { position: static; }
  .exhibition-grid { grid-template-columns: 1fr 1fr; }
  .exhibition-shot:first-child { grid-column: 1 / -1; aspect-ratio: 1.5; }

  .product-modal-content.product-viewer__chrome {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .viewer-360.product-viewer__stage { border-right: 0; border-bottom: 1px solid rgba(17, 16, 14, 0.12); }
  .product-viewer__info { padding: 26px 30px 30px; }
  .product-viewer__info h2 { font-size: clamp(2.5rem, 7vw, 4.4rem); }
  .product-viewer__description { max-width: 60ch; }
}

@media (max-width: 640px) {
  .vault-intro__wordmark { column-gap: 10px; }
  .vault-intro__cv { font-size: 5.2rem; }
  .vault-intro__name { font-size: 3.2rem; }
  .cursor-aura { display: none; }

  .nav-links { background: rgba(5, 5, 5, 0.97); }
  .nav-links a { width: 100%; padding: 16px 4px; }
  .theme-toggle { width: 100%; justify-content: center; }

  .hero.section-shell { padding: 96px 20px 52px; }
  .hero-copy { width: 100%; }
  .hero-eyebrow { margin-bottom: 18px; }
  .glitch-title { max-width: 4.2ch; margin-bottom: 22px; font-size: clamp(4.5rem, 23vw, 7.2rem); }
  .hero-sub { font-size: 0.98rem; }
  .hero-statement { font-size: 1.15rem; }
  .hero-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 32px; }
  .hero-ctas .button { min-width: 0; min-height: 48px; padding: 0 12px; font-size: 0.65rem; }
  .hero-stats { gap: 18px; }
  .stat-num { font-size: 2rem; }

  .hero-art { inset: 66px -50% 18% 22%; opacity: 0.62; }
  .hero-art-frame { width: min(100vw, 500px); }
  .hero-art-meta { right: 18px; bottom: 18px; min-width: 160px; padding: 12px 14px; }
  .hero-art-meta strong { font-size: 1rem; }
  .hero-coordinate { display: none; }
  .hero-ghost-type { font-size: 58vw; }
  .hero-scroll-cue { display: none; }

  .collection-marquee__track { gap: 22px; padding-block: 11px; animation-duration: 34s; }
  .collection-marquee span { font-size: 0.9rem; }

  .gallery-section { padding: 86px 16px 68px; }
  .gallery-section .section-heading { margin-bottom: 48px; }
  .gallery-section .section-heading h2 { font-size: clamp(4.3rem, 21vw, 7rem); }
  .section-intro { max-width: 30ch; font-size: 0.96rem; }
  .art-grid { grid-template-columns: 1fr; gap: 56px; }

  .featured-grid .art-card:nth-child(n),
  .gallery-section:not(.featured-section) .art-card:nth-child(n) { grid-column: 1; }

  #gallery .art-card:last-child { grid-column: 1; }

  .image-shell,
  .featured-grid .art-card:nth-child(n) .image-shell,
  .gallery-section:not(.featured-section) .art-card:nth-child(n) .image-shell { height: min(112vw, 520px); }

  .art-card:nth-child(even) { margin-left: 5vw; }
  .art-card:nth-child(odd) { margin-right: 5vw; }
  .art-tilt { padding: 9px; }
  .art-info { padding: 17px 5px 6px; }
  .art-info h3 { font-size: 1.35rem; }
  .image-shell::after { width: 44px; height: 44px; right: 12px; bottom: 12px; }

  .about-section { min-height: auto; padding: 88px 20px; }
  .about-inner { gap: 54px; }
  .about-copy h2 { font-size: clamp(4.6rem, 22vw, 7.5rem); }
  .about-copy p { font-size: 0.98rem; }
  .about-portrait-gallery {
    grid-template-columns: minmax(0, 1fr) minmax(90px, 0.42fr);
    gap: 10px;
    padding-bottom: 12px;
  }
  .about-portrait--secondary,
  .about-signature { transform: none; }
  .about-portrait figcaption {
    display: block;
    padding: 44px 12px 12px;
    font-size: 0.68rem;
  }
  .about-portrait figcaption span { display: block; margin-top: 3px; text-align: left; }
  .about-signature {
    grid-template-columns: minmax(0, 1fr) 38px;
    gap: 6px;
    min-height: 96px;
    padding: 8px 10px;
  }
  .about-signature img { width: 38px; height: 78px; }
  .about-signature span { font-size: 0.54rem; }
  .about-practices { grid-template-columns: 1fr; margin-top: 50px; }
  .about-practices .about-tag,
  .about-practices .about-tag:nth-child(2) { min-height: 74px; border-right: 0; }
  .about-3d-frame { display: none; }

  .exhibition-section { padding: 82px 16px 70px; }
  .exhibition-grid { grid-template-columns: 1fr; gap: 12px; }
  .exhibition-shot,
  .exhibition-shot:first-child { grid-column: 1; aspect-ratio: 4 / 3; }

  .contact-section { padding: 86px 16px 36px; }
  .contact-left h2 { font-size: clamp(4.5rem, 20vw, 7rem); }
  .contact-right { padding: 26px 18px; }
  .form-row { grid-template-columns: 1fr; }
  .guardian-note { margin-top: 36px; }

  .product-modal.product-viewer { padding: 8px; }
  .product-modal-content.product-viewer__chrome {
    width: 100%;
    height: calc(100svh - 16px);
    max-width: 100%;
    max-height: calc(100svh - 16px);
  }
  .viewer-360.product-viewer__stage { padding: 48px 16px 24px; }
  .product-viewer__art-object { width: 94%; }
  .product-viewer__info { padding: 20px; }
  .product-viewer__info h2 { font-size: 2.7rem; }
  .product-viewer__info .button-gold { width: 100%; justify-content: center; }
}

/* Performance and accessibility */
:root.is-mobile-optimized .hero,
:root.is-mobile-optimized .hero-copy,
:root.is-mobile-optimized .hero-art {
  transition: none;
}

:root.is-mobile-optimized .hero-art-inner img,
:root.is-mobile-optimized .image-shell img {
  will-change: auto;
}

:root.is-mobile-optimized .art-card:is(:hover, :focus-within) .art-tilt {
  transform: translate3d(0, var(--card-scroll-y, 0), 0);
}

:root.is-mobile-optimized .contact-right,
:root.is-mobile-optimized .top-nav {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) .vault-intro { display: none; }
  html:not(.force-motion) .collection-marquee__track { animation-play-state: paused; }
  html:not(.force-motion) .cursor-aura { display: none; }
}

/* Exact artwork presentation and two-sided 360 object */
.featured-grid .art-card[data-art-width]:nth-child(n) .image-shell,
.gallery-section:not(.featured-section) .art-card[data-art-width]:nth-child(n) .image-shell {
  height: auto;
  aspect-ratio: var(--art-aspect, 0.7857);
  background: #e8e1d6;
}

.art-card[data-art-width] .image-shell img {
  object-fit: contain;
  filter: saturate(1) contrast(1.01);
  transform: scale(1.001) translateZ(26px);
}

.art-card[data-art-width]:is(:hover, :focus-within) .image-shell img {
  filter: saturate(1.06) contrast(1.025);
  transform: scale(1.025) translateZ(54px);
}

.art-info h3,
.product-viewer__info h2,
.product-viewer__details,
.art-tag {
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.art-info h3 {
  grid-column: 1 / -1;
  line-height: 1.08;
  text-wrap: balance;
}

.art-price { grid-column: 1; }
.art-tag {
  grid-column: 2;
  justify-self: end;
  align-self: center;
  margin-top: 0;
  text-align: right;
  white-space: normal;
}

.about-school-project {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(320px, 1.22fr);
  align-items: center;
  gap: clamp(32px, 7vw, 100px);
  width: min(1180px, 100%);
  margin: clamp(70px, 9vw, 130px) auto 0;
  padding: clamp(18px, 2.4vw, 32px);
  border: 1px solid rgba(213, 171, 77, 0.26);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
}

.about-tag,
:root[data-theme="light"] .about-tag,
:root[data-theme="dark"] .about-tag {
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.about-tag .tag-text,
:root[data-theme="light"] .about-tag .tag-text,
:root[data-theme="dark"] .about-tag .tag-text {
  color: rgba(255, 255, 255, 0.78);
}

.about-school-project__copy span {
  color: var(--vault-gold);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-school-project__copy h3 {
  margin: 16px 0 18px;
  color: #fff;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 4.6rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0;
}

.about-school-project__copy p {
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.75;
}

.about-school-project__image {
  min-width: 0;
  aspect-ratio: 11 / 14;
  overflow: hidden;
  background: #ded5c7;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

.about-school-project__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cinfo-row a {
  color: inherit;
  text-decoration: none;
  word-break: normal;
  overflow-wrap: anywhere;
  transition: color 220ms ease;
}

.cinfo-row a:hover,
.cinfo-row a:focus-visible { color: #fff; }

.exhibition-shot img,
.exhibition-shot:hover img {
  filter: saturate(0.94) contrast(1) brightness(1.01);
}

.product-viewer__stage {
  touch-action: none;
  perspective: 1800px;
}

.product-viewer__art-object {
  --art-aspect: 0.7857;
  --art-depth: 8px;
  width: min(88%, 760px, calc(70svh * var(--art-aspect)));
  height: auto;
  max-height: 70svh;
  aspect-ratio: var(--art-aspect);
  transform-style: preserve-3d;
  filter: none;
}

.product-viewer__front,
.product-viewer__back {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(20, 16, 12, 0.16);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
  transition: opacity 90ms linear;
}

.product-viewer__front {
  z-index: 2;
  background: #e8e1d5;
  box-shadow: 0 42px 58px rgba(46, 24, 10, 0.3);
  transform: translateZ(var(--art-depth));
}

.product-viewer__front img,
.product-viewer__front .viewer-glare {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.product-viewer__back {
  z-index: 1;
  display: grid;
  place-content: center;
  gap: 10px;
  padding: 24px;
  background:
    linear-gradient(45deg, rgba(90, 15, 15, 0.045) 25%, transparent 25%, transparent 75%, rgba(90, 15, 15, 0.045) 75%),
    #d8c8b4;
  background-size: 18px 18px;
  color: #332a21;
  text-align: center;
  box-shadow: 0 42px 58px rgba(46, 24, 10, 0.3);
  backface-visibility: visible;
  -webkit-backface-visibility: visible;
  transform: rotateY(180deg) translateZ(var(--art-depth));
  opacity: 0;
}

.product-viewer__art-object.is-back-facing .product-viewer__front { opacity: 0; }
.product-viewer__art-object.is-back-facing .product-viewer__back { opacity: 1; }

.product-viewer__back span {
  color: #5a0f0f;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.product-viewer__back strong {
  color: inherit;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.15rem, 2vw, 1.8rem);
  font-weight: 600;
  letter-spacing: 0;
}

.product-viewer__art-object.has-black-back .product-viewer__back {
  border-color: rgba(213, 171, 77, 0.5);
  background:
    radial-gradient(circle at 34% 26%, rgba(213, 171, 77, 0.12), transparent 32%),
    #050505;
  color: #f5efe5;
}

.product-viewer__art-object.has-black-back::before,
.product-viewer__art-object.has-black-back::after {
  background: linear-gradient(90deg, #020202, #242424 52%, #050505);
}

.product-viewer__art-object::before,
.product-viewer__art-object::after {
  position: absolute;
  z-index: 0;
  content: '';
  background: linear-gradient(90deg, #9b866d, #d6c6b2 52%, #806b55);
  transform-style: preserve-3d;
}

.product-viewer__art-object::before {
  top: 0;
  right: calc(var(--art-depth) * -1);
  width: calc(var(--art-depth) * 2);
  height: 100%;
  transform: rotateY(90deg);
}

.product-viewer__art-object::after {
  right: 0;
  bottom: calc(var(--art-depth) * -1);
  width: 100%;
  height: calc(var(--art-depth) * 2);
  background: linear-gradient(#b09c84, #796650);
  transform: rotateX(90deg);
}

.product-viewer__art-object.is-paper::before,
.product-viewer__art-object.is-paper::after {
  background: #d7d0c5;
}

.product-viewer__front img,
.product-viewer__art-object img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  background: #e8e1d5;
  filter: brightness(1.05) contrast(1.01) saturate(1.03);
  box-shadow: none;
}

.viewer-360:hover .product-viewer__front img,
.viewer-360:hover .product-viewer__art-object img {
  filter: brightness(1.08) contrast(1.02) saturate(1.06);
}

.product-viewer__info h2 {
  max-width: 100%;
  line-height: 0.92;
  text-wrap: balance;
}

.product-viewer__details {
  display: block;
  margin-top: -10px;
  color: #6b6258 !important;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  white-space: nowrap;
  text-transform: uppercase;
}

:root[data-theme="dark"] .viewer-360.product-viewer__stage {
  background:
    radial-gradient(circle at var(--viewer-light-x, 50%) var(--viewer-light-y, 46%), #665238 0%, #2b2117 48%, #110f0c 100%);
}

:root[data-theme="dark"] .product-viewer__front,
:root[data-theme="dark"] .product-viewer__front img,
:root[data-theme="dark"] .product-viewer__art-object img {
  background: #d8cdbd;
}

:root[data-theme="dark"] .product-viewer__details { color: #b9ad9d !important; }

@media (max-width: 980px) {
  .about-school-project {
    grid-template-columns: minmax(220px, 0.8fr) minmax(300px, 1.2fr);
    gap: 28px;
  }

  .product-viewer__art-object {
    width: min(86%, 620px, calc(53svh * var(--art-aspect)));
    max-height: 53svh;
  }
}

/* Keep exhibition photography natural at display size without texture ringing. */
.exhibition-shot img,
.exhibition-shot:hover img {
  image-rendering: auto;
  filter: saturate(0.92) contrast(0.9) brightness(1.01) blur(0.72px);
}

.exhibition-shot:hover img {
  transform: scale(1.004);
}

/* Explicit form surfaces keep entered text readable in both themes. */
.contact-right .form-field input,
.contact-right .form-field textarea {
  padding: 13px 14px;
  border: 1px solid var(--input-border);
  border-radius: 4px;
  background: var(--input-bg);
  color: var(--input-text);
  caret-color: var(--brand-red);
}

.contact-right .form-field input::placeholder,
.contact-right .form-field textarea::placeholder {
  color: var(--input-placeholder);
  opacity: 1;
}

.contact-right .form-field input:focus,
.contact-right .form-field textarea:focus {
  border-color: var(--brand-red);
  background: var(--input-bg-focus);
  box-shadow: 0 0 0 3px var(--input-focus-ring);
}

:root[data-theme="light"] .contact-right .form-field input,
:root[data-theme="light"] .contact-right .form-field textarea,
:root[data-theme="dark"] .contact-right .form-field input,
:root[data-theme="dark"] .contact-right .form-field textarea {
  border-color: var(--input-border);
  background: var(--input-bg);
  color: var(--input-text);
}

:root[data-theme="light"] .contact-right .form-field input:focus,
:root[data-theme="light"] .contact-right .form-field textarea:focus,
:root[data-theme="dark"] .contact-right .form-field input:focus,
:root[data-theme="dark"] .contact-right .form-field textarea:focus {
  border-color: var(--brand-red);
  background: var(--input-bg-focus);
}

@media (max-width: 640px) {
  .art-info { grid-template-columns: minmax(0, 1fr); }
  .art-info h3,
  .art-price,
  .art-tag { grid-column: 1; }
  .art-tag { justify-self: start; margin-top: 4px; text-align: left; }

  .art-card:nth-child(even),
  .art-card:nth-child(odd) { margin-inline: 0; }

  .about-school-project {
    grid-template-columns: 1fr;
    margin-top: 62px;
    padding: 14px;
  }

  .about-school-project__copy { padding: 16px 10px 8px; }
  .about-school-project__image { aspect-ratio: 11 / 14; }

  .product-modal-content.product-viewer__chrome {
    grid-template-rows: minmax(0, 58%) minmax(0, 42%);
  }

  .viewer-360.product-viewer__stage { padding: 42px 14px 16px; }

  .product-viewer__art-object {
    width: min(88%, 520px, calc(48svh * var(--art-aspect)));
    max-height: 48svh;
  }

  .product-viewer__info {
    justify-content: start;
    overflow-y: auto;
    scrollbar-width: none;
  }

  .product-viewer__info::-webkit-scrollbar { display: none; }

  .product-viewer__info h2 {
    font-size: clamp(2rem, 11vw, 3.1rem);
    line-height: 0.94;
  }

  .product-viewer__description { font-size: 0.88rem; }
}

/* Keep every artwork title and detail inside the full-screen viewer. */
.product-viewer__info {
  min-width: 0;
  min-height: 0;
  padding: clamp(30px, 4vw, 56px);
}

.product-viewer__info h2 {
  max-width: 100%;
  padding-block: 0.04em 0.1em;
  font-size: clamp(2.15rem, 4.2vw, 4.6rem);
  line-height: 1.04;
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
}

.product-viewer__info h2:not(.is-long-title) {
  font-size: clamp(1.75rem, 4vw, 3.8rem);
  white-space: nowrap;
}

.product-viewer__info h2.is-medium-title {
  font-size: clamp(1.5rem, 2.45vw, 2.8rem);
}

.product-viewer__info h2.is-tight-title {
  font-size: clamp(1.45rem, 1.85vw, 2.2rem);
}

.product-viewer__info h2.is-long-title {
  font-size: clamp(2rem, 3.6vw, 4rem);
}

.product-viewer__info h2.is-very-long-title {
  font-size: clamp(1.8rem, 3.1vw, 3.5rem);
}

.product-viewer__details {
  max-width: 100%;
  line-height: 1.35;
  white-space: normal;
}

.product-viewer__info .button-gold {
  max-width: 100%;
  height: auto;
  padding-block: 12px;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
}

@media (max-width: 980px) {
  .product-viewer__info {
    justify-content: flex-start;
    padding: 24px 30px 28px;
  }
}

@media (max-width: 640px) {
  .product-modal-content.product-viewer__chrome {
    grid-template-rows: minmax(240px, 52%) minmax(0, 48%);
    overflow: hidden;
  }

  .product-viewer__info {
    gap: 7px;
    padding: 16px 20px 20px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .product-viewer__info h2 {
    font-size: clamp(1.9rem, 9.5vw, 2.45rem);
    line-height: 1.05;
  }

  .product-viewer__info h2:not(.is-long-title) {
    font-size: clamp(1.55rem, 7.2vw, 2.1rem);
  }

  .product-viewer__info h2.is-medium-title {
    font-size: clamp(1.4rem, 6vw, 1.85rem);
  }

  .product-viewer__info h2.is-tight-title {
    font-size: clamp(1.25rem, 5.3vw, 1.65rem);
  }

  .product-viewer__info h2.is-long-title {
    font-size: clamp(1.75rem, 8.6vw, 2.2rem);
  }

  .product-viewer__info h2.is-very-long-title {
    font-size: clamp(1.6rem, 8vw, 2rem);
  }

  .product-viewer__description {
    font-size: 0.84rem;
    line-height: 1.5;
  }
}

/* The round Bubble Mew stays circular in both the card and 360 viewer. */
.art-card[data-shape="round"] .image-shell {
  aspect-ratio: 1;
  border-radius: 50%;
  background: #111;
}

.art-card[data-shape="round"] .image-shell img,
.product-viewer__art-object.is-round,
.product-viewer__art-object.is-round .product-viewer__front,
.product-viewer__art-object.is-round .product-viewer__back,
.product-viewer__art-object.is-round img,
.product-viewer__art-object.is-round .viewer-glare {
  border-radius: 50%;
}

.product-viewer__art-object.is-round::before,
.product-viewer__art-object.is-round::after {
  display: none;
}

/* Balanced artwork layout: every card uses its real image shape. */
.featured-grid .art-card:nth-child(n) .image-shell,
#gallery .art-grid > .art-card:nth-child(n) .image-shell {
  height: auto;
  aspect-ratio: var(--art-aspect, 1);
}

.featured-grid .art-card:nth-child(n) .image-shell img,
#gallery .art-grid > .art-card:nth-child(n) .image-shell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#gallery .art-grid.is-masonry-layout {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: 6px;
  align-items: start;
  column-gap: clamp(22px, 2.6vw, 38px);
  row-gap: 12px;
}

#gallery .art-grid.is-masonry-layout > .art-card:nth-child(n) {
  grid-column: span 4;
  align-self: start;
  min-width: 0;
  margin: 0;
}

#gallery .art-grid.is-masonry-layout > .art-card[data-art-orientation="landscape"]:nth-child(n) {
  grid-column: span 6;
}

.product-viewer__art-object {
  width: var(--viewer-fit-width, min(88%, 760px, calc(70svh * var(--art-aspect))));
  max-width: none;
  max-height: none;
}

@media (max-width: 980px) {
  #gallery .art-grid.is-masonry-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 22px;
  }

  #gallery .art-grid.is-masonry-layout > .art-card:nth-child(n) {
    grid-column: span 1;
  }

  #gallery .art-grid.is-masonry-layout > .art-card[data-art-orientation="landscape"]:nth-child(n) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  #gallery .art-grid.is-masonry-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
    grid-auto-flow: row;
    gap: 52px;
  }

  #gallery .art-grid.is-masonry-layout > .art-card:nth-child(n),
  #gallery .art-grid.is-masonry-layout > .art-card[data-art-orientation="landscape"]:nth-child(n) {
    grid-column: 1;
    grid-row: auto;
  }
}
