:root {
  --page-background: #f5f5f3;
  --card-background: #ffffff;
  --primary-text: #222426;
  --secondary-text: #59636b;
  --body-text: #454a4e;
  --accent: #253746;
  --divider: #d5d7d8;
  --muted-text: #858a8e;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  padding: clamp(1rem, 4vw, 2.5rem);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: var(--page-background);
  color: var(--body-text);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.site-card {
  width: min(100%, 60rem);
  padding: clamp(2.25rem, 7vw, 4.75rem);
  background: var(--card-background);
}

.hero {
  text-align: center;
}

h1 {
  margin: 0;
  color: var(--primary-text);
  font-size: clamp(2.65rem, 7vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.profession {
  margin: 1.2rem 0 0;
  color: var(--secondary-text);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
}

.tagline {
  max-width: 44rem;
  margin: 1.6rem auto 1.4rem;
  color: var(--body-text);
  font-size: clamp(1.15rem, 2.5vw, 1.65rem);
  line-height: 1.5;
}

.contact-button {
  width: min(100%, 20rem);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  background: var(--accent);
  color: #ffffff;
  font-size: 1.15rem;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 150ms ease, transform 150ms ease;
}

.contact-button:hover {
  background: #182936;
}

.contact-button:focus-visible {
  outline: 3px solid #7aa7c4;
  outline-offset: 3px;
}

.contact-button:active {
  transform: translateY(1px);
}

hr {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid var(--divider);
}

.about h2 {
  margin: 0 0 1.4rem;
  color: var(--primary-text);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

.about p {
  max-width: 48rem;
  margin: 0 auto;
  color: var(--body-text);
  font-size: 1.05rem;
  line-height: 1.55;
}

footer {
  color: var(--secondary-text);
  text-align: center;
}

footer p {
  margin: 0.45rem 0;
}

footer a {
  color: var(--secondary-text);
  text-underline-offset: 0.2em;
}

footer a:hover {
  color: var(--accent);
}

.copyright {
  margin-top: 1.25rem;
  color: var(--muted-text);
  font-size: 0.95rem;
}

@media (max-width: 600px) {
  body {
    padding: 0.75rem;
  }

  .site-card {
    padding: 2.5rem 1.5rem;
  }

  hr {
    margin: 1.75rem 0;
  }

  .about p {
    font-size: 1rem;
  }
}