/* =====================================================================
 * pasqua.css — cinematic editorial upgrade layer
 * Inspired by pasqua.it (Adoratorio Studio, Awwwards SOTD).
 * Additive: sits on top of existing v2/v4/v5/v6 styles without replacing.
 * ===================================================================== */

/* ---------- custom cursor ---------- */
html.has-custom-cursor,
html.has-custom-cursor * { cursor: none !important; }

.p-cursor {
  position: fixed; left: 0; top: 0; z-index: 9999;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold, #d4a94a);
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  mix-blend-mode: difference;
  transition: width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
              height 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
              background-color 0.3s ease;
  will-change: transform, width, height;
}
.p-cursor--ring {
  position: fixed; left: 0; top: 0; z-index: 9998;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(212, 169, 74, 0.5);
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  transition: width 0.55s cubic-bezier(0.2, 0.8, 0.2, 1),
              height 0.55s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.3s ease, opacity 0.25s ease;
  will-change: transform, width, height;
}
.p-cursor__label {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono, 'Courier Prime', monospace);
  font-size: 9px; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold, #d4a94a);
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
/* Cursor states */
.p-cursor.is-hover { width: 56px; height: 56px; background: transparent; border: 1px solid var(--gold, #d4a94a); mix-blend-mode: normal; }
.p-cursor--ring.is-hover { opacity: 0; }
.p-cursor.is-hover + .p-cursor__label,
.p-cursor.is-hover .p-cursor__label { opacity: 1; }
.p-cursor.is-drag { width: 72px; height: 72px; background: rgba(212,169,74,0.15); border: 1px solid var(--gold); mix-blend-mode: normal; }
.p-cursor.is-click { width: 8px; height: 8px; }
@media (hover: none), (max-width: 860px) {
  html.has-custom-cursor,
  html.has-custom-cursor * { cursor: auto !important; }
  .p-cursor, .p-cursor--ring { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .p-cursor, .p-cursor--ring { display: none; }
  html.has-custom-cursor,
  html.has-custom-cursor * { cursor: auto !important; }
}

/* ---------- cinematic opening curtain ---------- */
.p-curtain {
  position: fixed; inset: 0; z-index: 9000;
  background: #0a0806;
  display: grid; place-items: center;
  overflow: hidden;
  isolation: isolate;
}
.p-curtain__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.08);
  filter: brightness(0.55) saturate(0.85) contrast(1.05);
  opacity: 0;
  transition: opacity 1.6s ease;
}
.p-curtain__bg.is-ready { opacity: 1; }
.p-curtain__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, transparent 0%, rgba(10,8,6,0.35) 60%, rgba(10,8,6,0.92) 100%),
    linear-gradient(to bottom, rgba(10,8,6,0.45) 0%, transparent 20%, transparent 80%, rgba(10,8,6,0.85) 100%);
}
.p-curtain__grain {
  position: absolute; inset: 0; 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.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.35;
  animation: pGrain 8s steps(6) infinite;
}
@keyframes pGrain {
  0%   { transform: translate(0,0); }
  25%  { transform: translate(-2%, 1%); }
  50%  { transform: translate(1%, -2%); }
  75%  { transform: translate(-1%, -1%); }
  100% { transform: translate(0,0); }
}
.p-curtain__inner {
  position: relative; z-index: 2;
  text-align: center;
  padding: 0 32px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.4s ease 0.5s, transform 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s;
}
.p-curtain__inner.is-ready { opacity: 1; transform: translateY(0); }

.p-curtain__eyebrow {
  font-family: var(--font-mono, 'Courier Prime', monospace);
  font-size: 11px; letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(244, 216, 154, 0.62);
  margin-bottom: 28px;
  display: flex; align-items: center; justify-content: center; gap: 14px;
}
.p-curtain__eyebrow::before,
.p-curtain__eyebrow::after {
  content: ""; display: inline-block;
  width: 36px; height: 1px;
  background: rgba(212, 169, 74, 0.45);
}

.p-curtain__title {
  font-family: var(--font-display, 'Fraunces', 'Playfair Display', serif);
  font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 400, "WONK" 1;
  font-size: clamp(2.6rem, 8vw, 7.5rem);
  line-height: 0.95; letter-spacing: -0.015em;
  color: #f4d89a;
  text-shadow: 0 2px 30px rgba(0,0,0,0.7);
  margin: 0;
}
.p-curtain__title .italic {
  font-style: italic;
  color: var(--gold, #d4a94a);
  font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 500, "WONK" 1;
}

.p-curtain__cta {
  margin-top: 56px;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 36px;
  background: rgba(244, 216, 154, 0.06);
  border: 1px solid rgba(212, 169, 74, 0.45);
  border-radius: 999px;
  color: #f4d89a;
  font-family: var(--font-mono, 'Courier Prime', monospace);
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  cursor: pointer;
  transition: background 0.4s ease, border-color 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  backdrop-filter: blur(6px);
}
.p-curtain__cta:hover {
  background: rgba(212, 169, 74, 0.14);
  border-color: var(--gold, #d4a94a);
  transform: translateY(-1px);
}
.p-curtain__cta::after {
  content: "→";
  display: inline-block;
  transform: translateX(0);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.p-curtain__cta:hover::after { transform: translateX(4px); }

.p-curtain__corners {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 3;
}
.p-curtain__corner {
  position: absolute;
  font-family: var(--font-mono, 'Courier Prime', monospace);
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(244, 216, 154, 0.45);
  opacity: 0;
  transition: opacity 1.4s ease 1.1s;
}
.p-curtain__inner.is-ready ~ .p-curtain__corners .p-curtain__corner { opacity: 1; }
.p-curtain__corner--tl { top: 28px; left: 32px; }
.p-curtain__corner--tr { top: 28px; right: 32px; text-align: right; }
.p-curtain__corner--bl { bottom: 28px; left: 32px; }
.p-curtain__corner--br { bottom: 28px; right: 32px; text-align: right; }

/* Curtain exit — cinematic pull-through */
.p-curtain.is-closing {
  pointer-events: none;
}
.p-curtain.is-closing .p-curtain__bg {
  transform: scale(1.22);
  opacity: 0;
  transition: transform 1.4s cubic-bezier(0.65, 0, 0.35, 1), opacity 1.2s ease 0.2s;
}
.p-curtain.is-closing .p-curtain__inner {
  opacity: 0; transform: translateY(-18px) scale(0.96);
  transition: opacity 0.7s ease, transform 0.9s cubic-bezier(0.65, 0, 0.35, 1);
}
.p-curtain.is-closing {
  opacity: 0;
  transition: opacity 0.9s ease 0.6s;
}
.p-curtain.is-gone { display: none; }

/* Body lock when curtain active */
body.has-curtain {
  overflow: hidden;
  height: 100vh;
}

/* ---------- chapter markers ---------- */
.p-chapter {
  position: relative;
  padding-top: 48px;
}
.p-chapter__marker {
  position: absolute; top: 16px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono, 'Courier Prime', monospace);
  font-size: 10px; letter-spacing: 0.42em; text-transform: uppercase;
  color: rgba(212, 169, 74, 0.7);
  display: flex; align-items: center; gap: 12px;
  white-space: nowrap;
}
.p-chapter__marker::before,
.p-chapter__marker::after {
  content: ""; display: inline-block;
  width: 42px; height: 1px;
  background: rgba(212, 169, 74, 0.45);
}
.p-chapter__marker .roman {
  font-family: var(--font-display, 'Fraunces', serif);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--gold, #d4a94a);
}

/* Corner chapter pre-announcements */
.p-chapter__next {
  position: absolute; bottom: 32px; right: 32px;
  font-family: var(--font-mono, 'Courier Prime', monospace);
  font-size: 9px; letter-spacing: 0.32em; text-transform: uppercase;
  color: rgba(244, 216, 154, 0.4);
  display: flex; align-items: center; gap: 10px;
  pointer-events: none;
}
.p-chapter__next .roman {
  font-family: var(--font-display, 'Fraunces', serif);
  font-style: italic;
  font-size: 11px;
  color: rgba(212, 169, 74, 0.6);
}
.p-chapter__next::before {
  content: "NEXT"; display: inline-block;
  font-size: 8px; opacity: 0.55;
}

/* ---------- floating language pill (bottom-right, doesn't overlap nav) ---------- */
.p-lang-toggle {
  position: fixed; bottom: 22px; right: 24px;
  z-index: 100;
  display: inline-flex; align-items: center;
  padding: 7px 14px;
  border: 1px solid rgba(212, 169, 74, 0.28);
  border-radius: 999px;
  background: rgba(15, 12, 9, 0.65);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono, 'Courier Prime', monospace);
  font-size: 9px; letter-spacing: 0.3em;
  color: rgba(244, 216, 154, 0.55);
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.6s ease 0.4s, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s;
}
body:not(.has-curtain) .p-lang-toggle { opacity: 1; transform: translateY(0); }
.p-lang-toggle .active {
  color: var(--gold, #d4a94a);
  margin-right: 6px;
}
.p-lang-toggle .dash {
  margin: 0 6px;
  opacity: 0.35;
}
@media (max-width: 860px) {
  .p-lang-toggle { display: none; }
}

/* ---------- scroll-reveal lines (pasqua headline treatment) ---------- */
.p-reveal {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.p-reveal > * {
  display: inline-block;
  transform: translateY(105%);
  opacity: 0;
  transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1),
              opacity 0.8s ease;
}
.p-reveal.is-in > * {
  transform: translateY(0);
  opacity: 1;
}
.p-reveal.is-in.delay-1 > * { transition-delay: 0.08s; }
.p-reveal.is-in.delay-2 > * { transition-delay: 0.16s; }
.p-reveal.is-in.delay-3 > * { transition-delay: 0.24s; }
.p-reveal.is-in.delay-4 > * { transition-delay: 0.32s; }

/* ---------- proscenium frame (sticky theatre columns on hero) ---------- */
.p-proscenium {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 8;
}
.p-proscenium__column {
  position: absolute; top: 0; bottom: 0;
  width: clamp(40px, 6vw, 96px);
  background: linear-gradient(to right,
    rgba(15, 12, 9, 0.88) 0%,
    rgba(15, 12, 9, 0.45) 60%,
    transparent 100%);
}
.p-proscenium__column--left { left: 0; }
.p-proscenium__column--right {
  right: 0;
  background: linear-gradient(to left,
    rgba(15, 12, 9, 0.88) 0%,
    rgba(15, 12, 9, 0.45) 60%,
    transparent 100%);
}
.p-proscenium__top {
  position: absolute; top: 0; left: 0; right: 0;
  height: 72px;
  background: linear-gradient(to bottom, rgba(15, 12, 9, 0.92) 0%, rgba(15, 12, 9, 0.35) 60%, transparent 100%);
}
.p-proscenium__bottom {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(15, 12, 9, 0.95) 0%, rgba(15, 12, 9, 0.55) 40%, transparent 100%);
}
@media (max-width: 540px) {
  .p-proscenium__column { display: none; }
}

/* ---------- pill CTA (pasqua-style rounded SEND) ---------- */
.p-pill {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 40px;
  border-radius: 999px;
  background: var(--candlelight, #f4d89a);
  color: #0a0806;
  font-family: var(--font-mono, 'Courier Prime', monospace);
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  border: none; cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s ease;
  position: relative;
  overflow: hidden;
}
.p-pill::after {
  content: "→";
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.p-pill:hover {
  transform: translateY(-2px);
  background: #fff1c7;
}
.p-pill:hover::after { transform: translateX(5px); }
.p-pill--ghost {
  background: transparent;
  color: var(--candlelight, #f4d89a);
  border: 1px solid rgba(212, 169, 74, 0.45);
}
.p-pill--ghost:hover {
  background: rgba(212, 169, 74, 0.08);
  border-color: var(--gold, #d4a94a);
}

/* ---------- editorial pinned section wrapper ---------- */
.p-pinned {
  position: relative;
  min-height: 100vh;
}
.p-pinned__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 8vh 6vw;
}
@media (min-width: 900px) {
  .p-pinned__grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding: 12vh 8vw;
    align-items: center;
  }
}
.p-pinned__label {
  font-family: var(--font-mono, 'Courier Prime', monospace);
  font-size: 10px; letter-spacing: 0.38em; text-transform: uppercase;
  color: rgba(212, 169, 74, 0.65);
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
}
.p-pinned__label::before {
  content: ""; display: inline-block;
  width: 24px; height: 1px;
  background: rgba(212, 169, 74, 0.55);
}
.p-pinned__headline {
  font-family: var(--font-display, 'Fraunces', serif);
  font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 400, "WONK" 1;
  font-size: clamp(2.4rem, 6.5vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: var(--candlelight, #f4d89a);
  margin: 0 0 24px;
}
.p-pinned__headline em {
  font-style: italic;
  color: var(--gold, #d4a94a);
}

/* ---------- image warp canvas (fallback safe) ---------- */
.p-warp {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.p-warp canvas {
  position: absolute; inset: 0;
  width: 100% !important; height: 100% !important;
  pointer-events: none;
}
.p-warp img { display: block; width: 100%; height: 100%; object-fit: cover; }
.p-warp.has-shader img { opacity: 0; }

/* =====================================================================
 * HERO WITNESS MESH — Lorenzo-style cursor spotlight reveal
 * The three green-screen portraits ghost in as a triple-exposure base.
 * On hover, cursor becomes a "spotlight": a bright focus circle that
 * dims everything else. Cursor-X also drives witness dominance via a
 * CSS var set in pasqua.js (--cursor-x, 0..1).
 * ===================================================================== */
.hero--v6 .hero__canvas-wrap {
  --mx: 50%;
  --my: 50%;
  --mr: 0px;              /* spotlight radius, driven by JS on peek */
  --cursor-x: 0.5;        /* 0 = far left, 1 = far right — drives zone dominance */
  will-change: opacity, filter;
}
/* Active peek: bright spotlight at cursor, rest dims slightly.
   No mask-image cut-out (that carved a hole) — instead we dim globally and let the
   per-witness opacity JS brighten the cursor-zone witness. */
.hero__canvas-wrap.is-peek {
  filter: saturate(1.1) brightness(1.05);
  transition: filter 0.28s ease;
}
.hero__canvas-wrap.is-peek.is-deep {
  filter: saturate(1.25) brightness(1.15);
}

/* Mobile virtual cursor ghost dot */
.p-vcursor {
  position: absolute;
  left: 50%; top: 50%;
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--gold, #d4a94a);
  box-shadow: 0 0 24px rgba(212, 169, 74, 0.7);
  pointer-events: none;
  z-index: 6;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.p-vcursor.is-active { opacity: 0.85; }
.p-vcursor::after {
  content: "";
  position: absolute; inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(212, 169, 74, 0.5);
  animation: vcursorPulse 1.6s ease-in-out infinite;
}
@keyframes vcursorPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.35); opacity: 0.2; }
}

/* While hovering, amp the back-line glow so it reads even stronger */
.hero--v6:hover .hero-v6__display .line--back {
  text-shadow:
    0 0 32px rgba(212,169,74,0.75),
    0 0 80px rgba(212,169,74,0.25),
    0 2px 30px rgba(0,0,0,0.9);
  transition: text-shadow 0.5s ease;
}

/* Reduced motion: skip mask animation, keep dim only */
@media (prefers-reduced-motion: reduce) {
  .hero--v6 .hero__canvas-wrap {
    -webkit-mask-image: none; mask-image: none;
    transition: opacity 0.3s ease;
  }
}

/* ---------- menu pill ---------- */
.hero-v6__pill--menu {
  background: transparent;
  border: 1px solid rgba(212, 169, 74, 0.4);
  color: var(--candlelight, #f4d89a);
  font-family: inherit;
  cursor: pointer;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: inherit;
  letter-spacing: inherit;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-v6__pill--menu:hover {
  background: rgba(212, 169, 74, 0.1);
  border-color: var(--gold, #d4a94a);
  transform: translateY(-1px);
}
/* Hide the now-decorative right-column seal on mobile */
@media (max-width: 860px) {
  .hero-v6__menu { display: none; }
}

/* ---------- hero character mesh (3-up triple-exposure behind big text) ----------
   Layered defenses so GREEN-SCREEN PIXELS NEVER PAINT:
     Layer A · .hero__canvas-wrap--chars has an opaque warm-to-dark gradient bg
     Layer B · .hero-char-stack has an opaque solid dark bg on top of that
     Layer C · Each .hero-char has filter: url(#ccc-chroma-green) (3-stage chroma-key)
     Layer D · Each .hero-char has mix-blend-mode: screen (kills residual black)
     Layer E · Each .hero-char has background: #0a0806 (covers loading-frame window)
   Any one of these is enough on its own; all five together = bulletproof. */
.hero__canvas-wrap--chars {
  background:
    radial-gradient(ellipse at 50% 35%, rgba(244, 216, 154, 0.14) 0%, rgba(26, 20, 16, 0.92) 60%, rgba(10, 8, 6, 1) 100%),
    linear-gradient(180deg, #1a1410 0%, #0a0806 100%);
  overflow: hidden;
}
.hero__canvas-wrap--chars::before {
  /* Ambient grain layer */
  content: "";
  position: absolute; inset: 0;
  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.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.22;
  pointer-events: none;
  z-index: 3;
}
.hero-char-stack {
  position: absolute; inset: 0;
  z-index: 2;
  /* Layer B — opaque solid dark underneath the videos. Even if chroma-key fails,
     even if the videos fail to load entirely, the user sees dark. Never green. */
  background: #0a0806;
}
/* All three green-screen clips layered full-bleed, blended into a triple-exposure. */
.hero-char {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: var(--char-weight, 0.3);   /* set per-element by pasqua.js Lorenzo logic */
  mix-blend-mode: screen;
  /* Layer C+D: chroma-key first (matches #ccc-chroma-green in index.html <body>),
     then the tone-grade. */
  filter: url(#ccc-chroma-green) sepia(0.15) contrast(1.1) brightness(0.95) saturate(0.92);
  transition: opacity 0.5s ease;
  will-change: opacity;
  background: #0a0806;                 /* Layer E — covers loading-frame window */
}
/* Horizontal framing per witness — spreads the 3 faces across the hero width so the
   mesh looks like a triptych instead of three stacked identical crops. */
.hero-char--vivienne { object-position: 22% 30%; }
.hero-char--marcus   { object-position: 50% 28%; }
.hero-char--agnes    { object-position: 78% 30%; }
/* Subtle breathing on whichever witness is currently dominant */
.hero-char[data-dominant] {
  animation: heroCharBreath 9s ease-in-out infinite;
}
@keyframes heroCharBreath {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.025); }
}

/* ---------- animated gallery card (transparent video like polaroid) ----------
   Chroma-key filter chained in so any green pixels from the -b clip never paint. */
.gallery-card__video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(244, 216, 154, 0.18) 0%, rgba(15, 12, 9, 0.9) 70%),
    linear-gradient(180deg, #1a1410 0%, #0f0c09 100%);
  filter: url(#ccc-chroma-green) sepia(0.15) contrast(1.05) brightness(0.95);
}

/* ---------- atmospheric witness ghost (Marcus watching from the back) ----------
   Chroma-key filter chained in so any green pixels in the -b clip are killed
   before blend/contrast/brightness ever apply. Bulletproof against green flashes. */
.witnesses { position: relative; overflow: hidden; }
.witnesses__ghost {
  position: absolute;
  right: -4vw; top: 8%;
  width: clamp(280px, 32vw, 520px);
  height: auto;
  z-index: 1;
  pointer-events: none;
  opacity: 0.10;
  mix-blend-mode: screen;
  filter: url(#ccc-chroma-green) contrast(1.1) brightness(0.85) sepia(0.2);
  background: #0a0806;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 35%, #000 75%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 35%, #000 75%, transparent 100%);
}
@media (max-width: 860px) {
  .witnesses__ghost {
    right: -10vw; top: 4%; width: 60vw; opacity: 0.07;
  }
}
.witnesses .section__inner { position: relative; z-index: 2; }
.witnesses .polaroids       { position: relative; z-index: 3; }

/* ---------- animated polaroid (transparent video over warm backdrop) ---------- */
.polaroid__photo--video {
  /* Warm tungsten backdrop so the alpha-keyed subject has an atmosphere
     behind them instead of sitting on the raw polaroid paper colour */
  background:
    radial-gradient(ellipse at 50% 40%, rgba(244, 216, 154, 0.18) 0%, rgba(15, 12, 9, 0.9) 70%),
    linear-gradient(180deg, #1a1410 0%, #0f0c09 100%);
  position: relative;
  overflow: hidden;
}
.polaroid__photo--video::before {
  /* Ambient grain matches the rest of the site */
  content: "";
  position: absolute; inset: 0;
  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.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.25;
  pointer-events: none;
  z-index: 1;
}
.polaroid__photo--video video {
  position: relative;
  z-index: 2;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: sepia(0.18) contrast(1.08) brightness(0.96) saturate(0.92);
}

/* ---------- page-load veil (first paint) ---------- */
.p-veil {
  position: fixed; inset: 0;
  background: #0f0c09;
  z-index: 8500;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.8s ease;
}
.p-veil.is-lifted { opacity: 0; }
.p-veil.is-gone { display: none; }
