:root { --page-bg: #0a0a0a; --page-text: #f5f5f5; }
  html, body { background: var(--page-bg); color: var(--page-text); }
  body { font-family: 'DM Sans', sans-serif; -webkit-font-smoothing: antialiased; }
  h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; }
  * { box-sizing: border-box; }
  img { max-width: 100%; height: auto; }
  /* Reveal-animation safety: never start text from invisible. */
  [data-section-type] { opacity: 1 !important; }

.headline-rule {
  display: block;
  width: 3.5rem;
  height: 1px;
  background: linear-gradient(90deg, #eecc93, transparent);
  margin: 1.25rem auto 1.5rem;
}

.glass-panel {
  background: rgba(26, 26, 46, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(238, 204, 147, 0.18);
  border-radius: 4px;
}

.grain-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

.accent-vignette {
  background: radial-gradient(ellipse at 50% 80%, rgba(238,204,147,0.08) 0%, rgba(14,14,26,0.98) 70%);
}

@keyframes heroKenBurns {
      0%   { transform: scale(1.05) translate3d(0,0,0); }
      100% { transform: scale(1.15) translate3d(-1%, -1.5%, 0); }
    }
    @media (prefers-reduced-motion: reduce) {
      #hero-9mv2 img { animation: none !important; }
    }