.real-hero {
  padding-bottom: 24px;
}

.real-intro {
  max-width: 920px;
  margin: 70px auto 20px;
  text-align: center;
}

.real-intro h1 {
  max-width: none;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  margin: 12px auto 20px;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.real-lead {
  max-width: 62ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.real-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}

.chip {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ghost-surface);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip:hover {
  color: var(--text);
  border-color: var(--cta-border);
}

.chip.is-active {
  color: var(--black);
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  border-color: transparent;
  box-shadow: 0 10px 26px rgba(255, 178, 28, 0.24);
}

html[data-theme="light"] .chip.is-active {
  color: #fbf4e8;
  box-shadow: 0 10px 26px rgba(215, 133, 0, 0.3);
}

.real-main {
  padding: 20px 0 80px;
}

.real-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.project-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-strong), var(--surface-tint));
  overflow: hidden;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.project-card.is-hidden {
  display: none;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--cta-border);
}

.project-media {
  position: relative;
  aspect-ratio: 1.4;
  background: linear-gradient(135deg, var(--card-inner-bg), var(--bg-soft));
  border-bottom: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.project-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.project-card:hover .project-image {
  transform: scale(1.04);
}

.project-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  box-shadow: 0 8px 20px rgba(255, 178, 28, 0.3);
}

html[data-theme="light"] .project-tag {
  color: #fbf4e8;
}

.project-placeholder {
  display: grid;
  justify-items: center;
  gap: 10px;
  color: var(--muted);
  opacity: 0.6;
}

.project-placeholder svg {
  width: 44px;
  height: 44px;
  color: var(--accent-soft);
}

.project-placeholder span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.project-body h3 {
  font-family: "Space Grotesk", sans-serif;
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.2;
  color: var(--text);
}

.project-meta {
  margin: 0;
  color: var(--accent-soft);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

html[data-theme="light"] .project-meta {
  color: var(--accent-dark);
}

.project-desc {
  margin: 2px 0 4px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

.project-tags {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tags li {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--trust-bg);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.active-link {
  color: var(--text) !important;
}

.real-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: center;
  width: min(calc(100% - 40px), var(--container));
  margin: 40px auto 0;
  padding: clamp(28px, 5vw, 46px);
  border: 1px solid var(--line);
  border-radius: 36px;
  background: linear-gradient(180deg, var(--surface-strong), var(--surface-tint));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.real-cta h2 {
  margin: 10px 0 14px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.real-cta p {
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.75;
}

.real-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.real-cta-actions .button {
  width: 100%;
}

@media (max-width: 1050px) {
  .real-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .real-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .real-grid {
    grid-template-columns: 1fr;
  }
  .real-intro {
    margin-top: 36px;
  }
}
