@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Outfit:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ─── DESIGN TOKENS ─── */
:root {
  --white:        #ffffff;
  --off-white:    #f7f5f1;
  --warm-100:     #f0ece4;
  --warm-200:     #e6e0d4;
  --warm-300:     #cfc7b8;
  --text-900:     #1c1a17;
  --text-700:     #4a453d;
  --text-500:     #857e73;
  --text-300:     #b5afa6;

  --green-900:    #1a4731;
  --green-700:    #2d6a4f;
  --green-500:    #52b788;
  --green-200:    #b7e4c7;
  --green-100:    #d8f3dc;
  --green-50:     #f0faf4;

  --amber-700:    #b45309;
  --amber-500:    #d97706;
  --amber-100:    #fef3c7;
  --amber-50:     #fffbeb;

  --serif:   'Cormorant Garamond', Georgia, serif;
  --sans:    'Outfit', system-ui, sans-serif;
  --mono:    'JetBrains Mono', monospace;

  --r-sm:   4px;
  --r-md:   8px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-full: 9999px;

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.07);
  --shadow-md: 0 6px 20px rgba(0,0,0,0.09);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.11);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t:    0.2s var(--ease);
  --t-lg: 0.4s var(--ease);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: var(--sans); cursor: pointer; }

/* ─── LAYOUT ─── */
.container        { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 740px;  margin: 0 auto; padding: 0 24px; }
section           { padding: 88px 0; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-900);
}

.display-xl {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
}
.display-lg {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.display-md {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
}

em { font-style: italic; color: var(--green-700); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-300);
  margin-bottom: 12px;
  display: block;
}

.lead {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-700);
}

p { color: var(--text-700); line-height: 1.7; }

/* ─── NAVIGATION ─── */
#nav-container nav,
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--warm-200);
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--green-700);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-900);
  display: block;
  line-height: 1.1;
}
.logo-sub {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-300);
  display: block;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-700);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: var(--r-full);
  transition: all var(--t);
  white-space: nowrap;
}
.nav-links a:hover  { color: var(--green-700); background: var(--green-50); }
.nav-links a.active { color: var(--green-700); background: var(--green-100); }
.nav-cta {
  background: var(--green-700) !important;
  color: white !important;
  padding: 8px 20px !important;
  font-weight: 600 !important;
}
.nav-cta:hover {
  background: var(--green-900) !important;
  box-shadow: 0 4px 16px rgba(45,106,79,0.3) !important;
  transform: translateY(-1px) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-900);
  border-radius: 2px;
  transition: all var(--t);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 68px 0 0 0;
  background: white;
  z-index: 199;
  padding: 28px 24px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  border-top: 1px solid var(--warm-200);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-900);
  text-decoration: none;
  padding: 14px 16px;
  border-radius: var(--r-md);
  transition: all var(--t);
}
.mobile-nav a:hover { background: var(--green-50); color: var(--green-700); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r-full);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--t);
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--green-700);
  color: white;
}
.btn-primary:hover {
  background: var(--green-900);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(45,106,79,0.28);
}
.btn-outline {
  background: transparent;
  color: var(--text-900);
  border: 1.5px solid var(--warm-300);
}
.btn-outline:hover {
  border-color: var(--green-700);
  color: var(--green-700);
  transform: translateY(-2px);
}
.btn-white {
  background: white;
  color: var(--green-700);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--green-50);
  transform: translateY(-2px);
}
.btn-ghost {
  background: none;
  border: none;
  color: var(--green-700);
  font-weight: 600;
  font-size: 14px;
  padding: 0;
  border-radius: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}
.btn-ghost::after { content: '→'; transition: transform var(--t); }
.btn-ghost:hover::after { transform: translateX(4px); }

/* ─── BADGES ─── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--r-full);
}
.badge-green  { background: var(--green-100); color: var(--green-700); }
.badge-amber  { background: var(--amber-100); color: var(--amber-700); }
.badge-gray   { background: var(--warm-100);  color: var(--text-500); }
.badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.8); }
}

/* ─── TAGS ─── */
.tag {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 400;
  padding: 3px 10px;
  background: var(--warm-100);
  color: var(--text-500);
  border-radius: var(--r-full);
}
.tag-green { background: var(--green-100); color: var(--green-700); }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }

/* ─── DIVIDER ─── */
hr.divider {
  border: none;
  border-top: 1px solid var(--warm-200);
}

/* ─── SECTION HEADER ─── */
.section-header { margin-bottom: 48px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p  { max-width: 580px; }

/* ─── GRID HELPERS ─── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ─── CARD BASE ─── */
.card {
  background: white;
  border: 1px solid var(--warm-200);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: all var(--t);
}
.card:hover {
  border-color: var(--green-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.card-icon {
  width: 44px; height: 44px;
  background: var(--green-50);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

/* ─── HERO ─── */
.hero {
  padding: 100px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -160px; right: -160px;
  width: 640px; height: 640px;
  background: radial-gradient(circle at center, rgba(82,183,136,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle at center, rgba(217,119,6,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow   { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.hero-title     { margin-bottom: 24px; }
.hero-desc      { margin-bottom: 40px; max-width: 560px; }
.hero-actions   { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 72px; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--warm-200);
  flex-wrap: wrap;
  gap: 32px;
}
.stat-num {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text-900);
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: var(--text-300);
  margin-top: 5px;
  font-weight: 400;
}

/* ─── PAGE HERO ─── */
.page-hero {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--warm-200);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(82,183,136,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero .badge { margin-bottom: 18px; display: inline-flex; }
.page-hero h1     { margin-bottom: 18px; }

/* ─── INFO BANNER ─── */
.info-banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--amber-50);
  border: 1px solid rgba(217,119,6,0.2);
  border-radius: var(--r-lg);
  padding: 18px 22px;
  margin-bottom: 52px;
}
.info-banner .ib-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.info-banner p  { font-size: 14px; line-height: 1.6; color: var(--text-700); }
.info-banner strong { color: var(--amber-700); }
.info-banner a  { color: var(--amber-700); font-weight: 600; text-underline-offset: 2px; }

/* ─── QUOTE BLOCK ─── */
.quote-block {
  border-left: 3px solid var(--green-500);
  padding: 24px 32px;
  background: var(--off-white);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
}
.quote-block p {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-900);
  margin-bottom: 10px;
  font-weight: 400;
}
.quote-block cite {
  font-size: 13px;
  color: var(--text-300);
  font-style: normal;
}

/* ─── CTA BANNER ─── */
.cta-banner {
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-900) 100%);
  border-radius: var(--r-xl);
  padding: 64px 52px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 360px; height: 360px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 240px; height: 240px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}
.cta-banner h2 { color: white; margin-bottom: 14px; }
.cta-banner p  { color: rgba(255,255,255,0.78); margin-bottom: 36px; font-size: 1.05rem; }
.cta-banner .btn-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.btn-glass {
  background: rgba(255,255,255,0.12);
  color: white;
  border: 1.5px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(4px);
}
.btn-glass:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-2px);
}

/* ─── FOOTER ─── */
footer {
  background: var(--text-900);
  color: rgba(255,255,255,0.6);
  padding: 72px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand .brand-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: white;
  display: block;
  margin-bottom: 10px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.5);
  max-width: 270px;
  margin-bottom: 18px;
}
.footer-new-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-500);
  background: rgba(82,183,136,0.12);
  padding: 5px 12px;
  border-radius: var(--r-full);
}
.footer-col h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.58);
  text-decoration: none;
  font-size: 14px;
  padding: 5px 0;
  transition: color var(--t);
}
.footer-col a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-bottom a:hover { color: white; }

/* ─── ANIMATIONS ─── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t-lg), transform var(--t-lg);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .nav-links  { display: none; }
  .hamburger  { display: flex; }
  .grid-3     { grid-template-columns: repeat(2, 1fr); }
  .grid-4     { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  section   { padding: 60px 0; }
  .hero     { padding: 70px 0 60px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .cta-banner { padding: 44px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .page-hero { padding: 56px 0 44px; }
  .display-xl { font-size: 2.4rem; }
}
