*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0e0e0e;
  --fg: #f0ece4;
  --accent: #c9a96e;
  --muted: #3a3a3a;
}

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  overflow: hidden;
  cursor: none;
}

/* Grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 100;
  opacity: 0.4;
}

/* Decorative lines */
.line-h {
  position: fixed;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--muted);
  opacity: 0.4;
}
.line-h.top { top: 48px; }
.line-h.bottom { bottom: 48px; }

.line-v {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--muted);
  opacity: 0.4;
}
.line-v.left { left: 48px; }
.line-v.right { right: 48px; }

/* Corner labels */
.corner {
  position: fixed;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 1.2s;
}
.corner.tl { top: 20px; left: 64px; }
.corner.tr { top: 20px; right: 64px; }
.corner.bl { bottom: 20px; left: 64px; }
.corner.br { bottom: 20px; right: 64px; }

/* Main layout */
main {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 64px;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transform: translateY(10px);
  animation: slideUp 0.8s ease forwards;
  animation-delay: 0.3s;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 400;
  line-height: 1;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 1s ease forwards;
  animation-delay: 0.6s;
}

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

.subtitle {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: #888;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  animation: slideUp 0.8s ease forwards;
  animation-delay: 0.9s;
}

.divider {
  width: 40px;
  height: 1px;
  background: var(--accent);
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
  animation-delay: 1.1s;
}

.cta {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--muted);
  padding-bottom: 3px;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
  animation-delay: 1.3s;
  transition: color 0.3s, border-color 0.3s;
}

.cta:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Custom cursor */
.cursor {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
  z-index: 999;
}

/* Animations */
@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}