/* Layout */
main.container,
nav.container {
  max-width: 900px;
}

nav {
  margin-top: 0.75rem;
}

header.hero {
  padding: 1.75rem 0 1.5rem;
}

main.container > section,
article > section {
  padding-top: 1.5rem;
}

footer.site-footer {
  padding: 2rem 0;
  opacity: 0.7;
}

/* Typography */
.muted {
  opacity: 0.75;
}

article h3 {
  margin-bottom: 0.25rem;
}

article p {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

/* Components */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  z-index: 100;
  padding: 0.5rem 0.75rem;
  background: var(--pico-background-color);
  border: 1px solid var(--pico-muted-border-color);
  border-radius: var(--pico-border-radius);
}

.skip-link:focus {
  left: 0.75rem;
  outline: none;
}

.cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.projects-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

footer.actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

section.writing > article + article {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--pico-muted-border-color);
}

section.writing .read-all {
  margin-top: 1.25rem;
}

.brand a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.brand img {
  border-radius: 999px;
  object-fit: cover;
  width: 96px;
  height: 96px;
  max-width: none;
  flex-shrink: 0;
}
