:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  line-height: 1.6;
  color: #242424;
  background: #faf9f6;
}

body {
  max-width: 65rem;
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 4vw, 3rem) 4rem;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem 2rem;
  border-bottom: 1px solid #cdcbc5;
  padding-bottom: 1rem;
}

.brand {
  font-size: 1.5rem;
  font-weight: 750;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
}

a { color: inherit; }
a:hover { color: #6e3526; }
[aria-current="page"] { font-weight: 700; }

main { margin-top: 2.5rem; }
p { max-width: 65ch; }
h1, h2 { line-height: 1.2; }
h1 { font-size: clamp(2rem, 6vw, 3.5rem); }

img {
  display: block;
  max-width: 100%;
  height: auto;
}

address {
  margin-block: 1.5rem;
  font-style: normal;
}

.portfolio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: 1.5rem;
  padding: 0;
  list-style: none;
}

.portfolio img {
  width: 100%;
  margin-bottom: .5rem;
}
