.os-proj-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.os-proj-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.os-proj-card:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  border-color: var(--border-strong);
}

.os-proj-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.os-proj-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.os-proj-card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: #fff;
}

.os-proj-tagline {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.os-proj-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.os-stack-pill {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 8px;
}

.os-proj-more {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-secondary);
}

.os-proj-card:hover .os-proj-more {
  color: #fff;
}

.os-proj-hero {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}

.os-proj-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.os-proj-hero-top .writing-meta {
  margin: 0;
}

.os-proj-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.os-proj-ext {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-strong);
  font-size: 12.5px;
  font-weight: 500;
  color: #fff;
  transition: background 0.14s ease, border-color 0.14s ease;
}

.os-proj-ext:hover {
  background: rgba(255, 255, 255, 0.12);
}

.os-proj-hero h1 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 0 0 12px;
  color: #fff;
}

.os-proj-hero .os-proj-stack {
  margin-top: 18px;
}

.os-proj-story {
  margin-top: 28px;
}

.os-proj-story-block {
  margin-bottom: 32px;
}

.os-proj-story-block:last-child {
  margin-bottom: 0;
}

.os-proj-story-block h2 {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 12px;
}

.os-proj-story-block p {
  font-size: 16px;
  line-height: 1.78;
  color: #d4d4d8;
  margin: 0 0 1.25em;
}

.os-proj-story-block p:last-child {
  margin-bottom: 0;
}

.os-about-role {
  margin: 6px 0 0;
  font-size: 15px;
  color: var(--text-secondary);
}

.os-about-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.os-about-story {
  margin-top: 32px;
}

.os-about-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

@media (max-width: 760px) {
  .os-proj-grid {
    grid-template-columns: 1fr;
  }
}
