:root {
  color-scheme: light;
  --ink: #1f241f;
  --muted: #5a675a;
  --line: #d7ded1;
  --paper: #f6f8f2;
  --panel: #ffffff;
  --accent: #3f6b44;
  --accent-2: #9a4f2e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(63, 107, 68, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(63, 107, 68, 0.05) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

.site-shell {
  width: min(1120px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 64px 0 52px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
  gap: 48px;
  align-items: center;
  min-height: 52vh;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.card-label {
  margin: 0 0 14px;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 10vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.lede {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.45rem);
}

.hero-mark {
  width: 100%;
  max-width: 320px;
  height: auto;
  justify-self: end;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 34px;
}

article {
  min-height: 220px;
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(31, 36, 31, 0.06);
}

h2 {
  margin-bottom: 12px;
  font-size: 1.18rem;
  letter-spacing: 0;
}

article p {
  margin-bottom: 0;
  color: var(--muted);
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 28px, 680px);
    padding-top: 40px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: auto;
  }

  .hero-mark {
    justify-self: start;
    max-width: 220px;
  }

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