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

:root {
  --bg: #0a0a0a;
  --text: #ede8df;
  --muted: #4a4a4a;
  --line: #1a1a1a;
  --gap: 5px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 48px;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

footer {
  padding: 28px 48px;
  border-top: 0.5px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-name {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-links { display: flex; gap: 32px; }

.footer-links a {
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover { color: var(--text); }

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  nav { padding: 16px 20px; flex-wrap: wrap; gap: 12px; }
  .nav-logo { font-size: 12px; flex: 1 1 auto; max-width: 100px; line-height: 1.2; }
  .nav-links { gap: 18px; flex-shrink: 0; }
  .nav-links a { font-size: 8px; letter-spacing: 0.15em; }
  footer { padding: 20px; flex-direction: column; gap: 12px; text-align: center; }
  .footer-links { gap: 20px; }
}
