/* ==========================================================================
   FUTURE MALAYSIA — PRODUCTION & GALLERY STYLESHEET
   Consistent with Malaysia Unfolded: Typography & Monochrome Editorial Palette
   ========================================================================== */

/* Sulphur Point (Cielo) — Local Asset Fallback & Alternate Spelling Support */
@font-face {
  font-family: 'Sulphur Point';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../assets/sulphur-point-light.ttf') format('truetype'),
    url('https://fonts.gstatic.com/s/sulphurpoint/v16/RLpkK5vv8KaycDcazWFPBj2afVU6n6k.ttf') format('truetype');
}

@font-face {
  font-family: 'Sulphur Point';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/sulphur-point-regular.ttf') format('truetype'),
    url('https://fonts.gstatic.com/s/sulphurpoint/v16/RLp5K5vv8KaycDcazWFPBj2aRfk.ttf') format('truetype');
}

@font-face {
  font-family: 'Sulphur Point';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/sulphur-point-bold.ttf') format('truetype'),
    url('https://fonts.gstatic.com/s/sulphurpoint/v16/RLpkK5vv8KaycDcazWFPBj2afUU9n6k.ttf') format('truetype');
}

@font-face {
  font-family: 'Sulfur Point';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../assets/sulphur-point-light.ttf') format('truetype');
}

@font-face {
  font-family: 'Sulfur Point';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/sulphur-point-regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Sulfur Point';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/sulphur-point-bold.ttf') format('truetype');
}

/* Rogtes Extra Bold Slanted Expanded — Aqeela Studio */
@font-face {
  font-family: 'Rogtes Extra Bold Slanted Expanded';
  src: local('Rogtes Extra Bold Slanted Expanded'),
    local('Rogtes-ExtraBoldSlantedExpanded'),
    local('Rogtes ExtraBold Slanted Expanded'),
    local('Rogtes'),
    url('../assets/fonts/Rogtes-ExtraBoldSlantedExpanded.woff2') format('woff2'),
    url('../assets/fonts/Rogtes-ExtraBoldSlantedExpanded.woff') format('woff'),
    url('../assets/fonts/Rogtes-ExtraBoldSlantedExpanded.otf') format('opentype'),
    url('../assets/fonts/Rogtes-ExtraBoldSlantedExpanded.ttf') format('truetype');
  font-weight: 800;
  font-style: italic;
  font-stretch: expanded;
  font-display: swap;
}

@font-face {
  font-family: 'Rogtes';
  src: local('Rogtes Extra Bold Slanted Expanded'),
    local('Rogtes-ExtraBoldSlantedExpanded'),
    local('Rogtes'),
    url('../assets/fonts/Rogtes-ExtraBoldSlantedExpanded.woff2') format('woff2'),
    url('../assets/fonts/Rogtes-ExtraBoldSlantedExpanded.otf') format('opentype'),
    url('../assets/fonts/Rogtes-ExtraBoldSlantedExpanded.ttf') format('truetype');
  font-weight: 800;
  font-style: italic;
  font-stretch: expanded;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: background-color 0.3s ease, color 0.3s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.65;
  transition: background-color 0.3s ease, color 0.3s ease;
}

::selection {
  background: var(--accent-noir);
  color: var(--text-inverted);
}

img,
canvas,
svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
}

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

/* Hide Scrollbar Globally While Preserving Scroll Functionality */
html,
body,
* {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* ==========================================================================
   PRIMARY HEADER (MALAYSIA UNFOLDED STYLE)
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--hud-height);
  z-index: 500;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.site-header.is-transparent {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  color: #ffffff;
}

.site-header.is-transparent .brand-mark {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
  box-shadow: none;
}

.site-header.is-transparent .brand-tagline {
  color: rgba(255, 255, 255, 0.68);
}

.site-header.is-transparent .site-nav a {
  color: rgba(255, 255, 255, 0.72);
}

.site-header.is-transparent .site-nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

.site-header.is-transparent .site-nav a.is-active {
  color: #0D0D0D;
  background: #FFFFFF;
}

.site-header.is-transparent .theme-toggle-btn {
  border-color: rgba(255, 255, 255, 0.34);
  color: rgba(255, 255, 255, 0.9);
}

.site-header.is-transparent .theme-toggle-btn:hover {
  border-color: #ffffff;
  color: #ffffff;
}

.site-header.is-transparent .mobile-menu-btn {
  border-color: rgba(255, 255, 255, 0.38);
  color: #ffffff;
}

.header-inner {
  max-width: 1600px;
  margin: 0 auto;
  height: 100%;
  padding: 0 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
  transition: opacity 0.2s ease;
}

.brand-lockup:hover {
  opacity: 0.82;
}

.brand-mark {
  width: 40px;
  height: 40px;
  padding: 0.42rem;
  border-radius: 10px;
  background: var(--accent-noir);
  border: 1px solid var(--accent-noir);
  color: var(--text-inverted);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.14);
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-stack {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-brand);
  font-weight: 800;
  font-style: oblique 10deg;
  font-stretch: expanded;
  font-size: clamp(1rem, 1.7vw, 1.5rem);
  line-height: 1.08;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-tagline {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: clamp(0.5rem, 0.68vw, 0.68rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.14rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.25s ease;
}

.header-right {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 1.5rem;
  flex-shrink: 0;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.theme-toggle-btn {
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.theme-toggle-btn:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.theme-toggle-btn svg {
  width: 18px;
  height: 18px;
}

.site-nav {
  display: flex;
  align-items: stretch;
  height: 100%;
  gap: 0.25rem;
  flex-shrink: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  height: 100%;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0 1.05rem;
  color: var(--text-secondary);
  background: transparent;
  transition: color var(--dur-fast), background-color var(--dur-fast);
}

.site-nav a:hover {
  color: var(--text-primary);
  background: rgba(17, 17, 17, 0.06);
}

[data-theme="dark"] .site-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.site-nav a.is-active {
  color: var(--text-inverted);
  background: var(--accent-noir);
}

.site-nav a:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: -2px;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  padding: 0.4rem 0.75rem;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  cursor: pointer;
}

/* ==========================================================================
   MAIN & SECTIONS
   ========================================================================== */

main {
  position: relative;
  z-index: 2;
  padding-top: 0;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-block {
  padding: 5.5rem 0;
  border-bottom: 1px solid var(--border-hairline);
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2.75rem;
}

.section-kicker {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.section-title {
  font-family: var(--font-brand);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  font-style: normal;
  font-stretch: expanded;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 0.98;
  margin: 0;
}

/* ==========================================================================
   UNIFIED HERO + GPU CURTAIN-WIPE PRODUCTION SHOWCASE
   ========================================================================== */

.showcase-section {
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-primary);
}

.reels-track {
  position: relative;
  width: 100%;
  height: calc(var(--reel-count, 5) * 100vh);
  background: var(--bg-primary);
}

.reels-viewport {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  contain: strict;
  cursor: pointer;
}

/* Layer 0: Hero Stage (stays static while Slide 1 wipes over it) */
.hero-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--bg-primary);
  padding-top: var(--hud-height);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.hero-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(1.75rem, 4.5vh, 3.5rem);
}

.hero-title-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(240px, 46vh, 500px);
  padding: clamp(1rem, 3vh, 2.5rem) 0;
}

.hero-mega-title {
  margin: 0;
  width: 100%;
  text-align: center;
  font-family: var(--font-brand);
  font-weight: 900;
  font-style: normal;
  font-stretch: expanded;
  font-size: clamp(3rem, 12.2vw, 11.8rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text-primary);
  user-select: none;
  transition: opacity 0.35s ease;
}

.hero-title-wrap.is-canvas-ready .hero-mega-title {
  opacity: 0;
  pointer-events: none;
}

.mega-line {
  display: block;
}

#hero-type-canvas {
  position: absolute;
  top: -3.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: calc(100% + 7rem);
  pointer-events: auto;
  cursor: crosshair;
  z-index: 3;
}

.hero-bottom-bar {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}

.hero-statement {
  margin: 0;
  max-width: 46ch;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.15vw, 1.95rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--text-primary);
}

/* Layers 1..N: GPU Curtain-Wipe Image Containers */
.reels-layers {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.reel-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  contain: layout paint;
  background: #0D0D0D;
  transform: translate3d(0, 100%, 0);
  will-change: transform;
}

.reel-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translate3d(0, -100%, 0);
  will-change: transform;
}

.reels-vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at center, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.56) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.44) 0%, transparent 25%, transparent 75%, rgba(0, 0, 0, 0.54) 100%);
  will-change: opacity;
}

/* Left Chapter Rail (fades in once scrolled past Hero) */
.reels-rail {
  position: absolute;
  top: calc(var(--hud-height) + 1.75rem);
  left: clamp(1rem, 2.5vw, 2.5rem);
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.reels-rail.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.reels-rail-list {
  display: inline-flex;
  flex-direction: column;
  gap: 0.45rem;
  border-left: 2px solid rgba(255, 255, 255, 0.24);
  padding-left: 0.85rem;
}

.reels-rail-btn {
  background: transparent;
  border: none;
  padding: 0.15rem 0;
  text-align: left;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
  cursor: pointer;
  transition: color var(--dur-fast), transform var(--dur-fast);
  position: relative;
}

.reels-rail-btn:hover,
.reels-rail-btn.is-active {
  color: #ffffff;
  transform: translateX(3px);
}

.reels-rail-btn.is-active::before {
  content: "";
  position: absolute;
  left: -0.97rem;
  top: 0.15rem;
  bottom: 0.15rem;
  width: 3px;
  background: #ffffff;
}

/* Pure-GPU Synchronized Title Train */
.reels-titles {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  display: grid;
  place-items: center;
}

.reel-title-item {
  position: absolute;
  display: grid;
  place-items: center;
  justify-items: center;
  gap: 0.9rem;
  padding: 0 2rem;
  width: 94vw;
  text-align: center;
  will-change: transform, opacity;
}

.reel-main-title {
  margin: 0;
  font-family: var(--font-brand);
  font-weight: 900;
  font-style: normal;
  font-stretch: expanded;
  font-size: clamp(2.5rem, 6.8vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-align: center;
  color: #ffffff;
}

.reel-desc {
  margin: 0;
  max-width: 52ch;
  text-align: center;
  font-family: var(--font-sans);
  font-size: clamp(0.82rem, 1.05vw, 0.98rem);
  line-height: 1.5;
  color: #A0A0A0;
}

.reel-watch-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.35rem;
  padding: 0.45rem 1.05rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
}

.reel-watch-pill svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
}

@media (max-width: 820px) {
  .reels-rail {
    display: none;
  }
}

/* ==========================================================================
   02 // VISUAL GALLERY (ANDURIL-STYLE FULL-BLEED BENTO GRID)
   ========================================================================== */

.gallery-section {
  padding: 0.75rem;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.gallery-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(240px, 23vw, 340px);
  gap: 0.75rem;
}

.plate-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-dark-stage);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  outline: none;
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 0.55s ease, transform 0.65s var(--ease-mech), border-color 0.35s ease;
}

.gallery-section.is-revealed .plate-card {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.plate-card--tall {
  grid-row: span 2;
}

.plate-card--wide {
  grid-column: span 2;
}

.plate-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s var(--ease-mech);
  will-change: transform;
}

.plate-card:hover .plate-img,
.plate-card:focus-visible .plate-img {
  transform: scale(1.045);
}

.plate-pixels {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.plate-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0.25) 36%,
      rgba(0, 0, 0, 0) 64%);
  transition: opacity 0.35s ease;
}

.plate-overlay {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 3;
  padding: clamp(1.15rem, 2vw, 1.75rem);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.45s ease 0.35s;
}

.gallery-section.is-revealed .plate-overlay {
  opacity: 1;
}

.plate-copy {
  min-width: 0;
}

.plate-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1.8vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: #ffffff;
}

.plate-sub-wrap {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.34s var(--ease-mech),
    opacity 0.28s ease;
}

.plate-sub {
  overflow: hidden;
  margin: 0;
  padding-top: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.78);
  transform: translateY(6px);
  transition: transform 0.34s var(--ease-mech);
}

.plate-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
  opacity: 0;
  transform: translate(-6px, 6px);
  transition:
    opacity 0.28s ease,
    transform 0.34s var(--ease-mech);
}

.plate-card:hover .plate-sub-wrap,
.plate-card:focus-visible .plate-sub-wrap {
  grid-template-rows: 1fr;
  opacity: 1;
}

.plate-card:hover .plate-sub,
.plate-card:focus-visible .plate-sub {
  transform: translateY(0);
}

.plate-card:hover .plate-arrow,
.plate-card:focus-visible .plate-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

.plate-card:focus-visible {
  box-shadow: inset 0 0 0 2px #ffffff;
}

/* ==========================================================================
   MODALS: CINEMA REEL PLAYER · GALLERY LIGHTBOX
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-btn {
  background: transparent;
  border: 1px solid var(--border-strong);
  padding: 0.42rem 0.85rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color var(--dur-fast), color var(--dur-fast), background-color var(--dur-fast);
}

.modal-btn:hover {
  border-color: var(--accent-noir);
  background: var(--accent-noir);
  color: var(--text-inverted);
}

/* Cinema Reel Player */
.cinema-shell {
  width: 100%;
  max-width: 1120px;
  background: #0A0A0A;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.cinema-topbar {
  padding: 0.9rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.cinema-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cinema-topbar .modal-btn {
  border-color: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

.cinema-topbar .modal-btn:hover {
  border-color: #ffffff;
  background: #ffffff;
  color: #0A0A0A;
}

.cinema-viewport {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 75vh;
  width: 100%;
  background: #000000;
}

.cinema-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.is-hidden {
  display: none !important;
}

#cinema-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cinema-file-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 1.5rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.56);
}

.cinema-play-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 9999px;
  background: rgba(10, 10, 10, 0.85);
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cinema-play-cta:hover {
  background: #ffffff;
  color: #0A0A0A;
  border-color: #ffffff;
}

.cinema-play-cta svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.cinema-file-note {
  margin: 0;
  max-width: 44ch;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

.cinema-file-note code {
  padding: 0.1rem 0.35rem;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 700;
}

.cinema-credits {
  padding: 0.9rem 1.25rem 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.74);
}

/* Gallery Lightbox */
.lightbox-shell {
  width: 100%;
  max-width: 1120px;
  background: var(--bg-primary);
  border: 1px solid var(--border-strong);
  overflow: hidden;
}

.lightbox-topbar {
  padding: 0.85rem 1.25rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

.lightbox-stage {
  aspect-ratio: 16 / 9;
  max-height: 68vh;
  width: 100%;
  background: #0A0A0A;
}

#lightbox-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-sans);
}

/* ==========================================================================
   03 // COLLECTIVE NETWORK & SISTER ENTITIES (MARQUEE)
   ========================================================================== */

.collective-section {
  padding: 3.5rem 0 2.75rem;
  background: var(--bg-primary);
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.collective-header {
  max-width: 1600px;
  width: 100%;
  margin: 0 auto 2.5rem;
  padding: 0 4rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
}

.collective-kicker {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.collective-title {
  margin: 0;
  font-family: var(--font-brand);
  font-weight: 800;
  font-style: oblique 10deg;
  font-stretch: expanded;
  font-size: clamp(1.55rem, 3.1vw, 3rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.collective-desc {
  margin: 0;
  max-width: 28rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(0.88rem, 1.05vw, 1.04rem);
  line-height: 1.65;
  color: var(--text-secondary);
}

.horizontal-marquee-container {
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
  width: 100%;
  padding: 0.75rem 0;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  scrollbar-width: none;
  -ms-overflow-style: none;
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.horizontal-marquee-container::-webkit-scrollbar {
  display: none;
}

.horizontal-marquee-container.is-dragging {
  cursor: grabbing;
}

.horizontal-marquee-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 1rem;
  width: max-content;
}

.logo-marquee-item {
  width: 320px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.logo-marquee-item:hover {
  border-color: var(--text-primary);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .logo-marquee-item:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.55), 0 0 24px rgba(255, 255, 255, 0.08);
}

.collective-item-main {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-width: 0;
}

.collective-badge {
  width: 3.5rem;
  height: 3.5rem;
  padding: 0.65rem;
  border-radius: 0.75rem;
  background: var(--accent-noir);
  color: var(--text-inverted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.collective-badge svg {
  width: 100%;
  height: 100%;
}

.collective-item-name {
  font-family: var(--font-brand);
  font-weight: 800;
  font-style: oblique 10deg;
  font-stretch: expanded;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-primary);
}

/* ==========================================================================
   FOOTER (RECREATED FROM MALAYSIA UNFOLDED)
   ========================================================================== */

.site-footer {
  position: relative;
  z-index: 2;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border-top: 1px solid var(--border-subtle);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.footer-main {
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  padding: 4rem 4rem 3.5rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 4rem;
  align-items: start;
}

.footer-col-brand {
  grid-column: span 7;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand-link {
  display: inline-flex;
  flex-direction: column;
  width: fit-content;
  transition: opacity 0.2s ease;
}

.footer-brand-link:hover {
  opacity: 0.8;
}

.footer-brand-title {
  font-family: var(--font-brand);
  font-weight: 800;
  font-style: oblique 10deg;
  font-stretch: expanded;
  font-size: clamp(1.35rem, 2.3vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.footer-brand-sub {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(0.7rem, 0.9vw, 0.9rem);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.footer-manifesto {
  margin: 0;
  padding-top: 0.25rem;
  max-width: 42rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(0.95rem, 1.25vw, 1.25rem);
  line-height: 1.65;
  color: var(--text-secondary);
}

.footer-col-contact {
  grid-column: span 5;
  padding-left: 1.5rem;
}

.footer-contact-heading {
  margin: 0 0 0.65rem;
  font-family: var(--font-brand);
  font-weight: 800;
  font-style: oblique 10deg;
  font-stretch: expanded;
  font-size: clamp(0.9rem, 1.15vw, 1.125rem);
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.footer-contact-body {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(0.92rem, 1.15vw, 1.125rem);
  line-height: 1.65;
  color: var(--text-secondary);
}

.footer-address {
  margin: 0 0 0.6rem;
}

.footer-contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

footer a.footer-link,
footer .footer-link {
  display: inline-block;
  padding: 0.25rem 0;
  transform-origin: left center;
  font-stretch: normal;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  transition:
    color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    letter-spacing 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    text-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    font-weight 0.2s ease;
}

.footer-link--phone {
  font-weight: 500;
}

footer a.footer-link:hover,
footer .footer-link:hover {
  color: var(--text-primary) !important;
  text-decoration: underline;
  font-stretch: expanded;
  font-weight: 700;
  letter-spacing: 0.06em;
  transform: scaleX(1.03);
  text-shadow: var(--footer-text-glow);
}

.footer-hours {
  margin-top: 0.5rem;
  font-size: clamp(0.78rem, 0.9vw, 0.875rem);
  color: var(--text-muted);
}

.footer-subbar {
  border-top: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.5);
  padding: 1.4rem 4rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--text-muted);
}

[data-theme="dark"] .footer-subbar {
  background: rgba(10, 10, 10, 0.5);
}

.footer-subbar-inner {
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.footer-origin {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 960px) {
  .header-inner {
    padding: 0 2rem;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: clamp(240px, 34vw, 320px);
  }

  .plate-card--tall,
  .plate-card--wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .footer-main {
    padding: 3rem 2rem 2.5rem;
  }

  .collective-header {
    padding: 0 2rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .footer-col-brand,
  .footer-col-contact {
    grid-column: span 1;
    padding-left: 0;
  }

  .footer-subbar {
    padding: 1.25rem 2rem;
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding: 0 1.25rem;
    gap: 0.75rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    padding: 0.35rem;
    border-radius: 8px;
  }

  .brand-tagline {
    letter-spacing: 0.08em;
  }

  .header-right {
    gap: 0.5rem;
  }

  .header-tools {
    padding-left: 0;
    border-left: none;
    gap: 0.5rem;
  }

  .theme-toggle-btn {
    width: 38px;
    height: 38px;
  }

  .site-nav {
    display: none;
  }

  .site-nav.is-mobile-open {
    display: flex;
    position: fixed;
    top: var(--hud-height);
    left: 0;
    right: 0;
    height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-strong);
    padding: 1rem 1.25rem;
  }

  .site-nav.is-mobile-open a {
    height: auto;
    padding: 0.75rem 1rem;
  }

  .site-header.is-transparent .site-nav.is-mobile-open a {
    color: var(--text-primary);
  }

  .site-header.is-transparent .site-nav.is-mobile-open a.is-active {
    background: var(--accent-noir);
    color: var(--text-inverted);
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .plate-card--tall,
  .plate-card--wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .footer-main {
    padding: 2.5rem 1.25rem 2rem;
  }

  .collective-section {
    padding: 2.5rem 0 2rem;
  }

  .collective-header {
    padding: 0 1.25rem;
    margin-bottom: 1.5rem;
  }

  .horizontal-marquee-track {
    gap: 1rem;
  }

  .logo-marquee-item {
    width: 248px;
    padding: 1rem;
  }

  .collective-item-main {
    gap: 0.85rem;
  }

  .collective-badge {
    width: 2.65rem;
    height: 2.65rem;
    padding: 0.5rem;
  }

  .collective-item-name {
    font-size: 0.88rem;
  }

  .footer-subbar {
    padding: 1.25rem;
  }

  .footer-subbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}