/* Coming Soon - Minimal, Elegant, Animated Background */
:root {
  --bg: #0b1014;
  --overlay-1: rgba(10, 40, 38, 0.76); /* deep green tint for brand */
  --overlay-2: rgba(6, 28, 27, 0.52);
  --gold: #c9a96e;
  --text: #ede7d6; /* warm ivory like emblem */
  --text-dim: rgba(237, 231, 214, 0.92);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Full-bleed hero with animated background */
.hero {
  position: relative;
  isolation: isolate; /* dedicated stacking context */
  min-height: 100vh;
  width: 100%;
  display: grid;
  place-items: center;
  overflow: hidden; /* ensures no stray scrollbars */
  text-align: center;
  /* defaults for transform variables used by ::before */
  --tx: 0px;
  --ty: 0px;
  --scale: 1.1;
  --rot: 0deg;
}

/* Background image with Ken Burns animation */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: url('images/hero-optimized.jpg') center center / cover no-repeat;
  filter: saturate(1.05) contrast(1.05) brightness(0.88);
  will-change: transform;
  animation: kb 22s ease-in-out infinite alternate;
  z-index: 0;
}

/* Subtle moving light overlays to add modern motion */
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 800px at 20% 30%, rgba(255,255,255,0.08), transparent 60%),
    radial-gradient(1200px 800px at 80% 70%, rgba(255,255,255,0.08), transparent 60%),
    linear-gradient(135deg, var(--overlay-1), var(--overlay-2));
  animation: gradientMove 48s ease-in-out infinite alternate;
  z-index: 2;
}

@keyframes kb {
  0% {
    transform: translate3d(calc(var(--tx) - 30px), calc(var(--ty) - 20px), 0) scale(1.1) rotate(-0.25deg);
  }
  100% {
    transform: translate3d(calc(var(--tx) + 30px), calc(var(--ty) + 20px), 0) scale(1.26) rotate(0.25deg);
  }
}

@keyframes gradientMove {
  0% { background-position: 0% 0%, 100% 100%, center; }
  100% { background-position: 100% 100%, 0% 0%, center; }
}

@keyframes verseGlow {
  0% {
    box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 20px rgba(201,169,110,0.1);
    border-color: rgba(201,169,110,0.25);
  }
  100% {
    box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 30px rgba(201,169,110,0.2);
    border-color: rgba(201,169,110,0.4);
  }
}

.bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3; /* above overlay for clearer visibility */
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.6;
}

/* Brand block */
.brand {
  position: relative;
  z-index: 4; /* above overlays and canvas */
  max-width: 900px;
  padding: 0 1.25rem;
}

.badge {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(201,169,110,0.65);
  background-color: rgba(0,0,0,0.28);
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 1rem;
  backdrop-filter: blur(2px);
  font-weight: 600;
}

.brand-logo {
  height: clamp(160px, 22vw, 260px); /* more prominent logo */
  width: auto;
  display: block;
  margin: 0 auto 1rem;
  filter: drop-shadow(0 10px 26px rgba(0,0,0,0.4));
}

.brand-title {
  margin: 0.25rem 0 0.5rem;
  font-family: 'Playfair Display', Georgia, 'Times New Roman', Times, serif;
  font-size: clamp(1.9rem, 2.4vw + 1rem, 3.2rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase; /* ensure ALL CAPS */
  line-height: 1.15;
  text-shadow: 0 8px 26px rgba(0,0,0,0.45);
  color: var(--text);
}

.divider {
  width: 88px;
  height: 1px;
  background: linear-gradient(90deg, rgba(201,169,110,0), rgba(201,169,110,0.85), rgba(201,169,110,0));
  margin: 1rem auto 1.25rem;
}

.tagline {
  font-size: clamp(1rem, 0.7vw + 0.9rem, 1.2rem);
  line-height: 1.8;
  color: var(--text-dim);
  max-width: 760px;
  margin: 0.5rem auto 0;
  font-weight: 300;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}

.verse {
  margin: 2.5rem auto 0;
  max-width: 900px;
  padding: 2rem 2.5rem;
  color: var(--gold);
  font-family: 'Playfair Display', Georgia, 'Times New Roman', Times, serif;
  font-style: italic;
  font-size: clamp(1.1rem, 1.2vw + 0.8rem, 1.4rem);
  font-weight: 400;
  line-height: 1.7;
  text-align: center;
  text-shadow: 0 3px 15px rgba(0,0,0,0.6);
  letter-spacing: 0.02em;
  position: relative;
  background: rgba(0,0,0,0.15);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  border: 1px solid rgba(201,169,110,0.25);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  animation: verseGlow 4s ease-in-out infinite alternate;
}

.verse::before {
  content: "\201C";
  position: absolute;
  top: -0.2rem;
  left: 1rem;
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.4;
  font-family: 'Playfair Display', serif;
  line-height: 1;
}

.verse::after {
  content: "\201D";
  position: absolute;
  bottom: -1.8rem;
  right: 1rem;
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.4;
  font-family: 'Playfair Display', serif;
  line-height: 1;
}

@media (max-width: 480px) {
  .tagline { font-size: 1rem; }
  
  .verse {
    margin: 2rem auto 0;
    padding: 1.5rem 1.8rem;
    font-size: 1rem;
  }
  
  .verse::before,
  .verse::after {
    font-size: 3rem;
  }
  
  .verse::before {
    top: -0.1rem;
    left: 0.5rem;
  }
  
  .verse::after {
    bottom: -1.5rem;
    right: 0.5rem;
  }
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after,
  .verse {
    animation: none !important;
    transform: none !important;
  }
}
