:root {
  --ink: #0a1628;
  --ink-soft: #1a2942;
  --paper: #f4f1ea;
  --paper-warm: #ebe6d9;
  --rule: #c9bfa8;
  --accent: #c8553d;
  --accent-deep: #a8412e;
  --gold: #b08940;
  --muted: #6b7280;
}

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

body {
  font-family: 'Inter Tight', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  pointer-events: none;
  z-index: 100;
  opacity: 0.6;
  mix-blend-mode: multiply;
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1.25rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(12px);
  background: rgba(244, 241, 234, 0.78);
  border-bottom: 1px solid rgba(10, 22, 40, 0.08);
}

.logo {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--ink);
}
.logo-mark {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--accent), var(--ink) 80%);
  display: inline-block;
}

.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  height: 1px; width: 0;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 0.85rem;
  transition: background 0.3s;
}
.nav-cta:hover { background: var(--accent) !important; }
.nav-cta::after { display: none !important; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  max-width: 1500px;
  margin: 0 auto;
  padding: 7rem 2.5rem 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.breadcrumb a { color: var(--muted); text-decoration: none; transition: color 0.3s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { margin: 0 0.75rem; color: var(--rule); }
.breadcrumb .current { color: var(--ink); }

/* ===== PAGE HERO ===== */
.page-hero {
  max-width: 1500px;
  margin: 0 auto;
  padding: 3rem 2.5rem 5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 5rem;
  align-items: end;
}
.hero-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-label::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--accent);
}
.page-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(3rem, 6.5vw, 5.75rem);
  line-height: 0.98;
  font-weight: 300;
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
}
.page-hero h1 em { font-style: italic; color: var(--accent); }
.page-hero .lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 580px;
}

.hero-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding-bottom: 1rem;
}
.meta-card {
  background: var(--paper-warm);
  padding: 1.5rem;
  border-radius: 4px;
  border: 1px solid var(--rule);
}
.meta-card .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.meta-card .value {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ===== SECTION LABEL ===== */
.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-label::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--accent);
}

/* ===== DARK BAND ===== */
.dark-band {
  background: var(--ink);
  color: var(--paper);
  padding: 6rem 2.5rem;
}
.dark-band-inner {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}
.dark-band .section-label { color: var(--accent); }
.dark-band h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.dark-band h2 em { font-style: italic; color: var(--accent); }
.dark-band .text p {
  color: rgba(244, 241, 234, 0.78);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.dark-band .text p:last-child { margin-bottom: 0; }
.dark-band .text strong { color: var(--paper); font-weight: 500; }

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  padding: 1rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s;
}
.btn-primary:hover { background: var(--accent); transform: translateX(4px); }
.btn-primary svg { transition: transform 0.3s; }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-secondary {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}
.btn-secondary:hover { color: var(--accent); border-color: var(--accent); }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s, gap 0.3s;
}
.back-link:hover { color: var(--accent); gap: 0.75rem; }

/* ===== CTA ===== */
.cta {
  padding: 6rem 2.5rem;
  max-width: 1500px;
  margin: 0 auto;
  text-align: center;
}
.cta .section-label { justify-content: center; }
.cta h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.cta h2 em { font-style: italic; color: var(--accent); }
.cta p {
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
  line-height: 1.65;
}

/* ===== FOOTER ===== */
footer {
  background: var(--ink);
  color: rgba(244, 241, 234, 0.7);
  padding: 4rem 2.5rem 2rem;
}
.footer-inner {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(244, 241, 234, 0.12);
}
.footer-brand .logo { color: var(--paper); margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.65; max-width: 320px; }
.footer-col h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.footer-col a {
  display: block;
  color: rgba(244, 241, 234, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--paper); }
.footer-bottom {
  max-width: 1500px;
  margin: 2rem auto 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(244, 241, 234, 0.45);
}

/* ===== REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  nav { padding: 1rem 1.25rem; }
  .nav-links { gap: 1.25rem; }
  .nav-links a:not(.nav-cta) { display: none; }
  .breadcrumb { padding: 6rem 1.25rem 0; }
  .page-hero { grid-template-columns: 1fr; gap: 3rem; padding: 2rem 1.25rem 4rem; }
  .hero-meta-grid { grid-template-columns: 1fr 1fr; }
  .dark-band { padding: 4rem 1.25rem; }
  .dark-band-inner { grid-template-columns: 1fr; gap: 2rem; }
  .cta { padding: 4rem 1.25rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; }
}
