
/* ── default theme (portland nature palette) ── */
:root {
  --bg:             #070b0e;
  --bg2:            #0c1215;
  --accent:         #3e6840;
  --accent-dim:     #233d24;
  --accent-bright:  #6aada5;
  --accent-2:       #6a7e28;
  --accent-3:       #3a6a8a;
  --text:           #d4dfe8;
  --text-dim:       #3a5258;
  --text-muted:     #2a3a3d;
  --font-display:   'Josefin Sans', sans-serif;
  --font-body:      'Cormorant Garamond', Georgia, serif;
  --font-mono:      'Inconsolata', monospace;
}

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

html { background: var(--bg); scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── nav ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 24px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(7,11,14,0.7) 0%, transparent 100%);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-mark svg {
  width: 22px;
  height: 44px;
  overflow: visible;
}

.nav-wordmark {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 200;
  letter-spacing: 0.35em;
  color: var(--text);
  opacity: 0.85;
}

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

.nav-links a {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--accent-bright); }

/* ── footer ── */
.site-footer {
  position: relative;
  z-index: 10;
  padding: 40px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 200;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

/* ── grain overlay (shared) ── */
body::after {
  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='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 100;
}

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