/* EstateMotion — landing page design system
 * Dark cinematic, editorial typography, gold accent.
 * Loaded only by /index.html. The app surface uses styles.css.
 */

/* ============================================================
   Tokens
   ============================================================ */
:root {
  /* Surfaces */
  --bg: #08080A;
  --bg-soft: #0E0E12;
  --surface: #15151B;
  --surface-elevated: #1F1F26;
  --surface-glass: rgba(21, 21, 27, 0.72);
  --border: #2A2A33;
  --border-soft: #1A1A22;

  /* Ink */
  --ink: #F8F5EF;
  --ink-soft: #C4C4C8;
  --ink-muted: #7C7C82;
  --ink-dim: #4A4A50;

  /* Brand */
  --gold: #C7A76C;
  --gold-light: #E3BB73;
  --gold-dim: #9C773B;
  --gold-glow: 0 0 80px rgba(199, 167, 108, 0.18);

  /* Status */
  --success: #5BBE9B;
  --danger: #E26B6B;

  /* Type */
  --font-display: "Fraunces", "Times New Roman", "Georgia", serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", "Menlo", monospace;

  /* Type scale (clamp for fluid sizing) */
  --t-xs: 0.75rem;        /* 12px */
  --t-sm: 0.875rem;       /* 14px */
  --t-base: 1rem;         /* 16px */
  --t-md: 1.125rem;       /* 18px */
  --t-lg: 1.25rem;        /* 20px */
  --t-xl: 1.5rem;         /* 24px */
  --t-2xl: 2rem;          /* 32px */
  --t-3xl: clamp(2rem, 4vw, 2.5rem);
  --t-4xl: clamp(2.5rem, 6vw, 3.5rem);
  --t-5xl: clamp(3rem, 8vw, 4.5rem);
  --t-hero: clamp(3rem, 9vw, 6rem);

  /* Space */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.25rem; --s-6: 1.5rem; --s-8: 2rem; --s-10: 2.5rem;
  --s-12: 3rem; --s-16: 4rem; --s-20: 5rem; --s-24: 6rem; --s-32: 8rem;

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 32px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-subtle: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-elevated: 0 24px 60px rgba(0, 0, 0, 0.5), 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-gold: 0 0 40px rgba(199, 167, 108, 0.18), 0 0 120px rgba(199, 167, 108, 0.08);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 180ms;
  --duration-base: 280ms;
  --duration-slow: 600ms;

  /* Layout */
  --max-w: 1200px;
  --max-w-prose: 680px;
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; margin: 0; }
img, picture, svg, video { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ============================================================
   Base
   ============================================================ */
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  /* Subtle radial glow at the top, behind hero */
  background-image:
    radial-gradient(ellipse 60% 40% at 50% -10%, rgba(199, 167, 108, 0.10), transparent 60%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(199, 167, 108, 0.04), transparent 60%);
  background-attachment: fixed;
}

::selection { background: var(--gold); color: var(--bg); }

/* Display type: serif, slight letter-spacing on caps */
.display, h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
}
h1 { font-size: var(--t-hero); font-weight: 400; letter-spacing: -0.035em; }
h2 { font-size: var(--t-4xl); }
h3 { font-size: var(--t-2xl); }

em.accent { font-style: italic; color: var(--gold-light); font-weight: 400; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: var(--s-4);
}

.subhead {
  font-size: var(--t-md);
  color: var(--ink-soft);
  max-width: var(--max-w-prose);
  line-height: 1.55;
}

/* ============================================================
   Layout primitives
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--s-6);
}

@media (min-width: 768px) {
  .container { padding-inline: var(--s-10); }
}

.section {
  padding-block: var(--s-24);
}

@media (max-width: 768px) {
  .section { padding-block: var(--s-16); }
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--s-16);
}

.section-header.left { text-align: left; margin-inline: 0; max-width: var(--max-w-prose); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: var(--s-4) var(--s-6);
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: var(--t-base);
  letter-spacing: -0.01em;
  transition: transform var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dim) 100%);
  color: #1A1208;
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 60px rgba(199, 167, 108, 0.32), 0 8px 28px rgba(0, 0, 0, 0.4); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: rgba(248, 245, 239, 0.06);
  color: var(--ink);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover { background: rgba(248, 245, 239, 0.10); border-color: var(--gold-dim); }

.btn-ghost {
  color: var(--ink-soft);
  padding: var(--s-3) var(--s-5);
}
.btn-ghost:hover { color: var(--ink); }

.btn-sm { padding: var(--s-2) var(--s-4); font-size: var(--t-sm); }
.btn-lg { padding: var(--s-5) var(--s-8); font-size: var(--t-md); }

.btn .arrow { transition: transform var(--duration-fast) var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   Top nav
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px) saturate(160%);
  background: rgba(8, 8, 10, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration-base) var(--ease-out);
}

.nav.scrolled { border-bottom-color: var(--border); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--font-display);
  font-size: var(--t-xl);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 32px; height: 32px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dim));
  display: grid; place-items: center;
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--t-md);
  font-style: italic;
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--s-8);
  font-size: var(--t-sm);
  color: var(--ink-soft);
}
.nav-links a:hover { color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: var(--s-3); }

@media (min-width: 768px) {
  .nav-links { display: flex; }
}

.nav-mobile-toggle {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  color: var(--ink);
}
@media (min-width: 768px) {
  .nav-mobile-toggle { display: none; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding-block: var(--s-20) var(--s-24);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-16);
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: var(--s-12);
  }
}

.hero-headline {
  font-size: var(--t-hero);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.hero-headline em {
  font-style: italic;
  color: var(--gold-light);
  font-weight: 400;
}

.hero-sub {
  margin-top: var(--s-6);
  font-size: var(--t-md);
  color: var(--ink-soft);
  max-width: 540px;
  line-height: 1.55;
}

.hero-ctas {
  margin-top: var(--s-10);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  align-items: center;
}

.hero-meta {
  margin-top: var(--s-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-6);
  font-size: var(--t-sm);
  color: var(--ink-muted);
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: var(--s-2);
}

.hero-meta-item .dot {
  width: 6px; height: 6px;
  border-radius: var(--r-full);
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}

/* Phone frame visual */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  perspective: 1400px;
}

.phone {
  position: relative;
  width: min(100%, 320px);
  aspect-ratio: 9 / 19.5;
  background: linear-gradient(180deg, #0F0F14, #050507);
  border-radius: 44px;
  border: 1.5px solid var(--border);
  box-shadow:
    var(--shadow-elevated),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 60px rgba(199, 167, 108, 0.12);
  padding: 9px;
  transform: rotateY(-8deg) rotateX(2deg);
  transition: transform var(--duration-slow) var(--ease-out);
}
.hero-visual:hover .phone { transform: rotateY(-3deg) rotateX(0); }

.phone-screen {
  width: 100%; height: 100%;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  background: var(--bg-soft);
}

.phone-notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 28px;
  background: #000;
  border-radius: 14px;
  z-index: 10;
}

.reel {
  position: relative;
  width: 100%; height: 100%;
}

.reel-scene {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: reel-cycle 20s infinite;
}

.reel-scene::after {
  /* Subtle gradient wash to read as cinematic color grading */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.6) 100%);
}

/* Five scenes, staggered cycle. Each scene visible for 4s, fade-in 0.5s, hold, then crossfade. */
.reel-scene:nth-child(1) { animation-delay: 0s; }
.reel-scene:nth-child(2) { animation-delay: 4s; }
.reel-scene:nth-child(3) { animation-delay: 8s; }
.reel-scene:nth-child(4) { animation-delay: 12s; }
.reel-scene:nth-child(5) { animation-delay: 16s; }

@keyframes reel-cycle {
  0%   { opacity: 0; transform: scale(1.0); }
  3%   { opacity: 1; }
  20%  { opacity: 1; transform: scale(1.10); }
  23%  { opacity: 0; transform: scale(1.12); }
  100% { opacity: 0; }
}

.reel-overlay {
  position: absolute;
  left: 16px; right: 16px;
  bottom: 80px;
  z-index: 5;
  font-family: var(--font-display);
  color: var(--ink);
  font-size: var(--t-md);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  opacity: 0;
  animation: overlay-fade 20s infinite;
}
.reel-overlay.line-2 { bottom: 56px; font-size: var(--t-sm); color: var(--gold-light); animation-delay: 0.4s; }

@keyframes overlay-fade {
  0%, 80% { opacity: 0; transform: translateY(8px); }
  10%, 70% { opacity: 1; transform: translateY(0); }
}

.reel-progress {
  position: absolute;
  left: 16px; right: 16px;
  bottom: 16px;
  height: 3px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: var(--r-full);
  overflow: hidden;
  z-index: 6;
}
.reel-progress::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: var(--gold);
  width: 0%;
  animation: progress 20s linear infinite;
}
@keyframes progress { 0% { width: 0%; } 100% { width: 100%; } }

/* Glow behind phone */
.hero-glow {
  position: absolute;
  inset: 10% -10% -10% -10%;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(199, 167, 108, 0.20), transparent 65%);
  z-index: -1;
  filter: blur(20px);
  animation: glow-pulse 6s ease-in-out infinite;
}
@keyframes glow-pulse { 0%,100% { opacity: 0.7; } 50% { opacity: 1; } }

/* ============================================================
   Trust strip
   ============================================================ */
.trust {
  padding-block: var(--s-12);
  border-block: 1px solid var(--border-soft);
  background: var(--bg-soft);
}
.trust-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
  margin-bottom: var(--s-6);
}
.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-12);
  opacity: 0.7;
}
.trust-logo {
  font-family: var(--font-display);
  font-size: var(--t-md);
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
  font-style: italic;
}

/* ============================================================
   Comparison: Slideshow vs EstateMotion
   ============================================================ */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
  margin-top: var(--s-12);
  justify-items: center;
  max-width: 1100px;
  margin-inline: auto;
}
@media (min-width: 768px) {
  .comparison-grid { grid-template-columns: 1fr 1fr; gap: var(--s-10); }
}

.compare-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--s-8) var(--s-6) 0;
}
.compare-card.winner {
  border-color: var(--gold-dim);
  box-shadow: var(--shadow-gold);
}

/* Phone-frame for the comparison panels — same scale as hero phone so the
   abstract scene gradients read as intentional, not as oversized blobs. */
.compare-frame {
  position: relative;
  width: min(100%, 280px);
  aspect-ratio: 9 / 19.5;
  background: linear-gradient(180deg, #0F0F14, #050507);
  border-radius: 36px;
  border: 1.5px solid var(--border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  padding: 7px;
  overflow: hidden;
  margin-inline: auto;
}

.compare-card.winner .compare-frame {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 60px rgba(199, 167, 108, 0.18);
}

/* Inner screen of the phone */
.compare-frame::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 30px;
  background: var(--bg-soft);
  z-index: 0;
}
/* Phone notch */
.compare-frame > .compare-tag {
  /* tag is repurposed as the notch placement; keep it visible */
  z-index: 6;
}

/* Phone tag — small pill at top of phone screen, NOT outside */
.compare-tag {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 8;
  padding: 4px 10px;
  border-radius: var(--r-full);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink);
  font-weight: 500;
}
.compare-card.winner .compare-tag {
  background: linear-gradient(135deg, var(--gold-light), var(--dark-gold));
  color: #1A1208;
  font-weight: 700;
}

.compare-info {
  padding: var(--s-8) 0 var(--s-8);
  text-align: center;
  max-width: 360px;
}
.compare-info h4 {
  font-family: var(--font-display);
  font-size: var(--t-xl);
  font-weight: 500;
  margin-bottom: var(--s-3);
  letter-spacing: -0.02em;
}
.compare-info p {
  color: var(--ink-soft);
  font-size: var(--t-sm);
  line-height: 1.6;
}

/* Slideshow demo: plain crossfade pan */
.slideshow-scene {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  animation: slideshow-cycle 12s infinite;
}
.slideshow-scene:nth-child(1) { animation-delay: 0s; }
.slideshow-scene:nth-child(2) { animation-delay: 4s; }
.slideshow-scene:nth-child(3) { animation-delay: 8s; }
@keyframes slideshow-cycle {
  0% { opacity: 0; }
  4%, 30% { opacity: 1; }
  34%, 100% { opacity: 0; }
}

/* EstateMotion demo: parallax push + dynamic crop + light leak */
.estate-scene {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  animation: estate-cycle 12s infinite;
}
.estate-scene:nth-child(1) { animation-delay: 0s; }
.estate-scene:nth-child(2) { animation-delay: 4s; }
.estate-scene:nth-child(3) { animation-delay: 8s; }
@keyframes estate-cycle {
  0%   { opacity: 0; transform: scale(1.02); filter: brightness(0.9) saturate(1.1); }
  3%   { opacity: 1; }
  30%  { opacity: 1; transform: scale(1.18) translateX(-2%); filter: brightness(1.05) saturate(1.2); }
  33%  { opacity: 0; transform: scale(1.20) translateX(-3%); filter: brightness(1.2) saturate(1.3); }
  100% { opacity: 0; }
}

/* Light-leak overlay on EstateMotion side */
.compare-card.winner .compare-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 50%, rgba(199, 167, 108, 0.16) 60%, transparent 70%);
  animation: light-leak 12s infinite;
  mix-blend-mode: screen;
  pointer-events: none;
}
@keyframes light-leak {
  0%, 30%, 60%, 100% { opacity: 0; transform: translateX(-100%); }
  33% { opacity: 1; transform: translateX(0); }
  35% { opacity: 0; transform: translateX(20%); }
}

/* ============================================================
   How it works
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
  counter-reset: step;
}
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

.step {
  position: relative;
  padding: var(--s-8);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out);
}
.step:hover {
  transform: translateY(-4px);
  border-color: var(--gold-dim);
}

.step-num {
  font-family: var(--font-mono);
  font-size: var(--t-sm);
  color: var(--gold);
  margin-bottom: var(--s-6);
  letter-spacing: 0.1em;
}

.step h4 {
  font-family: var(--font-display);
  font-size: var(--t-xl);
  font-weight: 500;
  margin-bottom: var(--s-3);
  letter-spacing: -0.02em;
}

.step p { color: var(--ink-soft); font-size: var(--t-sm); line-height: 1.6; }

/* ============================================================
   Style gallery
   ============================================================ */
.styles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
  margin-top: var(--s-12);
}
@media (min-width: 768px) {
  .styles-grid { grid-template-columns: repeat(4, 1fr); gap: var(--s-6); }
}

.style-card {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 9 / 14;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform var(--duration-base) var(--ease-out);
  cursor: pointer;
}
.style-card:hover { transform: translateY(-4px) scale(1.02); }

.style-card-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.85) saturate(1.1);
  transition: transform var(--duration-slow) var(--ease-out), filter var(--duration-base) var(--ease-out);
}
.style-card:hover .style-card-img { transform: scale(1.08); filter: brightness(1) saturate(1.2); }

.style-card-info {
  position: absolute; inset: 0;
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.85) 100%);
}

.style-card-name {
  font-family: var(--font-display);
  font-size: var(--t-lg);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.style-card-best { font-size: var(--t-xs); color: var(--gold-light); margin-top: var(--s-1); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; }

/* ============================================================
   Pricing
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  margin-top: var(--s-12);
}
@media (min-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); align-items: stretch; }
}

.tier {
  position: relative;
  padding: var(--s-8);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.tier.featured {
  background: linear-gradient(180deg, rgba(199, 167, 108, 0.08), var(--surface) 50%);
  border-color: var(--gold-dim);
  box-shadow: var(--shadow-gold);
  transform: translateY(-8px);
}
@media (max-width: 1023px) {
  .tier.featured { transform: none; }
}

.tier-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: var(--s-1) var(--s-4);
  background: var(--gold);
  color: var(--bg);
  border-radius: var(--r-full);
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.tier-name {
  font-family: var(--font-display);
  font-size: var(--t-xl);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-2);
}

.tier-tagline { color: var(--ink-muted); font-size: var(--t-sm); margin-bottom: var(--s-6); }

.tier-price {
  font-family: var(--font-display);
  font-size: var(--t-5xl);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}
.tier-price .currency { font-size: 0.5em; vertical-align: top; margin-right: 2px; color: var(--ink-soft); }
.tier-price .period { font-size: 0.28em; color: var(--ink-muted); margin-left: 4px; font-family: var(--font-body); font-weight: 400; }

.tier-features {
  margin: var(--s-8) 0;
  padding: 0;
  list-style: none;
  flex: 1;
  border-top: 1px solid var(--border);
  padding-top: var(--s-6);
}
.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-2) 0;
  font-size: var(--t-sm);
  color: var(--ink-soft);
}
.tier-features li::before {
  content: "";
  flex-shrink: 0;
  width: 16px; height: 16px;
  margin-top: 3px;
  border-radius: var(--r-full);
  background: var(--gold);
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none"><path d="M4 8.5l2.5 2.5 5.5-6" stroke="%2308080A" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-size: 100%;
}

.tier .btn { width: 100%; margin-top: auto; }

.tier-fineprint {
  text-align: center;
  font-size: var(--t-sm);
  color: var(--ink-muted);
  margin-top: var(--s-10);
}

/* ============================================================
   Testimonials
   ============================================================ */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  margin-top: var(--s-12);
}
@media (min-width: 768px) {
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial {
  padding: var(--s-8);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: var(--t-lg);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: var(--s-6);
}
.testimonial-quote::before { content: "\201C"; color: var(--gold); margin-right: 4px; }
.testimonial-quote::after { content: "\201D"; color: var(--gold); margin-left: 2px; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dim));
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--bg);
  font-size: var(--t-md);
}

.testimonial-meta { font-size: var(--t-sm); }
.testimonial-name { color: var(--ink); font-weight: 500; }
.testimonial-role { color: var(--ink-muted); }

.stars {
  display: flex;
  gap: 2px;
  color: var(--gold);
  margin-bottom: var(--s-3);
  font-size: var(--t-sm);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  max-width: 760px;
  margin: var(--s-12) auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--s-6) 0;
  font-family: var(--font-display);
  font-size: var(--t-lg);
  font-weight: 500;
  letter-spacing: -0.015em;
  text-align: left;
  color: var(--ink);
  transition: color var(--duration-fast) var(--ease-out);
}
.faq-question:hover { color: var(--gold-light); }

.faq-toggle {
  width: 28px; height: 28px;
  border-radius: var(--r-full);
  background: rgba(248, 245, 239, 0.06);
  display: grid; place-items: center;
  flex-shrink: 0;
  margin-left: var(--s-4);
  transition: background var(--duration-fast) var(--ease-out), transform var(--duration-base) var(--ease-out);
}
.faq-item[data-open="true"] .faq-toggle {
  background: var(--gold);
  color: var(--bg);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: var(--t-base);
  line-height: 1.6;
  transition: max-height var(--duration-base) var(--ease-out), padding var(--duration-base) var(--ease-out);
}
.faq-item[data-open="true"] .faq-answer {
  max-height: 400px;
  padding-bottom: var(--s-6);
}

/* ============================================================
   Final CTA
   ============================================================ */
.final-cta {
  text-align: center;
  padding-block: var(--s-32);
  position: relative;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 20% 0 20% 0;
  background: radial-gradient(ellipse 50% 70% at 50% 50%, rgba(199, 167, 108, 0.16), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.final-cta h2 {
  font-size: var(--t-5xl);
  margin: 0 auto var(--s-6);
  max-width: 760px;
}

.final-cta .subhead {
  margin: 0 auto var(--s-10);
  text-align: center;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  padding-block: var(--s-16) var(--s-12);
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-10);
}
@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-brand p {
  margin-top: var(--s-4);
  color: var(--ink-muted);
  font-size: var(--t-sm);
  max-width: 320px;
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-muted);
  margin-bottom: var(--s-4);
  font-weight: 500;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: var(--s-2) 0; }
.footer-col a {
  color: var(--ink-soft);
  font-size: var(--t-sm);
  transition: color var(--duration-fast) var(--ease-out);
}
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  margin-top: var(--s-12);
  padding-top: var(--s-6);
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-4);
  color: var(--ink-muted);
  font-size: var(--t-xs);
}

/* ============================================================
   Scroll-reveal animations
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   ABSTRACT CINEMATIC SCENES (no stock photos)
   ============================================================
   The hero phone reel, comparison demo, and style gallery use
   per-scene gradient compositions + film-grain SVG noise + HUD
   labels in serif/mono. The gradients are tuned to evoke each
   room's lighting mood without resembling any specific home.
   ============================================================ */

/* Per-scene gradient palettes — used by both .reel-scene and
   .slideshow-scene/.estate-scene via shared class names */

.scene-curb {
  background:
    radial-gradient(ellipse 70% 60% at 70% 35%, rgba(243, 196, 110, 0.35), transparent 60%),
    radial-gradient(ellipse 80% 50% at 30% 90%, rgba(110, 60, 24, 0.5), transparent 70%),
    linear-gradient(160deg, #1A0F08 0%, #3D2010 45%, #6B3E1A 90%) !important;
}
.scene-kitchen {
  background:
    radial-gradient(ellipse 60% 50% at 50% 85%, rgba(255, 200, 130, 0.45), transparent 60%),
    radial-gradient(ellipse 70% 60% at 20% 30%, rgba(74, 40, 24, 0.6), transparent 70%),
    linear-gradient(180deg, #1F1410 0%, #4A2818 50%, #7A4F2A 100%) !important;
}
.scene-living {
  background:
    radial-gradient(ellipse 70% 60% at 30% 70%, rgba(199, 167, 108, 0.40), transparent 65%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(54, 50, 80, 0.5), transparent 70%),
    linear-gradient(135deg, #14141E 0%, #1F1F2A 50%, #4A4030 100%) !important;
}
.scene-suite {
  background:
    radial-gradient(ellipse 70% 50% at 80% 40%, rgba(243, 196, 110, 0.35), transparent 60%),
    radial-gradient(ellipse 60% 60% at 20% 80%, rgba(74, 28, 28, 0.55), transparent 70%),
    linear-gradient(150deg, #1A1010 0%, #2F1818 45%, #6B3F2A 100%) !important;
}
.scene-bath {
  background:
    radial-gradient(ellipse 60% 50% at 50% 25%, rgba(199, 167, 108, 0.30), transparent 65%),
    radial-gradient(ellipse 70% 70% at 50% 90%, rgba(31, 35, 45, 0.6), transparent 75%),
    linear-gradient(180deg, #14161B 0%, #2A2D38 50%, #4A4030 100%) !important;
}

/* Cinematic vignette + bottom-darken on every scene */
.reel-scene::after,
.slideshow-scene::after,
.estate-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 80% at 50% 50%, transparent 50%, rgba(0, 0, 0, 0.45) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Film-grain noise (SVG) overlay — adds the cinematic "real footage" feel */
.scene-grain,
.style-card-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.18;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.95  0 0 0 0 0.92  0 0 0 0 0.85  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}

/* HUD labels inside hero phone scene */
.scene-hud-tl, .scene-hud-tr, .scene-hud-br {
  position: absolute;
  z-index: 4;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  font-weight: 500;
  color: var(--gold-light);
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
.scene-hud-tl { top: 44px; left: 14px; }
.scene-hud-tr { top: 44px; right: 14px; opacity: 0.75; color: var(--ink); }
.scene-hud-br { bottom: 38px; right: 14px; opacity: 0.65; color: var(--ink); }

.scene-room {
  position: absolute;
  z-index: 4;
  left: 18px; right: 18px;
  bottom: 60px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
}

/* Listing tag pinned to bottom of phone, fades but stays for the whole loop */
.reel-listing-tag {
  position: absolute;
  z-index: 5;
  left: 18px; right: 18px;
  bottom: 22px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.7;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

/* ============================================================
   Comparison demo HUD
   ============================================================ */
.compare-label {
  position: absolute;
  z-index: 4;
  left: 14px; right: 14px;
  bottom: 38px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.7);
}
.compare-motion {
  position: absolute;
  z-index: 4;
  left: 14px;
  bottom: 18px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: var(--gold-light);
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
.compare-watermark {
  display: none; /* Replaced by phone-style compare-tag at top of frame */
}

/* Force scenes to clip to phone screen rounded inner shape */
.compare-frame .slideshow-scene,
.compare-frame .estate-scene {
  border-radius: 30px;
  overflow: hidden;
}

/* Add subtle line-art architectural hints to the abstract scenes — gives
   the eye something to read as "room" without claiming a specific home. */
.scene-curb::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 178' preserveAspectRatio='none'><g fill='none' stroke='rgba(248,245,239,0.10)' stroke-width='0.4'><rect x='15' y='90' width='70' height='60'/><rect x='25' y='100' width='20' height='35'/><rect x='55' y='100' width='20' height='35'/><line x1='0' y1='150' x2='100' y2='150'/></g></svg>");
  background-size: 100% 100%;
}
.scene-kitchen::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 178' preserveAspectRatio='none'><g fill='none' stroke='rgba(248,245,239,0.10)' stroke-width='0.4'><line x1='0' y1='110' x2='100' y2='110'/><line x1='0' y1='112' x2='100' y2='112'/><rect x='25' y='112' width='50' height='30'/><line x1='30' y1='80' x2='30' y2='110'/><line x1='70' y1='80' x2='70' y2='110'/></g></svg>");
  background-size: 100% 100%;
}
.scene-living::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 178' preserveAspectRatio='none'><g fill='none' stroke='rgba(248,245,239,0.10)' stroke-width='0.4'><rect x='10' y='40' width='80' height='90'/><line x1='10' y1='130' x2='90' y2='130'/><rect x='30' y='100' width='40' height='30'/></g></svg>");
  background-size: 100% 100%;
}
.scene-suite::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 178' preserveAspectRatio='none'><g fill='none' stroke='rgba(248,245,239,0.10)' stroke-width='0.4'><rect x='25' y='80' width='50' height='40'/><line x1='10' y1='130' x2='90' y2='130'/><rect x='15' y='30' width='25' height='40'/></g></svg>");
  background-size: 100% 100%;
}
.scene-bath::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 178' preserveAspectRatio='none'><g fill='none' stroke='rgba(248,245,239,0.10)' stroke-width='0.4'><rect x='20' y='100' width='60' height='30' rx='4'/><rect x='30' y='40' width='40' height='40'/><line x1='30' y1='80' x2='70' y2='80'/></g></svg>");
  background-size: 100% 100%;
}

/* ============================================================
   Style gallery cards — abstract gradient art per style
   ============================================================ */
.style-card-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transition: transform var(--duration-slow) var(--ease-out);
}
.style-card:hover .style-card-art { transform: scale(1.06); }

.style-card-art::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, transparent 50%, rgba(0,0,0,0.4) 100%),
    linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
}

.style-card-mark {
  position: absolute;
  z-index: 3;
  top: 14px; left: 14px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.7;
  text-transform: uppercase;
}
.style-card-pace {
  position: absolute;
  z-index: 3;
  top: 14px; right: 14px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  font-weight: 500;
  color: var(--gold-light);
  text-transform: uppercase;
}

/* Per-style gradient signatures (warm-luxury, modern-pop, neutral-clean, deal-direct) */
.style-art-luxury {
  background:
    radial-gradient(ellipse 70% 60% at 70% 30%, rgba(243, 196, 110, 0.55), transparent 60%),
    radial-gradient(ellipse 80% 50% at 20% 90%, rgba(155, 80, 30, 0.6), transparent 70%),
    linear-gradient(160deg, #1F1208 0%, #4A2810 50%, #8B5A2B 100%);
}
.style-art-social {
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(255, 100, 180, 0.45), transparent 60%),
    radial-gradient(ellipse 70% 60% at 20% 80%, rgba(80, 200, 220, 0.40), transparent 65%),
    linear-gradient(135deg, #1A0E2A 0%, #3A1A3A 50%, #2A4060 100%);
}
.style-art-mls {
  background:
    radial-gradient(ellipse 70% 50% at 50% 30%, rgba(180, 200, 220, 0.30), transparent 65%),
    radial-gradient(ellipse 60% 60% at 50% 90%, rgba(70, 80, 100, 0.50), transparent 75%),
    linear-gradient(180deg, #14181F 0%, #20262E 50%, #353D48 100%);
}
.style-art-investor {
  background:
    radial-gradient(ellipse 70% 50% at 30% 30%, rgba(199, 167, 108, 0.40), transparent 65%),
    radial-gradient(ellipse 60% 60% at 80% 80%, rgba(60, 95, 70, 0.50), transparent 70%),
    linear-gradient(140deg, #14180F 0%, #20281C 45%, #3A4A2A 100%);
}

/* The .style-card-img selector is no longer used; old rule was a no-op without
   a background-image. Replace its hover-zoom rule with one targeting .style-card-art. */
.style-card:hover .style-card-img { display: none; } /* belt-and-suspenders cleanup */

/* ============================================================
   HERO VIDEO SHOWCASE
   Replaces the abstract phone reel. Drop a 9:16 luxury listing
   MP4 at /showcase/hero-reel.mp4 (or update the <source>
   src to a direct Pexels / Coverr CDN URL).
   ============================================================ */
/* Wide cinematic showcase frame — sized for aerial / horizontal drone footage.
   Replaces the earlier 9:16 phone-frame because horizontal video doesn't
   compose into a vertical phone container without ugly cropping. */
.hero-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-lg);
  border: 1.5px solid var(--border);
  background: linear-gradient(180deg, #0F0F14, #050507);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.55),
    0 8px 24px rgba(0, 0, 0, 0.4),
    0 0 80px rgba(199, 167, 108, 0.12);
  overflow: hidden;
  transition: transform var(--duration-slow) var(--ease-out);
}
.hero-visual:hover .hero-video-frame { transform: translateY(-4px); }

/* Subtle gold inner edge for that "premium creative tool" feel */
.hero-video-frame::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(199, 167, 108, 0.10);
  pointer-events: none;
  z-index: 5;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  background: transparent;
}

/* Fallback shown while video loads or if URL is missing — looks intentional,
   not broken. Lives behind the <video> at z-index 1. */
.hero-video-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(199, 167, 108, 0.30), transparent 65%),
    radial-gradient(ellipse 70% 70% at 50% 100%, rgba(74, 40, 24, 0.55), transparent 70%),
    linear-gradient(180deg, #1F1410 0%, #2F1808 50%, #6B3E1A 100%);
  padding: var(--s-6);
}
.hero-video-fallback p {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--t-md);
  letter-spacing: -0.015em;
  max-width: 240px;
  opacity: 0.8;
}
.hero-video-fallback p code {
  display: inline-block;
  padding: 2px 6px;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(199, 167, 108, 0.3);
  border-radius: 6px;
  color: var(--gold-light);
}
.hero-video-fallback-tag {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--gold-light);
  font-weight: 500;
}

.hero-video-overlay {
  position: absolute;
  z-index: 4;
  left: 18px; right: 18px;
  bottom: 22px;
  pointer-events: none;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}
.hero-video-listing {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero-video-runtime {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--gold-light);
  text-transform: uppercase;
  opacity: 0.85;
}

/* ============================================================
   PROOF METRICS GRID — replaces the comparison demo
   ============================================================ */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5);
  margin-top: var(--s-12);
}
@media (min-width: 900px) {
  .proof-grid { grid-template-columns: repeat(4, 1fr); gap: var(--s-6); }
}

.proof-stat {
  padding: var(--s-8) var(--s-6);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}
.proof-stat:hover {
  transform: translateY(-4px);
  border-color: var(--gold-dim);
  box-shadow: 0 0 40px rgba(199, 167, 108, 0.14);
}

.proof-number {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: var(--s-3);
  white-space: nowrap;
}
.proof-arrow {
  display: inline-block;
  margin: 0 6px;
  color: var(--gold);
  font-style: italic;
  opacity: 0.8;
}

.proof-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: var(--s-2);
}

.proof-note {
  font-size: var(--t-sm);
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ============================================================
   STYLE GALLERY VIDEO CARDS
   Replaces .style-card-art gradient panels with looping videos.
   ============================================================ */
.style-card-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--bg-soft);
}
.style-card-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  transition: transform var(--duration-slow) var(--ease-out);
}
.style-card:hover .style-card-video { transform: scale(1.06); }

/* Per-style fallback gradients (visible while video loads or if missing). */
.style-card-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.style-card:nth-child(1) .style-card-fallback {
  background:
    radial-gradient(ellipse 70% 60% at 70% 30%, rgba(243, 196, 110, 0.55), transparent 60%),
    radial-gradient(ellipse 80% 50% at 20% 90%, rgba(155, 80, 30, 0.6), transparent 70%),
    linear-gradient(160deg, #1F1208 0%, #4A2810 50%, #8B5A2B 100%);
}
.style-card:nth-child(2) .style-card-fallback {
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(255, 100, 180, 0.45), transparent 60%),
    radial-gradient(ellipse 70% 60% at 20% 80%, rgba(80, 200, 220, 0.40), transparent 65%),
    linear-gradient(135deg, #1A0E2A 0%, #3A1A3A 50%, #2A4060 100%);
}
.style-card:nth-child(3) .style-card-fallback {
  background:
    radial-gradient(ellipse 70% 50% at 50% 30%, rgba(180, 200, 220, 0.30), transparent 65%),
    radial-gradient(ellipse 60% 60% at 50% 90%, rgba(70, 80, 100, 0.50), transparent 75%),
    linear-gradient(180deg, #14181F 0%, #20262E 50%, #353D48 100%);
}
.style-card:nth-child(4) .style-card-fallback {
  background:
    radial-gradient(ellipse 70% 50% at 30% 30%, rgba(199, 167, 108, 0.40), transparent 65%),
    radial-gradient(ellipse 60% 60% at 80% 80%, rgba(60, 95, 70, 0.50), transparent 70%),
    linear-gradient(140deg, #14180F 0%, #20281C 45%, #3A4A2A 100%);
}

/* HUD badges — same look across all cards */
.style-card-badges {
  position: absolute;
  top: 12px; left: 12px; right: 12px;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.style-card-badges .style-card-mark,
.style-card-badges .style-card-pace {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  font-weight: 500;
  color: var(--ink);
  text-transform: uppercase;
}
.style-card-badges .style-card-pace { color: var(--gold-light); }

/* ====================================================================
   HERO PREVIEW SLOT — replaces the old hero-video-frame.
   The agent's first impression of EstateMotion's quality. Designed to
   look intentional whether or not /showcase/preview.mp4 exists yet:
   when the file is missing, the placeholder shows; when the video loads,
   it auto-promotes itself by toggling [data-state="playing"] on the wrapper.
   ==================================================================== */
.hero-preview {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(160deg, #0a0a0a 0%, #15110a 70%, #221a0d 100%);
  box-shadow:
    0 30px 90px -20px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(199, 167, 108, 0.18) inset,
    0 0 40px -10px rgba(199, 167, 108, 0.25);
  isolation: isolate;
}

.hero-preview-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 600ms ease-out;
  z-index: 1;
}
.hero-preview[data-state="playing"] .hero-preview-video {
  opacity: 1;
}
.hero-preview[data-state="playing"] .hero-preview-placeholder {
  opacity: 0;
}

/* Decorative placeholder layers */
.hero-preview-placeholder {
  position: absolute;
  inset: 0;
  z-index: 2;
  transition: opacity 600ms ease-out;
  overflow: hidden;
}

.hero-preview-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(199, 167, 108, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199, 167, 108, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero-preview-aurora {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 30% 30%, rgba(199, 167, 108, 0.22), transparent 45%),
    radial-gradient(circle at 70% 70%, rgba(180, 130, 70, 0.16), transparent 50%);
  animation: hero-preview-aurora 14s ease-in-out infinite alternate;
}
@keyframes hero-preview-aurora {
  from { transform: translate(0, 0) scale(1); opacity: 0.8; }
  to   { transform: translate(4%, -3%) scale(1.08); opacity: 1; }
}

.hero-preview-frame-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 1.5px solid rgba(199, 167, 108, 0.55);
}
.hero-preview-frame-corner-tl { top: 16px; left: 16px; border-right: none; border-bottom: none; }
.hero-preview-frame-corner-tr { top: 16px; right: 16px; border-left: none; border-bottom: none; }
.hero-preview-frame-corner-bl { bottom: 16px; left: 16px; border-right: none; border-top: none; }
.hero-preview-frame-corner-br { bottom: 16px; right: 16px; border-left: none; border-top: none; }

.hero-preview-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 32px;
  gap: 14px;
}

.hero-preview-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light, #d8b88a);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(199, 167, 108, 0.08);
  border: 1px solid rgba(199, 167, 108, 0.25);
}

.hero-preview-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold, #c7a76c);
  box-shadow: 0 0 12px var(--gold, #c7a76c);
  animation: hero-preview-pulse 2s ease-in-out infinite;
}
@keyframes hero-preview-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.85); }
}

.hero-preview-title {
  font-family: var(--font-display, Georgia, serif);
  font-size: 38px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: white;
}

.hero-preview-meta {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
}

.hero-preview-overlay {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  padding: 12px 16px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(13, 13, 13, 0.0), rgba(13, 13, 13, 0.85));
  pointer-events: none;
}
.hero-preview-listing {
  font-size: 14px;
  font-weight: 600;
  color: white;
  margin-bottom: 4px;
}
.hero-preview-runtime {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(199, 167, 108, 0.85);
}

@media (max-width: 720px) {
  .hero-preview { max-width: 320px; }
  .hero-preview-title { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-preview-aurora,
  .hero-preview-dot { animation: none; }
}

/* ====================================================================
   STYLE CARD ART PANELS — replaces the old per-card video previews.
   Each style gets its own gradient palette + motion line so the cards
   feel distinct and intentional without leaning on stock footage.
   ==================================================================== */
.style-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.style-card-art {
  display: block; /* override the legacy hide-rule below */
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  isolation: isolate;
}

.style-card-art-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at 50% 60%, black 35%, transparent 80%);
}

.style-card-art-glow {
  position: absolute;
  inset: -25%;
  filter: blur(40px);
}

.style-card-art-line {
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 28%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, currentColor 50%, transparent);
  opacity: 0.5;
}

.style-card:hover .style-card-art-glow { transform: scale(1.08); transition: transform 600ms ease; }

/* Per-style palettes */
.style-card-luxury .style-card-art {
  background: linear-gradient(160deg, #0d0d0d 0%, #1a1408 60%, #2b1f0d 100%);
  color: #c7a76c;
}
.style-card-luxury .style-card-art-glow {
  background: radial-gradient(circle at 30% 20%, rgba(199, 167, 108, 0.4), transparent 55%);
}

.style-card-social .style-card-art {
  background: linear-gradient(160deg, #0a0a14 0%, #1a1024 60%, #2c1640 100%);
  color: #c79bff;
}
.style-card-social .style-card-art-glow {
  background: radial-gradient(circle at 70% 30%, rgba(199, 155, 255, 0.45), transparent 50%);
}

.style-card-mls .style-card-art {
  background: linear-gradient(160deg, #f8f5ef 0%, #ece6d9 70%, #d8cfb9 100%);
  color: #5a4f3a;
}
.style-card-mls .style-card-art-grid {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
}
.style-card-mls .style-card-art-glow {
  background: radial-gradient(circle at 50% 80%, rgba(120, 100, 70, 0.18), transparent 55%);
}

.style-card-investor .style-card-art {
  background: linear-gradient(160deg, #0a1614 0%, #0e2520 60%, #143028 100%);
  color: #6cd4b3;
}
.style-card-investor .style-card-art-glow {
  background: radial-gradient(circle at 30% 70%, rgba(108, 212, 179, 0.35), transparent 55%);
}

.style-card-desc {
  font-size: 12px;
  color: var(--ink-muted, rgba(255, 255, 255, 0.55));
  margin-top: 6px;
  line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
  .style-card:hover .style-card-art-glow { transform: none; }
}
