/* ==========================================================================
   DYLAN (邱炫皓) · 私人光学影碟放映室 (Reactive Atmosphere + 8-Volume Crates)
   ========================================================================== */

:root {
  --bg: #08080c;
  --surface: rgba(18, 18, 25, 0.78);
  --surface-solid: #111118;
  --surface-2: rgba(28, 28, 38, 0.86);
  --ink: #f4f1ea;
  --ink-muted: #989ca8;
  --ink-faint: rgba(244, 241, 234, 0.45);
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.28);
  --accent: #e53924;
  --accent-soft: rgba(229, 57, 36, 0.2);
  --disc-glow: 229, 57, 36;
  --ambient-opacity: 0.48;
  --sleeve-shadow: 0 30px 65px rgba(0, 0, 0, 0.82);
  --sleeve-size: clamp(216px, min(26vw, 31vh), 268px);
  --header-h: 58px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);

  --font-sans: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;
}

body[data-safe-area="island"] {
  --safe-top: 59px;
  --safe-bottom: 34px;
}

body[data-safe-area="none"] {
  --safe-top: 0px;
  --safe-bottom: 0px;
}

body[data-theme="light"] {
  --bg: #f3efe6;
  --surface: rgba(235, 229, 218, 0.82);
  --surface-solid: #e9e3d7;
  --surface-2: rgba(222, 215, 200, 0.9);
  --ink: #111114;
  --ink-muted: #56554f;
  --ink-faint: rgba(17, 17, 20, 0.48);
  --border: rgba(17, 17, 20, 0.13);
  --border-strong: rgba(17, 17, 20, 0.28);
  --accent: #d42b16;
  --accent-soft: rgba(212, 43, 22, 0.14);
  --ambient-opacity: 0.28;
  --sleeve-shadow: 0 26px 52px rgba(17, 17, 20, 0.22);
}

body[data-theme="light"] .plaque-meta,
body[data-theme="light"] .boxes-kicker {
  filter: brightness(0.72) saturate(1.25);
}

body[data-theme="light"] .folder-back-plate {
  box-shadow: 0 14px 30px rgba(17, 17, 20, 0.16);
}

body[data-theme="light"] .folder-back-plate::after {
  background: radial-gradient(ellipse at center, rgba(17, 17, 20, 0.16), transparent 72%);
}

body[data-theme="light"] .box-front-lid {
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.18), 0 16px 34px rgba(17, 17, 20, 0.2);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.55;
  overflow-x: hidden;
  overflow-x: clip;
  transition: background-color 0.35s ease, color 0.35s ease;
  -webkit-font-smoothing: antialiased;
}

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

button,
input {
  font-family: inherit;
  color: inherit;
}

img,
video {
  display: block;
}

/* ==========================================================================
   Minimal Top Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 clamp(14px, 3vw, 36px);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  pointer-events: none;
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s ease,
    background-color 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

body:not(.is-ready) .site-header {
  opacity: 0;
  transform: translateY(-100%);
}

.site-header.is-scrolled {
  pointer-events: auto;
  background: var(--surface);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.header-left,
.header-right {
  pointer-events: auto;
}

.header-left {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-width: 0;
}

.brand-signature {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-weight: 800;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.brand-en {
  font-size: 16px;
}

.brand-dot {
  color: var(--accent);
}

.brand-cn {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
}

.header-subtitle {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  white-space: nowrap;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.search-pill input {
  width: 196px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  background: color-mix(in srgb, var(--bg) 42%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 12px;
  outline: none;
  transition: width 0.25s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.search-pill input:focus {
  width: 240px;
  border-color: rgba(var(--disc-glow), 0.7);
  background: var(--surface);
}

.icon-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  background: color-mix(in srgb, var(--bg) 42%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.16s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.icon-pill-btn:hover,
.icon-pill-btn.is-on,
.icon-pill-btn.is-active {
  color: var(--ink);
  border-color: var(--border-strong);
  background: var(--surface-2);
}

.icon-pill-btn.is-active {
  border-color: rgba(var(--disc-glow), 0.72);
  box-shadow: 0 0 18px rgba(var(--disc-glow), 0.18);
}

.icon-pill-btn:active,
.pack-back-btn:active,
.box-pill-btn:active,
.sub-div-chip:active,
.format-chip:active,
.stage-arrow:active,
.btn-insert-disc:active,
.btn-outline-subtle:active,
.deck-pill-btn:active,
.transport-btn:active,
.copy-btn:active {
  transform: scale(0.95);
}

.sound-eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 11px;
  opacity: 0.45;
  transition: opacity 0.2s ease;
}

.sound-eq i {
  display: block;
  width: 2px;
  height: 11px;
  border-radius: 2px;
  background: currentColor;
  transform-origin: bottom center;
  transform: scaleY(0.32);
  transition: transform 0.2s ease;
}

#sound-toggle-btn.is-on .sound-eq {
  opacity: 1;
  color: rgb(var(--disc-glow));
}

#sound-toggle-btn.is-on .sound-eq i:nth-child(1) { animation: soundBarWave 0.75s ease-in-out infinite alternate; }
#sound-toggle-btn.is-on .sound-eq i:nth-child(2) { animation: soundBarWave 0.55s ease-in-out 0.15s infinite alternate; }
#sound-toggle-btn.is-on .sound-eq i:nth-child(3) { animation: soundBarWave 0.65s ease-in-out 0.3s infinite alternate; }

@keyframes soundBarWave {
  from { transform: scaleY(0.28); }
  to { transform: scaleY(1); }
}

.mobile-search-toggle {
  display: none;
}

.hide-xs-inline {
  font-style: normal;
}

.hint-mobile-only {
  display: none;
}

.mobile-preview-trigger[hidden],
body[data-embed="mobile"] .mobile-preview-trigger {
  display: none !important;
}

html.is-embed-mobile,
html.is-embed-mobile body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html.is-embed-mobile::-webkit-scrollbar,
html.is-embed-mobile body::-webkit-scrollbar {
  display: none;
}

.binder-trigger-btn {
  border-color: rgba(var(--disc-glow), 0.45);
  color: var(--ink);
}

.stage-portal-pill {
  border-color: rgba(var(--disc-glow), 0.78);
  color: var(--ink);
  box-shadow: 0 0 18px rgba(var(--disc-glow), 0.2);
}

body[data-stage-view="home"] .stage-portal-pill {
  display: none;
}

/* Gallery-consistent ink across all stages on Light mode ivory background */

.theme-dot-btn {
  --theme-rot: 0deg;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  background: color-mix(in srgb, var(--bg) 42%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.theme-glyph {
  display: inline-block;
  line-height: 1;
  transform: rotate(var(--theme-rot));
  transition: transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

.theme-dot-btn:hover {
  transform: scale(1.06);
  border-color: var(--border-strong);
}

.theme-dot-btn:active {
  transform: scale(0.92);
}

/* ==========================================================================
   CHAPTER 01: 5-LAYER REACTIVE CINEMA ATMOSPHERE & 3D STAGE
   ========================================================================== */
.disc-stage-section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 16px) clamp(14px, 3vw, 36px) 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 1fr;
  border-bottom: none;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.52s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.44s ease;
}

.disc-stage-section.is-preparing-cinema {
  transform: scale(1.012);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.disc-stage-section.is-entering-cinema {
  transform: scale(1.032);
  opacity: 0.72;
}

/* Atmosphere Container */
.stage-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Bottom atmospheric melt so Act 1/2 glow/particles dissolve seamlessly into Chapter 02 */
.stage-atmosphere::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(76px, 11vh, 136px);
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(8, 8, 12, 0.74) 60%,
    var(--bg) 98%,
    var(--bg) 100%
  );
  background: linear-gradient(
    180deg,
    transparent 0%,
    color-mix(in srgb, var(--bg) 74%, transparent) 60%,
    var(--bg) 98%,
    var(--bg) 100%
  );
}

/* Layer 1: Dual Crossfading Poster Color-Wash */
.ambient-wash-wrap {
  position: absolute;
  inset: -40px;
}

.ambient-bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(68px) saturate(1.9) contrast(1.1);
  transform: scale(1.22);
  opacity: 0;
  transition: opacity 0.85s ease;
  animation: ambientDrift 22s ease-in-out infinite alternate;
  will-change: opacity, transform;
}

.ambient-bg-layer.is-visible {
  opacity: var(--ambient-opacity);
}

@keyframes ambientDrift {
  0% { transform: scale(1.2) translate3d(-1.5%, -1%, 0); }
  100% { transform: scale(1.3) translate3d(1.5%, 1.5%, 0); }
}

.ambient-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 68% 58% at 50% 45%, rgba(var(--disc-glow), 0.16) 0%, transparent 65%),
    radial-gradient(ellipse 85% 78% at 50% 46%, transparent 25%, rgba(8, 8, 12, 0.88) 85%, var(--bg) 100%);
  background:
    radial-gradient(ellipse 68% 58% at 50% 45%, rgba(var(--disc-glow), 0.16) 0%, transparent 65%),
    radial-gradient(ellipse 85% 78% at 50% 46%, transparent 25%, color-mix(in srgb, var(--bg) 88%, transparent) 85%, var(--bg) 100%);
}

/* Layer 2: Anamorphic Projector Top Cone Beam */
.projector-beam {
  position: absolute;
  top: -12%;
  left: 50%;
  width: min(920px, 110vw);
  height: 72%;
  transform: translateX(-50%);
  background: conic-gradient(
    from 164deg at 50% 0%,
    transparent 0deg,
    rgba(var(--disc-glow), 0.16) 14deg,
    rgba(255, 255, 255, 0.08) 16deg,
    rgba(var(--disc-glow), 0.16) 18deg,
    transparent 32deg
  );
  filter: blur(22px);
  opacity: 0.85;
  transition: background 0.7s ease, opacity 0.9s ease 0.1s, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}

body:not(.is-ready) .projector-beam {
  opacity: 0;
  transform: translateX(-50%) scaleY(0.75);
}

/* Layer 3: 35mm Optical Lens Astrolabe SVG */
.optical-astrolabe {
  position: absolute;
  top: 46%;
  left: 50%;
  width: clamp(460px, 56vw, 760px);
  aspect-ratio: 1;
  --parallax-x: 0px;
  --parallax-y: 0px;
  transform: translate3d(calc(-50% + var(--parallax-x, 0px)), calc(-50% + var(--parallax-y, 0px)), 0);
  color: rgba(var(--disc-glow), 0.72);
  opacity: 0.55;
  transition: color 0.6s ease, opacity 0.85s ease 0.14s;
}

body.is-staggering .optical-astrolabe {
  transition: color 0.6s ease, opacity 0.85s ease 0.14s, transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

body:not(.is-ready) .optical-astrolabe {
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(0.9);
}

.optical-astrolabe svg {
  width: 100%;
  height: 100%;
  animation: slowAstrolabe 68s linear infinite;
}

@keyframes slowAstrolabe {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Layer 4: Projector Dust Motes Canvas */
#stage-particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.75;
}

/* Layer 5: Parallax Depth Watermark */
.stage-watermark {
  position: absolute;
  top: 48%;
  left: 50%;
  --parallax-x: 0px;
  --parallax-y: 0px;
  transform: translate3d(calc(-50% + var(--parallax-x, 0px)), calc(-50% + var(--parallax-y, 0px)), 0) scale(1);
  font-size: clamp(64px, 12vw, 180px);
  font-weight: 900;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: var(--ink);
  opacity: 0.04;
  user-select: none;
  transition: opacity 0.24s ease;
}

.stage-watermark.is-changing {
  opacity: 0.008;
}

/* ==========================================================================
   ACT 0: FULL-BLEED CINEMA SHOWREEL BACKDROP & PROLOGUE HOMEPAGE
   ========================================================================== */
.hero-cinema-bleed {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  background: #08080c;
  pointer-events: none;
  opacity: 0;
  transform: scale(1.12);
  will-change: opacity, transform;
  transition:
    opacity 0.56s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.68s cubic-bezier(0.16, 1, 0.3, 1),
    border-radius 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    inset 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s ease;
}

.disc-stage-section[data-stage-mode="home"] .hero-cinema-bleed {
  opacity: 1;
  transform: scale(1);
}

.disc-stage-section[data-stage-mode="home"] .ambient-bg-layer,
.disc-stage-section[data-stage-mode="carousel"] .ambient-bg-layer,
.disc-stage-section[data-stage-mode="home"] .optical-astrolabe svg {
  animation-play-state: paused;
}

body[data-theme="dark"] .disc-stage-section[data-stage-mode="home"] .ambient-wash-wrap,
body[data-theme="dark"] .disc-stage-section[data-stage-mode="home"] .projector-beam,
body[data-theme="dark"] .disc-stage-section[data-stage-mode="home"] .optical-astrolabe,
body[data-theme="dark"] .disc-stage-section[data-stage-mode="home"] #stage-particles-canvas,
body[data-theme="dark"] .disc-stage-section[data-stage-mode="home"] .stage-watermark {
  visibility: hidden;
}

.hero-reel-poster {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.03);
  transition: none;
  will-change: opacity;
}

.hero-reel-poster.is-visible {
  opacity: 1;
}

.hero-reel-poster.is-dissolving {
  transition: opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes heroPosterDrift {
  0% { transform: scale(1.03) translate3d(-0.6%, -0.4%, 0); }
  100% { transform: scale(1.08) translate3d(0.6%, 0.4%, 0); }
}

.hero-reel-video {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.045);
  transition: none;
  will-change: opacity, transform;
}

.hero-reel-video.is-video-live {
  opacity: 1;
  transform: scale(1.02);
}

.hero-reel-video.is-dissolving {
  transition:
    opacity 1.08s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-cinema-scrim {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 8, 12, 0.76) 0%, transparent 8%, transparent 92%, rgba(8, 8, 12, 0.76) 100%),
    radial-gradient(ellipse 68% 54% at 50% 46%, rgba(8, 8, 12, 0.24) 0%, rgba(8, 8, 12, 0.72) 100%),
    linear-gradient(180deg, rgba(8, 8, 12, 0.76) 0%, rgba(8, 8, 12, 0.2) 24%, rgba(8, 8, 12, 0.38) 56%, rgba(8, 8, 12, 0.88) 84%, #08080c 98.5%, #08080c 100%),
    radial-gradient(ellipse 62% 50% at 50% 46%, rgba(var(--disc-glow), 0.14) 0%, transparent 72%);
  transition: background 0.6s ease;
}

/* Light theme: Museum-framed rounded projection screen on #f3efe6 ivory wall */
body[data-theme="light"] .hero-cinema-bleed {
  inset: calc(var(--header-h) + 6px) clamp(14px, 2.4vw, 32px) clamp(18px, 2.4vh, 28px);
  border-radius: 26px;
  box-shadow:
    0 26px 64px rgba(17, 17, 20, 0.2),
    0 0 0 1px rgba(17, 17, 20, 0.08);
}

body[data-theme="light"] .hero-cinema-scrim {
  background:
    radial-gradient(ellipse 70% 56% at 50% 46%, rgba(8, 9, 14, 0.22) 0%, rgba(8, 9, 14, 0.68) 100%),
    linear-gradient(180deg, rgba(8, 9, 14, 0.66) 0%, rgba(8, 9, 14, 0.18) 26%, rgba(8, 9, 14, 0.36) 58%, rgba(8, 9, 14, 0.86) 100%),
    radial-gradient(ellipse 62% 50% at 50% 46%, rgba(var(--disc-glow), 0.14) 0%, transparent 72%);
}

/* ==========================================================================
   ACT 0 / ACT 1 / ACT 2 STAGE VISIBILITY (PORTAL PUSH-THROUGH STACK)
   ========================================================================== */
.hero-prologue-stage,
.collector-boxes-stage,
.opened-crate-layer {
  grid-area: 1 / 1;
  width: 100%;
  min-width: 0;
}

.disc-stage-section[data-stage-mode="home"] .hero-prologue-stage {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 6;
  touch-action: none;
  transform: translate3d(0, 0, 0) scale(1);
  transition:
    opacity 0.48s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.58s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s linear 0s;
}

.disc-stage-section[data-stage-mode="home"] .collector-boxes-stage {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  max-height: calc(100vh - var(--header-h) - var(--safe-top) - var(--safe-bottom) - 24px);
  max-height: calc(100svh - var(--header-h) - var(--safe-top) - var(--safe-bottom) - 24px);
  overflow: hidden;
  transform: translate3d(0, 22px, 0) scale(0.92);
  transition:
    opacity 0.36s ease,
    transform 0.48s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s linear 0.48s;
}

.disc-stage-section[data-stage-mode="home"] .opened-crate-layer {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  max-height: calc(100vh - var(--header-h) - var(--safe-top) - var(--safe-bottom) - 24px);
  max-height: calc(100svh - var(--header-h) - var(--safe-top) - var(--safe-bottom) - 24px);
  overflow: hidden;
  transform: translate3d(0, 18px, 0) scale(0.96);
  transition: opacity 0.3s ease, transform 0.36s ease, visibility 0s linear 0.36s;
}

.disc-stage-section:not([data-stage-mode="home"]) .hero-prologue-stage {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  max-height: calc(100vh - var(--header-h) - var(--safe-top) - var(--safe-bottom) - 24px);
  max-height: calc(100svh - var(--header-h) - var(--safe-top) - var(--safe-bottom) - 24px);
  overflow: hidden;
  transform: translate3d(0, -10px, 0) scale(1.09);
  transition:
    opacity 0.38s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.56s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s linear 0.56s;
}

.disc-stage-section[data-stage-mode="boxes"] .collector-boxes-stage {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
  transition: opacity 0.48s cubic-bezier(0.16, 1, 0.3, 1) 0.04s, transform 0.56s cubic-bezier(0.16, 1, 0.3, 1) 0.04s, visibility 0s linear 0s;
}

.disc-stage-section[data-stage-mode="boxes"] .opened-crate-layer {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  max-height: calc(100vh - var(--header-h) - var(--safe-top) - var(--safe-bottom) - 24px);
  max-height: calc(100svh - var(--header-h) - var(--safe-top) - var(--safe-bottom) - 24px);
  overflow: hidden;
  transform: translate3d(0, 16px, 0) scale(0.98);
  transition: opacity 0.3s ease, transform 0.36s ease, visibility 0s linear 0.36s;
}

.disc-stage-section[data-stage-mode="opening"] .collector-boxes-stage {
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  transform: translate3d(0, -10px, 0) scale(1.02);
  transition: opacity 0.3s ease 0.14s, transform 0.42s cubic-bezier(0.22, 1, 0.36, 1) 0.06s;
}

.disc-stage-section[data-stage-mode="opening"] .opened-crate-layer {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  max-height: calc(100vh - var(--header-h) - var(--safe-top) - var(--safe-bottom) - 24px);
  max-height: calc(100svh - var(--header-h) - var(--safe-top) - var(--safe-bottom) - 24px);
  overflow: hidden;
}

.disc-stage-section[data-stage-mode="carousel"] .collector-boxes-stage {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  max-height: calc(100vh - var(--header-h) - var(--safe-top) - var(--safe-bottom) - 24px);
  max-height: calc(100svh - var(--header-h) - var(--safe-top) - var(--safe-bottom) - 24px);
  overflow: hidden;
  transform: translate3d(0, -10px, 0) scale(1.02);
  transition: opacity 0.36s ease, transform 0.44s ease, visibility 0s linear 0.44s;
}

.disc-stage-section[data-stage-mode="carousel"] .opened-crate-layer {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
  transition: opacity 0.42s ease 0.04s, transform 0.48s cubic-bezier(0.16, 1, 0.3, 1) 0.04s, visibility 0s linear 0s;
}

.stage-top-bar,
.disc-plaque,
.spine-rack-wrap {
  transition: opacity 0.38s ease, transform 0.44s cubic-bezier(0.22, 1, 0.36, 1);
}

.disc-stage-section[data-stage-mode="home"] .stage-top-bar,
.disc-stage-section[data-stage-mode="boxes"] .stage-top-bar,
.disc-stage-section[data-stage-mode="opening"] .stage-top-bar {
  opacity: 0;
  transform: translateY(-10px);
}

.disc-stage-section[data-stage-mode="home"] .disc-plaque,
.disc-stage-section[data-stage-mode="boxes"] .disc-plaque,
.disc-stage-section[data-stage-mode="opening"] .disc-plaque,
.disc-stage-section[data-stage-mode="home"] .spine-rack-wrap,
.disc-stage-section[data-stage-mode="boxes"] .spine-rack-wrap,
.disc-stage-section[data-stage-mode="opening"] .spine-rack-wrap {
  opacity: 0;
  transform: translateY(14px);
}

.disc-stage-section[data-stage-mode="carousel"] .stage-top-bar {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.05s;
}

.disc-stage-section[data-stage-mode="carousel"] .disc-plaque {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.disc-stage-section[data-stage-mode="carousel"] .spine-rack-wrap {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}

.disc-stage-section[data-stage-mode="closing"] .collector-boxes-stage {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 12px, 0) scale(0.96);
}

.disc-stage-section[data-stage-mode="closing"] .opened-crate-layer {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
}

.disc-stage-section[data-stage-mode="closing"] .stage-top-bar,
.disc-stage-section[data-stage-mode="closing"] .disc-plaque,
.disc-stage-section[data-stage-mode="closing"] .spine-rack-wrap {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.26s ease, transform 0.28s ease;
}

/* Prologue Homepage UI Composition */
.hero-prologue-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  gap: clamp(14px, 2.2vh, 26px);
  padding: clamp(6px, 1.4vh, 16px) 0 0;
  color: #f6f4ef;
}

body[data-theme="light"] .hero-prologue-stage {
  padding: clamp(12px, 2vh, 22px) clamp(14px, 2.2vw, 28px) clamp(26px, 3.4vh, 38px);
}

.hero-reel-hud {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: min(680px, 92vw);
  transition: opacity 0.52s ease 0.08s, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
}

body:not(.is-ready) .hero-reel-hud {
  opacity: 0;
  transform: translateY(-10px);
}

.hero-reel-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 12, 18, 0.52);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(246, 244, 239, 0.88);
}

.hero-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgb(var(--disc-glow));
  box-shadow: 0 0 10px rgba(var(--disc-glow), 0.95);
  flex-shrink: 0;
  animation: heroLivePulse 1.8s ease-in-out infinite;
}

@keyframes heroLivePulse {
  0%, 100% { opacity: 0.55; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.18); }
}

.hero-reel-meta-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  transition: opacity 0.28s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-reel-meta-text.is-switching {
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.hero-reel-index {
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  flex-shrink: 0;
}

.hero-reel-sep {
  opacity: 0.45;
  flex-shrink: 0;
}

.hero-reel-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(246, 244, 239, 0.78);
}

.hero-reel-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-reel-dot-btn {
  width: 16px;
  height: 3px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.24);
  cursor: pointer;
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.25s ease, box-shadow 0.25s ease;
}

.hero-reel-dot-btn:hover {
  background: rgba(255, 255, 255, 0.52);
}

.hero-reel-dot-btn.is-active {
  width: 30px;
  background: rgb(var(--disc-glow));
  box-shadow: 0 0 12px rgba(var(--disc-glow), 0.72);
}

.hero-centerpiece {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(880px, 94vw);
  margin: auto 0;
  transition: opacity 0.62s ease 0.12s, transform 0.68s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}

.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;
}

.hero-monument-title,
.hero-monument-title.hero-glass-signature {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: clamp(-6px, -0.6vh, 0px) 0 clamp(6px, 1.2vh, 14px);
  --sig-rx: 0deg;
  --sig-ry: 0deg;
  perspective: 900px;
  transform: rotateX(var(--sig-rx, 0deg)) rotateY(var(--sig-ry, 0deg));
  will-change: transform;
  cursor: pointer;
  user-select: none;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-glass-signature:hover {
  transform: rotateX(var(--sig-rx, 0deg)) rotateY(var(--sig-ry, 0deg)) translateY(-2px) scale(1.018);
}

.hero-signature-svg {
  width: clamp(320px, 42vw, 560px);
  height: auto;
  overflow: visible;
  display: block;
}

.hero-signature-svg.is-writing {
  animation: heroGlassIdleFloat 6.2s ease-in-out 2.55s infinite alternate;
  will-change: transform;
}

@keyframes heroGlassIdleFloat {
  0% {
    transform: translate3d(0, 0px, 0) rotate(0deg) scale(1);
  }
  50% {
    transform: translate3d(0, -5px, 0) rotate(-0.45deg) scale(1.012);
  }
  100% {
    transform: translate3d(0, 3.5px, 0) rotate(0.4deg) scale(0.996);
  }
}

.sig-stroke {
  fill: none;
  stroke: url(#dylan-glass-tint);
  stroke-width: 20.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
}

.hero-signature-svg.is-writing .sig-stroke-d {
  animation: sigHandwrite 0.78s cubic-bezier(0.32, 0.04, 0.24, 1) 0.12s forwards;
}

.hero-signature-svg.is-writing .sig-stroke-yl {
  animation: sigHandwrite 0.86s cubic-bezier(0.34, 0.06, 0.22, 1) 0.82s forwards;
}

.hero-signature-svg.is-writing .sig-stroke-an {
  animation: sigHandwrite 0.88s cubic-bezier(0.24, 0.08, 0.18, 1) 1.58s forwards;
}

@keyframes sigHandwrite {
  0% {
    stroke-dashoffset: 1;
    opacity: 0.01;
  }
  4% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

/* Periodic Travelling Caustic Shimmer across Crystal Glass Ridges */
.dylan-glint-strokes {
  pointer-events: none;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8));
  mix-blend-mode: screen;
}

.sig-glint {
  fill: none;
  stroke: url(#dylan-glint-grad);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 0.14 1.3;
  stroke-dashoffset: 1.16;
  opacity: 0;
}

.hero-signature-svg.is-writing .sig-glint-d {
  animation: sigGlintD 5.6s cubic-bezier(0.4, 0, 0.2, 1) 2.85s infinite;
}

.hero-signature-svg.is-writing .sig-glint-yl {
  animation: sigGlintYL 5.6s cubic-bezier(0.4, 0, 0.2, 1) 2.85s infinite;
}

.hero-signature-svg.is-writing .sig-glint-an {
  animation: sigGlintAN 5.6s cubic-bezier(0.4, 0, 0.2, 1) 2.85s infinite;
}

@keyframes sigGlintD {
  0% {
    stroke-dashoffset: 1.15;
    opacity: 0;
  }
  3% {
    opacity: 0.92;
  }
  14% {
    stroke-dashoffset: -0.16;
    opacity: 0;
  }
  100% {
    stroke-dashoffset: -0.16;
    opacity: 0;
  }
}

@keyframes sigGlintYL {
  0%,
  12% {
    stroke-dashoffset: 1.15;
    opacity: 0;
  }
  15% {
    opacity: 0.92;
  }
  30% {
    stroke-dashoffset: -0.16;
    opacity: 0;
  }
  100% {
    stroke-dashoffset: -0.16;
    opacity: 0;
  }
}

@keyframes sigGlintAN {
  0%,
  28% {
    stroke-dashoffset: 1.15;
    opacity: 0;
  }
  31% {
    opacity: 0.92;
  }
  46% {
    stroke-dashoffset: -0.16;
    opacity: 0;
  }
  100% {
    stroke-dashoffset: -0.16;
    opacity: 0;
  }
}

.hero-manifesto-sub {
  font-size: clamp(13px, 1.15vw, 15px);
  color: rgba(246, 244, 239, 0.84);
  letter-spacing: 0.08em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
  margin-top: 4px;
  margin-bottom: clamp(20px, 3vh, 30px);
}

.hero-cta-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-enter-archive {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.04) 48%, rgba(0, 0, 0, 0.14) 100%),
    radial-gradient(125% 150% at 18% 12%, rgba(var(--disc-glow), 0.40) 0%, rgba(var(--disc-glow), 0.18) 60%, rgba(12, 15, 24, 0.28) 100%);
  backdrop-filter: blur(20px) saturate(1.55);
  -webkit-backdrop-filter: blur(20px) saturate(1.55);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.48);
  cursor: pointer;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.32),
    0 0 26px rgba(var(--disc-glow), 0.24),
    inset 0 1.2px 0 rgba(255, 255, 255, 0.54),
    inset 0 -1px 0 rgba(var(--disc-glow), 0.28),
    inset 0 0 16px rgba(var(--disc-glow), 0.14);
  transition:
    transform 0.26s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    filter 0.25s ease;
}

.btn-enter-archive::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 46%;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.28) 50%, transparent 100%);
  transform: skewX(-20deg);
  pointer-events: none;
  animation: enterBtnSheen 6.4s ease-in-out 3.4s infinite;
}

@keyframes enterBtnSheen {
  0%,
  72% {
    left: -60%;
    opacity: 0;
  }
  76% {
    opacity: 1;
  }
  92% {
    left: 135%;
    opacity: 0.85;
  }
  100% {
    left: 135%;
    opacity: 0;
  }
}

.btn-enter-archive:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.56);
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.38),
    0 0 34px rgba(var(--disc-glow), 0.38),
    inset 0 1.2px 0 rgba(255, 255, 255, 0.68),
    inset 0 -1px 0 rgba(var(--disc-glow), 0.38),
    inset 0 0 22px rgba(var(--disc-glow), 0.22);
  filter: brightness(1.06);
}

.btn-enter-archive:active {
  transform: scale(0.96);
}

.btn-enter-archive .enter-en {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  opacity: 0.78;
}

.btn-enter-archive .enter-arrow {
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-enter-archive:hover .enter-arrow {
  transform: translateX(4px);
}

.btn-watch-reel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(12, 14, 22, 0.38);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  color: #f6f4ef;
  font-size: 13.5px;
  font-weight: 600;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26);
  cursor: pointer;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, border-color 0.25s ease;
}

.btn-watch-reel:hover {
  transform: translateY(-2px);
  background: rgba(24, 27, 36, 0.76);
  border-color: rgba(255, 255, 255, 0.44);
}

.btn-watch-reel:active {
  transform: scale(0.96);
}

.btn-watch-reel .play-tri {
  font-size: 11px;
  color: rgb(var(--disc-glow));
}

.hero-bottom-rail {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: opacity 0.6s ease 0.18s, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.18s;
}

body:not(.is-ready) .hero-bottom-rail {
  opacity: 0;
  transform: translateY(14px);
}

.hero-marquee-shell {
  width: min(1080px, 92vw);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}

.hero-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 28px;
  padding: 6px 0;
  animation: heroBrandMarquee 48s linear infinite;
  will-change: transform;
}

.hero-marquee-shell:hover .hero-marquee-track {
  animation-play-state: paused;
}

@keyframes heroBrandMarquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.marquee-logo-item {
  --logo-h: 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--logo-h);
  flex-shrink: 0;
  opacity: 0.82;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.48));
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.marquee-logo-item.is-tall {
  --logo-h: 26px;
}

.marquee-logo-item.is-mid {
  --logo-h: 21px;
}

.marquee-logo-item.is-wide {
  --logo-h: 16.5px;
}

.marquee-logo-item:hover {
  opacity: 1;
  transform: translateY(-1px) scale(1.04);
}

.marquee-logo-item img {
  height: 100%;
  width: auto;
  max-width: 168px;
  object-fit: contain;
  display: block;
  color: transparent;
  user-select: none;
  -webkit-user-drag: none;
}

.marquee-brand-item {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(246, 244, 239, 0.78);
  white-space: nowrap;
}

.marquee-brand-dot {
  font-size: 7px;
  color: rgba(var(--disc-glow), 0.75);
  flex-shrink: 0;
}

/* ==========================================================================
   ACT 0 PITCH-BLACK COLD-OPEN -> STAGGERED 5-WAVE BLOOM
   ========================================================================== */
html:has(body.is-cold-open),
body.is-cold-open {
  background-color: #050508 !important;
  transition: none !important;
  scroll-behavior: auto !important;
  overflow-y: hidden;
}

body.is-cold-open .hero-glass-signature {
  filter: drop-shadow(0 0 28px rgba(198, 230, 255, 0.28));
}

body.is-cold-open .site-header,
body.is-cold-open .header-left,
body.is-cold-open .header-right {
  pointer-events: none;
}

body.is-cold-open .site-header {
  opacity: 0;
  transform: translate3d(0, -18px, 0);
  transition: none;
}

body.is-cold-open .disc-stage-section .hero-cinema-bleed {
  opacity: 0;
  transform: scale(1.07);
  filter: brightness(0.3) saturate(0.55);
  transition: none;
}

body.is-cold-open .ambient-wash-wrap,
body.is-cold-open .projector-beam,
body.is-cold-open #stage-particles-canvas,
body.is-cold-open .stage-watermark,
body.is-cold-open .stage-atmosphere::after,
body.is-cold-open .about-section,
body.is-cold-open .site-footer {
  opacity: 0;
  transition: none;
}

body.is-cold-open .optical-astrolabe {
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(0.9);
  transition: none;
}

body.is-cold-open .projector-beam {
  transform: translateX(-50%) scaleY(0.75);
}

body.is-cold-open .hero-manifesto-sub {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: none;
}

body.is-cold-open .hero-cta-row {
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.96);
  pointer-events: none;
  transition: none;
}

body.is-cold-open .hero-reel-hud {
  opacity: 0;
  transform: translate3d(0, -14px, 0);
  pointer-events: none;
  transition: none;
}

body.is-cold-open .hero-bottom-rail {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  pointer-events: none;
  transition: none;
}

body.is-cold-open .hero-marquee-track {
  animation-play-state: paused;
}

/* Wave 0..5 Progressive Staggered Reveal as "Dylan" enters final stroke */
body.is-blooming {
  transition: background-color 1.15s cubic-bezier(0.22, 1, 0.36, 1), color 0.55s ease;
}

body.is-blooming .disc-stage-section[data-stage-mode="home"] .hero-cinema-bleed {
  filter: brightness(1) saturate(1);
  transition:
    opacity 1.18s cubic-bezier(0.16, 1, 0.3, 1) 0s,
    transform 1.35s cubic-bezier(0.16, 1, 0.3, 1) 0s,
    filter 1.24s cubic-bezier(0.22, 1, 0.36, 1) 0s,
    border-radius 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    inset 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s ease;
}

body.is-blooming .ambient-wash-wrap,
body.is-blooming .projector-beam,
body.is-blooming .stage-atmosphere::after {
  transition: opacity 1.1s ease 0.06s, transform 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.06s;
}

body.is-blooming .hero-manifesto-sub {
  transition:
    opacity 0.72s ease 0.24s,
    transform 0.78s cubic-bezier(0.22, 1, 0.36, 1) 0.24s;
}

body.is-blooming .hero-cta-row {
  transition:
    opacity 0.72s ease 0.44s,
    transform 0.78s cubic-bezier(0.16, 1, 0.3, 1) 0.44s;
}

body.is-blooming .hero-reel-hud {
  transition:
    opacity 0.74s ease 0.62s,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.62s;
}

body.is-blooming .site-header {
  transition:
    opacity 0.76s ease 0.66s,
    transform 0.82s cubic-bezier(0.22, 1, 0.36, 1) 0.66s,
    background-color 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

body.is-blooming .hero-bottom-rail {
  transition:
    opacity 0.82s ease 0.84s,
    transform 0.86s cubic-bezier(0.22, 1, 0.36, 1) 0.84s;
}

body.is-blooming .optical-astrolabe,
body.is-blooming #stage-particles-canvas,
body.is-blooming .stage-watermark,
body.is-blooming .about-section,
body.is-blooming .site-footer {
  transition: opacity 0.9s ease 0.86s, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.86s;
}

.hero-scroll-cue {
  font-size: 11.5px;
  color: rgba(246, 244, 239, 0.56);
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.collector-boxes-stage {
  position: relative;
  z-index: 5;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(22px, 3.6vh, 38px);
  padding: 12px 0;
}

.boxes-intro-bar {
  text-align: center;
  transition: opacity 0.58s ease 0.08s, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
}

body:not(.is-ready) .boxes-intro-bar {
  opacity: 0;
  transform: translateY(18px);
}

.boxes-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(var(--disc-glow), 1);
  filter: brightness(1.2);
  margin-bottom: 8px;
}

.boxes-headline {
  margin: 0;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 900;
  letter-spacing: -0.02em;
}

/* Three 3D Interactive Archive Folder Grid */
.collector-boxes-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 4vw, 54px);
  perspective: 1100px;
  width: 100%;
  max-width: 1120px;
  padding: 54px 12px 14px;
}

.collector-box {
  position: relative;
  width: clamp(248px, 22.5vw, 292px);
  height: clamp(256px, 33vh, 304px);
  transform-style: preserve-3d;
  cursor: pointer;
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  color: #f4f1ea;
  --box-tilt-x: 0deg;
  --box-tilt-y: 0deg;
  --box-lift: 0px;
  --glare-x: 50%;
  --glare-y: 35%;
  transform: translate3d(0, var(--box-lift, 0px), 0) rotateX(var(--box-tilt-x, 0deg)) rotateY(var(--box-tilt-y, 0deg));
  transition: opacity 0.42s ease;
}

.collector-box::before {
  content: "";
  position: absolute;
  inset: -22px 0 0 0;
  z-index: 0;
}

.collector-box:hover::before {
  inset: -66px -14px 0 -14px;
}

.collector-box:hover {
  z-index: 12;
}

/* Unboxing Choreography States */
.collector-box.is-unboxing {
  z-index: 30;
  transform: translate3d(var(--center-dx, 0px), calc(var(--center-dy, 0px) - 6px), 0) scale(1.05) !important;
  transition: transform 0.44s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease 0.24s !important;
  opacity: 0;
}

.collector-box.is-unboxing .box-front-lid {
  transform: translateZ(26px) rotateX(-46deg) !important;
  border-color: rgba(var(--box-glow), 0.9);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.9), 0 0 60px rgba(var(--box-glow), 0.48);
}

.collector-box.is-unboxing .folder-page-left {
  opacity: 1;
  transform: translate3d(-38px, -82px, 16px) rotate(-12deg) scale(0.96) !important;
}

.collector-box.is-unboxing .folder-page-right {
  opacity: 1;
  transform: translate3d(38px, -82px, 22px) rotate(12deg) scale(0.96) !important;
}

.collector-box.is-unboxing .folder-page-center {
  opacity: 1;
  transform: translate3d(0px, -96px, 34px) rotate(0deg) scale(1.03) !important;
}

body:not(.is-ready) .collector-box {
  opacity: 0;
  transform: translate3d(0, 32px, 0) scale(0.92) !important;
}

body.is-staggering .collector-box {
  transition:
    transform 0.68s cubic-bezier(0.22, 1, 0.36, 1) var(--box-stagger, 0ms),
    opacity 0.54s ease var(--box-stagger, 0ms),
    filter 0.42s ease;
}

.collector-box.is-opening-all {
  transform: translate3d(0, -10px, 0) scale(0.9) !important;
  opacity: 0;
  filter: blur(3px);
  pointer-events: none;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease, filter 0.36s ease !important;
}

.collector-box.is-opening-all .box-front-lid {
  transform: translateZ(26px) rotateX(-36deg) !important;
}

.collector-box.is-opening-all .folder-page-center {
  opacity: 1;
  transform: translate3d(0px, -74px, 28px) scale(1) !important;
}

.collector-box.is-receding {
  transform: translate3d(0, 24px, 0) scale(0.84) !important;
  opacity: 0;
  filter: blur(4px);
  pointer-events: none;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease, filter 0.36s ease !important;
}

/* Folder Back Plate & Classic Top-Left Tab Ear */
.folder-back-plate {
  position: absolute;
  inset: 0;
  border-radius: 0 12px 12px 12px;
  background: linear-gradient(180deg, #1b1d27 0%, #101118 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transform: translateZ(0px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.62);
  pointer-events: none;
}

.folder-back-plate::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -22px;
  height: 20px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.65), transparent 72%);
  filter: blur(6px);
  pointer-events: none;
}

.folder-tab-ear {
  position: absolute;
  top: -21px;
  left: -1px;
  height: 22px;
  padding: 0 13px;
  border-radius: 8px 10px 0 0;
  background: #1b1d27;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(244, 241, 234, 0.8);
}

.folder-tab-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgb(var(--box-glow));
  box-shadow: 0 0 8px rgba(var(--box-glow), 0.85);
}

/* Inner Film Preview Pages (Tucked flush inside folder when mouse away; fan upward on hover) */
.folder-pages {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 14px;
  height: 64%;
  transform-style: preserve-3d;
  pointer-events: none;
}

.folder-page {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #14151d;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.56);
  opacity: 0;
  transform: translate3d(0, 16px, 6px) rotate(0deg) scale(0.9);
  transition: transform 0.44s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.16s ease 0.22s;
}

.folder-page-bar {
  height: 18px;
  padding: 0 8px;
  background: rgba(10, 10, 15, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  color: rgba(244, 241, 234, 0.72);
  display: flex;
  align-items: center;
}

.folder-page img {
  width: 100%;
  height: calc(100% - 18px);
  object-fit: cover;
  object-position: center 35%;
}

.collector-box:hover .folder-page {
  transition: transform 0.48s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.14s ease 0s;
}

.collector-box:hover .folder-page-left {
  opacity: 1;
  transform: translate3d(-32px, -48px, 8px) rotate(-9deg) scale(0.92);
  transition-duration: 0.5s, 0.14s;
  transition-delay: 0.025s, 0.025s;
}

.collector-box:hover .folder-page-right {
  opacity: 1;
  transform: translate3d(32px, -48px, 14px) rotate(9deg) scale(0.92);
  transition-duration: 0.52s, 0.14s;
  transition-delay: 0.05s, 0.05s;
}

.collector-box:hover .folder-page-center {
  opacity: 1;
  transform: translate3d(0px, -66px, 22px) rotate(0deg) scale(0.98);
  transition-duration: 0.48s, 0.14s;
  transition-delay: 0s, 0s;
}

/* Hinged Front Folder Flap (Anchored at bottom crease, tilts forward on hover) */
.box-front-lid {
  position: relative;
  z-index: 4;
  width: 100%;
  height: 100%;
  border-radius: 10px 12px 12px 12px;
  transform-origin: center bottom;
  transform: translateZ(26px) rotateX(0deg);
  transition: transform 0.48s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.35s ease;
  background:
    linear-gradient(165deg, #1b1d28 0%, #0e0f16 100%),
    radial-gradient(circle at 82% 16%, rgba(var(--box-glow), 0.24), transparent 56%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 1.5px solid rgba(255, 255, 255, 0.26);
  border-left: 3px solid rgba(var(--box-glow), 0.88);
  overflow: hidden;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.18), 0 22px 50px rgba(0, 0, 0, 0.72);
}

.collector-box:hover .box-front-lid {
  transform: translateZ(26px) rotateX(-30deg);
  border-color: rgba(var(--box-glow), 0.75);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 26px 60px rgba(0, 0, 0, 0.82),
    0 0 38px rgba(var(--box-glow), 0.24);
}

.box-glare {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--glare-x) var(--glare-y), rgba(255, 255, 255, 0.2), transparent 54%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 1;
}

.box-lid-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.3;
  filter: saturate(1.12) contrast(1.06);
  transform: scale(1.03);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.box-front-lid::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 84% 16%, rgba(var(--box-glow), 0.32), transparent 56%),
    linear-gradient(175deg, rgba(20, 22, 32, 0.62) 0%, rgba(13, 15, 22, 0.76) 52%, rgba(9, 10, 16, 0.94) 100%);
  pointer-events: none;
  z-index: 1;
}

.collector-box:hover .box-lid-art,
.collector-box.is-mobile-peek .box-lid-art {
  opacity: 0.4;
  transform: scale(1.08);
}

.collector-box:hover .box-glare {
  opacity: 1;
}

.box-lid-top,
.box-lid-mid,
.box-lid-bottom {
  position: relative;
  z-index: 2;
}

.box-lid-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.box-code-pill {
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(var(--box-glow), 0.22);
  border: 1px solid rgba(var(--box-glow), 0.6);
  color: #ffffff;
  font-weight: 700;
}

.box-disc-count {
  color: rgba(244, 241, 234, 0.82);
}

.box-lid-en {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgb(var(--box-glow));
  filter: brightness(1.25);
  margin-bottom: 6px;
}

.box-lid-title {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.2vw, 26px);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.box-lid-tagline {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(244, 241, 234, 0.72);
}

.box-lid-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.box-open-cta {
  color: #ffffff;
  font-weight: 700;
  transition: color 0.2s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.collector-box:hover .box-open-cta {
  color: rgb(var(--box-glow));
  filter: brightness(1.3);
  transform: translateX(3px);
}

.mobile-box-dots {
  display: none;
}

.boxes-footer-hint {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 4px;
  transition: opacity 0.58s ease 0.28s, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.28s;
}

body:not(.is-ready) .boxes-footer-hint,
body:not(.is-ready) .mobile-box-dots {
  opacity: 0;
  transform: translateY(14px);
}

.open-all-capsule-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 9px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.25s ease;
}

.open-all-capsule-btn:hover {
  transform: translateY(-1.5px);
  border-color: rgba(var(--disc-glow), 0.65);
  background: var(--surface-2);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18), 0 0 24px rgba(var(--disc-glow), 0.16);
}

.open-all-capsule-btn:active {
  transform: scale(0.96);
}

.capsule-count-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(128, 128, 140, 0.14);
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

.capsule-count-tag i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgb(var(--disc-glow));
  box-shadow: 0 0 8px rgba(var(--disc-glow), 0.8);
}

.capsule-label {
  letter-spacing: 0.02em;
}

.capsule-arrow {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease;
}

.open-all-capsule-btn:hover .capsule-arrow {
  transform: translateX(3px);
  color: rgb(var(--disc-glow));
}

/* ==========================================================================
   ACT 2: OPENED CRATE LAYER (BOX BAR + COMMERCIAL SUB-DIVIDERS)
   ========================================================================== */
.opened-crate-layer {
  position: relative;
  z-index: 5;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}

.opened-box-bar {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
}

.crate-tools-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.22s ease, border-color 0.22s ease, color 0.2s ease, box-shadow 0.24s ease;
}

.crate-tools-toggle-btn:hover {
  color: var(--ink);
  border-color: var(--border-strong);
}

.crate-tools-toggle-btn.is-open {
  color: var(--ink);
  background: var(--surface-2);
  border-color: rgba(var(--disc-glow), 0.72);
  box-shadow: 0 0 18px rgba(var(--disc-glow), 0.16);
}

.crate-tools-toggle-btn:active {
  transform: scale(0.95);
}

.crate-tools-toggle-btn .tools-dot {
  display: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgb(var(--disc-glow));
  box-shadow: 0 0 8px rgba(var(--disc-glow), 0.9);
}

.crate-tools-toggle-btn.has-active-filter .tools-dot {
  display: inline-block;
}

.crate-tools-toggle-btn .tools-chevron {
  font-size: 10px;
  line-height: 1;
  opacity: 0.78;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.crate-tools-toggle-btn.is-open .tools-chevron {
  transform: rotate(180deg);
}

.crate-tools-shell {
  display: grid;
  grid-template-rows: 1fr;
  width: 100%;
  margin-top: 0;
  opacity: 1;
  transform: translateY(0);
  transition:
    grid-template-rows 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    margin-top 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.24s ease,
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.crate-tools-shell.is-collapsed {
  grid-template-rows: 0fr;
  margin-top: -10px;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
}

.crate-tools-inner {
  overflow: hidden;
  min-height: 0;
  display: flex;
  justify-content: center;
}

.crate-tools-bar {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.crate-tools-sep {
  width: 1px;
  height: 14px;
  background: var(--border-strong);
  opacity: 0.5;
  flex-shrink: 0;
}

.all-master-pill {
  padding: 4px 11px;
  font-size: 11px;
}

.pack-back-btn {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(var(--disc-glow), 0.65);
  background: rgba(var(--disc-glow), 0.18);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.22s ease, border-color 0.22s ease, color 0.2s ease, box-shadow 0.24s ease;
}

.pack-back-btn:hover {
  background: rgba(var(--disc-glow), 0.9);
  color: #ffffff;
  transform: translateX(-2px);
}

.box-switcher-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.box-switcher-pills::-webkit-scrollbar {
  display: none;
}

.box-pill-btn {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.22s ease, border-color 0.22s ease, color 0.2s ease, box-shadow 0.24s ease;
}

.box-pill-btn:hover {
  color: var(--ink);
  border-color: var(--border-strong);
}

.box-pill-btn.is-active {
  color: #ffffff;
  background: rgba(var(--disc-glow), 0.9);
  border-color: rgba(var(--disc-glow), 1);
}

.box-pill-btn em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 10px;
  opacity: 0.8;
  margin-left: 4px;
}

.sub-category-dock-shell {
  display: grid;
  grid-template-rows: 1fr;
  width: 100%;
  opacity: 1;
  transform: translateY(0);
  transition:
    grid-template-rows 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease,
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.sub-category-dock-shell.is-collapsed {
  grid-template-rows: 0fr;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
}

.sub-category-dock {
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 0;
}

.sub-div-chip {
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 12px;
  color: var(--ink-muted);
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.22s ease, border-color 0.22s ease, color 0.2s ease, box-shadow 0.24s ease;
}

.sub-div-chip:hover {
  color: var(--ink);
  background: var(--surface);
}

.sub-div-chip.is-active {
  color: var(--ink);
  border-color: rgba(var(--disc-glow), 0.75);
  background: var(--surface-2);
  font-weight: 700;
}

/* ==========================================================================
   Multi-Dimensional Volume Dock & Format Filter Strip
   ========================================================================== */
.stage-top-bar {
  position: relative;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.volume-dock {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 2px;
}

.volume-dock::-webkit-scrollbar {
  display: none;
}

.volume-card-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 108px;
  padding: 8px 13px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: left;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.18s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.volume-card-tab:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  background: var(--surface-2);
}

.volume-card-tab.is-active {
  border-color: rgba(var(--disc-glow), 0.9);
  background: rgba(var(--disc-glow), 0.22);
  box-shadow: 0 8px 24px rgba(var(--disc-glow), 0.2);
}

.vol-tab-top {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

.volume-card-tab.is-active .vol-tab-top {
  color: var(--ink);
}

.vol-tab-count {
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  font-size: 10px;
}

.volume-card-tab.is-active .vol-tab-count {
  background: rgba(var(--disc-glow), 0.9);
  color: #ffffff;
  font-weight: 700;
}

.vol-tab-label {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.sub-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
}

.format-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.format-chip {
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 11px;
  color: var(--ink-muted);
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.22s ease, border-color 0.22s ease, color 0.2s ease, box-shadow 0.24s ease;
}

.format-chip:hover {
  color: var(--ink);
  border-color: var(--border-strong);
}

.format-chip.is-active {
  color: #ffffff;
  background: rgba(var(--disc-glow), 0.88);
  border-color: rgba(var(--disc-glow), 0.95);
  font-weight: 600;
}

.crate-status-group {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
}

.crate-counter {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink);
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(var(--disc-glow), 0.45);
  background: var(--surface);
  white-space: nowrap;
  transition: border-color 0.25s ease, transform 0.22s ease;
}

.crate-counter.is-ticking-a {
  animation: counterTickA 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

.crate-counter.is-ticking-b {
  animation: counterTickB 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes counterTickA {
  0% { transform: scale(1); }
  45% { transform: scale(1.08); border-color: rgba(var(--disc-glow), 0.95); }
  100% { transform: scale(1); }
}

@keyframes counterTickB {
  0% { transform: scale(1); }
  45% { transform: scale(1.08); border-color: rgba(var(--disc-glow), 0.95); }
  100% { transform: scale(1); }
}

/* ==========================================================================
   3D Cover-Flow Carousel Viewport & Perspective Stage Plinth
   ========================================================================== */
.disc-carousel-viewport {
  position: relative;
  z-index: 4;
  width: 100%;
  height: calc(var(--sleeve-size) * 1.42);
  min-height: 308px;
  margin: 6px auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
}

.disc-carousel-viewport.is-dragging {
  cursor: grabbing;
}

.stage-depth-grid {
  position: absolute;
  bottom: -38px;
  left: 50%;
  width: min(1160px, 130vw);
  height: 240px;
  transform: translateX(-50%) rotateX(79deg);
  pointer-events: none;
  background-image:
    repeating-conic-gradient(
      from -90deg at 50% 0%,
      rgba(var(--disc-glow), 0.2) 0deg 1deg,
      transparent 1deg 15deg
    ),
    repeating-radial-gradient(
      ellipse at 50% 0%,
      transparent 0 42px,
      rgba(var(--disc-glow), 0.16) 42px 43px
    );
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, #000 15%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, #000 15%, transparent 75%);
  opacity: 0.72;
}

.stage-plinth-ring {
  position: absolute;
  bottom: -18px;
  left: 50%;
  width: min(560px, 76vw);
  height: 120px;
  transform: translateX(-50%) rotateX(76deg);
  border-radius: 50%;
  border: 1px solid rgba(var(--disc-glow), 0.52);
  background: radial-gradient(ellipse at center, rgba(var(--disc-glow), 0.34) 0%, rgba(var(--disc-glow), 0.08) 50%, transparent 75%);
  box-shadow: 0 0 56px rgba(var(--disc-glow), 0.28);
  pointer-events: none;
  transition: border-color 0.6s ease, box-shadow 0.6s ease;
}

.disc-track {
  position: relative;
  width: var(--sleeve-size);
  height: var(--sleeve-size);
  perspective: 860px;
  perspective-origin: 50% 42%;
  transition: opacity 0.16s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.disc-track.is-reshuffling {
  opacity: 0.22;
  transform: scale(0.95);
}

.disc-item {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--sleeve-size);
  height: var(--sleeve-size);
  transform-style: flat;
  cursor: pointer;
}

.disc-item.is-stage-visible {
  will-change: transform, opacity;
}

/* Optical Spinning Disc */
.optical-disc {
  position: absolute;
  top: 5%;
  left: 5%;
  width: 90%;
  height: 90%;
  border-radius: 50%;
  z-index: 1;
  visibility: hidden;
  transform: translateX(0);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.66s;
  pointer-events: none;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.65);
}

.disc-item.is-active .optical-disc,
.disc-item.is-extracting .optical-disc,
.disc-item.is-awaiting-insert .optical-disc,
.disc-item.is-inserting .optical-disc {
  visibility: visible;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
}

.disc-item.is-active .optical-disc {
  transform: translateX(calc(55.55% - 22px));
}

.disc-item.is-active:hover .optical-disc {
  transform: translateX(calc(55.55% - 18px));
}

/* Phase 1 Extraction & Phase 2 Pocket Re-Insertion States */
.disc-item.is-active.is-extracting .optical-disc,
.disc-item.is-extracting .optical-disc {
  transform: translateX(102%);
  transition: transform 0.21s cubic-bezier(0.2, 0.85, 0.35, 1);
}

.disc-item.is-active.is-awaiting-insert .optical-disc,
.disc-item.is-awaiting-insert .optical-disc {
  transform: translateX(102%);
  transition: none !important;
}

.disc-item.is-active.is-inserting .optical-disc,
.disc-item.is-inserting .optical-disc {
  transform: translateX(calc(55.55% - 22px));
  transition: transform 0.34s cubic-bezier(0.16, 1, 0.3, 1);
}

.disc-item.is-disc-departed .optical-disc {
  opacity: 0 !important;
  transition: none !important;
}

.disc-vinyl-surface {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 34%, rgba(255, 255, 255, 0.13) 34.5%, transparent 35.8%),
    repeating-radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.032) 0 1.5px, transparent 1.5px 5px),
    radial-gradient(circle at 30% 24%, rgba(98, 114, 148, 0.28), #171920 68%);
  border: 1px solid rgba(255, 255, 255, 0.26);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.disc-vinyl-rotor {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 25deg,
    rgba(255, 255, 255, 0.01) 0deg,
    rgba(110, 126, 160, 0.24) 38deg,
    rgba(16, 17, 23, 0.16) 85deg,
    rgba(146, 164, 204, 0.3) 135deg,
    rgba(20, 22, 29, 0.14) 185deg,
    rgba(118, 134, 168, 0.22) 230deg,
    rgba(15, 16, 21, 0.16) 290deg,
    rgba(94, 108, 140, 0.18) 335deg,
    rgba(255, 255, 255, 0.01) 360deg
  );
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.disc-item.is-active .disc-vinyl-rotor {
  animation: discSpin 11s linear infinite;
}

@keyframes discSpin {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to { transform: translate3d(0, 0, 0) rotate(360deg); }
}

.disc-center-art {
  width: 42%;
  height: 42%;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.38);
  position: relative;
  background: #141418;
}

.disc-center-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.disc-spindle {
  position: absolute;
  z-index: 2;
  width: 15%;
  height: 15%;
  border-radius: 50%;
  background: var(--bg);
  border: 4px solid rgba(220, 224, 232, 0.5);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.85);
}

/* 1:1 Collector Jewel Sleeve */
.disc-sleeve {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  overflow: hidden;
  background: #141418;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    var(--sleeve-shadow);
  transition: transform 0.46s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.22s ease;
}

.disc-item.is-active .disc-sleeve {
  border-color: rgba(var(--disc-glow), 0.72);
  transform: translateX(-18px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 24px 55px rgba(0, 0, 0, 0.72),
    0 0 36px rgba(var(--disc-glow), 0.25);
}

.disc-item.is-active:hover .disc-sleeve {
  transform: translateX(-20px) translateY(-2px);
  border-color: rgba(var(--disc-glow), 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 28px 62px rgba(0, 0, 0, 0.78),
    0 0 44px rgba(var(--disc-glow), 0.34);
}

.disc-item.is-active.is-extracting .disc-sleeve,
.disc-item.is-extracting .disc-sleeve {
  transform: translateX(-38px) scale(0.985);
  transition: transform 0.21s cubic-bezier(0.2, 0.85, 0.35, 1);
}

.disc-item.is-active.is-awaiting-insert .disc-sleeve,
.disc-item.is-awaiting-insert .disc-sleeve {
  transform: translateX(-38px);
  transition: transform 0.2s ease;
}

.disc-item.is-active.is-inserting .disc-sleeve,
.disc-item.is-inserting .disc-sleeve {
  transform: translateX(-18px);
  transition: transform 0.34s cubic-bezier(0.16, 1, 0.3, 1);
}

.sleeve-dim {
  position: absolute;
  inset: 0;
  background: #06060a;
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  will-change: opacity;
}

.disc-sleeve::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.18) 0%, transparent 38%, rgba(0, 0, 0, 0.18) 100%);
  pointer-events: none;
  z-index: 4;
}

.disc-item::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: -26px;
  height: 28px;
  background: radial-gradient(ellipse 68% 55% at 50% 50%, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.18) 48%, transparent 76%);
  pointer-events: none;
}

.sleeve-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.sleeve-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.disc-item.is-preview-live .sleeve-video {
  opacity: 1;
}

.sleeve-spine-crease {
  display: none;
}

.sleeve-overlay-meta {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 13px 15px;
  background: linear-gradient(180deg, rgba(8, 8, 11, 0.55) 0%, transparent 36%, transparent 58%, rgba(8, 8, 11, 0.85) 100%);
  color: #f4f1ea;
  pointer-events: none;
}

.sleeve-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.sleeve-spec-badge {
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.sleeve-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px;
}

.sleeve-brand {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.sleeve-dur {
  font-family: var(--font-mono);
  font-size: 10px;
  opacity: 0.82;
}

/* Stage Arrows */
.stage-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 120;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.stage-arrow:hover {
  border-color: rgba(var(--disc-glow), 0.9);
  background: var(--surface-2);
  transform: translateY(-50%) scale(1.06);
}

.stage-arrow-left { left: clamp(4px, 2vw, 24px); }
.stage-arrow-right { right: clamp(4px, 2vw, 24px); }

/* Center Active Disc Plaque */
.disc-plaque {
  position: relative;
  z-index: 8;
  max-width: 740px;
  margin: 6px auto 14px;
  text-align: center;
}

.disc-plaque.anim-next-a .plaque-meta { animation: plaqueNextInA 0.32s cubic-bezier(0.22, 1, 0.36, 1) both; }
.disc-plaque.anim-next-a .plaque-title { animation: plaqueNextInA 0.36s cubic-bezier(0.22, 1, 0.36, 1) 0.025s both; }
.disc-plaque.anim-next-a .plaque-note { animation: plaqueNextInA 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both; }

.disc-plaque.anim-next-b .plaque-meta { animation: plaqueNextInB 0.32s cubic-bezier(0.22, 1, 0.36, 1) both; }
.disc-plaque.anim-next-b .plaque-title { animation: plaqueNextInB 0.36s cubic-bezier(0.22, 1, 0.36, 1) 0.025s both; }
.disc-plaque.anim-next-b .plaque-note { animation: plaqueNextInB 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both; }

.disc-plaque.anim-prev-a .plaque-meta { animation: plaquePrevInA 0.32s cubic-bezier(0.22, 1, 0.36, 1) both; }
.disc-plaque.anim-prev-a .plaque-title { animation: plaquePrevInA 0.36s cubic-bezier(0.22, 1, 0.36, 1) 0.025s both; }
.disc-plaque.anim-prev-a .plaque-note { animation: plaquePrevInA 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both; }

.disc-plaque.anim-prev-b .plaque-meta { animation: plaquePrevInB 0.32s cubic-bezier(0.22, 1, 0.36, 1) both; }
.disc-plaque.anim-prev-b .plaque-title { animation: plaquePrevInB 0.36s cubic-bezier(0.22, 1, 0.36, 1) 0.025s both; }
.disc-plaque.anim-prev-b .plaque-note { animation: plaquePrevInB 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both; }

@keyframes plaqueNextInA {
  from { opacity: 0; transform: translate3d(14px, 3px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes plaqueNextInB {
  from { opacity: 0; transform: translate3d(14px, 3px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes plaquePrevInA {
  from { opacity: 0; transform: translate3d(-14px, 3px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes plaquePrevInB {
  from { opacity: 0; transform: translate3d(-14px, 3px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.plaque-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgb(var(--disc-glow));
  filter: brightness(1.15);
  font-weight: 700;
  margin-bottom: 6px;
  transition: color 0.45s ease;
}

.plaque-title {
  margin: 0 0 8px;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.plaque-note {
  margin: 0 auto 16px;
  max-width: 580px;
  font-size: 14px;
  color: var(--ink-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.plaque-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-insert-disc {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 24px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 0 10px 28px var(--accent-soft);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-insert-disc:hover {
  transform: translateY(-2px);
  background: #cf2a16;
}

.play-tri {
  font-size: 10px;
}

.btn-outline-subtle {
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.22s ease, border-color 0.22s ease, color 0.2s ease, box-shadow 0.24s ease;
}

.btn-outline-subtle:hover {
  color: var(--ink);
  border-color: var(--ink);
  background: var(--surface-2);
}

/* Tactile Spine Rack Scrubber */
.spine-rack-wrap {
  position: relative;
  z-index: 6;
  width: min(860px, 100%);
  margin: 0 auto;
  padding-top: 6px;
}

.spine-hover-tooltip {
  position: absolute;
  bottom: 44px;
  transform: translate(-50%, 6px) scale(0.96);
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--surface-solid);
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  transition: opacity 0.16s ease, transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), left 0.08s ease-out, visibility 0s linear 0.18s;
}

.spine-hover-tooltip.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1);
  transition: opacity 0.16s ease, transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), left 0.08s ease-out, visibility 0s linear 0s;
}

.spine-rack {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 36px;
  padding: 4px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  user-select: none;
  cursor: ew-resize;
}

.spine-tick {
  flex: 1;
  max-width: 16px;
  min-width: 4px;
  height: var(--wave-h, 14px);
  border-radius: 2px;
  background: var(--border-strong);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: height 0.14s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.16s ease, box-shadow 0.16s ease;
}

.spine-tick:hover {
  height: 22px;
  background: var(--ink-muted);
}

.spine-tick.is-active {
  height: 26px;
  background: rgb(var(--disc-glow));
  box-shadow: 0 0 10px rgba(var(--disc-glow), 0.55);
}

.empty-crate-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-muted);
  font-size: 14px;
}

/* ==========================================================================
   CRATE BINDER DRAWER (SMOOTH FADE + LIFT TRANSITION)
   ========================================================================== */
.binder-drawer[hidden] {
  display: none !important;
}

.binder-drawer {
  position: fixed;
  inset: 0;
  z-index: 820;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 32px);
  pointer-events: none;
}

.binder-drawer.is-open {
  pointer-events: auto;
}

.binder-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 9, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.binder-drawer.is-open .binder-backdrop {
  opacity: 1;
}

.binder-panel {
  position: relative;
  z-index: 2;
  width: min(1140px, 100%);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(16, 16, 23, 0.94);
  color: #f4f1ea;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.85);
  opacity: 0;
  transform: translateY(28px) scale(0.95);
  transition: opacity 0.24s ease, transform 0.26s cubic-bezier(0.32, 0, 0.67, 0);
}

.binder-drawer.is-open .binder-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.32s ease, transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

.binder-drawer.is-returning-from-deck .binder-backdrop {
  transition: opacity 0.24s ease;
}

.binder-drawer.is-returning-from-deck .binder-panel {
  opacity: 0;
  transform: translateY(10px) scale(0.982);
  transition: opacity 0.22s ease, transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

.binder-drawer.is-returning-from-deck.is-open .binder-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.28s ease, transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.binder-sheet-grabber {
  display: none;
}

.binder-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.binder-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #e53924;
  margin-bottom: 2px;
}

.binder-heading {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.binder-grid {
  flex: 1 1 auto;
  min-height: 0;
  padding: 20px 22px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  grid-auto-rows: max-content;
  align-content: start;
  align-items: start;
  gap: 16px;
}

.binder-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #171720;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  padding: 0;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, box-shadow 0.22s ease;
}

.binder-drawer.is-open .binder-card {
  animation: binderCardIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--card-i, 0) * 18ms) both;
}

.binder-drawer.is-returning-from-deck .binder-card {
  animation: none;
}

@keyframes binderCardIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.binder-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--disc-glow), 0.9);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.48);
}

.binder-card.is-current {
  border-color: #e53924;
  box-shadow: 0 0 0 1px #e53924;
}

.binder-card.is-awaiting-return .binder-thumb img {
  opacity: 0.45;
  transform: scale(0.93);
  filter: saturate(0.75);
  transition: opacity 0.18s ease, transform 0.2s ease, filter 0.2s ease;
}

.binder-drawer.is-returning-from-deck .binder-card.is-just-returned,
.binder-card.is-just-returned {
  position: relative;
  z-index: 2;
  animation: binderReturnSettle 0.56s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.binder-card.is-just-returned .binder-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    118deg,
    transparent 18%,
    rgba(255, 255, 255, 0.32) 48%,
    transparent 78%
  );
  transform: translateX(-120%);
  animation: binderThumbGlint 0.54s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  pointer-events: none;
}

@keyframes binderReturnSettle {
  0% {
    transform: translateY(0) scale(1);
    border-color: rgba(var(--disc-glow), 0.95);
    box-shadow: 0 0 0 1px rgba(var(--disc-glow), 0.95), 0 0 22px rgba(var(--disc-glow), 0.44);
  }
  38% {
    transform: translateY(-2px) scale(1.016);
    border-color: rgba(var(--disc-glow), 1);
    box-shadow: 0 0 0 1.5px rgba(var(--disc-glow), 0.95), 0 12px 26px rgba(0, 0, 0, 0.5), 0 0 28px rgba(var(--disc-glow), 0.38);
  }
  100% {
    transform: translateY(0) scale(1);
    border-color: #e53924;
    box-shadow: 0 0 0 1px #e53924;
  }
}

@keyframes binderThumbGlint {
  0% {
    transform: translateX(-120%);
    opacity: 0.95;
  }
  100% {
    transform: translateX(130%);
    opacity: 0;
  }
}

.binder-thumb {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #0c0c10;
  overflow: hidden;
}

.binder-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease,
    filter 0.28s ease;
}

.binder-card:hover .binder-thumb img {
  transform: scale(1.06);
}

.binder-thumb-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.72);
  font-family: var(--font-mono);
  font-size: 10px;
  color: #f4f1ea;
}

.binder-card-info {
  padding: 10px 12px 12px;
}

.binder-card-brand {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #e53924;
  margin-bottom: 3px;
}

.binder-card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: #f4f1ea;
}

/* ==========================================================================
   CHAPTER 02: QUIET EDITORIAL DIRECTOR MONOGRAPH
   ========================================================================== */
.about-section {
  position: relative;
  padding: clamp(64px, 8vw, 112px) clamp(16px, 4vw, 48px);
  background: radial-gradient(ellipse 62% 22% at 20% 36%, rgba(var(--disc-glow), 0.05), transparent 70%);
}

.about-container {
  max-width: 1120px;
  margin: 0 auto;
}

/* Chapter 02 Editorial Scroll-Reveal */
.reveal-item {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}

.reveal-item.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.about-section-head {
  position: relative;
  margin-bottom: clamp(28px, 4vw, 48px);
  padding-bottom: 18px;
}

.about-section-head::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--border);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}

.about-section-head.is-revealed::after {
  transform: scaleX(1);
}

.about-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 6px;
}

.about-heading {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.about-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.profile-card {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-solid);
  padding: 16px;
}

.portrait-frame {
  width: 246px;
  max-width: 100%;
  margin: 0 auto 16px;
  aspect-ratio: 331 / 441;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0c0c10;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 16%;
  transform: scale(1.05);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.profile-card.is-revealed .portrait-frame img {
  transform: scale(1);
}

.profile-card:hover .portrait-frame img {
  transform: scale(1.03);
}

.profile-facts {
  border-top: 1px solid var(--border);
  margin-bottom: 16px;
}

.fact-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}

.fact-row span {
  color: var(--ink-muted);
}

.pdf-download-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 11px 14px;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.pdf-download-btn span:last-child {
  display: inline-block;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.pdf-download-btn:hover {
  background: #cf2a16;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px var(--accent-soft);
}

.pdf-download-btn:hover span:last-child {
  transform: translateY(2px);
}

.director-quote {
  position: relative;
  margin: 0 0 24px;
  padding-left: 18px;
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.45;
}

.director-quote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--accent);
  transform-origin: top center;
  transform: scaleY(0);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.14s;
}

.director-quote.is-revealed::before {
  transform: scaleY(1);
}

.director-summary {
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-muted);
}

.education-top-block {
  margin-bottom: 38px;
}

.education-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.education-card {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  background: var(--surface-solid);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.education-card:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--disc-glow), 0.55);
  border-left-color: var(--accent);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.edu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 8px;
}

.edu-main {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.edu-school {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.edu-degree {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}

.edu-period {
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
}

.edu-details {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-muted);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 40px;
}

.stat-box {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-solid);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.stat-box:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--disc-glow), 0.55);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.stat-box strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
}

.stat-box span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--ink-muted);
}

.editorial-block {
  margin-bottom: 42px;
}

.block-label {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.timeline-list {
  border-top: 1px solid var(--border);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 10px;
  border-bottom: 1px solid var(--border);
  transition: background-color 0.24s ease, border-color 0.24s ease;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-item:hover {
  background: var(--surface-solid);
  background: color-mix(in srgb, var(--surface-solid) 65%, transparent);
}

.timeline-item:hover::before {
  transform: scaleY(1);
}

.tl-period {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
}

.tl-org {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-item:hover .tl-org {
  transform: translateX(4px);
}

.tl-role {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
}

.tl-highlights {
  margin: 0;
  padding-left: 16px;
  font-size: 14px;
  color: var(--ink-muted);
}

.tl-highlights li + li {
  margin-top: 5px;
}

.tl-lead-tag {
  color: var(--ink);
  font-weight: 700;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cap-card {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-solid);
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, box-shadow 0.26s ease;
}

.cap-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--disc-glow), 0.55);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.cap-card h4 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
}

.cap-card p {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--ink-muted);
}

.cap-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tool-chip {
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 11px;
}

.commission-bar {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-solid);
}

.commission-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 14px;
}

.commission-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.comm-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.comm-value-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.comm-link {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
}

.comm-link:hover {
  color: var(--accent);
}

.copy-btn {
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  background: transparent;
  font-size: 11px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.16s ease;
}

.copy-btn:hover,
.copy-btn.is-copied {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px clamp(16px, 4vw, 48px);
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
}

/* ==========================================================================
   SCREENING ROOM MODAL (ANIMATED ENTRY, EXIT, SWAP & FLIGHT DISC)
   ========================================================================== */
.deck-modal[hidden] {
  display: none !important;
}

.deck-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  flex-direction: column;
  color: #f4f1ea;
  overflow-y: auto;
  overflow-x: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  --film-ratio: 1.7778;
  --film-w: 16;
  --film-h: 9;
  --swap-dir: -24px;
}

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

.deck-modal.is-closing {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.36s ease 0.08s;
}

.deck-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 6, 10, 0.96);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.36s ease;
}

.deck-modal.is-open .deck-backdrop {
  opacity: 1;
}

.deck-modal.is-closing .deck-backdrop {
  opacity: 0;
  transition: opacity 0.34s ease;
}

.deck-ambilight {
  position: fixed;
  top: 22%;
  left: 22%;
  width: 56%;
  height: 56%;
  z-index: 1;
  background-size: cover;
  background-position: center;
  filter: blur(36px) saturate(1.65);
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(2.15);
  will-change: opacity, transform;
  pointer-events: none;
  transition: opacity 0.42s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.deck-modal.is-open .deck-ambilight {
  opacity: 0.34;
  transform: translate3d(0, 0, 0) scale(1.95);
}

.deck-modal.is-closing .deck-ambilight {
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(2.08);
  transition: opacity 0.3s ease, transform 0.36s ease;
}

.deck-ambilight::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 74% 68% at 60% 48%, transparent 15%, rgba(6, 6, 10, 0.88) 88%);
}

.deck-room {
  position: relative;
  z-index: 2;
  width: min(1340px, 100%);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: clamp(14px, 2.5vw, 28px) clamp(16px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

/* Floating Top Header */
.deck-floating-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  opacity: 0;
  transform: translateY(-18px);
  transition: opacity 0.38s ease 0.08s, transform 0.44s cubic-bezier(0.16, 1, 0.3, 1) 0.08s;
}

.deck-modal.is-open .deck-floating-header {
  opacity: 1;
  transform: translateY(0);
}

.deck-modal.is-closing .deck-floating-header {
  opacity: 0;
  transform: translateY(-14px);
  transition: opacity 0.25s ease, transform 0.3s ease;
}

.deck-room-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.01) 52%, rgba(0, 0, 0, 0.2) 100%),
    rgba(20, 20, 28, 0.88);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.deck-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgb(var(--disc-glow));
  box-shadow: 0 0 10px rgb(var(--disc-glow));
}

.deck-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.deck-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.03) 50%, rgba(0, 0, 0, 0.2) 100%),
    rgba(22, 23, 32, 0.88);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.36);
  color: #f4f1ea;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.22s ease, border-color 0.22s ease, color 0.2s ease, box-shadow 0.24s ease;
}

.deck-pill-ico {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  opacity: 0.92;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.deck-pill-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4);
}

.deck-pill-btn:active {
  transform: scale(0.96);
}

.deck-eject-btn {
  border-color: rgba(255, 255, 255, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.04) 48%, rgba(0, 0, 0, 0.16) 100%),
    radial-gradient(120% 140% at 20% 15%, rgba(var(--disc-glow), 0.46) 0%, rgba(var(--disc-glow), 0.2) 65%, rgba(20, 20, 28, 0.76) 100%);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.46),
    0 0 20px rgba(var(--disc-glow), 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.46),
    inset 0 -1px 0 rgba(var(--disc-glow), 0.28);
  color: #ffffff;
  font-weight: 700;
}

.deck-eject-btn:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0.05) 52%, rgba(0, 0, 0, 0.18) 100%),
    linear-gradient(180deg, rgba(235, 65, 42, 0.92), rgba(202, 42, 26, 0.94));
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.52),
    0 0 26px rgba(229, 57, 36, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

/* 2-Column Workspace */
.deck-workspace {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
}

/* Left Column: Turntable & Dossier */
.deck-turntable-dossier {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(16, 17, 24, 0.9);
  opacity: 0;
  transform: translate3d(-16px, 6px, 0) scale(0.975);
  will-change: transform, opacity;
  transition: opacity 0.3s ease, transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

.deck-modal.is-open .deck-turntable-dossier {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.deck-modal.is-measuring,
.deck-modal.is-measuring * {
  transition: none !important;
  animation: none !important;
}

.deck-modal.is-measuring .deck-turntable-dossier {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
}

.deck-modal.is-closing .deck-turntable-dossier {
  opacity: 0;
  transform: translate3d(-24px, 8px, 0) scale(0.95);
  transition: opacity 0.3s ease, transform 0.36s ease;
}

.deck-dossier-meta {
  transition: opacity 0.22s ease, transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.deck-modal.is-swapping-out .deck-dossier-meta {
  opacity: 0;
  transform: translateX(var(--swap-dir));
}

.deck-modal.is-swapping-in .deck-dossier-meta {
  opacity: 0;
  transform: translateX(calc(var(--swap-dir) * -1));
  transition: none;
}

.deck-platter-unit {
  display: flex;
  justify-content: center;
}

.platter-base {
  position: relative;
  width: 186px;
  height: 186px;
  border-radius: 16px;
  background: radial-gradient(circle at 35% 30%, #24242f, #0d0d12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 18px 40px rgba(0, 0, 0, 0.55);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.platter-disc {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 33%, rgba(255, 255, 255, 0.14) 33.6%, transparent 34.8%),
    repeating-radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.036) 0 1.5px, transparent 1.5px 5px),
    radial-gradient(circle at 28% 24%, rgba(92, 108, 140, 0.3), #161820 68%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 24px rgba(var(--disc-glow), 0.2);
  transition: opacity 0.16s ease;
}

.platter-rotor {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 18deg,
    rgba(255, 255, 255, 0.01) 0deg,
    rgba(122, 138, 174, 0.24) 44deg,
    rgba(18, 20, 27, 0.16) 92deg,
    rgba(150, 168, 206, 0.3) 142deg,
    rgba(20, 22, 29, 0.14) 202deg,
    rgba(116, 132, 166, 0.22) 258deg,
    rgba(18, 20, 27, 0.16) 318deg,
    rgba(255, 255, 255, 0.01) 360deg
  );
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  animation: discSpin 9s linear infinite;
  animation-play-state: paused;
}

.deck-platter-unit.is-spinning .platter-rotor {
  animation-play-state: running;
}

.deck-platter-unit.is-swapping-disc .platter-base {
  transform: scale(0.96);
}

.deck-platter-unit.is-swapping-disc .platter-disc {
  opacity: 0.28;
}

.deck-platter-unit.is-swapping-disc .platter-art {
  transform: scale(0.86);
}

.platter-art {
  width: 44%;
  height: 44%;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.platter-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.platter-spindle {
  position: absolute;
  z-index: 2;
  width: 16%;
  height: 16%;
  border-radius: 50%;
  background: #0d0d12;
  border: 3px solid rgba(220, 224, 232, 0.65);
}

/* Tonearm Indicator */
.deck-tonearm {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 18px;
  height: 92px;
  transform-origin: 9px 9px;
  transform: rotate(2deg);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.deck-platter-unit.is-spinning .deck-tonearm {
  transform: rotate(26deg);
}

.tonearm-pivot {
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #333642;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.tonearm-rod {
  position: absolute;
  top: 14px;
  left: 8px;
  width: 2px;
  height: 66px;
  background: linear-gradient(180deg, #b8becb, #6f7585);
}

.tonearm-head {
  position: absolute;
  bottom: 0;
  left: 4px;
  width: 10px;
  height: 16px;
  border-radius: 2px;
  background: rgb(var(--disc-glow));
  box-shadow: 0 0 8px rgba(var(--disc-glow), 0.75);
}

.deck-dossier-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.deck-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
}

.deck-code {
  color: rgb(var(--disc-glow));
  filter: brightness(1.2);
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.deck-spec {
  color: #989ca8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deck-brand {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(244, 241, 234, 0.65);
  margin-top: 2px;
}

.deck-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

.deck-note {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: #9ca0aa;
}

.deck-series-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.deck-ep-btn {
  flex: 1;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: #f4f1ea;
  font-family: var(--font-mono);
  font-size: 11px;
  cursor: pointer;
}

.deck-ep-btn.is-active {
  background: rgb(var(--disc-glow));
  border-color: rgb(var(--disc-glow));
  font-weight: 700;
}

.deck-upnext-block {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 12px;
}

.upnext-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #8a8e99;
  margin-bottom: 8px;
}

.deck-upnext-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.upnext-mini-card {
  position: relative;
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0;
  background: #0c0c10;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.2s ease;
}

.upnext-mini-card:hover {
  transform: translateY(-2px);
  border-color: rgb(var(--disc-glow));
}

.upnext-mini-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upnext-mini-code {
  position: absolute;
  left: 4px;
  bottom: 4px;
  padding: 1px 5px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.72);
  font-family: var(--font-mono);
  font-size: 9px;
  color: #f4f1ea;
}

/* Right Column: Borderless Native-Aspect Aperture & Bespoke Transport */
.deck-cinema-stage {
  --aperture-max-h: 66vh;
  --aperture-max-h: min(68vh, calc(100dvh - 184px));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 0;
  width: 100%;
}

.deck-aperture {
  position: relative;
  width: min(100%, calc(var(--aperture-max-h) * var(--film-ratio)));
  aspect-ratio: var(--film-w) / var(--film-h);
  max-height: var(--aperture-max-h);
  border-radius: 10px;
  overflow: hidden;
  background-color: #050508;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.9),
    0 0 80px rgba(var(--disc-glow), 0.26);
  border: 1px solid rgba(255, 255, 255, 0.14);
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(0.91);
  clip-path: inset(6% 3% 6% 3% round 14px);
  transition:
    opacity 0.46s ease 0.08s,
    transform 0.54s cubic-bezier(0.16, 1, 0.3, 1) 0.08s,
    clip-path 0.54s cubic-bezier(0.16, 1, 0.3, 1) 0.08s,
    box-shadow 0.45s ease;
}

.deck-aperture::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 10, 0.25);
  z-index: 0;
  pointer-events: none;
}

.deck-modal.is-open .deck-aperture {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  clip-path: inset(0% 0% 0% 0% round 10px);
}

.deck-modal.is-closing .deck-aperture {
  opacity: 0;
  transform: translate3d(-18px, 22px, 0) scale(0.88);
  clip-path: inset(8% 4% 8% 4% round 14px);
  transition: opacity 0.34s ease, transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), clip-path 0.4s ease;
}

.deck-modal.is-swapping-out .deck-aperture {
  opacity: 0;
  transform: translateX(var(--swap-dir)) scale(0.96);
  transition: opacity 0.17s ease, transform 0.18s ease;
}

.deck-modal.is-swapping-in .deck-aperture {
  opacity: 0;
  transform: translateX(calc(var(--swap-dir) * -1)) scale(0.96);
  transition: none;
}

.deck-aperture video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #050508;
  display: block;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.deck-aperture video.is-video-ready {
  opacity: 1;
}

.deck-tap-overlay {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 2;
}

.deck-pause-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.05) 52%, rgba(0, 0, 0, 0.24) 100%),
    rgba(16, 17, 24, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(16px) saturate(1.45);
  -webkit-backdrop-filter: blur(16px) saturate(1.45);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.65),
    0 0 28px rgba(var(--disc-glow), 0.24),
    inset 0 1.2px 0 rgba(255, 255, 255, 0.52),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  opacity: 0;
  pointer-events: none;
  z-index: 3;
  transition: opacity 0.22s ease, transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.deck-pause-indicator svg {
  width: 26px;
  height: 26px;
  transform: translateX(1.5px);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

.deck-aperture.is-paused .deck-pause-indicator {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Bespoke Transport Control Bar */
.deck-transport-bar {
  width: min(100%, max(520px, calc(var(--aperture-max-h) * var(--film-ratio))));
  padding: 11px 16px 13px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(
    180deg,
    rgba(38, 40, 54, 0.88) 0%,
    rgba(17, 18, 26, 0.94) 52%,
    rgba(11, 12, 18, 0.97) 100%
  );
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.62),
    0 0 32px rgba(var(--disc-glow), 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -1px 0 rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.4s ease 0.14s,
    transform 0.48s cubic-bezier(0.16, 1, 0.3, 1) 0.14s;
}

/* ==========================================================================
   CINEMA FULLSCREEN (ZERO CROP CONTAIN + FLOATING CONTROLS + ORIENTATION SAFE)
   ========================================================================== */
.deck-cinema-stage:fullscreen,
.deck-cinema-stage:-webkit-full-screen,
.deck-cinema-stage.is-fullscreen {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #000000 !important;
  z-index: 2200 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.deck-cinema-stage:fullscreen .deck-aperture,
.deck-cinema-stage:-webkit-full-screen .deck-aperture,
.deck-cinema-stage.is-fullscreen .deck-aperture {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  aspect-ratio: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background-color: #000000 !important;
  background-image: none !important;
  opacity: 1 !important;
  transform: none !important;
  clip-path: none !important;
  transition: none !important;
}

.deck-cinema-stage:fullscreen .deck-aperture::before,
.deck-cinema-stage:-webkit-full-screen .deck-aperture::before,
.deck-cinema-stage.is-fullscreen .deck-aperture::before {
  display: none !important;
}

.deck-cinema-stage:fullscreen .deck-aperture video,
.deck-cinema-stage:-webkit-full-screen .deck-aperture video,
.deck-cinema-stage.is-fullscreen .deck-aperture video,
video:fullscreen,
video:-webkit-full-screen {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  background: #000000 !important;
  opacity: 1 !important;
}

.deck-cinema-stage:fullscreen .deck-transport-bar,
.deck-cinema-stage:-webkit-full-screen .deck-transport-bar,
.deck-cinema-stage.is-fullscreen .deck-transport-bar {
  position: absolute !important;
  left: 50% !important;
  bottom: max(14px, calc(env(safe-area-inset-bottom, 0px) + 10px)) !important;
  transform: translateX(-50%) !important;
  width: min(760px, calc(100% - 24px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px))) !important;
  z-index: 12 !important;
  background: rgba(12, 12, 18, 0.82) !important;
  backdrop-filter: blur(18px) saturate(1.4) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.4) !important;
  opacity: 1 !important;
  transition: opacity 0.26s ease !important;
}

.deck-cinema-stage.is-fullscreen.is-fs-idle {
  cursor: none !important;
}

.deck-cinema-stage.is-fullscreen.is-fs-idle .deck-transport-bar {
  opacity: 0 !important;
  pointer-events: none !important;
}

body.is-pseudo-fullscreen .deck-floating-header,
body.is-pseudo-fullscreen .deck-turntable-dossier {
  visibility: hidden !important;
  pointer-events: none !important;
}

body.is-layout-settling *,
body.is-layout-settling *::before,
body.is-layout-settling *::after {
  transition: none !important;
}

.deck-modal.is-open .deck-transport-bar {
  opacity: 1;
  transform: translateY(0);
}

.deck-modal.is-closing .deck-transport-bar {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.26s ease, transform 0.3s ease;
}

.deck-scrubber {
  padding: 8px 0 11px;
  cursor: pointer;
  touch-action: none;
}

.scrubber-track {
  position: relative;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.78),
    0 1px 0 rgba(255, 255, 255, 0.07);
  transition: height 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

.deck-scrubber:hover .scrubber-track,
.deck-scrubber.is-scrubbing .scrubber-track {
  height: 7px;
}

.scrubber-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(var(--disc-glow), 0.65) 0%,
    rgb(var(--disc-glow)) 82%,
    rgba(255, 255, 255, 0.92) 100%
  );
  box-shadow:
    0 0 14px rgba(var(--disc-glow), 0.68),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.scrubber-thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgb(var(--disc-glow)) 0 23%, rgba(16, 17, 24, 0.92) 25% 37%, transparent 39%),
    linear-gradient(180deg, #ffffff 0%, #e4e8f1 55%, #aeb6c7 100%);
  border: 1px solid rgba(255, 255, 255, 0.94);
  box-shadow:
    0 2px 7px rgba(0, 0, 0, 0.72),
    0 0 0 3px rgba(var(--disc-glow), 0.2),
    0 0 14px rgba(var(--disc-glow), 0.72),
    inset 0 1px 1px rgba(255, 255, 255, 0.95);
  transform: translate(-50%, -50%) scale(0.92);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease;
}

.deck-scrubber:hover .scrubber-thumb {
  transform: translate(-50%, -50%) scale(1.14);
  box-shadow:
    0 3px 9px rgba(0, 0, 0, 0.78),
    0 0 0 4px rgba(var(--disc-glow), 0.28),
    0 0 18px rgba(var(--disc-glow), 0.88),
    inset 0 1px 1px rgba(255, 255, 255, 0.95);
}

.deck-scrubber.is-scrubbing .scrubber-thumb {
  transform: translate(-50%, -50%) scale(1.22);
  box-shadow:
    0 3px 10px rgba(0, 0, 0, 0.85),
    0 0 0 5px rgba(var(--disc-glow), 0.34),
    0 0 22px rgba(var(--disc-glow), 0.95),
    inset 0 1px 1px rgba(255, 255, 255, 1);
}

.transport-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.transport-left,
.transport-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.transport-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.03) 48%, rgba(0, 0, 0, 0.22) 100%),
    rgba(24, 25, 34, 0.74);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 -1px 0 rgba(0, 0, 0, 0.38);
  color: #f4f1ea;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.22s ease,
    border-color 0.22s ease,
    color 0.2s ease,
    box-shadow 0.24s ease;
}

.transport-btn:hover {
  transform: translateY(-1.5px);
  border-color: rgba(255, 255, 255, 0.38);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.06) 50%, rgba(0, 0, 0, 0.18) 100%),
    rgba(32, 34, 46, 0.82);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.46),
    inset 0 -1px 0 rgba(0, 0, 0, 0.42);
}

.transport-btn:active {
  transform: translateY(0) scale(0.95);
  box-shadow:
    0 3px 10px rgba(0, 0, 0, 0.48),
    inset 0 1px 2px rgba(0, 0, 0, 0.45);
}

.transport-ico {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}

.transport-play-btn {
  min-width: 46px;
  padding: 0 14px;
  border-color: rgba(255, 255, 255, 0.36);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.05) 48%, rgba(0, 0, 0, 0.16) 100%),
    radial-gradient(130% 150% at 22% 14%, rgba(var(--disc-glow), 0.52) 0%, rgba(var(--disc-glow), 0.22) 64%, rgba(20, 20, 28, 0.82) 100%);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.46),
    0 0 20px rgba(var(--disc-glow), 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    inset 0 -1px 0 rgba(var(--disc-glow), 0.32);
  color: #ffffff;
}

.transport-play-btn:hover {
  border-color: rgba(255, 255, 255, 0.54);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.08) 48%, rgba(0, 0, 0, 0.14) 100%),
    radial-gradient(130% 150% at 22% 14%, rgba(var(--disc-glow), 0.66) 0%, rgba(var(--disc-glow), 0.32) 64%, rgba(24, 24, 34, 0.85) 100%);
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.52),
    0 0 28px rgba(var(--disc-glow), 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.64),
    inset 0 -1px 0 rgba(var(--disc-glow), 0.42);
}

.transport-play-btn .ico-pause,
.transport-play-btn.is-playing .ico-play {
  display: none;
}

.transport-play-btn.is-playing .ico-pause {
  display: block;
}

.transport-time {
  font-family: var(--font-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: rgba(244, 241, 234, 0.86);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.transport-volume-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 12px 0 4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 48%, rgba(0, 0, 0, 0.22) 100%),
    rgba(22, 23, 32, 0.72);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(0, 0, 0, 0.36);
}

.transport-mute-btn {
  width: 26px;
  height: 26px;
  padding: 0;
  border-radius: 50%;
  border-color: transparent;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.transport-mute-btn:hover {
  transform: scale(1.06);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.14);
}

.transport-mute-btn .vol-mute-x {
  opacity: 0;
  transition: opacity 0.18s ease;
}

.transport-mute-btn .vol-wave {
  transition: opacity 0.18s ease;
}

.transport-mute-btn[data-vol-state="low"] .vol-wave-2 {
  opacity: 0.22;
}

.transport-mute-btn[data-vol-state="muted"] .vol-wave {
  opacity: 0;
}

.transport-mute-btn[data-vol-state="muted"] .vol-mute-x {
  opacity: 1;
  color: #ff6b57;
}

.transport-mute-btn[data-vol-state="muted"] {
  color: rgba(244, 241, 234, 0.76);
}

.volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 58px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgb(var(--disc-glow)) 0 var(--vol-pct, 100%),
    rgba(255, 255, 255, 0.16) var(--vol-pct, 100%) 100%
  );
  outline: none;
  cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff 0%, #dbe0eb 100%);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    0 1px 4px rgba(0, 0, 0, 0.65),
    0 0 8px rgba(var(--disc-glow), 0.55);
  transition: transform 0.15s ease;
}

.volume-slider:hover::-webkit-slider-thumb {
  transform: scale(1.16);
}

.volume-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff 0%, #dbe0eb 100%);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    0 1px 4px rgba(0, 0, 0, 0.65),
    0 0 8px rgba(var(--disc-glow), 0.55);
}

.transport-speed-btn {
  min-width: 56px;
  font-variant-numeric: tabular-nums;
}

.transport-speed-btn .speed-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.transport-speed-btn.is-boosted {
  border-color: rgba(var(--disc-glow), 0.65);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.46),
    0 0 16px rgba(var(--disc-glow), 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.transport-speed-btn.is-boosted .speed-dot {
  background: rgb(var(--disc-glow));
  box-shadow: 0 0 8px rgb(var(--disc-glow));
}

.transport-fs-btn .ico-fs-exit,
.transport-fs-btn.is-active .ico-fs-enter {
  display: none;
}

.transport-fs-btn.is-active .ico-fs-exit {
  display: block;
}

.transport-fs-btn.is-active {
  border-color: rgba(var(--disc-glow), 0.68);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.48),
    0 0 16px rgba(var(--disc-glow), 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

/* ==========================================================================
   SHARED ELEMENT OPTICAL DISC FLIGHT LAYER (FLIP TRANSITION)
   ========================================================================== */
.disc-flight-ghost {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 960;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  transform-origin: center center;
  will-change: transform, opacity;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.75), 0 0 40px rgba(var(--disc-glow), 0.35);
}

.flight-disc-surface {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 33%, rgba(255, 255, 255, 0.14) 33.6%, transparent 34.8%),
    radial-gradient(circle at 30% 24%, rgba(92, 108, 140, 0.34), #171920 68%);
  border: 1px solid rgba(255, 255, 255, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.flight-disc-art {
  width: 44%;
  height: 44%;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.42);
}

.flight-disc-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flight-disc-spindle {
  position: absolute;
  width: 16%;
  height: 16%;
  border-radius: 50%;
  background: #0d0d12;
  border: 3px solid rgba(220, 224, 232, 0.65);
}

.copy-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 2400;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px) scale(0.95);
  transition: opacity 0.24s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.28s;
}

.copy-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition: opacity 0.24s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
}

/* ==========================================================================
   PRIVATE ARCHIVE VAULT (LOCK / UNLOCK CONTROLS & PASSCODE MODAL)
   ========================================================================== */
.vault-lock-btn {
  opacity: 0.72;
  color: var(--ink-muted);
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.vault-lock-btn:hover {
  opacity: 1;
  color: var(--ink);
}

.vault-lock-btn .vault-ico-unlocked {
  display: none;
}

.vault-lock-btn.is-unlocked {
  opacity: 1;
  color: #ff6b52;
  border-color: rgba(229, 57, 36, 0.7);
  background: rgba(229, 57, 36, 0.16);
  box-shadow: 0 0 14px rgba(229, 57, 36, 0.28);
}

.vault-lock-btn.is-unlocked .vault-ico-locked {
  display: none;
}

.vault-lock-btn.is-unlocked .vault-ico-unlocked {
  display: block;
}

body[data-theme="light"] .vault-lock-btn.is-unlocked {
  color: #d42b16;
  background: rgba(212, 43, 22, 0.12);
  border-color: rgba(212, 43, 22, 0.65);
}

.binder-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.vault-binder-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.vault-binder-pill:not(.is-unlocked) {
  padding: 6px 9px;
  opacity: 0.68;
}

.vault-binder-pill:not(.is-unlocked):hover {
  opacity: 1;
}

.vault-binder-pill .vault-ico-unlocked,
.vault-binder-pill.is-unlocked .vault-ico-locked {
  display: none;
}

.vault-binder-pill.is-unlocked {
  opacity: 1;
  border-color: rgba(229, 57, 36, 0.72);
  background: rgba(229, 57, 36, 0.18);
  color: #ffd8cf;
}

.vault-binder-pill.is-unlocked .vault-ico-unlocked {
  display: block;
  color: #ff6b52;
}

.vault-binder-label[hidden] {
  display: none;
}

.binder-private-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(229, 57, 36, 0.88);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.private-disc-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(229, 57, 36, 0.86);
  color: #ffffff;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  vertical-align: middle;
}

.binder-card.is-private-work {
  border-color: rgba(229, 57, 36, 0.35);
}

.vault-modal[hidden] {
  display: none !important;
}

.deck-hide-btn {
  opacity: 0.78;
}

.deck-hide-btn .hide-ico-locked {
  display: none;
}

.deck-hide-btn:not(.is-unlocked-ctrl) {
  padding: 7px 9px;
  opacity: 0.5;
}

.deck-hide-btn:not(.is-unlocked-ctrl):hover {
  opacity: 0.95;
}

.deck-hide-btn.is-unlocked-ctrl {
  opacity: 0.94;
}

.deck-hide-btn.is-unlocked-ctrl.is-work-hidden {
  border-color: rgba(229, 57, 36, 0.78);
  background:
    linear-gradient(180deg, rgba(229, 57, 36, 0.26) 0%, rgba(229, 57, 36, 0.1) 100%),
    rgba(28, 18, 22, 0.84);
  color: #ffd8cf;
  box-shadow:
    0 8px 20px rgba(229, 57, 36, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.deck-hide-btn.is-unlocked-ctrl.is-work-hidden .hide-ico-eye {
  display: none;
}

.deck-hide-btn.is-unlocked-ctrl.is-work-hidden .hide-ico-locked {
  display: block;
  color: #ff6b52;
}

.deck-hide-label[hidden] {
  display: none;
}

.vault-modal {
  position: fixed;
  inset: 0;
  z-index: 2300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

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

.vault-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 10, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.vault-modal-card {
  position: relative;
  z-index: 1;
  width: min(390px, 100%);
  padding: 24px 22px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(18, 18, 25, 0.92);
  background: color-mix(in srgb, var(--surface-solid) 92%, transparent);
  backdrop-filter: blur(26px) saturate(1.3);
  -webkit-backdrop-filter: blur(26px) saturate(1.3);
  color: var(--ink);
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.6);
  transform: translateY(12px) scale(0.96);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.vault-modal.is-open .vault-modal-card {
  transform: translateY(0) scale(1);
}

.vault-modal-card.is-shaking {
  animation: vaultShake 0.36s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes vaultShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-7px); }
  40%, 80% { transform: translateX(7px); }
}

.vault-modal-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 6px;
}

.vault-modal-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.vault-modal-desc {
  margin: 0 0 16px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-muted);
}

.vault-input-wrap {
  margin-bottom: 18px;
}

.vault-passcode-input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: rgba(8, 8, 12, 0.65);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 16px;
  letter-spacing: 0.18em;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.vault-passcode-input:focus {
  border-color: rgba(var(--disc-glow), 0.85);
  box-shadow: 0 0 0 3px rgba(var(--disc-glow), 0.18);
}

body[data-theme="light"] .vault-passcode-input {
  background: rgba(255, 255, 255, 0.78);
}

body[data-theme="light"] .vault-modal-card {
  border-color: rgba(17, 17, 20, 0.15);
  box-shadow: 0 24px 54px rgba(17, 17, 20, 0.24);
}

.vault-error-msg {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: #ff6b52;
}

body[data-theme="light"] .vault-error-msg {
  color: #c92612;
}

.vault-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.vault-btn {
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.18s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.vault-btn:active {
  transform: scale(0.95);
}

.vault-btn-ghost {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--ink-muted);
}

.vault-btn-ghost:hover {
  color: var(--ink);
  border-color: var(--border-strong);
}

.vault-btn-primary {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--accent);
  color: #ffffff;
}

.vault-btn-primary:hover {
  filter: brightness(1.08);
}

/* ==========================================================================
   DESKTOP MOBILE STUDIO PREVIEW (SAME-SITE PORTRAIT SHELL)
   ========================================================================== */
.mobile-studio-overlay[hidden] {
  display: none !important;
}

.mobile-studio-overlay {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.mobile-studio-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-studio-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 9, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.mobile-studio-shell {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-height: 100%;
}

.mobile-studio-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(16, 16, 23, 0.88);
  color: #f4f1ea;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  transform: translateY(-10px);
  transition: transform 0.34s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-studio-overlay.is-open .mobile-studio-toolbar {
  transform: translateY(0);
}

.mobile-studio-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(244, 241, 234, 0.88);
}

.mobile-studio-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgb(var(--disc-glow));
  box-shadow: 0 0 10px rgba(var(--disc-glow), 0.9);
}

.mobile-studio-sizes {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.studio-size-btn {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(244, 241, 234, 0.78);
  font-family: var(--font-mono);
  font-size: 10.5px;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.studio-size-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.34);
}

.studio-size-btn.is-active {
  color: #ffffff;
  background: rgba(var(--disc-glow), 0.9);
  border-color: rgba(var(--disc-glow), 1);
}

.mobile-phone-bezel {
  --phone-w: 402px;
  --phone-h: 874px;
  --bezel-scale: 1;
  position: relative;
  width: calc(var(--phone-w) + 22px);
  height: calc(var(--phone-h) + 22px);
  padding: 11px;
  border-radius: 52px;
  background: linear-gradient(155deg, #2b2e3c 0%, #101118 52%, #1d1f2a 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 36px 90px rgba(0, 0, 0, 0.85),
    0 0 60px rgba(var(--disc-glow), 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform-origin: top center;
  transform: translateY(16px) scale(calc(var(--bezel-scale) * 0.96));
  margin-bottom: calc((var(--bezel-scale) - 1) * (var(--phone-h) + 22px));
  opacity: 0;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
  flex-shrink: 0;
}

.mobile-phone-bezel:not(.has-dynamic-island) {
  border-radius: 36px;
}

.mobile-phone-bezel:not(.has-dynamic-island) .mobile-phone-screen {
  border-radius: 26px;
}

.mobile-studio-overlay.is-open .mobile-phone-bezel {
  opacity: 1;
  transform: translateY(0) scale(var(--bezel-scale));
}

.mobile-phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 42px;
  overflow: hidden;
  background: var(--bg);
  position: relative;
}

.mobile-iframe-host {
  width: 100%;
  height: 100%;
}

.mobile-studio-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: var(--bg);
}

.ios-hardware-hud {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  color: var(--hud-ink, #f4f1ea);
}

.mobile-phone-bezel.is-light-hud .ios-hardware-hud {
  --hud-ink: #111114;
}

.mobile-phone-bezel:not(.has-dynamic-island) .ios-hardware-hud,
.mobile-phone-bezel.is-landscape-bezel .ios-hardware-hud {
  display: none;
}

.ios-status-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 26px 0;
}

.ios-clock {
  font-family: -apple-system, BlinkMacSystemFont, var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ios-status-icons {
  display: inline-flex;
  align-items: center;
}

.ios-dynamic-island {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 124px;
  height: 36px;
  border-radius: 999px;
  background: #000000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 11px;
}

.island-lens {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #243b6b 0%, #090d16 65%, #050508 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.ios-home-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 134px;
  height: 5px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.36;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1100px) {
  .hide-sm {
    display: none;
  }
}

@media (max-width: 1040px) {
  .deck-workspace {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
  }

  .deck-cinema-stage {
    order: 1;
  }

  .deck-turntable-dossier {
    order: 2;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px 14px;
    align-items: center;
    padding: 14px;
  }

  .deck-platter-unit {
    display: flex;
  }

  .platter-base {
    width: 72px;
    height: 72px;
    border-radius: 10px;
  }

  .platter-disc {
    width: 56px;
    height: 56px;
  }

  .deck-tonearm {
    top: 4px;
    right: 4px;
    transform-origin: 9px 9px;
    transform: rotate(2deg) scale(0.42);
  }

  .deck-platter-unit.is-spinning .deck-tonearm {
    transform: rotate(26deg) scale(0.42);
  }

  .deck-dossier-meta {
    min-width: 0;
  }

  .deck-title {
    font-size: 16px;
  }

  .deck-note {
    font-size: 12.5px;
    line-height: 1.5;
  }

  .deck-series-switch,
  .deck-upnext-block {
    grid-column: 1 / -1;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .profile-card {
    position: static;
  }

  .stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .search-pill input {
    width: 152px;
  }

  .search-pill input:focus {
    width: 185px;
  }

  .collector-boxes-grid {
    gap: 18px;
    padding: 36px 4px 8px;
  }

  .collector-box {
    width: clamp(205px, 28vw, 250px);
    height: clamp(248px, 32vh, 290px);
  }
}

@media (max-width: 640px) and (orientation: portrait), (max-width: 640px) and (min-height: 521px) {
  :root {
    --header-h: 48px;
    --sleeve-size: clamp(162px, min(46vw, calc(100vh - var(--safe-top) - var(--safe-bottom) - 450px)), 198px);
    --sleeve-size: clamp(162px, min(46vw, calc(100svh - var(--safe-top) - var(--safe-bottom) - 450px)), 198px);
  }

  .site-header {
    height: calc(var(--header-h) + var(--safe-top));
    padding: var(--safe-top) calc(12px + var(--safe-right)) 0 calc(12px + var(--safe-left));
    gap: 8px;
  }

  .brand-signature {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  }

  body[data-theme="light"] .brand-signature {
    text-shadow: 0 2px 10px rgba(243, 239, 230, 0.72);
  }

  .brand-en {
    font-size: 13.5px;
  }

  .brand-cn {
    font-size: 11.5px;
  }

  .header-right {
    gap: 4px;
  }

  .icon-pill-btn {
    padding: 4px 8px;
    font-size: 10.5px;
    gap: 3px;
  }

  .theme-dot-btn {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }

  .mobile-search-toggle {
    display: inline-flex;
    padding: 4px 8px;
  }

  .hide-xs-inline,
  #sound-toggle-btn,
  .mobile-preview-trigger,
  .hint-desktop-only {
    display: none !important;
  }

  .hint-mobile-only {
    display: inline;
  }

  /* Mobile Slide-Down Search Drawer under Header */
  .search-pill {
    position: fixed;
    top: calc(var(--header-h) + var(--safe-top) + 6px);
    left: 12px;
    right: 12px;
    z-index: 410;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.26s;
  }

  .site-header.is-mobile-search-open .search-pill {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 0.22s ease, transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
  }

  .site-header.is-mobile-search-open .mobile-search-toggle {
    border-color: rgba(var(--disc-glow), 0.9);
    background: var(--surface-2);
    color: var(--ink);
  }

  .search-pill input,
  .search-pill input:focus {
    width: 100%;
    padding: 9px 14px;
    font-size: 16px;
    background: var(--surface-solid);
    background: color-mix(in srgb, var(--surface-solid) 92%, transparent);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
  }

  .disc-stage-section {
    padding: calc(var(--header-h) + var(--safe-top) + 10px) calc(12px + var(--safe-right)) calc(12px + var(--safe-bottom)) calc(12px + var(--safe-left));
  }

  /* Mobile Portrait Act 0: Full-Bleed Cinema Prologue Homepage */
  .hero-prologue-stage {
    gap: 10px;
    padding: 4px 0 0;
  }

  body[data-theme="light"] .hero-cinema-bleed {
    inset: calc(var(--header-h) + var(--safe-top) + 4px) 10px calc(14px + var(--safe-bottom) * 0.45);
    border-radius: 22px;
    box-shadow:
      0 18px 42px rgba(17, 17, 20, 0.18),
      0 0 0 1px rgba(17, 17, 20, 0.08);
  }

  body[data-theme="light"] .hero-prologue-stage {
    padding: 12px 12px calc(18px + var(--safe-bottom) * 0.3);
  }

  .hero-reel-badge {
    padding: 4px 10px;
    font-size: 9.5px;
    gap: 6px;
    letter-spacing: 0.05em;
  }

  .hero-monument-title,
  .hero-monument-title.hero-glass-signature {
    margin: -4px 0 4px;
  }

  .hero-signature-svg {
    width: clamp(238px, 72vw, 312px);
  }

  .hero-manifesto-sub {
    font-size: 11.5px;
    max-width: min(352px, 92vw);
    line-height: 1.5;
    margin-top: 4px;
    margin-bottom: 16px;
  }

  .hero-cta-row {
    gap: 8px;
    flex-wrap: nowrap;
  }

  .btn-enter-archive {
    padding: 11px 16px;
    font-size: 12.5px;
    gap: 6px;
    white-space: nowrap;
  }

  .btn-watch-reel {
    padding: 11px 14px;
    font-size: 12px;
    gap: 6px;
    white-space: nowrap;
  }

  .hero-bottom-rail {
    gap: 6px;
  }

  .hero-marquee-shell {
    width: 100%;
  }

  .hero-marquee-track {
    gap: 20px;
  }

  .marquee-logo-item {
    --logo-h: 15.5px;
  }

  .marquee-logo-item.is-tall {
    --logo-h: 19px;
  }

  .marquee-logo-item.is-mid {
    --logo-h: 15.5px;
  }

  .marquee-logo-item.is-wide {
    --logo-h: 12.5px;
  }

  .marquee-logo-item img {
    max-width: 120px;
  }

  .marquee-brand-item {
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .hero-scroll-cue {
    font-size: 10.5px;
    margin-top: 0;
  }

  /* Mobile Portrait Act 1: 1:1 3D Horizontal Collector Folder Stage */
  .collector-boxes-stage {
    gap: 10px;
    padding: 2px 0;
    overflow: visible;
  }

  .boxes-kicker {
    font-size: 9.5px;
    letter-spacing: 0.12em;
    margin-bottom: 4px;
  }

  .boxes-headline {
    font-size: 22px;
  }

  .collector-boxes-grid {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    height: clamp(296px, calc(100vh - var(--safe-top) - var(--safe-bottom) - 258px), 346px);
    height: clamp(296px, calc(100svh - var(--safe-top) - var(--safe-bottom) - 258px), 346px);
    padding: 0 0 6px;
    perspective: 960px;
    touch-action: pan-y;
    user-select: none;
  }

  .collector-box {
    position: absolute;
    left: 50%;
    bottom: 6px;
    width: clamp(224px, 60vw, 258px);
    height: clamp(222px, calc(100vh - var(--safe-top) - var(--safe-bottom) - 330px), 264px);
    height: clamp(222px, calc(100svh - var(--safe-top) - var(--safe-bottom) - 330px), 264px);
    margin-top: 0;
    transition: filter 0.3s ease;
  }

  body:not(.is-ready) .collector-box {
    opacity: 0;
    transform: translate3d(-50%, 28px, 0) scale(0.92) !important;
  }

  .collector-box.is-unboxing {
    transform: translate3d(-50%, -10px, 24px) scale(1.06) !important;
  }

  .collector-box.is-receding {
    transform: translate3d(-50%, 20px, -80px) scale(0.78) !important;
  }

  .folder-tab-ear {
    top: -17px;
    height: 18px;
    padding: 0 10px;
    font-size: 9px;
  }

  .folder-pages {
    left: 14px;
    right: 14px;
    top: 12px;
    height: 66%;
  }

  .collector-box.is-mobile-peek .folder-page-left {
    opacity: 1;
    transform: translate3d(-26px, -42px, 8px) rotate(-9deg) scale(0.92);
    transition: transform 0.48s cubic-bezier(0.16, 1, 0.3, 1) 0.02s, opacity 0.14s ease;
  }

  .collector-box.is-mobile-peek .folder-page-right {
    opacity: 1;
    transform: translate3d(26px, -42px, 12px) rotate(9deg) scale(0.92);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.04s, opacity 0.14s ease;
  }

  .collector-box.is-mobile-peek .folder-page-center {
    opacity: 1;
    transform: translate3d(0px, -56px, 20px) rotate(0deg) scale(0.97);
    transition: transform 0.46s cubic-bezier(0.16, 1, 0.3, 1) 0s, opacity 0.14s ease;
  }

  .collector-box.is-unboxing .box-front-lid,
  .collector-box.is-opening-all .box-front-lid {
    transform: translateZ(20px) rotateX(-36deg) !important;
  }

  .collector-box.is-unboxing .folder-page-left {
    transform: translate3d(-28px, -52px, 14px) rotate(-10deg) scale(0.95) !important;
  }

  .collector-box.is-unboxing .folder-page-right {
    transform: translate3d(28px, -52px, 18px) rotate(10deg) scale(0.95) !important;
  }

  .collector-box.is-unboxing .folder-page-center,
  .collector-box.is-opening-all .folder-page-center {
    transform: translate3d(0px, -64px, 26px) scale(1) !important;
  }

  .box-front-lid {
    transform: translateZ(20px) rotateX(0deg);
    padding: 15px 16px;
  }

  .collector-box.is-mobile-peek .box-front-lid {
    transform: translateZ(22px) rotateX(-26deg);
    border-color: rgba(var(--box-glow), 0.82);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.34),
      0 22px 46px rgba(0, 0, 0, 0.55),
      0 0 32px rgba(var(--box-glow), 0.26);
  }

  body[data-theme="light"] .collector-box.is-mobile-peek .box-front-lid {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.34),
      0 18px 36px rgba(17, 17, 20, 0.22),
      0 0 26px rgba(var(--box-glow), 0.2);
  }

  .box-lid-top {
    font-size: 10px;
  }

  .box-lid-en {
    font-size: 9.5px;
    margin-bottom: 4px;
  }

  .box-lid-title {
    font-size: 20px;
    margin-bottom: 6px;
  }

  .box-lid-tagline {
    font-size: 11.5px;
    line-height: 1.42;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .box-lid-bottom {
    padding-top: 8px;
    font-size: 10px;
  }

  .mobile-box-dots {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .mob-box-dot-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: 999px;
    border: 0;
    background: transparent;
    color: var(--ink-muted);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.22s ease, color 0.2s ease, transform 0.18s ease;
  }

  .mob-box-dot-btn:active {
    transform: scale(0.95);
  }

  .mob-box-dot-btn i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgb(var(--dot-glow));
    opacity: 0.65;
  }

  .mob-box-dot-btn.is-active {
    background: var(--surface-2);
    color: var(--ink);
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  }

  .mob-box-dot-btn.is-active i {
    opacity: 1;
    box-shadow: 0 0 8px rgba(var(--dot-glow), 0.9);
  }

  .boxes-footer-hint {
    margin-top: 2px;
  }

  .open-all-capsule-btn {
    padding: 6px 14px 6px 8px;
    font-size: 11.5px;
    gap: 8px;
  }

  /* Mobile Portrait Act 2: Native App Horizontal Touch Rails + Clean 3D Carousel */
  .opened-crate-layer {
    gap: 6px;
  }

  .stage-top-bar {
    gap: 6px;
    width: 100%;
  }

  .opened-box-bar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 6px;
    align-items: center;
  }

  .pack-back-btn {
    grid-row: 1;
    grid-column: 1;
    justify-self: start;
    padding: 5px 10px;
    font-size: 11px;
  }

  .box-switcher-pills {
    grid-row: 1;
    grid-column: 2;
    min-width: 0;
    width: 100%;
    padding-bottom: 0;
    padding-right: 12px;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 14px), transparent 100%);
    mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 14px), transparent 100%);
  }

  .crate-tools-toggle-btn {
    grid-row: 1;
    grid-column: 3;
    justify-self: end;
    padding: 5px 10px;
    font-size: 11px;
    gap: 4px;
  }

  .crate-tools-shell.is-collapsed {
    margin-top: -6px;
  }

  .crate-tools-inner {
    width: 100%;
    justify-content: flex-start;
  }

  .crate-tools-bar {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
    gap: 5px 6px;
    padding: 6px 10px;
    border-radius: 16px;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .crate-tools-sep {
    display: none;
  }

  .format-strip {
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
    padding: 0;
    -webkit-mask-image: none;
    mask-image: none;
    flex-shrink: 0;
  }

  .format-chip {
    padding: 3px 9px;
    font-size: 10.5px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .crate-counter {
    font-size: 10px;
    padding: 3px 8px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .all-master-pill {
    padding: 3px 9px;
    font-size: 10.5px;
    flex-shrink: 0;
  }

  .box-pill-btn {
    padding: 5px 10px;
    font-size: 11px;
  }

  .sub-category-dock {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    padding: 2px 16px 2px 2px;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 18px), transparent 100%);
    mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 18px), transparent 100%);
  }

  .sub-category-dock::-webkit-scrollbar {
    display: none;
  }

  .sub-div-chip {
    padding: 4px 10px;
    font-size: 11px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .volume-dock {
    justify-content: flex-start;
    padding: 4px 2px;
  }

  .volume-card-tab {
    min-width: 96px;
    padding: 7px 10px;
  }

  .disc-carousel-viewport {
    height: calc(var(--sleeve-size) * 1.28);
    min-height: 210px;
    margin: 2px auto 6px;
  }

  .disc-track {
    perspective: 660px;
  }

  .disc-item.is-active .disc-sleeve,
  .disc-item.is-active.is-inserting .disc-sleeve {
    transform: translateX(-12px);
  }

  .disc-item.is-active .optical-disc,
  .disc-item.is-active.is-inserting .optical-disc {
    transform: translateX(calc(55.55% - 14px));
  }

  .disc-item.is-active.is-extracting .disc-sleeve,
  .disc-item.is-extracting .disc-sleeve,
  .disc-item.is-active.is-awaiting-insert .disc-sleeve,
  .disc-item.is-awaiting-insert .disc-sleeve {
    transform: translateX(-42px) scale(0.985);
  }

  .disc-item.is-active.is-extracting .optical-disc,
  .disc-item.is-extracting .optical-disc,
  .disc-item.is-active.is-awaiting-insert .optical-disc,
  .disc-item.is-awaiting-insert .optical-disc {
    transform: translateX(78%);
  }

  .stage-arrow {
    display: none;
  }

  .stage-arrow-left { left: 0; }
  .stage-arrow-right { right: 0; }

  .disc-plaque {
    margin: 2px auto 8px;
  }

  .plaque-meta {
    font-size: 10px;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
  }

  .plaque-title {
    font-size: 18px;
    margin-bottom: 5px;
  }

  .plaque-note {
    font-size: 12.5px;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .plaque-actions {
    flex-wrap: nowrap;
    gap: 6px;
  }

  .btn-insert-disc {
    padding: 10px 15px;
    font-size: 12px;
    gap: 6px;
    white-space: nowrap;
  }

  .btn-outline-subtle {
    padding: 9px 11px;
    font-size: 11.5px;
    white-space: nowrap;
  }

  .spine-rack {
    gap: 2px;
    height: 32px;
    padding: 4px 8px;
    touch-action: none;
  }

  .spine-tick {
    min-width: 2px;
  }

  .spine-hover-tooltip {
    max-width: 86vw;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 10px;
  }

  /* Bottom-Sheet Binder Drawer on Mobile */
  .binder-drawer {
    align-items: flex-end;
    padding: 0;
  }

  .binder-panel {
    width: 100%;
    max-height: calc(100vh - var(--safe-top) - 14px);
    max-height: calc(100svh - var(--safe-top) - 14px);
    border-radius: 18px 18px 0 0;
    border-bottom: none;
    padding-bottom: 0;
  }

  .binder-sheet-grabber {
    display: block;
    width: 38px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    margin: 8px auto 2px;
    flex-shrink: 0;
  }

  .binder-header {
    padding: 10px 14px 12px;
    gap: 8px;
    touch-action: none;
  }

  .binder-heading {
    font-size: 14px;
  }

  .binder-header-actions {
    gap: 6px;
  }

  .binder-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 14px 14px calc(16px + var(--safe-bottom));
  }

  /* Portrait Screening Room */
  .deck-room {
    padding: calc(var(--safe-top) + 8px) calc(12px + var(--safe-right)) calc(var(--safe-bottom) + 14px) calc(12px + var(--safe-left));
    gap: 12px;
    justify-content: flex-start;
  }

  .deck-floating-header {
    flex-wrap: nowrap;
    gap: 6px;
  }

  .deck-room-status {
    flex: 1 1 auto;
    min-width: 0;
    padding: 5px 9px;
    font-size: 10px;
    gap: 6px;
  }

  .deck-vol-tag {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .deck-controls {
    flex-shrink: 0;
    width: auto;
    gap: 4px;
  }

  .deck-pill-btn {
    padding: 5px 8px;
    font-size: 10px;
    white-space: nowrap;
  }

  .deck-hide-btn:not(.is-unlocked-ctrl) {
    padding: 5px 7px;
  }

  .deck-aperture {
    width: min(100%, calc((46vh - var(--safe-top) * 0.25) * var(--film-ratio)));
    width: min(100%, calc((46svh - var(--safe-top) * 0.25) * var(--film-ratio)));
    max-height: calc(46vh - var(--safe-top) * 0.25);
    max-height: calc(46svh - var(--safe-top) * 0.25);
  }

  .deck-note {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .deck-transport-bar {
    width: 100%;
    padding: 8px 11px 11px;
    border-radius: 14px;
  }

  .transport-row {
    gap: 8px;
  }

  .transport-left,
  .transport-right {
    gap: 6px;
  }

  .transport-btn {
    height: 30px;
    padding: 0 10px;
    font-size: 10.5px;
    gap: 5px;
    white-space: nowrap;
  }

  .transport-play-btn {
    min-width: 38px;
    padding: 0 11px;
  }

  .transport-volume-group {
    padding: 0;
    height: auto;
    background: none;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .transport-mute-btn {
    width: auto;
    min-width: 34px;
    height: 30px;
    padding: 0 9px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.03) 48%, rgba(0, 0, 0, 0.22) 100%),
      rgba(24, 25, 34, 0.74);
    box-shadow:
      0 6px 16px rgba(0, 0, 0, 0.42),
      inset 0 1px 0 rgba(255, 255, 255, 0.32),
      inset 0 -1px 0 rgba(0, 0, 0, 0.38);
  }

  .transport-speed-btn {
    min-width: 48px;
  }

  .deck-scrubber {
    padding: 10px 0 11px;
  }

  .scrubber-thumb {
    width: 15px;
    height: 15px;
    transform: translate(-50%, -50%) scale(1);
  }

  .volume-slider {
    display: none;
  }

  /* Compact Portrait Profile Card in Chapter 02 */
  .about-section {
    padding: 48px 14px 56px;
  }

  .profile-card {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 12px 14px;
    align-items: center;
    padding: 14px;
  }

  .portrait-frame {
    width: 108px;
    margin: 0;
  }

  .profile-facts {
    border-top: none;
    margin-bottom: 0;
  }

  .fact-row {
    padding: 6px 0;
    font-size: 11.5px;
  }

  .fact-row strong {
    text-align: right;
  }

  .pdf-download-btn {
    grid-column: 1 / -1;
  }

  .timeline-item,
  .commission-links {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .education-card {
    padding: 14px;
  }

  .edu-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .edu-school {
    font-size: 16px;
  }

  .edu-details {
    font-size: 12.5px;
  }

  .comm-link {
    font-size: 13px;
    word-break: break-all;
  }

  .site-footer {
    padding: 18px 14px calc(18px + var(--safe-bottom));
  }

  .copy-toast {
    left: 16px;
    right: 16px;
    bottom: calc(16px + var(--safe-bottom));
    text-align: center;
  }
}

@media (max-width: 390px) and (orientation: portrait), (max-width: 390px) and (min-height: 521px) {
  .header-right {
    gap: 4px;
  }

  .header-right .icon-pill-btn {
    padding: 4px 7px;
    font-size: 10px;
    gap: 3px;
  }

  .hero-monument-title,
  .hero-monument-title.hero-glass-signature {
    margin: -4px 0 4px;
  }

  .hero-signature-svg {
    width: 248px;
  }

  .btn-enter-archive,
  .btn-watch-reel {
    padding: 10px 13px;
    font-size: 12px;
  }
}

/* ==========================================================================
   MOBILE LANDSCAPE (STRICTLY ISOLATED FROM DESKTOP: HORIZONTAL PHONES <= 520PX TALL)
   ========================================================================== */
@media (orientation: landscape) and (max-height: 520px) and (max-width: 1080px) {
  :root {
    --header-h: 40px;
    --sleeve-size: clamp(106px, 29vh, 136px);
    --sleeve-size: clamp(106px, 29svh, 136px);
  }

  body[data-safe-area="island"] {
    --safe-top: 0px;
    --safe-bottom: 14px;
    --safe-left: 44px;
    --safe-right: 44px;
  }

  .site-header {
    height: calc(var(--header-h) + var(--safe-top));
    padding: var(--safe-top) calc(16px + var(--safe-right)) 0 calc(16px + var(--safe-left));
    gap: 8px;
  }

  .brand-signature {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  }

  body[data-theme="light"] .brand-signature {
    text-shadow: 0 2px 10px rgba(243, 239, 230, 0.72);
  }

  .brand-en {
    font-size: 13px;
  }

  .brand-cn {
    font-size: 11px;
  }

  .header-right {
    gap: 5px;
  }

  .icon-pill-btn {
    padding: 3px 9px;
    font-size: 10.5px;
    gap: 4px;
  }

  .theme-dot-btn {
    width: 25px;
    height: 25px;
    font-size: 12px;
  }

  .mobile-search-toggle {
    display: inline-flex;
    padding: 3px 8px;
  }

  .hide-xs-inline,
  .hide-sm,
  #sound-toggle-btn,
  .mobile-preview-trigger,
  .stage-arrow {
    display: none !important;
  }

  /* Slide-down Mobile Search Drawer in Landscape */
  .search-pill {
    position: fixed;
    top: calc(var(--header-h) + var(--safe-top) + 6px);
    left: calc(16px + var(--safe-left));
    right: calc(16px + var(--safe-right));
    z-index: 410;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.26s;
  }

  .site-header.is-mobile-search-open .search-pill {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 0.22s ease, transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
  }

  .search-pill input,
  .search-pill input:focus {
    width: 100%;
    padding: 8px 14px;
    font-size: 15px;
    background: var(--surface-solid);
    background: color-mix(in srgb, var(--surface-solid) 94%, transparent);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
  }

  .disc-stage-section {
    padding: calc(var(--header-h) + var(--safe-top) + 6px) calc(16px + var(--safe-right)) calc(8px + var(--safe-bottom)) calc(16px + var(--safe-left));
  }

  /* Act 0 Home Prologue in Mobile Landscape */
  .hero-prologue-stage {
    gap: 4px;
    padding: 2px 0;
  }

  .hero-reel-hud {
    gap: 5px;
  }

  .hero-reel-badge {
    padding: 3px 10px;
    font-size: 9.5px;
  }

  .hero-reel-dots {
    gap: 5px;
  }

  .hero-monument-title,
  .hero-monument-title.hero-glass-signature {
    margin: -4px 0 0;
  }

  .hero-signature-svg {
    width: clamp(160px, 42vh, 224px);
    width: clamp(160px, 42svh, 224px);
  }

  .hero-manifesto-sub {
    font-size: 11px;
    line-height: 1.4;
    margin: 2px 0 8px;
    max-width: 82vw;
  }

  .hero-cta-row {
    gap: 10px;
  }

  .btn-enter-archive,
  .btn-watch-reel {
    padding: 8px 16px;
    font-size: 12px;
    white-space: nowrap;
  }

  .hero-bottom-rail {
    gap: 3px;
  }

  .marquee-logo-item {
    --logo-h: 13px;
  }

  .marquee-logo-item.is-tall {
    --logo-h: 16px;
  }

  .marquee-logo-item.is-mid {
    --logo-h: 13px;
  }

  .marquee-logo-item.is-wide {
    --logo-h: 11px;
  }

  .marquee-logo-item img {
    max-width: 112px;
  }

  .hero-scroll-cue {
    font-size: 9.5px;
    margin-top: 0;
  }

  /* Act 1 Collector Boxes in Mobile Landscape: Clean 3-up Horizontal Row */
  .collector-boxes-stage {
    gap: 5px;
    padding: 2px 0;
  }

  .boxes-kicker {
    font-size: 9px;
    letter-spacing: 0.14em;
    margin-bottom: 1px;
  }

  .boxes-headline {
    font-size: 16.5px;
  }

  .collector-boxes-grid {
    gap: 12px;
    padding: 40px 6px 2px;
    max-width: 100%;
    height: auto;
    perspective: 900px;
  }

  .collector-box {
    position: relative;
    left: auto;
    bottom: auto;
    width: clamp(168px, 27vw, 228px);
    height: clamp(138px, 41vh, 174px);
    height: clamp(138px, 41svh, 174px);
  }

  .collector-box:hover .folder-page-left {
    transform: translate3d(-18px, -24px, 8px) rotate(-8deg) scale(0.9);
  }

  .collector-box:hover .folder-page-right {
    transform: translate3d(18px, -24px, 14px) rotate(8deg) scale(0.9);
  }

  .collector-box:hover .folder-page-center {
    transform: translate3d(0px, -34px, 20px) rotate(0deg) scale(0.95);
  }

  .folder-tab-ear {
    top: -15px;
    height: 16px;
    padding: 0 9px;
    font-size: 8.5px;
  }

  .box-front-lid {
    padding: 11px 12px;
  }

  .box-lid-top {
    font-size: 9px;
  }

  .box-lid-en {
    font-size: 8.5px;
    margin-bottom: 2px;
  }

  .box-lid-title {
    font-size: 15.5px;
    margin-bottom: 3px;
  }

  .box-lid-tagline {
    font-size: 10px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .box-lid-bottom {
    padding-top: 6px;
    font-size: 9px;
  }

  .mobile-box-dots {
    display: none;
  }

  .boxes-footer-hint {
    margin-top: 0;
  }

  .open-all-capsule-btn {
    padding: 4px 12px 4px 8px;
    font-size: 11px;
    gap: 6px;
  }

  /* Act 2 Carousel in Mobile Landscape: Single-Screen Fit Inside 375–440px Height */
  .opened-crate-layer {
    gap: 2px;
  }

  .stage-top-bar {
    gap: 4px;
    width: 100%;
  }

  .opened-box-bar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 6px;
    align-items: center;
  }

  .pack-back-btn,
  .crate-tools-toggle-btn {
    padding: 4px 10px;
    font-size: 10.5px;
    white-space: nowrap;
  }

  .box-switcher-pills {
    min-width: 0;
    width: 100%;
    padding-bottom: 0;
    padding-right: 12px;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 14px), transparent 100%);
    mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 14px), transparent 100%);
  }

  .box-pill-btn {
    padding: 4px 10px;
    font-size: 10.5px;
  }

  .crate-tools-shell.is-collapsed {
    margin-top: -4px;
  }

  .crate-tools-bar {
    gap: 4px 6px;
    padding: 4px 10px;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .crate-tools-bar::-webkit-scrollbar {
    display: none;
  }

  .format-chip,
  .crate-counter,
  .all-master-pill {
    padding: 2px 8px;
    font-size: 10px;
    white-space: nowrap;
  }

  .sub-category-dock {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 1px 16px 1px 2px;
  }

  .sub-category-dock::-webkit-scrollbar {
    display: none;
  }

  .sub-div-chip {
    padding: 3px 9px;
    font-size: 10px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .disc-carousel-viewport {
    height: calc(var(--sleeve-size) * 1.15);
    min-height: 0;
    margin: 2px auto 4px;
  }

  .disc-track {
    perspective: 680px;
  }

  .disc-item.is-active .disc-sleeve,
  .disc-item.is-active.is-inserting .disc-sleeve {
    transform: translateX(-10px);
  }

  .disc-item.is-active .optical-disc,
  .disc-item.is-active.is-inserting .optical-disc {
    transform: translateX(calc(55.55% - 12px));
  }

  .sleeve-overlay-meta {
    padding: 7px 9px;
  }

  .sleeve-top-row,
  .sleeve-brand,
  .sleeve-dur {
    font-size: 9px;
  }

  .disc-plaque {
    margin: 0 auto 4px;
  }

  .plaque-meta {
    font-size: 9.5px;
    margin-bottom: 2px;
  }

  .plaque-title {
    font-size: 15px;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .plaque-note {
    display: none;
  }

  .plaque-actions {
    gap: 6px;
  }

  .btn-insert-disc {
    padding: 6px 14px;
    font-size: 11px;
    white-space: nowrap;
  }

  .btn-outline-subtle {
    padding: 6px 10px;
    font-size: 10.5px;
    white-space: nowrap;
  }

  .spine-rack {
    height: 22px;
    padding: 2px 8px;
    gap: 2px;
    touch-action: none;
  }

  /* Binder Drawer in Mobile Landscape */
  .binder-drawer {
    padding: calc(var(--safe-top) + 6px) calc(16px + var(--safe-right)) calc(var(--safe-bottom) + 6px) calc(16px + var(--safe-left));
  }

  .binder-panel {
    width: 100%;
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
  }

  .binder-header {
    padding: 10px 16px;
  }

  .binder-heading {
    font-size: 15px;
  }

  .binder-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 12px 16px 16px;
  }

  /* Pocket 2-Column Cinema Screening Room in Mobile Landscape */
  .deck-room {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    padding: max(6px, var(--safe-top)) max(16px, var(--safe-right)) max(8px, var(--safe-bottom)) max(16px, var(--safe-left));
    gap: 6px;
    justify-content: space-between;
  }

  .deck-floating-header {
    flex-wrap: nowrap;
    gap: 8px;
    flex-shrink: 0;
  }

  .deck-room-status {
    padding: 4px 10px;
    font-size: 10px;
    gap: 6px;
    min-width: 0;
  }

  .deck-vol-tag {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .deck-controls {
    flex-shrink: 0;
    gap: 5px;
  }

  .deck-pill-btn {
    padding: 4px 10px;
    font-size: 10px;
    white-space: nowrap;
  }

  .deck-workspace {
    flex: 1 1 auto;
    min-height: 0;
    grid-template-columns: minmax(188px, 224px) minmax(0, 1fr);
    gap: 14px;
    align-items: center;
  }

  .deck-turntable-dossier {
    order: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 12px;
    max-height: calc(100vh - 56px - var(--safe-top) - var(--safe-bottom));
    max-height: calc(100dvh - 56px - var(--safe-top) - var(--safe-bottom));
    overflow-y: auto;
    scrollbar-width: none;
  }

  .deck-turntable-dossier::-webkit-scrollbar {
    display: none;
  }

  .deck-platter-unit {
    display: flex;
  }

  .platter-base {
    width: 70px;
    height: 70px;
    border-radius: 10px;
  }

  .platter-disc {
    width: 54px;
    height: 54px;
  }

  .deck-tonearm {
    top: 4px;
    right: 4px;
    transform-origin: 9px 9px;
    transform: rotate(2deg) scale(0.4);
  }

  .deck-platter-unit.is-spinning .deck-tonearm {
    transform: rotate(26deg) scale(0.4);
  }

  .deck-spec-row,
  .deck-brand {
    font-size: 9.5px;
  }

  .deck-title {
    font-size: 13.5px;
    line-height: 1.25;
  }

  .deck-note {
    font-size: 11px;
    line-height: 1.4;
    margin-top: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .deck-upnext-block {
    padding-top: 8px;
  }

  .upnext-kicker {
    font-size: 9px;
    margin-bottom: 5px;
  }

  .deck-cinema-stage {
    order: 0;
    --aperture-max-h: calc(100vh - var(--safe-top) - var(--safe-bottom) - 102px);
    --aperture-max-h: calc(100dvh - var(--safe-top) - var(--safe-bottom) - 102px);
    height: 100%;
    min-height: 0;
    justify-content: center;
    gap: 6px;
  }

  .deck-aperture {
    width: min(100%, calc(var(--aperture-max-h) * var(--film-ratio)));
    max-height: var(--aperture-max-h);
  }

  .deck-transport-bar {
    width: min(100%, max(320px, calc(var(--aperture-max-h) * var(--film-ratio))));
    padding: 5px 10px 8px;
    border-radius: 12px;
  }

  .deck-scrubber {
    padding: 4px 0 7px;
  }

  .scrubber-thumb {
    width: 14px;
    height: 14px;
    transform: translate(-50%, -50%) scale(0.95);
  }

  .transport-row {
    gap: 6px;
  }

  .transport-left,
  .transport-right {
    gap: 5px;
  }

  .transport-btn {
    height: 28px;
    padding: 0 9px;
    font-size: 10px;
    gap: 4px;
    white-space: nowrap;
  }

  .transport-ico {
    width: 13px;
    height: 13px;
  }

  .transport-play-btn {
    min-width: 34px;
    padding: 0 9px;
  }

  .transport-volume-group {
    padding: 0;
    height: auto;
    background: none;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .transport-mute-btn {
    width: auto;
    min-width: 32px;
    height: 28px;
    padding: 0 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.03) 48%, rgba(0, 0, 0, 0.22) 100%),
      rgba(24, 25, 34, 0.74);
    box-shadow:
      0 6px 16px rgba(0, 0, 0, 0.42),
      inset 0 1px 0 rgba(255, 255, 255, 0.32),
      inset 0 -1px 0 rgba(0, 0, 0, 0.38);
  }

  .transport-speed-btn {
    min-width: 44px;
  }

  .transport-time {
    font-size: 10.5px;
  }

  .volume-slider {
    display: none;
  }

  /* Chapter 02 Compact Landscape Adaptation */
  .about-section {
    padding: 40px calc(16px + var(--safe-right)) 44px calc(16px + var(--safe-left));
  }

  .profile-card {
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  .optical-astrolabe svg,
  .hero-reel-poster,
  .hero-marquee-track,
  .hero-live-dot,
  .hero-signature-svg.is-writing,
  .hero-signature-svg.is-writing .sig-glint,
  .btn-enter-archive::after,
  .disc-item.is-active .disc-vinyl-rotor,
  .deck-platter-unit.is-spinning .platter-rotor,
  .binder-drawer.is-returning-from-deck .binder-card.is-just-returned,
  .binder-card.is-just-returned,
  .binder-card.is-just-returned .binder-thumb::after,
  #sound-toggle-btn.is-on .sound-eq i {
    animation: none !important;
  }

  .sig-stroke {
    stroke-dashoffset: 0 !important;
    opacity: 1 !important;
    animation: none !important;
  }

  body.is-cold-open .site-header,
  body.is-cold-open .disc-stage-section .hero-cinema-bleed,
  body.is-cold-open .ambient-wash-wrap,
  body.is-cold-open .projector-beam,
  body.is-cold-open .optical-astrolabe,
  body.is-cold-open #stage-particles-canvas,
  body.is-cold-open .stage-watermark,
  body.is-cold-open .stage-atmosphere::after,
  body.is-cold-open .about-section,
  body.is-cold-open .site-footer,
  body.is-cold-open .hero-manifesto-sub,
  body.is-cold-open .hero-cta-row,
  body.is-cold-open .hero-reel-hud,
  body.is-cold-open .hero-bottom-rail {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .reveal-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .about-section-head::after,
  .director-quote::before,
  .portrait-frame img {
    transform: none !important;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
