:root {
  color-scheme: light;
  --background: #f7f4ee;
  --foreground: #171717;
  --muted: #68635b;
  --subtle: #ded8cc;
  --accent: #1f5e52;
  --accent-soft: #e6eee9;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Noto Sans",
    "Helvetica Neue",
    Arial,
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, currentColor 36%, transparent);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-color: currentColor;
}

.site-header,
main,
.footer {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  border-bottom: 1px solid var(--subtle);
}

.brand {
  font-size: 17px;
  font-weight: 650;
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--foreground);
}

.hero {
  min-height: calc(100svh - 76px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 84px 0 96px;
  border-bottom: 1px solid var(--subtle);
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 650;
}

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

h1 {
  max-width: 980px;
  margin-bottom: 28px;
  font-size: clamp(46px, 8vw, 104px);
  line-height: 0.96;
  font-weight: 560;
  letter-spacing: 0;
}

.lead {
  max-width: 820px;
  margin-bottom: 42px;
  color: var(--foreground);
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.35;
}

.membership {
  max-width: 680px;
  padding: 18px 0 0;
  border-top: 1px solid var(--subtle);
  color: var(--muted);
  font-size: 17px;
}

.membership p {
  margin-bottom: 6px;
}

.section {
  display: grid;
  grid-template-columns: minmax(180px, 0.32fr) minmax(0, 1fr);
  gap: 48px;
  padding: 70px 0;
  border-bottom: 1px solid var(--subtle);
}

h2 {
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 650;
}

.list {
  display: grid;
  gap: 0;
}

.item,
.project,
.statement {
  border-top: 1px solid var(--subtle);
  padding: 22px 0 24px;
}

.item:first-child,
.project,
.statement {
  border-top-color: var(--foreground);
}

h3,
.project-name {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 610;
}

.item p,
.project p,
.statement p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.45;
}

.project-name {
  color: var(--foreground);
}

.footer {
  padding: 34px 0 46px;
  color: var(--muted);
  font-size: 14px;
}

.footer p {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .site-header,
  main,
  .footer {
    width: min(100% - 28px, var(--max-width));
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    min-height: 92px;
    padding: 18px 0;
  }

  .nav {
    justify-content: flex-start;
    gap: 14px;
    font-size: 13px;
  }

  .hero {
    min-height: auto;
    padding: 72px 0 80px;
  }

  h1 {
    font-size: clamp(42px, 14vw, 72px);
    line-height: 1;
  }

  .lead {
    font-size: 20px;
  }

  .section {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 54px 0;
  }

  .item p,
  .project p,
  .statement p {
    font-size: 18px;
  }
}
