:root {
  --bg: #f5f5f7;
  --paper: #ffffff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.01em;
}
a { color: inherit; }
img { max-width: 100%; }

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 52px;
  padding: 0 22px;
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(20px);
}
.brand {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.menu {
  display: flex;
  align-items: center;
  gap: 8px;
}
.menu a,
.menu button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 980px;
  cursor: pointer;
}
.menu a[aria-current="page"],
.menu button[aria-expanded="true"] {
  background: var(--ink);
  color: var(--paper);
}
.projects { position: relative; }
.project-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.project-menu a {
  display: block;
  border-radius: 8px;
}
.project-menu a:hover { background: var(--ink); color: var(--paper); }

.hero {
  max-width: 980px;
  margin: 0 auto;
  padding: 88px 22px 56px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.lead {
  max-width: 640px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.4;
}
.button {
  display: inline-block;
  margin-top: 28px;
  padding: 12px 22px;
  border-radius: 980px;
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.section {
  max-width: 980px;
  margin: 0 auto 28px;
  padding: 40px 36px 36px;
  background: var(--paper);
  border-radius: 28px;
}
.section h2 {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.section p { margin: 0; color: var(--muted); }
.about p { max-width: 680px; color: var(--ink); }
.about p + p { margin-top: 16px; }
.about .about-title {
  margin: 10px 0 22px;
  font-size: 21px;
  line-height: 1.35;
  font-weight: 600;
}
.about .about-sign { margin-top: 28px; font-weight: 600; }
.about .about-sign span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 400;
}
.about .about-belief {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-weight: 600;
}
.project {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.project h3 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 600;
}
.project a {
  flex-shrink: 0;
  color: var(--ink);
  font-weight: 500;
}

.page {
  max-width: 760px;
  margin: 28px auto 48px;
  padding: 48px 40px 56px;
  background: var(--paper);
  border-radius: 28px;
}
.page h1 { font-size: 44px; margin-bottom: 28px; }
.page h2 {
  margin: 36px 0 8px;
  font-size: 22px;
  font-weight: 600;
}
.page p, .page li { color: var(--ink); }
.page a { color: var(--ink); }

.foot {
  max-width: 980px;
  margin: 0 auto;
  padding: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.foot a { color: var(--muted); text-decoration: none; }
.foot nav { display: flex; gap: 16px; }

@media (max-width: 640px) {
  .project { align-items: flex-start; flex-direction: column; }
  .nav { align-items: flex-start; padding-top: 10px; padding-bottom: 10px; }
  .section, .page { margin-left: 16px; margin-right: 16px; padding: 28px 22px 32px; border-radius: 22px; }
}
