/*
  The project pages.

  Self-contained, and deliberately not extending style.css. That sheet lays
  `main` out as a two-column app shell with a fixed sidebar, which is right for
  the single page it was written for and fights a page that is one column of
  prose. The palette below is copied from it rather than imported for the same
  reason — six declarations, against inheriting a layout to override it.
*/

:root {
  --jet: hsl(0, 0%, 22%);
  --eerie-black-2: hsl(240, 2%, 12%);
  --smoky-black: hsl(0, 0%, 7%);
  --white-2: hsl(0, 0%, 98%);
  --orange-yellow-crayola: hsl(45, 100%, 72%);
  --vegas-gold: hsl(45, 54%, 58%);
  --light-gray: hsl(0, 0%, 84%);
  --light-gray-70: hsla(0, 0%, 84%, 0.7);

  --ff-poppins: 'Poppins', sans-serif;
  --fs-1: 24px;
  --fs-4: 16px;
  --fs-5: 15px;
  --fs-6: 14px;
  --fs-7: 13px;
  --fs-8: 11px;
  --fw-500: 500;
  --fw-600: 600;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--smoky-black);
}

.project-page {
  max-width: 46rem;
  margin: 0 auto;
  padding: 30px 15px 60px;
  color: var(--light-gray);
  font-family: var(--ff-poppins);
  font-size: var(--fs-6);
  line-height: 1.7;
}

.project-page a { color: var(--orange-yellow-crayola); }

.project-back {
  display: inline-block;
  margin-bottom: 24px;
  font-size: var(--fs-7);
  text-decoration: none;
}
.project-back:hover { text-decoration: underline; }

.project-page h1 {
  color: var(--white-2);
  font-size: var(--fs-1);
  font-weight: var(--fw-600);
  margin-bottom: 6px;
}

.project-lede {
  color: var(--light-gray-70);
  font-size: var(--fs-5);
  margin-bottom: 22px;
}

.project-shot {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--jet);
  margin-bottom: 30px;
  display: block;
}

.project-page h2 {
  color: var(--white-2);
  font-size: var(--fs-4);
  font-weight: var(--fw-600);
  margin: 28px 0 10px;
}

.project-page p { margin-bottom: 14px; }

.project-page ul { margin: 0 0 14px 18px; }
.project-page li { margin-bottom: 8px; }

.project-page strong { color: var(--white-2); font-weight: var(--fw-500); }

/* The stack, as chips. One line per layer reads as a table nobody finishes. */
.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding: 0;
  list-style: none;
}
.project-stack li {
  margin: 0;
  padding: 4px 12px;
  border: 1px solid var(--jet);
  border-radius: 999px;
  background: var(--eerie-black-2);
  font-size: var(--fs-8);
  color: var(--light-gray-70);
}

/* What is not finished. Bordered rather than tinted, so it reads as a note
   rather than an error — the whole point is that these are honest, not bad. */
.project-open {
  border: 1px solid var(--jet);
  border-left: 3px solid var(--vegas-gold);
  border-radius: 10px;
  padding: 16px 18px 4px;
  background: var(--eerie-black-2);
  margin-top: 8px;
}
.project-open h2 { margin-top: 0; }

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--jet);
  font-size: var(--fs-7);
}
