/* =========================================================
   Blue Dot Property — shared styles
   Deep navy & antique gold · editorial serif + refined sans
   ========================================================= */

:root {
  --navy-950: #06182E;
  --navy-900: #0A2540;
  --navy-800: #11315C;
  --navy-700: #1B3A6B;
  --navy-600: #2C4F8A;
  --gold: #C9A961;
  --gold-bright: #D4AF37;
  --gold-soft: #E8D9A8;
  --cream: #FAF7F0;
  --cream-warm: #F5EFDF;
  --white: #FFFFFF;
  --ink: #15171A;
  --muted: #5A6478;
  --line: rgba(10, 37, 64, 0.12);
  --line-on-dark: rgba(201, 169, 97, 0.25);
  --shadow-soft: 0 10px 40px rgba(10, 37, 64, 0.08);
  --shadow-strong: 0 30px 80px rgba(10, 37, 64, 0.18);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ===== Scroll snap container ===== */
.deck {
  height: 100vh;
  height: 100svh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.deck::-webkit-scrollbar { display: none; }

.scene {
  min-height: 100vh;
  min-height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(70px, 9vh, 110px) clamp(20px, 6vw, 80px);
  overflow: hidden;
}
.scene-inner {
  width: 100%;
  max-width: 1200px;
  position: relative;
  z-index: 2;
}

/* ===== Top nav ===== */
.topnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 6vw, 40px);
  background: linear-gradient(to bottom, rgba(10,37,64,0.55), transparent);
  backdrop-filter: blur(2px);
  color: var(--white);
  transition: background 0.3s ease;
}
.topnav.solid {
  background: rgba(10, 37, 64, 0.92);
  backdrop-filter: blur(12px);
}
body.admin-bar .topnav { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .topnav { top: 46px; }
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: inherit;
  text-decoration: none;
}
.logo-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.2);
  flex-shrink: 0;
}
.nav-links {
  display: none;
  gap: 28px;
  align-items: center;
  margin-left: auto;
  margin-right: 24px;
}
@media (min-width: 700px) {
  .nav-links { display: flex; }
}
.nav-link {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}
.nav-link:hover { color: var(--gold); }
.nav-link.current { color: var(--gold); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--navy-900);
  background: var(--gold);
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.nav-cta:hover {
  background: var(--gold-bright);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(201, 169, 97, 0.4);
}

/* ===== Side scroll dots (desktop) ===== */
.dots {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: none;
  flex-direction: column;
  gap: 14px;
}
@media (min-width: 900px) {
  .dots { display: flex; }
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.5);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.dot.dark { border-color: rgba(10, 37, 64, 0.3); }
.dot.active { background: var(--gold); border-color: var(--gold); transform: scale(1.3); }
.dot:hover { border-color: var(--gold); }

/* ===== Floating WhatsApp button ===== */
.whatsapp-fab {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.38), 0 4px 12px rgba(0, 0, 0, 0.18);
  border: 2px solid var(--gold);
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.3s ease, background 0.2s ease, box-shadow 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.85);
}
.whatsapp-fab.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.whatsapp-fab:hover {
  transform: scale(1.08);
  background: #20BD5A;
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.5), 0 6px 16px rgba(0, 0, 0, 0.22);
}
.whatsapp-fab::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  opacity: 0;
  pointer-events: none;
  animation: ringPulse 2.6s ease-out infinite;
}
.whatsapp-fab svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
  position: relative;
  z-index: 1;
}
@keyframes ringPulse {
  0% { transform: scale(0.92); opacity: 0; }
  25% { opacity: 0.7; }
  100% { transform: scale(1.55); opacity: 0; }
}
@media (min-width: 700px) {
  .whatsapp-fab {
    width: 62px;
    height: 62px;
    bottom: 32px;
    right: 32px;
  }
  .whatsapp-fab svg { width: 30px; height: 30px; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  min-height: 48px;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-900);
  box-shadow: 0 10px 30px rgba(201, 169, 97, 0.3);
}
.btn-primary:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(201, 169, 97, 0.4);
}
.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--gold);
}
.btn-ghost-dark {
  background: transparent;
  color: var(--navy-900);
  border: 1.5px solid var(--navy-900);
}
.btn-ghost-dark:hover {
  background: var(--navy-900);
  color: var(--white);
}
.btn-arrow { transition: transform 0.25s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ===== Type ===== */
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.eyebrow.dark { color: var(--navy-700); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
}
h1 {
  font-size: clamp(2.5rem, 8vw, 5.25rem);
  font-weight: 500;
}
h2 {
  font-size: clamp(2rem, 6vw, 3.75rem);
  font-weight: 500;
}
h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
}
.lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 560px;
}
.lede.light {
  color: rgba(255,255,255,0.78);
}

/* Decorative gold rule */
.rule-gold {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 28px 0;
}

/* Scene number indicators — retired from the design */
.scene-num { display: none; }

/* ===== Hero (shared bones) ===== */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-content { max-width: 760px; }
.hero-content h1 { margin-bottom: 24px; }
.hero-content h1 .gold-italic {
  font-style: italic;
  color: var(--gold-soft);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
.hero-meta {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px 48px;
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
}
.hero-meta strong {
  display: block;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 500;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.scroll-cue {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-cue::after {
  content: '';
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(201,169,97,0.8), transparent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; height: 32px; }
  50% { opacity: 1; height: 48px; }
}

/* ===== Contact cards (final scenes) ===== */
.contact-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 480px;
  margin: 0 auto 36px;
}
@media (min-width: 600px) {
  .contact-row { grid-template-columns: 1fr 1fr; }
}
.contact-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-on-dark);
  border-radius: 14px;
  padding: 18px 20px;
  text-decoration: none;
  color: var(--white);
  text-align: left;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact-card:hover {
  background: rgba(201, 169, 97, 0.08);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.contact-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(201, 169, 97, 0.15);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2px;
}
.contact-value {
  font-weight: 600;
  font-size: 0.95rem;
}
.final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.footer-line {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--line-on-dark);
  color: rgba(255,255,255,0.45);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-align: center;
}
.footer-line .logo-mini { color: var(--gold); }

/* ===== Plain pages (posts, generic pages) ===== */
body.bluedot-plain .topnav {
  background: rgba(10, 37, 64, 0.92);
  backdrop-filter: blur(12px);
}
.plain-page {
  min-height: 100vh;
  background: var(--cream);
  padding: 150px 24px 90px;
}
.plain-inner {
  max-width: 760px;
  margin: 0 auto;
}
.plain-title {
  font-family: var(--serif);
  color: var(--navy-900);
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 24px;
}
.plain-title a { text-decoration: none; color: inherit; }
.plain-content {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.7;
}
.plain-content p { margin-bottom: 18px; }
.plain-content a { color: var(--navy-700); }
.plain-content h2, .plain-content h3 {
  color: var(--navy-900);
  margin: 32px 0 14px;
}
article + article { margin-top: 56px; }

/* ===== Reveal-on-view ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.15s; }
.reveal.delay-2 { transition-delay: 0.3s; }
.reveal.delay-3 { transition-delay: 0.45s; }
.reveal.delay-4 { transition-delay: 0.6s; }

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue::after, .whatsapp-fab::before { animation: none; }
  html, .deck { scroll-behavior: auto; }
}

/* ===== Shared mobile tweaks ===== */
@media (max-width: 700px) {
  .scene { padding: 70px 20px 60px; }
  .hero-meta { gap: 16px 28px; margin-top: 32px; }
  .hero-meta strong { font-size: 1.35rem; }
  .scroll-cue { bottom: 24px; font-size: 0.65rem; }
  .scroll-cue::after { height: 22px; }
  h1 { font-size: clamp(2.1rem, 9vw, 3rem); }
  h2 { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  .lede { font-size: 1rem; }
  .rule-gold { margin: 20px 0; }
}
@media (max-width: 380px) {
  .hero-meta { font-size: 0.8rem; }
}
