/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-deep: #08090a;
  --bg-mid: #0f1117;
  --gold: #c9a84c;
  --gold-light: #ddc274;
  --gold-dim: rgba(201, 168, 76, 0.15);
  --text-primary: #e5e7eb;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(165deg, var(--bg-deep) 0%, var(--bg-mid) 50%, #0d1219 100%);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  position: relative;
}

/* ===== Background Glow ===== */
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-glow::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -20%;
  width: 70%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(201, 168, 76, 0.03) 0%, transparent 70%);
  animation: drift 20s ease-in-out infinite alternate;
}

.bg-glow::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -15%;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(201, 168, 76, 0.025) 0%, transparent 70%);
  animation: drift 25s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(5%, 3%) scale(1.05); }
}

/* ===== Layout ===== */
.container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  gap: 3rem;
  flex: 1;
  justify-content: center;
}

/* ===== Logo Group ===== */
.logo-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3.5rem, 8vw, 6rem);
  letter-spacing: 0.45em;
  text-indent: 0.45em;
  color: var(--text-primary);
  line-height: 1;
}

.logo-divider {
  width: 4.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1rem 0 0.8rem;
}

.logo-sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(0.75rem, 1.8vw, 0.95rem);
  letter-spacing: 0.35em;
  text-indent: 0.35em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* ===== Tagline ===== */
.tagline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--text-primary);
  line-height: 1.5;
  max-width: 36ch;
}

/* ===== Badge ===== */
.badge {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  padding: 0.6em 2em;
  padding-left: calc(2em + 0.3em);
  border-radius: 2px;
}

/* ===== Contact ===== */
.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.contact-label {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.contact-email {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  color: var(--gold);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.contact-email::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-light);
  transition: width 0.4s ease;
}

.contact-email:hover {
  color: var(--gold-light);
}

.contact-email:hover::after {
  width: 100%;
}

/* ===== Footer ===== */
.footer {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
  padding: 2rem 1.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.footer-line {
  width: min(280px, 60%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  margin-bottom: 1.2rem;
}

.footer p {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  line-height: 1.6;
}

/* ===== Reveal Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: calc(var(--delay, 0) * 0.18s + 0.3s);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 480px) {
  .container {
    gap: 2.2rem;
    padding: 1.5rem 1.25rem;
  }

  .logo-divider {
    width: 3rem;
  }

  .footer {
    padding: 1.5rem 1.25rem 2rem;
  }
}

/* ===== Accessibility ===== */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .bg-glow::before,
  .bg-glow::after {
    animation: none;
  }

  .contact-email::after {
    transition: none;
  }
}

/* ===== Selection ===== */
::selection {
  background: var(--gold-dim);
  color: var(--text-primary);
}
