:root {
  --ink: #080914;
  --paper: #fff0d4;
  --skin: #f3c09c;
  --red: #D52C3D;
  --blue: #1d63d0;
  --green: #75af42;
  --gold: #e5af22;
  --pink: #f297a7;
  --cyan: #00e0cf;
  --eye-x: 0px;
  --eye-y: 0px;
  --page-pad-inline: clamp(18px, 3.6vw, 64px);
  --stage-width: min(1373px, 100vw, calc(96.8svh * 1.4145));
  --stage-top-offset: 150px;
  --stage-scale: 1.1;
  --side-panel-width: clamp(420px, 45vw, 620px);
  --work-left-col: clamp(180px, 33.5vw, 560px);
  --work-hover-band-left: clamp(-560px, -33.5vw, -180px);
  --work-preview-left: clamp(92px, 18vw, 280px);
  --preview-x: var(--work-preview-left);
  --work-title-size: clamp(0.66rem, 1.07vw, 1.31rem);
  --work-year-size: clamp(0.66rem, 0.9vw, 1.02rem);
  --preview-y: 50vh;
  --work-scroll: 0;
  --work-shift-a: 0px;
  --work-shift-b: 0px;
  --work-shift-c: 0px;
  --work-shift-d: 0px;
  --project-panel-height: 100svh;
  --iso-loop-x: 1650px;
  --iso-loop-y: 1180px;
  --iso-tile-width: 726px;
  --iso-tile-height: 573px;
  --iso-background-opacity: 0.42;
  --iso-screen-width: 100vw;
  --iso-screen-height: 100svh;
  --iso-screen-scale: 1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--red);
  color: var(--paper);
  font-family: Inter, system-ui, sans-serif;
  overflow: hidden;
}

body.is-locked {
  cursor: auto;
}

body.is-loading {
  cursor: wait;
}

body.is-loaded .page-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

.browser-gate {
  position: fixed;
  right: clamp(18px, 2.4vw, 34px);
  top: clamp(78px, 9svh, 118px);
  z-index: 250;
  display: block;
  width: min(390px, calc(100vw - 36px));
  color: var(--ink);
  pointer-events: none;
}

.browser-gate[hidden] {
  display: none;
}

@media (pointer: coarse), (hover: none) {
  .browser-gate {
    display: none !important;
  }
}

.browser-gate-panel {
  position: relative;
  border: 3px solid var(--ink);
  background: #ffffff;
  padding: 22px 52px 24px 24px;
  box-shadow: 10px 10px 0 var(--red);
  pointer-events: auto;
}

.browser-gate-kicker {
  margin: 0 0 8px;
  color: var(--red);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.browser-gate h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 2.5vw, 2.45rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.browser-gate p {
  margin: 0;
  color: #333333;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.35;
}

.browser-gate .browser-gate-note {
  margin-top: 18px;
  color: var(--blue);
}

.browser-gate-close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 2px solid var(--ink);
  background: #fff;
  cursor: pointer;
}

.browser-gate-close img {
  width: 100%;
  height: 100%;
  display: block;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--red);
  color: var(--paper);
  transition: opacity 420ms ease, visibility 420ms ease;
}

.page-loader-panel {
  width: min(520px, 100%);
}

.page-loader-kicker {
  margin: 0 0 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.page-loader-percent {
  display: block;
  font-size: clamp(4rem, 18vw, 9rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.page-loader-track {
  height: 12px;
  margin-top: 24px;
  border: 2px solid currentColor;
  background: rgba(255, 240, 212, 0.18);
  overflow: hidden;
}

.page-loader-track span {
  display: block;
  width: var(--loader-progress, 0%);
  height: 100%;
  background: var(--paper);
  transition: width 180ms ease;
}

.custom-cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: difference;
  will-change: transform, opacity;
  transition: opacity 80ms ease;
}

.cursor-inner {
  width: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.34);
}

.cursor-outer {
  width: 42px;
  aspect-ratio: 1;
  border: 1.5px solid #fff;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  box-shadow:
    0 0 22px rgba(255, 255, 255, 0.2),
    inset 0 0 18px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(1.5px);
  transition:
    width 90ms ease,
    border-width 90ms ease,
    background 90ms ease,
    box-shadow 90ms ease;
}

.cursor-is-visible .custom-cursor {
  opacity: 1;
}

.cursor-is-hovering .cursor-inner {
  opacity: 0.28;
}

.cursor-is-magnifying .cursor-outer {
  width: 58px;
  border-width: 2px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow:
    0 0 26px rgba(255, 255, 255, 0.28),
    inset 0 0 22px rgba(255, 255, 255, 0.1);
}

.cursor-is-magnifying .cursor-inner {
  width: 6px;
  opacity: 0.46;
}

@media (pointer: fine) {
  body.is-locked,
  body.is-locked * {
    cursor: none !important;
  }
}

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

.iphone-orientation-lock {
  display: none;
}

@media (max-width: 820px) and (max-height: 500px) and (pointer: coarse) and (orientation: landscape) {
  .iphone-orientation-lock {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: var(--red);
    color: var(--ink);
    text-align: center;
  }

  .iphone-orientation-lock p {
    margin: 0;
    font-family: "IBM Plex Mono", monospace;
    font-size: clamp(1rem, 4.6vw, 1.5rem);
    font-weight: 700;
    text-transform: uppercase;
  }
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.11;
  mix-blend-mode: multiply;
  background-image:
    radial-gradient(circle at 14px 18px, rgba(8, 9, 20, 0.35) 1px, transparent 1.6px),
    linear-gradient(90deg, rgba(255, 240, 212, 0.1) 1px, transparent 1px);
  background-size: 29px 31px, 9px 9px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--page-pad-inline);
  color: var(--cyan);
  mix-blend-mode: difference;
}

.brand {
  display: grid;
  place-items: center;
  width: 44px;
  aspect-ratio: 1;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-family: Anton, Impact, sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0;
}

nav {
  display: flex;
  gap: clamp(14px, 4vw, 42px);
  font-size: 12px;
  font-weight: 900;
  color: var(--cyan);
  text-transform: uppercase;
}

.poster-hero {
  position: relative;
  height: 100svh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  perspective: 1100px;
  background: var(--red);
}

.left-background-panel {
  display: none;
}

.ferro-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 1;
  mix-blend-mode: normal;
  pointer-events: none;
}

.center-white-box {
  position: absolute;
  left: 50%;
  top: calc(45% + var(--stage-top-offset) + (var(--stage-width) * 0.0566));
  z-index: 1;
  width: min(calc(var(--stage-width) * 0.389025), 419px);
  aspect-ratio: 0.819;
  background: #fff;
  clip-path: inset(0 5% 30% 0);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition:
    opacity 640ms cubic-bezier(0.2, 0.8, 0.18, 1),
    left 1140ms cubic-bezier(0.2, 0.8, 0.18, 1);
}

.layout-view-surface {
  position: absolute;
  inset: 0;
  z-index: 2;
  --hidden-reveal-x: 50%;
  --hidden-reveal-y: 50%;
  --hidden-reveal-size: 210px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  background: #fff;
  -webkit-mask-image: radial-gradient(
    circle at var(--hidden-reveal-x) var(--hidden-reveal-y),
    #000 0 calc(var(--hidden-reveal-size) * 0.62),
    rgba(0, 0, 0, 0.78) calc(var(--hidden-reveal-size) * 0.76),
    transparent var(--hidden-reveal-size)
  );
  mask-image: radial-gradient(
    circle at var(--hidden-reveal-x) var(--hidden-reveal-y),
    #000 0 calc(var(--hidden-reveal-size) * 0.62),
    rgba(0, 0, 0, 0.78) calc(var(--hidden-reveal-size) * 0.76),
    transparent var(--hidden-reveal-size)
  );
  transition: opacity 380ms ease;
}

.poster-hero.is-hidden-hover-reveal .layout-view-surface {
  opacity: 1;
  pointer-events: none;
}

.poster-hero.is-layout-view .layout-view-surface.is-interactive {
  pointer-events: auto;
  cursor: default;
  touch-action: none;
}

.poster-hero.is-layout-view .layout-view-surface.is-iso-move-mode {
  cursor: grab;
}

.poster-hero.is-layout-view .layout-view-surface.is-iso-move-mode .iso-scene-tile-image {
  pointer-events: none;
  cursor: grab;
  filter: none;
}

.poster-hero.is-layout-view .layout-view-surface.is-iso-dragging,
.poster-hero.is-layout-view .layout-view-surface.is-iso-dragging .iso-scene-tile-image {
  cursor: grabbing;
}

.layout-view-surface::before {
  display: none;
}

.layout-view-surface::after {
  display: none;
}

.iso-scene-viewport {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: var(--iso-screen-width);
  height: var(--iso-screen-height);
  overflow: hidden;
  background: #fff;
  transform: translate(-50%, -50%) scale(var(--iso-screen-scale));
  transform-origin: center;
  contain: layout paint style;
  backface-visibility: hidden;
}

.iso-scene-world {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: var(--iso-background-opacity);
  transform: translate3d(0, 0, 0);
  contain: layout paint style;
  will-change: transform;
}

.iso-scene-cluster {
  position: absolute;
  width: 0;
  height: 0;
  transform: translate(-50%, -50%) scale(var(--iso-cluster-scale, 1));
  transform-origin: center;
}

.iso-scene-world.is-world-map {
  touch-action: none;
}

.iso-scene-cluster--world {
  transform-origin: center;
  will-change: transform;
  backface-visibility: hidden;
}

.iso-scene-tile-image,
.iso-scene-tile-video {
  position: absolute;
  width: var(--iso-tile-width);
  height: var(--iso-tile-height);
  display: block;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  cursor: zoom-in;
  backface-visibility: hidden;
  transform: translate3d(-50%, -50%, 0);
  will-change: auto;
  transition: opacity 120ms ease;
}

.iso-scene-tile-video {
  contain: paint;
}

.poster-hero.is-layout-view .iso-scene-tile-image,
.poster-hero.is-layout-view .iso-scene-tile-video {
  pointer-events: none;
  filter: none;
}

.poster-hero.is-layout-view .layout-view-surface.is-iso-move-mode .iso-scene-tile-video {
  filter: none;
}

.poster-hero.is-layout-view .layout-view-surface.is-iso-dragging .iso-scene-tile-image,
.poster-hero.is-layout-view .layout-view-surface.is-iso-dragging .iso-scene-tile-video {
  filter: none;
}

.poster-hero.is-layout-view .iso-scene-tile-image.is-alpha-hover,
.poster-hero.is-layout-view .iso-scene-tile-video.is-alpha-hover {
  filter: none;
}

.poster-hero.is-layout-view .layout-view-surface.is-iso-dragging .iso-scene-tile-image.is-alpha-hover,
.poster-hero.is-layout-view .layout-view-surface.is-iso-dragging .iso-scene-tile-video.is-alpha-hover {
  filter: none;
}

.iso-click-area {
  position: absolute;
  display: block;
  box-sizing: border-box;
  overflow: hidden;
  color: transparent;
  border: 3px solid rgba(217, 45, 32, 0.9);
  border-radius: 50%;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(217, 45, 32, 0.12) 0,
      rgba(217, 45, 32, 0.12) 8px,
      rgba(35, 229, 214, 0.12) 8px,
      rgba(35, 229, 214, 0.12) 16px
    );
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.92),
    0 0 22px rgba(217, 45, 32, 0.34);
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
}

.iso-move-button {
  position: absolute;
  right: 36px;
  bottom: 36px;
  z-index: 8;
  display: none;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 2px solid rgba(8, 9, 20, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(8, 9, 20, 0.14);
}

.poster-hero.is-layout-view .iso-move-button {
  display: inline-flex;
}

.iso-move-button svg {
  width: 36px;
  height: 36px;
}

.iso-move-button path {
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.iso-move-button:hover,
.iso-move-button[aria-pressed="true"] {
  border-color: var(--red);
  color: var(--red);
}

.view-toggle {
  position: absolute;
  top: 24px;
  right: var(--page-pad-inline);
  z-index: 12;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.view-toggle:hover,
.view-toggle:focus-visible {
  outline: none;
  transform: translateY(-1px);
}

.view-toggle-track {
  position: relative;
  width: 48px;
  height: 25px;
  border-radius: 999px;
  border: 1px solid rgba(8, 9, 20, 0.72);
  background: rgba(8, 9, 20, 0.08);
}

.view-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 2px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--ink);
  transition: transform 220ms ease;
}

.poster-hero.is-layout-view .view-toggle-thumb {
  transform: translateX(23px);
}

.poster-hero.is-layout-view .layout-view-surface {
  opacity: 1;
  pointer-events: auto;
  -webkit-mask-image: none;
  mask-image: none;
}

.poster-hero.is-layout-transition:not(.is-layout-view):not(.is-hidden-hover-reveal) .layout-view-surface {
  opacity: 0;
  transition: none;
}

.poster-hero.is-layout-view .center-white-box {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 1ms linear,
    visibility 0s,
    left 1140ms cubic-bezier(0.2, 0.8, 0.18, 1);
}

.poster-hero.is-layout-transition .center-white-box {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 1ms linear,
    visibility 0s,
    left 1140ms cubic-bezier(0.2, 0.8, 0.18, 1);
}

.poster-hero.is-layout-view .ferro-canvas,
.poster-hero.is-layout-view .poster-stage-image,
.poster-hero.is-layout-view .poster-credit {
  opacity: 0;
  pointer-events: none;
}

.poster-hero.is-layout-view .poster-stage-image {
  transform: translateY(18%);
}

.ghost-name {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr);
  align-items: center;
  gap: clamp(64px, 15vw, 260px);
  margin: 0;
  padding: 0 var(--page-pad-inline);
  color: transparent;
  -webkit-text-stroke: clamp(2px, 0.24vw, 4px) rgba(8, 9, 20, 0.13);
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(6.5rem, 24vw, 29rem);
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ghost-word {
  display: flex;
  pointer-events: none;
}

.ghost-letter {
  position: relative;
  display: inline-block;
  pointer-events: auto;
  color: transparent;
  transition:
    color 260ms ease,
    -webkit-text-stroke-color 260ms ease;
}

.ghost-letter:hover,
.ghost-letter.is-touched {
  color: rgba(8, 9, 20, 0.68);
  transition:
    color 420ms cubic-bezier(0.2, 0.8, 0.18, 1),
    -webkit-text-stroke-color 420ms cubic-bezier(0.2, 0.8, 0.18, 1);
  -webkit-text-stroke-color: rgba(8, 9, 20, 0.34);
}

.ghost-word:first-child {
  justify-self: start;
}

.ghost-word:last-child {
  justify-self: end;
}

.poster-stage {
  position: absolute;
  left: 50%;
  top: calc(45% + var(--stage-top-offset));
  z-index: 3;
  width: var(--stage-width);
  height: auto;
  max-width: 100%;
  max-height: 88svh;
  aspect-ratio: 1754 / 1240;
  translate: -50% -50%;
  scale: var(--stage-scale);
  transition:
    opacity 260ms ease,
    transform 260ms ease,
    left 640ms cubic-bezier(0.2, 0.8, 0.18, 1),
    translate 640ms cubic-bezier(0.2, 0.8, 0.18, 1),
    scale 640ms cubic-bezier(0.2, 0.8, 0.18, 1);
}

.poster-stage-image {
  left: 50%;
  width: 100%;
  height: auto;
  max-width: var(--stage-width);
  aspect-ratio: 1754 / 1240;
  transform: translate3d(0, 0, 0);
  will-change: transform, opacity;
  transition:
    opacity 320ms ease,
    left 1140ms cubic-bezier(0.2, 0.8, 0.18, 1),
    translate 1140ms cubic-bezier(0.2, 0.8, 0.18, 1),
    transform 1140ms cubic-bezier(0.2, 0.8, 0.18, 1);
}

.poster-stage-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--red);
  pointer-events: none;
  transform: translateY(5%);
  -webkit-mask-image: var(--artwork-mask);
  mask-image: var(--artwork-mask);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center bottom;
  mask-position: center bottom;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.poster-stage-image::after {
  content: none;
}

.side-panel-is-open .poster-stage-image {
  left: calc((100vw - var(--side-panel-width)) / 2);
  translate: -50% -50%;
  transform: translate3d(0, 0, 0);
}

.side-panel-is-open .center-white-box {
  left: calc((100vw - var(--side-panel-width)) / 2);
  translate: -50% -50%;
  transform: translate3d(0, 0, 0);
}

.back-artwork-deep,
.back-artwork,
.center-artwork {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
  transition: transform 280ms ease;
}

.back-artwork-deep {
  z-index: 0;
  transform: translateY(5%);
  object-fit: contain;
  object-position: center bottom;
}

.back-artwork {
  z-index: 2;
  transform: translateY(5%);
  object-fit: contain;
  object-position: center bottom;
}

.center-artwork {
  z-index: 3;
  transform: translateY(5%);
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
}

.poster-stage-image .back-artwork-deep,
.poster-stage-image .center-artwork {
  display: none;
}

.lens-shape-mask {
  pointer-events: none;
}

.eye-mask {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow: hidden;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.eye-mask-main {
  clip-path: ellipse(2.35% 1.15% at 46.95% 38.75%);
}

.image-eyes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  transform: translate(var(--eye-x), var(--eye-y));
  transition: transform 80ms ease-out;
}

.profile-art {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.red-body path {
  fill: var(--red);
  stroke: var(--ink);
  stroke-width: 4;
  stroke-linejoin: round;
}

.poster-fragment {
  stroke: var(--ink);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.poster-fragment path {
  fill: var(--paper);
}

.poster-fragment circle {
  fill: var(--paper);
}

.fragment-mask path {
  fill: #11121a;
}

.fragment-mask circle:first-of-type {
  fill: var(--gold);
}

.fragment-mask circle:last-of-type {
  fill: var(--pink);
}

.fragment-code path {
  fill: var(--blue);
}

.sketch-fragment path {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sketch-fragment image {
  filter: contrast(1.12) saturate(0.2);
  mix-blend-mode: multiply;
}

.fragment-code text {
  fill: var(--paper);
  stroke: none;
  font-family: IBM Plex Mono, monospace;
  font-size: 44px;
  font-weight: 700;
}

.fragment-train path:first-child {
  fill: var(--gold);
}

.fragment-train path:nth-child(2) {
  fill: var(--green);
}

.fragment-train circle,
.fragment-eye path {
  fill: var(--paper);
}

.fragment-eye circle {
  fill: var(--ink);
}

.inner-ribbon {
  fill: none;
  stroke: var(--paper);
  stroke-width: 36;
  stroke-linecap: round;
  opacity: 0.92;
}

.skin-base {
  fill: var(--skin);
  stroke: var(--ink);
  stroke-width: 4;
}

.hair-layer path {
  fill: var(--ink);
  stroke: var(--ink);
  stroke-width: 4;
  stroke-linejoin: round;
}

.profile-lines path,
.profile-lines circle {
  vector-effect: non-scaling-stroke;
}

.face-line,
.jaw-line,
.eye-line,
.nose-line,
.mouth-line,
.neck-line {
  fill: none;
  stroke: var(--ink);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eye-dot {
  fill: var(--ink);
}

.tracking-eye {
  transform: translate(var(--eye-x), var(--eye-y));
  transform-box: fill-box;
  transform-origin: center;
  transition: none;
}

.look-hotspot {
  cursor: pointer;
  outline: none;
}

.hit-area {
  fill: transparent;
  stroke: transparent;
  stroke-width: 18;
  pointer-events: all;
  transition:
    fill 70ms ease,
    stroke 70ms ease;
}

.look-label {
  opacity: 0;
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 5;
  paint-order: stroke;
  font-family: IBM Plex Mono, monospace;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 70ms ease,
    transform 70ms ease;
}

.look-hotspot:hover .hit-area,
.look-hotspot:focus-visible .hit-area {
  fill: rgba(255, 240, 212, 0.14);
  stroke: rgba(255, 240, 212, 0.74);
}

.look-hotspot:hover .look-label,
.look-hotspot:focus-visible .look-label {
  opacity: 1;
  transform: translateY(0);
}

.look-about:hover .hit-area,
.look-about:focus-visible .hit-area {
  fill: rgba(243, 192, 156, 0.18);
}

.look-work:hover .hit-area,
.look-work:focus-visible .hit-area {
  fill: rgba(29, 99, 208, 0.2);
}

.look-hobby:hover .hit-area,
.look-hobby:focus-visible .hit-area {
  fill: rgba(229, 175, 34, 0.2);
}

.stage-hotspot {
  position: absolute;
  z-index: 6;
  display: block;
  border: 2px solid transparent;
  border-radius: 8px;
  color: var(--paper);
  outline: none;
  background: transparent;
}

.stage-hotspot > span:not(.glasses-pass-zone) {
  display: none;
}

.stage-hotspot .glasses-pass-zone {
  position: absolute;
  left: -2%;
  top: 32%;
  z-index: 0;
  width: 69%;
  height: 32%;
  border-radius: 999px;
  pointer-events: auto;
}

.stage-hotspot:hover,
.stage-hotspot:focus-visible {
  border-color: transparent;
  background: transparent;
}

.stage-hotspot:hover > span:not(.glasses-pass-zone),
.stage-hotspot:focus-visible > span:not(.glasses-pass-zone) {
  display: none;
}

.poster-hero.is-layout-view .stage-hotspot,
.poster-hero.is-layout-view .stage-hotspot * {
  pointer-events: none;
}

.hotspot-about {
  left: 25.070276%;
  top: 26.191144%;
  z-index: 6;
  width: 8.87927%;
  height: 38.52576%;
  clip-path: none;
  border-radius: 50%;
}

.hotspot-work {
  left: 48.1824%;
  top: 24.1088%;
  z-index: 8;
  width: 16.464%;
  height: 38.416%;
  clip-path: none;
  border-radius: 50%;
}

.hotspot-hobby {
  left: 35.4304%;
  top: 25.3069%;
  z-index: 7;
  width: 11.424%;
  height: 34.4862%;
  clip-path: none;
  border-radius: 50%;
}

.poster-credit {
  position: absolute;
  left: var(--page-pad-inline);
  top: 24px;
  z-index: 8;
  margin: 0;
  color: rgba(8, 9, 20, 0.88);
  font-family: IBM Plex Mono, monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  transition: opacity 220ms ease;
}

.kicker {
  margin: 0 0 12px;
  font-family: IBM Plex Mono, monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.panel-shell {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 40;
  width: var(--side-panel-width);
  height: 100svh;
  display: block;
  padding: clamp(78px, 9vw, 120px) clamp(22px, 4vw, 54px) clamp(32px, 5vw, 64px);
  background: var(--paper);
  color: var(--ink);
  box-shadow: -18px 0 0 rgba(8, 9, 20, 0.18);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(105%);
  visibility: hidden;
  transition:
    transform 700ms cubic-bezier(0.2, 0.8, 0.18, 1),
    visibility 0s linear 700ms;
  scrollbar-width: none;
}

.panel-shell::-webkit-scrollbar {
  display: none;
}

.panel-shell.is-open {
  transform: translateX(0);
  visibility: visible;
  transition:
    transform 700ms cubic-bezier(0.2, 0.8, 0.18, 1),
    visibility 0s;
}

.panel-shell[data-active-panel="about"] {
  background: #0057ac;
  color: #fff;
}

.panel-shell[data-active-panel="about"] .content-panel,
.panel-shell[data-active-panel="about"] .content-panel *,
.panel-shell[data-active-panel="about"] .panel-close {
  color: #fff;
}

.panel-shell[data-active-panel="about"] .panel-close {
  border-color: #fff;
}

.panel-shell[data-active-panel="work"] {
  --work-left-col: 0px;
  --work-hover-band-left: 0px;
  --work-preview-left: 0px;
  background: #050506;
  color: var(--paper);
  box-shadow: -18px 0 0 rgba(161, 23, 55, 0.9);
}

.panel-shell[data-active-panel="hobby"] {
  background: #FFEDD0;
  color: #000;
}

.panel-shell[data-active-panel="hobby"] .content-panel.is-active {
  display: block;
  min-height: auto;
}

.panel-close {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.panel-close img {
  display: block;
  width: 100%;
  height: 100%;
  filter: brightness(0) invert(1);
  transform: translateY(-10%);
}

.panel-shell[data-active-panel="about"] .panel-close img {
  filter: brightness(0) invert(1);
}

.panel-shell[data-active-panel="hobby"] .panel-close img {
  filter: brightness(0);
}

.content-panel {
  display: none;
}

.content-panel.is-active {
  display: block;
}

.panel-shell:not([data-active-panel="work"]) .content-panel.is-active {
  display: grid;
  align-content: end;
  min-height: calc(100svh - clamp(78px, 9vw, 120px) - clamp(32px, 5vw, 64px));
}

.work-panel-intro {
  display: grid;
  align-content: start;
  min-height: auto;
  padding-bottom: clamp(28px, 5vw, 56px);
}

.work-panel-intro .panel-story {
  padding-bottom: 0;
}

.work-panel-intro + .work-showcase {
  margin-top: clamp(12px, 2.6vw, 28px);
}

.content-panel h2 {
  max-width: 520px;
  margin: 0 0 22px;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(3.5rem, 7vw, 7.2rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.content-panel p:not(.kicker) {
  max-width: 440px;
  margin: 0;
  font-size: clamp(1.08rem, 2vw, 1.55rem);
  font-weight: 900;
  line-height: 1.3;
}

.panel-shell[data-active-panel="about"] .about-lede {
  margin-top: clamp(14px, 4svh, 34px);
}

.panel-story {
  display: grid;
  gap: 22px;
  margin-top: clamp(28px, 5vw, 58px);
  padding-bottom: 18svh;
}

.panel-shell[data-active-panel="about"] .panel-story {
  gap: clamp(20px, 2.4vw, 30px);
  margin-top: clamp(24px, 3.4vw, 40px);
  padding-bottom: 12.5svh;
}

.panel-story p {
  max-width: 440px;
  margin: 0;
  font-size: clamp(1rem, 1.45vw, 1.28rem);
  font-weight: 800;
  line-height: 1.35;
}

.panel-notes {
  display: grid;
  gap: 10px;
  max-width: 480px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  font-family: IBM Plex Mono, monospace;
  font-size: clamp(0.78rem, 1vw, 0.95rem);
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}

.panel-notes li {
  padding-top: 10px;
  border-top: 1px solid currentColor;
}

.content-panel p.panel-copyright {
  width: min(100%, 480px);
  max-width: 480px;
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(0.76rem, 1.15vw, 0.95rem);
  font-weight: 500;
  line-height: 1;
  text-align: center;
  text-transform: none;
}

.panel-shell[data-active-panel="about"] .content-panel p.about-copyright {
  color: rgba(255, 255, 255, 0.46);
}

.about-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-self: start;
}

.about-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  width: fit-content;
  min-height: 34px;
  margin-top: 0;
  padding: 7px 12px 6px;
  border: 1.5px solid currentColor;
  border-radius: 0;
  font-family: IBM Plex Mono, monospace;
  font-size: clamp(0.76rem, 0.95vw, 0.9rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.about-linkedin:hover,
.about-linkedin:focus-visible {
  background: #fff;
  color: #0057ac;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(8, 9, 20, 0.64);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

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

.contact-modal-panel {
  position: relative;
  width: min(460px, 100%);
  padding: clamp(28px, 5vw, 42px);
  border: 2px solid #fff;
  background: #0057ac;
  color: #fff;
  box-shadow: 14px 14px 0 rgba(8, 9, 20, 0.3);
}

.contact-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-family: IBM Plex Mono, monospace;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.contact-close img {
  display: block;
  width: 100%;
  height: 100%;
  filter: brightness(0) invert(1);
  transform: translateY(-10%);
}

.contact-modal h2 {
  max-width: 360px;
  margin: 0 0 20px;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(3.4rem, 10vw, 5.2rem);
  font-weight: 400;
  line-height: 0.86;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  gap: 13px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-family: IBM Plex Mono, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1.5px solid currentColor;
  border-radius: 0;
  padding: 10px;
  background: transparent;
  color: inherit;
  font: 700 0.95rem/1.25 Inter, Arial, sans-serif;
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.contact-form .about-linkedin {
  margin-top: 4px;
  background: transparent;
  color: inherit;
}

.contact-status {
  min-height: 1.2em;
  margin: 0;
  font-family: IBM Plex Mono, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.contact-hidden {
  display: none;
}

.hobby-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 34px;
  margin-top: 18px;
  padding: 7px 12px 6px;
  border: 1.5px solid currentColor;
  border-radius: 0;
  font-family: IBM Plex Mono, monospace;
  font-size: clamp(0.76rem, 0.95vw, 0.9rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.hobby-instagram:hover,
.hobby-instagram:focus-visible {
  background: #050506;
  color: #FFEDD0;
}

.hobby-archive {
  padding: 0 0 clamp(42px, 8vw, 78px);
}

.panel-shell[data-active-panel="hobby"] .content-panel p.hobby-copyright {
  margin-top: clamp(42px, 8vw, 78px);
  color: rgba(0, 0, 0, 0.42);
}

.hobby-archive-header {
  display: grid;
  gap: 0;
  margin-bottom: clamp(20px, 4vw, 34px);
}

.hobby-archive h2 {
  max-width: 620px;
  margin-bottom: 22px;
  font-size: clamp(3.5rem, 6.25vw, 6.4rem);
  white-space: pre-line;
}

.hobby-archive h2 span {
  display: block;
  min-height: 0.86em;
}

.hobby-archive h2.is-flipping {
  contain: layout paint;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.content-panel p.hobby-deck {
  max-width: 440px;
}

.hobby-filters {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 20px);
  max-width: 520px;
  margin-top: clamp(30px, 6vw, 58px);
  padding-bottom: 8px;
  border-bottom: 1.5px solid currentColor;
  overflow-x: auto;
  scrollbar-width: none;
}

.hobby-filters::-webkit-scrollbar {
  display: none;
}

.hobby-filter {
  appearance: none;
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 4px 0 3px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-family: IBM Plex Mono, monospace;
  font-size: clamp(0.55rem, 0.79vw, 0.7rem);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
  cursor: pointer;
}

.hobby-filter.is-active {
  padding-inline: 12px;
  border: 1.5px solid currentColor;
  background: #050506;
  color: #FFEDD0;
}

.hobby-filter:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.hobby-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 14px);
  max-width: 100%;
  margin-top: 12px;
}

.hobby-card {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 1 / 1.08;
  padding: 0;
  border: 1.5px solid #050506;
  border-radius: 0;
  background: #fff8eb;
  color: #050506;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.hobby-card:hover {
  background: #fff;
  transform: translateY(-2px);
}

.hobby-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.04);
  transition:
    filter 240ms ease,
    transform 320ms cubic-bezier(0.2, 0.8, 0.18, 1);
}

.hobby-card:hover img {
  filter: saturate(1.04) contrast(1.06);
  transform: scale(1.035);
}

@media (max-width: 500px) and (pointer: coarse) {
  .panel-shell[data-active-panel="hobby"] .hobby-card,
  .panel-shell[data-active-panel="hobby"] .hobby-card img {
    transform: none !important;
  }
}

.hobby-card-copy {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 6px;
  min-height: 32px;
  padding: 6px 7px;
  border-top: 1.5px solid #050506;
  background: #FFEDD0;
  font-family: IBM Plex Mono, monospace;
  font-size: clamp(0.54rem, 0.7vw, 0.64rem);
  font-weight: 700;
  line-height: 1.05;
  text-align: left;
  text-transform: uppercase;
}

.hobby-card-copy span:last-child {
  text-align: right;
  opacity: 0.68;
}

.hobby-swatches {
  position: absolute;
  left: 6px;
  bottom: 33px;
  z-index: 2;
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1.5px solid #050506;
  background: rgba(255, 248, 235, 0.9);
}

.hobby-swatches span {
  width: 14px;
  aspect-ratio: 1;
  border: 1px solid #050506;
}

.hobby-swatches span:nth-child(1) {
  background: var(--red);
}

.hobby-swatches span:nth-child(2) {
  background: var(--cyan);
}

.hobby-swatches span:nth-child(3) {
  background: var(--gold);
}

.hobby-swatches span:nth-child(4) {
  background: #111;
}

.panel-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.panel-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  min-height: 78px;
  padding: 14px;
  border: 2px solid currentColor;
  border-radius: 8px;
  background: var(--red);
  color: var(--paper);
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.panel-item:hover {
  background: var(--gold);
  color: var(--ink);
}

.panel-item span {
  font-family: IBM Plex Mono, monospace;
  font-weight: 700;
}

.panel-item strong {
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(2rem, 3.8vw, 3.7rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.panel-shell[data-active-panel="work"] .panel-close {
  position: fixed;
  z-index: 70;
  color: var(--paper);
  mix-blend-mode: difference;
}

.work-showcase {
  position: relative;
  min-height: auto;
  overflow: hidden;
  isolation: isolate;
  background: transparent;
}

.work-showcase::-webkit-scrollbar {
  display: none;
}

.work-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.12;
  background:
    radial-gradient(circle at 14px 18px, rgba(8, 9, 20, 0.42) 1px, transparent 1.6px),
    linear-gradient(90deg, rgba(255, 240, 212, 0.14) 1px, transparent 1px);
  background-size: 29px 31px, 9px 9px;
  pointer-events: none;
}

.work-ghost {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  margin: 0;
  color: transparent;
  -webkit-text-stroke: clamp(2px, 0.22vw, 4px) rgba(8, 9, 20, 0.14);
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(10rem, 31vw, 36rem);
  line-height: 0.78;
  letter-spacing: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.work-grid {
  position: absolute;
  inset: clamp(28px, 4vw, 48px);
  z-index: 1;
  border: 1px solid rgba(8, 9, 20, 0.28);
  background:
    linear-gradient(90deg, transparent calc(20% - 1px), rgba(244, 33, 19, 0.72) calc(20% - 1px) 20%, transparent 20% calc(40% - 1px), rgba(244, 33, 19, 0.72) calc(40% - 1px) 40%, transparent 40% calc(60% - 1px), rgba(244, 33, 19, 0.72) calc(60% - 1px) 60%, transparent 60% calc(80% - 1px), rgba(244, 33, 19, 0.72) calc(80% - 1px) 80%, transparent 80%),
    linear-gradient(0deg, transparent calc(33.33% - 1px), rgba(8, 9, 20, 0.24) calc(33.33% - 1px) 33.33%, transparent 33.33% calc(66.66% - 1px), rgba(8, 9, 20, 0.24) calc(66.66% - 1px) 66.66%, transparent 66.66%),
    linear-gradient(90deg, #f2672f 0 20%, #958176 20% 40%, #f2672f 40% 60%, #958176 60% 80%, #f2672f 80% 100%);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.25);
  transform: translateX(6%);
  opacity: 0;
  transition:
    transform 720ms cubic-bezier(0.2, 0.8, 0.18, 1),
    opacity 520ms ease;
}

.panel-shell.is-open .content-panel.is-active .work-grid {
  transform: translateX(0);
  opacity: 1;
}

.work-kicker,
.work-showcase h2 {
  position: relative;
  z-index: 5;
  margin-left: clamp(36px, 6vw, 92px);
}

.work-kicker {
  padding-top: clamp(86px, 9vw, 128px);
  color: rgba(255, 240, 212, 0.78);
}

.work-showcase h2 {
  max-width: min(620px, 48vw);
  margin-top: 0;
  color: rgba(255, 240, 212, 0.96);
  mix-blend-mode: normal;
}

.archive-stack {
  position: absolute;
  inset: clamp(92px, 12vw, 150px) clamp(34px, 7vw, 112px) clamp(34px, 5vw, 70px);
  z-index: 4;
}

.archive-sheet {
  position: absolute;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
  padding: 14px;
  background: rgba(255, 248, 232, 0.94);
  color: var(--ink);
  box-shadow: 0 18px 28px rgba(8, 9, 20, 0.22);
  transform-origin: 50% 80%;
  transition:
    filter 240ms ease,
    opacity 240ms ease,
    transform 320ms cubic-bezier(0.2, 0.8, 0.18, 1),
    box-shadow 320ms ease;
}

.archive-sheet:hover,
.archive-sheet:focus-visible {
  z-index: 8;
  filter: saturate(1.04) contrast(1.05);
  opacity: 1;
  outline: 0;
  box-shadow: 0 26px 42px rgba(8, 9, 20, 0.3);
  transform: rotate(0deg) translateY(-18px) scale(1.04);
}

.archive-tag {
  font-family: IBM Plex Mono, monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.archive-preview {
  position: relative;
  display: block;
  min-height: 0;
  background: #f8f5ec;
  overflow: hidden;
}

.work-preview-image,
.project-artwork-image,
.project-artwork-video,
.project-artwork-embed {
  position: absolute;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.work-preview-image {
  inset: 0;
  border: 8px solid #f8f5ec;
}

.project-artwork-image,
.project-artwork-video,
.project-artwork-embed {
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.project-artwork-video {
  background: #050506;
  opacity: 1;
}

.project-artwork-embed {
  background: #050506;
  opacity: 1;
}

.work-preview-image.is-loaded,
.project-artwork-image.is-loaded {
  opacity: 1;
}

.project-artwork-video[hidden],
.project-artwork-embed[hidden] {
  display: none;
}

.archive-preview::before,
.archive-preview::after {
  content: "";
  position: absolute;
  inset: 0;
}

.archive-sheet strong {
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(2rem, 3.3vw, 4rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.archive-sheet-a {
  left: 7%;
  top: 9%;
  width: min(300px, 22vw);
  height: min(520px, 65svh);
  transform: rotate(-4deg);
}

.archive-sheet-b {
  left: 34%;
  top: 0;
  width: min(300px, 21vw);
  height: min(520px, 65svh);
  transform: rotate(3deg);
}

.archive-sheet-c {
  right: 4%;
  bottom: 4%;
  width: min(520px, 38vw);
  height: min(365px, 44svh);
  transform: rotate(-2deg);
}

.preview-collage::before {
  background:
    linear-gradient(90deg, rgba(244, 33, 19, 0.22) 0 1px, transparent 1px 33%, rgba(8, 9, 20, 0.14) 33% calc(33% + 1px), transparent calc(33% + 1px) 66%, rgba(8, 9, 20, 0.14) 66% calc(66% + 1px), transparent calc(66% + 1px)),
    linear-gradient(0deg, rgba(8, 9, 20, 0.12) 0 1px, transparent 1px 28%, rgba(8, 9, 20, 0.12) 28% calc(28% + 1px), transparent calc(28% + 1px) 56%, rgba(8, 9, 20, 0.12) 56% calc(56% + 1px), transparent calc(56% + 1px)),
    linear-gradient(135deg, rgba(29, 99, 208, 0.34), transparent 32%),
    linear-gradient(45deg, transparent 58%, rgba(244, 33, 19, 0.42) 58% 78%, transparent 78%),
    #f3efe5;
}

.preview-collage::after {
  inset: 10% 14%;
  background:
    linear-gradient(112deg, transparent 0 35%, rgba(8, 9, 20, 0.72) 35% 46%, transparent 46%),
    radial-gradient(circle at 72% 25%, rgba(244, 33, 19, 0.72) 0 12%, transparent 13%),
    radial-gradient(circle at 35% 70%, rgba(29, 99, 208, 0.48) 0 13%, transparent 14%);
  mix-blend-mode: multiply;
}

.preview-loki::before {
  background:
    radial-gradient(circle at 70% 18%, transparent 0 11%, rgba(8, 9, 20, 0.22) 12% 13%, transparent 14%),
    linear-gradient(90deg, rgba(117, 175, 66, 0.44) 0 28%, transparent 28% 100%),
    repeating-linear-gradient(0deg, rgba(8, 9, 20, 0.18) 0 1px, transparent 1px 13px),
    #f9f7f0;
}

.preview-loki::after {
  inset: 9% 16%;
  background:
    linear-gradient(70deg, transparent 0 45%, rgba(117, 175, 66, 0.68) 45% 58%, transparent 58%),
    radial-gradient(circle at 27% 58%, rgba(8, 9, 20, 0.48) 0 13%, transparent 14%),
    linear-gradient(90deg, transparent 0 67%, rgba(8, 9, 20, 0.18) 67% 100%);
}

.preview-map::before {
  background:
    linear-gradient(90deg, rgba(244, 33, 19, 0.16) 0 1px, transparent 1px 20%, rgba(29, 99, 208, 0.16) 20% calc(20% + 1px), transparent calc(20% + 1px) 40%, rgba(244, 33, 19, 0.16) 40% calc(40% + 1px), transparent calc(40% + 1px) 60%, rgba(29, 99, 208, 0.16) 60% calc(60% + 1px), transparent calc(60% + 1px) 80%, rgba(244, 33, 19, 0.16) 80% calc(80% + 1px), transparent calc(80% + 1px)),
    repeating-linear-gradient(0deg, rgba(8, 9, 20, 0.16) 0 1px, transparent 1px 18px),
    #fbf8ef;
}

.preview-map::after {
  inset: 14% 12%;
  background:
    radial-gradient(circle at 50% 42%, rgba(29, 99, 208, 0.45) 0 18%, transparent 19%),
    radial-gradient(circle at 38% 55%, rgba(244, 33, 19, 0.42) 0 15%, transparent 16%),
    radial-gradient(circle at 62% 56%, rgba(229, 175, 34, 0.56) 0 17%, transparent 18%),
    linear-gradient(120deg, transparent 0 40%, rgba(8, 9, 20, 0.28) 40% 42%, transparent 42%);
  mix-blend-mode: multiply;
}

.work-directory {
  position: relative;
  min-height: auto;
  padding: 0 0 clamp(40px, 6vw, 72px);
  background: transparent;
  color: #f5f2ea;
}

.panel-shell[data-active-panel="work"] .content-panel p.work-copyright {
  position: relative;
  z-index: 4;
  margin-top: clamp(42px, 6vw, 72px);
  color: rgba(245, 242, 234, 0.38);
}

.work-directory::before {
  opacity: 0.08;
  mix-blend-mode: screen;
}

.work-directory .work-ghost {
  left: 0;
  top: auto;
  bottom: -0.12em;
  z-index: 0;
  width: 100%;
  color: rgba(244, 33, 19, 0.12);
  -webkit-text-stroke: 0;
  font-size: clamp(8rem, 21vw, 24rem);
  line-height: 0.75;
  transform: none;
  white-space: nowrap;
}

.work-directory .work-kicker {
  position: relative;
  z-index: 4;
  width: auto;
  margin: 0 0 clamp(18px, 2vw, 24px);
  padding: 0;
  color: #f5f2ea;
  font-size: clamp(1.44rem, 2.56vw, 3.2rem);
  font-family: Inter, system-ui, sans-serif;
  font-weight: 900;
  line-height: 0.92;
  text-transform: none;
  transform: none;
}

.work-directory h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.work-index {
  position: relative;
  z-index: 3;
  margin-left: 0;
  margin-top: 0;
  border-top: 1px solid rgba(245, 242, 234, 0.16);
  transition: transform 620ms cubic-bezier(0.2, 0.8, 0.18, 1);
}

.project-detail-is-open .work-index {
  transform: none;
}

.project-detail-is-open .work-row-year {
  opacity: 0;
  transform: translateX(18px);
}

.work-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(72px, auto);
  align-items: baseline;
  gap: clamp(18px, 3vw, 46px);
  padding: clamp(7px, 0.8vw, 12px) 0;
  border-bottom: 1px solid rgba(245, 242, 234, 0.16);
  color: rgba(245, 242, 234, 0.88);
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.work-row::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
  background: var(--red);
  opacity: 0;
  transform: scaleY(0.2);
  transform-origin: 50% 50%;
  transition:
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.2, 0.8, 0.18, 1);
}

.work-row:hover,
.work-row:focus-visible,
.work-row.is-selected {
  color: #050506;
  outline: 0;
  transform: none;
}

.work-row:hover::before,
.work-row:focus-visible::before,
.work-row.is-selected::before {
  opacity: 1;
  transform: scaleY(1);
}

.work-row-type,
.work-row-year {
  font-family: IBM Plex Mono, monospace;
  font-size: clamp(0.68rem, 1vw, 0.86rem);
  font-weight: 700;
  text-transform: uppercase;
}

.work-row-type {
  display: none;
}

.work-row strong {
  font-family: Inter, system-ui, sans-serif;
  font-size: var(--work-title-size);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
  text-transform: none;
}

.work-row strong.is-flipping,
.work-row-year.is-flipping,
.work-kicker.is-flipping {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}

.work-row-year {
  justify-self: end;
  font-size: var(--work-year-size);
  line-height: 0.9;
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.work-preview {
  position: absolute;
  left: var(--preview-x);
  top: var(--preview-y);
  z-index: 45;
  width: clamp(96px, 10.91vw, 177px);
  height: clamp(116px, 15.02vw, 246px);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-1.5deg) scale(0.92);
  box-shadow: 0 24px 42px rgba(0, 0, 0, 0.42);
  transition:
    opacity 150ms ease,
    transform 200ms cubic-bezier(0.2, 0.8, 0.18, 1);
}

.work-preview.is-landscape {
  width: clamp(129px, 14.48vw, 240px);
  height: clamp(97px, 11.1vw, 185px);
}

.work-preview.is-square {
  width: clamp(116px, 12.62vw, 210px);
  height: clamp(116px, 12.62vw, 210px);
}

.work-preview.is-portrait {
  width: clamp(96px, 10.91vw, 177px);
  height: clamp(116px, 15.02vw, 246px);
}

.work-preview.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(-1.5deg) scale(1);
}

.work-preview .archive-preview {
  position: absolute;
  inset: 0;
  border: 8px solid #f8f5ec;
  opacity: 0;
}

.work-preview .archive-preview.is-active {
  opacity: 1;
}

.work-preview:has(.work-preview-image.is-loaded) .archive-preview {
  opacity: 0;
}

.work-preview [data-preview-image="magic"] {
  width: 142%;
  height: 74%;
  left: -21%;
  top: 13%;
}

.project-detail {
  position: fixed;
  inset: 0 var(--side-panel-width) 0 0;
  z-index: 65;
  display: grid;
  align-content: start;
  gap: clamp(24px, 3.2vw, 46px);
  width: auto;
  height: 100svh;
  padding: clamp(72px, 7.2vw, 103px) clamp(22px, 4vw, 54px) clamp(32px, 5vw, 64px);
  background: #f5f2ea;
  color: #050506;
  box-shadow: 18px 0 28px rgba(5, 5, 6, 0.18);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(-105%);
  visibility: hidden;
  transition:
    transform 589ms cubic-bezier(0.2, 0.8, 0.18, 1),
    visibility 0s linear 589ms;
  scrollbar-width: none;
  pointer-events: none;
}

.project-detail::-webkit-scrollbar {
  display: none;
}

.project-detail.is-open {
  transform: translateX(0);
  visibility: visible;
  transition:
    transform 589ms cubic-bezier(0.2, 0.8, 0.18, 1),
    visibility 0s;
  pointer-events: auto;
}

.project-actions {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: clamp(10px, 1.4vw, 18px);
  padding-right: clamp(14px, 2vw, 30px);
  transform: translateY(-5%);
}

.project-back {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  transform: translateY(-5%);
}

.project-back {
  width: clamp(140px, 14vw, 182px);
  transform: translate(30%, -10%);
}

.project-back img {
  display: block;
  width: 24.5%;
  height: auto;
  margin: 0 auto;
  transform: translateY(-10%);
}

.project-back:hover,
.project-back:focus-visible {
  outline: 0;
  opacity: 0.88;
}

.project-artwork {
  position: relative;
  min-height: clamp(372px, 57.2svh, 658px);
  border: 0;
  background: transparent;
  overflow: hidden;
  transition: min-height 260ms ease;
  transform: translateY(-5%);
  cursor: zoom-in;
}

.project-artwork.has-video {
  cursor: default;
}

.project-artwork.is-landscape {
  min-height: clamp(510px, 78.1svh, 871px);
  transform: translateY(-5%);
}

.project-artwork.is-portrait {
  min-height: clamp(510px, 78.1svh, 871px);
  transform: translateY(-12%);
}

.project-artwork.is-square {
  min-height: clamp(486px, 74.36svh, 829px);
}

.project-artwork .archive-preview {
  display: none;
}

.project-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(33px, 3.6vw, 47px);
  height: clamp(33px, 3.6vw, 47px);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.project-gallery-arrow[hidden] {
  display: none;
}

.project-gallery-arrow--prev {
  left: clamp(6px, 1.92vw, 26px);
}

.project-gallery-arrow--next {
  right: clamp(6px, 1.92vw, 26px);
}

.project-gallery-arrow span {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  background: url("assets/gallery-arrow-right.svg") center / contain no-repeat;
}

.project-gallery-arrow--prev span {
  transform: rotate(180deg);
}

.project-gallery-arrow:hover,
.project-gallery-arrow:focus-visible {
  outline: 0;
  transform: translateY(-50%) scale(1.06);
  opacity: 0.78;
}

.project-switch-row {
  display: flex;
  justify-content: flex-end;
  width: clamp(96px, 9.2vw, 115px);
  margin-top: clamp(-6px, -0.5vw, -2px);
  padding-right: clamp(14px, 2vw, 30px);
  transform: translateY(0);
}

.project-switch-row[hidden] {
  display: none;
}

.project-display-switch {
  appearance: none;
  display: block;
  width: clamp(96px, 9.2vw, 115px);
  height: clamp(36px, 3.42vw, 42px);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.project-display-switch-track {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border: 2px solid #050506;
  border-radius: 999px;
  background: transparent;
  transition:
    background 180ms ease,
    border-color 180ms ease;
}

.project-display-switch-track::before {
  content: "video";
  position: absolute;
  right: 10.8px;
  top: 50%;
  color: #050506;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  text-transform: lowercase;
  transform: translateY(-50%);
  transition:
    color 180ms ease,
    left 180ms ease,
    right 180ms ease;
}

.project-display-switch-track::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 50%;
  width: clamp(27px, 2.56vw, 30px);
  height: clamp(27px, 2.56vw, 30px);
  border-radius: 50%;
  background: #050506;
  transform: translateY(-50%);
  transition:
    left 180ms ease,
    transform 180ms ease;
}

.project-switch-row.is-on .project-display-switch-track {
  border-color: #050506;
  background: transparent;
}

.project-switch-row.is-on .project-display-switch-track::before {
  content: "image";
  left: 10.8px;
  right: auto;
  color: #050506;
}

.project-switch-row.is-on .project-display-switch-track::after {
  left: calc(100% - clamp(27px, 2.56vw, 30px) - 3px);
  transform: translateY(-50%);
  background: #050506;
}

.project-switch-row.is-disabled {
  opacity: 0.35;
}

.project-display-switch:disabled {
  cursor: default;
}

.image-zoom {
  appearance: none;
  -webkit-appearance: none;
  position: fixed;
  inset: -96px;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 64px);
  border: 0;
  border-radius: 0;
  background: rgba(5, 5, 6, 0.86);
  box-shadow: none;
  cursor: zoom-out;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  overflow: hidden;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    opacity 220ms ease,
    visibility 0s linear 220ms;
}

.image-zoom:focus,
.image-zoom:focus-visible,
.image-zoom:active {
  border-color: transparent;
  box-shadow: none;
  outline: 0 !important;
}

.image-zoom::-moz-focus-inner {
  border: 0;
}

.image-zoom.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition:
    opacity 220ms ease,
    visibility 0s;
}

.image-zoom.is-hidden-layout-zoom {
  border: 0 !important;
  outline: 0 !important;
  background: rgba(5, 5, 6, 0.96);
  box-shadow: none !important;
}

.image-zoom.is-video.is-hidden-layout-zoom,
.image-zoom.is-video.is-hidden-layout-zoom:focus,
.image-zoom.is-video.is-hidden-layout-zoom:focus-visible,
.image-zoom.is-video.is-hidden-layout-zoom:active {
  background: rgba(5, 5, 6, 0.82);
  backdrop-filter: none;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.image-zoom.is-video.is-hidden-layout-zoom::before,
.image-zoom.is-video.is-hidden-layout-zoom::after {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  content: none !important;
}

.image-zoom img,
.image-zoom-video {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 1;
  display: block;
  width: min(98.4vw, 1344px);
  height: min(91.2svh, 912px);
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  box-shadow: none;
  cursor: zoom-in;
  transform-origin: center;
  transform: translate(-50%, -50%);
  user-select: none;
  transition: transform 140ms ease;
  backface-visibility: hidden;
  image-rendering: auto;
  will-change: auto;
}

.image-zoom-video {
  cursor: zoom-out;
}

.image-zoom.is-hidden-layout-zoom img,
.image-zoom.is-hidden-layout-zoom .image-zoom-video {
  border: 0 !important;
  width: min(99.63vw, 1361px);
  height: min(92.34svh, 923px);
  max-width: min(99.63vw, 1361px);
  max-height: min(92.34svh, 923px);
  outline: 0 !important;
  box-shadow: none !important;
}

.image-zoom.is-video.is-hidden-layout-zoom .image-zoom-video {
  border: 0 !important;
  background: transparent;
  outline: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
  mask-composite: intersect;
  clip-path: inset(1px);
}

.image-zoom-video[hidden] {
  display: none;
}

.image-zoom img[hidden] {
  display: none !important;
}

.image-zoom.is-video .zoom-controls {
  display: none;
}

.image-zoom-title {
  position: fixed;
  left: clamp(18px, 3vw, 40px);
  top: clamp(18px, 3vw, 40px);
  z-index: 2;
  max-width: min(760px, calc(100vw - 36px));
  color: var(--paper);
  font-family: IBM Plex Mono, monospace;
  font-size: clamp(13px, 1.25vw, 18px);
  font-weight: 900;
  line-height: 1.1;
  text-align: left;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.78);
  pointer-events: none;
}

.image-zoom.is-zoomed {
  cursor: grab;
}

.image-zoom.is-zoomed img {
  cursor: grab;
  transition-duration: 80ms;
}

.image-zoom.is-dragging,
.image-zoom.is-dragging img {
  cursor: grabbing;
  transition: none;
}

.zoom-controls {
  position: fixed;
  right: clamp(18px, 3vw, 40px);
  bottom: clamp(18px, 3vw, 40px);
  z-index: 2;
  display: flex;
  gap: 8px;
  padding: 6px;
  background: rgba(5, 5, 6, 0.72);
  border: 1px solid rgba(255, 240, 212, 0.62);
  backdrop-filter: blur(10px);
}

.zoom-control {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255, 240, 212, 0.55);
  color: var(--paper);
  font-family: IBM Plex Mono, monospace;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.zoom-control:hover,
.zoom-control:focus-visible {
  background: var(--paper);
  border-color: var(--paper);
  color: #050506;
  outline: 0;
}

@media (max-width: 1366px) and (pointer: coarse) {
  .image-zoom .zoom-controls {
    display: none !important;
  }
}

.project-copy {
  display: grid;
  align-content: end;
  gap: clamp(18px, 2.4vw, 34px);
  max-width: min(100%, 860px);
  justify-items: start;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0;
  font-family: IBM Plex Mono, monospace;
  font-size: clamp(0.78rem, 1.1vw, 1rem);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.project-detail h3 {
  margin: 0;
  font-family: Anton, Impact, sans-serif;
  max-width: 100%;
  font-size: clamp(2.75rem, 5.8vw, 6.35rem);
  font-weight: 400;
  line-height: 0.89;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.project-copy p:not(.project-meta) {
  max-width: min(100%, 820px);
  margin: 0;
  font-size: clamp(1rem, 1.45vw, 1.32rem);
  font-weight: 900;
  line-height: 1.4;
  text-align: left;
  text-wrap: pretty;
}

.project-copy p:not(.project-meta) a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}

.project-copy p:not(.project-meta) a:hover,
.project-copy p:not(.project-meta) a:focus-visible {
  color: var(--red);
  outline: 0;
}

.project-more {
  display: grid;
  gap: clamp(18px, 2.2vw, 30px);
  max-width: min(100%, 820px);
  padding: clamp(8px, 1vw, 16px) 0 clamp(44px, 7vw, 92px);
}

.project-more dl {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.project-more div {
  display: grid;
  grid-template-columns: minmax(82px, 0.32fr) minmax(0, 1fr);
  gap: 18px;
  padding-top: 12px;
  border-top: 2px solid rgba(5, 5, 6, 0.18);
}

.project-more div[hidden] {
  display: none !important;
}

.project-more dt,
.project-more dd {
  margin: 0;
  font-family: IBM Plex Mono, monospace;
  font-size: clamp(0.78rem, 1.05vw, 0.98rem);
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}

.project-more dd {
  text-transform: none;
}

.project-more dd a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}

.project-more dd a:hover,
.project-more dd a:focus-visible {
  color: var(--red);
  outline: 0;
}

.work-mosaic {
  min-height: 230svh;
  padding: clamp(64px, 7vw, 94px) clamp(10px, 1.8vw, 26px) clamp(12px, 2vw, 28px);
  background: var(--red);
  color: #f5f2ea;
}

.work-mosaic::before {
  opacity: 0.06;
  mix-blend-mode: screen;
}

.work-mosaic .work-ghost {
  left: 50%;
  top: 50%;
  z-index: 0;
  color: transparent;
  -webkit-text-stroke: 2px rgba(8, 9, 20, 0.16);
  font-size: clamp(7rem, 22vw, 25rem);
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.mosaic-header {
  position: sticky;
  left: clamp(14px, 2vw, 28px);
  top: clamp(74px, 8vw, 112px);
  z-index: 7;
  display: grid;
  gap: 4px;
  pointer-events: none;
}

.work-mosaic .work-kicker {
  margin: 0;
  padding: 0;
  color: rgba(245, 242, 234, 0.78);
}

.work-mosaic h2 {
  margin: 0;
  color: #f5f2ea;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 4.7rem);
  font-weight: 900;
  line-height: 0.9;
  text-transform: none;
}

.mosaic-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.92fr);
  grid-auto-rows: minmax(120px, 24svh);
  gap: clamp(10px, 1.3vw, 18px);
  min-height: 204svh;
  padding-top: clamp(18px, 5vw, 72px);
  padding-bottom: clamp(72px, 12vw, 150px);
}

.mosaic-card {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #111;
  color: #f5f2ea;
  isolation: isolate;
  transform: translateY(var(--work-shift-a));
  transition:
    transform 420ms cubic-bezier(0.2, 0.8, 0.18, 1);
}

.mosaic-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(5, 5, 6, 0.08), rgba(5, 5, 6, 0.72)),
    radial-gradient(circle at 50% 50%, transparent 0 54%, rgba(5, 5, 6, 0.32) 100%);
  opacity: 0.86;
  transition: opacity 220ms ease;
}

.mosaic-card .archive-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: scale(1.04);
  filter: saturate(0.86) contrast(1.06) brightness(0.74);
  transition:
    filter 360ms ease,
    transform 520ms cubic-bezier(0.2, 0.8, 0.18, 1);
}

.mosaic-card:hover .archive-preview,
.mosaic-card:focus-visible .archive-preview {
  transform: scale(1.11);
  filter: saturate(1.08) contrast(1.08) brightness(0.98);
}

.mosaic-card:hover::after,
.mosaic-card:focus-visible::after {
  opacity: 0.42;
}

.mosaic-card:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: -2px;
}

.mosaic-caption {
  position: absolute;
  left: clamp(14px, 2vw, 28px);
  right: clamp(14px, 2vw, 28px);
  bottom: clamp(14px, 2vw, 28px);
  z-index: 4;
  display: grid;
  gap: 4px;
  transform: translateY(14px);
  opacity: 0;
  transition:
    opacity 220ms ease,
    transform 260ms cubic-bezier(0.2, 0.8, 0.18, 1);
}

.mosaic-card:hover .mosaic-caption,
.mosaic-card:focus-visible .mosaic-caption {
  opacity: 1;
  transform: translateY(0);
}

.mosaic-caption span {
  font-family: IBM Plex Mono, monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.mosaic-caption strong {
  max-width: 13ch;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(2.1rem, 4.6vw, 5rem);
  font-weight: 900;
  line-height: 0.9;
}

.mosaic-card-a {
  grid-column: 1 / 2;
  grid-row: 1 / span 2;
}

.mosaic-card-b {
  grid-column: 2 / 3;
  grid-row: 1 / span 1;
  transform: translateY(var(--work-shift-b));
}

.mosaic-card-c {
  grid-column: 1 / 2;
  grid-row: 3 / span 1;
  transform: translateY(var(--work-shift-c));
}

.mosaic-card-c .archive-preview {
  transform: scale(1.25);
}

.mosaic-card-c:hover .archive-preview,
.mosaic-card-c:focus-visible .archive-preview {
  transform: scale(1.32);
}

.mosaic-card-d {
  grid-column: 2 / 3;
  grid-row: 2 / span 2;
  transform: translateY(var(--work-shift-d));
}

.work-silhouette {
  position: absolute;
  left: 50%;
  bottom: clamp(28px, 4vw, 48px);
  z-index: 4;
  width: min(390px, 31vw);
  height: min(760px, 78svh);
  background: var(--paper);
  clip-path: polygon(
    42% 0,
    56% 0,
    64% 5%,
    66% 14%,
    60% 23%,
    59% 30%,
    72% 34%,
    84% 43%,
    89% 62%,
    96% 67%,
    89% 72%,
    83% 88%,
    73% 98%,
    27% 98%,
    30% 88%,
    24% 77%,
    20% 60%,
    20% 47%,
    23% 38%,
    34% 31%,
    41% 28%,
    43% 17%,
    38% 8%
  );
  transform: translate(-50%, 8%) scale(0.96);
  opacity: 0;
  transition:
    transform 820ms cubic-bezier(0.2, 0.8, 0.18, 1),
    opacity 620ms ease;
}

.panel-shell.is-open .content-panel.is-active .work-silhouette {
  transform: translate(-50%, 0) scale(1);
  opacity: 1;
}

.work-projects {
  position: absolute;
  inset: clamp(28px, 4vw, 48px);
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
}

.work-tile {
  position: relative;
  display: grid;
  align-content: end;
  min-width: 0;
  min-height: 0;
  padding: clamp(12px, 2vw, 24px);
  color: var(--paper);
  overflow: hidden;
  opacity: 0.12;
  transition:
    opacity 220ms ease,
    background 220ms ease,
    color 220ms ease,
    transform 220ms ease;
}

.work-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 240, 212, 0.94) 0 8%, transparent 9%),
    linear-gradient(135deg, rgba(8, 9, 20, 0.88), rgba(244, 33, 19, 0.72));
  transition: opacity 220ms ease;
}

.work-tile:hover,
.work-tile:focus-visible {
  opacity: 1;
  color: var(--paper);
  transform: translateY(-4px);
  outline: 0;
}

.work-tile:hover::before,
.work-tile:focus-visible::before {
  opacity: 1;
}

.work-tile span {
  font-family: IBM Plex Mono, monospace;
  font-size: 11px;
  font-weight: 700;
}

.work-tile strong {
  max-width: 12ch;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(2.2rem, 4vw, 4.8rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
}

.work-tile-a {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.work-tile-b {
  grid-column: 4 / 5;
  grid-row: 1 / 2;
}

.work-tile-c {
  grid-column: 2 / 3;
  grid-row: 3 / 4;
}

.work-tile-d {
  grid-column: 5 / 6;
  grid-row: 3 / 4;
}

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

}

@media (min-width: 821px) and (pointer: fine) {
  :root {
    --page-pad-inline: clamp(22px, 3vw, 72px);
    --stage-width: min(1373px, 96vw, calc((100svh - 36px) * 1.4145));
    --stage-top-offset: clamp(84px, 13svh, 150px);
    --side-panel-width: clamp(390px, 42vw, 680px);
    --work-left-col: clamp(180px, 32vw, 560px);
    --work-hover-band-left: clamp(-560px, -32vw, -180px);
    --work-preview-left: clamp(84px, 16vw, 280px);
  }

  .poster-stage {
    max-width: 96vw;
    max-height: calc(100svh - 36px);
  }

  .panel-shell {
    padding:
      clamp(64px, 8svh, 120px)
      clamp(22px, 3.4vw, 58px)
      clamp(28px, 5svh, 64px);
  }

  .panel-shell:not([data-active-panel="work"]) .content-panel.is-active {
    min-height: calc(100svh - clamp(64px, 8svh, 120px) - clamp(28px, 5svh, 64px));
  }
}

@media (max-height: 760px) and (min-width: 821px) and (pointer: fine) {
  :root {
    --stage-width: min(984px, 86vw, calc((100svh - 34px) * 1.4145));
    --stage-top-offset: clamp(48px, 9svh, 86px);
    --side-panel-width: clamp(360px, 39vw, 560px);
    --work-title-size: clamp(0.68rem, 1.39vw, 1.62rem);
    --work-year-size: clamp(0.73rem, 1.2vw, 1.41rem);
  }

  .work-directory {
    padding-top: 78px;
  }

  .work-row {
    padding: clamp(5px, 0.62vw, 9px) 0;
  }
}

@media (max-height: 620px) and (min-width: 821px) and (pointer: fine) {
  :root {
    --stage-width: min(828px, 79vw, calc((100svh - 30px) * 1.4145));
    --stage-top-offset: clamp(30px, 7svh, 54px);
    --side-panel-width: clamp(330px, 37vw, 500px);
    --work-left-col: clamp(150px, 29vw, 440px);
    --work-hover-band-left: clamp(-440px, -29vw, -150px);
    --work-preview-left: clamp(78px, 15vw, 220px);
    --work-title-size: clamp(0.6rem, 1.22vw, 1.32rem);
    --work-year-size: clamp(0.62rem, 1.04vw, 1.23rem);
  }

  .work-directory {
    padding-top: 64px;
  }
}

@media (min-width: 1500px) and (min-height: 850px) and (pointer: fine) {
  :root {
    --stage-width: min(1500px, 88vw, calc(92svh * 1.4145));
    --stage-top-offset: clamp(120px, 14svh, 176px);
    --side-panel-width: clamp(560px, 38vw, 760px);
    --work-left-col: clamp(280px, 34vw, 640px);
    --work-hover-band-left: clamp(-640px, -34vw, -280px);
    --work-preview-left: clamp(150px, 18vw, 340px);
    --work-title-size: clamp(1.03rem, 1.5vw, 2.13rem);
    --work-year-size: clamp(0.95rem, 1.29vw, 1.86rem);
  }
}

@media (min-width: 821px) and (max-width: 1366px) and (pointer: coarse) {
  :root {
    --stage-width: min(138vw, 1895px, calc(133.58svh * 1.4145));
    --work-title-size: clamp(1.38rem, 2.24vw, 2.05rem);
    --work-year-size: clamp(1.05rem, 1.68vw, 1.44rem);
  }

  body.is-locked {
    cursor: auto;
  }

  .poster-hero {
    touch-action: none;
  }

  .poster-stage {
    left: 50%;
    width: var(--stage-width);
    max-width: none;
  }

  .poster-stage-image {
    width: var(--stage-width);
    max-width: none;
  }

  .center-white-box {
    width: min(calc(var(--stage-width) * 0.3213), 398px);
  }

  .side-panel-is-open .poster-stage-image,
  .side-panel-is-open .center-white-box {
    left: calc((100vw - var(--side-panel-width)) / 2 + 3vw);
  }

  .work-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(18px, 2.6vw, 36px);
    padding: clamp(12px, 1.32vw, 19px) 0;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
  }

  .work-row strong {
    line-height: 1.02;
    letter-spacing: 0;
  }

  .work-row-year {
    align-self: center;
    line-height: 1;
  }

  .project-detail {
    gap: 26px;
  }

  .project-back {
    width: clamp(64px, 6.4vw, 88px);
    transform: translateX(63%);
  }

  .project-back img {
    width: clamp(28px, 3.2vw, 42px);
    transform: none;
  }

  .project-artwork,
  .project-artwork.is-landscape,
  .project-artwork.is-portrait,
  .project-artwork.is-square {
    min-height: 62.92svh;
  }

  .project-switch-row {
    margin-top: clamp(-64px, -5svh, -44px);
  }

  .project-copy {
    margin-top: clamp(-24px, -2svh, -14px);
  }

  .project-display-switch-track::before {
    right: 6.3px;
    font-size: 0.627rem;
  }

  .project-switch-row.is-on .project-display-switch-track::before {
    left: 5.4px;
  }

  .hotspot-hobby {
    left: 37.143%;
    top: 30.48%;
    width: 7.997%;
    height: 24.14%;
  }

}

@media (min-width: 821px) and (max-width: 1366px) and (pointer: coarse) and (orientation: portrait) {
  .hotspot-about {
    left: 14%;
    top: 18%;
    z-index: 10;
    width: 23%;
    height: 55%;
  }
}

@media (min-width: 821px) and (max-width: 1366px) and (min-height: 700px) and (pointer: coarse) and (orientation: landscape) {
  :root {
    --page-pad-inline: clamp(22px, 3vw, 72px);
    --stage-width: min(1373px, 96vw, calc((100svh - 36px) * 1.4145));
    --stage-top-offset: clamp(84px, 13svh, 150px);
    --side-panel-width: clamp(390px, 42vw, 680px);
    --work-left-col: clamp(180px, 32vw, 560px);
    --work-hover-band-left: clamp(-560px, -32vw, -180px);
    --work-preview-left: clamp(84px, 16vw, 280px);
    --work-title-size: clamp(1.28rem, 2.08vw, 2.44rem);
    --work-year-size: clamp(1.135rem, 1.548vw, 1.754rem);
  }

  .hotspot-about {
    left: 5.5%;
    top: 15%;
    z-index: 10;
    width: 28.5%;
    height: 62%;
  }

  .center-white-box {
    width: min(calc(var(--stage-width) * 0.389025), 419px);
  }

  .poster-stage {
    max-width: 96vw;
    max-height: calc(100svh - 36px);
  }

  .poster-stage-image {
    max-width: var(--stage-width);
  }

  .side-panel-is-open .poster-stage-image,
  .side-panel-is-open .center-white-box {
    left: calc((100vw - var(--side-panel-width)) / 2 + 3vw);
  }

  .work-directory .work-kicker {
    font-size: clamp(1.728rem, 3.072vw, 3.84rem);
  }
}

@media (min-width: 1190px) and (max-width: 1366px) and (min-height: 700px) and (pointer: coarse) and (orientation: landscape) {
  .center-white-box {
    top: calc(40% + var(--stage-top-offset) + (var(--stage-width) * 0.0566));
  }
}

@media (min-width: 821px) and (max-width: 1366px) and (max-height: 760px) and (pointer: coarse) and (orientation: landscape) {
  :root {
    --stage-width: min(984px, 86vw, calc((100svh - 34px) * 1.4145));
    --stage-top-offset: clamp(48px, 9svh, 86px);
    --side-panel-width: clamp(360px, 39vw, 560px);
  }
}

@media (min-width: 821px) and (max-width: 1366px) and (max-height: 620px) and (pointer: coarse) and (orientation: landscape) {
  :root {
    --stage-width: min(828px, 79vw, calc((100svh - 30px) * 1.4145));
    --stage-top-offset: clamp(30px, 7svh, 54px);
    --side-panel-width: clamp(330px, 37vw, 500px);
  }
}

@media (min-width: 501px) and (max-width: 1366px) and (pointer: coarse) {
  .stage-hotspot,
  .stage-hotspot * {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
  }

  .image-zoom {
    padding: clamp(36px, 6vw, 82px);
  }

  .image-zoom img,
  .image-zoom-video {
    width: min(calc(100vw - 72px), 94vw, 1536px);
    height: min(calc(100svh - 128px), 86svh, 1080px);
    max-width: min(calc(100vw - 72px), 94vw, 1536px);
    max-height: min(calc(100svh - 128px), 86svh, 1080px);
    image-rendering: auto;
  }

  .image-zoom.is-hidden-layout-zoom img,
  .image-zoom.is-hidden-layout-zoom .image-zoom-video {
    width: min(calc(100vw - 112px), 71.28vw, 875px);
    height: min(calc(100svh - 164px), 66.42svh, 778px);
    max-width: min(calc(100vw - 112px), 71.28vw, 875px);
    max-height: min(calc(100svh - 164px), 66.42svh, 778px);
  }

  .project-artwork.has-video .project-artwork-video,
  .project-artwork.has-video .project-artwork-embed {
    inset: auto;
    left: 50%;
    top: 50%;
    width: var(--touch-project-media-width, 100%);
    height: var(--touch-project-media-height, 100%);
    transform: translate(-50%, -50%);
  }

  .panel-shell[data-active-panel="hobby"],
  .panel-shell[data-active-panel="hobby"] .content-panel,
  .hobby-grid,
  .hobby-card {
    max-width: 100%;
    overflow-x: clip;
    overscroll-behavior-x: none;
    touch-action: pan-y;
  }

  .hobby-grid {
    width: 100%;
    contain: layout paint;
  }

  .panel-shell[data-active-panel="hobby"] .hobby-card,
  .panel-shell[data-active-panel="hobby"] .hobby-card:hover,
  .panel-shell[data-active-panel="hobby"] .hobby-card img,
  .panel-shell[data-active-panel="hobby"] .hobby-card:hover img {
    transform: none !important;
  }
}

@media (max-width: 1366px) and (pointer: coarse) {
  .hobby-filters,
  .hobby-filter {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
  }
}

@media (min-width: 821px) and (max-width: 1366px) and (min-height: 700px) and (pointer: coarse) and (orientation: landscape) {
  .image-zoom img,
  .image-zoom-video {
    width: min(calc(100vw - 84px), 94vw, 1536px);
    height: min(calc(100svh - 122px), 86svh, 1080px);
    max-width: min(calc(100vw - 84px), 94vw, 1536px);
    max-height: min(calc(100svh - 122px), 86svh, 1080px);
  }
}

@media (min-width: 821px) and (max-width: 1179px) and (min-height: 700px) and (pointer: coarse) and (orientation: landscape) {
  .project-switch-row {
    margin-top: clamp(-112px, -15svh, -58px);
  }
}

@media (max-width: 820px) {
  :root {
    --stage-width: min(162.84vw, 1457px);
    --stage-scale: 1.43;
    --side-panel-width: min(92vw, 520px);
    --page-pad-inline: 18px;
    --work-left-col: 0px;
    --work-hover-band-left: 0px;
    --work-preview-left: 0px;
    --work-title-size: clamp(0.68rem, 3.42vw, 1.44rem);
    --work-year-size: clamp(0.54rem, 2.36vw, 1.03rem);
  }

  body.is-locked {
    cursor: auto;
  }

  .poster-hero {
    touch-action: none;
  }

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

  nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px;
    max-width: min(68vw, 360px);
    font-size: 11px;
  }

  .ghost-name {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 4svh;
    padding: 0 18px;
    font-size: clamp(6rem, 33vw, 14rem);
    line-height: 0.76;
  }

  .ghost-word:first-child,
  .ghost-word:last-child {
    justify-self: center;
  }

  .poster-stage {
    left: 50%;
    top: 64%;
    width: var(--stage-width);
    max-width: none;
    height: auto;
  }

  .poster-stage-image {
    width: var(--stage-width);
    max-width: none;
    height: auto;
  }

  .center-white-box {
    width: min(calc(var(--stage-width) * 0.350175), 377px);
  }

  .panel-shell {
    width: var(--side-panel-width);
    min-width: 0;
    padding: 84px 22px 32px;
  }

  .hobby-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }

  .hobby-card,
  .hobby-card-large,
  .hobby-card-wide,
  .hobby-card-tall {
    min-height: 0;
  }

  .panel-shell[data-active-panel="work"] {
    width: 100vw;
    padding: 0;
  }

  .work-showcase h2 {
    max-width: 76vw;
    font-size: clamp(3.4rem, 13vw, 6rem);
  }

  .work-directory {
    padding: 92px 18px 0;
  }

  .work-panel-intro {
    min-height: auto;
    padding-bottom: 28px;
  }

  .work-directory .work-kicker {
    position: relative;
    left: auto;
    top: auto;
    margin: 0 0 18px;
    width: auto;
    transform: none;
  }

  .work-directory h2,
  .work-index {
    margin-left: 0;
  }

  .work-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
  }

  .work-row-type {
    grid-column: 1 / -1;
  }

  .work-preview {
    display: none;
  }

  .project-detail {
    --touch-project-art-width: min(84vw, 720px);
    inset: 0;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 26px;
    overflow-y: auto;
  }

  .project-actions {
    width: var(--touch-project-art-width);
    justify-self: center;
    justify-content: flex-end;
    margin-bottom: -10px;
    padding-right: 0;
    transform: translateY(-30%);
  }

  .project-back {
    width: clamp(64px, 13vw, 112px);
    transform: translateX(50%);
  }

  .project-back img {
    width: clamp(28px, 5vw, 42px);
    transform: none;
  }

  .project-artwork {
    width: var(--touch-project-art-width);
    justify-self: center;
    min-height: 62.92svh;
  }

  .project-detail h3 {
    font-size: clamp(3.4rem, 16vw, 7rem);
  }

  .work-mosaic {
    padding: 82px 12px 18px;
  }

  .mosaic-header {
    position: relative;
    left: auto;
    top: auto;
    margin: 0 0 14px;
  }

  .mosaic-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(220px, 42svh);
    min-height: auto;
  }

  .mosaic-card-a,
  .mosaic-card-b,
  .mosaic-card-c,
  .mosaic-card-d {
    grid-column: auto;
    grid-row: auto;
  }

  .mosaic-card-c {
    min-height: 260px;
  }

  .work-silhouette {
    width: min(360px, 48vw);
    height: min(680px, 70svh);
  }

  .archive-stack {
    inset: 220px 24px 24px;
  }

  .archive-sheet-a {
    left: 0;
    top: 0;
    width: 34vw;
    height: 47svh;
  }

  .archive-sheet-b {
    left: 28vw;
    top: 5svh;
    width: 34vw;
    height: 47svh;
  }

  .archive-sheet-c {
    right: 0;
    bottom: 0;
    width: 56vw;
    height: 30svh;
  }

  .work-projects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(4, minmax(0, 1fr));
  }

  .work-tile-a {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }

  .work-tile-b {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }

  .work-tile-c {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
  }

  .work-tile-d {
    grid-column: 2 / 3;
    grid-row: 4 / 5;
  }
}

@media (min-width: 501px) and (max-width: 820px) and (pointer: coarse) {
  :root {
    --stage-width: min(113.99vw, 1020px);
    --work-title-size: clamp(1.38rem, 3.18vw, 1.86rem);
    --work-year-size: clamp(1.05rem, 2.3vw, 1.32rem);
  }

  .poster-stage {
    left: 50%;
    top: 64%;
    translate: -50% -50%;
  }

  .panel-shell[data-active-panel="work"] {
    padding: 84px 22px 32px;
  }

  .work-directory {
    padding: 0 0 clamp(40px, 6vw, 72px);
  }

  .work-directory .work-kicker {
    margin-bottom: clamp(20px, 3vw, 28px);
    font-size: clamp(2.15rem, 5vw, 3rem);
    line-height: 0.94;
  }

  .work-row {
    gap: clamp(20px, 4vw, 34px);
    padding: clamp(12px, 2vw, 17px) 0;
  }

  .work-row strong {
    line-height: 1.02;
    letter-spacing: 0;
  }

  .work-row-year {
    min-width: 4ch;
  }
}

@media (max-width: 500px) {
  :root {
    --stage-width: min(200.42vw, calc(131.04svh * 1.4145));
    --stage-scale: 1.12;
    --side-panel-width: 100vw;
    --page-pad-inline: 18px;
    --work-hover-band-left: 0px;
    --work-preview-left: 0px;
    --work-title-size: clamp(0.75rem, 4.15vw, 1.43rem);
    --work-year-size: clamp(0.59rem, 2.83vw, 1.05rem);
  }

  body.is-locked,
  body.is-locked * {
    cursor: auto !important;
  }

  .custom-cursor {
    display: none;
    opacity: 0;
  }

  .brand {
    width: 38px;
  }

  nav {
    gap: 10px 13px;
    max-width: 72vw;
  }

  .poster-stage {
    left: 68%;
    top: 61%;
    width: var(--stage-width);
    max-width: none;
    height: auto;
  }

  .poster-stage-image {
    width: var(--stage-width);
    max-width: none;
    height: auto;
  }

  .center-white-box {
    left: 53%;
    top: calc(45% + 150px + (var(--stage-width) * 0.0566) - 5svh);
    width: min(calc(var(--stage-width) * 0.281085), 302.4px);
  }

  .stage-hotspot,
  .stage-hotspot *,
  .stage-hotspot:active,
  .stage-hotspot:focus,
  .stage-hotspot:focus-visible {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    outline: 0;
    background: transparent;
    box-shadow: none;
    user-select: none;
  }

  .poster-credit {
    display: block;
    left: 50px;
    top: 32px;
    z-index: 12;
    font-size: 10px;
    line-height: 1;
    color: rgba(8, 9, 20, 0.94);
  }

  .panel-shell {
    inset: 0;
    width: 100vw;
    box-shadow: none;
    overflow-x: clip;
    overscroll-behavior-x: none;
    touch-action: pan-y;
  }

  .panel-shell[data-active-panel="hobby"],
  .panel-shell[data-active-panel="hobby"] .content-panel,
  .hobby-grid,
  .hobby-card {
    max-width: 100%;
    overflow-x: clip;
    overscroll-behavior-x: none;
    touch-action: pan-y;
  }

  .hobby-grid {
    width: 100%;
    contain: layout paint;
  }

  .panel-shell[data-active-panel="work"] {
    padding: 84px 22px 32px;
  }

  .project-detail {
    --touch-project-art-width: min(78vw, 430px);
    transform: translateY(105%);
    transition:
      transform 420ms cubic-bezier(0.2, 0.8, 0.18, 1),
      visibility 0s linear 420ms;
  }

  .project-detail.is-open {
    transform: translateY(0);
    transition:
      transform 420ms cubic-bezier(0.2, 0.8, 0.18, 1),
      visibility 0s;
  }

  .project-actions {
    width: var(--touch-project-art-width);
    margin-bottom: -18px;
    transform: translateY(-42%);
  }

  .project-back {
    width: clamp(50px, 16vw, 78px);
    transform: translateX(34%);
  }

  .project-artwork {
    cursor: default;
  }

  .project-artwork:not(.has-video) {
    overflow: visible;
  }

  .project-artwork.has-video .project-artwork-image,
  .project-artwork-image[hidden] {
    display: none !important;
    opacity: 0 !important;
  }

  .project-artwork.is-portrait {
    width: calc(var(--touch-project-art-width) * 0.9);
  }

  .project-gallery-arrow {
    top: 78%;
    width: clamp(27px, 9vw, 37.8px);
    height: clamp(27px, 9vw, 37.8px);
  }

  .project-artwork.is-landscape .project-gallery-arrow {
    top: 85%;
    width: clamp(25.65px, 8.55vw, 35.91px);
    height: clamp(25.65px, 8.55vw, 35.91px);
  }

  .project-artwork.is-portrait .project-gallery-arrow {
    top: 89%;
    width: clamp(25.14px, 8.38vw, 35.19px);
    height: clamp(25.14px, 8.38vw, 35.19px);
  }

  .project-artwork.is-portrait .project-gallery-arrow--prev {
    left: 31.5%;
  }

  .project-artwork.is-portrait .project-gallery-arrow--next {
    right: 31.5%;
  }

  .project-gallery-arrow--prev {
    left: 34%;
  }

  .project-gallery-arrow--next {
    right: 34%;
  }

  .hobby-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .hobby-card-copy {
    min-height: 30px;
    padding: 6px;
    font-size: 0.56rem;
  }

  .content-panel h2 {
    font-size: clamp(3rem, 16vw, 4.9rem);
  }

  .content-panel p:not(.kicker) {
    font-size: clamp(1rem, 4.8vw, 1.22rem);
  }

  .work-grid,
  .work-projects {
    inset: 18px;
  }

  .project-switch-row {
    margin-top: clamp(-112px, -15svh, -58px);
    margin-bottom: 0;
    transform: none;
  }

  .project-copy {
    gap: clamp(16px, 2.16vw, 31px);
    margin-top: 0;
    transform: translateY(-10%);
  }

  .project-more {
    gap: clamp(16px, 1.98vw, 27px);
  }

  .project-more dl {
    gap: 13px;
  }

  .project-more div {
    gap: 16px;
    padding-top: 11px;
  }

  .project-artwork.has-video .project-artwork-video,
  .project-artwork.has-video .project-artwork-embed {
    inset: auto;
    left: 50%;
    top: 50%;
    width: var(--touch-project-media-width, 100%);
    height: var(--touch-project-media-height, 100%);
    transform: translate(-50%, -50%);
  }

  .work-showcase {
    overflow-y: auto;
    scrollbar-width: none;
  }

  .image-zoom img,
  .image-zoom-video {
    width: min(79.68vw, 1089px);
    height: min(73.84svh, 738px);
    max-width: min(calc((100vw - 28px) * 0.8), 79.68vw, 1089px);
    max-height: min(calc((100svh - 108px) * 0.8), 73.84svh, 738px);
    object-position: center center;
  }

  .image-zoom.is-hidden-layout-zoom img,
  .image-zoom.is-hidden-layout-zoom .image-zoom-video {
    width: min(80.68vw, 1103px);
    height: min(74.76svh, 748px);
    max-width: min(80.68vw, 1103px);
    max-height: min(74.76svh, 748px);
  }

  .work-directory {
    min-height: 100svh;
    padding: calc(86px - 5svh) 0 0;
  }

  .work-directory h2 {
    max-width: 82vw;
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .work-row strong {
    font-size: clamp(1.23rem, 6.38vw, 1.89rem);
    line-height: 1.02;
  }

  .work-row-year {
    font-size: clamp(0.97rem, 4.62vw, 1.28rem);
  }

  .work-mosaic {
    padding: 78px 10px 14px;
  }

  .work-mosaic h2 {
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .mosaic-grid {
    gap: 10px;
    grid-auto-rows: minmax(210px, 38svh);
  }

  .mosaic-caption {
    opacity: 1;
    transform: none;
  }

  .mosaic-caption strong {
    font-size: clamp(1.8rem, 9vw, 3.4rem);
  }

  .work-kicker,
  .work-showcase h2 {
    margin-left: 24px;
  }

  .work-kicker {
    padding-top: 86px;
  }

  .work-showcase h2 {
    max-width: 82vw;
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .work-directory .work-kicker,
  .work-directory h2 {
    margin-left: 0;
  }

  .work-directory .work-kicker {
    padding-top: 0;
  }

  .work-silhouette {
    bottom: 18px;
    width: min(300px, 62vw);
    height: min(560px, 66svh);
  }

  .work-ghost {
    font-size: clamp(8rem, 43vw, 13rem);
    writing-mode: vertical-rl;
  }

  .archive-stack {
    position: relative;
    inset: auto;
    z-index: 4;
    display: grid;
    gap: 16px;
    padding: 22px 18px 28px;
  }

  .archive-sheet,
  .archive-sheet:hover,
  .archive-sheet:focus-visible {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    height: min(440px, 62svh);
    transform: none;
  }

  .archive-sheet-c,
  .archive-sheet-c:hover,
  .archive-sheet-c:focus-visible {
    height: min(310px, 46svh);
  }

  .work-tile {
    padding: 12px;
  }

  .work-tile strong {
    font-size: clamp(1.8rem, 9vw, 3rem);
  }
}

@media (min-width: 391px) and (max-width: 500px) {
  .project-switch-row {
    transform: none;
  }
}

@media (max-width: 390px) {
  .center-white-box {
    left: 63%;
    width: min(calc(var(--stage-width) * 0.252945), 272px);
  }

  .project-switch-row {
    margin-top: clamp(-112px, -15svh, -58px);
    margin-bottom: 0;
    transform: none;
  }

  .project-copy {
    margin-top: 0;
    transform: translateY(-10%);
  }
}

@media (max-width: 500px) and (orientation: portrait) {
  .project-artwork.is-portrait .project-gallery-arrow {
    top: 94%;
  }

  .content-panel p.panel-copyright {
    font-size: clamp(0.532rem, 0.805vw, 0.665rem);
  }
}
