:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #5b6472;
  --border: #e6e8eb;
  --accent: #2a6f6a;
  --accent-ink: #ffffff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

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

h1, h2, h3 { line-height: 1.25; margin: 0 0 0.6em; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.3em; }
p { margin: 0 0 1em; color: var(--text); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(250, 250, 250, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
}
.logo:hover { text-decoration: none; }
nav a {
  margin-left: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}
nav a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero {
  padding: 72px 0 56px;
}
.hero h1 {
  font-size: 2rem;
  max-width: 620px;
}
.hero .lede {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.05rem;
}
.button {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 20px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
}
.button:hover {
  text-decoration: none;
  opacity: 0.92;
}

/* About */
.about {
  padding: 8px 0 48px;
}
.about p {
  max-width: 640px;
  color: var(--muted);
}

/* Work */
.work {
  padding: 24px 0 56px;
  border-top: 1px solid var(--border);
}
.case-study {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 28px 24px;
  margin: 24px 0;
}
.case-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  margin-bottom: 14px;
}
.case-client {
  color: var(--muted);
  font-size: 0.9rem;
}
.problem {
  color: var(--muted);
  font-style: italic;
}
.stack {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 10px 0 16px;
}
.stack li {
  background: #eef3f2;
  color: var(--accent);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.82rem;
  font-weight: 600;
}
.outcome {
  margin-bottom: 0;
}
.outcome strong {
  color: var(--text);
}

/* Contact */
.contact {
  padding: 16px 0 72px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 20px 0 40px;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 560px) {
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 1.6rem; }
  .case-study { padding: 22px 18px 18px; }
}
