/* 'Our Clients' Physics Falling Logos Section */
.nior-falling-section {
  position: relative;
  background-color: var(--nior-surface);
  padding: var(--section-pad-y) 0;
  border-top: 1px solid var(--nior-border);
  border-bottom: 1px solid var(--nior-border);
  overflow: hidden;
}

.nior-falling-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;

  .nior-eyebrow {
    justify-content: center;
    &::before { display: none; }
  }

  h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    margin-bottom: 16px;
  }

  p {
    font-size: 15px;
    color: var(--nior-muted);
  }
}

/* Physics Falling Arena */
.nior-falling-arena {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}

/* Luxury Client Logo Grid - Centered 6 + 5 Balanced Arrangement */
.nior-falling-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

/* Logo Card Chip */
.nior-logo-chip {
  flex: 0 1 calc((100% - 100px) / 6);
  min-width: 160px;
  max-width: 195px;
  height: 120px;
  min-height: 120px;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid rgba(201, 162, 94, 0.28);
  border-radius: 8px;
  padding: 20px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28), 0 1px 3px rgba(0, 0, 0, 0.12);
  cursor: default;
  position: relative;
  will-change: transform, opacity;
  transform: translateY(-280px) scale(0.65) rotate(var(--chip-init-rot, 0deg));
  opacity: 0;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;

  &:hover {
    border-color: rgba(201, 162, 94, 0.85);
    box-shadow: 0 16px 40px rgba(201, 162, 94, 0.3), 0 4px 12px rgba(0, 0, 0, 0.2);
  }

  .nior-logo-chip__img {
    width: 100%;
    max-width: 135px;
    max-height: 44px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    opacity: 0.95;
    transition: opacity 0.35s ease, transform 0.35s ease;
  }

  &:hover .nior-logo-chip__img {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* Tablet Layout (3 columns) */
@media (max-width: 1100px) {
  .nior-logo-chip {
    flex: 0 1 calc((100% - 40px) / 3);
    max-width: 260px;
  }
}

/* Mobile Layout (2 columns) */
@media (max-width: 680px) {
  .nior-falling-grid {
    gap: 12px;
  }
  .nior-logo-chip {
    flex: 0 1 calc((100% - 12px) / 2);
    min-width: 140px;
    height: 105px;
    min-height: 105px;
    padding: 16px 12px;
  }
  .nior-logo-chip .nior-logo-chip__img {
    max-width: 115px;
    max-height: 36px;
  }
}

/* Subtle architectural watermark */
.nior-falling-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-size: clamp(80px, 16vw, 200px);
  font-weight: 700;
  color: rgba(201, 162, 94, 0.025);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  letter-spacing: 0.15em;
}
