.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.8fr);
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.home-hero-text h1 {
  margin-top: 0;
}

.home-hero-image img {
  width: 100%;
  max-width: 340px;
  border-radius: 18px;
  display: block;
  margin-left: auto;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

@media (max-width: 900px) {
  .home-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .home-hero-image img {
    margin-left: 0;
    max-width: 280px;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.hero-card,
.project-card {
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  padding: 1.25rem;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.hero-card h2,
.project-card h2,
.project-card h3 {
  margin-top: 0;
}

@media (max-width: 900px) {
  .hero-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }
}

/* About page: visual office note */

.office-images-aside {
  margin: 2.25rem 0 3rem 0;
  padding: 1.35rem 1.5rem 1.5rem 1.5rem;
  border: 1px solid #e1e4e8;
  border-left: 4px solid #d0d7de;
  background: #f8f9fa;
  border-radius: 12px;
}

.office-images-kicker {
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6c757d;
}

.office-images-aside p {
  margin-bottom: 0.85rem;
}

.office-images-gallery {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-top: 1.25rem;
}

.office-image-wide img,
.office-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.10);
}

.office-image-wide p,
.office-image p {
  margin-top: 0.4rem;
  margin-bottom: 0;
  color: #6c757d;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .office-images-gallery {
    grid-template-columns: 1fr;
  }
}