@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700&family=Barlow:wght@300;400;500;600&family=Barlow+Condensed:wght@600;700;800;900&display=swap');

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

:root {
  --dark: #2E2420;
  --dark-mid: #3d3029;
  --cream: #E8D9C0;
  --cream-light: #F5EFE4;
  --brown-accent: #8B5E3C;
  --brown-light: #B8865A;
  --text-primary: #1a1410;
  --text-secondary: #5a4a3a;
  --text-muted: #9a8a7a;
  --border: rgba(46,36,32,0.12);
  --border-strong: rgba(46,36,32,0.25);
  --bg-warm: #FAF7F2;
  --bg-section: #F5F0E8;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 0.5px solid var(--border);
  padding: 0 2rem;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo {
  width: 36px;
  height: 36px;
  background: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo svg { width: 20px; height: 20px; }

.nav-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text-primary); }
.nav-links a.active { color: var(--brown-accent); }

.nav-cta {
  font-family: 'Barlow', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 20px;
  background: var(--dark);
  color: var(--cream);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--dark-mid); }

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

/* LAYOUT */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 5rem 0; }
section.tight { padding: 3rem 0; }

/* TYPOGRAPHY */
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brown-accent);
  margin-bottom: 1rem;
  display: block;
}

h1, h2, h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  color: var(--text-primary);
}

h1 { font-size: clamp(48px, 8vw, 80px); }
h2 { font-size: clamp(32px, 5vw, 52px); }
h3 { font-size: clamp(22px, 3vw, 30px); }

.serif { font-family: 'Playfair Display', serif; font-weight: 700; text-transform: none; line-height: 1.2; }

p { color: var(--text-secondary); line-height: 1.8; }
p + p { margin-top: 1rem; }

.text-large { font-size: 18px; }
.text-muted { color: var(--text-muted); }

/* BUTTONS */
.btn {
  display: inline-block;
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
}

.btn-primary {
  background: var(--dark);
  color: var(--cream);
}
.btn-primary:hover { background: var(--dark-mid); }

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: var(--bg-warm); }

.btn-accent {
  background: var(--brown-accent);
  color: #fff;
}
.btn-accent:hover { background: var(--brown-light); }

/* DIVIDER */
hr {
  border: none;
  border-top: 0.5px solid var(--border);
  margin: 0;
}

/* CARDS */
.card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
}

.card-warm {
  background: var(--bg-warm);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
}

/* GRID */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }

/* STAT */
.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 42px;
  color: var(--brown-accent);
  line-height: 1;
  margin-bottom: 6px;
}

/* QUOTE */
.blockquote {
  border-left: 3px solid var(--brown-accent);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
}

.blockquote-text {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  line-height: 1.6;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.blockquote-attr {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

/* DARK BAND */
.band-dark {
  background: var(--dark);
  color: var(--cream);
  padding: 4rem 0;
}

.band-dark h2 { color: var(--cream); }
.band-dark p { color: rgba(232,217,192,0.75); }
.band-dark .eyebrow { color: var(--brown-light); }

/* WARM BAND */
.band-warm { background: var(--bg-section); padding: 5rem 0; }

/* EMAIL CAPTURE */
.email-form {
  display: flex;
  gap: 8px;
  max-width: 420px;
}

.email-input {
  flex: 1;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  padding: 13px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  background: #fff;
  color: var(--text-primary);
  outline: none;
}

.email-input:focus { border-color: var(--brown-accent); }

.email-input::placeholder { color: var(--text-muted); }

/* FOOTER */
footer {
  background: var(--dark);
  color: var(--cream);
  padding: 3rem 0 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 0.5px solid rgba(232,217,192,0.15);
  margin-bottom: 2rem;
}

.footer-brand-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(232,217,192,0.6);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(232,217,192,0.5);
  margin-bottom: 1rem;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  font-size: 14px;
  color: rgba(232,217,192,0.75);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--cream); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 12px;
  color: rgba(232,217,192,0.4);
}

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp 0.6s ease forwards; }
.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }
.delay-4 { animation-delay: 0.4s; opacity: 0; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 0.5px solid var(--border);
    padding: 1rem 2rem;
    gap: 1rem;
  }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .email-form { flex-direction: column; }
  h1 { font-size: clamp(38px, 10vw, 64px); }
}

@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .container, .container-narrow { padding: 0 1.25rem; }
}
