/* ════════════════════════════════════════════════════════════════════════
   PresentTool™ — MotionView (Fase 7, docs/MOTIONVIEW.md §8)
   Standalone stylesheet, geen dependency op web/landing/assets/theme.css of
   web/storytelling/* — kleurwaarden hieronder zijn wel geïnspireerd op het
   bestaande dark-theme palet uit web/landing/assets/theme.css (zelfde merk,
   andere pagina), maar dit bestand duplicaten die niet 1-op-1.
   ════════════════════════════════════════════════════════════════════════ */

:root {
  --mv-bg:          #14120E;
  --mv-surface:     #1A1814;
  --mv-surface-2:   #1F1D18;
  --mv-border:      #2A2823;
  --mv-text:        #F2F0EB;
  --mv-text-muted:  #A09D96;
  --mv-text-subtle: #76726B;
  --mv-primary:     #C8956C;
  --mv-primary-dim: rgba(200, 149, 108, 0.18);
  --mv-accent:      #8B4513;

  --mv-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mv-mono: ui-monospace, 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  --mv-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

* , *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--mv-bg);
  color: var(--mv-text);
  font-family: var(--mv-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ─── INTRO (full-screen autoplay video) ──────────────────────────────── */
.mv-intro {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 480px;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: flex-end;
}

.mv-intro video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mv-intro::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,18,14,0.05) 0%, rgba(20,18,14,0.15) 55%, rgba(20,18,14,0.92) 100%);
  pointer-events: none;
}

.mv-intro-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 clamp(20px, 5vw, 64px) clamp(32px, 6vw, 72px);
}

.mv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mv-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mv-primary);
  margin: 0 0 14px;
}

.mv-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mv-primary);
}

.mv-intro h1 {
  margin: 0;
  font-size: clamp(30px, 5.5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 780px;
}

.mv-intro .lede {
  margin: 14px 0 0;
  max-width: 520px;
  font-size: clamp(14px, 1.6vw, 17px);
  color: var(--mv-text-muted);
}

.mv-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 3vw, 28px);
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--mv-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mv-text-muted);
  animation: mv-bob 2.2s ease-in-out infinite;
}

.mv-scroll-cue svg { width: 16px; height: 16px; opacity: 0.85; }

@keyframes mv-bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

/* ─── SHOT SEQUENCE (12-shot scroll narrative) ────────────────────────── */
.mv-sequence {
  position: relative;
  background: var(--mv-bg);
}

.mv-shot {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(64px, 8vw, 96px) clamp(20px, 6vw, 72px);
  border-bottom: 1px solid var(--mv-border);
}

.mv-shot:nth-child(even) {
  grid-template-columns: 0.9fr 1.1fr;
}

.mv-shot:nth-child(even) .mv-shot-media { order: 2; }
.mv-shot:nth-child(even) .mv-shot-text  { order: 1; }

.mv-shot-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: var(--mv-surface-2);
  border: 1px solid var(--mv-border);
  box-shadow: var(--mv-shadow);
}

.mv-shot-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mv-shot-media .mv-shot-index {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--mv-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--mv-text);
  background: rgba(20, 18, 14, 0.55);
  backdrop-filter: blur(6px);
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mv-shot-text {
  max-width: 480px;
}

.mv-shot-tag {
  font-family: var(--mv-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mv-primary);
  margin: 0 0 10px;
}

.mv-shot-text h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mv-shot-text p {
  margin: 0;
  font-size: clamp(13.5px, 1.5vw, 15.5px);
  color: var(--mv-text-muted);
}

/* Scroll-reveal state, toggled via IntersectionObserver in motionview.js */
.mv-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(.2,.7,.2,1), transform 0.8s cubic-bezier(.2,.7,.2,1);
}

.mv-reveal.mv-in {
  opacity: 1;
  transform: none;
}

.mv-shot:nth-child(even) .mv-shot-media.mv-reveal { transform: translateY(28px) scale(0.98); }
.mv-shot:nth-child(even) .mv-shot-media.mv-reveal.mv-in { transform: none; }

/* ─── TOUR EMBED (krpano iframe, Fase 5) ───────────────────────────────── */
.mv-tour {
  padding: clamp(56px, 8vw, 88px) clamp(20px, 6vw, 72px) clamp(72px, 9vw, 100px);
  background: var(--mv-surface);
  border-top: 1px solid var(--mv-border);
}

.mv-tour-head {
  max-width: 640px;
  margin: 0 auto 28px;
  text-align: center;
}

.mv-tour-head .mv-eyebrow { justify-content: center; }

.mv-tour-head h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mv-tour-frame {
  max-width: 1180px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--mv-border);
  box-shadow: var(--mv-shadow);
  background: #000;
  aspect-ratio: 16 / 9;
}

.mv-tour-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.mv-tour-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--mv-text-subtle);
  font-family: var(--mv-mono);
  font-size: 12.5px;
  text-align: center;
  padding: 24px;
}

/* ─── FOOTER ───────────────────────────────────────────────────────────── */
.mv-footer {
  padding: 22px clamp(20px, 6vw, 72px);
  background: var(--mv-bg);
  border-top: 1px solid var(--mv-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mv-mono);
  font-size: 11px;
  color: var(--mv-text-subtle);
}

.mv-footer a {
  color: var(--mv-text-muted);
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.mv-footer a:hover {
  color: var(--mv-primary);
  border-color: var(--mv-primary);
}

/* ─── MOBILE ───────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .mv-shot,
  .mv-shot:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 48px 20px;
    min-height: auto;
  }

  .mv-shot:nth-child(even) .mv-shot-media { order: 1; }
  .mv-shot:nth-child(even) .mv-shot-text  { order: 2; }

  .mv-shot-media { aspect-ratio: 16 / 10; }
  .mv-shot-text { max-width: none; }

  .mv-tour-frame {
    aspect-ratio: auto;
    height: 100vh;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
}

@media (max-width: 480px) {
  .mv-intro h1 { font-size: clamp(26px, 8vw, 34px); }
  .mv-shot-text h2 { font-size: clamp(20px, 6vw, 24px); }
}

/* ─── REDUCED MOTION ───────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mv-reveal { transition: none; opacity: 1; transform: none; }
  .mv-scroll-cue { animation: none; }
}
