/* design-pages · macrostructure: Portfolio Grid · tone: quiet · anchor hue: charcoal */
@import url("/tokens.css");
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: clip;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 5px;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.masthead,
main,
footer {
  max-width: 1400px;
  margin: auto;
  padding-inline: 48px;
}
.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  padding-bottom: 24px;
}
.creator {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.3px;
}
.creator span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
  margin-top: 4px;
}
.index-link {
  font-size: 12px;
  white-space: nowrap;
}
.index-link span {
  margin-left: 12px;
}
.intro {
  padding: 82px 0 66px;
}
.intro-note {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 24px;
}
h1 {
  font-size: clamp(40px, 5.4vw, 76px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -3.6px;
  margin: 0;
  overflow-wrap: anywhere;
}
.period {
  color: var(--accent);
}
.intro-copy {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin: 24px 0 0;
}
.collection-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--rule);
  padding: 20px 0 24px;
  font-size: 12px;
}
.collection-heading p {
  margin: 0;
}
.collection-heading span {
  color: var(--muted);
  font-family: var(--font-label);
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px;
}
.preview {
  display: block;
  aspect-ratio: 18/13;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--rule);
}
.preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 180ms ease-out;
}
.preview:hover img {
  transform: scale(1.015);
}
.project-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 23px 0 9px;
}
h2 {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.7px;
  font-weight: 550;
  margin: 0;
}
.open {
  font-size: 12px;
  white-space: nowrap;
}
.open span {
  margin-left: 5px;
}
.category {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 14px;
  letter-spacing: 0.1px;
}
.description {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  max-width: 480px;
  color: var(--muted);
}
.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
  font-size: 11px;
}
.project-links a {
  white-space: nowrap;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 3px;
}
footer {
  margin-top: 100px;
  padding-top: 26px;
  padding-bottom: 36px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}
footer p {
  margin: 0;
}
footer a {
  white-space: nowrap;
}
.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 99;
  background: var(--paper);
  padding: 12px;
  transform: translateY(-150%);
}
.skip:focus {
  transform: none;
}
@media (max-width: 767px) {
  .masthead,
  main,
  footer {
    padding-inline: 22px;
  }
  .masthead {
    padding-top: 24px;
  }
  .intro {
    padding: 58px 0 48px;
  }
  h1 {
    letter-spacing: -2px;
  }
  .intro-copy {
    font-size: 14px;
  }
  .grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 46px;
  }
  .project-heading {
    margin-top: 18px;
  }
  h2 {
    font-size: 23px;
  }
  .description {
    max-width: none;
  }
  footer {
    margin-top: 64px;
    flex-wrap: wrap;
    row-gap: 16px;
  }
  footer p:nth-child(2) {
    order: 3;
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .preview img {
    transition: none;
  }
  .preview:hover img {
    transform: none;
  }
}
