.github {
  background: #fff;
  border-bottom: 2px solid #000;
}

.github-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #000;
}

.github-title-cell {
  padding: 60px 40px;
  border-right: 1px solid #000;
}

.github-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(80px, 14vw, 160px);
  letter-spacing: -3px;
  line-height: .85;
  color: #000;
  text-transform: uppercase;
}

.github-desc-cell {
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
}

.github-handle {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(28px, 3.5vw, 42px);
  color: #000;
  text-decoration: none;
  letter-spacing: -1px;
  transition: opacity .2s;
  align-self: flex-start;
}
.github-handle:hover { opacity: .55; }

.github-desc {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--dim);
  line-height: 1.8;
  letter-spacing: 1px;
  max-width: 340px;
}

.github-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid #000;
}

.gh-stat {
  padding: 44px 32px;
  border-right: 1px solid rgba(0,0,0,.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gh-stat:last-child { border-right: none; }

.gh-stat-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--dim);
}

.gh-stat-val {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(48px, 6vw, 80px);
  letter-spacing: -2px;
  line-height: 1;
  color: #000;
}

.gh-repos-header {
  padding: 24px 40px 0;
}

.gh-repos-list {
  padding: 24px 0 0;
  display: flex;
  flex-direction: column;
}

.gh-repo-loading {
  padding: 40px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 2px;
  text-align: center;
}

.gh-repo {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  padding: 24px 40px;
  border-top: 1px solid rgba(0,0,0,.08);
  text-decoration: none;
  color: #000;
  transition: background .2s;
  gap: 20px;
}
.gh-repo:hover { background: rgba(0,0,0,.025); }

.gh-repo-num {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 28px;
  color: rgba(0,0,0,.15);
  letter-spacing: -1px;
}

.gh-repo-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.gh-repo-name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .2px;
}

.gh-repo-desc {
  font-family: var(--f-body);
  font-size: 13px;
  color: var(--dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gh-repo-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--dim);
  text-transform: uppercase;
}

.gh-repo-lang {
  display: flex;
  align-items: center;
  gap: 6px;
}
.gh-repo-lang::before {
  content: '';
  width: 8px; height: 8px;
  background: #000;
  display: inline-block;
  border-radius: 50%;
}

@media (max-width: 768px) {
  .github-header { grid-template-columns: 1fr; }
  .github-title-cell { border-right: none; border-bottom: 1px solid #000; padding: 40px 20px; }
  .github-desc-cell { padding: 30px 20px; }
  .github-stats { grid-template-columns: 1fr 1fr; }
  .gh-stat { padding: 28px 20px; }
  .gh-stat:nth-child(2) { border-right: none; }
  .gh-stat:nth-child(1), .gh-stat:nth-child(2) { border-bottom: 1px solid rgba(0,0,0,.1); }
  .gh-repo { grid-template-columns: 40px 1fr; padding: 20px; gap: 12px; }
  .gh-repo-meta { display: none; }
  .gh-repos-header { padding: 20px 20px 0; }
}
