:root {
  --black: #0a0a0a;
  --white: #fafafa;
  --grey: #888;
  --light-grey: #333;
  --accent: #c8b89a;
  --success: #6fcf97;
  --error: #eb5757;
  --font-serif: 'DM Serif Display', serif;
  --font-sans: 'DM Sans', sans-serif;
  --nav-height: 80px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  padding-top: var(--nav-height);
}

/* Noise 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: 1000;
  opacity: 0.4;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

p { margin-bottom: 1.5rem; }

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--white); }

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 120px 0; }

.grid { display: grid; gap: 40px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* Navigation */
nav {
  position: fixed;
  top: 24px;
  left: 24px;
  right: 24px;
  height: var(--nav-height);
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  background: rgba(10,10,10,0.85);
  transition: all 0.3s ease;
}

nav:hover {
  border-color: rgba(255,255,255,0.12);
  background: rgba(10,10,10,0.92);
}

.logo {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--white);
  text-decoration: none;
}

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  color: var(--grey);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--white);
  color: var(--black);
}
.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(200,184,154,0.25);
}

.btn-ghost {
  color: var(--grey);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
}
.btn-ghost:hover {
  color: var(--white);
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.2);
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

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

/* Footer */
footer {
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--grey);
  font-size: 14px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
}

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

.footer-links a {
  color: var(--grey);
  transition: color 0.2s;
  display: block;
  margin-bottom: 8px;
}

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

.footer-links h4 {
  font-family: var(--font-sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--white);
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-bottom {
  text-align: center;
  font-size: 12px;
  opacity: 0.6;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    top: 12px;
    left: 12px;
    right: 12px;
    padding: 0 20px;
  }
  
  .nav-links { display: none; }
  
  h1 { font-size: 48px !important; }
  .section { padding: 80px 0; }
  
  .footer-content { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { flex-direction: column; gap: 24px; }
}
