:root {
  --bg: #f4efe6;
  --bg-warm: #ebe3d4;
  --ink: #1a2a25;
  --ink-soft: #2c3e38;
  --muted: #6b7872;
  --line: #d8cfbe;
  --accent: #c8553d;
  --accent-deep: #a8412d;
  --leaf: #2d4a3e;
  --leaf-deep: #1a2a25;
  --cream: #fbf7ee;
  --gold: #c89b3c;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Be Vietnam Pro', sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.15 0 0 0 0 0.13 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 32px;
  background: rgba(244, 239, 230, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
nav.scrolled { border-bottom-color: var(--line); }

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.logo-dot {
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
}
.logo span.italic { font-style: italic; color: var(--leaf); }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.current { color: var(--accent); }
.nav-links a.current::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 100px;
}

.nav-cta {
  padding: 11px 22px;
  background: var(--ink);
  color: var(--cream);
  border: none;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-cta:hover { background: var(--accent); transform: translateY(-1px); }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: 0.3s; }

/* ===== BUTTONS ===== */
.btn-primary {
  padding: 16px 32px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 100px;
  border: none;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
}
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgba(200, 85, 61, 0.5); }
.btn-primary svg { transition: transform 0.25s ease; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost {
  padding: 16px 28px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); }

/* ===== PAGE HEADER ===== */
.page-header {
  position: relative;
  z-index: 2;
  padding: 160px 0 80px;
  text-align: center;
}
.page-header .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}
.page-header .eyebrow::before { content: '— '; }
.page-header h1 {
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 350;
  margin-bottom: 24px;
  line-height: 1.05;
}
.page-header h1 em { color: var(--accent); font-style: italic; font-variation-settings: 'SOFT' 100; }
.page-header h1 .leaf { color: var(--leaf); }
.page-header .lead {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ===== SECTIONS ===== */
section {
  position: relative;
  z-index: 2;
  padding: 100px 0;
}

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}
.section-eyebrow::before { content: '— '; }

.section-title {
  font-size: clamp(36px, 5vw, 64px);
  margin-bottom: 24px;
  font-weight: 350;
  max-width: 800px;
}
.section-title em { color: var(--accent); font-style: italic; font-variation-settings: 'SOFT' 100; }
.section-lead {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 600px;
  line-height: 1.55;
}

.section-head {
  margin-bottom: 60px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: end;
}

/* ===== CTA BLOCK (used on all subpages) ===== */
.cta-block {
  background: var(--ink);
  color: var(--cream);
  border-radius: 24px;
  padding: 64px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 80px auto;
  max-width: 1000px;
}
.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(200, 85, 61, 0.25), transparent 50%),
              radial-gradient(circle at 10% 90%, rgba(200, 155, 60, 0.15), transparent 50%);
  pointer-events: none;
}
.cta-block > * { position: relative; }
.cta-block h2 {
  color: var(--cream);
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 18px;
  font-weight: 350;
}
.cta-block h2 em { color: var(--accent); font-style: italic; }
.cta-block p {
  font-size: 17px;
  color: rgba(251, 247, 238, 0.75);
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.55;
}
.cta-block .btn-primary {
  background: var(--cream);
  color: var(--ink);
}
.cta-block .btn-primary:hover { background: var(--accent); color: var(--cream); }

/* ===== FOOTER ===== */
footer {
  background: var(--ink);
  color: rgba(251, 247, 238, 0.65);
  padding: 60px 0 32px;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(251, 247, 238, 0.1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}
.footer-about {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 18px;
  max-width: 320px;
}
footer .logo { color: var(--cream); }
footer .logo span.italic { color: var(--gold); }
.footer-col h4 {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(251, 247, 238, 0.65);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(251, 247, 238, 0.1);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 16px;
}

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE BASE ===== */
@media (max-width: 980px) {
  .section-head { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  nav { padding: 14px 20px; }
  .nav-links { display: none; position: fixed; top: 70px; left: 0; right: 0; background: var(--cream); flex-direction: column; padding: 24px; gap: 18px; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-cta { display: none; }
  .mobile-toggle { display: block; }
  section { padding: 70px 0; }
  .page-header { padding: 120px 0 50px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-block { padding: 44px 28px; margin: 50px auto; }
}
