:root {
  color-scheme: light;
  --paper: #f4f3ed;
  --ink: #252b25;
  --muted: #656b60;
  --line: #d4d7cc;
  --accent: #626d46;
  --serif: Baskerville, "Baskerville Old Face", "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page {
  width: min(100% - 112px, 800px);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(40px, 9svh, 96px) 0;
  display: grid;
  grid-template-rows: minmax(min-content, 1fr) auto minmax(min-content, 1fr);
  row-gap: clamp(56px, 8svh, 96px);
}

.masthead {
  display: flex;
  align-items: center;
  align-self: start;
  gap: clamp(22px, 2.4vw, 32px);
}

.mark {
  flex-shrink: 0;
  width: clamp(22px, 2.3vw, 28px);
  height: auto;
  color: var(--accent);
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(80px, 8.8vw, 112px);
  line-height: 1;
  letter-spacing: .055em;
}

.firm p {
  max-width: 640px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 400;
  line-height: 1.38;
  letter-spacing: -.012em;
  text-wrap: balance;
}

footer {
  display: flex;
  justify-content: space-between;
  align-self: end;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .page {
    width: calc(100% - 48px);
    padding: clamp(40px, 8svh, 64px) 0;
    row-gap: 48px;
  }

  .masthead {
    gap: 20px;
  }

  .mark {
    width: 19px;
  }

  h1 {
    font-size: clamp(52px, 16vw, 80px);
  }

  .firm p {
    font-size: clamp(24px, 6.4vw, 30px);
    line-height: 1.4;
  }

  footer {
    padding-top: 17px;
    font-size: 11px;
  }
}
