@font-face {
  font-family: 'Spectral';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/spectral-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Spectral';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/spectral-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/spectral-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/spectral-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Michroma';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/michroma-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Michroma';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/michroma-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: #fff;
  color: #000;
  font: 17px/1.4 Spectral, Georgia, "Times New Roman", serif;
  -webkit-text-size-adjust: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  padding: 24px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

header a:hover,
header a:focus-visible,
nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 24px;
  padding: 24px 24px 72px;
  list-style: none;
}

.grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  background: #f2f2f2;
}

.grid p {
  margin-top: 10px;
}

.grid a:hover p,
.grid a:focus-visible p {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.artist {
  color: #666;
}

@media (max-width: 960px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  header {
    padding: 16px;
  }

  nav {
    column-gap: 16px;
  }

  .grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 16px 16px 48px;
  }
}

.photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 24px 24px 0;
}

.photos img {
  display: block;
  width: 100%;
  height: auto;
}

.credit {
  padding: 16px 24px 72px;
  color: #666;
}

@media (max-width: 600px) {
  .photos {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 16px 16px 0;
  }

  .credit {
    padding: 12px 16px 48px;
  }
}

.bio p + p {
  margin-top: 1em;
}

@media (max-width: 960px) {
  .photos {
    grid-template-columns: minmax(0, 1fr);
  }
}

.intro {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px;
}

.intro img {
  flex: none;
  width: 160px;
  height: auto;
}

h1,
h2 {
  font-size: inherit;
  font-weight: inherit;
}

.contact {
  display: flex;
  gap: 24px;
  margin-top: 1em;
}

.contact a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section {
  padding: 48px 24px 0;
}

.section + .grid {
  padding-top: 16px;
}

@media (max-width: 600px) {
  .intro {
    gap: 16px;
    padding: 16px;
  }

  .intro img {
    width: 96px;
  }

  .section {
    padding: 32px 16px 0;
  }

  .section + .grid {
    padding-top: 12px;
  }
}

header,
h1,
h2 {
  font-family: Michroma, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
}

h1 {
  margin-bottom: 8px;
}

@media (max-width: 600px) {
  header,
  h1,
  h2 {
    font-size: 15px;
  }
}

.about {
  max-width: 62ch;
  margin-top: 1em;
}

.lede {
  margin-top: 0;
  padding: 24px 24px 0;
  box-sizing: content-box;
}

@media (max-width: 600px) {
  .lede {
    padding: 16px 16px 0;
    box-sizing: border-box;
  }
}

.intro {
  align-items: flex-start;
}

@media (max-width: 600px) {
  .intro {
    flex-direction: column;
  }
}

.about a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.has-sub {
  position: relative;
}

.sub {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  padding-top: 8px;
  background: #fff;
}

.has-sub:hover .sub,
.has-sub:focus-within .sub {
  display: block;
}

@media (hover: none), (max-width: 600px) {
  .has-sub {
    display: contents;
  }

  .sub {
    display: block;
    position: static;
    padding-top: 0;
  }
}
