:root {
  --bg: #ffffff;
  --fg: #111111;
  --muted: #555555;
  --rule: #e6e6e6;
  --accent: #111111;
  --accent-fg: #ffffff;
  --max: 1100px;
  --space: clamp(1rem, 2vw, 1.5rem);
  --radius: 14px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space);
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--rule);
  padding: 1.25rem 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand img { width: 36px; height: 36px; }
.brand span { font-size: 1.05rem; }
.nav { display: flex; gap: 1.5rem; font-size: 0.95rem; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--fg); text-decoration: none; }
.nav a.active { color: var(--fg); font-weight: 600; }

/* Sections */
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
section + section { border-top: 1px solid var(--rule); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 1rem 0;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }

p { margin: 0 0 1rem 0; max-width: 62ch; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 56ch; }

/* Hero */
.hero { text-align: center; padding-top: clamp(3.5rem, 9vw, 6rem); }
.hero h1 { margin-left: auto; margin-right: auto; max-width: 18ch; }
.hero p { margin-left: auto; margin-right: auto; }
.hero-actions { margin-top: 1.5rem; display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: opacity 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--accent); color: var(--accent-fg); }
.btn-primary:hover { opacity: 0.85; text-decoration: none; }
.btn-secondary { border-color: var(--rule); color: var(--fg); }
.btn-secondary:hover { background: #f6f6f6; text-decoration: none; }

/* Mission */
.mission { text-align: center; }
.mission h2 { max-width: 24ch; margin-left: auto; margin-right: auto; }
.mission p { margin-left: auto; margin-right: auto; text-align: center; }

/* Services grid */
.services-head { text-align: center; margin-bottom: 2.5rem; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: #fafafa;
}
.service h3 { margin-bottom: 0.5rem; }
.service p { color: var(--muted); margin: 0; font-size: 0.97rem; }

/* About / Contact */
.prose { max-width: 65ch; }
.prose p { color: var(--muted); }

.contact-block {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.75rem;
  background: #fafafa;
  margin-top: 1.5rem;
}
.contact-block .label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.contact-block a { font-weight: 600; font-size: 1.1rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 2rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .nav { gap: 1rem; font-size: 0.9rem; }
  .brand span { display: none; }
}
