.project-hub-main {
  min-height: 100vh;
  padding: 118px 0 90px;
}

.project-shell {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.project-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 56px;
  color: rgba(232, 239, 237, .58);
  font-family: var(--mono);
  font-size: .75rem;
  text-transform: uppercase;
}

.project-breadcrumbs a { color: rgba(232, 239, 237, .82); }

.project-hub-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: end;
  padding: 20px 0 76px;
  border-bottom: 1px solid var(--line);
}

.project-hub-hero h1 {
  max-width: 920px;
  margin: 14px 0 0;
  font-size: 8rem;
  line-height: .86;
  letter-spacing: 0;
}

.project-hub-hero .lead {
  max-width: 560px;
  margin: 0;
  color: rgba(232, 239, 237, .7);
  font-size: 1.2rem;
  line-height: 1.65;
}

.project-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 64px 0 24px;
}

.project-category-card {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: grid;
  align-content: end;
  border: 1px solid rgba(224, 236, 234, .16);
  border-radius: 8px;
  background: #0b1113;
  color: var(--paper);
  isolation: isolate;
}

.project-category-card-wide { grid-column: 1 / -1; min-height: 460px; }

.project-category-card > img,
.project-category-card > picture,
.project-category-card > picture img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 9, 11, .26) 0%, rgba(5, 9, 11, .58) 48%, rgba(5, 9, 11, .96) 100%),
    linear-gradient(90deg, rgba(5, 9, 11, .5), transparent 70%);
}

.project-category-copy {
  max-width: 760px;
  padding: clamp(28px, 5vw, 58px);
}

.project-category-copy h2 {
  margin: 12px 0 16px;
  font-size: 4.4rem;
  line-height: .94;
  text-shadow: 0 3px 22px rgba(0, 0, 0, .46);
}

.project-category-copy p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 24px;
  color: rgba(239, 244, 242, .76);
  line-height: 1.6;
}

.project-category-meta,
.project-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-category-meta { margin-bottom: 28px; }

.project-category-meta span,
.project-card-tags span {
  padding: 7px 10px;
  border: 1px solid rgba(174, 232, 223, .22);
  border-radius: 999px;
  color: rgba(225, 240, 237, .84);
  background: rgba(7, 13, 15, .54);
  font-family: var(--mono);
  font-size: .68rem;
  text-transform: uppercase;
}

.project-section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .6fr);
  gap: 40px;
  align-items: end;
  padding: 70px 0 34px;
}

.project-section-intro h2 {
  max-width: 800px;
  font-size: 5.5rem;
  line-height: .9;
}

.project-section-intro p {
  color: rgba(232, 239, 237, .7);
  line-height: 1.65;
}

.project-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 76px;
}

.project-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: 290px 1fr;
  border: 1px solid rgba(224, 236, 234, .15);
  border-radius: 8px;
  background:
    radial-gradient(circle at 84% 12%, rgba(154, 223, 228, .08), transparent 34%),
    #0d1417;
}

.project-card-media {
  position: relative;
  overflow: hidden;
  display: block;
  border-bottom: 1px solid rgba(224, 236, 234, .13);
  background: #070c0e;
}

.project-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.2,.7,.2,1);
}

.project-card:hover .project-card-media img { transform: scale(1.025); }

.project-card-body {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 30px;
}

.project-card-body h2,
.project-card-body h3 {
  margin: 0;
  font-size: 3rem;
  line-height: .96;
}

.project-card-body > p:not(.eyebrow) {
  min-height: 76px;
  color: rgba(232, 239, 237, .7);
  line-height: 1.55;
}

.project-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.project-family-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 24px 0 12px;
}

.project-family-nav a {
  padding: 11px 14px;
  border: 1px solid rgba(224, 236, 234, .16);
  border-radius: 999px;
  color: rgba(232, 239, 237, .76);
  background: rgba(238, 244, 242, .035);
  font-size: .78rem;
  font-weight: 800;
}

.project-family-nav a[aria-current="page"] {
  border-color: rgba(174, 232, 223, .48);
  color: #071012;
  background: #aee8df;
}

.home-project-families {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-project-families .project-category-grid { padding-bottom: 0; }

[hidden] { display: none !important; }

@media (max-width: 900px) {
  .project-hub-main { padding-top: 96px; }
  .project-hub-hero,
  .project-section-intro { grid-template-columns: 1fr; align-items: start; }
  .project-hub-hero h1 { font-size: 5.5rem; }
  .project-category-copy h2 { font-size: 3.5rem; }
  .project-section-intro h2 { font-size: 4rem; }
  .project-category-card { min-height: 440px; }
}

@media (max-width: 720px) {
  .project-shell { width: min(100% - 28px, 1240px); }
  .project-breadcrumbs { margin-bottom: 34px; }
  .project-hub-hero { padding-bottom: 48px; }
  .project-hub-hero h1 { font-size: 3rem; line-height: .94; }
  .project-category-grid,
  .project-card-grid { grid-template-columns: 1fr; }
  .project-category-card-wide { grid-column: auto; }
  .project-category-card,
  .project-category-card-wide { min-height: 420px; }
  .project-category-copy { padding: 26px 22px; }
  .project-category-copy h2 { font-size: 2.35rem; }
  .project-section-intro { padding-top: 48px; }
  .project-section-intro h2 { font-size: 3rem; }
  .project-card { grid-template-rows: 220px 1fr; }
  .project-card-body { padding: 24px 20px; }
  .project-card-body h2,
  .project-card-body h3 { font-size: 2.3rem; }
  .project-card-body > p:not(.eyebrow) { min-height: 0; }
}
