:root {
  color-scheme: light;
  --bg: #f7f6f1;
  --surface: #ffffff;
  --surface-muted: #ece9df;
  --text: #20231f;
  --muted: #666a61;
  --border: #d9d4c8;
  --accent: #365f46;
  --accent-strong: #263f31;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: var(--accent-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.brand {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.28rem 0.7rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

nav a:hover,
nav a:focus {
  color: var(--accent-strong);
  border-color: var(--accent);
  outline: none;
}

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

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 5rem 1.5rem 4.5rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 1.25rem;
  font-size: clamp(2.35rem, 5vw, 4.85rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.08rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.section {
  padding: 4rem 1.5rem;
}

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

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.principles article,
.project {
  min-height: 100%;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.principles p,
.project p,
.contact p,
.site-footer p {
  margin-bottom: 0;
  color: var(--muted);
}

.project-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 720px;
}

.work-list {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--muted);
}

.work-list li + li {
  margin-top: 0.25rem;
}

.project-label {
  margin-bottom: 0.35rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.contact {
  max-width: 720px;
}

.site-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem;
  border-top: 1px solid var(--border);
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero-inner {
    padding: 3.5rem 1.25rem;
  }

  .section {
    padding: 3rem 1.25rem;
  }

  .principles {
    grid-template-columns: 1fr;
  }
}
