:root {
  color-scheme: light;
  --page-background: #fff;
  --text: #405657;
  --muted: #63858a;
  --number: #84a0a0;
  --divider: #c6dfe5;
  --accent: #b2a0b9;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--page-background);
  color: var(--text);
  font-family: Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 14px;
  line-height: 1.22;
  -webkit-text-size-adjust: 100%;
}

a {
  color: inherit;
}

.page {
  width: min(1298px, calc(100% - 48px));
  margin-inline: auto;
  padding-top: 110px;
  padding-bottom: 200px;
}

.site-header,
main {
  width: min(866px, 100%);
}

.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 126px;
  padding-left: 69px;
  padding-right: 32px;
}

@font-face {
  font-family: "Yue Wordmark";
  src: local("ZTNeueRalewe-SemiBoldItalic"), local("ZT Neue Ralewe SemiBold Italic");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

.wordmark {
  position: relative;
  top: -.22em;
  left: .03em;
  margin: 0;
  font-family: "Yue Wordmark", Georgia, "Times New Roman", serif;
  font-size: 100px;
  font-weight: 600;
  font-style: italic;
  line-height: .79;
  letter-spacing: 0;
  white-space: nowrap;
}

.wordmark a {
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
}

.wordmark-yue, .wordmark-diamond {
  color: #4a5454;
}

.wordmark-xr {
  color: var(--accent);
}

.wordmark-diamond {
  position: relative;
  top: -7px;
  margin-left: 8px;
  font-size: 24px;
  font-style: normal;
}

.support {
  padding-top: 11px;
}

.support-fallback {
  display: inline-block;
  padding: 12px;
  border-radius: 7px;
  background: #9ebfca;
  color: #213c45;
  font: 700 14px Arial, sans-serif;
  text-decoration: none;
}

.support:has(.btn-container) .support-fallback {
  display: none;
}

.projects {
  margin: 0;
  padding: 0;
  list-style: none;
}

.project {
  border-top: 1px solid var(--divider);
}

.project:last-child {
  border-bottom: 1px solid var(--divider);
}

.project-link {
  display: grid;
  grid-template-columns: 35px 336px minmax(0, 1fr);
  column-gap: 20px;
  position: relative;
  --row-shift: 0px;
  --row-fill: transparent;
  isolation: isolate;
  min-height: 229px;
  padding: 20px 16px;
  text-decoration: none;
}

.project-number {
  padding-top: 1px;
  color: var(--number);
  font-size: 30px;
  line-height: 1;
}

.project-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  align-self: start;
  min-width: 0;
  transform: translateX(var(--row-shift));
  transition: transform 220ms ease-in-out;
  will-change: transform;
}

.project-copy {
  align-self: end;
  min-width: 0;
  padding-left: 20px;
}

.project-meta,
.project-description {
  margin: 0;
  color: var(--muted);
}

.project-meta {
  font-size: 13px;
}

.project h2 {
  margin: 2px 0 16px;
  font-size: 16px;
  font-style: italic;
}

.project-link::before {
  content: "";
  position: absolute;
  inset: 0 0 0 var(--row-shift);
  z-index: -1;
  background-color: var(--row-fill);
  pointer-events: none;
  transition: left 220ms ease-in-out, background-color 180ms ease;
}

.project-number,
.project-copy {
  position: relative;
  left: var(--row-shift);
  transition: left 220ms ease-in-out;
}

@media (hover: hover) and (pointer: fine) {
  .project:hover .project-link {
    --row-shift: 6px;
    --row-fill: #fbf8fd;
  }

}

.project-link:focus-visible {
  --row-shift: 6px;
  --row-fill: #fbf8fd;
}

a:focus-visible {
  outline: 2px solid #80628a;
  outline-offset: 5px;
}

.project-link:focus-visible {
  outline-offset: -3px;
}

.skip-link {
  position: fixed;
  z-index: 1;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  background: white;
  transform: translateY(-160%);
}

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

@media (max-width: 800px) {
  .page {
    padding-top: 56px;
  }

  .site-header {
    padding-inline: 0;
    min-height: 128px;
    align-items: center;
    padding-bottom: 32px;
  }

  .wordmark {
    font-size: 84px;
  }

  .support {
    padding-top: 0;
  }

  .project-link {
    grid-template-columns: 30px minmax(180px, 42%) minmax(0, 1fr);
    gap: 16px;
    min-height: 0;
    padding: 20px 0;
  }

  .project-number {
    font-size: 26px;
  }

  .project-copy {
    padding-left: 0;
  }

  .project h2 {
    font-size: 15px;
    margin-bottom: 14px;
  }

}

@media (max-width: 560px) {
  .page {
    width: calc(100% - 32px);
    padding-top: 32px;
    padding-bottom: 140px;
  }

  .site-header {
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 24px;
    padding-bottom: 28px;
  }

  .wordmark {
    font-size: 76px;
  }

  .project-link {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 14px;
    padding-block: 20px 24px;
  }

  .project-copy {
    grid-column: 2;
  }

  .project h2 {
    font-size: 16px;
    margin-bottom: 14px;
  }

  .project-meta {
    line-height: 1.4;
  }

  .project-description {
    line-height: 1.4;
  }

}

@media (prefers-reduced-motion: reduce) {
  .project .project-link {
    --row-shift: 0px;
  }

  .project-link::before, .project-link > * {
    transition: none;
  }

  .project-image {
    will-change: auto;
  }

}
