/* =====================================================================
   DUNBEN — "Beyond the Featured Cases" (homepage).
   Replaces the old Spain Collection "ambassadors" (CEO bio) section with a
   dark case-card gallery. The standalone js/beyond-cases-scroll.js keeps a
   subtle image-only scrub while the two card columns stay aligned.
   Spec source: Figma "Dilivery" frame "Beyond the Featured Cases" (1920-wide).
   ===================================================================== */

.dv-beyond {
  background: #121314;
  color: #fff;
  padding: 7.8vw 0 8.5vw;
  overflow: hidden;
}
.dv-beyond__inner {
  width: 78.39vw;
  max-width: 1505px;
  margin: 0 auto;
}
.dv-beyond__title {
  font-family: var(--font-primary), Georgia, serif;
  font-weight: 400;
  font-size: 3.75vw;              /* ~72px @1920 */
  line-height: 1.06;
  letter-spacing: -0.06vw;
  margin: 0 0 4.2vw;
  max-width: 38vw;
  color: #fff;
}

/* two vertical columns of cards; columns stay aligned while images scrub */
.dv-beyond__grid {
  display: flex;
  gap: 5.9vw;                     /* ~113px */
  align-items: flex-start;
}
.dv-beyond__col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4.15vw;                    /* ~80px */
}

.dv-beyond__card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.dv-beyond__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 400 / 460;
  background: #a3a3a3;            /* Figma placeholder tone behind the cover */
  box-shadow: 0 4px 36px rgba(0, 0, 0, 0.1);
}
.dv-beyond__img {
  position: absolute;
  left: 0;
  top: -6%;
  width: 100%;
  height: 112%;                   /* extra height so the y-parallax never reveals an edge */
  object-fit: cover;
  will-change: transform;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.dv-beyond__img--deloitte {
  left: -6.25%;
  width: 120%;
}
.dv-beyond__card:hover .dv-beyond__img { transform: scale(1.04); }
.dv-beyond__label {
  margin: 1.35vw 0 0;
  font-family: var(--font-secondary), Helvetica, Arial, sans-serif;
  font-size: 1.35vw;              /* ~26px */
  line-height: 1.1;
  color: #fff;
}

@media (min-width: 1101px) {
  .dv-beyond__col .dv-beyond__card:first-child .dv-beyond__label {
    min-height: 2.2em;
  }
}

.dv-beyond__more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 5.2vw;
}
.dv-beyond__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95vw 2.1vw;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-secondary), Helvetica, Arial, sans-serif;
  font-size: 1.04vw;
  letter-spacing: -0.01vw;
  white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.dv-beyond__more:hover,
.dv-beyond__more:focus-visible {
  background: #fff;
  color: #121314;
  border-color: #fff;
}

/* responsive: stack to one column on small screens (site breakpoint 1100px) */
@media (max-width: 1100px) {
  .dv-beyond { padding: 14vw 0 16vw; }
  .dv-beyond__inner { width: 88vw; }
  .dv-beyond__title { font-size: 8.5vw; max-width: none; margin-bottom: 9vw; }
  .dv-beyond__grid { flex-direction: column; gap: 9vw; }
  .dv-beyond__col { gap: 9vw; transform: none !important; }   /* no parallax when stacked */
  .dv-beyond__label { font-size: 4.4vw; margin-top: 3.5vw; }
  .dv-beyond__more { padding: 3vw 6vw; font-size: 3.6vw; }
}
