:root {
  --paper: #f6f3ee;
  --ink: #181715;
  --muted: #69645c;
  --line: #d8d0c4;
  --panel: #fffaf2;
  --accent: #24524a;
  --accent-2: #9c3f2f;
  --focus: #0d62a8;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  line-height: 1.55;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.site-header {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  display: inline-grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.88rem;
  color: var(--muted);
}

nav a {
  text-decoration: none;
}

main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 64px;
}

.hero {
  min-height: calc(100svh - 90px);
  display: grid;
  align-content: center;
  padding: 54px 0 84px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 980px;
  margin-bottom: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.lede {
  max-width: 760px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.button.ghost {
  border-color: var(--line);
}

.proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.proof article {
  min-height: 178px;
  padding: 28px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.proof article:last-child {
  border-right: 0;
}

.proof strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1;
  color: var(--accent);
}

.proof span {
  color: var(--muted);
  font-size: 0.96rem;
}

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

.two-column {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1fr);
  gap: 72px;
}

h2 {
  max-width: 640px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.5vw, 4.3rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.copy {
  color: var(--muted);
  font-size: 1.05rem;
}

.copy p:last-child {
  margin-bottom: 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.project-list {
  border-top: 1px solid var(--line);
}

.project-list article {
  min-height: 132px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
  gap: 32px;
  align-items: center;
}

.project-list h3 {
  margin-bottom: 6px;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.15;
}

.project-list p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
}

.project-list span {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 800;
  text-align: right;
  text-transform: uppercase;
}

.principles {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.principles li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.contact {
  padding: 92px 0 36px;
}

.contact h2 {
  max-width: 820px;
}

.contact p:last-child {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.15rem;
}

@media (max-width: 820px) {
  body {
    font-size: 16px;
  }

  .site-header,
  main {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    padding-top: 18px;
  }

  nav {
    gap: 14px;
  }

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

  h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .button {
    width: 100%;
  }

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

  .proof article {
    min-height: 156px;
    padding: 22px 18px;
    border-bottom: 1px solid var(--line);
  }

  .proof article:nth-child(2n) {
    border-right: 0;
  }

  .proof article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .section,
  .contact {
    padding: 68px 0;
  }

  .two-column,
  .project-list article {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .project-list span {
    text-align: left;
  }
}

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

  nav {
    padding-top: 9px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

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

  .proof article,
  .proof article:nth-child(2n) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof article:last-child {
    border-bottom: 0;
  }
}
