:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #686868;
  --line: #dddddd;
  --link: #0758b7;
  --page: #ffffff;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration-color: #9a9a9a;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--link);
  text-decoration-color: currentColor;
}

a:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 4px;
}

.wrap {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 8px 12px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.site-header {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 24px;
  font-size: 14px;
}

.site-header nav a {
  text-decoration: none;
}

.site-header nav a:hover {
  text-decoration: underline;
}

.nav-socials {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: -6px;
}

.social-link {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  text-decoration: none;
}

.social-link svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.social-link:hover {
  background: #f2f4f6;
  color: var(--link);
  text-decoration: none;
}

.intro {
  display: grid;
  grid-template-columns: 172px minmax(0, 700px);
  gap: 56px;
  align-items: start;
  padding: 88px 0 96px;
}

.portrait {
  display: block;
  width: 160px;
  height: 160px;
  border: 1px solid var(--line);
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(100%);
}

.kicker,
.meta {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.09em;
  line-height: 1.4;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 70px);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.intro-copy > p:not(.kicker) {
  max-width: 67ch;
}

.lede {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(21px, 2.4vw, 28px);
  line-height: 1.38;
}

.intro-links {
  display: flex;
  gap: 6px;
  margin: 26px 0 0;
}

.intro-links .social-link {
  width: 34px;
  height: 34px;
}

.intro-links .social-link svg {
  width: 18px;
  height: 18px;
}

.collection {
  padding: 44px 0 72px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 12px;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(27px, 3.1vw, 36px);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px 26px;
}

.item {
  min-width: 0;
}

.media-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  margin-bottom: 18px;
  overflow: hidden;
  background: #f2f2f2;
  border: 1px solid var(--line);
}

.media-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 160ms ease;
}

.media-link:hover img {
  opacity: 0.86;
}

.tapestry-preview {
  background: #e5dcc5;
}

.tapestry-preview img {
  object-fit: cover;
  object-position: 62% 45%;
}

.play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding-left: 2px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-size: 13px;
}

.item h3 {
  margin: 0 0 9px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.28;
}

.item h3 a {
  text-decoration: none;
}

.item h3 a:hover {
  text-decoration: underline;
}

.item > p:last-child:not(.meta) {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 820px) {
  .intro {
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 36px;
    padding-block: 64px 72px;
  }

  .portrait {
    width: 124px;
    height: 124px;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .wrap {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .site-header {
    padding-block: 20px;
  }

  .site-header nav {
    width: 100%;
    max-width: none;
    justify-content: flex-start;
    gap: 6px 18px;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 52px 64px;
  }

  .portrait {
    width: 112px;
    height: 112px;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    margin-bottom: 8px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .site-footer {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .media-link img {
    transition: none;
  }
}
