@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=DM+Mono:wght@300;400&display=swap');

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

:root {
  --ink: #1a1916;
  --paper: #f4f0e8;
  --rule: #c8c0ae;
  --accent: #8b3a2a;
  --muted: #6b6660;
  --serif: 'Playfair Display', Georgia, serif;
  --mono: 'DM Mono', 'Courier New', monospace;
}

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-weight: 300;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* NAV */
nav {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 2.5rem 0 0;
  opacity: 0;
  animation: fadeUp 0.5s ease forwards;
}

nav .nav-home {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

nav .nav-home:hover { color: var(--paper); }

nav .nav-line {
  flex: 1;
  height: 1px;
  background: var(--rule);
  opacity: 0.3;
  margin: 0 1.5rem;
}

nav .nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav .nav-links a {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

nav .nav-links a.active {
  border-bottom: 1px solid var(--accent);
  padding-bottom: 0.1rem;
}

/* SHARED SECTION LABEL */
.section-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 2.5rem 0 1rem;
}

/* FOOTER */
.footer {
  padding: 2rem 0 3rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid rgba(200,192,174,0.2);
  margin-top: 0;
}

.footer-left {
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  line-height: 1.8;
}

.footer-right {
  font-family: var(--serif);
  font-size: 0.8rem;
  font-style: italic;
  color: rgba(200,192,174,0.3);
  text-align: right;
}

a { color: inherit; }

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

.anim-1 { opacity: 0; animation: fadeUp 0.6s ease 0.1s forwards; }
.anim-2 { opacity: 0; animation: fadeUp 0.6s ease 0.25s forwards; }
.anim-3 { opacity: 0; animation: fadeUp 0.6s ease 0.4s forwards; }
.anim-4 { opacity: 0; animation: fadeUp 0.6s ease 0.55s forwards; }
.anim-5 { opacity: 0; animation: fadeUp 0.6s ease 0.7s forwards; }

@media (max-width: 600px) {
  .footer { flex-direction: column; gap: 1rem; align-items: flex-start; }
}
