:root {
  color-scheme: light;
  --ink: #161616;
  --muted: #6c6f75;
  --paper: #f7f4ee;
  --line: rgba(22, 22, 22, 0.12);
  --accent: #2f6f73;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background:
    linear-gradient(90deg, rgba(47, 111, 115, 0.07) 0 1px, transparent 1px 100%),
    linear-gradient(135deg, #fbfaf6 0%, var(--paper) 52%, #eef3f2 100%);
  background-size: 4rem 4rem, auto;
  color: var(--ink);
}

body {
  min-height: 100vh;
  margin: 0;
}

.site-shell {
  display: grid;
  min-height: 100vh;
  padding: clamp(1.5rem, 5vw, 5rem);
  place-items: center;
}

.intro {
  width: min(100%, 48rem);
  padding: clamp(2rem, 7vw, 5rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(4rem, 14vw, 9.5rem);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 0.9;
}

.email-link {
  display: inline-flex;
  width: fit-content;
  margin-top: clamp(1.75rem, 4vw, 3rem);
  color: var(--ink);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 560;
  line-height: 1.35;
  text-decoration-color: rgba(47, 111, 115, 0.42);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.22em;
  transition:
    color 160ms ease,
    text-decoration-color 160ms ease;
}

.email-link:hover,
.email-link:focus-visible {
  color: var(--accent);
  text-decoration-color: currentColor;
}

.email-link:focus-visible {
  border-radius: 0.2rem;
  outline: 3px solid rgba(47, 111, 115, 0.24);
  outline-offset: 0.35rem;
}

.decoy {
  display: none;
}

@media (max-width: 520px) {
  .site-shell {
    place-items: end start;
  }
}
