/* ── Connect Section ─────────────────────────────────────── */
.connect-section {
  width: 100%;
  padding: 4.5rem 2rem;
  box-sizing: border-box;
  background: linear-gradient(
    to bottom,
    rgba(18, 12, 25, 0.74) 30%,
    rgba(47, 6, 80, 0.9)   50%,
    rgba(100, 12, 173, 0.74) 75%,
    rgba(125, 125, 125, 0.747) 98%
  );
  color: var(--c-chalk, #f0ece6);
  overflow: hidden;
}

.connect-section__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.connect-section__title {
  font-family: var(--f-display);
  font-size: 2.5rem;
  margin: 0 0 0.35rem 0;
  color: var(--c-chalk);
}

.connect-section__lead {
  margin: 0 0 2rem 0;
  color: rgba(240, 236, 230, 0.74);
  font-size: 1rem;
}

.connect-section__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: stretch;
  justify-items: center;
  margin-top: 1rem;
}

.connect-section__tile-wrap {
  width: 100%;
  max-width: 280px;
}

.connect-section__tile {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(2, 2, 2, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: transform 220ms cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 220ms;
  background: linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.28));
  cursor: pointer;
}

.connect-section__tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.26) 100%);
  z-index: 1;
  pointer-events: none;
}

.connect-section__tile:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 44px rgba(2, 2, 2, 0.6);
}

.connect-section__tile:focus-visible {
  outline: 3px solid rgba(195, 46, 255, 0.6);
  outline-offset: 6px;
  border-radius: 12px;
}

.connect-section__tile .cv-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.connect-section__tile .cv-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive */
@media (max-width: 1100px) {
  .connect-section__grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .connect-section__tile-wrap { max-width: 260px; }
}

@media (max-width: 768px) {
  .connect-section       { padding: 3.25rem 1.25rem; }
  .connect-section__grid { grid-template-columns: repeat(2, 1fr); }
  .connect-section__tile-wrap { max-width: 100%; }
  .connect-section__title { font-size: 2rem; }
}

@media (max-width: 480px) {
  .connect-section__grid { display: flex; flex-direction: column; gap: 0.8rem; align-items: center; }
  .connect-section__tile-wrap { max-width: 90%; }
  .connect-section__title { font-size: 1.25rem; }
  .connect-section__lead  { font-size: 0.93rem; }
}
