:root {
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-cinema: cubic-bezier(0.65, 0, 0.35, 1);
  --serif: Didot, "Bodoni 72", "Bodoni MT", "Times New Roman", serif;
  --text: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 1640px;
  --gutter: clamp(22px, 4.8vw, 86px);
  --section: clamp(108px, 11vw, 210px);
  --gold: #b8955f;
  --progress: 0;
}

body[data-theme="dark"] {
  --ink: #f2eee6;
  --muted: rgba(242, 238, 230, 0.62);
  --quiet: rgba(242, 238, 230, 0.38);
  --page: #080909;
  --page-raised: #0d0e0e;
  --panel: #121313;
  --line: rgba(242, 238, 230, 0.13);
  --line-strong: rgba(242, 238, 230, 0.28);
  --button: #f2eee6;
  --button-ink: #0a0a0a;
  --shadow: rgba(0, 0, 0, 0.52);
}

body[data-theme="light"] {
  --ink: #181713;
  --muted: rgba(24, 23, 19, 0.66);
  --quiet: rgba(24, 23, 19, 0.4);
  --page: #eee9df;
  --page-raised: #f6f2ea;
  --panel: #e5ded2;
  --line: rgba(24, 23, 19, 0.13);
  --line-strong: rgba(24, 23, 19, 0.27);
  --button: #181713;
  --button-ink: #f6f2ea;
  --shadow: rgba(63, 52, 39, 0.22);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--page);
  font-family: var(--text);
  font-size: 15px;
  line-height: 1.65;
  text-rendering: geometricPrecision;
  transition: color 500ms ease, background 500ms ease;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 200;
  background:
    repeating-radial-gradient(circle at 17% 21%, rgba(255, 255, 255, 0.028) 0 0.7px, transparent 0.8px 4px),
    linear-gradient(117deg, transparent 20%, rgba(255, 255, 255, 0.018) 50%, transparent 71%);
  content: "";
  mix-blend-mode: soft-light;
  opacity: 0.32;
  pointer-events: none;
}

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

::selection {
  color: var(--button-ink);
  background: var(--button);
}

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

figure,
p,
h1,
h2,
h3,
dl,
dd {
  margin: 0;
}

button,
input,
textarea {
  color: inherit;
  font: inherit;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 5px;
}

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

.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 500;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  color: #0a0a0a;
  background: #f4efe6;
}

main {
  overflow: clip;
}

main section[id] {
  scroll-margin-top: 88px;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  text-wrap: balance;
}

h2 {
  font-size: clamp(3.35rem, 7.5vw, 8.8rem);
  letter-spacing: -0.055em;
  line-height: 0.86;
}

.kicker,
.eyebrow {
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 0 22px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: color 300ms ease, background 300ms ease, border-color 300ms ease, transform 450ms var(--ease-out);
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--button-ink);
  background: var(--button);
}

.button-primary:hover {
  color: #090909;
  background: var(--gold);
}

.button-line {
  border-color: var(--line-strong);
}

.button-line:hover {
  border-color: var(--gold);
}

.text-link,
.direct-email {
  position: relative;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 8px;
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.text-link::after,
.direct-email::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--line-strong);
  content: "";
  transform-origin: right;
  transition: background 300ms ease, transform 500ms var(--ease-out);
}

.text-link:hover::after,
.direct-email:hover::after {
  background: var(--gold);
  transform: scaleX(0.38);
}

/* Navigation */

.site-header {
  position: fixed;
  top: max(16px, env(safe-area-inset-top));
  right: clamp(16px, 2.5vw, 38px);
  left: clamp(16px, 2.5vw, 38px);
  z-index: 80;
  min-height: 70px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(22px, 3vw, 58px);
  align-items: center;
  padding: 9px 16px;
  border: 1px solid rgba(244, 239, 230, 0.16);
  color: #f4efe6;
  background: rgba(8, 8, 8, 0.83);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px) saturate(0.8);
  transition: opacity 650ms ease, transform 500ms var(--ease-out), background 350ms ease, border-color 350ms ease;
}

.site-header.is-hidden {
  transform: translateY(calc(-100% - 32px));
}

.site-header.is-scrolled {
  border-color: rgba(244, 239, 230, 0.1);
  background: rgba(8, 8, 8, 0.94);
}

body[data-theme="light"] .site-header {
  color: #181713;
  border-color: rgba(24, 23, 19, 0.14);
  background: rgba(238, 233, 223, 0.9);
  box-shadow: 0 20px 60px rgba(63, 52, 39, 0.12);
}

.opening-active .site-header {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
}

.opening-active[data-opening-phase="identity"] .site-header {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.brand {
  width: clamp(135px, 12vw, 190px);
  display: block;
}

.brand img {
  width: 100%;
  max-height: 48px;
  object-fit: contain;
}

body[data-theme="light"] .brand img,
body[data-theme="light"] .legal-brand img {
  filter: invert(1);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2vw, 34px);
}

.site-nav a {
  position: relative;
  padding: 14px 0;
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.62;
  transition: opacity 250ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 400ms var(--ease-out);
}

.site-nav a:hover,
.site-nav a.is-active {
  opacity: 1;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.site-controls {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 2px;
}

.theme-toggle,
.ambient-toggle {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font-size: 0.56rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.control-glyph {
  position: relative;
  width: 17px;
  height: 17px;
  display: block;
}

.theme-glyph {
  border: 1px solid currentColor;
  border-radius: 50%;
}

.theme-glyph::after {
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  background: currentColor;
  content: "";
  clip-path: inset(0 50% 0 0);
  transition: clip-path 400ms var(--ease-out);
}

.theme-toggle[aria-pressed="true"] .theme-glyph::after {
  clip-path: inset(0);
}

.sound-glyph::before,
.sound-glyph::after,
.sound-glyph i {
  position: absolute;
  border: 1px solid currentColor;
  border-left: 0;
  border-radius: 0 100% 100% 0;
  content: "";
}

.sound-glyph::before { inset: 6px 8px 6px 5px; }
.sound-glyph::after { inset: 3px 4px 3px 5px; opacity: 0.45; }
.sound-glyph i { inset: 0 0 0 5px; opacity: 0.2; }
.ambient-toggle[aria-pressed="true"] .sound-glyph { color: var(--gold); }

.menu-toggle {
  position: relative;
  width: 42px;
  height: 42px;
  display: none;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
  cursor: pointer;
  opacity: 0.75;
}

.menu-toggle span {
  position: absolute;
  width: 16px;
  height: 1px;
  background: currentColor;
  transition: transform 400ms var(--ease-out);
}

.menu-toggle span:first-child { transform: translateY(-3px); }
.menu-toggle span:last-child { transform: translateY(3px); }
.is-menu-open .menu-toggle span:first-child { transform: rotate(45deg); }
.is-menu-open .menu-toggle span:last-child { transform: rotate(-45deg); }

.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 120;
  height: 1px;
  background: var(--gold);
  transform: scaleX(var(--progress));
  transform-origin: left;
}

/* Cinematic opening */

.hero {
  --pointer-x: 62%;
  --pointer-y: 38%;
  --shift-x: 0px;
  --shift-y: 0px;
  --hero-scroll: 0;
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  color: #f4efe6;
  background: #060606;
}

.hero-scene,
.hero-room,
.hero-film {
  position: absolute;
  inset: 0;
}

.hero-scene {
  perspective: 1600px;
  transform: translateY(calc(var(--hero-scroll) * 50px));
}

.hero-room {
  overflow: hidden;
  background: #0c0c0b;
  opacity: 1;
  transform: scale(1);
  transition: opacity 1300ms ease, transform 1800ms var(--ease-cinema);
}

.hero-room__wall,
.hero-room__ceiling,
.hero-room__floor,
.hero-room__light,
.hero-room__bench {
  position: absolute;
  display: block;
}

.hero-room__wall {
  inset: 8% 8% 20%;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.64), transparent 22%, transparent 78%, rgba(0, 0, 0, 0.62)),
    linear-gradient(180deg, #282724, #181817 82%);
  box-shadow: inset 0 0 140px rgba(0, 0, 0, 0.72);
}

.hero-room__ceiling {
  inset: 0 0 auto;
  height: 14%;
  background: linear-gradient(180deg, #060606, #11110f);
  clip-path: polygon(0 0, 100% 0, 92% 100%, 8% 100%);
}

.hero-room__floor {
  inset: auto 0 0;
  height: 26%;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.75), transparent 24%, transparent 74%, rgba(0, 0, 0, 0.76)),
    repeating-linear-gradient(93deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 84px),
    linear-gradient(180deg, #201d19, #080807);
  clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%);
}

.hero-room__light {
  top: 5%;
  left: calc(var(--pointer-x) - 22%);
  width: 44%;
  height: 68%;
  background: radial-gradient(ellipse at 50% 0, rgba(244, 218, 168, 0.28), rgba(244, 218, 168, 0.07) 34%, transparent 72%);
  filter: blur(16px);
  mix-blend-mode: screen;
  opacity: 0.7;
  transition: left 700ms var(--ease-out);
  animation: roomLightBreathe 8s ease-in-out infinite alternate;
}

.hero-room__bench {
  right: 40%;
  bottom: 9%;
  left: 40%;
  height: 3%;
  border-radius: 2px;
  background: linear-gradient(180deg, #26231e, #080706);
  box-shadow: 0 22px 28px rgba(0, 0, 0, 0.48);
}

.hero-room__bench::before,
.hero-room__bench::after {
  position: absolute;
  top: 90%;
  width: 3px;
  height: 90%;
  background: #060606;
  content: "";
}

.hero-room__bench::before { left: 10%; }
.hero-room__bench::after { right: 10%; }

.hero-artwork {
  position: absolute;
  top: 18%;
  left: 29%;
  z-index: 2;
  width: 42%;
  height: min(31.5vw, 51vh);
  overflow: hidden;
  border: clamp(5px, 0.5vw, 9px) solid #11100e;
  outline: 1px solid rgba(239, 215, 172, 0.22);
  outline-offset: -1px;
  background: #111;
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.54), 20px 22px 34px rgba(0, 0, 0, 0.34);
  transform: translate3d(calc(var(--shift-x) * -0.18), calc(var(--shift-y) * -0.18), 36px);
  transform-origin: center;
  transition:
    top 1800ms var(--ease-cinema), left 1800ms var(--ease-cinema), width 1800ms var(--ease-cinema), height 1800ms var(--ease-cinema),
    border-width 1400ms var(--ease-cinema), outline-color 1200ms ease, box-shadow 1400ms ease, transform 1200ms var(--ease-out);
}

.hero-artwork img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.82) saturate(0.82) contrast(1.1);
  transform: scale(1.02);
  transition: filter 1500ms ease, transform 1800ms var(--ease-cinema);
}

.hero-film {
  z-index: 4;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76), transparent 46%, rgba(0, 0, 0, 0.18)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.86), transparent 52%),
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(202, 164, 104, 0.13), transparent 24%);
  pointer-events: none;
  transition: background 450ms ease;
}

.hero-content {
  position: absolute;
  bottom: clamp(72px, 10vh, 118px);
  left: var(--gutter);
  z-index: 6;
  width: min(720px, calc(100% - (var(--gutter) * 2)));
  opacity: 1;
  transform: translateY(calc(var(--hero-scroll) * 32px));
  transition: opacity 1100ms ease, transform 1400ms var(--ease-out);
}

.hero-content .kicker {
  margin-bottom: 22px;
}

.hero-content h1 {
  max-width: 8ch;
  display: grid;
  margin: 0 0 28px;
  font-size: clamp(5rem, 9.2vw, 10.5rem);
  letter-spacing: -0.065em;
  line-height: 0.72;
  text-shadow: 0 30px 90px rgba(0, 0, 0, 0.54);
}

.hero-content h1 em {
  justify-self: end;
  font-style: normal;
}

.hero-statement {
  margin: 0 0 34px 5px;
  color: rgba(244, 239, 230, 0.68);
  font-family: var(--serif);
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero .button-line {
  color: #f4efe6;
  border-color: rgba(244, 239, 230, 0.36);
}

.hero-scroll {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(34px, 5vw, 66px);
  z-index: 7;
  display: grid;
  justify-items: center;
  gap: 10px;
  color: rgba(244, 239, 230, 0.66);
}

.hero-scroll span {
  width: 1px;
  height: 58px;
  background: linear-gradient(180deg, rgba(244, 239, 230, 0.12), #f4efe6);
  transform-origin: top;
  animation: scrollLine 2.4s var(--ease-out) infinite;
}

.hero-scroll small {
  font-size: 0.53rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.opening-chapters {
  position: absolute;
  right: var(--gutter);
  bottom: 34px;
  z-index: 8;
  display: flex;
  gap: 18px;
  color: rgba(244, 239, 230, 0.34);
  font-size: 0.5rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: opacity 500ms ease;
}

.opening-chapters span {
  transition: color 350ms ease;
}

.opening-chapters span.is-active {
  color: var(--gold);
}

.opening-skip {
  position: absolute;
  top: max(26px, env(safe-area-inset-top));
  right: max(28px, env(safe-area-inset-right));
  z-index: 90;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid rgba(244, 239, 230, 0.34);
  color: rgba(244, 239, 230, 0.72);
  background: transparent;
  cursor: pointer;
  font-size: 0.56rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transition: opacity 600ms ease;
}

.opening-active .opening-skip {
  opacity: 1;
  pointer-events: auto;
}

.opening-active .hero-scroll,
.opening-complete .opening-chapters,
body:not(.opening-active) .opening-skip {
  opacity: 0;
  pointer-events: none;
}

.opening-active .hero-content {
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
}

.opening-active[data-opening-phase="surface"] .hero-room,
.opening-active[data-opening-phase="work"] .hero-room {
  opacity: 0;
  transform: scale(1.08);
}

.opening-active[data-opening-phase="surface"] .hero-artwork {
  top: -24vh;
  left: -30vw;
  width: 160vw;
  height: 148vh;
  border-width: 0;
  outline-color: transparent;
  box-shadow: none;
}

.opening-active[data-opening-phase="surface"] .hero-artwork img {
  filter: brightness(0.5) saturate(0.72) contrast(1.18);
  transform: scale(1.34) translate3d(calc(var(--shift-x) * -0.28), calc(var(--shift-y) * -0.28), 0);
}

.opening-active[data-opening-phase="work"] .hero-artwork {
  top: 8vh;
  left: 13vw;
  width: 74vw;
  height: 84vh;
  border-width: 0;
  outline-color: transparent;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.72);
}

.opening-active[data-opening-phase="work"] .hero-artwork img {
  object-fit: contain;
  filter: brightness(0.72) saturate(0.84) contrast(1.1);
  transform: scale(1);
}

.opening-active[data-opening-phase="surface"] .hero-film,
.opening-active[data-opening-phase="work"] .hero-film {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.32), transparent 55%, rgba(0, 0, 0, 0.2)),
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(205, 166, 100, 0.2), transparent 18%);
}

.opening-active[data-opening-phase="identity"] .hero-content {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.opening-active[data-opening-phase="identity"] .opening-chapters {
  opacity: 0;
}

html:not(.has-js) .opening-pending .hero-content,
html:not(.has-js) .opening-pending .site-header {
  opacity: 1;
  pointer-events: auto;
}

@keyframes roomLightBreathe {
  from { opacity: 0.48; transform: translateX(-1.5%); }
  to { opacity: 0.76; transform: translateX(1.5%); }
}

@keyframes scrollLine {
  0% { opacity: 0; transform: scaleY(0); }
  38% { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: translateY(14px) scaleY(0.28); }
}

/* Manifesto */

.manifesto {
  --manifesto-progress: 0;
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
  gap: clamp(50px, 9vw, 160px);
  align-items: center;
  padding: var(--section) var(--gutter);
  border-top: 1px solid var(--line);
  background: var(--page);
}

.manifesto::before {
  position: absolute;
  top: 14%;
  right: -8%;
  width: min(44vw, 680px);
  aspect-ratio: 1.3;
  background: url("assets/optimized/textures/manifesto.webp") center / cover;
  content: "";
  filter: grayscale(1) contrast(1.2);
  mask-image: linear-gradient(120deg, transparent 10%, #000 48%, transparent 92%);
  opacity: 0.075;
  transform: translateY(calc(var(--manifesto-progress) * -24px));
  pointer-events: none;
}

.manifesto-index {
  position: absolute;
  top: 30px;
  left: var(--gutter);
  color: var(--quiet);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
}

.manifesto-copy {
  position: relative;
  z-index: 1;
  max-width: 24ch;
  color: var(--quiet);
  background: linear-gradient(90deg, var(--ink) 0 calc(var(--manifesto-progress) * 112%), var(--quiet) calc(var(--manifesto-progress) * 112%));
  -webkit-background-clip: text;
  background-clip: text;
  font-family: var(--serif);
  font-size: clamp(2.35rem, 5vw, 6.4rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
  -webkit-text-fill-color: transparent;
}

.manifesto-note {
  position: relative;
  z-index: 1;
  max-width: 34ch;
  align-self: end;
  margin-bottom: 7vh;
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.8;
}

/* Private Room */

.installation {
  position: relative;
  min-height: 112svh;
  display: grid;
  grid-template-columns: minmax(320px, 0.4fr) minmax(560px, 1fr);
  gap: clamp(42px, 4.5vw, 88px);
  align-items: center;
  padding: var(--section) var(--gutter);
  overflow: hidden;
  color: #eee9df;
  background:
    radial-gradient(circle at 70% 20%, rgba(184, 149, 95, 0.09), transparent 28%),
    #070808;
}

.installation::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, rgba(255, 255, 255, 0.018), transparent 32%, transparent 70%, rgba(184, 149, 95, 0.025));
  content: "";
  pointer-events: none;
}

.installation-heading {
  position: relative;
  z-index: 3;
  min-width: 0;
  align-self: center;
}

.installation-heading .eyebrow {
  margin-bottom: 26px;
}

.installation-heading h2 {
  width: 100%;
  margin-bottom: 30px;
  color: #f1ede4;
  font-size: clamp(3.7rem, 4.45vw, 5.5rem);
}

.installation-heading h2 span {
  display: block;
}

.installation-heading > p:last-child {
  color: rgba(241, 237, 228, 0.54);
}

.room-camera {
  --pointer-x: 50%;
  --pointer-y: 45%;
  --shift-x: 0px;
  --shift-y: 0px;
  --room-scale: 1;
  --room-y: 0px;
  position: relative;
  z-index: 2;
  min-width: 0;
  width: 100%;
  perspective: 1700px;
}

.room-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(225, 199, 151, 0.18);
  background: #171613;
  box-shadow: 0 54px 130px rgba(0, 0, 0, 0.48), inset 0 1px rgba(255, 255, 255, 0.055);
  transform: translate3d(calc(var(--shift-x) * -0.22), calc(var(--room-y) + (var(--shift-y) * -0.12)), 0) scale(var(--room-scale));
  transform-origin: 50% 72%;
  transition: transform 900ms var(--ease-out);
}

.room-wall,
.room-ceiling,
.room-light,
.room-floor,
.room-bench,
.room-threshold {
  position: absolute;
}

.room-wall {
  inset: 0 0 18%;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.42), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.45)),
    linear-gradient(180deg, #2a2925, #1b1a17 78%);
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.4);
}

.room-wall::after {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 78px);
  content: "";
  opacity: 0.45;
}

.room-ceiling {
  inset: 0 0 auto;
  z-index: 5;
  height: 8%;
  background: linear-gradient(180deg, #080807, rgba(8, 8, 7, 0.32));
  box-shadow: inset 0 -1px rgba(255, 255, 255, 0.04);
}

.room-ceiling span {
  position: absolute;
  top: 40%;
  width: 7%;
  height: 3px;
  border-radius: 50%;
  background: #f9e6bd;
  box-shadow: 0 2px 11px rgba(255, 224, 166, 0.7);
}

.room-ceiling span:nth-child(1) { left: 20%; }
.room-ceiling span:nth-child(2) { left: 49%; }
.room-ceiling span:nth-child(3) { right: 16%; }

.room-light {
  top: 3%;
  z-index: 1;
  width: 44%;
  height: 67%;
  background: radial-gradient(ellipse at 50% 0, rgba(255, 226, 174, 0.33), rgba(255, 226, 174, 0.08) 38%, transparent 72%);
  filter: blur(11px);
  mix-blend-mode: screen;
  opacity: 0.66;
}

.room-light--one { left: 4%; }
.room-light--two { right: 3%; }

.room-floor {
  inset: auto 0 0;
  z-index: 2;
  height: 18%;
  background:
    repeating-linear-gradient(92deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 86px),
    linear-gradient(180deg, #26221d, #0c0b09);
  box-shadow: inset 0 15px 30px rgba(0, 0, 0, 0.34);
}

.room-art {
  position: absolute;
  z-index: 4;
  display: block;
  transform: translateZ(36px);
  transition: transform 650ms var(--ease-out);
}

.room-art--one {
  top: 23%;
  left: 10%;
  width: 40%;
  aspect-ratio: 4 / 3;
}

.room-art--two {
  top: 18%;
  right: 13%;
  width: 24%;
  aspect-ratio: 3 / 4;
}

.room-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: clamp(4px, 0.45vw, 8px) solid #11100e;
  outline: 1px solid rgba(231, 209, 170, 0.25);
  outline-offset: -1px;
  box-shadow: 12px 22px 36px rgba(0, 0, 0, 0.42);
  transition: filter 450ms ease, transform 600ms var(--ease-out), box-shadow 450ms ease;
}

.room-art:hover,
.room-art:focus-visible {
  transform: translateZ(52px) translateY(-3px);
}

.room-art:hover img,
.room-art:focus-visible img {
  filter: brightness(1.05) saturate(1.03);
  box-shadow: 18px 28px 48px rgba(0, 0, 0, 0.48);
}

.room-art > span {
  position: absolute;
  top: calc(100% + 13px);
  left: 50%;
  display: grid;
  gap: 2px;
  color: rgba(241, 237, 228, 0.66);
  font-size: clamp(0.42rem, 0.48vw, 0.57rem);
  letter-spacing: 0.11em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateX(-50%);
}

.room-art strong { color: #f1ede4; }
.room-art small { color: rgba(241, 237, 228, 0.46); }
.room-art em { color: var(--gold); font-style: normal; }

.room-bench {
  right: 34%;
  bottom: 5.5%;
  left: 34%;
  z-index: 6;
  height: 5%;
  border-radius: 2px;
  background: linear-gradient(180deg, #28241e, #0c0a08);
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.46), inset 0 1px rgba(255, 255, 255, 0.08);
}

.room-bench::before,
.room-bench::after {
  position: absolute;
  top: 92%;
  width: 3px;
  height: 70%;
  background: #070706;
  content: "";
}

.room-bench::before { left: 12%; }
.room-bench::after { right: 12%; }

.room-threshold {
  inset: 3%;
  z-index: 7;
  border: 1px solid rgba(255, 255, 255, 0.035);
  pointer-events: none;
}

.room-caption {
  position: absolute;
  right: var(--gutter);
  bottom: 38px;
  left: var(--gutter);
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  color: rgba(241, 237, 228, 0.34);
  font-size: 0.5rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.room-caption span + span::before {
  margin-right: 24px;
  color: var(--gold);
  content: "·";
}

/* Collection chapters */

.collection {
  position: relative;
  padding: var(--section) var(--gutter);
  background: var(--page-raised);
}

.section-heading {
  width: min(100%, var(--max));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
  gap: 60px;
  align-items: end;
  margin: 0 auto clamp(110px, 12vw, 210px);
}

.section-heading .eyebrow {
  margin-bottom: 26px;
}

.section-heading > p {
  max-width: 34ch;
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 0.82rem;
}

.art-chapters {
  width: min(100%, var(--max));
  display: grid;
  gap: clamp(150px, 17vw, 300px);
  margin: 0 auto;
}

.art-chapter {
  position: relative;
  min-height: min(860px, 88svh);
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(310px, 0.62fr);
  gap: clamp(48px, 6vw, 110px);
  align-items: center;
  padding: clamp(28px, 3vw, 52px) 0;
  isolation: isolate;
}

.art-chapter::before {
  position: absolute;
  inset: -8%;
  z-index: -1;
  background: radial-gradient(circle at 36% 48%, color-mix(in srgb, var(--art-color) 18%, transparent), transparent 46%);
  content: "";
  filter: blur(30px);
  opacity: 0.78;
  pointer-events: none;
}

.art-chapter:nth-child(even) {
  grid-template-columns: minmax(310px, 0.62fr) minmax(0, 1.16fr);
}

.art-chapter:nth-child(even) .art-chapter__visual { order: 2; }
.art-chapter:nth-child(even) .art-chapter__copy { order: 1; }

.art-chapter__visual {
  --pointer-x: 50%;
  --pointer-y: 42%;
  --shift-x: 0px;
  --shift-y: 0px;
  position: relative;
  width: 100%;
  min-height: clamp(460px, 55vw, 800px);
  display: grid;
  place-items: center;
  perspective: 1400px;
}

.art-image-link {
  position: relative;
  z-index: 2;
  width: min(78%, 720px);
  display: block;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #090909;
  box-shadow: 0 42px 90px var(--shadow);
  transform: translate3d(var(--shift-x), var(--shift-y), 34px);
  transition: transform 850ms var(--ease-out), box-shadow 500ms ease;
}

.art-image-link img {
  width: 100%;
  height: auto;
  max-height: 74svh;
  display: block;
  object-fit: contain;
  transition: filter 600ms ease, transform 1100ms var(--ease-out);
}

.art-light {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255, 243, 215, 0.2), transparent 34%);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms ease;
}

.art-view {
  position: absolute;
  right: 16px;
  bottom: 15px;
  z-index: 3;
  padding: 8px 10px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(6, 6, 6, 0.74);
  font-size: 0.52rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(7px);
  transition: opacity 400ms ease, transform 500ms var(--ease-out);
}

.art-image-link:hover,
.art-image-link:focus-visible {
  box-shadow: 0 54px 120px var(--shadow);
  transform: translate3d(var(--shift-x), calc(var(--shift-y) - 5px), 54px);
}

.art-image-link:hover img,
.art-image-link:focus-visible img {
  filter: saturate(1.04) contrast(1.03);
  transform: scale(1.025);
}

.art-image-link:hover .art-light,
.art-image-link:focus-visible .art-light,
.art-image-link:hover .art-view,
.art-image-link:focus-visible .art-view {
  opacity: 1;
  transform: translateY(0);
}

.art-chapter__macro {
  position: absolute;
  right: 3%;
  bottom: 4%;
  z-index: 1;
  width: 32%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a0b0b;
  box-shadow: 0 22px 55px var(--shadow);
  filter: saturate(0.72) contrast(1.08);
  opacity: 0.58;
  transform: translate3d(calc(var(--shift-x) * -0.45), calc(var(--shift-y) * -0.45), 0);
  transition: transform 1100ms var(--ease-out);
}

.art-chapter__macro::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(8, 8, 8, 0.16), rgba(8, 8, 8, 0.34));
  content: "";
  pointer-events: none;
}

.art-chapter__macro img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(2.6);
  transform-origin: 72% 48%;
}

.art-chapter:nth-child(even) .art-chapter__macro {
  right: auto;
  left: 3%;
}

.art-chapter:nth-child(even) .art-chapter__macro img { transform-origin: 28% 52%; }

.art-chapter--2 .art-image-link {
  width: min(76%, 680px);
}

.art-chapter--3 .art-image-link {
  width: min(88%, 820px);
}

.art-chapter--3 .art-chapter__macro {
  top: 4%;
  bottom: auto;
  width: 30%;
}

.art-chapter__copy {
  position: relative;
  z-index: 3;
  max-width: 500px;
}

.art-number {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(38px, 4vw, 62px);
  color: var(--quiet);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
}

.art-number i {
  width: 52px;
  height: 1px;
  background: var(--line-strong);
}

.art-year {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.art-chapter__copy h3 {
  max-width: 7ch;
  margin: 0 0 28px;
  font-size: clamp(3rem, 5.4vw, 7rem);
  letter-spacing: -0.055em;
  line-height: 0.84;
}

.art-description {
  max-width: 36ch;
  margin-bottom: 42px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  line-height: 1.45;
}

.art-facts {
  display: grid;
  gap: 0;
  margin-bottom: 38px;
  border-top: 1px solid var(--line);
}

.art-facts > div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.art-facts dt {
  color: var(--quiet);
  font-size: 0.54rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.art-facts dd {
  color: var(--muted);
  font-size: 0.72rem;
}

.art-facts .art-status {
  color: var(--gold);
}

/* Gallery archive */

.gallery {
  padding: clamp(110px, 9vw, 170px) var(--gutter) var(--section);
  background: var(--page);
}

.gallery-heading {
  width: min(100%, var(--max));
  min-height: clamp(420px, 45svh, 520px);
  display: grid;
  grid-template-columns: minmax(240px, 0.48fr) minmax(520px, 1fr);
  gap: clamp(70px, 9vw, 170px);
  align-items: center;
  margin: 0 auto clamp(120px, 11vw, 190px);
  padding: 42px 0;
}

.gallery-heading__intro {
  align-self: center;
}

.gallery-heading .eyebrow {
  margin-bottom: 78px;
}

.gallery-heading__intro > p:last-child {
  max-width: 31ch;
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 0.82rem;
}

.gallery-heading h2 {
  justify-self: end;
  width: fit-content;
  padding-right: 2px;
  font-size: clamp(5.2rem, 7.65vw, 9rem);
  line-height: 0.82;
}

.gallery-heading h2 span {
  display: block;
  white-space: nowrap;
}

.gallery-grid {
  width: min(100%, var(--max));
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(70px, 9vw, 150px) clamp(18px, 2.7vw, 46px);
  margin: 0 auto;
}

.gallery-item {
  min-width: 0;
  display: grid;
  gap: 20px;
  align-self: start;
}

.gallery-item--1 { grid-column: 1 / span 7; }
.gallery-item--2 { grid-column: 9 / span 4; margin-top: 16vw; }
.gallery-item--3 { grid-column: 2 / span 4; }
.gallery-item--4 { grid-column: 7 / span 6; margin-top: -4vw; }
.gallery-item--5 { grid-column: 1 / span 5; }

.gallery-image {
  --pointer-x: 50%;
  --pointer-y: 46%;
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--panel);
}

.gallery-image::before,
.material-study figure::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255, 244, 218, 0.18), transparent 34%);
  mix-blend-mode: soft-light;
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms ease;
}

.gallery-image::after {
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  content: "";
  pointer-events: none;
  transition: border-color 350ms ease;
}

.gallery-image img {
  width: 100%;
  height: auto;
  min-height: 260px;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.03);
  transition: filter 650ms ease, transform 1200ms var(--ease-out);
}

.gallery-item--2 .gallery-image img,
.gallery-item--4 .gallery-image img {
  aspect-ratio: 3 / 4;
}

.gallery-item--1 .gallery-image img,
.gallery-item--3 .gallery-image img,
.gallery-item--5 .gallery-image img {
  aspect-ratio: 4 / 3;
}

.gallery-item:hover .gallery-image img,
.gallery-item:focus-visible .gallery-image img {
  filter: saturate(1.02) contrast(1.04);
  transform: scale(1.025);
}

.gallery-item:hover .gallery-image::after,
.gallery-item:focus-visible .gallery-image::after {
  border-color: var(--gold);
}

.gallery-item:hover .gallery-image::before,
.gallery-item:focus-visible .gallery-image::before,
.material-study figure:hover::before {
  opacity: 1;
}

.gallery-caption {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 4px 12px;
}

.gallery-caption i {
  grid-row: 1 / span 2;
  color: var(--gold);
  font-size: 0.54rem;
  font-style: normal;
  letter-spacing: 0.1em;
}

.gallery-caption strong {
  font-size: 0.64rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.gallery-caption em {
  max-width: 44ch;
  color: var(--muted);
  font-size: 0.75rem;
  font-style: normal;
}

/* wARTrobe */

.wartrobe {
  position: relative;
  min-height: 116svh;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.58fr);
  gap: clamp(40px, 8vw, 140px);
  align-items: center;
  padding: var(--section) var(--gutter);
  overflow: hidden;
  color: #f1ede4;
  background: #060707;
}

.wartrobe::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 42%, rgba(54, 113, 119, 0.13), transparent 32%),
    radial-gradient(circle at 68% 28%, rgba(184, 149, 95, 0.08), transparent 26%);
  content: "";
}

.wartrobe-stage {
  --pointer-x: 50%;
  --pointer-y: 42%;
  --shift-x: 0px;
  --shift-y: 0px;
  position: relative;
  min-height: min(900px, 82svh);
  display: grid;
  place-items: center;
  perspective: 1500px;
}

.wartrobe-stage::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), transparent 26%, transparent 78%, rgba(0, 0, 0, 0.58)),
    linear-gradient(180deg, transparent 74%, rgba(0, 0, 0, 0.65));
  content: "";
  z-index: 3;
  pointer-events: none;
}

.wartrobe-stage::after {
  position: absolute;
  top: 0;
  left: calc(var(--pointer-x) - 27%);
  z-index: 2;
  width: 54%;
  height: 82%;
  background: radial-gradient(ellipse at 50% 0, rgba(252, 229, 184, 0.24), rgba(252, 229, 184, 0.055) 38%, transparent 72%);
  content: "";
  filter: blur(18px);
  mix-blend-mode: screen;
  pointer-events: none;
  transition: left 800ms var(--ease-out);
}

.wartrobe-object {
  position: relative;
  z-index: 1;
  width: min(68%, 640px);
  height: min(780px, 76svh);
  overflow: hidden;
  border: 1px solid rgba(241, 237, 228, 0.13);
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.58);
  transform: translate3d(var(--shift-x), var(--shift-y), 30px);
  transition: transform 1000ms var(--ease-out);
}

.wartrobe-object img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% center;
  filter: brightness(0.72) saturate(0.84) contrast(1.08);
  transform: scale(1.04);
  transition: filter 1200ms ease, transform 1400ms var(--ease-out);
}

.wartrobe-stage:hover .wartrobe-object img {
  filter: brightness(0.94) saturate(0.98) contrast(1.04);
  transform: scale(1);
}

.wartrobe-detail {
  position: absolute;
  right: 1%;
  bottom: 7%;
  z-index: 4;
  width: min(30%, 300px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid rgba(241, 237, 228, 0.18);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.46);
  transform: translate3d(calc(var(--shift-x) * -0.5), calc(var(--shift-y) * -0.5), 50px);
  transition: transform 1200ms var(--ease-out);
}

.wartrobe-detail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wartrobe-shadow {
  position: absolute;
  right: 18%;
  bottom: 2%;
  left: 18%;
  height: 8%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.8);
  filter: blur(26px);
}

.wartrobe-copy {
  position: relative;
  z-index: 5;
  min-width: 0;
  max-width: 540px;
}

.wartrobe-copy .eyebrow {
  margin-bottom: 28px;
}

.wartrobe-copy h2 {
  margin-bottom: 38px;
  color: #f1ede4;
  font-size: clamp(3.8rem, 6.6vw, 7.25rem);
}

.wartrobe-copy > p:not(.eyebrow) {
  max-width: 38ch;
  margin-bottom: 36px;
  color: rgba(241, 237, 228, 0.62);
}

.wartrobe .text-link { color: #f1ede4; }

/* About and material practice */

.about {
  position: relative;
  display: grid;
  grid-template-columns: minmax(460px, 0.78fr) minmax(0, 1fr);
  gap: clamp(64px, 8vw, 150px);
  align-items: center;
  padding: var(--section) var(--gutter);
  background: var(--page-raised);
}

.about::before {
  position: absolute;
  top: 14%;
  right: 18%;
  width: min(42vw, 720px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(169, 133, 84, 0.08), transparent 68%);
  content: "";
  filter: blur(44px);
  pointer-events: none;
}

.about-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  height: fit-content;
}

.about-copy .eyebrow {
  margin-bottom: 28px;
}

.about-copy h2 {
  margin-bottom: clamp(46px, 5vw, 76px);
  font-size: clamp(4.3rem, 6vw, 7rem);
  line-height: 0.84;
}

.about-copy h2 span {
  display: block;
  white-space: nowrap;
}

.about-text {
  max-width: 52ch;
  display: grid;
  gap: 26px;
  padding-left: clamp(0px, 4vw, 76px);
  border-left: 1px solid var(--line-strong);
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.35vw, 1.32rem);
  line-height: 1.65;
}

.material-study {
  position: relative;
  z-index: 2;
  width: min(100%, 880px);
  justify-self: end;
  display: grid;
  gap: 22px;
}

.material-study figure {
  --pointer-x: 50%;
  --pointer-y: 46%;
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  background: #111;
  box-shadow: 0 30px 76px var(--shadow);
}

.material-study__feature {
  width: 100%;
  aspect-ratio: 16 / 10;
}

.material-study img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.07);
  transition: filter 700ms ease, transform 1400ms var(--ease-out);
}

.material-study figure:hover img {
  filter: saturate(0.98) contrast(1.06);
  transform: scale(1.018);
}

.material-study figcaption {
  position: absolute;
  right: 14px;
  bottom: 13px;
  left: 14px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.9);
}

.material-study figcaption span {
  font-size: 0.54rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.material-study figcaption strong {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 400;
}

.material-study__details {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 22px;
  padding-left: clamp(22px, 6vw, 100px);
}

.material-study__details figure:first-child { aspect-ratio: 4 / 5; }
.material-study__details figure:last-child { aspect-ratio: 4 / 3; align-self: end; }

.material-study__note {
  justify-self: end;
  max-width: 42ch;
  display: flex;
  gap: 12px;
  padding-top: 2px;
  color: var(--quiet);
  font-size: 0.72rem;
  line-height: 1.55;
}

.material-study__note span {
  color: var(--gold);
}

/* Instagram */

.instagram-flow {
  display: grid;
  grid-template-columns: minmax(280px, 0.52fr) minmax(0, 1fr);
  gap: clamp(50px, 8vw, 140px);
  align-items: start;
  padding: var(--section) var(--gutter);
  border-top: 1px solid var(--line);
  background: var(--page);
}

.instagram-heading .eyebrow { margin-bottom: 26px; }
.instagram-heading h2 { margin-bottom: 44px; font-size: clamp(4rem, 7vw, 8rem); }

.instagram-widget-panel {
  min-height: 480px;
  display: grid;
  gap: 28px;
  padding: clamp(30px, 5vw, 70px);
  border: 1px solid var(--line);
  background: var(--page-raised);
}

.instagram-widget-copy {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 24px;
  align-items: start;
}

.instagram-mark {
  position: relative;
  width: 50px;
  aspect-ratio: 1;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.instagram-mark::before {
  position: absolute;
  inset: 14px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  content: "";
}

.instagram-widget-copy .eyebrow { margin-bottom: 13px; }
.instagram-widget-copy h3 { max-width: 17ch; margin-bottom: 15px; font-size: clamp(1.9rem, 3vw, 3.4rem); line-height: 0.98; }
.instagram-widget-copy p:last-child { max-width: 45ch; color: var(--muted); font-size: 0.78rem; }
.instagram-widget-mount { min-height: 230px; border-top: 1px solid var(--line); padding-top: 24px; }

/* Inquiry */

.inquiry {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.64fr);
  gap: clamp(60px, 10vw, 180px);
  align-items: center;
  padding: var(--section) var(--gutter);
  overflow: hidden;
  color: #f1ede4;
  background: #070808;
}

.inquiry-atmosphere {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 8, 8, 0.6), rgba(7, 8, 8, 0.92) 70%),
    url("assets/optimized/images/hero.webp") center / cover;
  filter: saturate(0.42) contrast(1.08);
  opacity: 0.24;
  transform: scale(1.06);
}

.inquiry-copy,
.inquiry-form {
  position: relative;
  z-index: 2;
}

.inquiry-copy .eyebrow { margin-bottom: 26px; }
.inquiry-copy h2 { margin-bottom: 36px; color: #f1ede4; font-size: clamp(4rem, 7.8vw, 9rem); }
.inquiry-copy > p:not(.eyebrow) { margin-bottom: 28px; color: rgba(241, 237, 228, 0.56); }
.inquiry .direct-email { color: #f1ede4; text-transform: none; letter-spacing: 0.04em; }

.inquiry-form {
  display: grid;
  gap: 24px;
  padding: clamp(28px, 4.5vw, 58px);
  border: 1px solid rgba(241, 237, 228, 0.18);
  background: rgba(8, 8, 8, 0.72);
}

.inquiry-form label {
  display: grid;
  gap: 8px;
}

.inquiry-form label > span {
  color: rgba(241, 237, 228, 0.52);
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(241, 237, 228, 0.22);
  border-radius: 0;
  padding: 10px 0;
  color: #f1ede4;
  background: transparent;
  outline: 0;
  resize: vertical;
  transition: border-color 300ms ease;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus { border-color: var(--gold); }
.inquiry-form .button { width: 100%; }
.form-note,
.response-note { color: rgba(241, 237, 228, 0.42); font-size: 0.65rem; }
.response-note { text-align: right; }

/* Footer */

.site-footer {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(120px, 0.45fr));
  gap: clamp(38px, 6vw, 100px);
  padding: clamp(72px, 9vw, 140px) var(--gutter) 34px;
  border-top: 1px solid var(--line);
  background: var(--page);
}

.footer-intro { max-width: 420px; }
.footer-brand { display: inline-block; margin-bottom: 18px; font-family: var(--serif); font-size: clamp(1.8rem, 2.5vw, 3.2rem); }
.footer-intro > p { color: var(--muted); font-size: 0.78rem; }
.footer-group { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-group > p { margin-bottom: 7px; color: var(--quiet); font-size: 0.54rem; letter-spacing: 0.13em; text-transform: uppercase; }
.footer-group a { color: var(--muted); font-size: 0.75rem; transition: color 250ms ease; }
.footer-group a:hover { color: var(--ink); }
.footer-group nav { display: contents; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 24px; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--quiet); font-size: 0.58rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  gap: 20px;
  place-items: center;
  padding: clamp(24px, 4vw, 64px);
  background: rgba(5, 5, 5, 0.94);
  backdrop-filter: blur(22px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms ease;
}

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

.lightbox-figure {
  width: min(100%, 1380px);
  max-height: 90svh;
  display: grid;
  gap: 18px;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 450ms ease, transform 650ms var(--ease-out);
}

.lightbox.is-open .lightbox-figure { opacity: 1; transform: scale(1); }
.lightbox-media { min-height: 0; display: grid; place-items: center; }
.lightbox-image { width: auto; max-width: 100%; max-height: 77svh; border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: 0 44px 140px rgba(0, 0, 0, 0.72); object-fit: contain; }
.lightbox-caption { display: grid; gap: 3px; color: #f4efe6; }
.lightbox-caption strong { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2.8rem); font-weight: 400; }
.lightbox-caption span { color: rgba(244, 239, 230, 0.58); font-size: 0.72rem; }

.lightbox-close {
  position: absolute;
  top: clamp(18px, 3vw, 38px);
  right: clamp(18px, 3vw, 38px);
  width: 48px;
  height: 48px;
  border: 1px solid rgba(244, 239, 230, 0.28);
  border-radius: 50%;
  color: #f4efe6;
  background: rgba(0, 0, 0, 0.34);
  cursor: pointer;
}

.lightbox-close span::before,
.lightbox-close span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 1px;
  background: currentColor;
  content: "";
}

.lightbox-close span::before { transform: translate(-50%, -50%) rotate(45deg); }
.lightbox-close span::after { transform: translate(-50%, -50%) rotate(-45deg); }

.lightbox-nav {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(244, 239, 230, 0.22);
  border-radius: 50%;
  color: rgba(244, 239, 230, 0.72);
  background: transparent;
  cursor: pointer;
  transition: color 250ms ease, border-color 250ms ease, transform 350ms var(--ease-out);
}

.lightbox-nav:hover { color: #f4efe6; border-color: var(--gold); transform: scale(1.06); }

/* Consent and legal pages */

.cookie-consent {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 260;
  width: min(440px, calc(100vw - 32px));
  display: grid;
  gap: 18px;
  padding: 20px;
  border: 1px solid rgba(244, 239, 230, 0.2);
  color: #f4efe6;
  background: rgba(8, 8, 8, 0.94);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.cookie-consent.is-hidden { display: none; }
.cookie-consent p { color: rgba(244, 239, 230, 0.68); font-size: 0.78rem; }
.cookie-consent-actions { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 10px; }
.cookie-consent .button { width: 100%; min-width: 0; padding-inline: 12px; }

.legal-page { min-height: 100svh; }
.legal-shell { width: min(100%, 980px); min-height: 100svh; display: grid; align-content: center; gap: 48px; margin: 0 auto; padding: 70px var(--gutter); }
.legal-brand { width: min(240px, 70vw); }
.legal-card { display: grid; gap: 24px; padding: clamp(30px, 6vw, 72px); border: 1px solid var(--line); background: var(--page-raised); }
.legal-card h1 { font-size: clamp(3.5rem, 9vw, 8rem); line-height: 0.9; }
.legal-card p { max-width: 70ch; color: var(--muted); }

/* Reveal language varies by content type */

.reveal {
  opacity: 0;
  transition: opacity 900ms ease, transform 1100ms var(--ease-out), clip-path 1200ms var(--ease-out);
}

.reveal.is-visible { opacity: 1; transform: none; clip-path: inset(0); }
.installation-heading.reveal.is-visible { clip-path: none; }
.installation-heading.reveal:not(.is-visible),
.section-heading.reveal:not(.is-visible),
.gallery-heading.reveal:not(.is-visible),
.about-copy.reveal:not(.is-visible),
.inquiry-copy.reveal:not(.is-visible) { transform: translateX(-30px); }
.art-chapter.reveal:not(.is-visible) { clip-path: inset(0 0 12% 0); transform: none; }
.gallery-item.reveal:not(.is-visible):nth-child(odd) { clip-path: inset(9% 0 0 0); transform: translateY(18px); }
.gallery-item.reveal:not(.is-visible):nth-child(even) { clip-path: inset(0 0 9% 0); transform: translateY(-12px); }
.wartrobe-object.reveal:not(.is-visible) { clip-path: inset(0 47% 0 47%); transform: none; }
.wartrobe-detail.reveal:not(.is-visible) { clip-path: inset(94% 0 0); transform: none; transition-delay: 260ms; }
.inquiry-form.reveal:not(.is-visible),
.instagram-widget-panel.reveal:not(.is-visible) { transform: translateX(30px); }

/* Light theme keeps architecture without losing contrast */

body[data-theme="light"] .collection,
body[data-theme="light"] .about,
body[data-theme="light"] .instagram-widget-panel {
  background: var(--page-raised);
}

body[data-theme="light"] .art-image-link {
  background: #ddd5c8;
  box-shadow: 0 38px 85px rgba(69, 55, 40, 0.2);
}

body[data-theme="light"] .art-chapter::before {
  opacity: 0.45;
}

body[data-theme="light"] .hero {
  color: var(--ink);
  background: #d9d1c4;
}

body[data-theme="light"] .hero-room {
  background: #d8d0c3;
}

body[data-theme="light"] .hero-room__wall {
  background:
    linear-gradient(90deg, rgba(63, 52, 39, 0.2), transparent 22%, transparent 78%, rgba(63, 52, 39, 0.18)),
    linear-gradient(180deg, #ddd6ca, #c9c0b2 82%);
  box-shadow: inset 0 0 140px rgba(63, 52, 39, 0.18);
}

body[data-theme="light"] .hero-room__ceiling {
  background: linear-gradient(180deg, #d7cfc2, #bdb3a3);
}

body[data-theme="light"] .hero-room__floor {
  background:
    linear-gradient(90deg, rgba(63, 52, 39, 0.22), transparent 24%, transparent 74%, rgba(63, 52, 39, 0.2)),
    repeating-linear-gradient(93deg, rgba(24, 23, 19, 0.045) 0 1px, transparent 1px 84px),
    linear-gradient(180deg, #c2b7a8, #9f9382);
}

body[data-theme="light"] .hero-artwork img {
  filter: brightness(0.98) saturate(0.94) contrast(1.04);
}

body[data-theme="light"] .hero-film {
  background:
    linear-gradient(90deg, rgba(238, 233, 223, 0.78), transparent 48%, rgba(238, 233, 223, 0.12)),
    linear-gradient(0deg, rgba(238, 233, 223, 0.92), transparent 54%),
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(184, 149, 95, 0.14), transparent 26%);
}

body[data-theme="light"] .hero-content h1 {
  text-shadow: 0 26px 80px rgba(63, 52, 39, 0.18);
}

body[data-theme="light"] .hero-statement,
body[data-theme="light"] .hero-scroll,
body[data-theme="light"] .opening-chapters {
  color: var(--muted);
}

body[data-theme="light"] .hero .button-line {
  color: var(--ink);
  border-color: var(--line-strong);
}

body[data-theme="light"] .hero-scroll span {
  background: linear-gradient(180deg, rgba(24, 23, 19, 0.12), var(--ink));
}

body[data-theme="light"] .installation {
  color: var(--ink);
  background:
    radial-gradient(circle at 70% 20%, rgba(184, 149, 95, 0.13), transparent 30%),
    var(--page);
}

body[data-theme="light"] .installation::before {
  background: linear-gradient(112deg, rgba(24, 23, 19, 0.025), transparent 32%, transparent 70%, rgba(184, 149, 95, 0.05));
}

body[data-theme="light"] .installation-heading h2 {
  color: var(--ink);
}

body[data-theme="light"] .installation-heading > p:last-child,
body[data-theme="light"] .room-caption {
  color: var(--muted);
}

body[data-theme="light"] .wartrobe {
  color: var(--ink);
  background: var(--page-raised);
}

body[data-theme="light"] .wartrobe::before {
  background:
    radial-gradient(circle at 28% 42%, rgba(54, 113, 119, 0.09), transparent 34%),
    radial-gradient(circle at 68% 28%, rgba(184, 149, 95, 0.14), transparent 28%);
}

body[data-theme="light"] .wartrobe-stage::before {
  background:
    linear-gradient(90deg, rgba(73, 59, 44, 0.12), transparent 28%, transparent 76%, rgba(73, 59, 44, 0.1)),
    linear-gradient(180deg, transparent 74%, rgba(73, 59, 44, 0.13));
}

body[data-theme="light"] .wartrobe-object {
  border-color: rgba(24, 23, 19, 0.16);
  box-shadow: 0 46px 100px rgba(63, 52, 39, 0.24);
}

body[data-theme="light"] .wartrobe-detail {
  border-color: rgba(24, 23, 19, 0.2);
  box-shadow: 0 28px 64px rgba(63, 52, 39, 0.22);
}

body[data-theme="light"] .wartrobe-shadow {
  background: rgba(63, 52, 39, 0.32);
}

body[data-theme="light"] .wartrobe-copy h2,
body[data-theme="light"] .wartrobe .text-link {
  color: var(--ink);
}

body[data-theme="light"] .wartrobe-copy > p:not(.eyebrow) {
  color: var(--muted);
}

body[data-theme="light"] .inquiry {
  color: var(--ink);
  background: var(--page-raised);
}

body[data-theme="light"] .inquiry-atmosphere {
  background:
    linear-gradient(90deg, rgba(246, 242, 234, 0.86), rgba(246, 242, 234, 0.98) 72%),
    url("assets/optimized/images/hero.webp") center / cover;
  filter: grayscale(0.5) sepia(0.12) contrast(0.94);
  opacity: 0.58;
}

body[data-theme="light"] .inquiry-copy h2,
body[data-theme="light"] .inquiry .direct-email {
  color: var(--ink);
}

body[data-theme="light"] .inquiry-copy > p:not(.eyebrow) {
  color: var(--muted);
}

body[data-theme="light"] .inquiry-form {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.46);
  box-shadow: 0 30px 90px rgba(63, 52, 39, 0.12);
}

body[data-theme="light"] .inquiry-form label > span,
body[data-theme="light"] .form-note,
body[data-theme="light"] .response-note {
  color: var(--quiet);
}

body[data-theme="light"] .inquiry-form input,
body[data-theme="light"] .inquiry-form textarea {
  border-color: var(--line-strong);
  color: var(--ink);
}

/* Responsive */

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
  }

  .hero-artwork {
    top: 17%;
    left: 16%;
    width: 68%;
    height: 51vw;
  }

  .menu-toggle { display: grid; }

  .site-nav {
    position: fixed;
    inset: calc(-1 * max(16px, env(safe-area-inset-top))) calc(-1 * clamp(16px, 2.5vw, 38px));
    z-index: -1;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    padding: 130px var(--gutter) 60px;
    color: var(--ink);
    background: var(--page);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(-14px);
    transition: opacity 400ms ease, transform 550ms var(--ease-out), visibility 0s linear 550ms;
  }

  .site-nav::before {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 82% 24%, rgba(184, 149, 95, 0.12), transparent 30%);
    content: "";
    pointer-events: none;
  }

  .site-nav a {
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(2.3rem, 7vw, 4.8rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.05;
    text-transform: none;
  }

  .site-header.is-menu-open { color: var(--ink); }
  .site-header.is-menu-open .site-nav { opacity: 1; pointer-events: auto; visibility: visible; transform: translateY(0); transition: opacity 400ms ease, transform 550ms var(--ease-out), visibility 0s; }

  .installation { grid-template-columns: 1fr; min-height: 0; }
  .installation-heading { max-width: 680px; }
  .room-camera { width: min(100%, 980px); }
  .room-caption { display: none; }

  .art-chapter,
  .art-chapter:nth-child(even) {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .art-chapter:nth-child(even) .art-chapter__visual,
  .art-chapter:nth-child(even) .art-chapter__copy { order: initial; }
  .art-chapter__copy { width: min(100%, 680px); }
  .art-number { margin-bottom: 42px; }

  .wartrobe { grid-template-columns: 1fr; }
  .wartrobe-copy { width: min(100%, 680px); }

  .about { grid-template-columns: 1fr; }
  .about-copy { width: min(100%, 760px); }
  .material-study { width: min(100%, 920px); justify-self: center; }

  .instagram-flow,
  .inquiry { grid-template-columns: 1fr; }
  .instagram-heading,
  .inquiry-copy { max-width: 760px; }
  .inquiry-form { width: min(100%, 760px); }
}

@media (max-width: 900px) {
  .gallery-heading {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
    margin-bottom: 108px;
    padding: 12px 0;
  }

  .gallery-heading__intro { display: contents; }
  .gallery-heading .eyebrow { grid-row: 1; margin-bottom: 0; }
  .gallery-heading h2 {
    grid-row: 2;
    justify-self: start;
    width: 100%;
    font-size: clamp(4rem, 13vw, 6.2rem);
  }
  .gallery-heading__intro > p:last-child { grid-row: 3; max-width: 40ch; }
}

@media (max-width: 760px) {
  :root {
    --gutter: 21px;
    --section: clamp(92px, 25vw, 128px);
  }

  body { font-size: 14px; }
  h2 { font-size: clamp(3.2rem, 15vw, 5.4rem); }

  .site-header {
    top: max(9px, env(safe-area-inset-top));
    right: 9px;
    left: 9px;
    min-height: 66px;
    padding: 8px 10px;
  }

  .brand { width: clamp(112px, 33vw, 134px); }
  .site-controls { gap: 3px; }
  .theme-toggle,
  .ambient-toggle { width: 36px; min-width: 36px; height: 36px; min-height: 36px; padding: 0; border: 1px solid currentColor; border-radius: 50%; opacity: 0.7; }
  .control-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .control-glyph { width: 14px; height: 14px; }
  .menu-toggle { width: 38px; height: 38px; }

  .hero-artwork {
    top: 15%;
    left: 10%;
    width: 80%;
    height: 60vw;
  }

  .hero-room__wall { inset: 8% 3% 22%; }
  .hero-room__floor { height: 28%; clip-path: polygon(3% 0, 97% 0, 100% 100%, 0 100%); }
  .hero-room__bench { right: 33%; left: 33%; }

  .opening-active[data-opening-phase="surface"] .hero-artwork {
    top: -14vh;
    left: -70vw;
    width: 235vw;
    height: 138vh;
  }

  .opening-active[data-opening-phase="work"] .hero-artwork { top: 14vh; left: 6vw; width: 88vw; height: 68vh; }

  .hero-film { background: linear-gradient(0deg, rgba(0, 0, 0, 0.86), transparent 64%), radial-gradient(circle at 60% 30%, rgba(202, 164, 104, 0.1), transparent 27%); }
  .hero-content { bottom: 74px; width: calc(100% - 42px); }
  .hero-content .kicker { margin-bottom: 17px; }
  .hero-content h1 { max-width: 6.2ch; margin-bottom: 22px; font-size: clamp(4.25rem, 21vw, 6.4rem); line-height: 0.76; }
  .hero-content h1 em { justify-self: start; }
  .hero-statement { display: none; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-actions .button { min-width: 0; gap: 12px; padding-inline: 13px; font-size: 0.56rem; }
  .hero-scroll { display: none; }
  .opening-chapters { right: 18px; bottom: 18px; left: 18px; justify-content: space-between; gap: 8px; }
  .opening-chapters span { font-size: 0; }
  .opening-chapters span::before { font-size: 0.53rem; content: attr(data-opening-label); }
  .opening-skip { top: auto; right: 20px; bottom: 46px; }

  .manifesto { min-height: 92svh; grid-template-columns: 1fr; align-content: center; gap: 58px; }
  .manifesto::before { top: 32%; width: 86vw; }
  .manifesto-copy { font-size: clamp(2.4rem, 10.8vw, 4.2rem); }
  .manifesto-note { margin-bottom: 0; }

  .installation { gap: 54px; }
  .installation-heading h2 { font-size: clamp(3.05rem, 13.2vw, 4.7rem); }
  .room-stage { aspect-ratio: 4 / 5; }
  .room-wall { bottom: 17%; }
  .room-floor { height: 17%; }
  .room-art--one { top: 27%; left: 6%; width: 52%; }
  .room-art--two { top: 22%; right: 7%; width: 30%; }
  .room-art > span { top: calc(100% + 8px); font-size: 0.4rem; }
  .room-bench { right: 30%; bottom: 4.5%; left: 30%; height: 3.8%; }

  .section-heading { grid-template-columns: 1fr; gap: 44px; margin-bottom: 94px; }
  .section-heading > p { max-width: 40ch; }

  .gallery-heading h2 { font-size: clamp(3.25rem, 14vw, 5.6rem); }

  .art-chapters { gap: 150px; }
  .art-chapter { gap: 48px; padding: 0; }
  .art-chapter__visual { min-height: 440px; }
  .art-image-link,
  .art-chapter--2 .art-image-link,
  .art-chapter--3 .art-image-link { width: 88%; }
  .art-chapter__macro { width: 34%; }
  .art-chapter__copy h3 { font-size: clamp(3.3rem, 15vw, 5.4rem); }
  .art-facts > div { grid-template-columns: 82px 1fr; }

  .gallery-grid { grid-template-columns: 1fr; gap: 84px; }
  .gallery-item,
  .gallery-item--1,
  .gallery-item--2,
  .gallery-item--3,
  .gallery-item--4,
  .gallery-item--5 { grid-column: 1; margin-top: 0; }
  .gallery-item:nth-child(even) { margin-left: 11vw; }
  .gallery-item:nth-child(odd) { margin-right: 7vw; }
  .gallery-image img { min-height: 300px; }

  .wartrobe { min-height: 0; gap: 70px; }
  .wartrobe-stage { min-height: 72svh; }
  .wartrobe-object { width: 78%; height: 68svh; }
  .wartrobe-detail { right: -4%; width: 34%; }
  .wartrobe-copy h2 { font-size: clamp(4rem, 16vw, 6rem); }

  .about-copy h2 { font-size: clamp(2.85rem, 12vw, 5.2rem); }
  .instagram-heading h2 { font-size: clamp(3.5rem, 14vw, 5.8rem); }
  .inquiry-copy h2 { font-size: clamp(3.15rem, 13vw, 5.4rem); }
  .about-text { padding-left: 22px; }
  .material-study { gap: 14px; }
  .material-study__feature { aspect-ratio: 4 / 3; }
  .material-study__details { gap: 14px; padding-left: 7vw; }
  .material-study__note { max-width: 34ch; }

  .instagram-widget-copy { grid-template-columns: 1fr; }
  .instagram-widget-panel { min-height: 420px; padding: 25px 20px; }

  .inquiry-form { padding: 27px 20px; }
  .direct-email { max-width: 100%; font-size: 0.6rem; overflow-wrap: anywhere; }

  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-intro,
  .footer-bottom { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }

  .lightbox { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 8px; padding: 74px 12px 22px; }
  .lightbox-nav { width: 40px; height: 40px; }
  .lightbox-image { max-height: 68svh; }
  .lightbox-close { top: 14px; right: 14px; }

  .cookie-consent { right: 12px; left: 12px; bottom: 12px; width: auto; max-height: calc(100svh - 24px); overflow: auto; }
}

@media (max-width: 390px) {
  .site-header { gap: 5px; }
  .brand { width: 104px; }
  .theme-toggle,
  .ambient-toggle { width: 33px; min-width: 33px; height: 33px; min-height: 33px; }
  .menu-toggle { width: 35px; height: 35px; }
  .hero-actions { grid-template-columns: 1fr; }
  .hero-content { bottom: 44px; }
  .opening-chapters { display: none; }
  .cookie-consent {
    gap: 12px;
    padding: 14px;
  }
  .cookie-consent p {
    font-size: 0.7rem;
    line-height: 1.5;
  }
  .cookie-consent-actions { grid-template-columns: 0.82fr 1.18fr; }
  .cookie-consent .button {
    min-height: 44px;
    padding: 10px 8px;
    font-size: 0.55rem;
  }
}

/* Weaker devices retain composition while removing costly continuous layers. */

.low-power .hero-room__light,
.low-power .wartrobe-stage::after,
.low-power body::after {
  animation: none;
  filter: none;
}

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

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

  .hero-content,
  .site-header,
  .reveal {
    opacity: 1 !important;
    clip-path: none !important;
    transform: none !important;
  }

  .opening-chapters,
  .opening-skip { display: none !important; }
  .room-stage,
  .art-image-link,
  .art-chapter__macro,
  .wartrobe-object,
  .wartrobe-detail { transform: none !important; }
  .manifesto-copy { color: var(--ink); background: none; -webkit-text-fill-color: currentColor; }
}

@media print {
  .site-header,
  .scroll-progress,
  .opening-skip,
  .hero-scroll,
  .cookie-consent,
  .lightbox { display: none !important; }
  body { color: #111; background: #fff; }
}
