/* ============================================
   SPRUCED — MAIN STYLES
   Warm editorial design — paper, pine & lime
   ============================================ */

:root {
  /* warm palette */
  --paper: #F5F4EC;
  --paper2: #EEECE0;
  --oat: #E9E6D8;
  --card: #FBFAF4;
  --ink: #17251B;
  --pine: #21422D;
  --pine2: #2E5A3E;
  --lime: #C8F55A;
  --lime-d: #9FCE3A;
  --muted: rgba(23,37,27,0.60);
  --faint: rgba(23,37,27,0.10);
  --line: rgba(23,37,27,0.09);

  /* legacy names remapped to warm values so existing
     inline styles flip automatically */
  --black: #17251B;       /* now = ink: used for text on lime */
  --dark: #FBFAF4;        /* now = light card surface */
  --dark-2: #F0EEE3;      /* now = alt light surface */
  --white: #17251B;       /* now = ink: primary text */
  --lime-dark: #9FCE3A;
  --grey: rgba(23,37,27,0.60);
  --grey-dim: rgba(23,37,27,0.48);
  --grey-faint: rgba(23,37,27,0.16);
  --border: rgba(23,37,27,0.09);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; }

/* ---------- ANIMATIONS ---------- */
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes ripple { 0% { transform: scale(0.8); opacity: 1; } 100% { transform: scale(2.5); opacity: 0; } }
@keyframes slideRight { from { transform: translateX(-20px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ---------- NAV ---------- */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(245,244,236,0.85);
  backdrop-filter: blur(12px);
  z-index: 100;
}

.logo {
  font-family: 'DM Sans', sans-serif;
  font-size: 21px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.5px;
  text-decoration: none;
}

.logo em { font-style: normal; color: var(--lime-d); }

.nav-links { display: flex; align-items: center; gap: 1.25rem; }

.nav-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--ink); }

.nav-cta {
  background: var(--pine);
  color: #F5F4EC !important;
  padding: 9px 20px;
  border-radius: 50px;
  font-weight: 500;
  transition: transform 0.15s !important;
}

.nav-cta:hover { transform: scale(1.04); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  background: var(--lime);
  color: var(--ink);
  border: none;
  padding: 13px 30px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover { transform: scale(1.04); box-shadow: 0 10px 28px -10px rgba(33,66,45,0.45); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn-outline:hover { border-color: var(--pine2); color: var(--pine2); box-shadow: none; }

/* ---------- SECTIONS ---------- */
.section { padding: 4rem 2rem; max-width: 1080px; margin: 0 auto; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.eyebrow-line { flex: 1; height: 1px; background: var(--line); }

.eyebrow-text {
  font-size: 11px;
  color: var(--pine2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
  font-weight: 600;
}

.h-big {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  letter-spacing: -1.5px;
  line-height: 1.08;
  margin-bottom: 1rem;
}

.h-big em { font-style: normal; color: var(--pine2); }

.sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.7;
}

/* ---------- FOOTER ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 3rem 2rem 2rem;
  max-width: 1080px;
  margin: 0 auto;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }

.footer-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover { color: var(--pine2); }

.footer-copy { font-size: 12px; color: var(--muted); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 720px) {
  .nav { padding: 1.25rem 1.25rem; }
  .nav-links a:not(.nav-cta) { display: none; }
  .section { padding: 3rem 1.25rem; }
}
