/* ==========================================================================
   MAZURKA — AI FILMS | CARBON ON CARBON MUSEUM INSTALLATION
   Aesthetic Direction: Monochrome Carbon Black on Carbon Black
   ========================================================================== */

:root {
  /* Carbon-on-Carbon Palette */
  --carbon-void: #030303;
  --carbon-deep: #060607;
  --carbon-matte: #0a0a0b;
  --carbon-weave-dark: #050506;
  --carbon-weave-light: #101012;
  --carbon-surface: #0d0d0f;
  --carbon-gloss: #18181b;
  --carbon-specular: rgba(255, 255, 255, 0.14);
  --carbon-border: rgba(255, 255, 255, 0.11);
  --carbon-border-hover: rgba(238, 234, 226, 0.34);

  /* Off-White Editorial Typography Tones */
  --ivory-primary: #eae6df;
  --ivory-soft: rgba(234, 230, 223, 0.82);
  --ivory-muted: rgba(234, 230, 223, 0.52);
  --ivory-whisper: rgba(234, 230, 223, 0.28);
  --ivory-faint: rgba(234, 230, 223, 0.12);

  /* Spotlight & Specular Dynamics (updated via JS cursor physics) */
  --spot-x: 50%;
  --spot-y: 0%;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --spot-intensity: 1;

  /* Typography */
  --font-serif: 'Cormorant Garamond', 'Cinzel', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Motion */
  --ease-museum: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-silk: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  background-color: var(--carbon-void);
  color: var(--ivory-primary);
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(234, 230, 223, 0.16);
  color: var(--ivory-primary);
}

body {
  background-color: var(--carbon-void);
  color: var(--ivory-primary);
  overflow-x: hidden;
  min-height: 100vh;
}

body.mode-locked-16-9 {
  overflow: hidden;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #020202;
}

/* ==========================================================================
   MATTE CARBON FIBER TEXTURE & VOLUMETRIC OVERHEAD SPOTLIGHT
   ========================================================================== */

.carbon-matte-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--carbon-void);
  /* Multi-layered diagonal micro-weave carbon fiber */
  background-image:
    radial-gradient(
      ellipse 70% 80% at 50% 26%,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.42) 52%,
      rgba(0, 0, 0, 0.15) 100%
    ),
    repeating-linear-gradient(
      -58deg,
      rgba(255, 255, 255, 0.026) 0px,
      rgba(255, 255, 255, 0.026) 1.5px,
      rgba(0, 0, 0, 0.65) 1.5px,
      rgba(0, 0, 0, 0.65) 4.5px,
      rgba(255, 255, 255, 0.01) 4.5px,
      rgba(255, 255, 255, 0.01) 6px
    ),
    repeating-linear-gradient(
      32deg,
      rgba(255, 255, 255, 0.012) 0px,
      rgba(255, 255, 255, 0.012) 1px,
      transparent 1px,
      transparent 3px
    );
  pointer-events: none;
}

/* Side carbon-fiber sheen vignettes so the diagonal carbon weave catches faint grazing light at left/right edges */
.carbon-matte-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 6% 42%, rgba(255, 255, 255, 0.045) 0%, transparent 38%),
    radial-gradient(circle at 94% 42%, rgba(255, 255, 255, 0.045) 0%, transparent 38%),
    radial-gradient(ellipse 85% 50% at 50% 100%, rgba(0, 0, 0, 0.94) 0%, transparent 75%);
}

/* Subtle film grain overlay */
.film-grain {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   WHISPER-QUIET MUSEUM NAVIGATION BAR
   ========================================================================== */

.museum-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 2.75rem;
  opacity: 0.24;
  transition: opacity 0.6s var(--ease-museum), background-color 0.6s var(--ease-museum);
  pointer-events: auto;
}

.museum-header:hover,
.museum-header:focus-within,
body.scrolled .museum-header {
  opacity: 0.92;
}

body.scrolled .museum-header {
  background: linear-gradient(180deg, rgba(3, 3, 3, 0.88) 0%, rgba(3, 3, 3, 0) 100%);
  backdrop-filter: blur(8px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ivory-primary);
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 400;
}

.brand-mark svg {
  width: 18px;
  height: 18px;
  stroke: var(--ivory-primary);
  opacity: 0.85;
}

.museum-nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.museum-nav a,
.hud-btn {
  background: none;
  border: none;
  color: var(--ivory-muted);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.35s ease, opacity 0.35s ease;
  padding: 0.25rem 0;
  position: relative;
}

.museum-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--ivory-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s var(--ease-museum);
}

.museum-nav a:hover,
.museum-nav a.active,
.hud-btn:hover {
  color: var(--ivory-primary);
}

.museum-nav a.active::after,
.museum-nav a:hover::after {
  transform: scaleX(1);
}

.museum-controls {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.hud-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(10, 10, 12, 0.55);
  color: var(--ivory-muted);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.35s var(--ease-museum);
}

.hud-pill:hover,
.hud-pill[aria-pressed="true"] {
  border-color: rgba(234, 230, 223, 0.32);
  color: var(--ivory-primary);
  background: rgba(22, 22, 25, 0.75);
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ivory-muted);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.hud-pill[aria-pressed="true"] .status-dot {
  background: var(--ivory-primary);
  box-shadow: 0 0 8px rgba(234, 230, 223, 0.8);
}

/* ==========================================================================
   16:9 HERO INSTALLATION STAGE (EXACT MONOCHROME CARBON COMPOSITION)
   ========================================================================== */

.hero-stage-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--carbon-void);
  overflow: hidden;
}

.hero-stage {
  position: relative;
  width: 100%;
  max-width: 1920px;
  aspect-ratio: 16 / 9;
  min-height: 100vh;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

body.mode-locked-16-9 .hero-stage-wrapper {
  min-height: auto;
  width: min(100vw, calc(100vh * 16 / 9));
  height: min(100vh, calc(100vw * 9 / 16));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 30px 100px rgba(0, 0, 0, 0.95);
}

body.mode-locked-16-9 .hero-stage {
  min-height: 100%;
  height: 100%;
}

/* Overhead Volumetric Spotlight Beams */
.overhead-spotlight {
  position: absolute;
  top: -12%;
  left: 50%;
  width: 86%;
  height: 82%;
  transform: translateX(-50%) rotate(calc((var(--spot-x-norm, 0)) * -4deg));
  transform-origin: 50% 0%;
  pointer-events: none;
  z-index: 2;
  opacity: var(--spot-intensity, 1);
  background:
    conic-gradient(
      from 152deg at 50% 0%,
      transparent 0deg,
      rgba(255, 255, 255, 0.015) 14deg,
      rgba(255, 255, 255, 0.065) 22deg,
      rgba(255, 255, 255, 0.025) 26deg,
      rgba(255, 255, 255, 0.085) 28deg,
      rgba(255, 255, 255, 0.03) 31deg,
      rgba(255, 255, 255, 0.07) 35deg,
      rgba(255, 255, 255, 0.015) 42deg,
      transparent 56deg
    ),
    radial-gradient(
      ellipse 34% 48% at 50% 6%,
      rgba(255, 255, 255, 0.13) 0%,
      rgba(255, 255, 255, 0.04) 45%,
      transparent 78%
    );
  filter: blur(10px);
  mix-blend-mode: screen;
  transition: opacity 0.5s ease;
}

/* Glossy Black Elephant Container (Top 54% of 16:9 stage) */
.elephant-monolith {
  position: relative;
  width: 100%;
  height: 54.5%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  z-index: 3;
  pointer-events: none;
  user-select: none;
}

.elephant-artwork-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  transform: perspective(1200px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  transition: transform 0.25s ease-out;
}

.elephant-artwork {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  /* Blend seamlessly into the matte carbon background */
  mask-image: radial-gradient(
    ellipse 54% 95% at 50% 36%,
    #000 52%,
    rgba(0, 0, 0, 0.88) 70%,
    rgba(0, 0, 0, 0.25) 88%,
    transparent 99%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 54% 95% at 50% 36%,
    #000 52%,
    rgba(0, 0, 0, 0.88) 70%,
    rgba(0, 0, 0, 0.25) 88%,
    transparent 99%
  );
  filter: contrast(1.06) brightness(calc(0.98 * var(--spot-intensity, 1)));
}

/* Interactive Specular Gloss Layer on the Elephant Only */
.elephant-specular-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle 260px at var(--cursor-px-x, 50%) var(--cursor-px-y, 24%),
    rgba(255, 255, 255, 0.09) 0%,
    rgba(255, 255, 255, 0.03) 42%,
    transparent 75%
  );
  mix-blend-mode: overlay;
  mask-image: radial-gradient(ellipse 32% 72% at 50% 42%, #000 35%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 32% 72% at 50% 42%, #000 35%, transparent 78%);
}

/* ==========================================================================
   CENTERPIECE TYPOGRAPHY: THIN OFF-WHITE SERIF TITLE
   ========================================================================== */

.hero-title-block {
  position: relative;
  z-index: 6;
  margin-top: -4.2vh;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85vh;
  pointer-events: auto;
}

.serif-monolith-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.75rem, 3.35vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: 0.68em;
  padding-left: 0.68em; /* Optical balance for wide letter-spacing */
  color: var(--ivory-primary);
  text-transform: uppercase;
  text-shadow: 0 2px 28px rgba(255, 255, 255, 0.08), 0 8px 32px rgba(0, 0, 0, 0.95);
  transition: letter-spacing 0.9s var(--ease-museum), color 0.5s ease;
}

.serif-monolith-title:hover {
  color: #ffffff;
  text-shadow: 0 0 34px rgba(255, 255, 255, 0.18);
}

.subtitle-rule-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.65rem;
  width: 100%;
  margin-top: 0.25rem;
}

.hairline-rule {
  width: clamp(54px, 7.2vw, 110px);
  height: 1px;
}

.hairline-rule.left {
  background: linear-gradient(90deg, transparent 0%, rgba(234, 230, 223, 0.28) 100%);
}

.hairline-rule.right {
  background: linear-gradient(270deg, transparent 0%, rgba(234, 230, 223, 0.28) 100%);
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(0.62rem, 0.88vw, 0.86rem);
  letter-spacing: 0.62em;
  padding-left: 0.62em;
  color: var(--ivory-muted);
  text-transform: uppercase;
}

/* ==========================================================================
   THREE SMALL VIDEO FRAMES ALIGNED AT THE BOTTOM (16:9 HERO TRIPTYCH)
   ========================================================================== */

.hero-triptych-dock {
  position: relative;
  z-index: 6;
  width: min(86%, 1440px);
  padding-bottom: clamp(1.5rem, 3.8vh, 3.2rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.25vw, 2.25rem);
  align-items: end;
}

.triptych-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 2.38 / 1;
  border-radius: 5px;
  overflow: hidden;
  background: #070708;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.92),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition:
    transform 0.65s var(--ease-museum),
    border-color 0.45s var(--ease-museum),
    box-shadow 0.65s var(--ease-museum);
}

.triptych-frame:hover,
.triptych-frame:focus-visible {
  transform: translateY(-4px) scale(1.012);
  border-color: rgba(234, 230, 223, 0.38);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.96),
    0 0 28px rgba(255, 255, 255, 0.05),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  outline: none;
}

.triptych-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.12) brightness(0.92);
  transform: scale(1.01);
  transition:
    transform 1.4s var(--ease-museum),
    filter 0.75s var(--ease-museum);
}

.triptych-frame:hover .triptych-media {
  transform: scale(1.065);
  filter: grayscale(85%) contrast(1.18) brightness(1.04);
}

/* Live atmospheric canvas overlay inside each bottom frame */
.triptych-fx-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  opacity: 0.65;
  transition: opacity 0.5s ease;
}

.triptych-frame:hover .triptych-fx-canvas {
  opacity: 1;
}

/* Subtle dark vignette inside each frame */
.triptych-vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(ellipse 80% 80% at 50% 50%, transparent 45%, rgba(0, 0, 0, 0.62) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 22%, rgba(0, 0, 0, 0.52) 100%);
  pointer-events: none;
}

/* Minimalist Specular Halo around the Center Play Glyph on hover */
.triptych-play-glyph {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.88);
  z-index: 4;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(234, 230, 223, 0);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.55s var(--ease-museum), opacity 0.45s ease, border-color 0.45s ease;
}

.triptych-frame:hover .triptych-play-glyph {
  transform: translate(-50%, -50%) scale(1.08);
  opacity: 1;
  border-color: rgba(234, 230, 223, 0.28);
}

/* Whisper-quiet metadata caption that glides in on hover */
.triptych-caption {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.65rem;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-soft);
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.4s var(--ease-museum), transform 0.4s var(--ease-museum);
  pointer-events: none;
}

.triptych-frame:hover .triptych-caption,
.triptych-frame:focus-visible .triptych-caption {
  opacity: 0.92;
  transform: translateY(0);
}

.triptych-duration {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  color: var(--ivory-muted);
  background: rgba(5, 5, 6, 0.72);
  padding: 0.15rem 0.42rem;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Subtle scroll cue at bottom center of hero (hidden in locked 16:9 mode) */
.scroll-whisper {
  position: absolute;
  bottom: 0.55rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.56rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(234, 230, 223, 0.22);
  text-decoration: none;
  transition: color 0.35s ease;
}

.scroll-whisper:hover {
  color: var(--ivory-soft);
}

body.mode-locked-16-9 .scroll-whisper,
body.mode-locked-16-9 .archive-section,
body.mode-locked-16-9 .manifesto-section,
body.mode-locked-16-9 .contact-footer {
  display: none;
}

/* ==========================================================================
   SELECTED WORK ARCHIVE (6 AI FILMS FROM PORTFOLIO — CARBON EDITION)
   ========================================================================== */

.archive-section {
  position: relative;
  z-index: 10;
  max-width: 1440px;
  margin: 0 auto;
  padding: 6.5rem 3.5rem 5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.section-eyebrow {
  font-size: 0.64rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ivory-muted);
  margin-bottom: 0.55rem;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.65rem, 2.5vw, 2.35rem);
  letter-spacing: 0.14em;
  color: var(--ivory-primary);
  text-transform: uppercase;
}

.archive-controls {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem 1.85rem;
}

.work-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  cursor: pointer;
}

.work-thumb-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: #08080a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
  transition:
    border-color 0.45s var(--ease-museum),
    transform 0.55s var(--ease-museum),
    box-shadow 0.55s var(--ease-museum);
}

.work-card:hover .work-thumb-frame {
  border-color: rgba(234, 230, 223, 0.34);
  transform: translateY(-4px);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.94);
}

.work-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.1) brightness(0.9);
  transform: scale(1.01);
  transition:
    filter 0.7s var(--ease-museum),
    transform 1.2s var(--ease-museum);
}

/* When Color Grade mode is enabled or hovered */
body.color-grade-active .work-thumb-img,
.work-card:hover .work-thumb-img {
  filter: grayscale(0%) contrast(1.05) brightness(1);
  transform: scale(1.05);
}

body.strict-monochrome .work-card:hover .work-thumb-img {
  filter: grayscale(100%) contrast(1.16) brightness(1.04);
}

.work-thumb-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.06) 0%, transparent 65%);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0.75rem 0.85rem;
  opacity: 0;
  transition: opacity 0.4s var(--ease-museum);
  pointer-events: none;
}

.work-card:hover .work-thumb-overlay {
  opacity: 1;
}

.work-screen-pill {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-primary);
  background: rgba(5, 5, 7, 0.82);
  border: 1px solid rgba(234, 230, 223, 0.26);
  padding: 0.24rem 0.58rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.work-meta {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding: 0 0.15rem;
}

.work-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  color: var(--ivory-primary);
  transition: color 0.3s ease;
}

.work-tags {
  font-size: 0.75rem;
  color: var(--ivory-muted);
  letter-spacing: 0.04em;
}

/* ==========================================================================
   STUDIO MANIFESTO / ABOUT SECTION (MUSEUM SILENCE PHILOSOPHY)
   ========================================================================== */

.manifesto-section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 5.5rem 3.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.manifesto-quote {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 2.4vw, 2.35rem);
  line-height: 1.38;
  letter-spacing: 0.04em;
  color: var(--ivory-primary);
}

.manifesto-quote em {
  font-style: italic;
  color: var(--ivory-soft);
}

.manifesto-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.25rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pillar-item h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory-primary);
  margin-bottom: 0.5rem;
}

.pillar-item p {
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--ivory-muted);
}

/* ==========================================================================
   CONTACT / PRIVATE SCREENING FOOTER
   ========================================================================== */

.contact-footer {
  max-width: 1440px;
  margin: 0 auto;
  padding: 4rem 3.5rem 4.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-brand {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 1.15rem;
  letter-spacing: 0.48em;
  color: var(--ivory-primary);
  text-transform: uppercase;
}

.footer-sub {
  font-size: 0.72rem;
  color: var(--ivory-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-carbon {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.78rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s var(--ease-museum);
}

.btn-carbon.primary {
  background: var(--ivory-primary);
  color: #050506;
  border: 1px solid var(--ivory-primary);
  font-weight: 500;
}

.btn-carbon.primary:hover {
  background: #ffffff;
  box-shadow: 0 0 28px rgba(234, 230, 223, 0.25);
  transform: translateY(-2px);
}

.btn-carbon.outline {
  background: rgba(14, 14, 16, 0.7);
  color: var(--ivory-primary);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.btn-carbon.outline:hover {
  border-color: rgba(234, 230, 223, 0.45);
  background: rgba(24, 24, 28, 0.9);
  transform: translateY(-2px);
}

/* ==========================================================================
   16:9 MUSEUM SCREENING ROOM LIGHTBOX (INTERACTIVE CINEMA PLAYER)
   ========================================================================== */

.screening-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(2, 2, 3, 0.94);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s var(--ease-museum), visibility 0.55s ease;
}

.screening-modal.open {
  opacity: 1;
  visibility: visible;
}

.screening-container {
  position: relative;
  width: min(92vw, 1280px);
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  transform: scale(0.96) translateY(12px);
  transition: transform 0.6s var(--ease-museum);
}

.screening-modal.open .screening-container {
  transform: scale(1) translateY(0);
}

.screening-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.screening-title-group {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.screening-film-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 1.45rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory-primary);
}

.screening-film-tags {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-muted);
}

.screening-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #040405;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 32px 96px rgba(0, 0, 0, 0.96);
}

.screening-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.screening-controls-bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.85rem 1.25rem;
  background: rgba(10, 10, 12, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
}

.player-btn {
  background: none;
  border: none;
  color: var(--ivory-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.25s ease;
}

.player-btn:hover {
  opacity: 1;
}

.timeline-track {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.timeline-progress {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 35%;
  background: var(--ivory-primary);
  transition: width 0.15s linear;
}

.timecode-readout {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ivory-muted);
  letter-spacing: 0.08em;
}

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

@media (max-width: 1024px) {
  .hero-stage {
    aspect-ratio: auto;
    min-height: 100vh;
    padding-bottom: 2rem;
  }

  .hero-triptych-dock {
    width: 92%;
    gap: 1rem;
  }

  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .manifesto-section {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 720px) {
  .museum-header {
    padding: 1rem 1.25rem;
  }

  .museum-nav {
    display: none;
  }

  .serif-monolith-title {
    font-size: 1.55rem;
    letter-spacing: 0.42em;
    padding-left: 0.42em;
  }

  .hero-triptych-dock {
    grid-template-columns: 1fr;
    width: 88%;
    gap: 0.85rem;
  }

  .work-grid,
  .manifesto-pillars {
    grid-template-columns: 1fr;
  }

  .archive-section,
  .manifesto-section,
  .contact-footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
