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

:root {
  --ink: #0e0e0e;
  --parchment: #f5f0e8;
  --cream: #faf7f2;
  --gold: #b8973a;
  --gold-light: #d4af5a;
  --gold-pale: #f0e6c8;
  --muted: #6b6560;
  --rule: #d8d0c0;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 64px;
  background: rgba(250,247,242,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s, padding 0.4s;
}
nav.scrolled { border-color: var(--rule); padding: 18px 64px; }
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem; font-weight: 500; letter-spacing: 0.08em;
  color: var(--ink); text-decoration: none;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 44px; list-style: none; }
.nav-links a {
  font-size: 0.67rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; font-weight: 500;
  transition: color 0.25s; padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); border-color: var(--gold); }

/* ── PAGE HEADER (subpages) ── */
.page-header {
  padding: 180px 64px 100px;
  background: var(--parchment);
  position: relative; overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute; bottom: 0; left: 64px; right: 64px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.35;
}
.ph-eyebrow {
  font-size: 0.63rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 24px;
  opacity: 0; animation: fadeUp 0.9s 0.2s forwards;
}
.ph-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 5.5vw, 5rem); font-weight: 300; line-height: 1.08;
  opacity: 0; animation: fadeUp 0.9s 0.4s forwards; max-width: 700px;
}
.ph-title em { font-style: italic; color: var(--gold); }
.ph-sub {
  font-size: 0.83rem; line-height: 1.9; color: var(--muted);
  max-width: 560px; margin-top: 28px;
  opacity: 0; animation: fadeUp 0.9s 0.6s forwards;
}

/* ── DIVIDER ── */
.divider {
  display: flex; align-items: center; gap: 20px; padding: 0 64px; margin: 8px 0;
}
.divider-line { flex: 1; height: 1px; background: var(--rule); }
.divider-mark { width: 6px; height: 6px; border: 1px solid var(--gold); transform: rotate(45deg); flex-shrink: 0; }

/* ── SECTION BASE ── */
section { padding: 100px 64px; }
.section-label {
  font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 16px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 300; line-height: 1.15; margin-bottom: 24px;
}
.section-body { font-size: 0.82rem; line-height: 1.95; color: var(--muted); max-width: 620px; }
.section-body + .section-body { margin-top: 16px; }

/* ── BUTTONS ── */
.btn-primary {
  padding: 14px 40px; background: var(--gold); color: #fff;
  border: none; font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 500; cursor: pointer; text-decoration: none;
  transition: background 0.25s, transform 0.2s; display: inline-block;
}
.btn-primary:hover { background: #9e7e2e; transform: translateY(-1px); }
.btn-outline {
  padding: 13px 38px; background: transparent;
  border: 1px solid var(--gold); color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 500; cursor: pointer; text-decoration: none;
  transition: background 0.25s, color 0.25s; display: inline-block;
}
.btn-outline:hover { background: var(--gold); color: #fff; }

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

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

/* ── FOOTER ── */
footer {
  background: var(--ink); color: rgba(250,247,242,0.35);
  padding: 48px 64px;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  align-items: center; gap: 20px;
  font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 500; color: var(--gold-light); letter-spacing: 0.1em;
}
.footer-center { text-align: center; }
.footer-links { display: flex; gap: 28px; justify-content: flex-end; }
.footer-links a { color: rgba(250,247,242,0.35); text-decoration: none; transition: color 0.25s; }
.footer-links a:hover { color: var(--gold-light); }

/* ── DARK SECTION ── */
.dark-section { background: var(--ink); color: var(--cream); }
.dark-section .section-title { color: var(--cream); }
.dark-section .section-body { color: rgba(250,247,242,0.5); }
.dark-section .section-label { color: var(--gold-light); }

/* ── PARCHMENT SECTION ── */
.parchment-section { background: var(--parchment); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  nav, nav.scrolled { padding: 20px 36px; }
  .page-header { padding: 150px 36px 80px; }
  section { padding: 70px 36px; }
  .divider { padding: 0 36px; }
  footer { grid-template-columns: 1fr; text-align: center; padding: 36px; }
  .footer-links { justify-content: center; }
}
@media (max-width: 600px) {
  nav, nav.scrolled { padding: 16px 24px; }
  .nav-links { gap: 20px; }
  .page-header { padding: 120px 24px 60px; }
  section { padding: 56px 24px; }
  .divider { padding: 0 24px; }
}
