/* ============================================
   MORRIS LAW FIRM - Cinematic Luxury Experience
   Mobile-First | Zero Blank Pixels | 7-Star
   Ken Burns | Glassmorphism | Parallax
   ============================================ */

/* --- CSS Variables --- */
:root {
  --gold: #B8860B;
  --gold-light: #D4A843;
  --gold-lighter: #F0DCA0;
  --gold-glow: rgba(184, 134, 11, 0.35);
  --champagne: #F7E7CE;
  --cream: #FDF8F0;
  --ivory: #FFFFF0;
  --warm-white: #FEFCF7;
  --pearl: #F5F0EB;
  --linen: #FAF0E6;
  --sand: #F2E6D9;
  --bisque: #F5E1C8;
  --text-dark: #2C1810;
  --text-medium: #5A4A3A;
  --text-light: #8B7D6B;
  --accent-burgundy: #722F37;
  --glass-bg: rgba(255, 252, 247, 0.45);
  --glass-border: rgba(184, 134, 11, 0.18);
  --glass-shadow: 0 8px 32px rgba(44, 24, 16, 0.1);
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --transition-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-luxury: cubic-bezier(0.19, 1, 0.22, 1);

  /* Seamless section bg palette - NO white anywhere */
  --bg-1: linear-gradient(180deg, #F7E7CE 0%, #FDF5E8 100%);
  --bg-2: linear-gradient(180deg, #FDF5E8 0%, #F5E1C8 50%, #FDF5E8 100%);
  --bg-3: linear-gradient(180deg, #FDF5E8 0%, #F7E7CE 100%);
  --bg-4: linear-gradient(135deg, #F2E6D9 0%, #F7E7CE 50%, #FDF5E8 100%);
  --bg-5: linear-gradient(180deg, #F7E7CE 0%, #F2E6D9 50%, #F7E7CE 100%);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--champagne);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: all 0.4s var(--transition-smooth); }

/* --- Typography --- */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 8vw, 5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 5vw, 3.2rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.2rem, 3vw, 2rem); }
h4 { font-size: clamp(1rem, 2vw, 1.4rem); }
p { font-size: clamp(0.95rem, 1.8vw, 1.1rem); color: var(--text-medium); margin-bottom: 1.2em; }

.section-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: inline-block;
  position: relative;
  padding-bottom: 8px;
}
.section-label::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.gold-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.2rem auto;
}

/* ============================================
   LOADING SCREEN - Cinematic Curtain
   ============================================ */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: linear-gradient(135deg, #F7E7CE 0%, #FDF5E8 50%, #F2E6D9 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 1s var(--transition-luxury), visibility 1s;
}
.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loading-logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s var(--transition-luxury) 0.2s forwards;
}
.loading-bar {
  width: 120px;
  height: 2px;
  background: rgba(184, 134, 11, 0.15);
  border-radius: 2px;
  overflow: hidden;
}
.loading-bar-inner {
  width: 0;
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
  animation: loadBar 1.2s var(--transition-luxury) forwards;
}
@keyframes loadBar {
  0% { width: 0; }
  100% { width: 100%; }
}

/* ============================================
   NAVIGATION - Mobile First
   ============================================ */
.mlf-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.5s var(--transition-smooth);
  padding: 0.75rem 0;
}
.mlf-header.scrolled { padding: 0.4rem 0; }
.nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(247, 231, 206, 0.92);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-bottom: 1px solid rgba(184, 134, 11, 0.1);
  opacity: 0;
  transition: opacity 0.5s var(--transition-smooth);
}
.mlf-header.scrolled .nav-backdrop { opacity: 1; }

.nav-container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  transition: transform 0.3s var(--transition-smooth);
}
.nav-logo:hover { transform: scale(1.02); }
.logo-text {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.15em;
}
.logo-sub {
  font-family: var(--font-sans);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  color: var(--gold);
  margin-top: 2px;
}

/* Desktop nav hidden on mobile */
.nav-menu {
  display: none;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dark);
  position: relative;
  padding: 0.5rem 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--transition-luxury);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover { color: var(--gold); }

.nav-cta {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-white);
  background: var(--gold);
  padding: 0.7rem 1.3rem;
  border: 1px solid var(--gold);
  transition: all 0.4s var(--transition-smooth);
}
.nav-cta:hover {
  background: transparent;
  color: var(--gold);
}

.nav-phone {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold);
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  -webkit-tap-highlight-color: transparent;
}
.hamburger-line {
  width: 26px;
  height: 2px;
  background: var(--text-dark);
  transition: all 0.4s var(--transition-smooth);
  transform-origin: center;
  border-radius: 2px;
}
.nav-toggle.active .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(5.5px, 5.5px); }
.nav-toggle.active .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(5.5px, -5.5px); }

/* ============================================
   MOBILE MENU OVERLAY
   ============================================ */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s var(--transition-smooth);
}
.mobile-menu-overlay.active {
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-bg {
  position: absolute;
  inset: 0;
  background: rgba(247, 231, 206, 0.98);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
}
.mobile-menu-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  padding-top: max(1.5rem, env(safe-area-inset-top, 1.5rem));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-shrink: 0;
}
.mobile-logo {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-dark);
}
.mobile-close {
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.3s var(--transition-smooth);
}
.mobile-close:hover, .mobile-close:active {
  border-color: var(--gold);
  background: rgba(184, 134, 11, 0.05);
}
.mobile-close span {
  position: absolute;
  width: 18px;
  height: 1.5px;
  background: var(--text-dark);
}
.mobile-close span:first-child { transform: rotate(45deg); }
.mobile-close span:last-child { transform: rotate(-45deg); }

.mobile-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding: 1rem 0;
}
.mobile-nav-link {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 6vw, 2.2rem);
  font-weight: 700;
  color: var(--text-dark);
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(184, 134, 11, 0.08);
  display: flex;
  align-items: center;
  gap: 1rem;
  transform: translateX(-30px);
  opacity: 0;
  transition: all 0.5s var(--transition-luxury);
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu-overlay.active .mobile-nav-link {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-overlay.active .mobile-nav-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-overlay.active .mobile-nav-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu-overlay.active .mobile-nav-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu-overlay.active .mobile-nav-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu-overlay.active .mobile-nav-link:nth-child(5) { transition-delay: 0.3s; }

.mobile-nav-link::before {
  content: attr(data-index);
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--gold);
  min-width: 2rem;
}
.mobile-nav-link:hover, .mobile-nav-link:active { color: var(--gold); padding-left: 0.5rem; }

.mobile-menu-footer {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(184, 134, 11, 0.12);
  text-align: center;
  flex-shrink: 0;
  padding-bottom: max(1rem, env(safe-area-inset-bottom, 1rem));
}
.mobile-phone {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.mobile-email {
  display: block;
  font-size: 0.85rem;
  color: var(--text-medium);
  margin-bottom: 0.5rem;
}
.mobile-address {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}
.mobile-cta-btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm-white);
  background: var(--gold);
  padding: 1rem 2rem;
  border: 1px solid var(--gold);
  transition: all 0.4s var(--transition-smooth);
  -webkit-tap-highlight-color: transparent;
}
.mobile-cta-btn:hover, .mobile-cta-btn:active {
  background: var(--gold-light);
}

/* ============================================
   HERO - CINEMATIC FULLSCREEN
   Ken Burns zoom + dramatic text reveal
   ============================================ */
.hero-fullscreen {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--champagne);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img, .hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Ken Burns slow zoom on hero image */
.hero-kenburns {
  position: absolute;
  inset: -10%;
  z-index: 0;
  animation: kenBurnsZoom 25s ease-in-out infinite alternate;
}
.hero-kenburns img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
@keyframes kenBurnsZoom {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.12) translate(-1%, -1%); }
}

.video-placeholder-hero {
  position: absolute;
  inset: 0;
}
.video-placeholder-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.25rem;
  padding-top: 5rem;
  max-width: 900px;
}

/* Cinematic text reveal animations */
.hero-content .hero-established {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 1s var(--transition-luxury) 0.3s forwards;
}
.hero-content .hero-established .line-accent {
  width: 30px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.hero-content h1 {
  color: var(--text-dark);
  margin-bottom: 1.2rem;
}

/* Cinematic letter-by-letter reveal */
.cinematic-title {
  overflow: hidden;
}
.cinematic-title .word {
  display: inline-block;
  overflow: hidden;
}
.cinematic-title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  animation: charReveal 0.8s var(--transition-luxury) forwards;
}
@keyframes charReveal {
  0% { opacity: 0; transform: translateY(100%); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero-content .hero-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(0.9rem, 2.2vw, 1.15rem);
  color: var(--text-medium);
  letter-spacing: 0.03em;
  line-height: 1.8;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s var(--transition-luxury) 1.4s forwards;
}
.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.2s var(--transition-luxury) 1.7s forwards;
}

.exclusivity-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.5rem 1rem;
  border: 1px solid rgba(184, 134, 11, 0.2);
  border-radius: 50px;
  background: rgba(247, 231, 206, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.scroll-indicator {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeInUp 1s var(--transition-luxury) 2.2s forwards;
}
.scroll-indicator span {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-light);
}
.scroll-line {
  width: 1px;
  height: 35px;
  background: var(--gold-lighter);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* ============================================
   BUTTONS - Magnetic hover effect
   ============================================ */
.btn-primary {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm-white);
  background: var(--gold);
  padding: 0.9rem 2rem;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: all 0.5s var(--transition-smooth);
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.7s var(--transition-smooth);
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(184, 134, 11, 0.35);
}

.btn-outline {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: transparent;
  padding: 0.9rem 2rem;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: all 0.5s var(--transition-smooth);
  -webkit-tap-highlight-color: transparent;
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--warm-white);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(184, 134, 11, 0.25);
}

/* ============================================
   GLASS CARDS - with rollover tilt
   ============================================ */
.glass-card {
  background: rgba(253, 248, 240, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(184, 134, 11, 0.12);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  box-shadow: 0 8px 32px rgba(44, 24, 16, 0.06);
  transition: all 0.5s var(--transition-smooth);
  position: relative;
  overflow: hidden;
  will-change: transform;
}
.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  opacity: 0;
  transition: opacity 0.5s var(--transition-smooth);
}
.glass-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(184,134,11,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.glass-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 60px rgba(44, 24, 16, 0.12);
  border-color: var(--gold-light);
}
.glass-card:hover::before { opacity: 1; }
.glass-card:hover::after { opacity: 1; }

.glass-card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 14px;
  margin-bottom: 1.5rem;
  color: white;
  box-shadow: 0 4px 15px rgba(184, 134, 11, 0.25);
}

.glass-card h3 {
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}
.glass-card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   SECTIONS - Zero blank pixels
   Every section has rich background
   ============================================ */
.section-padded {
  padding: 5rem 1.25rem;
  position: relative;
}

/* Seamless section transition overlays */
.section-padded::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, rgba(247,231,206,0.3), transparent);
  pointer-events: none;
  z-index: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
  position: relative;
  z-index: 2;
}
.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ============================================
   ATTORNEY PORTRAIT - Never cut off
   ============================================ */
.attorney-portrait-wrapper {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 3 / 4;
  max-height: 550px;
  box-shadow: 0 20px 60px rgba(44, 24, 16, 0.15);
}
.attorney-portrait-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 20px;
  transition: transform 6s var(--transition-smooth);
}
.attorney-portrait-wrapper:hover img {
  transform: scale(1.05);
}
/* Gold accent frame */
.attorney-portrait-wrapper::after {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(184, 134, 11, 0.2);
  border-radius: 16px;
  pointer-events: none;
  transition: border-color 0.5s;
}
.attorney-portrait-wrapper:hover::after {
  border-color: rgba(184, 134, 11, 0.4);
}

/* ============================================
   TWO COLUMN LAYOUT
   ============================================ */
.two-col {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
}

/* ============================================
   PARALLAX IMAGE SECTIONS
   ============================================ */
.parallax-section {
  position: relative;
  min-height: 50vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--champagne);
}
.parallax-bg {
  position: absolute;
  inset: -30%;
  z-index: 0;
}
.parallax-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.parallax-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.parallax-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem 1.25rem;
}

/* ============================================
   IMAGE DISSOLVE SCROLLER
   ============================================ */
.image-scroller {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 350px;
  overflow: hidden;
  background: var(--champagne);
}
.image-scroller-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}
.image-scroller-slide.active { opacity: 1; }
.image-scroller-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.scroller-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(247,231,206,0.9) 0%,
    rgba(247,231,206,0.2) 25%,
    transparent 50%,
    rgba(247,231,206,0.2) 75%,
    rgba(247,231,206,0.9) 100%
  );
}
.scroller-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 0.6rem;
}
.scroller-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(184, 134, 11, 0.2);
  border: 1.5px solid var(--gold);
  cursor: pointer;
  transition: all 0.4s var(--transition-smooth);
  -webkit-tap-highlight-color: transparent;
}
.scroller-dot.active {
  background: var(--gold);
  transform: scale(1.3);
  box-shadow: 0 0 12px rgba(184, 134, 11, 0.5);
}

/* ============================================
   MARQUEE TICKER
   ============================================ */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 1rem 0;
  background: linear-gradient(90deg, var(--champagne), var(--sand), var(--champagne));
  border-top: 1px solid rgba(184, 134, 11, 0.08);
  border-bottom: 1px solid rgba(184, 134, 11, 0.08);
}
.marquee-inner {
  display: inline-flex;
  gap: 2rem;
  animation: marqueeScroll 30s linear infinite;
}
.marquee-inner span {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-light);
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   WELCOME / APPLICATION FORM
   ============================================ */
.welcome-form-section {
  background: linear-gradient(135deg, var(--sand) 0%, var(--champagne) 50%, var(--bisque) 100%);
  padding: 5rem 1.25rem;
  position: relative;
}
.welcome-form-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.form-glass {
  background: rgba(253, 248, 240, 0.6);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.5rem 1.5rem;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 12px 40px rgba(44, 24, 16, 0.08);
}
.form-glass h2 {
  text-align: center;
  margin-bottom: 0.5rem;
  font-size: 1.6rem;
}
.form-glass .form-subtitle {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-style: italic;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-medium);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-dark);
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(184, 134, 11, 0.15);
  border-radius: 12px;
  outline: none;
  transition: all 0.3s var(--transition-smooth);
  -webkit-appearance: none;
  appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23B8860B' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(184, 134, 11, 0.08);
  background: rgba(255,255,255,0.85);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit {
  width: 100%;
  padding: 1rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm-white);
  background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.4s var(--transition-smooth);
  margin-top: 0.5rem;
  -webkit-tap-highlight-color: transparent;
}
.form-submit:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(184, 134, 11, 0.3);
}
.form-note {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 1rem;
  font-style: italic;
}

/* ============================================
   STATS / COUNTER SECTION
   ============================================ */
.stats-section {
  padding: 5rem 1.25rem;
  background: linear-gradient(135deg, var(--champagne), var(--sand), var(--champagne));
  position: relative;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.stat-item {
  padding: 1.5rem 0.5rem;
}
.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-medium);
}

/* ============================================
   PRACTICE AREA CARDS
   ============================================ */
.practice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.practice-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(44, 24, 16, 0.1);
  transition: all 0.6s var(--transition-smooth);
}
.practice-card-bg {
  position: absolute;
  inset: 0;
}
.practice-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s var(--transition-smooth);
}
.practice-card:hover .practice-card-bg img {
  transform: scale(1.1);
}
.practice-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44, 24, 16, 0.85) 0%, rgba(44, 24, 16, 0.3) 40%, transparent 70%);
  transition: background 0.5s;
}
.practice-card:hover .practice-card-overlay {
  background: linear-gradient(to top, rgba(44, 24, 16, 0.9) 0%, rgba(44, 24, 16, 0.4) 50%, rgba(184, 134, 11, 0.1) 100%);
}
.practice-card-content {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
  color: white;
  width: 100%;
}
.practice-card-content h3 {
  color: var(--gold-lighter);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}
.practice-card-content p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--transition-smooth), opacity 0.4s;
  opacity: 0;
}
.practice-card:hover .practice-card-content p {
  max-height: 100px;
  opacity: 1;
}

/* ============================================
   TESTIMONIAL CARDS
   ============================================ */
.testimonial-card {
  background: rgba(253, 248, 240, 0.5);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(184, 134, 11, 0.1);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  transition: all 0.5s var(--transition-smooth);
  position: relative;
}
.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(44, 24, 16, 0.1);
  border-color: var(--gold-light);
}
.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.testimonial-text {
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-medium);
  margin-bottom: 1.5rem;
}
.testimonial-author {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-dark);
  letter-spacing: 0.05em;
}
.testimonial-stars {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 2px;
  margin-top: 0.25rem;
}
.testimonial-avatar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
}

/* ============================================
   VIDEO SECTION
   ============================================ */
.video-section {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--champagne);
}
.video-placeholder {
  position: absolute;
  inset: 0;
}
.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.video-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem 1.25rem;
}

/* ============================================
   PAGE HEADERS (inner pages)
   ============================================ */
.page-header {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--champagne);
}
.page-header-bg {
  position: absolute;
  inset: -10%;
  animation: kenBurnsZoom 25s ease-in-out infinite alternate;
}
.page-header-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(247,231,206,0.82) 0%, rgba(247,231,206,0.55) 40%, rgba(242,230,217,0.65) 100%);
  z-index: 1;
}
.page-header-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 5rem 1.25rem 3rem;
  max-width: 800px;
}
.page-header-content h1 {
  margin-bottom: 1rem;
}
.page-subtitle {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--text-medium);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: linear-gradient(180deg, var(--sand) 0%, #E8D5C0 50%, #DEC9B0 100%);
  padding: 4rem 1.25rem 2rem;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-medium);
  max-width: 300px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links h4 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.footer-links a {
  font-size: 0.9rem;
  color: var(--text-medium);
  transition: color 0.3s, padding-left 0.3s;
}
.footer-links a:hover {
  color: var(--gold);
  padding-left: 5px;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-medium);
  margin-bottom: 0.5rem;
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--gold); }
.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(184, 134, 11, 0.15);
  text-align: center;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.3rem;
}

/* ============================================
   CUSTOM CURSOR (desktop only)
   ============================================ */
.cursor-dot {
  display: none;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
  opacity: 0;
  transition: all 1s var(--transition-luxury);
}
.reveal { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-scale { transform: scale(0.95); opacity: 0; }

.reveal.visible, .reveal-left.visible, .reveal-right.visible, .reveal-scale.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--transition-luxury);
}
.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.45s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.55s; opacity: 1; transform: translateY(0); }

/* ============================================
   KEYFRAMES
   ============================================ */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ============================================
   CONTACT PAGE SPECIFICS
   ============================================ */
.contact-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.contact-glass-card {
  background: rgba(253, 248, 240, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(184, 134, 11, 0.12);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.5s var(--transition-smooth);
}
.contact-glass-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(44, 24, 16, 0.1);
  border-color: var(--gold-light);
}
.contact-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  margin: 0 auto 1rem;
  color: white;
  box-shadow: 0 4px 15px rgba(184, 134, 11, 0.25);
}

/* Map container */
.map-container {
  border-radius: 20px;
  overflow: hidden;
  height: 350px;
  box-shadow: 0 8px 30px rgba(44, 24, 16, 0.1);
  border: 1px solid rgba(184, 134, 11, 0.12);
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================
   ABOUT PAGE - Practice area detail cards
   ============================================ */
.practice-detail-card {
  background: rgba(253, 248, 240, 0.5);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(184, 134, 11, 0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.5s var(--transition-smooth);
}
.practice-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(44, 24, 16, 0.1);
}
.practice-detail-img {
  height: 220px;
  overflow: hidden;
}
.practice-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s var(--transition-smooth);
}
.practice-detail-card:hover .practice-detail-img img {
  transform: scale(1.08);
}
.practice-detail-content {
  padding: 2rem 1.5rem;
}

/* ============================================
   RESPONSIVE - TABLET (768px+)
   ============================================ */
@media (min-width: 768px) {
  .two-col {
    flex-direction: row;
    gap: 3rem;
    align-items: center;
  }
  .two-col > * {
    flex: 1;
  }

  .practice-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }

  .contact-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-cta-group {
    flex-direction: row;
    gap: 1rem;
  }

  .image-scroller {
    height: 65vh;
  }

  .form-glass {
    padding: 3rem 2.5rem;
  }

  .section-padded {
    padding: 6rem 2rem;
  }
}

/* ============================================
   RESPONSIVE - DESKTOP (1024px+)
   ============================================ */
@media (min-width: 1024px) {
  /* Show desktop nav, hide hamburger */
  .nav-menu { display: flex; }
  .nav-phone { display: flex; }
  .nav-toggle { display: none; }

  .practice-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .section-padded {
    padding: 7rem 2rem;
  }

  .image-scroller {
    height: 70vh;
  }

  /* Desktop custom cursor */
  .cursor-dot {
    display: block;
    position: fixed;
    width: 12px;
    height: 12px;
    background: var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transition: width 0.3s, height 0.3s, opacity 0.3s;
    mix-blend-mode: normal;
    opacity: 0.7;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px rgba(184, 134, 11, 0.4);
  }
  .cursor-dot.hover {
    width: 30px;
    height: 30px;
    opacity: 0.4;
  }

  /* Parallax enabled on desktop */
  .parallax-bg {
    will-change: transform;
  }

  .attorney-portrait-wrapper {
    max-height: 600px;
  }
}

/* ============================================
   RESPONSIVE - LARGE DESKTOP (1400px+)
   ============================================ */
@media (min-width: 1400px) {
  .section-padded {
    padding: 8rem 2rem;
  }

  .hero-content {
    max-width: 1000px;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .loading-screen, .cursor-dot, .nav-toggle, .mobile-menu-overlay,
  .scroll-indicator, .marquee { display: none !important; }
  body { background: white; color: black; }
  .hero-fullscreen { min-height: auto; }
}
.trust-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.8rem;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212,168,67,0.25);
  border-radius: 100px;

  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(44,24,16,0.88);

  transition: all 0.4s ease;
  min-height: 60px;

  box-shadow:
    0 8px 30px rgba(44,24,16,0.08),
    inset 0 1px 0 rgba(255,255,255,0.3);
}

.trust-pill svg {
  width: 18px;
  height: 18px;
  color: #D4A843;
  flex-shrink: 0;
}

.trust-pill:hover {
  background: rgba(212,168,67,0.16);
  border-color: rgba(212,168,67,0.45);
  transform: translateY(-3px) scale(1.03);

  box-shadow:
    0 18px 45px rgba(44,24,16,0.16),
    0 0 25px rgba(212,168,67,0.15);
}
#heroTrust {
  display: grid !important;
  grid-template-columns: repeat(3, auto) !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 1.5rem 1.8rem !important;
  width: 100% !important;
  margin-top: 3rem !important;
}

#heroTrust .trust-pill {
  min-width: 320px !important;
  min-height: 78px !important;

  justify-content: center !important;
  align-items: center !important;

  padding: 1.2rem 2rem !important;

  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;

  border-radius: 100px !important;

  background: rgba(255,255,255,0.18) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;

  border: 1px solid rgba(212,168,67,0.35) !important;

  color: rgba(44,24,16,0.92) !important;

  box-shadow:
    0 10px 35px rgba(44,24,16,0.10),
    inset 0 1px 0 rgba(255,255,255,0.35) !important;
}

#heroTrust .trust-pill svg {
  width: 22px !important;
  height: 22px !important;
  margin-right: 0.65rem !important;
}

@media (max-width: 768px) {
  #heroTrust {
    grid-template-columns: repeat(2, auto) !important;
  }

  #heroTrust .trust-pill {
    min-width: 260px !important;
    font-size: 0.9rem !important;
  }
}

@media (max-width: 520px) {
  #heroTrust {
    grid-template-columns: 1fr !important;
  }

  #heroTrust .trust-pill {
    width: 100% !important;
    min-width: 0 !important;
  }
}

/* ============================================
   IMAGE SCROLLER - CLEAN CINEMATIC FIX
   ============================================ */

.image-scroller {
  position: relative;
  width: 100%;
  height: 560px !important;
  overflow: hidden;
  background: #1a1a1a;
}

.image-scroller-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
}

.image-scroller-slide.active {
  opacity: 1;
  z-index: 2;
}

.image-scroller-slide img {
  width: 100%;
  height: 100%;

  object-fit: contain !important;
  object-position: center center !important;

  background: #1a1a1a;

  filter: none !important;
  image-rendering: auto;

  transform: scale(1);
}

/* Elegant cinematic fade overlay */
.scroller-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to bottom,
      rgba(247,231,206,0.12) 0%,
      rgba(247,231,206,0.02) 30%,
      rgba(247,231,206,0.02) 70%,
      rgba(247,231,206,0.12) 100%
    );

  pointer-events: none;
}

/* Dots */
.scroller-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

/* TABLET */
@media (max-width: 992px) {
  .image-scroller {
    height: 460px !important;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .image-scroller {
    height: 340px !important;
  }
}

/* FINAL IMAGE SCROLLER OVERRIDE */
.image-scroller {
  height: 480px !important;
  background: transparent !important;
  overflow: hidden !important;
}

.image-scroller-slide img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  background: transparent !important;
}

.image-scroller-slide {
  background: transparent !important;
}

.scroller-overlay {
  background: linear-gradient(
    to bottom,
    rgba(247,231,206,0.15) 0%,
    rgba(247,231,206,0.03) 35%,
    rgba(247,231,206,0.03) 65%,
    rgba(247,231,206,0.15) 100%
  ) !important;
}

@media (max-width: 768px) {
  .image-scroller {
    height: 320px !important;
  }
}

/* FINAL IMAGE SCROLLER FIX — NO CROP, NO BLACK BARS */
.image-scroller {
  position: relative !important;
  width: 100% !important;
  height: 520px !important;
  overflow: hidden !important;
  background: #F7E7CE !important;
}

.image-scroller-slide {
  position: absolute !important;
  inset: 0 !important;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  overflow: hidden !important;
}

.image-scroller-slide.active {
  opacity: 1;
  z-index: 2;
}

.image-scroller-slide .scroller-bg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  filter: blur(22px) brightness(0.65) saturate(1.1) !important;
  transform: scale(1.12) !important;
  z-index: 1;
}

.image-scroller-slide .scroller-main {
  position: relative !important;
  z-index: 2;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: 0 auto !important;
  filter: none !important;
}

.scroller-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 3;
  background: linear-gradient(
    to bottom,
    rgba(247,231,206,0.12) 0%,
    rgba(247,231,206,0.02) 35%,
    rgba(247,231,206,0.02) 65%,
    rgba(247,231,206,0.12) 100%
  ) !important;
  pointer-events: none !important;
}

.scroller-dots {
  z-index: 5 !important;
}

@media (max-width: 768px) {
  .image-scroller {
    height: 340px !important;
  }
}

/* ============================================
   HERO VIDEO BACKGROUND
============================================ */
.hero-epic{
  position:relative;
  overflow:hidden;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  will-change: transform;
  transition: transform 0.3s ease-out;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.08);
}

.hero-bg-video{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  transform:scale(1.08);
  filter:brightness(0.45) contrast(1.05) saturate(0.9);
  will-change:transform;
}

/* Optional cinematic gradient */
.hero-overlay-warm{
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.55) 0%,
      rgba(0,0,0,0.35) 35%,
      rgba(0,0,0,0.65) 100%
    ),
    radial-gradient(
      circle at center,
      rgba(180,140,70,0.12),
      transparent 60%
    );
}

/* Ensure content stays above video */
.hero-content-epic,
.hero-spotlight,
.hero-motes{
  position:relative;
  z-index:3;
}

/* ============================================
   TRUE FULLSCREEN HERO FIX
============================================ */

.hero-epic {
  position: relative;
  width: 100vw;

  /* removes side gaps */
  margin: 0;
  padding: 0;
}

/* Force all background layers edge-to-edge */
.hero-bg-layer,
.hero-bg-video,
.hero-overlay-warm{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* VIDEO */
.hero-bg-video{
  object-fit: cover;
  object-position: center center;

  /* slight scale removes tiny browser gaps */
  transform: scale(1.08);

  filter:
    brightness(0.42)
    contrast(1.08)
    saturate(0.9);
}

/* CONTENT */
.hero-content-epic{
  position: relative;
  z-index: 5;

  width: 100%;
  max-width: 1400px;

  margin: 0 auto;
  padding:
    clamp(120px, 10vw, 180px)
    clamp(24px, 5vw, 80px);

  box-sizing: border-box;
}

/* Prevent horizontal white strips */
html,
body{
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* =========================================
   VIDEO HEADER
========================================= */

.video-header{
    position:relative;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
}

/* VIDEO LAYER */
.page-header-video{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    z-index:1;
}

.page-header-video video{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center center;
    display:block;
}

/* FALLBACK IMAGE */
.fallback-image{
    position:absolute;
    inset:0;
    z-index:0;
}

.fallback-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* OVERLAY */
.page-header-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.38);
    z-index:2;
}

/* CONTENT */
.page-header-content{
    position:relative;
    z-index:3;
    text-align:center;
    padding:120px 20px;
}

.page-header-content h1,
.page-header-content p,
.page-header-content span{
    color:#fff;
}
.video-header{
    position:relative;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:85vh !important;
    background:#000;
}

.page-header-video{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    z-index:1;
    background:#000;
}

.page-header-video video{
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center center;
    display:block;
}

.page-header-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.28);
    z-index:2;
}

.page-header-content{
    position:relative;
    z-index:3;
    text-align:center;
    padding:140px 20px;
}
</style>