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

:root {
  --espresso: #1c1209;
  --amber: #b87333;
  --amber-light: #d4954a;
  --parchment: #f5f0e8;
  --parchment-mid: #ede3d0;
  --parchment-dark: #dfd0b3;
  --muted: #7a6452;
  --white: #fefcf8;
  --danger: #8b2c1a;
}

html { scroll-behavior: smooth; }

body {
  background: var(--parchment);
  color: var(--espresso);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  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='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ── Nav ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, border-color 0.4s;
}
nav.scrolled {
  background: rgba(245, 240, 232, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--parchment-dark);
}
.nav-logo {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--espresso);
  letter-spacing: 0.02em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo span { color: var(--amber); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--espresso); }
.nav-cta {
  background: var(--espresso) !important;
  color: var(--parchment) !important;
  padding: 8px 20px !important;
  font-weight: 500 !important;
  letter-spacing: 0.06em !important;
  font-size: 0.75rem !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--amber) !important; }

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--espresso);
  color: var(--parchment);
  padding: 14px 32px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
}
.btn-primary:hover { background: var(--amber); transform: translateY(-1px); }
.btn-ghost {
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--parchment-dark);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--espresso); border-color: var(--muted); }

/* ── Layout ── */
.container { max-width: 1100px; margin: 0 auto; }
.container-narrow { max-width: 720px; margin: 0 auto; }
section { padding: 100px 40px; }

/* ── Typography ── */
.section-eyebrow {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Cormorant Garant', serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--espresso);
}
.section-title em { font-style: italic; color: var(--amber); }
.section-body {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 20px;
}

/* ── Page hero (inner pages) ── */
.page-hero {
  padding: 140px 40px 80px;
  background: var(--espresso);
  color: var(--parchment);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '❧';
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Cormorant Garant', serif;
  font-size: 14rem;
  color: rgba(184,115,51,0.08);
  pointer-events: none;
  line-height: 1;
}
.page-hero-eyebrow {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 0.7s 0.1s forwards;
}
.page-hero-title {
  font-family: 'Cormorant Garant', serif;
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  font-weight: 500;
  line-height: 1.08;
  color: var(--parchment);
  max-width: 680px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}
.page-hero-title em { font-style: italic; color: var(--amber); }
.page-hero-sub {
  margin-top: 20px;
  font-size: 1rem;
  color: rgba(245,240,232,0.6);
  max-width: 520px;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}

/* ── Amber rule ── */
.rule {
  display: flex;
  align-items: center;
  gap: 16px;
}
.rule::before, .rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--amber);
  opacity: 0.3;
}
.rule-text {
  font-family: 'Cormorant Garant', serif;
  font-size: 0.9rem;
  color: var(--amber);
}

/* ── Prose ── */
.prose {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--espresso);
}
.prose p { margin-bottom: 1.4em; }
.prose p:last-child { margin-bottom: 0; }
.prose h2 {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--espresso);
  margin: 2.5em 0 0.6em;
  line-height: 1.15;
}
.prose h3 {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--espresso);
  margin: 2em 0 0.5em;
}
.prose ul { padding-left: 1.2em; margin-bottom: 1.4em; }
.prose li { margin-bottom: 0.5em; }
.prose a { color: var(--amber); text-decoration: underline; }
.prose strong { font-weight: 500; }
.prose .lead {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2em;
  padding-bottom: 2em;
  border-bottom: 1px solid var(--parchment-dark);
}

/* ── Card ── */
.card {
  background: var(--white);
  border: 1px solid var(--parchment-dark);
  padding: 36px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
  background: var(--parchment-dark);
}
.card-grid .card { background: var(--white); }

/* ── Footer ── */
footer {
  background: var(--espresso);
  color: rgba(245,240,232,0.5);
  padding: 60px 40px 40px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--parchment);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-brand span { color: var(--amber); }
.footer-tagline { font-size: 0.82rem; line-height: 1.7; max-width: 280px; }
.footer-col-title {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.3);
  margin-bottom: 16px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.82rem;
  color: rgba(245,240,232,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--amber); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
}
.footer-fleuron { color: var(--amber); margin-right: 8px; }

/* ── Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s, transform 0.65s;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

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

/* ── Responsive ── */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .nav-links { display: none; }
  section { padding: 70px 24px; }
  .page-hero { padding: 110px 24px 60px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}
