/* ==========================================================================
   WKMZ — CINEMATIC WALLPAPERS & OVERLAYS
   Ultra-Minimalist Dark Luxury Design System (Parallax Shadow-Vitrine)
   ========================================================================== */

@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.28s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

:root {
  --bg-void: #020304;
  --bg-black: #040507;
  --bg-drawer: #06070a;
  --bg-card: rgba(255, 255, 255, 0.02);
  --bg-card-hover: rgba(255, 255, 255, 0.045);

  --accent-orange: #ff6a1e;
  --accent-orange-bright: #ff8542;
  --accent-red: #b81912;
  --accent-crimson: #7a100c;
  --accent-gradient: linear-gradient(135deg, #ff6a1e 0%, #b81912 100%);

  --text-white: #ffffff;
  --text-primary: #eceef2;
  --text-muted: #8c93a2;
  --text-dim: #525866;

  --border-hairline: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 106, 30, 0.5);

  --font-main: 'Outfit', sans-serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;

  --shell-pad: clamp(28px, 4.2vw, 72px);
  --shell-max: 1920px;
  --home-edge: clamp(32px, 6.4vw, 270px);
  --page-inset: max(clamp(48px, 13vw, 370px), calc((100vw - 2080px) / 2));
  --grid-edge: max(var(--shell-pad), calc((100vw - var(--shell-max)) / 2));

  --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  background-color: var(--bg-void);
  color: var(--text-white);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(255, 106, 30, 0.28);
  color: #ffffff;
}

:focus-visible {
  outline: 1.5px solid rgba(255, 133, 66, 0.85);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

/* Custom Minimalist Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #020304;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.13);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 106, 30, 0.6);
}

/* Landing page: Full-viewport 3D Plane Stage (Centered Composition Across 1080p, 1440p, 4K) */
body.minimal-page {
  --vh-full: 100vh;
  --vitrine-w: min(
    calc(100vw - (var(--page-inset) * 1.85)),
    calc(var(--vh-full) * 0.84 * 16 / 9)
  );
  --vitrine-h: clamp(
    calc(var(--vh-full) * 0.76),
    calc(var(--vitrine-w) * 9 / 16),
    calc(var(--vh-full) * 0.84)
  );
  --vitrine-top: calc(var(--vh-full) * 0.5 - (var(--vitrine-h) / 2));
  --vitrine-left: calc(50vw - (var(--vitrine-w) / 2) + 1.8vw);

  --cursor-px: 50%;
  --cursor-py: 50%;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --plane-x: 0px;
  --plane-y: 0px;

  height: 100%;
  height: 100dvh;
  overflow: hidden;
}

@supports (height: 100dvh) {
  body.minimal-page {
    --vh-full: 100dvh;
  }
}

/* Gallery page allows smooth scrolling */
body.gallery-page {
  overflow-x: hidden;
  overflow-y: auto;
}

/* Subtle Peripheral Darkness Frame on Landing Stage */
body.minimal-page::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  box-shadow:
    inset 0 0 95px rgba(0, 0, 0, 0.78),
    inset 0 0 180px rgba(0, 0, 0, 0.45);
  animation: peripheralDread 9s ease-in-out infinite alternate;
}

@keyframes peripheralDread {
  0% {
    opacity: 0.82;
  }
  100% {
    opacity: 1;
  }
}

/* Accessible Search Engine Optimization Class (Hidden from view, indexed by Google & Bing) */
.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;
}

/* ==========================================================================
   Cinema Backdrop & Offset 3D Shadow-Vitrine Portal (Home Page)
   ========================================================================== */
.cinema-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: var(--vh-full, 100vh);
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  background: var(--bg-void);
}

.cinema-ambient-glow {
  --glow-x: 58%;
  --glow-y: 46%;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 44% 44% at var(--glow-x) var(--glow-y),
      rgba(218, 62, 22, 0.085) 0%,
      rgba(145, 18, 14, 0.038) 44%,
      rgba(10, 14, 20, 0.04) 68%,
      transparent 86%
    );
  pointer-events: none;
}

.cinema-portal {
  position: absolute;
  top: var(--vitrine-top);
  left: var(--vitrine-left);
  width: var(--vitrine-w);
  height: var(--vitrine-h);
  border-radius: 0;
  overflow: hidden;
  background: var(--bg-void);
  transform-origin: 54% 50%;
  transform: perspective(1200px) translate3d(var(--plane-x, 0px), var(--plane-y, 0px), 0) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.22) 8%, rgba(0, 0, 0, 0.72) 20%, #000 32%, #000 84%, rgba(0, 0, 0, 0.48) 94%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.35) 7%, #000 20%, #000 78%, rgba(0, 0, 0, 0.42) 91%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.22) 8%, rgba(0, 0, 0, 0.72) 20%, #000 32%, #000 84%, rgba(0, 0, 0, 0.48) 94%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.35) 7%, #000 20%, #000 78%, rgba(0, 0, 0, 0.42) 91%, transparent 100%);
  mask-composite: intersect;
  will-change: transform;
}

.cinema-portal::after {
  display: none;
}

.hero-poster-img,
#hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 24%;
  filter: contrast(1.08) saturate(1.0) brightness(0.95);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

.hero-poster-img {
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease-luxury);
}

.hero-poster-img.is-loaded {
  opacity: 0.96;
}

.hero-poster-img.poster-hidden {
  visibility: hidden;
}

#hero-bg-video {
  z-index: 1;
  opacity: 0;
  transition: opacity 0.6s var(--ease-luxury);
}

#hero-bg-video.is-playing {
  opacity: 0.96;
}

@keyframes cinemaVideoReveal {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0.96;
  }
}

/* Seamless Obsidian Perimeter Blend (Crystal-Clear Center Over Sword & Eyes) */
.cinema-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(
      ellipse 62% 68% at 56% 42%,
      rgba(2, 3, 4, 0) 0%,
      rgba(2, 3, 4, 0.08) 46%,
      rgba(2, 3, 4, 0.56) 75%,
      rgba(2, 3, 4, 0.92) 93%,
      var(--bg-void) 100%
    );
  opacity: 0.96;
}

/* Soft Lower-Left Chiaroscuro Cushion Letting Atmosphere Show Behind Overlapping Type */
.cinema-editorial-shade {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(
      ellipse 42% 60% at 10% 78%,
      rgba(2, 3, 4, 0.92) 0%,
      rgba(2, 3, 4, 0.68) 44%,
      rgba(2, 3, 4, 0.22) 74%,
      transparent 96%
    ),
    linear-gradient(
      90deg,
      var(--bg-void) 0%,
      rgba(2, 3, 4, 0.66) 9%,
      rgba(2, 3, 4, 0.24) 22%,
      transparent 36%
    );
  opacity: 0.96;
}

/* Soft Bottom Atmospheric Dissolve */
.cinema-fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 32%;
  z-index: 4;
  background: linear-gradient(
    to top,
    var(--bg-void) 0%,
    rgba(2, 3, 4, 0.72) 25%,
    rgba(2, 3, 4, 0.22) 62%,
    transparent 100%
  );
  opacity: 0.95;
}

.cinema-fade-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20%;
  z-index: 3;
  background: linear-gradient(
    to bottom,
    var(--bg-void) 0%,
    rgba(2, 3, 4, 0.5) 38%,
    transparent 100%
  );
  opacity: 0.92;
}

/* Subtle Optical Sheen Disabled for Pure Atmospheric Blend */
.cinema-glass-sheen {
  display: none;
}

/* Compositor-Friendly Optical Matte Film Grain (No blend-mode video demotion) */
.cinema-grain {
  position: absolute;
  inset: 0;
  z-index: 9;
  opacity: 0.032;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 165px 165px;
}

.gallery-grain {
  position: fixed;
  z-index: 1;
  opacity: 0.022;
}

/* ==========================================================================
   Header (Unified Smoked-Glass Micro-Dock — Seamless Until Scrolled)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding: clamp(18px, 2.1vh, 34px) var(--home-edge);
  background: transparent;
  border: none;
  transition: padding 0.35s var(--ease-luxury),
              background-color 0.35s var(--ease-luxury),
              backdrop-filter 0.35s ease,
              -webkit-backdrop-filter 0.35s ease;
  animation: chromeFadeIn 0.7s ease-out both;
}

.header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.075) 12%,
    rgba(255, 255, 255, 0.075) 88%,
    transparent 100%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-luxury);
}

.gallery-page .header.is-scrolled {
  padding-top: clamp(12px, 1.4vh, 18px);
  padding-bottom: clamp(12px, 1.4vh, 18px);
  background: rgba(3, 4, 6, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.gallery-page .header.is-scrolled::after {
  opacity: 1;
}

.header-inner {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand-logo {
  width: clamp(24px, 1.25vw, 36px);
  height: clamp(24px, 1.25vw, 36px);
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(255, 106, 30, 0.48));
  transition: filter 0.35s ease, transform 0.3s var(--ease-luxury);
}

.brand-link:hover .brand-logo {
  filter: drop-shadow(0 0 20px rgba(255, 106, 30, 0.85)) drop-shadow(0 0 8px rgba(184, 25, 18, 0.55));
  transform: scale(1.03);
}

.brand-name {
  font-family: var(--font-main);
  font-size: clamp(0.82rem, 0.64vw, 1.15rem);
  font-weight: 800;
  letter-spacing: 0.25em;
  color: var(--text-white);
  line-height: 1;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.brand-link:hover .brand-name {
  text-shadow: 0 0 18px rgba(255, 106, 30, 0.3);
}

/* Integrated Obsidian Micro-Dock */
.nav-dock {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 4px;
  gap: 4px;
  background: rgba(5, 6, 9, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 5px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    inset 0 0 18px rgba(0, 0, 0, 0.85),
    0 14px 36px rgba(0, 0, 0, 0.82);
}

.dock-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: clamp(28px, 2.55vh, 38px);
  padding: 0 clamp(12px, 0.82vw, 20px);
  padding-left: calc(clamp(12px, 0.82vw, 20px) + 0.2em);
  border-radius: 3px;
  border: 1px solid transparent;
  font-family: var(--font-main);
  font-size: clamp(0.6rem, 0.48vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #aeb5c4;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.dock-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.075);
}

.dock-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.075);
  flex-shrink: 0;
}

.dock-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: clamp(28px, 2.55vh, 38px);
  padding: 0 clamp(12px, 0.82vw, 20px);
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(196, 46, 20, 0.16) 0%, rgba(92, 12, 10, 0.08) 100%);
  border: 1px solid rgba(226, 74, 30, 0.34);
  color: #f0f2f6;
  font-family: var(--font-main);
  font-size: clamp(0.6rem, 0.48vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.28s var(--ease-luxury);
}

.dock-cta:hover {
  color: #ffffff;
  background: linear-gradient(180deg, rgba(226, 74, 30, 0.26) 0%, rgba(154, 20, 14, 0.12) 100%);
  border-color: rgba(255, 106, 30, 0.72);
  box-shadow: 0 0 22px rgba(214, 58, 24, 0.22);
}

.nav-btn-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-orange);
  box-shadow: 0 0 8px rgba(255, 106, 30, 0.85);
  flex-shrink: 0;
  transition: box-shadow 0.28s ease;
}

.dock-cta:hover .nav-btn-dot {
  box-shadow: 0 0 13px #ff8542;
}

/* ==========================================================================
   Hero Stage — 3D Plane Wallpaper & Proportional Editorial Hierarchy
   ========================================================================== */
.hero-stage {
  position: relative;
  z-index: 10;
  height: 100vh;
  height: 100dvh;
  padding: 0;
  user-select: none;
  pointer-events: none;
}

/* Overlapping Left Editorial Identity — Centered Stage Composition & High Legibility */
.editorial-identity {
  position: fixed;
  left: var(--page-inset);
  bottom: calc(var(--vh-full) - var(--vitrine-top) - var(--vitrine-h) + clamp(52px, 7.6vh, 118px));
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: auto;
  animation: heroIdentityReveal 0.85s var(--ease-luxury) 0.08s both;
}

@keyframes heroIdentityReveal {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.editorial-display {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  gap: clamp(8px, 0.95vh, 16px);
}

.editorial-wkmz {
  font-family: var(--font-main);
  font-size: clamp(3.3rem, 5.1vw, 7.6rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: 0.14em;
  margin-left: -0.03em;
  background: linear-gradient(180deg, #ffffff 0%, #eef1f6 52%, #b0b8c7 85%, #848d9e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #ffffff;
  filter:
    drop-shadow(0 4px 16px rgba(0, 0, 0, 0.98))
    drop-shadow(0 18px 44px rgba(0, 0, 0, 0.96))
    drop-shadow(0 0 32px rgba(184, 25, 18, 0.24));
}

.editorial-studios {
  font-family: var(--font-main);
  font-size: clamp(1.2rem, 1.84vw, 3.02rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.52em;
  padding-left: 0.04em;
  background: linear-gradient(180deg, #ffe2ce 0%, #ff762b 54%, #b31e14 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent-orange);
  filter:
    drop-shadow(0 3px 12px rgba(0, 0, 0, 0.99))
    drop-shadow(0 10px 28px rgba(0, 0, 0, 0.96));
}

.editorial-sub-row {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: clamp(12px, 0.85vw, 18px);
  margin-top: clamp(18px, 2.1vh, 34px);
  padding-top: clamp(14px, 1.5vh, 22px);
  padding-left: 2px;
}

.editorial-sub-row::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 106, 30, 0.42) 0%,
    rgba(255, 255, 255, 0.12) 48%,
    transparent 100%
  );
  pointer-events: none;
}

.gallery-sub-row {
  padding-top: 0;
}

.gallery-sub-row::before {
  display: none;
}

.editorial-ember-tick {
  width: clamp(22px, 1.4vw, 34px);
  height: 1.5px;
  background: linear-gradient(90deg, var(--accent-orange) 0%, var(--accent-red) 100%);
  box-shadow: 0 0 12px rgba(255, 106, 30, 0.9);
  flex-shrink: 0;
  transition: width 0.42s var(--ease-luxury), box-shadow 0.35s ease;
}

.editorial-identity:hover .editorial-ember-tick,
.gallery-identity:hover .editorial-ember-tick {
  width: clamp(34px, 2.2vw, 50px);
  box-shadow: 0 0 16px rgba(255, 133, 66, 0.98);
}

.editorial-subline {
  font-family: var(--font-sans);
  font-size: clamp(0.66rem, 0.7vw, 1.1rem);
  font-weight: 500;
  letter-spacing: 0.32em;
  color: #cfd5e2;
  text-transform: uppercase;
  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.99),
    0 6px 26px rgba(0, 0, 0, 0.98);
  transition: color 0.3s ease;
}

.editorial-identity:hover .editorial-subline {
  color: #ffffff;
}

.editorial-identity .hero-cta {
  margin-top: clamp(20px, 2.3vh, 36px);
  height: clamp(40px, 3.8vh, 56px);
  padding: 0 clamp(22px, 1.5vw, 34px);
  padding-left: calc(clamp(22px, 1.5vw, 34px) + 0.24em);
  font-size: clamp(0.66rem, 0.62vw, 0.96rem);
  gap: clamp(10px, 0.75vw, 16px);
}

/* Primary Minimalist Action Button (Empty Category Showcase) */
.hero-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  height: 44px;
  padding: 0 26px;
  padding-left: calc(26px + 0.24em);
  border-radius: 5px;
  text-decoration: none;
  font-family: var(--font-main);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: #e6e9ef;
  background: linear-gradient(180deg, rgba(12, 13, 18, 0.92) 0%, rgba(4, 5, 7, 0.97) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    inset 0 0 20px rgba(0, 0, 0, 0.85),
    0 18px 42px rgba(0, 0, 0, 0.9);
  cursor: pointer;
  transition: transform 0.35s var(--ease-luxury),
              border-color 0.35s ease,
              background 0.35s ease,
              box-shadow 0.35s var(--ease-luxury),
              color 0.25s ease;
}

.hero-cta-arrow {
  color: var(--accent-orange-bright);
  transition: transform 0.35s var(--ease-luxury), color 0.25s ease;
  flex-shrink: 0;
}

.hero-cta:hover {
  color: #ffffff;
  background: linear-gradient(180deg, rgba(168, 30, 18, 0.24) 0%, rgba(6, 3, 4, 0.98) 100%);
  border-color: rgba(255, 106, 30, 0.56);
  box-shadow:
    inset 0 0 24px rgba(145, 18, 14, 0.26),
    0 20px 46px rgba(0, 0, 0, 0.94),
    0 0 28px rgba(184, 25, 18, 0.22);
  transform: translateY(-2px);
}

.hero-cta:hover .hero-cta-arrow {
  transform: translateX(4px);
  color: #ffffff;
}

.hero-cta:active {
  transform: translateY(0) scale(0.985);
}

@keyframes heroTitleReveal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes sublineReveal {
  0% { opacity: 0; }
  100% { opacity: 0.96; }
}

@keyframes chromeFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* ==========================================================================
   Footer Bar (Minimalist Luxury Telemetry — Unified Across Home & Gallery)
   ========================================================================== */
.footer-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding: clamp(18px, 2.1vh, 34px) var(--page-inset);
  animation: chromeFadeIn 1s var(--ease-luxury) 0.28s both;
}

.footer-inner {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  font-family: var(--font-sans);
  font-size: clamp(0.62rem, 0.49vw, 0.84rem);
  letter-spacing: 0.18em;
  color: var(--text-dim);
}

body.minimal-page .footer-inner {
  padding-top: 0;
}

body.minimal-page .footer-inner::before {
  display: none;
}

.footer-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.065) 20%,
    rgba(255, 106, 30, 0.18) 50%,
    rgba(255, 255, 255, 0.065) 80%,
    transparent 100%
  );
}

.footer-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  font-family: var(--font-sans);
  font-size: clamp(0.62rem, 0.49vw, 0.84rem);
  letter-spacing: 0.18em;
  cursor: pointer;
  padding: 7px 14px;
  margin-left: -14px;
  border-radius: 3px;
  border: 1px solid transparent;
  transition: all 0.28s var(--ease-luxury);
}

.footer-left:hover {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(34, 229, 132, 0.28);
}

.footer-left:hover .footer-text {
  color: var(--text-white);
}

.status-dot {
  position: relative;
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background-color: #22e584;
  box-shadow: 0 0 11px rgba(34, 229, 132, 0.72);
  flex-shrink: 0;
}

.status-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(34, 229, 132, 0.45);
  animation: statusPulse 3.6s ease-out infinite;
}

@keyframes statusPulse {
  0% {
    transform: scale(0.6);
    opacity: 0.9;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes livePulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.42;
    transform: scale(0.85);
  }
}

.footer-text {
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.25s ease;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-copy {
  color: #5b616e;
  font-weight: 500;
}

/* ==========================================================================
   Pricing & Contact Drawer (Abyssal Obsidian Slide-in Panel)
   ========================================================================== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.45s var(--ease-luxury);
}

.drawer-overlay.active {
  visibility: visible;
  pointer-events: auto;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 3, 4, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: background-color 0.45s var(--ease-luxury),
              backdrop-filter 0.45s var(--ease-luxury),
              -webkit-backdrop-filter 0.45s var(--ease-luxury);
  will-change: background-color, backdrop-filter;
}

.drawer-overlay.active .drawer-backdrop {
  background: rgba(2, 3, 4, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 510px;
  height: 100%;
  background: linear-gradient(165deg, #07080b 0%, #040507 48%, #020304 100%);
  border-left: 1px solid rgba(226, 74, 30, 0.3);
  padding: 36px 34px 42px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow:
    -36px 0 98px rgba(0, 0, 0, 0.98),
    -4px 0 40px rgba(184, 25, 18, 0.12),
    inset 1px 0 0 rgba(255, 255, 255, 0.05);
  transform: translate3d(100%, 0, 0);
  transition: transform 0.45s var(--ease-luxury);
  will-change: transform;
  z-index: 10;
}

.drawer-panel::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 340px;
  height: 340px;
  background: radial-gradient(
    circle at 85% 8%,
    rgba(255, 106, 30, 0.1) 0%,
    rgba(184, 25, 18, 0.04) 45%,
    transparent 72%
  );
  pointer-events: none;
  z-index: 0;
}

.drawer-overlay.active .drawer-panel {
  transform: translate3d(0, 0, 0);
}

.drawer-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.drawer-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 0 11px rgba(255, 106, 30, 0.45));
}

.drawer-titles {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.drawer-brand-name {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #fff;
  line-height: 1.1;
}

.drawer-brand-sub {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--accent-orange);
}

.drawer-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 3px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.drawer-close-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.13);
}

.drawer-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.drawer-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--accent-orange);
  text-transform: uppercase;
}

/* Pricing List Rows */
.pricing-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 19px;
  background: linear-gradient(135deg, rgba(14, 15, 20, 0.72) 0%, rgba(4, 5, 7, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.068);
  border-left: 2px solid rgba(255, 255, 255, 0.14);
  border-radius: 1px;
  cursor: pointer;
  box-shadow:
    inset 0 0 22px rgba(0, 0, 0, 0.85),
    0 12px 26px rgba(0, 0, 0, 0.65);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s var(--ease-luxury);
}

.pricing-row:hover {
  background: linear-gradient(135deg, rgba(22, 24, 30, 0.82) 0%, rgba(6, 7, 10, 0.96) 100%);
  border-color: rgba(255, 255, 255, 0.16);
  border-left-color: var(--accent-orange);
  transform: translateX(2px);
}

.pricing-row.featured {
  border-color: rgba(255, 106, 30, 0.42);
  border-left: 2px solid var(--accent-orange);
  background: linear-gradient(125deg, rgba(168, 30, 18, 0.16) 0%, rgba(72, 10, 8, 0.08) 55%, rgba(4, 5, 7, 0.94) 100%);
  box-shadow:
    inset 0 0 24px rgba(0, 0, 0, 0.8),
    0 12px 28px rgba(0, 0, 0, 0.72),
    0 0 22px rgba(184, 25, 18, 0.14);
}

.pricing-row.featured:hover {
  border-color: rgba(255, 106, 30, 0.7);
}

.pricing-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.item-name {
  font-size: 0.94rem;
  font-weight: 600;
  color: #ffffff;
}

.item-sub {
  font-family: var(--font-sans);
  font-size: 0.73rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.pricing-cost {
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--accent-orange);
  white-space: nowrap;
}

.pricing-note {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  color: var(--text-dim);
  line-height: 1.45;
  padding-left: 2px;
}

/* Contact Cards */
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-box {
  position: relative;
  width: 100%;
  text-align: left;
  font-family: inherit;
  color: inherit;
  background: linear-gradient(135deg, rgba(14, 15, 20, 0.72) 0%, rgba(4, 5, 7, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.068);
  border-left: 2px solid rgba(255, 255, 255, 0.14);
  border-radius: 1px;
  padding: 15px 17px;
  cursor: pointer;
  transition: all 0.28s var(--ease-luxury);
  text-decoration: none;
  display: block;
  box-shadow:
    inset 0 0 22px rgba(0, 0, 0, 0.85),
    0 12px 26px rgba(0, 0, 0, 0.65);
}

.contact-box-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #c2c8d4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.28s var(--ease-luxury);
}

.contact-body {
  flex: 1;
  min-width: 0;
  display: block;
}

.contact-box:hover {
  border-color: var(--border-hover);
  border-left-color: var(--accent-orange);
  background: linear-gradient(135deg, rgba(168, 30, 18, 0.14) 0%, rgba(5, 6, 8, 0.94) 100%);
  transform: translateX(3px);
}

.contact-box:hover .contact-icon {
  color: #ffffff;
  background: rgba(255, 106, 30, 0.18);
  border-color: rgba(255, 106, 30, 0.52);
  box-shadow: 0 0 18px rgba(255, 106, 30, 0.24);
}

.contact-box.featured-contact {
  border-color: rgba(255, 106, 30, 0.44);
  border-left: 2px solid var(--accent-orange);
  background: linear-gradient(125deg, rgba(168, 30, 18, 0.18) 0%, rgba(72, 10, 8, 0.08) 55%, rgba(4, 5, 7, 0.94) 100%);
  box-shadow:
    inset 0 0 24px rgba(0, 0, 0, 0.8),
    0 12px 28px rgba(0, 0, 0, 0.72),
    0 0 22px rgba(184, 25, 18, 0.16);
}

.contact-box.featured-contact.attention-pulse {
  border-color: #ff8542;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 14px 32px rgba(0, 0, 0, 0.7),
    0 0 34px rgba(255, 106, 30, 0.38);
}

.contact-box.featured-contact .contact-icon {
  background: rgba(255, 106, 30, 0.18);
  border-color: rgba(255, 106, 30, 0.48);
  color: var(--accent-orange-bright);
}

.contact-box.featured-contact:hover {
  border-color: rgba(255, 106, 30, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 14px 32px rgba(0, 0, 0, 0.7),
    0 0 30px rgba(255, 106, 30, 0.24);
}

.contact-box.featured-contact:hover .contact-icon {
  color: #ffffff;
  background: var(--accent-orange);
  border-color: var(--accent-orange-bright);
}

.contact-type {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-box.featured-contact .contact-type {
  color: var(--accent-orange-bright);
}

.contact-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.contact-handle {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.03em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-badge, .arrow-badge {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 4px 10px;
  border-radius: 2px;
  color: var(--text-primary);
  flex-shrink: 0;
  transition: all 0.25s var(--ease-luxury);
}

.contact-box:hover .copy-badge {
  background: var(--accent-orange);
  border-color: var(--accent-orange-bright);
  color: #fff;
  box-shadow: 0 0 14px rgba(255, 106, 30, 0.42);
}

.copy-badge.is-copied {
  background: #22e584 !important;
  border-color: #22e584 !important;
  color: #030406 !important;
  box-shadow: 0 0 16px rgba(34, 229, 132, 0.45) !important;
}

.contact-box:hover .arrow-badge {
  background: rgba(255, 106, 30, 0.2);
  border-color: rgba(255, 106, 30, 0.52);
  color: #fff;
  transform: translateX(2px);
}

.contact-hint {
  font-family: var(--font-sans);
  font-size: 0.69rem;
  color: var(--text-dim);
  display: block;
  margin-top: 2px;
}

/* ==========================================================================
   Gallery Page Layout (Matched Abyssal Atmosphere & Editorial Grid)
   ========================================================================== */
.gallery-ambient-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 42% at 58% 10%, rgba(214, 58, 24, 0.065) 0%, rgba(140, 20, 14, 0.025) 46%, transparent 78%),
    radial-gradient(ellipse 75% 58% at 20% 34%, rgba(12, 16, 26, 0.2) 0%, transparent 72%);
}

.gallery-container {
  max-width: none;
  width: 100%;
  min-height: calc(100vh - 120px);
  margin: 0 auto;
  padding: clamp(112px, 12.5vh, 168px) var(--page-inset) clamp(84px, 9vh, 124px);
  position: relative;
  z-index: 2;
}

.gallery-hero-header {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: clamp(24px, 2.8vh, 36px);
  margin-bottom: clamp(34px, 4vh, 52px);
  border-bottom: none;
}

.gallery-hero-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 106, 30, 0.28) 0%,
    rgba(255, 255, 255, 0.07) 28%,
    rgba(255, 255, 255, 0.045) 82%,
    transparent 100%
  );
  pointer-events: none;
}

.gallery-identity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: heroIdentityReveal 0.85s var(--ease-luxury) 0.04s both;
}

.gallery-title {
  font-size: clamp(2.65rem, 3.8vw, 5.4rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-left: -0.02em;
  line-height: 0.92;
  background: linear-gradient(180deg, #f2f4f7 0%, #cdd3dd 56%, #757d8a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #f2f4f7;
  filter:
    drop-shadow(0 4px 16px rgba(0, 0, 0, 0.96))
    drop-shadow(0 16px 40px rgba(0, 0, 0, 0.94))
    drop-shadow(0 0 24px rgba(175, 22, 16, 0.2));
  margin-top: 0;
  margin-bottom: 0;
}

.gallery-sub-row {
  margin-top: clamp(12px, 1.5vh, 22px);
}

.gallery-subline {
  font-family: var(--font-sans);
  font-size: clamp(0.64rem, 0.62vw, 0.92rem);
  font-weight: 600;
  letter-spacing: 0.34em;
  color: #9ba3b4;
  text-transform: uppercase;
  margin: 0;
}

/* Machined Obsidian Filter Dock */
.gallery-filters {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
  padding: 4.5px;
  background: rgba(5, 6, 9, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 5px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    inset 0 0 18px rgba(0, 0, 0, 0.85),
    0 18px 44px rgba(0, 0, 0, 0.82);
  animation: sublineReveal 0.9s var(--ease-luxury) 0.12s both;
  flex-shrink: 0;
}

.filter-glider {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(196, 46, 20, 0.24) 0%, rgba(105, 14, 10, 0.1) 100%);
  border: 1px solid rgba(255, 106, 30, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 4px 18px rgba(184, 25, 18, 0.22);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: transform 0.38s var(--ease-luxury),
              width 0.38s var(--ease-luxury),
              height 0.38s var(--ease-luxury),
              opacity 0.2s ease;
  will-change: transform, width, height;
}

.gallery-filters.glider-ready .filter-glider {
  opacity: 1;
}

.gallery-filters.glider-instant .filter-glider {
  transition: none;
}

.filter-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-main);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  padding: 10px 22px;
  border-radius: 2px;
  cursor: pointer;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.filter-btn:hover {
  color: #ffffff;
}

.gallery-filters:not(.glider-ready) .filter-btn:hover {
  background: rgba(255, 255, 255, 0.045);
}

.filter-btn.active {
  color: #ffffff;
}

.gallery-filters:not(.glider-ready) .filter-btn.active {
  background: linear-gradient(180deg, rgba(255, 106, 30, 0.22) 0%, rgba(184, 25, 18, 0.09) 100%);
  border-color: rgba(255, 106, 30, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 4px 20px rgba(255, 106, 30, 0.22);
}

.filter-count {
  font-family: var(--font-sans);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  transition: color 0.25s ease;
}

.filter-count:empty {
  display: none;
}

.filter-btn:hover .filter-count {
  color: var(--text-muted);
}

.filter-btn.active .filter-count {
  color: var(--accent-orange-bright);
}

/* True 3-Column Height-Balanced Masonry Layout */
.gallery-masonry,
.gallery-grid {
  display: flex;
  gap: 28px;
  width: 100%;
  align-items: flex-start;
}

.masonry-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}

/* Obsidian Gallery Cards (Hardware SwapChain Safe — Full Project Clarity) */
.gallery-card {
  width: 100%;
  background: #040507;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.92);
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.38s var(--ease-luxury), border-color 0.32s ease, box-shadow 0.38s var(--ease-luxury);
  position: relative;
  animation: galleryCardEnter 0.55s var(--ease-luxury) both;
}

.gallery-card.card-entered {
  animation: none;
}

@keyframes galleryCardEnter {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.gallery-card:hover {
  transform: translate3d(0, -4px, 0);
  border-color: rgba(255, 106, 30, 0.55);
  box-shadow:
    0 30px 72px rgba(0, 0, 0, 0.96),
    0 0 36px rgba(184, 25, 18, 0.2);
}

.card-media-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-void);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gallery-card[data-category="avatars"] .card-media-wrap {
  aspect-ratio: 1 / 1;
}

.card-media-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 -12px 18px rgba(2, 3, 4, 0.14);
  pointer-events: none;
  z-index: 3;
  transition: box-shadow 0.35s ease;
}

.gallery-card:hover .card-media-wrap::after {
  box-shadow: inset 0 -10px 14px rgba(2, 3, 4, 0.08);
}

/* Lightweight Compositor-Safe Placeholder While Video Hydrates */
.card-media-wrap.loading-shimmer {
  background: radial-gradient(ellipse at center, #0c0f16 0%, #030406 100%);
}

/* Background vignette specifically for transparent chatblockers */
.gallery-card[data-category="chatblockers"] .card-media-wrap {
  background: radial-gradient(ellipse at center, rgba(20, 24, 34, 0.76) 0%, rgba(3, 4, 6, 0.99) 100%);
}

.card-media-wrap video,
.card-media-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: opacity 0.4s ease;
}

.gallery-card[data-category="chatblockers"] .card-media-wrap video,
.gallery-card[data-category="chatblockers"] .card-media-wrap img {
  object-fit: contain;
}

.card-media-wrap.is-ready video,
.card-media-wrap.is-ready img {
  opacity: 1;
}

.card-hover-indicator {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  background: rgba(4, 5, 7, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 2px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange-bright);
  opacity: 0;
  transform: translate3d(0, 4px, 0) scale(0.92);
  transition: opacity 0.26s var(--ease-luxury), transform 0.26s var(--ease-luxury), border-color 0.25s ease;
  z-index: 5;
  pointer-events: none;
}

.card-category-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  padding: 5px 11px;
  background: rgba(4, 5, 7, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #d6dce8;
  opacity: 0;
  transform: translate3d(0, 4px, 0);
  transition: opacity 0.26s var(--ease-luxury), transform 0.26s var(--ease-luxury);
  z-index: 5;
  pointer-events: none;
}

.gallery-card:hover .card-hover-indicator {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  border-color: rgba(255, 133, 66, 0.56);
}

.gallery-card:hover .card-category-tag {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.expand-icon-svg {
  display: block;
}

/* Empty Category Showcase State */
.gallery-empty-state {
  position: relative;
  max-width: 560px;
  margin: 28px auto 44px;
  padding: 50px 38px;
  text-align: center;
  background: linear-gradient(165deg, rgba(8, 9, 13, 0.94) 0%, rgba(2, 3, 4, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  box-shadow:
    inset 0 0 28px rgba(0, 0, 0, 0.9),
    0 28px 72px rgba(0, 0, 0, 0.94);
  animation: galleryCardEnter 0.5s var(--ease-luxury) both;
}

.empty-state-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.empty-state-kicker {
  font-family: var(--font-sans);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--accent-orange);
}

.empty-state-title {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--text-white);
}

.empty-state-desc {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 410px;
  margin-bottom: 10px;
}

/* Floating Back-to-Top Control */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 32px;
  z-index: 60;
  width: 44px;
  height: 44px;
  border-radius: 3px;
  background: rgba(4, 5, 7, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: var(--text-primary);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.86);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  pointer-events: none;
  transition: all 0.32s var(--ease-luxury);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  color: #ffffff;
  border-color: rgba(255, 106, 30, 0.65);
  background: rgba(255, 106, 30, 0.18);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.88), 0 0 22px rgba(255, 106, 30, 0.24);
  transform: translateY(-2px);
}

.gallery-footer {
  position: relative;
  z-index: 2;
  max-width: none;
  width: 100%;
  margin: 0 auto;
  padding: clamp(28px, 3.6vh, 44px) var(--page-inset);
}

/* ==========================================================================
   Enlarged Cinema Lightbox Viewer (With Prev/Next, Keyboard & Touch Nav)
   ========================================================================== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-luxury), visibility 0.35s var(--ease-luxury);
  padding: 40px 84px;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 2, 3, 0.975);
  opacity: 0;
  transition: opacity 0.35s var(--ease-luxury);
  will-change: opacity;
}

.lightbox-overlay.active .lightbox-backdrop {
  opacity: 1;
}

.lightbox-nav-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 48px;
  height: 48px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s var(--ease-luxury);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.lightbox-nav-btn:hover {
  color: var(--text-white);
  background: rgba(255, 106, 30, 0.14);
  border-color: rgba(255, 106, 30, 0.58);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.82), 0 0 20px rgba(255, 106, 30, 0.22);
}

.lightbox-prev:hover {
  transform: translateY(-50%) translateX(-2px);
}

.lightbox-next:hover {
  transform: translateY(-50%) translateX(2px);
}

.lightbox-nav-btn.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.lightbox-container {
  position: relative;
  z-index: 10;
  width: auto;
  max-width: min(88vw, 1480px);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  opacity: 0;
  transform: scale(0.96);
  transition: transform 0.35s var(--ease-luxury), opacity 0.35s var(--ease-luxury);
  will-change: transform, opacity;
}

.lightbox-overlay.active .lightbox-container {
  opacity: 1;
  transform: scale(1);
}

.lightbox-close-btn {
  position: absolute;
  top: -48px;
  right: 0;
  width: 38px;
  height: 38px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s var(--ease-luxury);
}

.lightbox-close-btn:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.lightbox-media-frame {
  position: relative;
  z-index: 5;
  width: auto;
  min-width: 240px;
  min-height: 160px;
  max-width: 100%;
  max-height: 81vh;
  background: #020304;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 1px;
  overflow: hidden;
  box-shadow:
    0 26px 76px rgba(0, 0, 0, 0.96),
    0 0 64px rgba(184, 25, 18, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-media-frame.is-loading::before {
  content: '';
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--accent-orange);
  animation: lightboxSpin 0.8s linear infinite;
  z-index: 2;
}

@keyframes lightboxSpin {
  to { transform: rotate(360deg); }
}

.lightbox-media-frame video,
.lightbox-media-frame img {
  max-width: 100%;
  max-height: 79vh;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  opacity: 1;
  transition: opacity 0.16s ease;
}

.lightbox-media-frame.is-switching video,
.lightbox-media-frame.is-switching img {
  opacity: 0.14;
}

.lightbox-hud {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 2px 0;
  font-family: var(--font-sans);
}

.lightbox-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #848d9e;
}

.lightbox-counter {
  color: #ccd3e0;
  font-variant-numeric: tabular-nums;
}

.lightbox-sep {
  color: rgba(255, 255, 255, 0.16);
}

/* Helper classes for responsive nav button text */
.nav-btn-text-short {
  display: none;
}

/* Respect Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Responsive Breakpoints & Mobile Optimization
   ========================================================================== */
@media (max-width: 1200px) {
  :root {
    --shell-pad: 36px;
    --home-edge: clamp(28px, 4.4vw, 48px);
    --page-inset: clamp(36px, 6.5vw, 72px);
  }

  .gallery-container {
    padding: 122px var(--page-inset) 88px;
  }

  .gallery-hero-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .gallery-masonry,
  .gallery-grid {
    gap: 22px;
  }

  .masonry-col {
    gap: 22px;
  }

  .gallery-footer {
    padding: 36px var(--page-inset);
  }

  .lightbox-overlay {
    padding: 36px 68px;
  }

  .lightbox-prev {
    left: 14px;
  }

  .lightbox-next {
    right: 14px;
  }
}

/* Near-Square Browser Windows (Right Before Phone Mode) — Typography & Focal Balance */
@media (min-width: 821px) and (max-aspect-ratio: 4 / 3) {
  .hero-poster-img,
  #hero-bg-video {
    object-position: 54% 22%;
  }

  .editorial-identity {
    bottom: clamp(68px, 9.5vh, 108px);
  }

  .editorial-wkmz {
    font-size: clamp(3.4rem, 6.8vw, 5.2rem);
  }

  .editorial-studios {
    font-size: clamp(1.24rem, 2.4vw, 1.85rem);
  }

  .editorial-subline {
    font-size: clamp(0.68rem, 0.95vw, 0.82rem);
  }
}

/* Portrait Tablets & Mobile Phones — Immersive Full-Bleed Cinema Stage + Overlapping Typography */
@media (max-width: 820px), (max-width: 1024px) and (max-aspect-ratio: 5 / 6) {
  body.minimal-page {
    --mob-pad: clamp(20px, 5.4vw, 44px);
    --header-h: calc(58px + env(safe-area-inset-top, 0px));
    --footer-h: calc(52px + env(safe-area-inset-bottom, 0px));

    --vitrine-left: 0px;
    --vitrine-w: 100vw;
    --vitrine-top: calc(var(--header-h) - 4px + clamp(0px, 2.2vh, 24px));
    --vitrine-h: clamp(
      300px,
      calc(var(--vh-full) - var(--header-h) - var(--footer-h) - 165px),
      calc(100vw * 1.18)
    );
  }

  /* Floating Header Over Obsidian Void (No Seam Line) */
  .header {
    padding: max(13px, env(safe-area-inset-top, 0px)) clamp(18px, 4.8vw, 36px) 13px;
    width: 100%;
    left: 0;
    right: 0;
    box-sizing: border-box;
  }

  body.minimal-page .header {
    height: var(--header-h);
    padding: env(safe-area-inset-top, 0px) var(--mob-pad) 0;
    display: flex;
    align-items: center;
    background: transparent;
  }

  .gallery-page .header.is-scrolled {
    padding: max(11px, env(safe-area-inset-top, 0px)) clamp(18px, 4.8vw, 36px) 11px;
  }

  .header-inner,
  body.minimal-page .header-inner {
    width: 100%;
    max-width: 100%;
  }

  .brand-link {
    gap: 9px;
    flex-shrink: 0;
  }

  .brand-logo,
  body.minimal-page .brand-logo {
    width: 26px;
    height: 26px;
  }

  .brand-name,
  body.minimal-page .brand-name {
    font-size: 0.86rem;
    letter-spacing: 0.22em;
  }

  .nav-dock {
    padding: 3.5px;
    gap: 3px;
    border-radius: 5px;
  }

  .dock-link,
  body.minimal-page .dock-link {
    height: 31px;
    padding: 0 12px;
    padding-left: calc(12px + 0.15em);
    font-size: 0.64rem;
    letter-spacing: 0.15em;
  }

  .dock-divider {
    height: 13px;
  }

  .dock-cta,
  body.minimal-page .dock-cta {
    height: 31px;
    padding: 0 12px;
    gap: 5.5px;
    font-size: 0.64rem;
    letter-spacing: 0.14em;
  }

  .nav-btn-dot {
    width: 4.5px;
    height: 4.5px;
  }

  .nav-btn-text-full {
    display: none;
  }

  .nav-btn-text-short {
    display: inline;
  }

  /* Ambient Glow Behind Full-Bleed Mobile Cinema */
  .cinema-ambient-glow {
    background:
      radial-gradient(
        ellipse 92% 56% at 52% 38%,
        rgba(255, 106, 30, 0.14) 0%,
        rgba(176, 28, 18, 0.05) 46%,
        rgba(16, 24, 34, 0.06) 72%,
        transparent 92%
      );
  }

  /* Full-Bleed Mobile Cinema Stage Melting Into Obsidian Void */
  .cinema-portal {
    border-radius: 0;
    transform: none;
    box-shadow: none;
    -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.62) 9%,
      #000 22%,
      #000 68%,
      rgba(0, 0, 0, 0.44) 88%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.62) 9%,
      #000 22%,
      #000 68%,
      rgba(0, 0, 0, 0.44) 88%,
      transparent 100%
    );
  }

  .hero-poster-img,
  #hero-bg-video {
    height: 100%;
    object-position: 42% 22%;
  }

  #hero-bg-video.is-playing {
    opacity: 0.96;
  }

  .cinema-vignette {
    background: radial-gradient(
      ellipse 88% 78% at 52% 44%,
      rgba(3, 4, 6, 0) 0%,
      rgba(3, 4, 6, 0.08) 50%,
      rgba(3, 4, 6, 0.52) 82%,
      rgba(3, 4, 6, 0.9) 100%
    );
    opacity: 0.92;
  }

  .cinema-editorial-shade {
    opacity: 0;
  }

  .cinema-fade-top {
    height: 22%;
    background: linear-gradient(
      to bottom,
      var(--bg-void) 0%,
      rgba(3, 4, 6, 0.5) 45%,
      transparent 100%
    );
    opacity: 0.94;
  }

  .cinema-fade-bottom {
    height: 42%;
    background: linear-gradient(
      to top,
      var(--bg-void) 0%,
      rgba(3, 4, 6, 0.88) 28%,
      rgba(3, 4, 6, 0.42) 62%,
      transparent 100%
    );
    opacity: 0.98;
  }

  /* Overlapping Editorial Identity Rising Out of the Lower Chiaroscuro */
  .editorial-identity {
    left: var(--mob-pad);
    right: var(--mob-pad);
    width: auto;
    top: auto;
    bottom: calc(var(--footer-h) + clamp(32px, 6.8vh, 72px));
  }

  .editorial-display {
    gap: 6px;
  }

  .editorial-wkmz {
    font-size: clamp(2.85rem, 12.2vw, 4.1rem);
    letter-spacing: 0.14em;
    line-height: 0.88;
  }

  .editorial-studios {
    font-size: clamp(1.06rem, 4.4vw, 1.5rem);
    letter-spacing: 0.46em;
    line-height: 1;
    margin-top: 3px;
  }

  .editorial-sub-row {
    margin-top: 15px;
    padding-top: 13px;
    gap: 11px;
    align-items: center;
  }

  .editorial-ember-tick {
    width: 20px;
    height: 1.5px;
  }

  .editorial-subline {
    font-size: clamp(0.58rem, 2.35vw, 0.72rem);
    letter-spacing: 0.24em;
    line-height: 1.35;
    color: #cdd3e0;
  }

  .editorial-identity .hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    margin-top: 20px;
    padding: 0 26px;
    padding-left: calc(26px + 0.22em);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    gap: 11px;
    border-radius: 1px;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(9, 10, 14, 0.94) 0%, rgba(2, 3, 4, 0.98) 100%);
    border: 1px solid rgba(255, 106, 30, 0.45);
    box-shadow:
      inset 0 0 20px rgba(0, 0, 0, 0.9),
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 14px 36px rgba(0, 0, 0, 0.92),
      0 0 24px rgba(184, 25, 18, 0.18);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }

  .editorial-identity .hero-cta:active {
    transform: scale(0.975);
    border-color: var(--accent-orange-bright);
  }

  .hero-cta {
    height: 42px;
    padding: 0 22px;
    padding-left: calc(22px + 0.2em);
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    gap: 9px;
  }

  /* Footer Bar */
  .footer-bar {
    padding: 14px clamp(18px, 4.8vw, 36px) calc(16px + env(safe-area-inset-bottom, 0px));
    width: 100%;
    left: 0;
    right: 0;
    box-sizing: border-box;
  }

  body.minimal-page .footer-bar {
    height: var(--footer-h);
    padding: 0 var(--mob-pad) env(safe-area-inset-bottom, 0px);
    display: flex;
    align-items: center;
  }

  .footer-inner,
  body.minimal-page .footer-inner {
    width: 100%;
    max-width: 100%;
    padding-top: 10px;
    font-size: 0.64rem;
    letter-spacing: 0.1em;
  }

  body.minimal-page .footer-inner {
    height: 100%;
    padding-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.065);
  }

  .footer-left,
  body.minimal-page .footer-left {
    gap: 8px;
    padding: 6px 10px 6px 4px;
    margin-left: 0;
    font-size: 0.64rem;
    letter-spacing: 0.11em;
    flex-shrink: 0;
  }

  .status-dot {
    width: 6px;
    height: 6px;
  }

  .footer-text,
  .footer-copy {
    font-size: 0.64rem;
    white-space: nowrap;
  }
}

/* Gallery, Drawer & Lightbox Mobile Layout (<= 820px) */
@media (max-width: 820px) {
  .gallery-container {
    padding: 86px 18px 44px;
    width: 100%;
    box-sizing: border-box;
  }

  .gallery-hero-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    gap: 18px;
    width: 100%;
  }

  .gallery-title {
    font-size: 2.05rem;
    letter-spacing: 0.14em;
  }

  .gallery-sub-row {
    margin-top: 10px;
  }

  .gallery-subline {
    font-size: 0.56rem;
    letter-spacing: 0.2em;
    line-height: 1.4;
  }

  .gallery-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    width: 100%;
  }

  .filter-btn {
    width: 100%;
    padding: 10px 8px;
    font-size: 0.64rem;
    letter-spacing: 0.1em;
    gap: 6px;
    text-align: center;
    border-radius: 1px;
  }

  .filter-count {
    font-size: 0.58rem;
  }

  .gallery-masonry,
  .gallery-grid {
    flex-direction: column;
    gap: 18px;
    width: 100%;
  }

  .masonry-col {
    gap: 18px;
    width: 100%;
  }

  .gallery-card {
    border-radius: 6px;
    width: 100%;
  }

  .gallery-empty-state {
    padding: 36px 20px;
  }

  .back-to-top {
    bottom: calc(58px + env(safe-area-inset-bottom, 0px));
    right: 16px;
    width: 40px;
    height: 40px;
  }

  .gallery-footer {
    padding: 20px 18px calc(22px + env(safe-area-inset-bottom, 0px));
  }

  /* Pricing Drawer on Mobile */
  .drawer-panel {
    width: 100%;
    max-width: 100%;
    border-left: none;
    padding: max(22px, env(safe-area-inset-top)) 18px calc(32px + env(safe-area-inset-bottom, 0px));
  }

  .drawer-header {
    margin-bottom: 22px;
    padding-bottom: 14px;
  }

  .drawer-logo {
    width: 25px;
    height: 25px;
  }

  .drawer-brand-name {
    font-size: 0.9rem;
  }

  .drawer-brand-sub {
    font-size: 0.58rem;
  }

  .drawer-close-btn {
    width: 36px;
    height: 36px;
  }

  .pricing-row {
    padding: 14px 16px;
  }

  .item-name {
    font-size: 0.85rem;
  }

  .item-sub {
    font-size: 0.69rem;
  }

  .pricing-cost {
    font-size: 1.12rem;
  }

  .contact-box {
    padding: 14px 16px;
  }

  .contact-icon {
    width: 38px;
    height: 38px;
  }

  .contact-type {
    font-size: 0.58rem;
  }

  .contact-handle {
    font-size: 0.92rem;
  }

  .copy-badge, .arrow-badge {
    font-size: 0.58rem;
    padding: 4px 9px;
  }

  /* Lightbox on Mobile */
  .lightbox-overlay {
    padding: 16px 12px 76px;
  }

  .lightbox-container {
    max-width: 100%;
    max-height: 76vh;
  }

  .lightbox-close-btn {
    top: max(14px, env(safe-area-inset-top));
    right: 14px;
    position: fixed;
    width: 40px;
    height: 40px;
    background: rgba(4, 5, 7, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1px;
    color: #fff;
    z-index: 50;
  }

  .lightbox-nav-btn {
    top: auto;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    transform: none;
    width: 44px;
    height: 44px;
    background: rgba(12, 15, 22, 0.9);
    border-color: rgba(255, 255, 255, 0.16);
  }

  .lightbox-prev {
    left: calc(50% - 56px);
  }

  .lightbox-next {
    right: calc(50% - 56px);
  }

  .lightbox-prev:hover,
  .lightbox-next:hover {
    transform: none;
  }

  .lightbox-media-frame {
    max-width: 100%;
    max-height: 68vh;
  }

  .lightbox-media-frame video,
  .lightbox-media-frame img {
    max-height: 66vh;
  }

  .lightbox-hud {
    padding-top: 10px;
    gap: 10px;
  }

  .lightbox-meta {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
  }
}

/* Compact / In-App Browser Short Phones (e.g. Discord/X WebView, iPhone SE) */
@media (max-width: 820px) and (max-height: 720px) {
  body.minimal-page {
    --header-h: calc(54px + env(safe-area-inset-top, 0px));
    --footer-h: calc(48px + env(safe-area-inset-bottom, 0px));
    --vitrine-top: calc(var(--header-h) - 8px);
    --vitrine-h: clamp(
      280px,
      calc(var(--vh-full) - var(--header-h) - var(--footer-h) - 56px),
      calc(100vw * 1.14)
    );
  }

  .editorial-identity {
    bottom: calc(var(--footer-h) + 16px);
  }

  .editorial-wkmz {
    font-size: clamp(2.4rem, 10.8vw, 2.85rem);
  }

  .editorial-studios {
    font-size: clamp(0.92rem, 3.9vw, 1.12rem);
  }

  .editorial-sub-row {
    margin-top: 10px;
  }

  .editorial-identity .hero-cta {
    height: 42px;
    margin-top: 16px;
    padding: 0 22px;
    padding-left: calc(22px + 0.2em);
    font-size: 0.66rem;
  }
}

/* Mobile Landscape (Zero Header/Vitrine Collision) */
@media (max-width: 960px) and (max-height: 540px) and (orientation: landscape) {
  body.minimal-page {
    --header-h: calc(50px + env(safe-area-inset-top, 0px));
    --footer-h: calc(44px + env(safe-area-inset-bottom, 0px));
    --vitrine-top: calc(var(--header-h) + 8px);
    --vitrine-h: calc(var(--vh-full) - var(--header-h) - var(--footer-h) - 16px);
    --vitrine-w: min(56vw, calc(var(--vitrine-h) * 16 / 9));
    --vitrine-left: calc(100vw - max(22px, env(safe-area-inset-right, 0px)) - var(--vitrine-w));
  }

  body.minimal-page .header {
    height: var(--header-h);
    padding: env(safe-area-inset-top, 0px) max(22px, env(safe-area-inset-right, 0px)) 0 max(22px, env(safe-area-inset-left, 0px));
    display: flex;
    align-items: center;
  }

  .header-inner,
  .footer-inner {
    max-width: 100%;
  }

  .brand-logo,
  body.minimal-page .brand-logo {
    width: 24px;
    height: 24px;
  }

  .brand-name,
  body.minimal-page .brand-name {
    font-size: 0.82rem;
  }

  .dock-link,
  .dock-cta,
  body.minimal-page .dock-link,
  body.minimal-page .dock-cta {
    height: 28px;
    padding: 0 12px;
    font-size: 0.62rem;
  }

  .cinema-editorial-shade {
    opacity: 0.85;
  }

  .editorial-identity {
    left: max(22px, env(safe-area-inset-left, 0px));
    width: auto;
    top: calc(var(--header-h) + (var(--vh-full) - var(--header-h) - var(--footer-h)) / 2);
    bottom: auto;
    translate: 0 -50%;
  }

  .editorial-wkmz {
    font-size: clamp(2rem, 4.8vw, 2.6rem);
  }

  .editorial-studios {
    font-size: clamp(0.84rem, 1.9vw, 1.05rem);
  }

  .editorial-sub-row {
    margin-top: 10px;
  }

  .editorial-subline {
    font-size: 0.56rem;
    letter-spacing: 0.22em;
  }

  .editorial-identity .hero-cta {
    display: inline-flex;
    height: 36px;
    margin-top: 14px;
    padding: 0 18px;
    padding-left: calc(18px + 0.18em);
    font-size: 0.6rem;
  }

  body.minimal-page .footer-bar {
    height: var(--footer-h);
    padding: 0 max(22px, env(safe-area-inset-right, 0px)) env(safe-area-inset-bottom, 0px) max(22px, env(safe-area-inset-left, 0px));
    display: flex;
    align-items: center;
  }

  body.minimal-page .footer-inner {
    padding-top: 0;
    border-top: none;
  }
}

/* Ultra-Narrow Phones (<= 360px — Preserves Brand Identity Cleanly) */
@media (max-width: 360px) {
  body.minimal-page {
    --mob-pad: 15px;
  }

  .header {
    padding-left: 15px;
    padding-right: 15px;
  }

  body.minimal-page .header,
  body.minimal-page .footer-bar {
    padding-left: 15px;
    padding-right: 15px;
  }

  .brand-logo,
  body.minimal-page .brand-logo {
    width: 22px;
    height: 22px;
  }

  .brand-name,
  body.minimal-page .brand-name {
    font-size: 0.76rem;
    letter-spacing: 0.16em;
  }

  .dock-link,
  .dock-cta,
  body.minimal-page .dock-link,
  body.minimal-page .dock-cta {
    height: 28px;
    padding: 0 9px;
    font-size: 0.59rem;
    letter-spacing: 0.12em;
  }

  .editorial-wkmz {
    font-size: 2.15rem;
    letter-spacing: 0.12em;
  }

  .editorial-studios {
    font-size: 0.88rem;
    letter-spacing: 0.34em;
  }

  .editorial-subline {
    font-size: 0.53rem;
    letter-spacing: 0.17em;
  }

  .editorial-identity .hero-cta {
    height: 40px;
    padding: 0 18px;
    padding-left: calc(18px + 0.18em);
    font-size: 0.62rem;
  }
}

@media (max-width: 315px) {
  .brand-name {
    display: none;
  }
}
