.projectPage {
  background: #f5f5f5;
  color: var(--dark);
}

.projectPage p,
.projectPage li,
.projectPage a,
.projectPage span {
  font-family: Arial, Helvetica, sans-serif;
}

.projectPage .name,
.projectPage .cardSentence,
.projectPage .project h2 {
  font-family: "Roboto Slab", Georgia, serif;
}

.projects-editorial {
  max-width: 1120px;
  margin: 0 auto;
  padding: 7.5rem 2.5rem 4.5rem;
}

.projects-hero {
  max-width: 760px;
  margin-bottom: 5rem;
}

.projects-eyebrow {
  margin: 0 0 1rem;
  color: var(--nameRed);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.projectPage .name {
  margin: 0;
  color: var(--dark);
  text-align: left;
  font-size: clamp(3.2rem, 7vw, 5.2rem);
  line-height: 0.97;
  letter-spacing: -0.03em;
}

.projects-lede {
  max-width: 700px;
  margin: 1.35rem 0 0;
  color: rgba(35, 35, 35, 0.86);
  font-size: 1.24rem;
  line-height: 1.6;
  text-align: left;
}

.projects-pill-row {
  margin-top: 1.5rem;
}

.projects-section {
  margin-top: 4rem;
}

.projectPage .cardSentence {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: rgba(35, 35, 35, 0.86);
}

.projectPage .cardSentence::before,
.projectPage .cardSentence::after {
  content: "";
  border-bottom: 1px solid rgba(11, 49, 66, 0.2);
}

.projectPage .cardSentence::before {
  flex: 0 0 32px;
}

.projectPage .cardSentence::after {
  flex: 1;
}

.projectPage .section-intro {
  max-width: 720px;
  margin: 0 0 1.5rem;
  color: rgba(35, 35, 35, 0.72);
  font-size: 1rem;
  line-height: 1.7;
}

.projectPage .section-intro--full {
  max-width: none;
}

.projectPage .pill-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  line-height: 1;
  border: 1px solid rgba(11, 49, 66, 0.12);
  transition: transform 120ms ease, border-color 120ms ease, background-color 120ms ease;
}

.projectPage .pill-link--white {
  background: #0b3142;
  border-color: #0b3142;
  color: #fff;
  box-shadow: none;
  -webkit-box-shadow: none;
}

.projectPage .pill-link--white:hover {
  transform: translateY(-1px);
  border-color: #123f55;
  background: #123f55;
  box-shadow: none;
  -webkit-box-shadow: none;
}

.projectPage .pill-icon {
  width: 18px;
  height: 18px;
  display: block;
  flex: 0 0 auto;
}

.projectPage .pill-link--white .pill-icon {
  filter: brightness(0) invert(1);
}

.projectPage .github-recent-status {
  margin: 0 0 1.25rem;
  color: rgba(35, 35, 35, 0.7);
  text-align: left;
  opacity: 1;
}

.projectPage .github-repo-meta {
  margin-top: 12px;
  color: rgba(35, 35, 35, 0.62);
  font-size: 0.84rem;
}

.projectPage .project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 16px;
  align-items: stretch;
}

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

.projectPage .project-grid.projectShowcase {
  margin: 0;
}

.projectPage .project-grid .project {
  margin: 0;
  min-width: 0;
}

.projectPage .project {
  padding: 1.35rem 1.4rem 1.3rem;
  border: 1px solid #0b3142;
  border-radius: 24px;
  background: #0b3142;
  color: #f5f5f5;
  box-shadow: none;
  -webkit-box-shadow: none;
}

.projectPage .project-summary-card {
  padding: 1.05rem 1.2rem;
  background: #0b3142;
  border-color: #0b3142;
}

.projectPage .github-repo-card {
  background: #0b3142;
}

.projectPage .projects-section:last-of-type .project:nth-child(3n + 1) {
  background: #0b3142;
}

.projectPage .projects-section:last-of-type .project:nth-child(3n + 2) {
  background: #0b3142;
}

.projectPage .projects-section:last-of-type .project:nth-child(3n) {
  background: #0b3142;
}

.projectPage .project-clickable.project {
  transition: transform 120ms ease, border-color 120ms ease, background-color 120ms ease;
}

.projectPage .project-clickable.project:hover {
  transform: translateY(-2px);
  border-color: #123f55;
  background: #123f55;
  box-shadow: none;
  -webkit-box-shadow: none;
}

.projectPage .project-clickable.project:active {
  transform: translateY(0);
}

.projectPage .project-clickable:focus-visible {
  outline: 3px solid var(--nameRed);
  outline-offset: 4px;
}

.projectPage .project h2 {
  margin: 0;
  color: #fff;
  font-size: 1.22rem;
  line-height: 1.2;
}

.projectPage .project hr {
  width: 100%;
  margin: 12px 0 0;
  opacity: 1;
  background: rgba(255, 255, 255, 0.16);
}

.projectPage .tech-stack {
  margin: 12px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.projectPage .tech-tag {
  background: #123f55;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
}

.projectPage .projectSummary {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.97rem;
  line-height: 1.65;
}

.projectPage .projectSummary--full {
  max-width: none;
  margin: 0;
  color: rgba(35, 35, 35, 0.75);
}

.projectPage .project-summary-card .projectSummary {
  margin-top: 0;
}

.projectPage .project ul {
  margin: 12px 0 0;
  padding-left: 1.1rem;
  color: rgba(255, 255, 255, 0.84);
}

.projectPage .project ul li {
  margin: 0.45rem 0;
  line-height: 1.55;
}

.projectPage .project a {
  color: inherit;
  text-decoration: none;
}

.projectPage .github-repo-meta {
  color: rgba(255, 255, 255, 0.62);
}

@media only screen and (max-width: 768px) {
  .projects-editorial {
    padding: 6.25rem 0.95rem 3.25rem;
  }

  .projects-hero {
    margin-bottom: 3.5rem;
  }

  .projectPage .name {
    font-size: clamp(2.45rem, 10vw, 3.5rem);
    line-height: 1;
  }

  .projects-lede {
    font-size: 1.05rem;
  }

  .projects-section {
    margin-top: 3rem;
  }

  .projectPage .cardSentence {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    gap: 0.6rem;
  }

  .projectPage .cardSentence::before {
    flex-basis: 24px;
  }

  .projectPage .section-intro,
  .projectPage .projectSummary {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .projectPage .project-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .projectPage .project {
    width: auto !important;
    padding: 1.1rem 1rem 1rem;
    border-radius: 22px;
  }

  .projectPage .project h2 {
    font-size: 1.06rem;
  }

  .projectPage .tech-tag {
    font-size: 0.75rem;
  }
}
