* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body { 
  font-family: 'Inter', -apple-system, sans-serif; 
  color: #0A1628; 
  background: #F5F2EC;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom cursor */
body { cursor: default; }

a, button, .clickable { cursor: pointer; }

img { max-width: 100%; display: block; }

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: multiply;
}

/* Preview controls */
.preview-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10000;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  color: #F5F2EC; padding: 12px 24px;
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  font-size: 12px; letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(245, 242, 236, 0.1);
  font-family: 'Inter', sans-serif;
}
.preview-bar strong { letter-spacing: 1.5px; font-weight: 600; text-transform: uppercase; font-size: 11px; }
.preview-bar select {
  background: rgba(245, 242, 236, 0.1); color: #F5F2EC;
  border: 1px solid rgba(245, 242, 236, 0.2); padding: 8px 14px;
  font-size: 12px; border-radius: 100px; cursor: pointer; 
  font-weight: 500; letter-spacing: 0.5px;
  font-family: inherit;
  outline: none;
}
.preview-bar select option { background: #0A1628; color: #F5F2EC; }

/* Glass Nav */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 22, 40, 0.7);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  padding: 18px 40px;
  border-bottom: 1px solid rgba(245, 242, 236, 0.06);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
nav.site-nav.nav-hidden {
  transform: translateY(-100%);
}
.nav-inner { 
  max-width: 1600px; margin: 0 auto; 
  display: flex; justify-content: space-between; align-items: center; 
}
.nav-logo { display: flex; align-items: center; gap: 14px; }
.nav-logo img { 
  height: 46px; width: 46px; object-fit: contain;
  filter: brightness(0) invert(1);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-logo:hover img { transform: scale(1.05) rotate(-2deg); }
.nav-brand {
  color: #F5F2EC;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 26px;
  letter-spacing: 4px;
  text-transform: uppercase;
}
.nav-brand span { display: block; font-size: 10px; letter-spacing: 4px; opacity: 0.5; margin-top: 2px; font-family: 'Inter', sans-serif; font-weight: 300; }

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { 
  color: rgba(245, 242, 236, 0.75); 
  font-size: 12px; 
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  transition: color 0.3s ease;
  text-decoration: none;
}
.nav-links a:hover { color: #F5F2EC; }
.nav-links a:not(.nav-cta)::after {
  content: ''; position: absolute; bottom: -6px; left: 0;
  width: 0; height: 1px; background: #C9A961;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta { 
  color: #0A1628 !important; 
  background: #C9A961;
  padding: 12px 24px !important; 
  border-radius: 100px; 
  font-size: 11px !important; 
  font-weight: 600;
  letter-spacing: 1.5px !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-cta:hover { 
  background: #F5F2EC !important; 
  transform: translateY(-2px); 
  box-shadow: 0 10px 30px rgba(201, 169, 97, 0.3);
}

/* ===== HAMBURGER TOGGLE (mobile only) ===== */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(245, 242, 236, 0.18);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 110;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav-toggle:hover { border-color: rgba(201, 169, 97, 0.6); background: rgba(201, 169, 97, 0.05); }
.nav-toggle .nav-toggle-bar {
  display: block;
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  background: #F5F2EC;
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, top 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-toggle .nav-toggle-bar:nth-child(1) { top: 13px; }
.nav-toggle .nav-toggle-bar:nth-child(2) { top: 21px; }
.nav-toggle .nav-toggle-bar:nth-child(3) { top: 29px; }
.nav-toggle.is-open .nav-toggle-bar:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle-bar:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Scrim behind the open menu */
.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  z-index: 95;
  transition: opacity 0.35s ease;
}
body.menu-open .nav-scrim {
  opacity: 1;
  pointer-events: auto;
}
body.menu-open { overflow: hidden; }

@media (max-width: 1000px) {
  .nav-brand span { display: none; }
  .nav-brand { font-size: 18px; letter-spacing: 3px; }
  .nav-toggle { display: block; }

  /* Mobile drawer */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(86vw, 360px);
    background: rgba(10, 22, 40, 0.97);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-left: 1px solid rgba(201, 169, 97, 0.18);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 110px 32px 40px;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.35);
    overflow-y: auto;
  }
  .nav-links.nav-open { transform: translateX(0); }

  .nav-links a:not(.nav-cta) {
    display: block;
    padding: 18px 4px;
    font-size: 14px;
    letter-spacing: 2.5px;
    border-bottom: 1px solid rgba(245, 242, 236, 0.08);
    color: rgba(245, 242, 236, 0.85);
  }
  .nav-links a:not(.nav-cta)::after { display: none; }

  .nav-cta {
    margin-top: 28px;
    text-align: center;
    align-self: stretch;
    padding: 16px 24px !important;
    font-size: 12px !important;
  }
}

/* Pages */
.page { display: none; }
.page.active { display: block; animation: pageReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes pageReveal {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* HERO */
.hero { 
  position: relative; 
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center; 
  overflow: hidden;
  padding: 140px 32px 80px;
  color: #F5F2EC;
}

/* Animated background gradient mesh */
.hero-bg {
  position: absolute; inset: 0;
  background: #0A1628;
  z-index: 1;
}
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(30, 91, 168, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(15, 42, 71, 0.6) 0%, transparent 50%),
    radial-gradient(ellipse 40% 60% at 20% 60%, rgba(201, 169, 97, 0.15) 0%, transparent 60%);
  animation: meshDrift 20s ease-in-out infinite alternate;
}
@keyframes meshDrift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-5%, 3%) scale(1.1); }
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, transparent 60%, rgba(10, 22, 40, 0.4) 100%);
}

/* Hero grid lines for depth */
.hero-grid {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background-image:
    linear-gradient(rgba(245, 242, 236, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 242, 236, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 0%, transparent 70%);
}

.hero-content { 
  position: relative; z-index: 3; max-width: 1100px; text-align: center;
  animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero .marker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px; 
  letter-spacing: 4px; 
  text-transform: uppercase; 
  opacity: 0.85; 
  margin-bottom: 40px;
  padding: 10px 24px;
  border: 1px solid rgba(245, 242, 236, 0.15);
  border-radius: 100px;
  background: rgba(245, 242, 236, 0.03);
  backdrop-filter: blur(10px);
  animation: pulse 3s ease-in-out infinite;
}
.marker .dot {
  width: 6px; height: 6px; background: #C9A961; border-radius: 50%;
  box-shadow: 0 0 12px #C9A961;
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 8px #C9A961; }
  50% { box-shadow: 0 0 18px #C9A961, 0 0 28px rgba(201, 169, 97, 0.4); }
}

.hero h1 { 
  font-family: 'Cormorant Garamond', serif; 
  font-size: clamp(48px, 8vw, 110px); 
  line-height: 0.95; 
  margin-bottom: 32px; 
  font-weight: 400;
  letter-spacing: -2px;
}
.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: #C9A961;
  position: relative;
}

.hero .sub { 
  font-size: clamp(15px, 1.4vw, 18px); 
  color: #FFFFFF;
  opacity: 1; 
  margin-bottom: 56px; 
  max-width: 580px; 
  margin-left: auto; margin-right: auto; 
  line-height: 1.7;
  font-weight: 300;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.hero .ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn-primary, .btn-secondary { 
  padding: 18px 44px; 
  border-radius: 100px;
  font-weight: 500; 
  font-size: 11px; 
  letter-spacing: 2.5px; 
  text-transform: uppercase; 
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: #C9A961;
  color: #0A1628;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.6s ease;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover { 
  transform: translateY(-3px); 
  box-shadow: 0 20px 40px rgba(201, 169, 97, 0.35);
}
.btn-primary::after {
  content: '→'; 
  font-size: 16px;
  transition: transform 0.3s ease;
}
.btn-primary:hover::after { transform: translateX(4px); }

.btn-secondary { 
  background: rgba(245, 242, 236, 0.05);
  color: #F5F2EC; 
  border: 1px solid rgba(245, 242, 236, 0.2);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover { 
  background: rgba(245, 242, 236, 0.1); 
  border-color: rgba(245, 242, 236, 0.4);
  transform: translateY(-3px);
}

.hero .meta { 
  margin-top: 56px; 
  font-size: 11px; 
  color: #FFFFFF;
  opacity: 1;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}
.hero .meta span { display: inline-block; margin: 0 16px; }
.hero .meta span + span::before {
  content: '◆'; margin-right: 16px; color: #C9A961; font-size: 6px; vertical-align: middle;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 3;
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase; opacity: 0.5;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-indicator::after {
  content: ''; width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(245, 242, 236, 0.5), transparent);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* PAGE HERO (inner pages) */
.page-hero {
  position: relative;
  padding: 200px 32px 120px;
  background: #0A1628;
  color: #F5F2EC;
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: 
    radial-gradient(ellipse 60% 80% at 70% 30%, rgba(30, 91, 168, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 30% 70%, rgba(201, 169, 97, 0.1) 0%, transparent 60%);
}
.page-hero-inner { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.page-hero .eyebrow {
  display: inline-block;
  font-size: 11px; letter-spacing: 4px; text-transform: uppercase;
  margin-bottom: 32px;
  padding: 8px 20px;
  border: 1px solid rgba(201, 169, 97, 0.4);
  border-radius: 100px;
  color: #C9A961;
}
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -1.5px;
  margin-bottom: 28px;
}
.page-hero h1 em { font-style: italic; color: #C9A961; font-weight: 300; }
.page-hero p.sub {
  font-size: clamp(15px, 1.5vw, 18px);
  opacity: 0.7;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 40px;
  font-weight: 300;
}

/* TRUST BAR */
.trust-bar {
  background: #0A1628;
  color: #F5F2EC;
  padding: 60px 24px;
  position: relative;
  border-top: 1px solid rgba(245, 242, 236, 0.06);
  border-bottom: 1px solid rgba(245, 242, 236, 0.06);
}
.trust-inner {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}
.trust-item {
  text-align: center;
  position: relative;
  padding: 0 24px;
}
.trust-item:not(:last-child)::after {
  content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 60%;
  background: rgba(245, 242, 236, 0.08);
}
@media (max-width: 900px) {
  .trust-item::after { display: none !important; }
}
.trust-item .label { 
  font-size: 10px; letter-spacing: 3px; opacity: 0.5; 
  margin-bottom: 12px; text-transform: uppercase;
}
.trust-item .val { 
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 500;
  color: #C9A961;
}
.trust-item .sub { font-size: 12px; opacity: 0.6; margin-top: 6px; font-weight: 300; letter-spacing: 0.5px; }

/* SECTIONS */
section.content {
  padding: 140px 32px;
  position: relative;
}
section.content.cream { background: #F5F2EC; }
section.content.white { background: #FFFFFF; }
section.content.navy { background: #0A1628; color: #F5F2EC; }
section.content.dark-gradient {
  background: linear-gradient(180deg, #0A1628 0%, #102844 100%);
  color: #F5F2EC;
}

.container { max-width: 1400px; margin: 0 auto; }
.container-narrow { max-width: 1100px; margin: 0 auto; }
.container-tight { max-width: 800px; margin: 0 auto; }

.eyebrow {
  display: inline-block;
  color: #C9A961;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 28px;
  font-weight: 500;
  position: relative;
  padding-left: 32px;
}
.eyebrow::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 20px; height: 1px; background: #C9A961;
}
/* Hide the decorative line when padding-left is overridden to 0 (inline) */
.eyebrow[style*="padding-left:0"]::before,
.eyebrow[style*="padding-left: 0"]::before {
  display: none;
}
.navy .eyebrow, .dark-gradient .eyebrow { color: #C9A961; }

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 64px);
  color: #0A1628;
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -1px;
  margin-bottom: 32px;
}
h2 em { font-style: italic; color: #C9A961; font-weight: 300; }
.navy h2, .dark-gradient h2 { color: #F5F2EC; }

h3 {
  font-family: 'Cormorant Garamond', serif;
  color: #0A1628;
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}
.navy h3, .dark-gradient h3 { color: #F5F2EC; }

p { 
  font-size: 16px; 
  line-height: 1.8; 
  color: #3A4A5F;
  margin-bottom: 24px;
  font-weight: 400;
}
.navy p, .dark-gradient p { color: rgba(245, 242, 236, 0.75); }

p.lead { font-size: 22px; line-height: 1.6; color: #0A1628; font-weight: 300; }
.navy p.lead { color: #F5F2EC; }

p.muted { color: #6B7A8F; font-size: 17px; max-width: 700px; line-height: 1.7; font-weight: 300; }

.text-center { text-align: center; }
.mb-large { margin-bottom: 80px; }

/* GLASS SERVICE CARDS */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 48px; }

/* Services grid — strict 4x2 on desktop, 2x4 on tablet, 1x8 on mobile */
.grid-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1100px) {
  .grid-services { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 560px) {
  .grid-services { grid-template-columns: 1fr; gap: 18px; }
}
/* Make each service card a consistent height so all 8 align cleanly */
.grid-services .service-card {
  min-height: 320px;
  aspect-ratio: 4 / 5;
}
@media (max-width: 1100px) {
  .grid-services .service-card { aspect-ratio: 16 / 11; min-height: 260px; }
}
@media (max-width: 560px) {
  .grid-services .service-card { aspect-ratio: auto; min-height: 240px; }
}

/* 2-column grid for testimonials — clean 2x2 on desktop, stacks on mobile */
.grid-testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .grid-testimonials { grid-template-columns: 1fr; }
}

.service-card {
  position: relative;
  padding: 48px 36px;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s ease-out, box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.6s ease;
  overflow: hidden;
  border: 1px solid rgba(10, 22, 40, 0.08);
  background: #0A1628;
  isolation: isolate;
  min-height: 320px;
  transform-style: preserve-3d;
  will-change: transform;
}
/* Override prior light backgrounds for any context — every service-card now has dark image bg */
.cream .service-card,
.navy .service-card,
.dark-gradient .service-card,
.white .service-card {
  background: #0A1628;
  border-color: rgba(245, 242, 236, 0.1);
  backdrop-filter: none;
}

/* Image background layer (zoom on hover) */
.service-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.001);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
  pointer-events: none;
}

/* Dark gradient overlay so text reads */
.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.85) 0%, rgba(10,22,40,0.65) 50%, rgba(10,22,40,0.45) 100%);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
  pointer-events: none;
}

.service-card-content {
  position: relative;
  z-index: 2;
}

.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, #C9A961, transparent);
  opacity: 0; transition: opacity 0.6s ease;
  z-index: 3;
}

.service-card::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(201, 169, 97, 0.15), transparent 50%);
  opacity: 0; transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 2;
}

.service-card:hover {
  border-color: rgba(201, 169, 97, 0.5);
  box-shadow: 0 30px 80px -20px rgba(10, 22, 40, 0.4);
}
.service-card:hover .service-card-bg { transform: scale(1.08); }
.service-card:hover .service-card-overlay { opacity: 0.82; }
.service-card:hover::before { opacity: 1; }
.service-card:hover::after { opacity: 1; }

.service-card .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-style: italic;
  color: #C9A961;
  letter-spacing: 2px;
  margin-bottom: 24px;
  display: inline-block;
  position: relative;
  padding-bottom: 4px;
}
.service-card .num::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: #C9A961;
  transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover .num::after { width: 100%; }

.service-card h3 {
  margin-bottom: 20px;
  color: #F5F2EC;
}
.service-card p {
  color: rgba(245, 242, 236, 0.85);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 28px;
  font-weight: 400;
}
.cream .service-card p,
.navy .service-card p,
.dark-gradient .service-card p,
.white .service-card p {
  color: rgba(245, 242, 236, 0.85);
}

.service-card .more {
  color: #F5F2EC;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding-bottom: 4px;
  transition: gap 0.3s ease;
}
.cream .service-card .more,
.navy .service-card .more,
.dark-gradient .service-card .more,
.white .service-card .more { color: #F5F2EC; }
.service-card .more::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: currentColor; opacity: 0.3;
  transition: opacity 0.3s ease;
}
.service-card:hover .more { gap: 14px; }
.service-card:hover .more::after { opacity: 1; }

/* TESTIMONIALS */
.testimonial {
  position: relative;
  padding: 48px 40px;
  background: rgba(245, 242, 236, 0.03);
  border: 1px solid rgba(245, 242, 236, 0.08);
  border-radius: 4px;
  backdrop-filter: blur(20px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.testimonial:hover {
  background: rgba(245, 242, 236, 0.06);
  transform: translateY(-4px);
}
.testimonial p {
  flex: 1; /* pushes author line to the bottom regardless of text length */
}
.testimonial .quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 80px; 
  line-height: 0.5;
  color: #C9A961;
  opacity: 0.6;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 32px;
  color: rgba(245, 242, 236, 0.95);
  font-weight: 400;
}
.testimonial .author-line {
  display: flex; align-items: center; gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(245, 242, 236, 0.08);
}
.testimonial .author-img {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, #C9A961, #1E5BA8);
  flex-shrink: 0;
}
.testimonial .author { font-size: 13px; font-weight: 500; color: #F5F2EC; letter-spacing: 0.5px; }
.testimonial .loc { font-size: 11px; opacity: 0.5; letter-spacing: 2px; text-transform: uppercase; margin-top: 2px; }

/* 5-star rating row */
.testimonial .stars {
  display: flex;
  gap: 3px;
  margin-bottom: 18px;
  color: #C9A961;
  font-size: 16px;
  letter-spacing: 2px;
  line-height: 1;
}
.testimonial .stars svg {
  width: 18px;
  height: 18px;
  fill: #C9A961;
  filter: drop-shadow(0 1px 2px rgba(201, 169, 97, 0.3));
}

/* SERVICE AREA CHIPS */
.chips { 
  display: flex; flex-wrap: wrap; justify-content: center; 
  gap: 10px; max-width: 1000px; margin: 0 auto;
}
.chips.left { justify-content: flex-start; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: #0A1628;
  padding: 14px 24px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid rgba(10, 22, 40, 0.15);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
}
.chip:hover {
  border-color: #C9A961;
  color: #0A1628;
  background: rgba(201, 169, 97, 0.08);
  transform: translateY(-2px);
}
.chip::before { content: '◆'; color: #C9A961; font-size: 6px; }
.navy .chip, .dark-gradient .chip {
  color: #F5F2EC;
  border-color: rgba(245, 242, 236, 0.15);
  background: rgba(245, 242, 236, 0.03);
}
.navy .chip:hover, .dark-gradient .chip:hover {
  border-color: #C9A961;
  background: rgba(201, 169, 97, 0.08);
}

/* STEPS */
.step {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid rgba(10, 22, 40, 0.08);
  transition: all 0.4s ease;
}
.cream .step, .white .step { border-color: rgba(10, 22, 40, 0.08); }
.navy .step, .dark-gradient .step { border-color: rgba(245, 242, 236, 0.08); }
.step:last-child { border-bottom: none; }
.step:hover .step-num { color: #C9A961; }
.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 300;
  font-style: italic;
  color: #0A1628;
  opacity: 0.3;
  line-height: 1;
  transition: all 0.4s ease;
}
.navy .step-num, .dark-gradient .step-num { color: #F5F2EC; }
.step h3 { margin-bottom: 12px; }
.step p { 
  color: #6B7A8F; line-height: 1.8; margin: 0; font-size: 16px;
}
.navy .step p, .dark-gradient .step p { color: rgba(245, 242, 236, 0.7); }

@media (max-width: 700px) {
  .step { grid-template-columns: 1fr; gap: 16px; }
  .step-num { font-size: 36px; }
}

/* LIST */
ul.list { list-style: none; padding: 0; margin: 32px 0; }
ul.list li {
  padding: 18px 0;
  border-bottom: 1px solid rgba(10, 22, 40, 0.06);
  font-size: 16px;
  line-height: 1.7;
  color: #3A4A5F;
  position: relative;
  padding-left: 36px;
  font-weight: 400;
}
ul.list li::before {
  content: '◆';
  position: absolute;
  left: 8px; top: 22px;
  color: #C9A961;
  font-size: 8px;
}
ul.list li strong { color: #0A1628; font-weight: 600; }
.navy ul.list li, .dark-gradient ul.list li { 
  color: rgba(245, 242, 236, 0.75); border-color: rgba(245, 242, 236, 0.08);
}
.navy ul.list li strong, .dark-gradient ul.list li strong { color: #F5F2EC; }

/* FAQ */
.faq-item {
  background: transparent;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(10, 22, 40, 0.1);
  overflow: hidden;
  transition: all 0.4s ease;
}
.faq-item:first-child { border-top: 1px solid rgba(10, 22, 40, 0.1); }
.faq-q {
  padding: 32px 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: #0A1628;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: -0.3px;
}
.faq-q:hover { color: #C9A961; }
.faq-icon {
  width: 32px; height: 32px;
  border: 1px solid rgba(10, 22, 40, 0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: #C9A961;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  margin-left: 20px;
}
.faq-item.open .faq-icon {
  transform: rotate(135deg);
  background: #C9A961;
  color: #0A1628;
  border-color: #C9A961;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), padding 0.5s ease;
  color: #6B7A8F;
  line-height: 1.8;
  font-size: 16px;
  padding: 0;
}
.faq-item.open .faq-a { max-height: 500px; padding-bottom: 32px; }

/* LEAD FORM */
.lead-form-section {
  background: linear-gradient(180deg, #0A1628 0%, #102844 100%);
  color: #F5F2EC;
  padding: 140px 32px;
  position: relative;
  overflow: hidden;
}
.lead-form-section::before {
  content: ''; position: absolute; inset: 0;
  background: 
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(30, 91, 168, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse 50% 60% at 20% 80%, rgba(201, 169, 97, 0.15) 0%, transparent 50%);
}
.lead-form-inner { 
  max-width: 720px; margin: 0 auto; 
  position: relative; z-index: 2;
}
.lead-form-section .header { text-align: center; margin-bottom: 64px; }
.lead-form-section .header .eyebrow { 
  color: #C9A961; 
  margin-bottom: 24px;
  padding-left: 0;
}
.lead-form-section .header .eyebrow::before { display: none; }
.lead-form-section .header h2 { color: #F5F2EC; }
.lead-form-section .sub { 
  font-size: 17px; opacity: 0.65;
  max-width: 480px; margin: 0 auto;
  font-weight: 300;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-input, .form-select, .form-textarea {
  width: 100%; 
  padding: 22px 24px;
  border-radius: 4px;
  border: 1px solid rgba(245, 242, 236, 0.1);
  background: rgba(245, 242, 236, 0.03);
  backdrop-filter: blur(20px);
  color: #F5F2EC;
  font-size: 14px;
  letter-spacing: 0.5px;
  font-family: inherit;
  outline: none;
  transition: all 0.4s ease;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: #C9A961;
  background: rgba(245, 242, 236, 0.06);
}
.form-input::placeholder, .form-textarea::placeholder {
  color: rgba(245, 242, 236, 0.4);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
}
.form-select { color: rgba(245, 242, 236, 0.4); text-transform: uppercase; letter-spacing: 2px; font-size: 11px; }
.form-select option { background: #0A1628; color: #F5F2EC; text-transform: none; letter-spacing: normal; font-size: 14px; }
.form-textarea { resize: vertical; min-height: 140px; text-transform: none; letter-spacing: 0.5px; font-size: 14px; }
.form-textarea::placeholder { font-size: 11px; }

.form-submit {
  width: 100%;
  background: #C9A961;
  color: #0A1628;
  padding: 24px;
  border-radius: 100px;
  border: none;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 8px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  position: relative;
  overflow: hidden;
}
.form-submit::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}
.form-submit:hover::before { left: 100%; }
.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(201, 169, 97, 0.3);
}

.form-call-note { 
  text-align: center; margin-top: 32px; 
  font-size: 12px; opacity: 0.5;
  letter-spacing: 2px; text-transform: uppercase;
}
.form-call-note a { color: #C9A961; font-weight: 500; text-decoration: none; letter-spacing: 1.5px; }

/* FOOTER */
footer {
  background: #060F1C;
  color: #F5F2EC;
  padding: 100px 32px 40px;
  position: relative;
  border-top: 1px solid rgba(245, 242, 236, 0.05);
}
.footer-inner { max-width: 1400px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 48px; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand img {
  height: 60px; width: 60px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  margin-bottom: 24px;
}
.footer-brand h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 8px;
  color: #F5F2EC;
}
.footer-brand p { 
  font-size: 13px; opacity: 0.5; 
  line-height: 1.7; max-width: 280px;
  font-weight: 300;
  color: rgba(245, 242, 236, 0.6);
}

.footer-col h4 {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 24px; opacity: 0.5; font-weight: 500;
  color: #C9A961;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  color: rgba(245, 242, 236, 0.7);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}
.footer-col a:hover { color: #C9A961; }
.footer-col li.meta { color: rgba(245, 242, 236, 0.4); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }

.footer-bottom {
  border-top: 1px solid rgba(245, 242, 236, 0.06);
  padding-top: 32px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  font-size: 11px; opacity: 0.4;
  letter-spacing: 2px; text-transform: uppercase;
}
.footer-credit a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.footer-credit a:hover {
  color: #C9A961;
  opacity: 1;
}

/* GALLERY */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  padding: 80px 32px 32px;
}
.filter-btn {
  background: transparent;
  color: #0A1628;
  padding: 14px 28px;
  border-radius: 100px;
  border: 1px solid rgba(10, 22, 40, 0.15);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}
.filter-btn:hover {
  border-color: #C9A961;
  background: rgba(201, 169, 97, 0.05);
}
.filter-btn.active {
  background: #0A1628;
  color: #F5F2EC;
  border-color: #0A1628;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}
.gallery-item {
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: #0A1628;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-item::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, #0A1628 0%, #1E5BA8 50%, #C9A961 100%);
  opacity: 0.9;
  transition: opacity 0.6s ease;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item:hover::before { opacity: 0.7; }
.gallery-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 32px;
  color: #F5F2EC;
  z-index: 2;
}
.gallery-overlay .cat {
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  opacity: 0.7; margin-bottom: 12px;
  display: inline-flex; align-items: center; gap: 8px;
}
.gallery-overlay .cat::before {
  content: ''; width: 20px; height: 1px; background: #C9A961;
}
.gallery-overlay h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: #F5F2EC;
  margin-bottom: 8px;
  line-height: 1.2;
}
.gallery-overlay .tag {
  font-size: 10px; letter-spacing: 2px; opacity: 0.4; text-transform: uppercase;
}

/* CONTACT CARDS */
.contact-card {
  padding: 48px 36px;
  background: #FFFFFF;
  border-radius: 4px;
  border: 1px solid rgba(10, 22, 40, 0.06);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.cream .contact-card { background: #FFFFFF; }
.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 169, 97, 0.4);
  box-shadow: 0 20px 60px -20px rgba(10, 22, 40, 0.1);
}
.contact-card .ce {
  color: #C9A961;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 10px;
}
.contact-card .ce::before {
  content: ''; width: 20px; height: 1px; background: #C9A961;
}
.contact-card h3 {
  font-size: 24px; margin-bottom: 16px;
  letter-spacing: -0.3px;
}
.contact-card h3 a { color: #0A1628; text-decoration: none; transition: color 0.3s ease; }
.contact-card h3 a:hover { color: #C9A961; }
.contact-card p { 
  font-size: 14px; line-height: 1.7; margin: 0;
  color: #6B7A8F;
  font-weight: 400;
}
.contact-card p.alt { margin-top: 12px; font-size: 13px; }
.contact-card p.alt a { color: #C9A961; text-decoration: none; }

/* SECTION DIVIDERS */
.divider-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(10, 22, 40, 0.1), transparent);
  margin: 0 auto;
  max-width: 200px;
}

/* Reveal on scroll animation */
/* Reveal — content is VISIBLE BY DEFAULT and can never be hidden permanently.
   The optional .reveal-anim class (added by JS when ready) plays a subtle entry animation,
   but the content always renders even if every script fails. */
.reveal {
  opacity: 1;
  transform: none;
}
/* When JS marks an element as ready for animation AND it's in viewport, play the entry */
.reveal.reveal-anim-armed {
  opacity: 0;
  transform: translateY(30px);
}
.reveal.reveal-anim-armed.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== EXTRA POLISH EFFECTS (CSS-only, no JS — can't break the site) ===== */

/* Gold glow pulse on primary CTAs — much subtler now, slower cycle */
@keyframes ctaGoldPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 169, 97, 0); }
  50%      { box-shadow: 0 0 0 6px rgba(201, 169, 97, 0.04), 0 0 18px 2px rgba(201, 169, 97, 0.08); }
}
.btn-primary {
  animation: ctaGoldPulse 5s ease-in-out infinite;
}
.btn-primary:hover {
  animation: none;
  box-shadow: 0 16px 32px rgba(201, 169, 97, 0.35), 0 0 24px 4px rgba(201, 169, 97, 0.25);
}

/* Service card image — subtle Ken Burns drift while idle */
@keyframes serviceCardDrift {
  0%, 100% { transform: scale(1.02) translate(0, 0); }
  50%      { transform: scale(1.06) translate(-1%, -1%); }
}
.service-card-bg {
  animation: serviceCardDrift 16s ease-in-out infinite;
}
.service-card:hover .service-card-bg {
  animation: none;
  transform: scale(1.10);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Eyebrow labels — soft gold shimmer on reveal */
@keyframes eyebrowShine {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.reveal.visible .eyebrow {
  background: linear-gradient(90deg, currentColor 30%, rgba(201, 169, 97, 1) 50%, currentColor 70%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: eyebrowShine 3s ease-in-out 0.3s 1;
  animation-fill-mode: both;
}

/* H1 / H2 em emphasis — gold underline reveal on visible */
.reveal.visible h1 em,
.reveal.visible h2 em {
  position: relative;
}
.reveal.visible h1 em::after,
.reveal.visible h2 em::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #C9A961, transparent);
  transform-origin: left;
  animation: emUnderlineGrow 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}
@keyframes emUnderlineGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Trust bar tiles — gold accent line above on hover */
.trust-item {
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.trust-item::before {
  content: '';
  position: absolute;
  top: -8px; left: 50%;
  width: 0; height: 2px;
  background: #C9A961;
  transform: translateX(-50%);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.trust-item:hover { transform: translateY(-4px); }
.trust-item:hover::before { width: 40%; }

/* Service card title — gold accent slides in on hover */
.service-card-content h3 {
  position: relative;
  display: inline-block;
}
.service-card-content h3::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 1.5px;
  background: #C9A961;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover .service-card-content h3::after { width: 60%; }

/* Hero scroll indicator — gentle bounce */
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50%      { transform: translateY(8px); opacity: 1; }
}
.scroll-indicator {
  animation: scrollBounce 2.4s ease-in-out infinite;
}

/* Reduced motion: kill the new animations too */
@media (prefers-reduced-motion: reduce) {
  .btn-primary,
  .service-card-bg,
  .scroll-indicator,
  .reveal.visible .eyebrow,
  .reveal.visible h1 em::after,
  .reveal.visible h2 em::after {
    animation: none !important;
  }
}



/* ===== HERO VIDEO BACKGROUND ===== */
.hero { 
  background: #0A1628;
}

/* The actual video element - sits at the very back */
.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  /* Crispness hints: avoid any browser-imposed smoothing/scaling artifacts */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: opacity, transform;
  /* Sharper rendering by avoiding sub-pixel blur from animations */
  filter: contrast(1.05) saturate(1.08);
}

/* Photo fallback - also at the back, behind video so video covers it when loaded */
.hero-photo {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Cinematic fallback: animated water effect - sits just above video at very low opacity
   so the video stays the dominant visual but you get subtle motion/depth on top */
.hero-bg {
  position: absolute; inset: 0;
  background: transparent;
  z-index: 1;
  overflow: hidden;
  opacity: 0.25;
  pointer-events: none;
}

/* Animated water-like ripples */
.hero-water {
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: 
    radial-gradient(ellipse 50% 30% at 30% 50%, rgba(30, 91, 168, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse 40% 20% at 70% 30%, rgba(201, 169, 97, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 80%, rgba(15, 42, 71, 0.5) 0%, transparent 60%);
  animation: waterFlow 18s ease-in-out infinite alternate;
}
.hero-water-2 {
  animation: waterFlow 22s ease-in-out infinite alternate-reverse;
  animation-delay: -8s;
  opacity: 0.7;
  mix-blend-mode: overlay;
}
.hero-water-3 {
  animation: waterFlow 28s ease-in-out infinite alternate;
  animation-delay: -15s;
  opacity: 0.5;
  background: 
    radial-gradient(ellipse 70% 40% at 60% 40%, rgba(245, 242, 236, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 30% 60% at 20% 70%, rgba(201, 169, 97, 0.1) 0%, transparent 50%);
}

@keyframes waterFlow {
  0% { transform: translate(0, 0) rotate(0deg) scale(1); }
  50% { transform: translate(-5%, 3%) rotate(2deg) scale(1.05); }
  100% { transform: translate(3%, -2%) rotate(-1deg) scale(1.1); }
}

/* Shimmer overlay - subtle moving light */
.hero-shimmer {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(245, 242, 236, 0.04) 40%,
    rgba(201, 169, 97, 0.06) 50%,
    rgba(245, 242, 236, 0.04) 60%,
    transparent 70%
  );
  background-size: 200% 100%;
  animation: shimmerMove 8s ease-in-out infinite;
}
@keyframes shimmerMove {
  0%, 100% { background-position: -100% 0; }
  50% { background-position: 100% 0; }
}

/* Floating particles (water droplets / bokeh effect) */
.hero-particles {
  position: absolute; inset: 0;
  pointer-events: none;
}
.hero-particles span {
  position: absolute;
  display: block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(245, 242, 236, 0.4);
  box-shadow: 0 0 10px rgba(245, 242, 236, 0.6);
  animation: floatUp linear infinite;
}
.hero-particles span:nth-child(1) { left: 10%; animation-duration: 18s; animation-delay: 0s; width: 3px; height: 3px; }
.hero-particles span:nth-child(2) { left: 20%; animation-duration: 22s; animation-delay: -5s; width: 5px; height: 5px; background: rgba(201, 169, 97, 0.5); box-shadow: 0 0 10px rgba(201, 169, 97, 0.6); }
.hero-particles span:nth-child(3) { left: 30%; animation-duration: 20s; animation-delay: -2s; width: 2px; height: 2px; }
.hero-particles span:nth-child(4) { left: 45%; animation-duration: 25s; animation-delay: -8s; width: 4px; height: 4px; }
.hero-particles span:nth-child(5) { left: 55%; animation-duration: 19s; animation-delay: -12s; width: 3px; height: 3px; background: rgba(201, 169, 97, 0.4); box-shadow: 0 0 8px rgba(201, 169, 97, 0.5); }
.hero-particles span:nth-child(6) { left: 65%; animation-duration: 23s; animation-delay: -4s; width: 5px; height: 5px; }
.hero-particles span:nth-child(7) { left: 75%; animation-duration: 21s; animation-delay: -10s; width: 2px; height: 2px; }
.hero-particles span:nth-child(8) { left: 82%; animation-duration: 26s; animation-delay: -6s; width: 4px; height: 4px; background: rgba(201, 169, 97, 0.3); }
.hero-particles span:nth-child(9) { left: 88%; animation-duration: 20s; animation-delay: -14s; width: 3px; height: 3px; }
.hero-particles span:nth-child(10) { left: 95%; animation-duration: 24s; animation-delay: -3s; width: 4px; height: 4px; }

@keyframes floatUp {
  0% {
    transform: translateY(110vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
    transform: translateY(100vh) scale(1);
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-10vh) scale(0.5);
    opacity: 0;
  }
}

/* Dark overlay over video so text is readable */
.hero-overlay {
  position: absolute; inset: 0;
  /* Lighter overlay so the video reads sharper; still dark enough for text legibility */
  background:
    linear-gradient(180deg,
      rgba(10, 22, 40, 0.35) 0%,
      rgba(10, 22, 40, 0.30) 40%,
      rgba(10, 22, 40, 0.65) 100%
    );
  z-index: 2;
}

/* Make sure hero content sits on top */
.hero-content {
  position: relative;
  z-index: 3;
}
.scroll-indicator {
  z-index: 3;
}

/* Override the grid to sit on top of overlay */
.hero-grid {
  z-index: 2;
}

/* Video is now showing */
.hero-video {
  display: block;
}

/* Hero photo fallback - shows behind video (in case video fails to load) */
.hero-photo {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* Subtle motion overlay above the video — keep it whisper-quiet so the footage reads */
.hero-bg .hero-water,
.hero-bg .hero-water-2,
.hero-bg .hero-water-3 {
  opacity: 0.4;
  mix-blend-mode: overlay;
}



/* Page hero photos */
.page-hero.has-photo {
  background: #0A1628;
}
.page-hero.has-photo .page-hero-photo {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.45;
}
.page-hero.has-photo::before {
  z-index: 2;
}
.page-hero.has-photo .page-hero-inner {
  position: relative;
  z-index: 3;
}



/* Real photo gallery items */
.gallery-item {
  position: relative;
  overflow: hidden;
}
.gallery-item .gallery-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-item:hover .gallery-img { transform: scale(1.05); }
.gallery-item .gallery-overlay {
  z-index: 2;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 22, 40, 0.85) 100%);
}
.gallery-item::before {
  display: none !important;
}



/* Social buttons in footer */
.social-buttons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(245, 242, 236, 0.05);
  border: 1px solid rgba(245, 242, 236, 0.15);
  border-radius: 100px;
  color: rgba(245, 242, 236, 0.85) !important;
  font-size: 12px !important;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  cursor: pointer;
}
.social-btn:hover {
  background: rgba(201, 169, 97, 0.1);
  border-color: #C9A961;
  color: #C9A961 !important;
  transform: translateY(-2px);
}
.social-btn svg {
  flex-shrink: 0;
}
.social-btn span {
  font-size: 11px;
}



/* When video is active, keep the dark overlay but fade the animated background */
.hero-bg .hero-water,
.hero-bg .hero-water-2,
.hero-bg .hero-water-3 {
  opacity: 0.15;
}
.hero-particles span {
  opacity: 0.7;
}

/* ===== HERO SUBTITLE (small gold uppercase line under H1) ===== */
.hero .hero-subtitle {
  display: block;
  margin: -16px auto 32px;
  color: #C9A961;
  font-size: clamp(11px, 1.3vw, 14px);
  letter-spacing: 6px;
  text-transform: uppercase;
  font-weight: 500;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

/* ===== HERO END CARD (logo fade) ===== */
.hero-endcard {
  position: absolute;
  inset: 0;
  z-index: 4;  /* Above the overlay so it covers cleanly */
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(15, 42, 71, 1) 0%, #0A1628 70%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.04);
  transition:
    opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 2.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-endcard.visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;  /* Allow CTA buttons to be clickable when endcard is visible */
}
.hero-endcard > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-endcard.visible > * {
  opacity: 1;
  transform: translateY(0);
}
.hero-endcard.visible img              { transition-delay: 0.25s; }
.hero-endcard.visible .endcard-brand   { transition-delay: 0.45s; }
.hero-endcard.visible .endcard-tagline { transition-delay: 0.65s; }
.hero-endcard.visible .endcard-ctas    { transition-delay: 0.85s; }

/* CTAs inside the endcard */
.endcard-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}
.endcard-cta-primary {
  background: #C9A961;
  color: #0A1628;
  padding: 16px 32px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.endcard-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(201, 169, 97, 0.35);
}
.endcard-cta-secondary {
  color: #F5F2EC;
  border: 1px solid rgba(245, 242, 236, 0.3);
  padding: 16px 28px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}
.endcard-cta-secondary:hover {
  border-color: #C9A961;
  color: #C9A961;
  background: rgba(201, 169, 97, 0.05);
}
@media (max-width: 600px) {
  .endcard-ctas { flex-direction: column; width: 100%; max-width: 280px; align-items: center; }
  .endcard-cta-primary, .endcard-cta-secondary { text-align: center; min-width: 220px; }
}

/* Make the video itself fade slightly as the endcard fades in for true cross-fade */
.hero-video {
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1), filter 1.4s ease;
}
.hero-endcard.visible ~ .hero-video,
.hero:has(.hero-endcard.visible) .hero-video {
  opacity: 0.15;
  filter: blur(2px) contrast(1.05) saturate(1.08);
}
.hero-endcard img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.hero-endcard .endcard-brand {
  font-family: 'Cormorant Garamond', serif;
  color: #F5F2EC;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: 8px;
  text-transform: uppercase;
  font-weight: 400;
}
.hero-endcard .endcard-tagline {
  color: #C9A961;
  font-size: 11px;
  letter-spacing: 6px;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: -8px;
}

/* ===== BEFORE / AFTER SLIDER ===== */
.ba-section {
  padding: 140px 32px;
  background: #F5F2EC;
}
.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  max-width: 1400px;
  margin: 64px auto 0;
}
.ba-card {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 4px;
  overflow: hidden;
  user-select: none;
  cursor: ew-resize;
  background: #0A1628;
  border: 1px solid rgba(10, 22, 40, 0.08);
}
.ba-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-card .ba-after {
  z-index: 1;
}
.ba-card .ba-before-wrap {
  position: absolute;
  inset: 0;
  /* Cover the full card; clip-path is what reveals only the BEFORE portion */
  width: 100%;
  height: 100%;
  z-index: 2;
  clip-path: inset(0 50% 0 0);
  -webkit-clip-path: inset(0 50% 0 0);
  will-change: clip-path;
}
.ba-card .ba-before-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ba-card .ba-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: #C9A961;
  z-index: 3;
  transform: translateX(-1px);
  pointer-events: none;
}
.ba-card .ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #C9A961;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0A1628;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  box-shadow: 0 6px 24px rgba(10, 22, 40, 0.25);
  pointer-events: none;
}
.ba-card .ba-handle::before { content: '\2039'; margin-right: 2px; }
.ba-card .ba-handle::after { content: '\203A'; margin-left: 2px; }
.ba-card .ba-label {
  position: absolute;
  bottom: 16px;
  padding: 6px 14px;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 600;
  color: #F5F2EC;
  background: rgba(10, 22, 40, 0.75);
  border-radius: 100px;
  backdrop-filter: blur(8px);
  z-index: 5;
  pointer-events: none;
}
.ba-card .ba-label.before { left: 16px; }
.ba-card .ba-label.after { right: 16px; }
.ba-cta-wrap { text-align: center; margin-top: 56px; }

/* ===== MULTI-STEP WIZARD ===== */
.wizard {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  background: rgba(245, 242, 236, 0.04);
  border: 1px solid rgba(245, 242, 236, 0.1);
  border-radius: 8px;
  backdrop-filter: blur(20px);
  padding: 56px 40px 48px;
  overflow: hidden;
}
@media (max-width: 600px) {
  .wizard { padding: 40px 24px 32px; }
}
.wizard-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}
.wizard-progress-bar {
  flex: 1;
  height: 4px;
  background: rgba(245, 242, 236, 0.1);
  border-radius: 100px;
  overflow: hidden;
}
.wizard-progress-bar-fill {
  height: 100%;
  background: #C9A961;
  width: 14.28%;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.wizard-progress-label {
  display: none;
}
.wizard-back {
  background: none;
  border: none;
  color: rgba(245, 242, 236, 0.6);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, color 0.3s ease;
}
.wizard-back.visible { opacity: 1; pointer-events: auto; }
.wizard-back:hover { color: #C9A961; }
.wizard-back::before { content: '\2190'; font-size: 16px; }

.wizard-steps {
  position: relative;
  min-height: 240px;
}
.wizard-step {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.wizard-step.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}
.wizard-step.exit-left {
  opacity: 0;
  transform: translateX(-40px);
}
.wizard-step .wizard-q {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.2;
  color: #F5F2EC;
  font-weight: 400;
  margin-bottom: 28px;
  letter-spacing: -0.3px;
}
.wizard-input,
.wizard-select,
.wizard-textarea {
  width: 100%;
  padding: 20px 22px;
  border-radius: 4px;
  border: 1px solid rgba(245, 242, 236, 0.15);
  background: rgba(245, 242, 236, 0.04);
  color: #F5F2EC;
  font-size: 16px;
  font-family: inherit;
  outline: none;
  letter-spacing: 0.3px;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.wizard-input:focus,
.wizard-select:focus,
.wizard-textarea:focus {
  border-color: #C9A961;
  background: rgba(245, 242, 236, 0.07);
}
.wizard-input::placeholder,
.wizard-textarea::placeholder {
  color: rgba(245, 242, 236, 0.4);
}
.wizard-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'><path d='M1 1l6 6 6-6' stroke='%23C9A961' stroke-width='1.5' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 22px center;
  padding-right: 52px;
  cursor: pointer;
}
.wizard-select option { background: #0A1628; color: #F5F2EC; }
.wizard-textarea { min-height: 140px; resize: vertical; }

.wizard-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
  flex-wrap: wrap;
}
.wizard-next,
.wizard-submit {
  flex: 1;
  min-width: 200px;
  background: #C9A961;
  color: #0A1628;
  padding: 20px 28px;
  border: none;
  border-radius: 100px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.wizard-next:hover,
.wizard-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(201, 169, 97, 0.3);
}
.wizard-skip {
  background: transparent;
  color: rgba(245, 242, 236, 0.6);
  border: 1px solid rgba(245, 242, 236, 0.15);
  padding: 20px 28px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.wizard-skip:hover { border-color: #C9A961; color: #C9A961; }
.wizard-error {
  display: block;
  color: #E89090;
  font-size: 12px;
  letter-spacing: 0.3px;
  margin-top: 10px;
  min-height: 18px;
}

.wizard-review {
  background: rgba(245, 242, 236, 0.03);
  border: 1px solid rgba(245, 242, 236, 0.08);
  border-radius: 4px;
  padding: 24px;
  margin-bottom: 8px;
}
.wizard-review-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(245, 242, 236, 0.06);
  font-size: 14px;
}
.wizard-review-row:last-child { border-bottom: none; }
.wizard-review-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.5);
  flex-shrink: 0;
  min-width: 90px;
}
.wizard-review-val {
  color: #F5F2EC;
  text-align: right;
  word-break: break-word;
}

/* =========================================================
   PREMIUM EFFECTS & TRANSITIONS
   ========================================================= */

/* Safari momentum scroll */
html, body {
  -webkit-overflow-scrolling: touch;
}

/* C. Stagger reveal for grid children — children fade up individually */
.grid-3.reveal > *,
.grid-4.reveal > *,
.grid-testimonials.reveal > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.grid-3.reveal.visible > *,
.grid-4.reveal.visible > *,
.grid-testimonials.reveal.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* F. Trust bar stagger */
.trust-bar.reveal .trust-item,
.trust-bar.reveal > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.trust-bar.reveal.visible .trust-item,
.trust-bar.reveal.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* D. SPA page transition — slide + fade */
.page.page-leaving {
  animation: pageLeave 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  display: block !important;
  position: absolute;
  top: 0; left: 0; right: 0;
  pointer-events: none;
}
.page.page-entering {
  animation: pageEnter 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes pageLeave {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(-24px); }
}
@keyframes pageEnter {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

/* E. Testimonial premium hover lift (override existing) */
.testimonial {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.testimonial:hover {
  background: rgba(245, 242, 236, 0.06);
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 30px 60px -20px rgba(10, 22, 40, 0.4);
}

/* G. Hero subtitle word-by-word fade in */
.hero .hero-subtitle .hs-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(12px);
  filter: blur(4px);
  animation: heroSubtitleWord 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes heroSubtitleWord {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* B. Magnetic button — uses --mx/--my as offset in px */
.btn-primary {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.4s ease;
}

/* Reduced motion: kill heavy effects */
@media (prefers-reduced-motion: reduce) {
  .service-card,
  .service-card-bg,
  .service-card-overlay,
  .testimonial,
  .page.page-leaving,
  .page.page-entering {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
  .grid-3.reveal > *,
  .grid-4.reveal > *,
  .grid-testimonials.reveal > *,
  .trust-bar.reveal .trust-item,
  .trust-bar.reveal > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero .hero-subtitle .hs-word {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }
}

/* Only apply tilt cursor hint on hoverable, fine pointer devices */
@media (hover: none), (pointer: coarse) {
  .service-card { transform: none !important; }
}
