:root {
  --ink: #faf7f2;
  --surface: #f3ede3;
  --card: #ece6d9;
  --card2: #e8e1d4;
  --gold: #a0620a;
  --amber: #b87216;
  --cream: #2c1f0e;
  --muted: #7a6a55;
  --text: #3d2e1a;
  --border: rgba(140,90,20,0.18);
  --border2: rgba(140,90,20,0.09);
  --green: #2a7a4f;
  --nav-bg: rgba(250,247,242,0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Crimson Pro', Georgia, serif;
  background: var(--ink);
  color: var(--text);
  min-height: 100vh;
  font-size: 18px;
  line-height: 1.7;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem; height: 64px;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; color: var(--gold);
  letter-spacing: 0.04em; text-decoration: none;
  line-height: 1.2;
}
.nav-logo span {
  display: block; font-size: 0.55rem;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); font-style: normal;
}
.nav-links { display: flex; gap: 1.8rem; list-style: none; align-items: center; }
.nav-links a {
  font-family: 'JetBrains Mono', monospace; font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

/* PAGE HEADER */
.page-header {
  padding: 130px 5vw 4.5rem;
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--ink) 60%, #f0e8d8 100%);
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 90% at 92% 50%, rgba(160,98,10,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-label {
  font-family: 'JetBrains Mono', monospace; font-size: 0.68rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.7rem;
}
.page-label::before { content: ''; width: 26px; height: 1px; background: var(--gold); display: inline-block; }
.page-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  color: var(--cream); line-height: 1.1; margin-bottom: 1.1rem;
}
.page-title em { font-style: italic; color: var(--gold); }
.page-intro { max-width: 680px; font-size: 1.05rem; color: var(--muted); font-style: italic; line-height: 1.85; }

/* SHARED UTILS */
.section { padding: 5.5rem 5vw; }
.section + .section { border-top: 1px solid var(--border2); }

.label {
  font-family: 'JetBrains Mono', monospace; font-size: 0.65rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  color: var(--cream); margin-bottom: 2.5rem; line-height: 1.18;
}
.section-title em { font-style: italic; color: var(--gold); }

.btn {
  font-family: 'JetBrains Mono', monospace; font-size: 0.7rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.65rem 1.5rem; border-radius: 3px;
  text-decoration: none; transition: all 0.2s; display: inline-block; cursor: pointer;
}
.btn-primary { background: var(--gold); color: #faf7f2; border: none; }
.btn-primary:hover { background: var(--amber); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--gold); border: 1px solid var(--gold); }
.btn-outline:hover { background: rgba(160,98,10,0.08); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid rgba(122,106,85,0.35); }
.btn-ghost:hover { color: var(--text); border-color: var(--muted); }

.tag {
  font-family: 'JetBrains Mono', monospace; font-size: 0.6rem;
  letter-spacing: 0.09em; text-transform: uppercase;
  padding: 0.25rem 0.65rem; border-radius: 2px;
  border: 1px solid rgba(160,98,10,0.28); color: var(--gold);
  display: inline-block;
}
.tag-list { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.2rem; }

/* FOOTER */
footer {
  padding: 2.5rem 5vw;
  display: flex; align-items: center; justify-content: space-between;
  font-family: 'JetBrains Mono', monospace; font-size: 0.68rem;
  color: var(--muted); letter-spacing: 0.07em;
  border-top: 1px solid var(--border); flex-wrap: wrap; gap: 1rem;
  background: var(--surface);
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--gold); }

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; } 50% { opacity: 0.35; }
}

@media (max-width: 700px) {
  nav { padding: 0 1.2rem; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.65rem; }
  .section { padding: 4rem 1.3rem; }
  .page-header { padding: 110px 1.3rem 3rem; }
}
