/* Inner-page polish */

.team-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
}

.team-card {
  text-align: center;
  padding: 1.75rem 1.25rem;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  background: rgba(18, 18, 18, 0.75);
  transition: transform 0.3s, border-color 0.3s;
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 168, 124, 0.35);
}

.team-card__avatar {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  background: linear-gradient(145deg, rgba(232, 168, 124, 0.22), rgba(125, 155, 132, 0.18));
  border: 1px solid var(--border-accent);
}

.team-card h3 {
  margin: 0 0 0.25rem;
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
}

.team-card p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.values-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.office-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .office-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.article {
  max-width: 46rem;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  padding-bottom: 4rem;
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 2rem;
}

.article__body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #cbd5e1;
  font-weight: 300;
}

.article__body h2 {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
}

.article__body p {
  margin: 0 0 1.25rem;
}

.feature-demo {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 900px) {
  .feature-demo {
    grid-template-columns: 14rem 1fr;
  }
}

.feature-demo__nav button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.65rem;
  text-align: left;
  padding: 0.85rem 1rem;
  margin-bottom: 0.4rem;
  border-radius: 0.85rem;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 0.875rem;
}

.feature-demo__nav button.is-active {
  border-color: rgba(232, 168, 124, 0.3);
  background: rgba(232, 168, 124, 0.08);
  color: var(--accent);
}

.feature-demo__panel {
  display: none;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.75rem;
  background: rgba(18, 18, 18, 0.85);
  min-height: 16rem;
}

.feature-demo__panel.is-active {
  display: block;
  animation: animationIn 0.4s ease;
}

.contact-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.map-placeholder {
  height: 12rem;
  border-radius: 1rem;
  border: 1px dashed rgba(232, 168, 124, 0.3);
  background:
    linear-gradient(135deg, rgba(232, 168, 124, 0.08), rgba(125, 155, 132, 0.08)),
    repeating-linear-gradient(0deg, transparent, transparent 18px, rgba(255, 255, 255, 0.03) 18px, rgba(255, 255, 255, 0.03) 19px),
    repeating-linear-gradient(90deg, transparent, transparent 18px, rgba(255, 255, 255, 0.03) 18px, rgba(255, 255, 255, 0.03) 19px);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 0.85rem;
  margin-top: 1rem;
}

.empty-state {
  display: none;
  margin: 0 0 1.25rem;
  padding: 1.25rem 1.35rem;
  border-radius: 1rem;
  border: 1px dashed var(--border);
  background: rgba(20, 25, 24, 0.65);
  color: var(--text-muted);
  font-size: 0.95rem;
  text-align: center;
}

.empty-state:not([hidden]) {
  display: block;
}