:root {
  color-scheme: light dark;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: light-dark(#201e19, #ece5d8);
  background: light-dark(#e7dfcf, #211f1b);
}

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

.page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  overflow: hidden;
  background: light-dark(#e7dfcf, #211f1b);
  color: light-dark(#201e19, #ece5d8);
}

.navigation {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px 30px;
  border-bottom: 1px solid light-dark(#b8ae9d, #49443b);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-weight: 500;
  letter-spacing: .12em;
}

.navigation a:hover,
.navigation a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.maker-mark {
  position: absolute;
  right: 8%;
  top: 92px;
  width: clamp(108px, 14vw, 148px);
  aspect-ratio: 1;
  transform: rotate(3deg);
  opacity: .9;
  mix-blend-mode: multiply;
  will-change: transform;
}

.maker-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

main {
  padding: 74px 8% 92px;
}

h1 {
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.045em;
  white-space: pre-line;
}

.headline-note {
  margin: 14px 0 0;
  color: light-dark(#746d61, #9f9688);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: clamp(.72rem, 1.2vw, .86rem);
  letter-spacing: .035em;
}

.project-list {
  display: grid;
  width: min(880px, 84vw);
  margin-top: 38px;
  border-top: 1px solid light-dark(#aaa08f, #504a40);
}

.project {
  display: grid;
  grid-template-columns: 120px minmax(280px, 540px) minmax(110px, 1fr);
  gap: 5px 20px;
  padding: 19px 0;
  border-bottom: 1px solid light-dark(#aaa08f, #504a40);
}

.project strong {
  font-weight: 500;
}

.project-description {
  grid-column: 2;
  color: light-dark(#5d574d, #b7ae9f);
}

.project-description > :first-child {
  margin-top: 0;
}

.project-description > :last-child {
  margin-bottom: 0;
}

.project-description p,
.project-description ul,
.project-description ol {
  margin: 0 0 .72em;
}

.project-description ul,
.project-description ol {
  padding-left: 1.35em;
}

.project-description a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.project-description a:hover,
.project-description a:focus-visible {
  color: light-dark(#9a342c, #d56e60);
}

.project time {
  grid-column: 3;
  grid-row: 1;
  align-self: baseline;
  justify-self: end;
  color: light-dark(#746d61, #9f9688);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: .76rem;
  letter-spacing: .09em;
  white-space: nowrap;
}

.project-url {
  grid-column: 2;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-weight: 400;
  letter-spacing: .05em;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.project-url:hover,
.project-url:focus-visible {
  color: light-dark(#9a342c, #d56e60);
}

.project--accent strong,
.project--accent .project-url {
  color: light-dark(#9a342c, #d56e60);
}

footer {
  position: absolute;
  left: 8%;
  bottom: 25px;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .15em;
}

@media (max-width: 600px) {
  .page {
    min-height: 870px;
  }

  .navigation {
    padding: 18px;
  }

  .maker-mark {
    right: 8%;
    top: 102px;
    opacity: .8;
  }

  main {
    padding: 174px 8% 90px;
  }

  .project {
    grid-template-columns: 1fr auto;
    gap: 7px;
  }

  .project-description,
  .project-url {
    grid-column: 1 / -1;
  }

  .project time {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .maker-mark {
    transform: rotate(3deg) !important;
  }
}
