/*
 * Neema Law Consult — Coming Soon
 */

:root {
  --navy-950: #060f1f;
  --navy-900: #0a1b33;
  --navy-800: #102a4d;
  --gold: #cd9557;
  --gold-light: #e6bd85;
  --cream: #f6f1e9;
  --muted: #9fb0c7;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--navy-900);
  color: var(--cream);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* faint hairline grid texture for depth */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(246, 241, 233, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 241, 233, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 30%, black, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.bg-decor {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-decor svg {
  position: absolute;
  top: 50%;
  right: -8%;
  transform: translateY(-50%);
  width: min(60vw, 780px);
  height: auto;
  opacity: 0.06;
}

@media (max-width: 767px) {
  .bg-decor svg {
    right: 50%;
    top: 8%;
    transform: translate(50%, 0);
    width: 140vw;
  }
}

.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
}

.hero-inner {
  max-width: 40rem;
  width: 100%;
}

.brand {
  margin-bottom: 2.75rem;
  opacity: 0;
  animation: fade-up 0.9s ease-out 0.1s forwards;
}

.brand .logo {
  width: 200px;
  max-width: 60vw;
  height: auto;
  display: inline-block;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.35));
}

.eyebrow {
  opacity: 0;
  animation: fade-up 0.9s ease-out 0.25s forwards;
  margin: 0 0 1.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 500;
}

h1 {
  opacity: 0;
  animation: fade-up 0.9s ease-out 0.4s forwards;
  font-family: 'Playfair Display', 'Merriweather', Georgia, serif;
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.25;
  margin: 0 0 1.4rem;
  color: var(--cream);
}

h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.lede {
  opacity: 0;
  animation: fade-up 0.9s ease-out 0.55s forwards;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 32rem;
  margin: 0 auto 2.5rem;
  font-weight: 300;
}

.divider {
  opacity: 0;
  animation: fade-up 0.9s ease-out 0.7s forwards, glow 3s ease-in-out 1.8s infinite;
  width: 3.5rem;
  height: 2px;
  margin: 0 auto 2.5rem;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.contact {
  opacity: 0;
  animation: fade-up 0.9s ease-out 0.85s forwards;
}

.contact-label {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 1.75rem;
  border: 1px solid rgba(205, 149, 87, 0.45);
  border-radius: 999px;
  color: var(--cream);
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.01em;
  background: rgba(205, 149, 87, 0.06);
  transition: all 0.3s ease;
}

.contact-link svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold-light);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.contact-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-950);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(205, 149, 87, 0.25);
}

.contact-link:hover svg {
  stroke: var(--navy-950);
  transform: translateX(2px);
}

footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.75rem 1.5rem 2.25rem;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: rgba(159, 176, 199, 0.6);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glow {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand, .eyebrow, h1, .lede, .divider, .contact {
    animation: none;
    opacity: 1;
  }
}
