.who-card {
  padding: 32px;
  background: #192230;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition:
    border-color var(--transition),
    background var(--transition);
}
.who-card:hover {
  border-color: var(--border-light);
  background: var(--surface-2);
}
.who-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
}
.how-step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.hinge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  perspective: 1000px;
}
.hinge-card {
  position: relative;
  padding: 32px 32px 32px;
  background: #192230;
  border-radius: 24px;
  overflow: visible;
  transform-origin: top center;
}
.hinge-card-notch {
  position: absolute;
  top: 0;
  right: 0;
  width: 56px;
  height: 56px;
  background: var(--bg);
  border-radius: 0 0 0 32px;
}
.hinge-card-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.hinge-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}
.hinge-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}
@keyframes hingeFlipDown {
  from {
    transform: rotateX(-90deg);
  }
  to {
    transform: rotateX(0deg);
  }
}
.hinge-card.flip-in {
  animation: hingeFlipDown 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.hinge-grid .hinge-card:nth-child(1).flip-in {
  animation-delay: 0s;
}
.hinge-grid .hinge-card:nth-child(2).flip-in {
  animation-delay: 0.15s;
}
.hinge-grid .hinge-card:nth-child(3).flip-in {
  animation-delay: 0.3s;
}
.hinge-grid .hinge-card:nth-child(4).flip-in {
  animation-delay: 0.45s;
}
.value-card {
  position: relative;
  padding: 32px 60px 32px 28px;
  background: #192230;
  border-radius: 24px;
  overflow: visible;
  transition: background var(--transition);
}
.value-card:hover {
  background: #35599c;
}
.value-card-notch {
  position: absolute;
  top: 0;
  right: 0;
  width: 56px;
  height: 56px;
  background: var(--bg);
  border-radius: 0 0 0 32px;
}
.value-card-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.value-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #fff;
}
.value-card p {
  font-size: 14px;
  color: #fff;
  line-height: 1.7;
}
@media (max-width: 960px) {
  section {
    padding: 80px 0;
  }
  .hero-meta {
    flex-wrap: wrap;
    gap: 32px;
  }
  .situation-grid,
  .approach-grid,
  .careers-grid,
  .industries-grid {
    grid-template-columns: 1fr !important;
    gap: 48px;
  }
  .who-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    border-right: none !important;
  }
  .how-steps {
    grid-template-columns: 1fr 1fr !important;
  }
  .hinge-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .values-grid {
    grid-template-columns: 1fr !important;
  }
  .why-labels {
    grid-template-columns: 1fr 1fr !important;
    gap: 20px;
  }
  .stack-categories {
    grid-template-columns: 1fr 1fr !important;
  }
  .cta-box {
    padding: 64px 32px;
  }
}
@media (max-width: 640px) {
  section {
    padding: 64px 0;
  }
  .who-grid {
    grid-template-columns: 1fr !important;
  }
  .how-steps {
    grid-template-columns: 1fr !important;
  }
  .hinge-grid {
    grid-template-columns: 1fr !important;
  }
  .stack-categories {
    grid-template-columns: 1fr !important;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .hero-inner {
    padding-top: calc(var(--header-h) + 48px);
  }
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 12px;
}
.page-hero-left {
  max-width: 720px;
}
.page-hero-right {
  min-height: 160px;
}
