:root {
  --casing: #14161b;
  --chalk: #ede8dc;
  --brass: #c89a52;
  --slate: #7a8092;
  --hairline: rgba(237, 232, 220, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 9vh 6vw 6vh;
  background: var(--casing);
  color: var(--chalk);
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  text-align: center;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.75rem, 5vh, 2.75rem);
  max-width: 30rem;
}

.identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.wordmark {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  font-weight: 500;
  letter-spacing: 0.24em;
  line-height: 1.4;
}

.subhead {
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.6;
  max-width: 30ch;
  margin: 0;
  color: var(--chalk);
  opacity: 0.78;
}

.divider {
  width: 28px;
  height: 1px;
  background: var(--hairline);
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.contact-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--brass);
  text-transform: uppercase;
}

.contact-email {
  color: var(--chalk);
  text-decoration: none;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  font-weight: 400;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--hairline);
  transition: color 150ms ease, border-color 150ms ease;
}

.contact-email:hover {
  color: var(--brass);
  border-color: var(--brass);
}

.contact-email:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 6px;
  border-radius: 2px;
}

footer.meta {
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--slate);
  text-transform: uppercase;
}
