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

html, body {
  background: #F5F0E8;
  font-family: 'DM Mono', monospace;
  color: #1a1a1a;
  min-height: 100vh;
}

body { overflow-x: hidden; overflow-y: auto; }

nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  padding: 20px 28px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 28px;
  z-index: 25;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: linear-gradient(to bottom, #F5F0E8 0%, #F5F0E8 70%, transparent 100%);
}

nav a {
  color: #1a1a1a;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

nav a:hover { opacity: 1; }
nav a.active { opacity: 1; font-weight: 400; }

/* Projects dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > span {
  color: #1a1a1a;
  opacity: 0.7;
  cursor: default;
  transition: opacity 0.2s ease;
}

.nav-dropdown:hover > span,
.nav-dropdown:focus-within > span {
  opacity: 1;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 4px;
  padding: 8px 0;
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 6px 16px;
  color: #F5F0E8;
  opacity: 0.8;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.nav-dropdown-menu a:hover {
  opacity: 1;
}

h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

a {
  color: #1a1a1a;
}
