:root {
  --paper: #fff;
  --ink: #11110f;
  --muted: #6f6e69;
  --line: #cbc9c2;
  --footer: #eef1f7;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.home {
  height: 100dvh;
  min-height: 608px;
  display: grid;
  grid-template-rows: 50px 1fr 78px;
}

.masthead {
  min-height: 50px;
  display: flex;
  align-items: center;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .24em;
  text-decoration: none;
}

.projects {
  min-height: 0;
  display: grid;
  grid-template-rows: repeat(2, minmax(240px, 1fr));
}

.project {
  min-height: 0;
  display: grid;
  grid-template-columns: 41% 59%;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.project-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(14px, 2.2vw, 30px);
}

.project-url {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.project-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin: 7px 0 10px;
}

.project-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .95;
}

.project-heading span {
  flex: 0 0 auto;
  font-size: 22px;
  line-height: 1;
}

.project-copy p {
  max-width: 44rem;
  margin: 0;
  color: #3e3d39;
  font-size: clamp(12px, 1.15vw, 15px);
  line-height: 1.35;
}

.project-art {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.project-art--games {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  place-items: center;
  gap: clamp(12px, 2vw, 32px);
  padding: clamp(20px, 3.2vw, 50px);
  background: #fff;
}

.project-art--games img {
  width: 100%;
  max-width: 190px;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.project-art--daniel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.project:hover .project-heading h2,
.project:focus-visible .project-heading h2 {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.project:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: -4px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 28px;
  background: var(--footer);
}

.site-footer nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4.5vw, 58px);
}

.site-footer a,
.site-footer p {
  margin: 0;
  color: #5e6066;
  font-size: 10px;
  letter-spacing: .19em;
}

.site-footer a {
  text-decoration: none;
  text-transform: uppercase;
}

.site-footer p {
  letter-spacing: .07em;
}

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

.bare {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--paper);
  font-size: 15px;
}

.bare p {
  margin: 0;
}

.bare a {
  color: var(--ink);
  text-underline-offset: 4px;
}

.legal {
  background: #fff;
}

.contact-page { min-height: 100dvh; display: grid; grid-template-rows: auto 1fr; }
.contact-content { display: grid; place-items: center; padding: 24px; font-size: 15px; }
.contact-content p { margin: 0; }
.contact-content a { text-underline-offset: 4px; }

.privacy {
  width: min(calc(100% - 40px), 680px);
  margin: 0 auto;
  padding: 52px 0 68px;
  font-size: 15px;
  line-height: 1.58;
}

.privacy h1 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -.025em;
}

.privacy .updated {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 12px;
}

.privacy h2 {
  margin: 27px 0 6px;
  font-size: 15px;
}

.privacy p {
  margin: 0 0 10px;
}

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

@media (max-width: 720px) {
  .home {
    height: auto;
    min-height: 100dvh;
    overflow: visible;
    display: block;
  }

  .masthead {
    min-height: 52px;
    padding: 0 18px;
  }

  .projects {
    display: block;
  }

  .project {
    display: grid;
    grid-template-columns: 1fr;
  }

  .project-copy {
    min-height: 190px;
    padding: 26px 18px 24px;
  }

  .project-heading h2 {
    font-size: clamp(38px, 13vw, 58px);
  }

  .project-art {
    height: 190px;
  }

  .project--daniel .project-art {
    order: 2;
  }

  .project--daniel .project-copy {
    order: 1;
  }

  .site-footer {
    min-height: 126px;
    display: grid;
    align-content: center;
    justify-content: stretch;
    gap: 20px;
    padding: 22px 18px;
  }

  .site-footer nav {
    flex-wrap: wrap;
    gap: 16px 24px;
  }
}

@media (max-height: 680px) and (min-width: 721px) {
  .home .masthead { min-height: 44px; }
  .home {
    grid-template-rows: 44px 1fr 66px;
  }

  .masthead,
  .site-footer {
    padding-left: 22px;
    padding-right: 22px;
  }

  .project-copy {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .project-heading h2 {
    font-size: clamp(26px, 3.4vw, 40px);
  }

}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
