:root {
  --bg: #f5f3ef;
  --surface: #ebe8e1;
  --text: #151515;
  --muted: #66645f;
  --line: #d8d4cb;
  --max: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
  border-radius: 2px;
}

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

.site-header {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: .14em;
}

nav {
  display: flex;
  gap: 28px;
  font-size: .95rem;
}

nav a,
.site-footer a {
  color: var(--muted);
}

nav a:hover,
.site-footer a:hover {
  color: var(--text);
}

.hero {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 0 120px;
}

.eyebrow,
.project-kicker {
  margin: 0 0 18px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

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

h1 {
  margin-bottom: 34px;
  max-width: 920px;
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: .86;
  letter-spacing: -.065em;
  font-weight: 690;
}

.lede {
  max-width: 640px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.5;
}

.text-link {
  width: fit-content;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--text);
  font-weight: 600;
}

.section {
  padding: 110px 0;
  border-top: 1px solid var(--line);
}

.section-heading h2,
.contact h2 {
  margin-bottom: 50px;
  max-width: 760px;
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  line-height: .95;
  letter-spacing: -.05em;
  font-weight: 650;
}

.project-card {
  min-height: 380px;
  padding: clamp(28px, 5vw, 60px);
  border-radius: 24px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-card h3 {
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  letter-spacing: -.055em;
  line-height: .95;
}

.project-card p:not(.project-kicker):not(.project-meta) {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.55;
}

.project-meta {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: .92rem;
}

.quiet-note {
  margin-top: 24px;
  color: var(--muted);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
  gap: 80px;
  align-items: start;
}

.body-copy {
  padding-top: 36px;
}

.body-copy p {
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.65;
}

.body-copy p + p {
  margin-top: 22px;
}

.contact-link {
  display: inline-block;
  font-size: clamp(2rem, 6vw, 5.5rem);
  line-height: 1;
  letter-spacing: -.045em;
  border-bottom: 2px solid var(--text);
  padding-bottom: 6px;
}

.site-footer {
  min-height: 120px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  color: var(--muted);
  font-size: .9rem;
}

.site-footer p { margin: 0; }

.site-footer div {
  display: flex;
  gap: 22px;
}

.page {
  min-height: calc(100vh - 204px);
  padding: 90px 0 130px;
  max-width: 800px;
}

.page h1 {
  margin-bottom: 30px;
  font-size: clamp(3.8rem, 9vw, 7rem);
}

.page h2 {
  margin: 48px 0 14px;
  font-size: 1.55rem;
}

.page p,
.page li {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.page a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.meta {
  margin-bottom: 44px;
  font-size: .92rem !important;
}

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

  .site-header {
    height: 72px;
  }

  nav {
    gap: 16px;
  }

  nav a:first-child {
    display: none;
  }

  .hero {
    min-height: 66vh;
    padding: 80px 0;
  }

  h1 {
    font-size: clamp(3.7rem, 18vw, 6.3rem);
  }

  .section {
    padding: 76px 0;
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .body-copy {
    padding-top: 0;
  }

  .project-card {
    min-height: 330px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}


.project-card-link {
  transition: transform 180ms ease, background-color 180ms ease;
}

.project-card-link:hover {
  transform: translateY(-2px);
  background: #e6e2da;
}

.app-hero {
  padding: 110px 0 90px;
  border-bottom: 1px solid var(--line);
}

.app-hero h1 {
  margin-bottom: 26px;
}

.app-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.app-links a {
  padding-bottom: 3px;
  border-bottom: 1px solid var(--text);
  font-weight: 600;
}

.policy-note {
  padding: 20px 22px;
  background: var(--surface);
  border-radius: 14px;
  margin: 30px 0 42px;
}

.policy-note p {
  margin: 0;
}
