:root {
  --navy: #05070b;
  --navy-2: #0c121c;
  --gold: #c9a765;
  --gold-soft: #a8895a;
  --ink: #e9e6dd;
  --ink-dim: #8b93a0;
  --ink-faint: #565d69;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--navy);
  color: var(--ink);
  font-family: 'Jost', sans-serif;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

.glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(45% 40% at 50% 42%, rgba(201, 167, 101, 0.09), transparent 70%),
    radial-gradient(90% 70% at 50% 100%, rgba(18, 34, 52, 0.55), transparent 70%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy) 100%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  animation: rise 1.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 1;
  margin: 0;
  letter-spacing: 0.01em;
}

h1 em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(120deg, var(--gold-soft), var(--gold) 45%, #f0dfb0 60%, var(--gold) 75%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  font-size: 0.9rem;
  color: var(--ink-dim);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 1.75rem 0 0;
}

.footer {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  text-align: center;
  padding: 2rem 1.5rem 2.5rem;
}

.docs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.6rem 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.docs-label {
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.docs a {
  color: var(--ink-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.docs a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.credit {
  font-size: 0.72rem;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}

.credit a {
  color: var(--ink-faint);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.3s ease;
}

.credit a:hover { color: var(--gold); }

.divider { margin: 0 0.6em; opacity: 0.5; }

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