:root {
  color-scheme: light;
  --ink: #111111;
  --muted: #6f6f6f;
  --line: #d7d7d7;
  --page-padding: clamp(1.25rem, 4vw, 4rem);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #ffffff;
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--muted);
}

a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--ink);
  padding: 1.25rem var(--page-padding);
}

.wordmark,
.site-header nav a {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-decoration: none;
}

.site-header nav a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.page-content {
  width: min(100%, 70rem);
  flex: 1;
  padding: clamp(8rem, 20vh, 15rem) var(--page-padding) 5rem;
}

h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(3.25rem, 9vw, 8rem);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.96;
}

.rule {
  width: min(100%, 54rem);
  height: 1px;
  margin: clamp(2.5rem, 6vw, 5rem) 0 clamp(1.75rem, 4vw, 2.75rem);
  background: var(--ink);
}

.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2.5rem;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  letter-spacing: -0.02em;
}

@media (max-width: 38rem) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .page-content {
    padding-top: 7rem;
  }

  h1 {
    max-width: 8ch;
    font-size: clamp(3.25rem, 17vw, 5.5rem);
  }

  .contact-list {
    flex-direction: column;
    gap: 0.9rem;
  }
}
