/* ============================================================
   premium-v6.css — editorial magazine hero
   - Central framed subject (Monarch theatre video) as "case artifact"
   - 3-line display serif, middle line z-indexed BEHIND subject
   - Asymmetric corner micro-labels (Courier mono)
   - Bottom stacked poetic phrase
   - Two corner thumbnails (sealed packet + witness)
   - Top bar: brand left, nav pills centered, mini-seal + menu right
   CCC palette preserved — warm black + amber + cream serif.
   ============================================================ */

/* Override the full-bleed canvas hero shell */
.hero.hero--v6 {
  min-height: 100vh;
  padding: calc(var(--tape-h) + 32px) 0 40px;
  display: block;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(ellipse at 50% 48%,
      rgba(212, 169, 74, 0.08) 0%,
      rgba(15, 12, 9, 0) 55%),
    linear-gradient(180deg, #12100c 0%, var(--bg-base) 70%);
}

/* v6 hero: full-bleed witness mesh sits behind the big display text.
   The three green-screen (-b) clips layer with mix-blend-mode: screen in pasqua.css. */
.hero--v6 .hero__canvas-wrap {
  position: absolute;
  inset: 0;
  left: auto;
  top: auto;
  transform: none;
  width: 100%;
  height: 100%;
  z-index: 1;              /* behind display text (z:20) + labels (z:18) */
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}
.hero--v6 .hero__canvas-wrap::after {
  /* Vignette — keeps edges inky so the mesh focuses the eye on the centered text */
  background:
    radial-gradient(ellipse at 50% 40%, transparent 0%, rgba(15,12,9,0.35) 55%, rgba(15,12,9,0.92) 100%);
}

/* ---------- Top editorial bar ---------- */
.hero-v6__top {
  position: relative;
  z-index: 20;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 24px;
  margin-bottom: 28px;
}
.hero-v6__brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 48, "SOFT" 100, "wght" 700, "WONK" 1;
}
.hero-v6__brand-title {
  font-size: 20px;
  line-height: 1;
  color: var(--text-highlight);
  letter-spacing: -0.01em;
}
.hero-v6__brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 4px;
}
.hero-v6__pills {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  background: rgba(26, 22, 18, 0.65);
  border: 1px solid var(--accent-dim);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}
.hero-v6__pill {
  padding: 9px 22px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--text-highlight);
  text-decoration: none;
  text-transform: uppercase;
  transition: background 220ms, color 220ms;
}
.hero-v6__pill:hover {
  background: var(--accent-primary);
  color: var(--text-inverse);
}
.hero-v6__menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}
.hero-v6__seal {
  width: 32px; height: 32px;
  padding: 4px;
  border: 1px solid var(--accent-dim);
  border-radius: 6px;
  color: var(--accent-primary);
  background: rgba(26, 22, 18, 0.65);
}
.hero-v6__menu-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  background: rgba(26, 22, 18, 0.65);
  border: 1px solid var(--accent-dim);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--text-highlight);
  text-transform: uppercase;
  cursor: pointer;
  transition: background 220ms, color 220ms;
}
.hero-v6__menu-btn:hover {
  background: var(--accent-primary);
  color: var(--text-inverse);
  border-color: var(--accent-primary);
}

@media (max-width: 860px) {
  .hero-v6__top {
    grid-template-columns: 1fr auto 1fr;
    padding: 0 16px;
    gap: 8px;
    align-items: center;
  }
  .hero-v6__brand            { grid-column: 1; }
  .hero-v6__menu             { grid-column: 2; justify-self: center; }
  .hero-v6__pills            { grid-column: 1 / -1; order: 3; justify-self: center; margin-top: 6px; }
  .hero-v6__brand-title      { font-size: 15px; }
  .hero-v6__brand-sub        { display: none; }  /* reclaim space */
  /* Hide the fixed case-badge on mobile — it's colliding with MENU */
  .case-badge                { display: none !important; }
}

/* ---------- MENU DRAWER ---------- */
.menu-drawer {
  position: fixed;
  inset: 0;
  z-index: 9994;
  display: none;
  background: rgba(15, 12, 9, 0.92);
  backdrop-filter: blur(18px) saturate(1.1);
  opacity: 0;
  transition: opacity 380ms var(--ease-out);
}
.menu-drawer.is-open {
  display: block;
  opacity: 1;
}
.menu-drawer__close {
  position: absolute;
  top: calc(var(--tape-h) + 16px);
  right: 16px;
  padding: 12px 20px;
  background: rgba(26, 22, 18, 0.85);
  border: 1px solid var(--accent-dim);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--text-highlight);
  text-transform: uppercase;
  cursor: pointer;
  pointer-events: auto;
  z-index: 10;
  transition: background 200ms, border-color 200ms, transform 200ms;
}
.menu-drawer__close:hover {
  background: var(--accent-primary);
  color: var(--text-inverse);
  border-color: var(--accent-primary);
}
.menu-drawer__close:active {
  transform: scale(0.97);
}
.menu-drawer__inner {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 40px;
}
.menu-drawer__links {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: center;
}
.menu-drawer__link {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 600, "WONK" 1;
  font-size: clamp(2rem, 7vw, 4.2rem);
  line-height: 1;
  color: var(--text-highlight);
  text-decoration: none;
  transition: color 220ms, transform 220ms;
  opacity: 0;
  transform: translateY(16px);
}
.menu-drawer.is-open .menu-drawer__link {
  animation: drawer-in 560ms var(--ease-out) forwards;
}
.menu-drawer.is-open .menu-drawer__link:nth-child(1) { animation-delay: 80ms; }
.menu-drawer.is-open .menu-drawer__link:nth-child(2) { animation-delay: 140ms; }
.menu-drawer.is-open .menu-drawer__link:nth-child(3) { animation-delay: 200ms; }
.menu-drawer.is-open .menu-drawer__link:nth-child(4) { animation-delay: 260ms; }
.menu-drawer.is-open .menu-drawer__link:nth-child(5) { animation-delay: 320ms; }
.menu-drawer.is-open .menu-drawer__link:nth-child(6) { animation-delay: 380ms; }
@keyframes drawer-in {
  to { opacity: 1; transform: translateY(0); }
}
.menu-drawer__link:hover {
  color: var(--accent-primary);
  transform: translateX(8px);
}
.menu-drawer__meta {
  margin-top: 40px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  text-transform: uppercase;
  text-align: center;
  opacity: 0;
  animation: drawer-in 560ms var(--ease-out) 440ms forwards;
  animation-play-state: paused;
}
.menu-drawer.is-open .menu-drawer__meta { animation-play-state: running; }

/* ---------- Stage (display type + subject + labels) ---------- */
.hero-v6__stage {
  position: relative;
  z-index: 10;
  min-height: 82vh;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

.hero-v6__display {
  position: relative;
  z-index: 20; /* keep video (z:5) always behind the big display text */
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 500, "WONK" 1;
  font-size: clamp(3.6rem, 14vw, 14rem);
  line-height: 0.85;
  letter-spacing: -0.035em;
  text-align: center;
  margin: 0;
  color: var(--text-highlight);
  pointer-events: none;
}
.hero-v6__display em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 500, "WONK" 1;
}
.hero-v6__display .line {
  display: block;
  position: relative;
  padding: 0.03em 0;
}
.hero-v6__display .line--front { z-index: 15; }
.hero-v6__display .line--back  {
  z-index: 12;
  color: var(--accent-primary);
  font-style: italic;
  mix-blend-mode: plus-lighter;
  text-shadow:
    0 0 18px rgba(212,169,74,0.45),
    0 2px 30px rgba(0,0,0,0.85);
}

/* ---------- Floating micro-labels ---------- */
.hero-v6__label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  z-index: 18;
}
.hero-v6__label--tl { top: 18%;    left: 6%;      text-align: left;   max-width: 14ch; }
.hero-v6__label--tr { top: 22%;    right: 6%;     text-align: right;  max-width: 14ch; }
.hero-v6__label--bc {
  left: 50%;
  bottom: 2%;
  transform: translateX(-50%);
  text-align: center;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 48, "SOFT" 100, "wght" 500, "WONK" 1;
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0;
  color: var(--text-highlight);
  text-transform: none;
  line-height: 1.35;
}
.hero-v6__label--bc .mono {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ---------- Corner thumbnail plates ---------- */
.hero-v6__thumb {
  position: absolute;
  z-index: 8;
  margin: 0;
  width: clamp(80px, 12vw, 160px);
  aspect-ratio: 3/4;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.55);
  border: 1px solid rgba(212, 169, 74, 0.2);
  transform: rotate(-2deg);
  transition: transform 420ms var(--ease-out);
}
.hero-v6__thumb--bl {
  left: 3%;
  bottom: 6%;
  transform: rotate(-4deg);
}
.hero-v6__thumb--br {
  right: 3%;
  bottom: 10%;
  transform: rotate(3deg);
}
.hero-v6__thumb:hover { transform: rotate(0) scale(1.04); }
.hero-v6__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.05);
}
.hero-v6__thumb figcaption {
  position: absolute;
  top: 6px; right: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--text-highlight);
  background: rgba(15, 12, 9, 0.6);
  padding: 2px 6px;
  border-radius: 2px;
  text-transform: uppercase;
}

/* ---------- CTA row (below the stage) ---------- */
.hero-v6__cta-row {
  position: relative;
  z-index: 20;
  max-width: 1400px;
  margin: 24px auto 0;
  padding: 0 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  /* Full-bleed mesh stays full-bleed on mobile; no sizing override needed. */
  .hero-v6__display { font-size: clamp(3rem, 18vw, 7rem); }
  .hero-v6__label--tl { top: 12%; left: 5%; font-size: 10px; }
  .hero-v6__label--tr { top: 12%; right: 5%; font-size: 10px; }
  .hero-v6__label--bc { bottom: -8%; font-size: 12px; }
  .hero-v6__thumb { width: 70px; }
  .hero-v6__thumb--bl { bottom: 2%; left: 2%; }
  .hero-v6__thumb--br { bottom: 6%; right: 2%; }
}

@media (max-width: 540px) {
  .hero-v6__thumb--bl, .hero-v6__thumb--br { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-v6__thumb { transform: none !important; }
}
