@font-face {
  font-family: 'Chomsky';
  src: url('../fonts/chomsky-webfont.woff2') format('woff2'),
       url('../fonts/chomsky-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink:    #e8e2d9;
  --cream:  #0d0d0d;
  --silver: #c0c0c8;
  --muted:  #d8d0c4;
}

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

body {
  min-height: 100vh;
  background-color: var(--cream);
  background-image:
    radial-gradient(ellipse at 20% 20%, rgba(192,192,200,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(192,192,200,0.04) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lato', sans-serif;
  color: var(--ink);
}

/* ── Navigation ── */
.site-nav {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 100;
}

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--silver);
  opacity: 0.55;
  transition: opacity 0.2s;
}
.hamburger:hover span { opacity: 0.9; }

.nav-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: #1a1a1a;
  border: 1px solid rgba(192,192,200,0.15);
  padding: 0.5rem 0;
  min-width: 140px;
}
.nav-menu.open { display: flex; }

.nav-menu a {
  padding: 0.55rem 1.25rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-menu a:hover { color: var(--ink); }

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