/* ==========================================================================
   Jesper Landberg 1:1 Authentic Recreation
   3D Cylindrical Curved Plane Carousel, Perspective Grid, Word Matrix, Halo
   ========================================================================== */

:root {
  --bg: #000000;
  --text-main: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.55);
  --text-faint: rgba(255, 255, 255, 0.2);
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
  background-color: var(--bg);
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
  user-select: none;
  cursor: grab;
}

body:active {
  cursor: grabbing;
}

/* ==========================================================================
   3D WEBGL CANVAS
   ========================================================================== */
#webgl-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  display: block;
}

/* ==========================================================================
   FLOATING EDGE LABELS (Jesper Signature Neighbor Indicators)
   ========================================================================== */
.floating-edge-label {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.38);
  pointer-events: none;
  z-index: 15;
  transition: opacity 0.35s ease;
  white-space: nowrap;
}
.edge-left {
  left: 48px;
}
.edge-right {
  right: 48px;
}

/* ==========================================================================
   FIXED VIEWPORT CHROME (Pixel-Exact to Jesper Landberg)
   ========================================================================== */
.chrome-corner {
  position: fixed;
  z-index: 60;
  pointer-events: auto;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-main);
}

.chrome-top-left {
  top: 36px;
  left: 48px;
}
.brand-link {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  letter-spacing: 0.12em;
  font-size: 11.5px;
  transition: opacity 0.25s;
}
.brand-link:hover {
  opacity: 0.6;
}

.chrome-top-right {
  top: 36px;
  right: 48px;
}
.btn-chrome {
  background: transparent;
  border: none;
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.25s;
}
.btn-chrome:hover {
  opacity: 0.6;
}

.chrome-bottom-left {
  bottom: 36px;
  left: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.view-btn {
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  letter-spacing: 0.12em;
  opacity: 0.45;
  transition: opacity 0.25s;
  padding: 0;
}
.view-btn.active {
  opacity: 1;
}
.view-btn:hover {
  opacity: 1;
}
.view-sep {
  opacity: 0.3;
}

.chrome-bottom-right {
  bottom: 36px;
  right: 48px;
}
.contact-link {
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  transition: opacity 0.25s;
  cursor: pointer;
}
.contact-link:hover {
  opacity: 0.6;
}

.interaction-hint {
  position: fixed;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.32);
  pointer-events: none;
}

/* ==========================================================================
   VIEW: FULL ARCHIVE (Word Cloud Typography Matrix)
   ========================================================================== */
.view-matrix-container {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 40px;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s var(--ease-out), visibility 0.45s;
}
.view-matrix-container.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.matrix-content {
  max-width: 1100px;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 14px;
  line-height: 1.5;
}

.matrix-item {
  font-size: clamp(22px, 2.7vw, 36px);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: #ffffff;
  cursor: pointer;
  transition: color 0.25s ease, transform 0.25s ease, text-shadow 0.25s ease;
  display: inline-flex;
  align-items: center;
}

/* Jesper authentic hover focus effect: others dim, hovered item glows */
.matrix-content:hover .matrix-item {
  color: rgba(255, 255, 255, 0.24);
}
.matrix-content .matrix-item:hover {
  color: #ffffff !important;
  transform: scale(1.04);
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.6);
}
.matrix-sep {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.22);
  margin: 0 4px;
}

/* ==========================================================================
   VIEW: PROFILE / HALO MODAL (Gravitational Lens Effect)
   ========================================================================== */
.view-profile-container {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #000000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out), visibility 0.5s;
}
.view-profile-container.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Authentic Gravitational Lens & Chromatic Aberration Ring */
.profile-halo-ring {
  position: absolute;
  width: min(720px, 86vw);
  height: min(720px, 86vw);
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    circle at center,
    transparent 58%,
    rgba(255, 255, 255, 0.08) 64%,
    rgba(0, 220, 255, 0.22) 69%,
    rgba(255, 20, 140, 0.24) 73%,
    rgba(255, 255, 255, 0.16) 77%,
    transparent 82%
  );
  filter: blur(1.5px);
  animation: halo-rotate 28s linear infinite;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.95), 0 0 100px rgba(255, 255, 255, 0.04);
}

.profile-halo-ring::before {
  content: "";
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  animation: halo-counter-rotate 35s linear infinite;
}

@keyframes halo-rotate {
  from { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.02); }
  to { transform: rotate(360deg) scale(1); }
}

@keyframes halo-counter-rotate {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.profile-inner-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  text-align: center;
  padding: 32px;
}

.profile-hero-statement {
  font-size: clamp(14px, 1.35vw, 16.5px);
  line-height: 1.75;
  color: #ffffff;
  font-weight: 400;
  margin-bottom: 26px;
  letter-spacing: -0.015em;
}

.profile-awards-stats {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 38px;
}

.profile-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.profile-link-item {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s, color 0.2s;
}
.profile-link-item:hover {
  opacity: 1;
  color: #ffffff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   VIEW: PROJECT DETAIL MODAL (Expansive Cinematic Large-Screen Modal)
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-out), visibility 0.35s;
}
.drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.drawer-panel {
  position: relative;
  width: min(1240px, 94vw);
  max-height: 88vh;
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  box-shadow: 0 35px 120px rgba(0, 0, 0, 0.95), 0 0 1px 1px rgba(255, 255, 255, 0.08);
  overflow-y: auto;
  padding: 44px 54px 60px 54px;
  transform: scale(0.95) translateY(12px);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}
.drawer-backdrop.is-open .drawer-panel {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.drawer-panel::-webkit-scrollbar {
  width: 8px;
}
.drawer-panel::-webkit-scrollbar-track {
  background: transparent;
}
.drawer-panel::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}
.drawer-panel::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

.drawer-close {
  position: sticky;
  top: 0;
  float: right;
  margin-top: -10px;
  margin-right: -14px;
  background: #181818;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s var(--ease-out);
  z-index: 30;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}
.drawer-close:hover {
  background: #ffffff;
  color: #000000;
  transform: scale(1.08);
}

.drawer-header-row {
  margin-bottom: 24px;
  padding-right: 50px;
}

.drawer-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.drawer-title {
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 10px;
}
.drawer-role {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 0;
  font-family: var(--font-mono);
}

.drawer-showcase-box {
  width: 100%;
  height: min(520px, 54vh);
  background: #000000;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  margin-bottom: 24px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}
.drawer-showcase-box img,
.drawer-showcase-box video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
}

/* Scrollable Long Strip Viewer */
.waterfall-hero-viewer {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  background: #080808;
  display: block;
  text-align: center;
  scroll-behavior: smooth;
}
.waterfall-hero-viewer::-webkit-scrollbar {
  width: 7px;
}
.waterfall-hero-viewer::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 4px;
}
.long-strip-scrollable {
  width: 100% !important;
  max-width: 680px !important;
  height: auto !important;
  object-fit: initial !important;
  display: block;
  margin: 0 auto;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.9);
}
.waterfall-scroll-indicator {
  position: sticky;
  top: 14px;
  float: right;
  margin-right: 18px;
  z-index: 10;
  font-family: var(--font-mono);
  font-size: 11px;
  background: rgba(0, 0, 0, 0.85);
  color: #00e5ff;
  border: 1px solid rgba(0, 229, 255, 0.35);
  padding: 6px 14px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

/* Horizontal Mobile UI Waterfall Loop inside Large-Screen Modal */
.hwaterfall-viewer {
  position: relative;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 45%, rgba(218, 168, 108, 0.12), #090807 72%);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hwaterfall-viewer::before,
.hwaterfall-viewer::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 72px;
  z-index: 6;
  pointer-events: none;
}
.hwaterfall-viewer::before {
  left: 0;
  background: linear-gradient(90deg, #090807 0%, rgba(9, 8, 7, 0) 100%);
}
.hwaterfall-viewer::after {
  right: 0;
  background: linear-gradient(270deg, #090807 0%, rgba(9, 8, 7, 0) 100%);
}
.hwaterfall-indicator {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 10;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 240, 218, 0.86);
  background: rgba(9, 8, 7, 0.82);
  border: 1px solid rgba(232, 196, 154, 0.28);
  padding: 6px 14px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  pointer-events: none;
}
.hwaterfall-track {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 30px;
  width: max-content;
  will-change: transform;
  animation: hwaterfall-marquee 34s linear infinite;
}
.hwaterfall-track:has(.hwaterfall-card:hover) {
  animation-play-state: paused;
}
@keyframes hwaterfall-marquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}
.hwaterfall-card {
  flex: 0 0 auto;
  width: 190px;
  height: 406px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(232, 196, 154, 0.25);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.72);
  transform: translateY(-10px);
  transition: transform 0.35s var(--ease-out), border-color 0.25s, box-shadow 0.35s;
}
.hwaterfall-card.is-offset {
  transform: translateY(14px);
}
.hwaterfall-card:hover {
  transform: translateY(-4px) scale(1.04);
  border-color: rgba(232, 196, 154, 0.65);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.9);
  z-index: 4;
}
.hwaterfall-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hwaterfall-card-label {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 5px 10px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(12, 10, 8, 0.78);
  backdrop-filter: blur(8px);
  text-align: center;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s, transform 0.25s;
}
.hwaterfall-card:hover .hwaterfall-card-label {
  opacity: 1;
  transform: translateY(0);
}

/* Baocaocang Cinema Ken Burns + 3D Pouch Flip Stage */
.baocaocang-modal-stage {
  display: grid;
  grid-template-columns: 1fr 310px;
  width: 100%;
  height: 100%;
  background: #0a0907;
  overflow: hidden;
}
.baocaocang-cinema-pane {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #090807;
}
.baocaocang-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
  pointer-events: none;
}
.baocaocang-slide.is-active {
  opacity: 1;
}
.baocaocang-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  display: block;
  transform: scale(1.02);
}
.baocaocang-slide.is-active img {
  animation: baocao-kenburns 6s ease-out forwards;
}
@keyframes baocao-kenburns {
  0% {
    transform: scale(1.01) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.10) translate3d(-1.5%, -1%, 0);
  }
}
.baocaocang-cinema-pane::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(9, 8, 7, 0.72) 0%, rgba(9, 8, 7, 0) 32%);
  pointer-events: none;
}
.baocaocang-chapters {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 6;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.baocaocang-chap-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 240, 214, 0.75);
  background: rgba(10, 9, 7, 0.72);
  border: 1px solid rgba(242, 206, 146, 0.25);
  padding: 5px 11px;
  border-radius: 16px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.22s;
}
.baocaocang-chap-btn:hover,
.baocaocang-chap-btn.is-active {
  color: #0b0a08;
  background: #f2ce92;
  border-color: #f2ce92;
  font-weight: 600;
}

.baocaocang-pouch-pane {
  position: relative;
  height: 100%;
  background: radial-gradient(circle at 50% 42%, rgba(242, 206, 146, 0.14), #0e0c0a 75%);
  border-left: 1px solid rgba(242, 206, 146, 0.16);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px;
  perspective: 1200px;
}
.baocaocang-pouch-3d {
  width: 244px;
  height: 252px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}
.baocaocang-pouch-3d:hover {
  transform: scale(1.03);
}
.baocaocang-pouch-3d.is-flipped {
  transform: rotateY(180deg);
}
.baocaocang-pouch-3d.is-flipped:hover {
  transform: rotateY(180deg) scale(1.03);
}
.baocaocang-pouch-face {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border: 1px solid rgba(242, 206, 146, 0.42);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.72);
}
.baocaocang-pouch-face img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  display: block;
}
.baocaocang-pouch-back {
  transform: rotateY(180deg);
}
.baocaocang-pouch-caption {
  font-family: var(--font-mono);
  font-size: 11px;
  text-align: center;
  color: rgba(255, 236, 198, 0.86);
  background: rgba(16, 14, 11, 0.85);
  border: 1px solid rgba(242, 206, 146, 0.25);
  padding: 6px 12px;
  border-radius: 16px;
}

@media (max-width: 820px) {
  .baocaocang-modal-stage {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 220px;
  }
  .baocaocang-pouch-pane {
    border-left: none;
    border-top: 1px solid rgba(242, 206, 146, 0.16);
    flex-direction: row;
  }
  .baocaocang-pouch-3d {
    width: 164px;
    height: 170px;
  }
}

/* Hanfu Interactive Scatter Stage inside Large-Screen Modal */
.hanfu-modal-stage {
  position: relative;
  width: 100%;
  height: 100%;
  background: #090808;
  overflow: hidden;
}
.hanfu-modal-stage canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.hanfu-stage-controls {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hanfu-stage-hint {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 244, 226, 0.78);
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 6px 12px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  pointer-events: none;
}
.hanfu-reshuffle-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: #0b0a09;
  background: #e8c49a;
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), background 0.2s;
}
.hanfu-reshuffle-btn:hover {
  background: #f5dbb8;
  transform: scale(1.05);
}

.drawer-content-columns {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 48px;
  margin-top: 28px;
}

.drawer-section {
  margin-bottom: 30px;
}
.drawer-section-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-desc {
  font-size: 15px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.88);
}

.drawer-grid-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 28px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.meta-block-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.meta-block-val {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.5;
}

.drawer-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.drawer-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.88);
}

.drawer-deliverables {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.drawer-deliverables li {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.84);
  position: relative;
  padding-left: 20px;
}
.drawer-deliverables li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.4);
}

/* Gallery Thumbnails Grid */
.drawer-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.gallery-thumb-item {
  position: relative;
  height: 98px;
  background: #141414;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.22s var(--ease-out);
}
.gallery-thumb-item:hover {
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}
.gallery-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumb-label {
  position: absolute;
  bottom: 0;
  inset-x: 0;
  font-size: 9.5px;
  font-family: var(--font-mono);
  background: rgba(0, 0, 0, 0.82);
  padding: 4px 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   RESPONSIVE QUERIES
   ========================================================================== */
@media (max-width: 900px) {
  .drawer-content-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .chrome-top-left { top: 22px; left: 24px; }
  .chrome-top-right { top: 22px; right: 24px; }
  .chrome-bottom-left { bottom: 22px; left: 24px; }
  .chrome-bottom-right { bottom: 22px; right: 24px; }
  .floating-edge-label { display: none; }
  .drawer-backdrop { padding: 14px; }
  .drawer-panel {
    width: 100%;
    max-height: 94vh;
    padding: 30px 20px 48px 20px;
    border-radius: 18px;
  }
  .drawer-showcase-box {
    height: 280px;
  }
}
