:root {
  --sky: #9dbccc;
  --sky-deep: #7898a8;
  --ground: #4b4b4d;
  --ink: #1d1d1f;
  --window: rgba(248, 248, 246, 0.96);
  --line: rgba(28, 28, 30, 0.16);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
  --folder: #62c9f6;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
  overflow: hidden;
  background: #5d747f;
  color: var(--ink);
  font-family:
    "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB",
    sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}

a {
  color: inherit;
}

button {
  color: inherit;
  font: inherit;
}

.system-bar {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  color: #f4f6f7;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.96),
    0 3px 12px rgba(0, 0, 0, 0.86),
    0 0 22px rgba(0, 0, 0, 0.62);
}

.system-left {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  font-weight: 600;
}

.system-left button {
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  cursor: pointer;
  font-weight: 600;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.98),
    0 3px 12px rgba(0, 0, 0, 0.9);
}

.system-brand {
  font-weight: 700;
}

.system-bar time {
  font-size: 14px;
  font-weight: 600;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.98),
    0 3px 12px rgba(0, 0, 0, 0.9);
}

.desktop-hero {
  position: relative;
  width: 100vw;
  height: 100svh;
  overflow: hidden;
  padding-top: 38px;
  background:
    linear-gradient(180deg, rgba(168, 204, 220, 0.92), rgba(151, 185, 199, 0.74) 42%, rgba(68, 68, 70, 0.98) 70%),
    var(--sky);
}

.desktop-video,
.video-fallback,
.desktop-vignette,
.screen-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.desktop-video {
  object-fit: cover;
  z-index: 1;
}

.video-fallback {
  z-index: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.72), transparent 13%),
    radial-gradient(circle at 76% 42%, rgba(255, 255, 255, 0.54), transparent 17%),
    linear-gradient(180deg, var(--sky), var(--sky-deep) 52%, var(--ground) 53%);
}

.desktop-vignette {
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 44%, rgba(0, 0, 0, 0.3)),
    radial-gradient(circle at 50% 45%, transparent 42%, rgba(0, 0, 0, 0.2));
}

.screen-frame {
  z-index: 3;
  object-fit: fill;
  pointer-events: none;
  filter:
    drop-shadow(0 4px 8px rgba(0, 0, 0, 0.56))
    drop-shadow(0 18px 30px rgba(0, 0, 0, 0.46));
}

.desktop-icons {
  position: absolute;
  z-index: 9;
  inset: 38px 0 0;
  pointer-events: none;
}

.desktop-icon {
  position: absolute;
  width: 216px;
  min-height: 202px;
  pointer-events: auto;
  display: grid;
  justify-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: white;
  cursor: pointer;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.72);
  transform-origin: center bottom;
  transition: transform 180ms ease, filter 180ms ease;
}

@keyframes icon-hop {
  0% {
    transform: translateY(0) scale(1);
  }
  42% {
    transform: translateY(-14px) scale(1.08);
  }
  72% {
    transform: translateY(-7px) scale(1.055);
  }
  100% {
    transform: translateY(-9px) scale(1.06);
  }
}

.desktop-icon,
.popup-titlebar {
  user-select: none;
  -webkit-user-select: none;
}

.desktop-icon {
  cursor: grab;
  touch-action: none;
}

.desktop-icon.dragging {
  cursor: grabbing;
  filter: brightness(1.08);
}

.desktop-icon:hover:not(.dragging),
.desktop-icon:focus-visible:not(.dragging) {
  animation: icon-hop 360ms cubic-bezier(0.2, 0.82, 0.24, 1) both;
  filter: brightness(1.08) saturate(1.04);
}

.desktop-icon em {
  max-width: 216px;
  font-size: clamp(12px, 1vw, 15px);
  font-style: normal;
  font-weight: 500;
  line-height: 1.12;
}

.desktop-icon span {
  position: relative;
  display: block;
  width: 108px;
  height: 108px;
}

.icon-about,
.icon-flag,
.icon-pdf,
.icon-projects,
.icon-reset {
  top: 45%;
}

.icon-about {
  left: calc(50% - 540px);
}

.icon-flag {
  left: calc(50% - 324px);
}

.icon-pdf {
  left: calc(50% - 108px);
}

.icon-projects {
  left: calc(50% + 108px);
}

.icon-reset {
  left: calc(50% + 324px);
}

.icon-face.about-cat-icon {
  display: block;
  width: 179px;
  height: 216px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 2px rgba(236, 184, 138, 0.86))
    drop-shadow(0 0 7px rgba(174, 112, 72, 0.58))
    drop-shadow(0 0 14px rgba(112, 88, 74, 0.36))
    drop-shadow(0 10px 14px rgba(0, 0, 0, 0.46));
}

.icon-sticker.flag-image-icon {
  display: block;
  width: 179px;
  height: 216px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 2px rgba(236, 184, 138, 0.86))
    drop-shadow(0 0 7px rgba(174, 112, 72, 0.58))
    drop-shadow(0 0 14px rgba(112, 88, 74, 0.36))
    drop-shadow(0 10px 14px rgba(0, 0, 0, 0.46));
}

.icon-document.cv-image-icon {
  display: block;
  width: 179px;
  height: 216px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 2px rgba(236, 184, 138, 0.86))
    drop-shadow(0 0 7px rgba(174, 112, 72, 0.58))
    drop-shadow(0 0 14px rgba(112, 88, 74, 0.36))
    drop-shadow(0 10px 14px rgba(0, 0, 0, 0.46));
}

.icon-news-box {
  width: 94px !important;
  height: 108px !important;
  background: #dfd9c9;
  border: 3px solid #333;
  box-shadow: var(--shadow);
}

.icon-news-box::before {
  content: "◎ ◎";
  position: absolute;
  top: 14px;
  left: 0;
  right: 0;
  color: #333;
  font-size: 18px;
}

.icon-news-box::after {
  content: "⌣";
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  color: #333;
  font-size: 32px;
}

.icon-apple {
  display: grid !important;
  place-items: center;
  border-radius: 34% 42% 38% 45%;
  background: linear-gradient(135deg, #bfe6ff, #6aa8d8);
  color: #3b6f98;
  font-size: 42px;
  box-shadow: var(--shadow);
}

.icon-folder.projects-image-icon {
  display: block;
  width: 216px;
  height: 216px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 2px rgba(236, 184, 138, 0.86))
    drop-shadow(0 0 7px rgba(174, 112, 72, 0.58))
    drop-shadow(0 0 14px rgba(112, 88, 74, 0.36))
    drop-shadow(0 10px 14px rgba(0, 0, 0, 0.46));
}

.icon-orb {
  display: grid !important;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.9), transparent 22%),
    radial-gradient(circle at 54% 54%, #1a4bff, #0f1f89 62%, #05124d);
  color: white;
  font-size: 52px;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.icon-at {
  display: grid !important;
  place-items: center;
  width: 94px !important;
  height: 94px !important;
  border-radius: 50%;
  background: #f4f4f0;
  color: #8a8a8a;
  font-size: 48px;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.icon-disc {
  border-radius: 50%;
  background:
    radial-gradient(circle, #777 0 11%, transparent 12%),
    conic-gradient(#fff, #c7f0ff, #fff1a8, #f7b8ee, #fff);
  box-shadow: var(--shadow);
}

.icon-reset-symbol.reset-image-icon {
  display: block;
  width: 179px;
  height: 216px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 2px rgba(236, 184, 138, 0.86))
    drop-shadow(0 0 7px rgba(174, 112, 72, 0.58))
    drop-shadow(0 0 14px rgba(112, 88, 74, 0.36))
    drop-shadow(0 10px 14px rgba(0, 0, 0, 0.46));
}

.window-layer {
  position: absolute;
  z-index: 20;
  inset: 38px 0 0;
  pointer-events: none;
}

.popup-window {
  position: absolute;
  display: none;
  overflow: hidden;
  min-width: 360px;
  min-height: 260px;
  resize: both;
  background:
    radial-gradient(circle at 18% 14%, rgba(196, 116, 72, 0.2), transparent 28%),
    radial-gradient(circle at 82% 26%, rgba(118, 108, 96, 0.2), transparent 30%),
    radial-gradient(circle at 54% 84%, rgba(172, 90, 46, 0.14), transparent 34%),
    linear-gradient(145deg, #050505 0%, #11100f 46%, #070707 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.6),
    0 0 46px rgba(171, 91, 47, 0.14);
  pointer-events: auto;
  color: rgba(255, 255, 255, 0.88);
}

.popup-window.active {
  display: block;
}

.selected-work-window {
  top: 7%;
  left: 50%;
  width: min(78vw, 1560px);
  height: min(78vh, 1040px);
  transform: translateX(-50%);
}

.popup-window.expanded-window {
  top: 6%;
  left: 50%;
  width: min(92vw, 1600px);
  height: min(86vh, 1120px);
  transform: translateX(-50%);
}

.small-window.expanded-window {
  width: min(900px, 92vw);
  height: min(72vh, 760px);
}

.popup-window.fullscreen-window {
  top: 38px;
  left: 0;
  width: 100vw;
  height: calc(100svh - 38px);
  min-width: 0;
  min-height: 0;
  border-radius: 0;
  transform: none;
  resize: none;
}

.small-window {
  top: 16%;
  left: 50%;
  width: min(620px, 88vw);
  min-height: 360px;
  transform: translateX(-50%);
}

.project-detail-window {
  top: 11%;
  left: 50%;
  width: min(980px, 88vw);
  min-height: 640px;
  transform: translateX(-50%);
}

.cv-window {
  top: 7%;
  left: 50%;
  width: min(1080px, 88vw);
  height: min(88vh, 1180px);
  transform: translateX(-50%);
}

.about-cv-window {
  background:
    radial-gradient(circle at 18% 14%, rgba(196, 116, 72, 0.22), transparent 28%),
    radial-gradient(circle at 80% 24%, rgba(118, 108, 96, 0.2), transparent 30%),
    radial-gradient(circle at 54% 84%, rgba(172, 90, 46, 0.16), transparent 34%),
    linear-gradient(145deg, #050505 0%, #11100f 46%, #070707 100%);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.6),
    0 0 46px rgba(171, 91, 47, 0.14);
  color: rgba(255, 255, 255, 0.9);
}

.about-cv-window .popup-titlebar {
  background:
    radial-gradient(circle at 28% 0%, rgba(197, 111, 61, 0.18), transparent 48%),
    rgba(7, 7, 7, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

.about-cv-window .popup-titlebar h2 {
  color: rgba(255, 255, 255, 0.88);
}

.popup-titlebar {
  height: 92px;
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 0 28px;
  background:
    radial-gradient(circle at 28% 0%, rgba(197, 111, 61, 0.18), transparent 48%),
    rgba(7, 7, 7, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
}

.popup-window.dragging .popup-titlebar {
  cursor: default;
}

.popup-titlebar h2 {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 600;
}

.traffic-lights {
  display: flex;
  gap: 12px;
}

.dot {
  width: 16px;
  height: 16px;
  display: block;
  border: 0;
  border-radius: 50%;
  padding: 0;
}

.red {
  background: #ff5d64;
  cursor: pointer;
}

.yellow {
  background: #ffbf21;
  cursor: pointer;
}

.green {
  background: #2fd05d;
  cursor: pointer;
}

.selected-work-content {
  height: calc(100% - 92px);
  overflow: auto;
  padding: 16px 28px 54px;
  background:
    radial-gradient(circle at 12% 4%, rgba(198, 119, 75, 0.2), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(103, 99, 92, 0.22), transparent 32%),
    radial-gradient(circle at 52% 70%, rgba(216, 115, 50, 0.12), transparent 36%),
    linear-gradient(160deg, rgba(4, 4, 4, 0.98), rgba(18, 17, 16, 0.96) 58%, rgba(5, 5, 5, 0.98));
  scrollbar-color: rgba(255, 255, 255, 0.42) rgba(255, 255, 255, 0.08);
}

.folder-view,
.gallery-view {
  display: none;
}

.folder-view.active,
.gallery-view.active {
  display: block;
}

.gallery-view.active {
  height: 100%;
}

.folder-note {
  margin: 0 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  padding-top: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(12px, 0.86vw, 15px);
  line-height: 1.45;
}

.capability-folders {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: clamp(24px, 4vw, 62px);
  padding: clamp(24px, 5vw, 72px) clamp(12px, 3vw, 42px);
}

.capability-folder {
  display: grid;
  justify-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  text-align: center;
}

.capability-folder strong {
  max-width: 260px;
  font-size: clamp(15px, 1.2vw, 20px);
  font-weight: 500;
  line-height: 1.18;
}

.capability-folder em {
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(11px, 0.9vw, 14px);
  font-style: normal;
}

.folder-large {
  width: clamp(128px, 14vw, 220px);
  aspect-ratio: 1;
  margin-top: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform 180ms ease, filter 180ms ease;
}

.folder-commerce {
  background-image: url("assets/folder-commerce-custom.png");
}

.folder-character {
  background-image: url("assets/folder-character-custom.png");
}

.folder-spatial {
  background-image: url("assets/folder-spatial-custom.png");
}

.capability-folder:hover .folder-large,
.capability-folder:focus-visible .folder-large {
  transform: translateY(-4px);
  filter: brightness(1.04);
}

.back-button {
  margin: 0 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  padding: 7px 12px;
  color: rgba(255, 255, 255, 0.86);
  cursor: pointer;
  font-size: 13px;
}

.project-intro {
  display: grid;
  grid-template-columns: 1fr 0.9fr 1.08fr;
  gap: 48px;
  align-items: start;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  padding-top: 14px;
  margin-bottom: 46px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(12px, 0.86vw, 15px);
  font-weight: 500;
  line-height: 1.42;
}

.project-intro div {
  display: flex;
  gap: 14px;
  font-weight: 650;
}

.project-intro p {
  margin: 0;
}

.project-intro em {
  font-style: italic;
  font-weight: 400;
}

.image-masonry {
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 1fr));
  gap: 54px 26px;
  align-items: end;
}

.commerce-gallery .image-masonry {
  display: flex;
  flex-direction: column;
  gap: 34px;
  align-items: stretch;
}

.show-commerce-showcase .project-intro,
.show-commerce-showcase .image-masonry,
.show-commerce-image-showcase .project-intro,
.show-commerce-image-showcase .image-masonry,
.show-character-showcase .project-intro,
.show-character-showcase .image-masonry,
.show-spatial-detail .project-intro,
.show-spatial-detail .image-masonry {
  display: none;
}

.show-commerce-showcase > [data-gallery-back],
.show-commerce-image-showcase > [data-gallery-back],
.show-character-showcase > [data-gallery-back],
.show-spatial-detail > [data-gallery-back] {
  display: none;
}

.image-card {
  display: grid;
  gap: 12px;
  border: 0;
  background: transparent;
  padding: 0;
  color: rgba(255, 255, 255, 0.76);
  cursor: pointer;
  text-align: center;
  font-weight: 500;
}

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

.spatial-gallery .image-masonry {
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: clamp(22px, 3vw, 38px);
  align-items: stretch;
}

.spatial-gallery .image-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: #050505;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.26);
  text-align: left;
}

.spatial-gallery .image-card em {
  position: absolute;
  z-index: 5;
  left: 16px;
  bottom: 16px;
  max-width: calc(100% - 32px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.54);
  padding: 7px 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(15px, 1.16vw, 20px);
  line-height: 1.16;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(10px);
}

.spatial-gallery .image-card span {
  width: 100%;
  height: 100%;
  min-height: 320px;
  aspect-ratio: auto;
  border: 0;
}

.spatial-work-preview {
  display: block !important;
  position: relative;
  overflow: hidden;
  background: #050505 !important;
}

.spatial-work-preview::after {
  content: none !important;
}

.spatial-work-hero-preview {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.04);
}

.commerce-gallery .image-card {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
}

.commerce-gallery .image-card em {
  position: absolute;
  z-index: 30;
  top: clamp(12px, 1.5vw, 18px);
  left: clamp(12px, 1.6vw, 22px);
  max-width: min(560px, calc(100% - 44px));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.52);
  padding: 7px 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(15px, 1.24vw, 21px);
  line-height: 1.18;
  pointer-events: none;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(10px);
}

.commerce-gallery .image-card span {
  display: block;
  width: 100%;
  height: clamp(240px, 32vh, 390px);
  aspect-ratio: auto;
  min-height: 0;
}

.image-card span {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  min-height: 180px;
  background:
    repeating-linear-gradient(90deg, transparent 0 58px, rgba(255, 255, 255, 0.08) 59px 60px),
    repeating-linear-gradient(0deg, transparent 0 58px, rgba(255, 255, 255, 0.08) 59px 60px),
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(80, 70, 63, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.image-card span::after {
  content: "00-2\\A Placeholder Image\\A Cargo®";
  white-space: pre;
  display: block;
  padding: 78% 0 0 10px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 8px;
  text-align: left;
  line-height: 1.2;
}

.commerce-video-preview {
  display: block;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  overflow: hidden;
}

.commerce-image-preview {
  display: flex;
  gap: 8px;
  overflow: hidden;
}

.commerce-gallery .commerce-video-preview,
.commerce-gallery .commerce-image-preview {
  display: flex !important;
  height: clamp(240px, 32vh, 390px);
  min-height: 0;
  background: rgba(0, 0, 0, 0.28) !important;
}

.commerce-gallery .commerce-video-preview::after,
.commerce-gallery .commerce-image-preview::after {
  content: none !important;
}

.commerce-video-preview video {
  display: none;
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.05);
}

.commerce-gallery .commerce-video-preview video {
  display: block;
  flex: 0 0 auto;
  width: auto;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  background: #050505;
}

.commerce-gallery .commerce-image-preview img {
  display: block;
  flex: 0 0 auto;
  width: auto;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  background: #050505;
}

.commerce-gallery .commerce-image-stack {
  position: relative;
  overflow: visible;
  background: transparent !important;
}

.commerce-gallery .commerce-image-stack img {
  position: absolute;
  top: 50%;
  left: 10%;
  height: 86%;
  width: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.42);
  transform: translateY(-50%);
}

.commerce-gallery .commerce-image-stack img:nth-child(1) {
  z-index: 10;
  transform: translateY(-50%) rotate(-2deg);
}

.commerce-gallery .commerce-image-stack img:nth-child(2) {
  z-index: 9;
  left: 18%;
  transform: translateY(-50%) rotate(3deg);
}

.commerce-gallery .commerce-image-stack img:nth-child(3) {
  z-index: 8;
  left: 26%;
  transform: translateY(-50%) rotate(-4deg);
}

.commerce-gallery .commerce-image-stack img:nth-child(4) {
  z-index: 7;
  left: 34%;
  transform: translateY(-50%) rotate(2deg);
}

.commerce-gallery .commerce-image-stack img:nth-child(n + 5) {
  opacity: 0.9;
  transform: translateY(-50%) rotate(1deg);
}

.commerce-gallery .commerce-image-stack img:nth-child(5) {
  z-index: 6;
  left: 42%;
}

.commerce-gallery .commerce-image-stack img:nth-child(6) {
  z-index: 5;
  left: 48%;
  transform: translateY(-50%) rotate(-3deg);
}

.commerce-gallery .commerce-image-stack img:nth-child(7) {
  z-index: 4;
  left: 54%;
  transform: translateY(-50%) rotate(2deg);
}

.commerce-gallery .commerce-image-stack img:nth-child(8) {
  z-index: 3;
  left: 60%;
  transform: translateY(-50%) rotate(-2deg);
}

.commerce-gallery .commerce-image-stack img:nth-child(9) {
  z-index: 2;
  left: 66%;
  transform: translateY(-50%) rotate(3deg);
}

.commerce-gallery .commerce-image-stack img:nth-child(10) {
  z-index: 1;
  left: 72%;
  transform: translateY(-50%) rotate(-1deg);
}

.commerce-gallery .commerce-image-stack img:nth-child(11) {
  z-index: 0;
  left: 78%;
  transform: translateY(-50%) rotate(2deg);
}

.commerce-gallery .character-media-stack {
  position: relative;
  overflow: visible;
  background: transparent !important;
}

.commerce-gallery .character-media-stack img,
.commerce-gallery .character-media-stack video {
  position: absolute;
  top: 50%;
  left: 10%;
  display: block;
  height: 86%;
  width: auto;
  max-width: none;
  min-height: 0;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #050505;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.42);
  transform: translateY(-50%) rotate(-2deg);
}

.commerce-gallery .character-media-stack > :nth-child(1) {
  z-index: 11;
  left: 10%;
  transform: translateY(-50%) rotate(-2deg);
}

.commerce-gallery .character-media-stack > :nth-child(2) {
  z-index: 10;
  left: 17%;
  transform: translateY(-50%) rotate(3deg);
}

.commerce-gallery .character-media-stack > :nth-child(3) {
  z-index: 9;
  left: 24%;
  transform: translateY(-50%) rotate(-4deg);
}

.commerce-gallery .character-media-stack > :nth-child(4) {
  z-index: 8;
  left: 31%;
  transform: translateY(-50%) rotate(2deg);
}

.commerce-gallery .character-media-stack > :nth-child(5) {
  z-index: 7;
  left: 38%;
  transform: translateY(-50%) rotate(-1deg);
}

.commerce-gallery .character-media-stack > :nth-child(6) {
  z-index: 6;
  left: 45%;
  transform: translateY(-50%) rotate(3deg);
}

.commerce-gallery .character-media-stack > :nth-child(7) {
  z-index: 5;
  left: 52%;
  transform: translateY(-50%) rotate(-2deg);
}

.commerce-gallery .character-media-stack > :nth-child(8) {
  z-index: 4;
  left: 59%;
  transform: translateY(-50%) rotate(2deg);
}

.commerce-gallery .character-media-stack > :nth-child(9) {
  z-index: 3;
  left: 66%;
  transform: translateY(-50%) rotate(-3deg);
}

.commerce-gallery .character-media-stack > :nth-child(10) {
  z-index: 2;
  left: 73%;
  transform: translateY(-50%) rotate(1deg);
}

.character-feed-section {
  width: 100%;
  margin-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: 28px;
}

.character-feed-section h3 {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(15px, 1.24vw, 21px);
  line-height: 1.18;
  font-weight: 500;
}

.character-feed-masonry {
  column-count: 3;
  column-gap: clamp(14px, 2vw, 24px);
}

.character-feed-masonry figure {
  display: inline-block;
  width: 100%;
  margin: 0 0 clamp(14px, 2vw, 24px);
  overflow: hidden;
  break-inside: avoid;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #050505;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

.character-feed-masonry img,
.character-feed-masonry video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.commerce-video-showcase,
.commerce-image-showcase,
.character-media-showcase,
.spatial-detail-view {
  display: none;
}

.show-commerce-showcase .commerce-video-showcase {
  display: flex;
  height: 100%;
  min-height: 0;
  flex-direction: column;
}

.show-commerce-image-showcase .commerce-image-showcase {
  display: flex;
  height: 100%;
  min-height: 0;
  flex-direction: column;
}

.show-character-showcase .character-media-showcase {
  display: flex;
  height: 100%;
  min-height: 0;
  flex-direction: column;
}

.show-spatial-detail .spatial-detail-view {
  display: block;
  height: 100%;
  min-height: 0;
  overflow: auto;
  padding-bottom: 38px;
  scrollbar-color: rgba(255, 255, 255, 0.42) rgba(255, 255, 255, 0.08);
}

.show-spatial-detail .spatial-detail-view[data-spatial-theme] {
  margin: -16px -28px -54px;
  padding: 16px 28px 54px;
}

.show-spatial-detail .spatial-detail-view[data-spatial-theme="tossing"] {
  background:
    radial-gradient(circle at 22% 12%, rgba(0, 220, 58, 0.2), transparent 32%),
    radial-gradient(circle at 78% 30%, rgba(0, 122, 42, 0.24), transparent 34%),
    radial-gradient(circle at 50% 92%, rgba(0, 70, 24, 0.72), transparent 42%),
    linear-gradient(160deg, #000 0%, #011207 46%, #000 100%);
}

.show-spatial-detail .spatial-detail-view[data-spatial-theme="her-writing"] {
  background:
    radial-gradient(circle at 24% 16%, rgba(140, 107, 160, 0.36), transparent 34%),
    radial-gradient(circle at 72% 70%, rgba(83, 67, 98, 0.58), transparent 42%),
    linear-gradient(160deg, #020202 0%, #2c2331 54%, #050505 100%);
}

.show-spatial-detail .spatial-detail-view[data-spatial-theme="pangu"] {
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 188, 64, 0.46), transparent 34%),
    radial-gradient(circle at 74% 62%, rgba(190, 88, 10, 0.34), transparent 42%),
    linear-gradient(160deg, #020202 0%, #2a1704 50%, #050505 100%);
}

.show-spatial-detail .spatial-detail-view[data-spatial-theme="trace"] {
  background:
    radial-gradient(circle at 18% 18%, rgba(145, 164, 135, 0.34), transparent 36%),
    radial-gradient(circle at 78% 72%, rgba(63, 86, 66, 0.48), transparent 44%),
    linear-gradient(160deg, #030403 0%, #1d261f 52%, #050505 100%);
}

.show-spatial-detail .spatial-detail-view[data-spatial-theme="xosmo"] {
  background:
    radial-gradient(circle at 20% 18%, rgba(236, 215, 157, 0.6), transparent 34%),
    radial-gradient(circle at 78% 72%, rgba(205, 205, 198, 0.62), transparent 42%),
    linear-gradient(160deg, #d8d8d0 0%, #efe0ad 46%, #c8c8c4 100%);
  color: rgba(18, 18, 16, 0.88);
}

.show-spatial-detail .spatial-detail-view[data-spatial-theme="uic"] {
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 154, 154, 0.58), transparent 36%),
    radial-gradient(circle at 78% 72%, rgba(205, 205, 205, 0.68), transparent 42%),
    linear-gradient(160deg, #dedede 0%, #f1b6b6 48%, #cfcfcf 100%);
  color: rgba(20, 18, 18, 0.9);
}

.commerce-video-grid,
.commerce-image-grid {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  flex: 1;
  min-height: 0;
  align-items: center;
  overflow: auto;
  padding: 8px 0 22px;
  scrollbar-color: rgba(255, 255, 255, 0.42) rgba(255, 255, 255, 0.08);
}

.commerce-video-grid video {
  flex: 0 0 auto;
  width: auto;
  height: 100%;
  max-width: none;
  max-height: 100%;
  aspect-ratio: var(--natural-ratio, auto);
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #050505;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.34);
}

.commerce-video-grid video[hidden] {
  display: none;
}

.commerce-image-grid img {
  flex: 0 0 auto;
  width: auto;
  height: 100%;
  max-width: none;
  max-height: 100%;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #050505;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.34);
}

.commerce-image-grid img[hidden] {
  display: none;
}

.character-media-showcase h3 {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 1.6vw, 26px);
  line-height: 1.14;
  font-weight: 560;
}

.character-showcase-strip {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  flex: 1;
  min-height: 0;
  align-items: center;
  overflow: auto;
  padding: 8px 0 22px;
  scrollbar-color: rgba(255, 255, 255, 0.42) rgba(255, 255, 255, 0.08);
}

.character-showcase-strip img,
.character-showcase-strip video {
  flex: 0 0 auto;
  width: auto;
  height: 100%;
  max-width: none;
  max-height: 100%;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #050505;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.34);
}

.spatial-detail-hero {
  width: 100%;
  max-height: min(68vh, 720px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: #050505;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.34);
}

.spatial-detail-hero[hidden] {
  display: none;
}

.spatial-detail-hero img,
.spatial-detail-hero video {
  display: block;
  width: 100%;
  max-height: min(68vh, 720px);
  object-fit: contain;
  background: #050505;
}

.spatial-detail-copy {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 42px);
  align-items: start;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  margin: 28px 0;
  padding-top: 18px;
  color: rgba(255, 255, 255, 0.82);
}

.spatial-detail-copy div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.spatial-detail-copy h3 {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(22px, 2.4vw, 38px);
  line-height: 1.05;
  font-weight: 560;
}

.spatial-detail-copy h3 a {
  color: inherit;
  text-decoration-color: currentColor;
}

.spatial-detail-copy p {
  margin: 0;
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1.58;
}

.spatial-detail-copy p em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.64);
}

.spatial-detail-view[data-spatial-theme="xosmo"] .spatial-detail-copy,
.spatial-detail-view[data-spatial-theme="uic"] .spatial-detail-copy {
  border-top-color: rgba(20, 20, 20, 0.22);
  color: rgba(20, 20, 20, 0.78);
}

.spatial-detail-view[data-spatial-theme="xosmo"] .spatial-detail-copy h3,
.spatial-detail-view[data-spatial-theme="uic"] .spatial-detail-copy h3 {
  color: rgba(12, 12, 12, 0.92);
}

.spatial-detail-view[data-spatial-theme="xosmo"] .spatial-detail-copy p em,
.spatial-detail-view[data-spatial-theme="uic"] .spatial-detail-copy p em {
  color: rgba(20, 20, 20, 0.58);
}

.spatial-detail-media-grid {
  display: grid;
  gap: clamp(16px, 2vw, 28px);
}

.spatial-media-row {
  display: grid;
  grid-template-columns: repeat(var(--spatial-row-count, 1), minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  align-items: stretch;
}

.spatial-media-row-1 {
  --spatial-row-count: 1;
}

.spatial-media-row-2 {
  --spatial-row-count: 2;
}

.spatial-media-row-3 {
  --spatial-row-count: 3;
}

.spatial-media-row-4 {
  --spatial-row-count: 4;
}

.spatial-detail-media-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: #050505;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.spatial-detail-view[data-spatial-theme="tossing"] .spatial-detail-media-grid figure {
  border-color: rgba(50, 255, 92, 0.18);
  background:
    radial-gradient(circle at 50% 100%, rgba(0, 82, 25, 0.58), transparent 58%),
    #000;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.48),
    0 0 34px rgba(0, 168, 50, 0.08);
}

.spatial-detail-view[data-spatial-theme="tossing"] .spatial-detail-copy {
  border-top-color: rgba(74, 255, 104, 0.24);
}

.spatial-detail-media-grid img,
.spatial-detail-media-grid video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 720px;
  object-fit: contain;
  background: #050505;
}

.spatial-media-row-1 img,
.spatial-media-row-1 video {
  width: 100%;
  max-height: none;
}

.project-thumb {
  overflow: hidden;
  background: #050505 !important;
}

.project-thumb::after {
  content: none !important;
}

.project-thumb img,
.project-thumb video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.04);
}

.framework-placeholder {
  display: block !important;
  position: relative;
  overflow: visible;
  background: transparent !important;
}

.framework-placeholder::after {
  content: none !important;
}

.framework-placeholder i {
  position: absolute;
  top: 50%;
  left: 10%;
  display: block;
  width: clamp(92px, 12vw, 170px);
  height: 82%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background:
    repeating-linear-gradient(90deg, transparent 0 32px, rgba(255, 255, 255, 0.08) 33px 34px),
    repeating-linear-gradient(0deg, transparent 0 32px, rgba(255, 255, 255, 0.08) 33px 34px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 42%),
    rgba(255, 255, 255, 0.045);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
  transform: translateY(-50%) rotate(-2deg);
}

.framework-placeholder i:nth-child(1) {
  z-index: 8;
  left: 10%;
  transform: translateY(-50%) rotate(-2deg);
}

.framework-placeholder i:nth-child(2) {
  z-index: 7;
  left: 18%;
  transform: translateY(-50%) rotate(3deg);
}

.framework-placeholder i:nth-child(3) {
  z-index: 6;
  left: 26%;
  transform: translateY(-50%) rotate(-4deg);
}

.framework-placeholder i:nth-child(4) {
  z-index: 5;
  left: 34%;
  transform: translateY(-50%) rotate(2deg);
}

.framework-placeholder i:nth-child(5) {
  z-index: 4;
  left: 42%;
  transform: translateY(-50%) rotate(-1deg);
}

.framework-placeholder i:nth-child(6) {
  z-index: 3;
  left: 50%;
  transform: translateY(-50%) rotate(3deg);
}

.framework-placeholder i:nth-child(7) {
  z-index: 2;
  left: 58%;
  transform: translateY(-50%) rotate(-2deg);
}

.framework-placeholder i:nth-child(8) {
  z-index: 1;
  left: 66%;
  transform: translateY(-50%) rotate(2deg);
}

.framework-gallery .image-card {
  cursor: pointer;
}

.image-card em {
  font-style: normal;
  font-size: clamp(12px, 0.95vw, 15px);
}

.h-short span {
  aspect-ratio: 3 / 4;
}

.h-medium span {
  aspect-ratio: 3 / 4;
}

.h-tall span {
  aspect-ratio: 3 / 4;
}

.text-document {
  padding: 8px 34px 42px;
  font-size: 15px;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.82);
  background:
    radial-gradient(circle at 20% 0%, rgba(198, 119, 75, 0.16), transparent 32%),
    linear-gradient(160deg, rgba(4, 4, 4, 0.98), rgba(18, 17, 16, 0.96) 58%, rgba(5, 5, 5, 0.98));
}

.text-document h3 {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.05;
  font-weight: 500;
}

.text-document p {
  margin: 0 0 16px;
}

.project-detail-content {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 0.8fr;
  gap: 28px;
  height: calc(100% - 92px);
  overflow: auto;
  padding: 22px 34px 42px;
  color: rgba(255, 255, 255, 0.84);
  background:
    radial-gradient(circle at 20% 0%, rgba(198, 119, 75, 0.16), transparent 32%),
    linear-gradient(160deg, rgba(4, 4, 4, 0.98), rgba(18, 17, 16, 0.96) 58%, rgba(5, 5, 5, 0.98));
}

.project-detail-media {
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: #050505;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.34);
}

.project-detail-media img,
.project-detail-media video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.project-detail-media [hidden] {
  display: none;
}

.project-detail-copy {
  min-width: 0;
}

.about-cv-content {
  height: calc(100% - 92px);
  overflow: auto;
  padding: 32px 30px 58px;
  background: rgba(255, 255, 255, 0.9);
}

.about-cv-window .about-cv-content {
  background:
    radial-gradient(circle at 12% 4%, rgba(198, 119, 75, 0.2), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(103, 99, 92, 0.22), transparent 32%),
    radial-gradient(circle at 52% 70%, rgba(216, 115, 50, 0.12), transparent 36%),
    linear-gradient(160deg, rgba(4, 4, 4, 0.98), rgba(18, 17, 16, 0.96) 58%, rgba(5, 5, 5, 0.98));
  scrollbar-color: rgba(255, 255, 255, 0.42) rgba(255, 255, 255, 0.08);
}

.about-cv-row {
  display: grid;
  grid-template-columns: minmax(190px, 0.46fr) minmax(0, 1fr);
  gap: 24px;
  border-top: 1px solid #d7d7d7;
  padding: 14px 0 34px;
}

.about-cv-window .about-cv-row {
  border-top-color: rgba(255, 255, 255, 0.42);
}

.about-cv-row aside {
  color: #2c2c30;
  font-size: clamp(14px, 1.15vw, 20px);
  line-height: 1.22;
  font-weight: 560;
}

.about-cv-window .about-cv-row aside {
  color: rgba(255, 255, 255, 0.9);
}

.intro-row aside p {
  margin: 0 0 28px;
}

.about-cv-row a {
  color: inherit;
}

.about-cv-window .about-cv-row a {
  color: rgba(255, 255, 255, 0.96);
  text-decoration-color: rgba(255, 255, 255, 0.54);
}

.cv-lead {
  margin: 0;
  color: #252529;
  font-size: clamp(16px, 1.32vw, 22px);
  line-height: 1.34;
  font-weight: 560;
}

.about-cv-window .cv-lead {
  color: rgba(255, 255, 255, 0.94);
}

.cv-list {
  display: grid;
  gap: 24px;
  color: #252529;
  font-size: clamp(13px, 1vw, 17px);
  line-height: 1.42;
}

.about-cv-window .cv-list {
  color: rgba(255, 255, 255, 0.9);
}

.cv-list.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
}

.cv-list article,
.cv-list p {
  margin: 0;
}

.cv-list h3 {
  margin: 0 0 4px;
  font-size: inherit;
  line-height: 1.28;
  font-weight: 650;
}

.cv-list strong {
  font-weight: 650;
}

.cv-list em {
  color: #4f4f54;
  font-style: italic;
  font-weight: 400;
}

.about-cv-window .cv-list em {
  color: rgba(255, 255, 255, 0.66);
}

.cv-list ul {
  margin: 10px 0 0;
  padding-left: 1.1em;
}

.cv-list li {
  margin: 0 0 6px;
}

.large-placeholder {
  min-height: 430px;
  background:
    repeating-linear-gradient(90deg, transparent 0 64px, rgba(255, 255, 255, 0.08) 65px 66px),
    repeating-linear-gradient(0deg, transparent 0 64px, rgba(255, 255, 255, 0.08) 65px 66px),
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(80, 70, 63, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-eyebrow {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.4;
  text-transform: uppercase;
}

.project-detail-content h3 {
  margin-top: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.08;
}

.project-detail-content p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.62;
}

.project-facts {
  margin: 22px 0;
  padding-left: 1.1em;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.5;
}

.project-facts li {
  margin: 0 0 8px;
}

.project-outcome {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 16px;
}

@media (max-width: 980px) {
  .desktop-icon {
    transform: scale(0.86);
  }

  .selected-work-window {
    width: 92vw;
    height: 78vh;
  }

  .image-masonry {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
  }

  .capability-folders {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .project-intro {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .project-detail-content {
    grid-template-columns: 1fr;
  }

  .project-detail-media,
  .project-detail-media img,
  .project-detail-media video {
    min-height: 320px;
  }

  .spatial-gallery .image-masonry {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }

  .spatial-detail-copy {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .character-feed-masonry {
    column-count: 2;
  }
}

@media (max-width: 640px) {
  .system-bar {
    height: 36px;
  }

  .system-left {
    gap: 12px;
    font-size: 13px;
  }

  .system-left button:nth-of-type(n + 4) {
    display: none;
  }

  .system-bar time {
    font-size: 12px;
  }

  .desktop-icon {
    width: 170px;
    transform: scale(0.72);
    transform-origin: center;
  }

  .icon-about,
  .icon-flag,
  .icon-pdf,
  .icon-projects,
  .icon-reset {
    top: auto;
    bottom: 8%;
  }

  .icon-about {
    left: calc(10% - 85px);
  }

  .icon-flag {
    left: calc(30% - 85px);
  }

  .icon-pdf {
    left: calc(50% - 85px);
  }

  .icon-projects {
    left: calc(70% - 85px);
  }

  .icon-reset {
    left: calc(90% - 85px);
  }

  .popup-titlebar {
    height: 66px;
    gap: 18px;
    padding: 0 18px;
  }

  .dot {
    width: 13px;
    height: 13px;
  }

  .selected-work-window {
    top: 8%;
    width: 94vw;
    height: 82vh;
    border-radius: 20px;
  }

  .selected-work-content {
    height: calc(100% - 66px);
    padding: 14px 18px 36px;
  }

  .image-masonry {
    grid-template-columns: repeat(2, minmax(100px, 1fr));
    gap: 34px 18px;
  }

  .capability-folders {
    padding: 24px 0 42px;
  }

  .small-window,
  .cv-window,
  .project-detail-window {
    top: 12%;
    width: 92vw;
    min-width: 0;
    min-height: 330px;
    border-radius: 20px;
    resize: none;
  }

  .cv-window {
    height: 78vh;
  }

  .about-cv-content {
    height: calc(100% - 66px);
    padding: 18px 20px 42px;
  }

  .about-cv-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cv-list.two-col {
    grid-template-columns: 1fr;
  }

  .commerce-gallery .image-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .commerce-gallery .image-card em {
    grid-column: 1;
    grid-row: 2;
  }

  .commerce-gallery .image-card span {
    grid-column: 1;
    grid-row: 1;
    height: clamp(180px, 32vh, 260px);
  }

  .commerce-video-grid,
  .commerce-image-grid,
  .character-showcase-strip {
    align-items: flex-start;
  }

  .project-detail-content {
    height: calc(100% - 66px);
    padding: 18px 20px 36px;
  }

  .project-detail-media,
  .project-detail-media img,
  .project-detail-media video {
    min-height: 240px;
  }

  .spatial-gallery .image-masonry,
  .spatial-detail-media-grid,
  .spatial-media-row {
    grid-template-columns: 1fr;
  }

  .spatial-gallery .image-card,
  .spatial-gallery .image-card span,
  .spatial-work-hero-preview {
    min-height: 260px;
  }

  .spatial-detail-hero,
  .spatial-detail-hero img,
  .spatial-detail-hero video {
    max-height: 56vh;
  }

  .show-spatial-detail .spatial-detail-view[data-spatial-theme] {
    margin: -14px -18px -36px;
    padding: 14px 18px 36px;
  }

  .character-feed-masonry {
    column-count: 1;
  }
}
