:root {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #171717;
  background: #f6f4f1;
}

body { margin: 0; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.wrap { width: min(calc(100% - clamp(48px, 14vw, 220px)), 1440px); margin-inline: auto; }

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.25rem;
  border-bottom: 1px solid #d9d5d1;
}
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; font-size: 1.15rem; }
.masthead nav { display: flex; gap: 1rem; }
.masthead nav a { padding-block: .65rem; }
.masthead nav a:not([aria-current]):not(:hover) { text-decoration: none; }

main { padding-block: clamp(2rem, 5vw, 5rem); }
.project-intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: start;
  gap: clamp(1rem, 5vw, 5rem);
  margin-block: clamp(1.4rem, 4vw, 3.5rem);
}
h1 { margin: 0; font-size: clamp(2.75rem, 6vw, 5rem); font-weight: 300; letter-spacing: -.04em; line-height: 1.04; }
p { margin: .6rem 0 0; max-width: 56ch; color: #4a4744; font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.55; }
.project-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.project-photos img { display: block; width: 100%; height: auto; }
.project-photos img:first-child { grid-column: 1 / -1; }
.project-photos img:last-child:nth-child(2) { grid-column: 1 / -1; max-width: 960px; }
.contact { display: inline-block; margin-top: 2rem; padding-block: .6rem; }

@media (max-width: 640px) {
  .project-intro, .project-photos { grid-template-columns: 1fr; }
}
