:root { color-scheme: light; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; color: #202122; background: #f5eee4; --x: 0; --y: 0; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible, .stage:focus-visible { outline: 2px solid #38495c; outline-offset: 6px; }
.experience { position: relative; isolation: isolate; height: 100svh; min-height: 620px; overflow: hidden; }
.environment { position: absolute; z-index: -2; inset: -3%; background: #f5eee4 url('gallery-background-dream.png') center / cover no-repeat; transform: translate(calc(var(--x) * -8px), calc(var(--y) * -5px)) scale(1.025); will-change: transform; }
header, footer { position: absolute; z-index: 4; left: 3.5%; right: 3.5%; display: flex; align-items: center; justify-content: space-between; font-size: .875rem; line-height: 1.4; }
header { top: 2rem; }
.domain { font-weight: 600; letter-spacing: -.025em; }
button { padding: .5rem 0; border: 0; background: none; }
button span { display: inline-block; margin-left: .65rem; }
button:hover { text-decoration: underline; text-underline-offset: 5px; }
.stage { position: absolute; inset: 10% 5% 24%; perspective: 1300px; cursor: grab; touch-action: none; }
.stage:active { cursor: grabbing; }
.portrait-position { transform-style: preserve-3d; position: absolute; width: min(32vw, 40svh, 410px); left: 74%; top: 60%; transform: translate(-50%, -50%) translate(calc(var(--x) * 15px), calc(var(--y) * 3px)); }
.portrait-panel { margin: 0; width: 100%; background: transparent; border: 0; box-shadow: none; transform: rotateY(calc(var(--x) * 3deg)); will-change: transform; }
.portrait-position::after { content: ""; position: absolute; z-index: -1; width: 36%; height: 3%; left: 46%; bottom: -.5%; border-radius: 50%; background: #30333835; filter: blur(8px); transform: translateX(calc(var(--x) * -4px)) scaleX(1.2); }
.portrait-panel img { display: block; width: 100%; height: auto; object-fit: contain; user-select: none; }
.wordmark { position: absolute; z-index: 2; left: 5%; right: 5%; bottom: 13%; pointer-events: none; }
h1 { margin: 0; font-size: clamp(5rem, 13.4vw, 230px); font-weight: 400; letter-spacing: -.06em; line-height: .9; }
footer { bottom: 1.35rem; }
.hint { color: #474c50; }
@media (max-width: 700px) {
 .experience { min-height: 590px; }
 header, footer { left: 6%; right: 6%; font-size: .8125rem; }
 header { top: max(1.25rem, env(safe-area-inset-top)); }
 footer { bottom: max(1rem, env(safe-area-inset-bottom)); }
 .stage { inset: 14% 5% 25%; }
 .portrait-position { width: min(64vw, 33svh, 300px); left: 57%; top: 60%; }
 .portrait-panel img { height: auto; }
 .wordmark { left: 5%; right: 5%; bottom: 14%; }
 h1 { font-size: 16.4vw; }
 .portrait-position::after { filter: blur(5px); }
}
@media (prefers-reduced-motion: reduce) { .environment, .portrait-position, .portrait-panel { will-change: auto; } }

/* A restrained veil of light behind the portrait and typography. */
.environment { filter: saturate(1.08) contrast(.97) brightness(1.025); }
.environment::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 22% 37%, rgba(255, 191, 161, .19), transparent 67%), radial-gradient(ellipse at 76% 49%, rgba(255, 249, 236, .25), transparent 62%), linear-gradient(180deg, rgba(255, 249, 242, .05), rgba(255, 240, 225, .10)); }
