:root {
  --nv-navy: #0b1f3a;
  --nv-gold: #c9a227;
  --nv-cream: #f7f3ea;
  --nv-ink: #1a2332;
  --nv-muted: #5c6b7a;
  --nv-red: #c0392b;
  --nv-teal: #0d6e6e;
  --nv-orange: #e85d04;
  --nv-green: #25d366;
  --nv-white: #ffffff;
  --nv-shadow: 0 18px 50px rgba(11, 31, 58, 0.12);
  --nv-radius: 18px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--nv-ink);
  background: var(--nv-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(1120px, 92%); margin-inline: auto; }

/* Loader */
#nv-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--nv-navy);
  display: grid; place-items: center;
  transition: opacity .45s ease, visibility .45s ease;
}
#nv-loader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.nv-loader-mark {
  width: 88px; height: 88px; border-radius: 50%;
  border: 3px solid rgba(201,162,39,.25);
  border-top-color: var(--nv-gold);
  animation: spin 0.9s linear infinite;
  position: relative;
}
.nv-loader-mark img {
  position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px);
  border-radius: 50%; object-fit: cover; background: #fff; animation: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Floating actions */
.nv-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 80;
  display: flex; flex-direction: column; gap: 10px;
}
.nv-float a {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
  transition: transform .2s ease;
}
.nv-float a:hover { transform: translateY(-3px) scale(1.04); }
.nv-float .wa { background: var(--nv-green); }
.nv-float .call { background: var(--nv-navy); }
.nv-float svg { width: 24px; height: 24px; fill: currentColor; }

/* Reveal animations */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: .12s; }
.reveal.delay-2 { transition-delay: .24s; }
.reveal.delay-3 { transition-delay: .36s; }
.reveal.delay-4 { transition-delay: .48s; }

/* iPhone-style frosted glass panel */
.glass-panel {
  position: relative;
  width: min(560px, 100%);
  padding: clamp(1.25rem, 3.5vw, 2rem);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  color: #fff;
}
.glass-panel.dark {
  background: rgba(10, 18, 32, 0.42);
  border-color: rgba(255, 255, 255, 0.22);
}
.glass-panel.light {
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--nv-ink);
  box-shadow: 0 18px 50px rgba(11, 31, 58, 0.12), inset 0 1px 0 rgba(255,255,255,.8);
}
.glass-panel p { color: inherit; opacity: .92; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes softPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,162,39,.35); }
  50% { box-shadow: 0 0 0 14px rgba(201,162,39,0); }
}
@keyframes kenZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.anim-float { animation: floaty 5.5s ease-in-out infinite; }
.anim-pulse { animation: softPulse 2.8s ease-out infinite; }
.full-bleed-hero {
  width: 100%;
  min-height: 100svh;
  min-height: 100dvh;
  margin: 0;
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
}
@media (max-width: 640px) {
  .glass-panel {
    width: 100%;
    border-radius: 22px;
    padding: 1.15rem 1.1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .anim-float, .anim-pulse, .hub-hero-bg, .fin-hero .bg, .cur-hero .bg, .chai-hero .hero-video {
    animation: none !important;
  }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0.9rem 1.4rem; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 600; letter-spacing: .01em; transition: .2s ease;
}
.btn-gold { background: linear-gradient(135deg, #d4af37, #b8860b); color: #1a1508; }
.btn-gold:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-navy { background: var(--nv-navy); color: #fff; }
.btn-outline {
  background: transparent; border: 1.5px solid currentColor; color: inherit;
}
.btn-red { background: var(--nv-red); color: #fff; }

.site-footer {
  background: var(--nv-navy); color: rgba(255,255,255,.86);
  padding: 3rem 0 1.5rem; margin-top: 4rem;
}
.site-footer a { color: var(--nv-gold); }
.footer-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.footer-copy {
  margin-top: 2rem; padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .9rem; opacity: .75;
}

@media (max-width: 720px) {
  .nv-float { right: 12px; bottom: 12px; }
  .nv-float a { width: 48px; height: 48px; }
}
