:root {
  --text: #1a1a1a;
  --background: #fafafa;
  --accent: #315c63;
  --muted: #666666;
  --footer: #7a7a7a;
  --hidden: #f2f2f2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-size: 17px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.55;
  color: var(--text);
  background: var(--background);
}

.site {
  max-width: 680px;
  margin: 0 auto;
  padding: 52px 22px 28px;
}

.section {
  margin-bottom: 3rem;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 0.65rem;
  font-weight: 700;
}

h2 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 1rem;
  font-weight: 700;
}

h3 {
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 700;
}

p + p {
  margin-top: 0.9rem;
}

a {
  color: var(--accent);
  text-decoration: underline;
}

a:visited {
  color: var(--accent);
}

a[href^="http"]::after {
  content: "";
  display: inline-block;
  width: 0.78em;
  height: 0.78em;
  margin-left: 0.18em;
  vertical-align: -0.04em;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23315c63' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 2.75h3.75V6.5'/%3E%3Cpath d='M13.25 2.75 7.75 8.25'/%3E%3Cpath d='M6.25 4H3.75v8.25H12V9.75'/%3E%3C/svg%3E");
}

.intro {
  margin-bottom: 0.9rem;
}

.contact-links {
  font-size: 0.93rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.project + .project {
  margin-top: 1.75rem;
}

.project-tagline {
  color: #8a8a8a;
  font-size: 0.94rem;
  margin-top: 0.2rem;
  margin-bottom: 0.5rem;
}

.highlights {
  color: var(--muted);
}

.highlights span {
  display: block;
}

.hidden-keywords {
  font-size: 0.45rem;
  font-weight: 200;
  line-height: 0.95;
  color: var(--hidden);
  margin: 0;
  padding: 0;
}

.footer {
  text-align: center;
  font-size: 0.82rem;
  color: var(--footer);
  margin-top: 2rem;
  padding-bottom: 0.3rem;
}
