/* ═══════════════════════════════════════════════
   MAISON REALTY — DESIGN SYSTEM v3.0
   All styles from Master PRD
   ═══════════════════════════════════════════════ */

/* ── Google Fonts ────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&family=Jost:wght@300;400;500;600&family=Tenor+Sans&display=swap');

/* ── CSS Custom Properties ───────────────────── */
:root {
  /* Core Brand */
  --gold: #D4A843;
  --gold-light: #E8C470;
  --gold-dark: #C9993A;
  --night: #0D1117;
  --navy: #1A2F4A;

  /* Scene Palettes */
  --brick: #8B3A2A;
  --pink-floral: #E8A4B8;
  --terracotta: #C4622D;
  --warm-brown: #8B5E3C;
  --colonial: #F8F4ED;
  --maple: #D4A843;
  --forest: #1E3D2F;
  --steel: #2C3E50;
  --timber: #8B6914;
  --rose: #E8836A;
  --amber-glow: #E8A045;
  --blue-black: #0D1B2A;

  /* Glass Effects */
  --glass-light: rgba(232, 228, 220, 0.82);
  --glass-dark: rgba(26, 47, 74, 0.88);
  --glass-night: rgba(13, 27, 42, 0.72);
  --glass-gold: rgba(212, 168, 67, 0.12);
  --glass-pink: rgba(232, 164, 184, 0.12);
  --glass-clay: rgba(196, 98, 45, 0.15);

  /* Typography */
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.80);
  --text-muted: rgba(255, 255, 255, 0.50);
  --text-dim: rgba(255, 255, 255, 0.35);
  --text-dark: #1A1A2E;

  /* Scale */
  --text-hero: clamp(3.5rem, 6vw, 8rem);
  --text-h1: clamp(2.5rem, 4vw, 5.5rem);
  --text-h2: clamp(1.8rem, 3vw, 4rem);
  --text-h3: clamp(1.4rem, 2vw, 2.5rem);
  --text-body: clamp(0.95rem, 1.1vw, 1.2rem);
  --text-small: clamp(0.8rem, 0.9vw, 0.95rem);
  --text-label: clamp(0.7rem, 0.8vw, 0.85rem);

  /* Tracking */
  --tracking-tight: -0.02em;
  --tracking-wide: 0.10em;
  --tracking-wider: 0.20em;
  --tracking-widest: 0.35em;
}

/* ── Reset ───────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  overflow-x: hidden;
}

body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  background: var(--night);
  color: var(--text-primary);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Canvas ──────────────────────────────────── */
#film-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 56.25vw;
  /* 16:9 */
  min-height: 100vh;
  z-index: 1;
  object-fit: cover;
}

/* ── Scroll Track ────────────────────────────── */
#scroll-track {
  position: relative;
  width: 100%;
  z-index: 0;
}

/* ═══════════════════════════════════════════════
   LOADING SCREEN
   ═══════════════════════════════════════════════ */
#loading-screen {
  position: fixed;
  inset: 0;
  background: var(--night);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 600ms ease;
}

.loading-brand {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.35em;
  color: var(--gold);
  margin-bottom: 8px;
}

.loading-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 48px;
}

.loading-bar-track {
  width: 280px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1px;
  overflow: hidden;
  margin-bottom: 16px;
}

#loading-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--gold);
  transition: width 200ms ease;
}

.loading-copy {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════ */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 6vw;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms ease;
}

.nav-brand {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.35em;
  color: white;
  text-transform: uppercase;
  text-decoration: none;
}

#nav-cta {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: 2px;
  border: 1px solid rgba(212, 168, 67, 0.55);
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  transition: all 200ms ease;
  text-decoration: none;
}

#nav-cta:hover {
  background: var(--gold);
  color: var(--night);
}

/* ═══════════════════════════════════════════════
   SCENE OVERLAY PANELS — Common
   ═══════════════════════════════════════════════ */
.scene-copy {
  position: fixed;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms ease;
}

/* ── Scene 01 — Pure Minimalism ──────────────── */
#scene-01-copy {
  bottom: 18vh;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 90vw;
  max-width: 800px;
}

#scene-01-copy .scene-label {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-top: 20px;
  animation: fadeInUp 400ms ease 400ms both;
}

#scene-01-copy .scene-headline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(3rem, 5vw, 6rem);
  line-height: 1.1;
  color: white;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.5);
  letter-spacing: -0.02em;
}

/* ── Scene 02 — Warm Skeuomorphism ───────────── */
#scene-02-copy {
  left: 8vw;
  top: 50%;
  transform: translateY(-50%);
  max-width: 480px;
  background: var(--glass-pink);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-left: 2px solid rgba(232, 164, 184, 0.4);
  border-radius: 0 8px 8px 0;
  padding: 40px;
}

#scene-02-copy .scene-label {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 0.7rem;
  color: #E8A4B8;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

#scene-02-copy .scene-headline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  line-height: 1.1;
  color: white;
}

#scene-02-copy .scene-body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-top: 16px;
}

/* ── Scene 03 — Clay Morphism ────────────────── */
#scene-03-copy {
  right: 6vw;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  max-width: 88vw;
  background: var(--glass-clay);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 1px solid rgba(196, 98, 45, 0.3);
  padding: 44px;
}

#scene-03-copy .scene-label {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 0.7rem;
  color: var(--terracotta);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

#scene-03-copy .scene-headline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  line-height: 1.1;
  color: white;
}

#scene-03-copy .scene-body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-top: 16px;
}

/* ── Scene 04 — Neo-Brutalism ────────────────── */
#scene-04-copy {
  top: 8vh;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 90vw;
  max-width: 800px;
}

#scene-04-copy .scene-headline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(3.5rem, 6vw, 7rem);
  line-height: 0.95;
  color: white;
  text-shadow: 0 2px 60px rgba(0, 0, 0, 0.5);
}

.stats-bar {
  position: fixed;
  bottom: 10%;
  left: 0;
  right: 0;
  background: rgba(26, 26, 46, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 20px 8vw;
  display: flex;
  justify-content: space-around;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms ease;
  z-index: 51;
}

.stats-bar .stat-item {
  text-align: center;
}

.stats-bar .stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 2.5rem;
  color: var(--gold);
}

.stats-bar .stat-label {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  color: white;
}

/* ── Scene 05 — Glass Morphism (Light Panel) ─── */
#scene-05-copy {
  left: 6vw;
  top: 50%;
  transform: translateY(-50%);
  width: 460px;
  max-width: 88vw;
  background: var(--glass-light);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  padding: 48px;
}

#scene-05-copy .scene-label {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 0.7rem;
  color: var(--steel);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

#scene-05-copy .scene-headline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  line-height: 1.1;
  color: var(--steel);
}

#scene-05-copy .scene-body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: #4A5568;
  line-height: 1.7;
  margin-top: 16px;
}

.scene-pills {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.scene-pills .pill {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  background: var(--steel);
  color: white;
  padding: 6px 16px;
  border-radius: 2px;
  text-transform: uppercase;
}

/* ── Scene 06 — Dark Glass Morphism ──────────── */
#scene-06-copy {
  right: 6vw;
  top: 50%;
  transform: translateY(-50%);
  width: 440px;
  max-width: 88vw;
  background: var(--glass-dark);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 4px;
  padding: 48px;
}

.gold-line {
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 24px 0;
  opacity: 0.3;
}

#scene-06-copy .scene-headline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.8rem, 3vw, 3.5rem);
  line-height: 1.2;
  color: white;
}

/* ── Scene 07 — Estate Collection · Liquid Glass ─ */
#scene-07-copy {
  bottom: 6vh;
  left: 5vw;
  top: auto;
  transform: none;
  width: min(440px, 80vw);
  background: rgba(13, 27, 42, 0.42);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(212, 168, 67, 0.25);
  border-radius: 12px;
  padding: 40px 44px;
}

#scene-07-copy .scene-label {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 0.68rem;
  color: var(--gold);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

#scene-07-copy .scene-headline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  line-height: 1.15;
  color: white;
}

#scene-07-copy .scene-body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  margin-top: 14px;
}

.feature-list {
  list-style: none;
  margin-top: 14px;
}

.feature-list li {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.82rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.8);
}

.feature-list li::before {
  content: '✦ ';
  color: var(--gold-dark);
}

/* ── Scene 08 — Top Headline (above frame tagline) ─ */
#scene-08-copy {
  top: 6vh;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 90vw;
  max-width: 700px;
}

/* ── Scene 08 — Bottom CTA block (below frame tagline) */
#scene-08-cta-block {
  bottom: 8vh;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 90vw;
  max-width: 600px;
}

#scene-08-copy .scene-headline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(3.5rem, 6vw, 7.5rem);
  line-height: 1.05;
  color: white;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.4);
}

#scene-08-copy .scene-subline {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 16px;
}

.cta-primary {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.05em;
  background: var(--gold);
  color: var(--night);
  padding: 18px 48px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 32px rgba(212, 168, 67, 0.4);
  transition: all 220ms ease;
  margin-top: 32px;
  text-decoration: none;
}

.cta-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-3px);
}

/* ── Neon Skyscraper CTA Glow ─────────────── */
.cta-neon {
  position: relative;
  animation: neonPulse 2s ease-in-out infinite;
  border: 1px solid rgba(212, 168, 67, 0.6);
}

@keyframes neonPulse {

  0%,
  100% {
    box-shadow:
      0 0 12px rgba(212, 168, 67, 0.5),
      0 0 24px rgba(212, 168, 67, 0.3),
      0 0 48px rgba(212, 168, 67, 0.15),
      inset 0 0 12px rgba(212, 168, 67, 0.1);
  }

  50% {
    box-shadow:
      0 0 20px rgba(212, 168, 67, 0.7),
      0 0 40px rgba(212, 168, 67, 0.45),
      0 0 80px rgba(212, 168, 67, 0.2),
      0 0 120px rgba(212, 168, 67, 0.08),
      inset 0 0 20px rgba(212, 168, 67, 0.15);
  }
}

.cta-neon::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 5px;
  background: linear-gradient(135deg,
      rgba(212, 168, 67, 0.4),
      rgba(232, 192, 112, 0.1),
      rgba(212, 168, 67, 0.4));
  z-index: -1;
  animation: neonBorder 3s linear infinite;
  filter: blur(3px);
}

@keyframes neonBorder {
  0% {
    opacity: 0.4;
  }

  50% {
    opacity: 0.8;
  }

  100% {
    opacity: 0.4;
  }
}

.trust-line {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.2em;
  margin-top: 16px;
  text-transform: uppercase;
}

/* ── Scene 09 — Pure Minimalism Final ────────── */
#scene-09-copy {
  top: 10vh;
  left: 6vw;
  bottom: auto;
  transform: none;
  text-align: left;
  width: auto;
  max-width: 500px;
}

#scene-09-copy .scene-headline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(2rem, 3.5vw, 4.5rem);
  line-height: 1.2;
  color: white;
}

/* ═══════════════════════════════════════════════
   FULL SCREEN OVERLAYS (01, 02, Pivot)
   ═══════════════════════════════════════════════ */
.metric-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 17, 23, 0.96);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms ease;
}

.metric-overlay .overlay-headline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.6rem, 2.8vw, 2.8rem);
  color: white;
  text-align: center;
  max-width: 600px;
  line-height: 1.4;
  margin-bottom: 56px;
  letter-spacing: 0.01em;
}

.metrics-row {
  display: flex;
  gap: 72px;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}

.metric-item {
  text-align: center;
  min-width: 150px;
}

.metric-number {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.01em;
}

.metric-label {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 12px;
  max-width: 180px;
  line-height: 1.5;
}

/* Overlay 02 — Testimonial */
.testimonial-quote {
  max-width: 640px;
  text-align: center;
}

.quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  color: var(--gold);
  line-height: 1;
}

.quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: white;
  line-height: 1.6;
  margin-top: -12px;
}

.quote-attr {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 20px;
}

/* ── Pivot Overlay ───────────────────────────── */
#pivot-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 17, 23, 0.96);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 65;
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms ease;
}

#pivot-overlay .overlay-headline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
  color: white;
  text-align: center;
  max-width: 560px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin-bottom: 40px;
}

.compass-symbol {
  width: 64px;
  height: 64px;
  position: relative;
  margin-bottom: 40px;
  transition: transform 800ms cubic-bezier(0.4, 0, 0.2, 1);
}

.compass-symbol svg {
  width: 100%;
  height: 100%;
}

.compass-symbol.rotating {
  transform: rotate(90deg);
  filter: drop-shadow(0 0 20px var(--gold)) drop-shadow(0 0 40px rgba(212, 168, 67, 0.3));
}

.pivot-divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 168, 67, 0.4), transparent);
  margin: 24px auto;
}

/* ═══════════════════════════════════════════════
   GOLD DUST PARTICLES
   ═══════════════════════════════════════════════ */
.gold-dust-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.gold-dust {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(212, 168, 67, 0.15);
  border-radius: 50%;
  animation: dustFloat linear infinite;
}

@keyframes dustFloat {
  0% {
    transform: translateY(100vh) scale(0.3);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-20px) scale(0.8);
    opacity: 0;
  }
}

/* ═══════════════════════════════════════════════
   CTA FORM — Liquid Glass
   ═══════════════════════════════════════════════ */
#cta-form {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(580px, 90vw);
  background: var(--glass-night);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(212, 168, 67, 0.25);
  border-radius: 8px;
  padding: 56px 64px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  z-index: 70;
  opacity: 0;
  pointer-events: none;
  transition: opacity 600ms ease;
}

#cta-form .form-label {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

#cta-form .form-headline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 2.5rem;
  color: white;
  margin-bottom: 8px;
}

#cta-form .form-subline {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
}

.form-divider {
  height: 1px;
  background: rgba(212, 168, 67, 0.2);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  padding: 14px 18px;
  color: white;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  outline: none;
  transition: all 200ms ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='rgba(255,255,255,0.4)' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  cursor: pointer;
}

.form-group select option {
  background: var(--night);
  color: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(212, 168, 67, 0.5);
  box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-submit {
  width: 100%;
  background: var(--gold);
  color: var(--night);
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.04em;
  padding: 18px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(212, 168, 67, 0.35);
  transition: all 200ms ease;
  margin-top: 8px;
}

.form-submit:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}

.form-trust {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  letter-spacing: 0.15em;
  margin-top: 16px;
  text-transform: uppercase;
}

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 0;
}

.form-success.show {
  display: block;
}

.form-success .success-icon {
  font-size: 40px;
  color: var(--gold);
  margin-bottom: 16px;
}

.form-success .success-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: white;
}

.form-fields.hidden {
  display: none;
}

/* ═══════════════════════════════════════════════
   SCROLL PROGRESS INDICATOR
   ═══════════════════════════════════════════════ */
#progress-bar-h {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  z-index: 90;
  opacity: 0;
  transition: opacity 300ms ease;
}

#progress-bar-h .fill {
  height: 100%;
  width: 0%;
  background: var(--gold);
  transition: width 50ms linear;
}

#progress-bar-v {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 120px;
  background: rgba(255, 255, 255, 0.06);
  z-index: 90;
  opacity: 0;
  transition: opacity 300ms ease;
}

#progress-bar-v .fill {
  width: 100%;
  height: 0%;
  background: var(--rose);
  transition: height 50ms linear;
}

/* Scene dots */
.scene-dots {
  position: fixed;
  z-index: 91;
  display: flex;
  gap: 8px;
}

.scene-dots.horizontal {
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  flex-direction: row;
}

.scene-dots.vertical {
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  flex-direction: column;
}

.scene-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  position: relative;
  transition: all 200ms ease;
}

.scene-dot.active {
  width: 6px;
  height: 6px;
  background: var(--gold);
}

.scene-dot .dot-tooltip {
  position: absolute;
  white-space: nowrap;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 300;
  background: rgba(13, 27, 42, 0.9);
  border: 1px solid rgba(212, 168, 67, 0.2);
  padding: 6px 12px;
  border-radius: 3px;
  color: white;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.scene-dots.horizontal .dot-tooltip {
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
}

.scene-dots.vertical .dot-tooltip {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.scene-dot:hover .dot-tooltip {
  opacity: 1;
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
#site-footer {
  position: relative;
  background: var(--night);
  padding: 0 8vw 48px;
  z-index: 80;
  border-top: 2px solid var(--gold);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 80px 0 48px;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-brand .footer-logo {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
}

.footer-brand .footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: white;
  margin-top: 8px;
}

.footer-cta-block .footer-prompt {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: white;
  margin-bottom: 16px;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 48px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.footer-col-header {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 150ms ease;
}

.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom span {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ═══════════════════════════════════════════════
   NEON MOUSE CURSOR
   ═══════════════════════════════════════════════ */
#maison-cursor {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: opacity 300ms ease;
}

.neon-mouse {
  position: relative;
  width: 40px;
  color: var(--gold);
  filter: drop-shadow(0 0 6px currentColor) drop-shadow(0 0 12px currentColor);
  transition: color 500ms ease, filter 400ms ease;
}

/* Phase colors */
#maison-cursor[data-phase="horizontal"] .neon-mouse {
  color: #D4A843;
}

#maison-cursor[data-phase="vertical"] .neon-mouse {
  color: #E8836A;
}

#maison-cursor[data-phase="pivot"] .neon-mouse {
  color: #FFFFFF;
}

#maison-cursor[data-phase="cta"] .neon-mouse {
  color: #D4A843;
}

.mouse-body {
  width: 40px;
  height: 64px;
  display: block;
}

.mouse-outline {
  transition: stroke-width 200ms ease;
}

/* Scroll wheel dots */
.wheel-dot {
  opacity: 0.5;
  transition: opacity 150ms ease;
}

.dot-1 {
  opacity: 0.3;
}

.dot-2 {
  opacity: 0.7;
}

.dot-3 {
  opacity: 0.4;
}

@keyframes wheelScroll {
  0% {
    opacity: 0.2;
    transform: translateY(-3px);
  }

  50% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0.2;
    transform: translateY(3px);
  }
}

/* Directional Chevron */
.chevron-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2px;
  opacity: 0;
  transition: opacity 300ms ease, transform 300ms ease;
  transform-origin: center;
}

.chevron-arrow {
  width: 18px;
  height: 10px;
  display: block;
  color: inherit;
}

.chevron-2 {
  margin-top: -4px;
  opacity: 0.4;
}

/* Speed trail lines */
.speed-trails {
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  opacity: 0;
  transition: opacity 200ms ease;
}

.speed-line {
  width: 2px;
  height: 10px;
  background: currentColor;
  border-radius: 1px;
  opacity: 0.5;
}

.sl-1 {
  height: 6px;
  opacity: 0.3;
}

.sl-2 {
  height: 12px;
  opacity: 0.6;
}

.sl-3 {
  height: 6px;
  opacity: 0.3;
}

@keyframes speedPulse {
  0% {
    height: 4px;
    opacity: 0.2;
  }

  50% {
    height: 14px;
    opacity: 0.7;
  }

  100% {
    height: 4px;
    opacity: 0.2;
  }
}

/* Neon aura glow */
.neon-aura {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 80px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, currentColor 0%, transparent 70%);
  opacity: 0.08;
  pointer-events: none;
  transition: opacity 300ms ease;
  animation: auraPulse 2.5s ease-in-out infinite;
  color: inherit;
}

@keyframes auraPulse {

  0%,
  100% {
    opacity: 0.06;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 0.14;
    transform: translate(-50%, -50%) scale(1.15);
  }
}

/* ─── SCROLL ACTIVE STATE ─────────────────────── */
#maison-cursor.scrolling .chevron-container {
  opacity: 1;
}

#maison-cursor.scrolling .speed-trails {
  opacity: 1;
}

#maison-cursor.scrolling .speed-line {
  animation: speedPulse 300ms ease infinite;
}

#maison-cursor.scrolling .sl-1 {
  animation-delay: 0ms;
}

#maison-cursor.scrolling .sl-2 {
  animation-delay: 80ms;
}

#maison-cursor.scrolling .sl-3 {
  animation-delay: 160ms;
}

#maison-cursor.scrolling .neon-mouse {
  filter:
    drop-shadow(0 0 8px currentColor) drop-shadow(0 0 18px currentColor) drop-shadow(0 0 35px currentColor);
}

#maison-cursor.scrolling .neon-aura {
  opacity: 0.2;
}

#maison-cursor.scrolling .mouse-outline {
  stroke-width: 2.5;
}

#maison-cursor.scrolling .wheel-dot {
  animation: wheelScroll 300ms ease infinite;
}

#maison-cursor.scrolling .dot-1 {
  animation-delay: 0ms;
}

#maison-cursor.scrolling .dot-2 {
  animation-delay: 100ms;
}

#maison-cursor.scrolling .dot-3 {
  animation-delay: 200ms;
}

/* Pulsating chevron while scrolling */
@keyframes chevronBounce {

  0%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }

  50% {
    transform: translateY(3px);
    opacity: 1;
  }
}

#maison-cursor.scrolling .chevron-arrow {
  animation: chevronBounce 400ms ease infinite;
}

#maison-cursor.scrolling .chevron-2 {
  animation-delay: 120ms;
}

/* ─── HOVER STATE ─────────────────────────────── */
#maison-cursor.hovering {
  opacity: 0.3 !important;
}

#maison-cursor.hovering .neon-mouse {
  filter: drop-shadow(0 0 4px currentColor);
}

/* ─── PIVOT SPIN ──────────────────────────────── */
#maison-cursor.pivot-spin .neon-mouse {
  animation: pivotSpin 800ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes pivotSpin {
  0% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(90deg) scale(1.2);
    filter: drop-shadow(0 0 16px #fff) drop-shadow(0 0 32px #fff);
  }

  100% {
    transform: rotate(0deg) scale(1);
  }
}

/* ─── CTA HEARTBEAT ───────────────────────────── */
#maison-cursor[data-phase="cta"] .neon-mouse {
  animation: neonHeartbeat 1.5s ease-in-out infinite;
}

@keyframes neonHeartbeat {

  0%,
  100% {
    filter: drop-shadow(0 0 6px currentColor) drop-shadow(0 0 12px currentColor);
    transform: scale(1);
  }

  15% {
    filter: drop-shadow(0 0 12px currentColor) drop-shadow(0 0 24px currentColor);
    transform: scale(1.1);
  }

  30% {
    filter: drop-shadow(0 0 8px currentColor) drop-shadow(0 0 16px currentColor);
    transform: scale(1.02);
  }

  45% {
    filter: drop-shadow(0 0 10px currentColor) drop-shadow(0 0 20px currentColor);
    transform: scale(1.08);
  }
}

/* ─── SPEED TRAIL ELEMENTS (spawned by JS) ────── */
.neon-speed-trail {
  position: fixed;
  pointer-events: none;
  z-index: 9996;
  opacity: 0.7;
  filter: drop-shadow(0 0 4px currentColor);
  animation: speedTrailFade 500ms ease forwards;
  transform: translateX(-50%);
}

@keyframes speedTrailFade {
  0% {
    opacity: 0.8;
    transform: translateX(-50%) scale(1);
  }

  50% {
    opacity: 0.3;
  }

  100% {
    opacity: 0;
    transform: translateX(-50%) scale(0.3) translateY(-10px);
  }
}

#maison-cursor {
  position: fixed;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 300ms ease, height 300ms ease;
}

.cursor-core {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: rgba(10, 10, 20, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.cursor-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cursor-glow {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  animation: cursorPulse 2.5s ease-in-out infinite;
}

.cursor-arrows {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: white;
  letter-spacing: 0;
  transition: opacity 300ms ease;
}

.arrow-left {
  position: absolute;
  left: 4px;
  transition: opacity 200ms ease;
}

.arrow-right {
  position: absolute;
  right: 4px;
  transition: opacity 200ms ease;
}

.arrow-up {
  position: absolute;
  top: 4px;
  transition: opacity 200ms ease;
}

.arrow-down {
  position: absolute;
  bottom: 4px;
  transition: opacity 200ms ease;
}

@keyframes cursorPulse {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

@keyframes cursorHeartbeat {

  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }

  15% {
    opacity: 1;
    transform: scale(1.2);
  }

  30% {
    opacity: 0.7;
    transform: scale(1.05);
  }

  45% {
    opacity: 1;
    transform: scale(1.15);
  }
}

.cursor-trail {
  position: fixed;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  transition: opacity 300ms ease, transform 300ms ease;
}

/* Haptic vibration on scroll */
@keyframes cursorHaptic {
  0% {
    transform: translate(-50%, -50%) translate(0, 0);
  }

  10% {
    transform: translate(-50%, -50%) translate(-1.5px, 1px);
  }

  20% {
    transform: translate(-50%, -50%) translate(1.5px, -0.5px);
  }

  30% {
    transform: translate(-50%, -50%) translate(-1px, -1px);
  }

  40% {
    transform: translate(-50%, -50%) translate(1px, 1.5px);
  }

  50% {
    transform: translate(-50%, -50%) translate(-0.5px, -1.5px);
  }

  60% {
    transform: translate(-50%, -50%) translate(1.5px, 0.5px);
  }

  70% {
    transform: translate(-50%, -50%) translate(-1px, 1px);
  }

  80% {
    transform: translate(-50%, -50%) translate(0.5px, -0.5px);
  }

  90% {
    transform: translate(-50%, -50%) translate(-0.5px, 0.5px);
  }

  100% {
    transform: translate(-50%, -50%) translate(0, 0);
  }
}

#maison-cursor.haptic {
  animation: cursorHaptic 100ms linear infinite;
}

#maison-cursor.haptic .cursor-glow {
  opacity: 1;
  transform: scale(1.4);
  transition: transform 150ms ease, opacity 150ms ease;
}

#maison-cursor.haptic .cursor-ring {
  border-color: rgba(255, 255, 255, 0.4);
}

/* Directional arrow trail */
.arrow-trail {
  position: fixed;
  pointer-events: none;
  z-index: 9996;
  font-size: 16px;
  font-weight: 300;
  color: rgba(212, 168, 67, 0.7);
  text-shadow: 0 0 10px rgba(212, 168, 67, 0.5);
  animation: arrowTrailFade 600ms ease forwards;
}

@keyframes arrowTrailFade {
  0% {
    opacity: 0.9;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
  }

  100% {
    opacity: 0;
    transform: scale(0.2) translateY(-12px);
  }
}

/* ═══════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1199px) {

  #scene-02-copy,
  #scene-03-copy,
  #scene-05-copy,
  #scene-06-copy {
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    bottom: 5vh !important;
    transform: translateX(-50%) !important;
    max-width: 92vw !important;
    width: auto !important;
  }

  #scene-07-copy {
    padding: 40px 48px;
  }

  #maison-cursor {
    width: 40px;
    height: 40px;
  }

  .metrics-row {
    gap: 40px;
  }

  .metric-number {
    font-size: 2.5rem;
  }
}

/* Mobile */
@media (max-width: 767px) {

  #scene-02-copy,
  #scene-03-copy,
  #scene-05-copy,
  #scene-06-copy {
    border-radius: 12px 12px 0 0 !important;
    border-left: none !important;
    padding: 28px !important;
    bottom: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
  }

  #scene-07-copy {
    padding: 32px;
    width: 94vw !important;
  }

  #cta-form {
    padding: 32px 24px;
    width: 96vw;
  }

  #main-nav {
    padding: 16px 4vw;
  }

  .nav-brand {
    font-size: 0.7rem;
  }

  #nav-cta {
    font-size: 0.65rem;
    padding: 8px 16px;
  }

  .metrics-row {
    gap: 24px;
  }

  .metric-number {
    font-size: 2rem;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  #maison-cursor {
    width: 32px;
    height: 32px;
  }

  .cursor-arrows {
    font-size: 9px;
  }
}