/* Eco Adaptive live architecture graphs */
.eco-adaptive {
  margin-top: 1rem;
}

.eco-adaptive__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.eco-adaptive__toolbar h3 {
  margin: 0;
  font-size: 1.15rem;
  color: #f8fafc;
}

.eco-adaptive__sub {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: #94a3b8;
}

.eco-adaptive__select-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.eco-adaptive__select-wrap select {
  min-width: 240px;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(94, 234, 212, 0.35);
  background: rgba(15, 23, 42, 0.9);
  color: #f8fafc;
  font-size: 0.9rem;
}

.eco-adaptive__frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: radial-gradient(ellipse at 50% 30%, rgba(14, 116, 144, 0.18), rgba(2, 6, 23, 0.95));
  min-height: 480px;
}

.eco-adaptive__frame canvas {
  display: block;
  width: 100%;
  height: 520px;
  touch-action: none;
}

.eco-adaptive__legacy {
  margin-top: 1rem;
  color: #94a3b8;
  font-size: 0.9rem;
}

.eco-adaptive__legacy summary {
  cursor: pointer;
  margin-bottom: 0.75rem;
}

.project-card__thumb--arch {
  position: relative;
  min-height: 160px;
  background: radial-gradient(ellipse at 40% 30%, rgba(14, 116, 144, 0.25), #0b1220 70%);
  overflow: hidden;
}

.project-card__arch {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.project-card__arch-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.project-card__thumb-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  z-index: 1;
}

.project-card[data-arch-slug] .project-card__thumb-fallback {
  opacity: 0.12;
}

.home-featured {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
