:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #142531;
  background: #f8fafc;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  border-top: 6px solid #142531;
}

main {
  width: min(100%, 80rem);
  margin: auto;
  padding: clamp(2rem, 7vw, 6rem);
}

.identity {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid #142531;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.125rem;
  letter-spacing: -.05em;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 11vw, 8.5rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.055em;
  margin: 3.5rem 0 3rem;
}

h1 > span { display: block; }
.suffix { font-size: .27em; letter-spacing: -.025em; white-space: nowrap; }

.contact {
  max-width: 31rem;
  border-top: 1px solid #aeb9c2;
  padding-top: 1.5rem;
}

.contact p {
  color: #4d606e;
  font-size: .875rem;
  margin: 0 0 .5rem;
}

a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: inherit;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.5;
  text-decoration-thickness: 1px;
  text-underline-offset: .3em;
}

a:hover { color: #1c5779; }
a:focus-visible { outline: 2px solid #1c5779; outline-offset: 6px; }

footer {
  padding: 1.5rem clamp(2rem, 7vw, 6rem);
  border-top: 1px solid #d4dce2;
  font-size: .875rem;
  color: #4d606e;
}

@media (max-width: 30rem) {
  h1 { margin-top: 3rem; }
  main { padding: 2rem 1.5rem 3rem; }
  footer { padding-inline: 1.5rem; }
}
