/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f1ede8;
  --bg-alt: #e8e3dc;
  --text: #1a1a1a;
  --text-light: #555;
  --accent: #1a1a1a;
  --max-width: 1000px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; border-radius: 14px; }
a { color: var(--text); text-decoration: none; }
a:hover { opacity: 0.7; }
main { flex: 1; }

/* === Layout === */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }

/* === Header / Nav === */
.site-header {
  background: var(--bg);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--bg-alt);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.site-logo { font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; }
.site-nav { display: flex; gap: 1.5rem; font-size: 0.95rem; }
.site-nav a.active { text-decoration: underline; text-underline-offset: 4px; }

/* === Hero === */
.hero { padding: 6rem 0 4rem; }
.hero h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 1rem; }
.hero p { font-size: 1.25rem; color: var(--text-light); max-width: 40rem; }

/* === Content === */
.section { padding: 3rem 0; }
.section h2 { font-size: 1.75rem; margin-bottom: 1rem; letter-spacing: -0.01em; }
.section p { max-width: 40rem; margin-bottom: 1rem; color: var(--text-light); }
.section p:last-child { margin-bottom: 0; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  margin-top: 1rem;
}
.btn:hover { opacity: 0.85; }

/* === Footer === */
.site-footer { padding: 2rem 0; border-top: 1px solid var(--bg-alt); font-size: 0.875rem; color: var(--text-light); }
.site-footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }

/* === 404 === */
.not-found { text-align: center; padding: 8rem 0; }
.not-found h1 { font-size: 4rem; letter-spacing: -0.03em; }

@media (max-width: 640px) {
  .container { padding: 0 1.25rem; }
  .hero { padding: 4rem 0 2.5rem; }
}

/* === Business additions === */
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; color: var(--text-light); margin-bottom: 1rem; }
.hero-small { padding: 4rem 0 2rem; }
.hero-small h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
.lead { font-size: 1.1rem; margin-bottom: 2rem; }
.nav-cta { background: var(--accent); color: var(--bg); padding: 0.4rem 1rem; border-radius: 999px; font-weight: 600; }
.nav-cta:hover { opacity: 0.85; }
.section-alt { background: var(--bg-alt); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.card { display: block; background: #fff; border-radius: 14px; padding: 1.5rem; border: 1px solid var(--bg-alt); transition: transform .15s ease; }
.card:hover { opacity: 1; transform: translateY(-2px); }
.card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.card p { font-size: 0.95rem; color: var(--text-light); margin: 0; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.cols h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.service { border-bottom: 1px solid var(--bg-alt); scroll-margin-top: 5rem; }
.service:last-of-type { border-bottom: none; }
@media (max-width: 640px) { .site-nav { gap: 1rem; font-size: 0.9rem; } }
