:root {
  --bg: #fbfdfc;
  --surface: #eef5f1;
  --surface-2: #ffffff;
  --fg: #18241f;
  --muted: #5d6b64;
  --accent: #0f7a5a;
  --accent-2: #0f7a5a;
  --border: #dbe8e1;
  --max: 1040px;
  --radius: 12px;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 { overflow-wrap: break-word; }

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #ffffff;
  padding: 0.6rem 1rem;
  font-weight: 600;
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; text-decoration: none; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(251, 253, 252, 0.85);
  backdrop-filter: blur(10px);
  z-index: 50;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  min-height: 66px;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--fg);
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
  display: block;
}
.site-header nav a { margin-left: 1.5rem; color: var(--muted); font-size: 0.95rem; }
.site-header nav a:first-child { margin-left: 0; }
.site-header nav a:hover { color: var(--fg); text-decoration: none; }

/* Hero */
.hero {
  position: relative;
  padding: 7rem 0 6rem;
  overflow: hidden;
  background: linear-gradient(180deg, #e9f4ee 0%, #fbfdfc 100%);
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -40% 0 auto 0;
  height: 600px;
  background: radial-gradient(60% 60% at 50% 0%, rgba(15, 122, 90, 0.08), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; max-width: 760px; }
.eyebrow {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin: 0 0 1.25rem;
}
.hero h1 {
  font-size: clamp(2.3rem, 6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  color: var(--fg);
}
.lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 56ch;
  margin: 0 0 2.25rem;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  padding: 0.8rem 1.8rem;
  border-radius: 10px;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  box-shadow: 0 8px 20px rgba(15, 122, 90, 0.22);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); background: #0b6147; box-shadow: 0 12px 28px rgba(15, 122, 90, 0.3); }

/* Sections */
section { padding: 4.5rem 0; }
section h2 {
  font-size: 1.75rem;
  letter-spacing: -0.01em;
  margin: 0 0 2.25rem;
}

.services {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem;
}
.card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: 0 1px 2px rgba(24, 36, 31, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(24, 36, 31, 0.12); }
.card h3 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.card p { color: var(--muted); margin: 0; }

.about .container { max-width: 680px; }
.about p { font-size: 1.1rem; color: #34403a; margin: 0; }

.contact-email a { font-size: 1.4rem; font-weight: 600; }
.contact .org { color: var(--muted); font-size: 0.95rem; margin-top: 0.75rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  color: var(--muted);
  font-size: 0.9rem;
  background: var(--surface);
}
.site-footer p { margin: 0; }

@media (max-width: 560px) {
  .hero { padding: 4rem 0 4rem; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  section { padding: 3.5rem 0; }
  .site-header nav a { margin-left: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
