.brand-showcase {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  margin-top: -24px;
  margin-bottom: 18px;
  padding: 24px 28px;
  border: 1px solid #d5e2f0;
  border-radius: 18px;
  background: linear-gradient(105deg, #f4f8fd 0%, #ffffff 72%);
  box-shadow: 0 14px 34px #1731520d;
}

.group-photo-card {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid #d5e0ed;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 25px 70px #17315219;
  transform: rotate(1.2deg);
}
.group-photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.group-photo-card figcaption {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 17px;
  color: #536276;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}
.photo-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0c9c6b;
  box-shadow: 0 0 0 4px #0c9c6b1d;
}
@media (max-width: 680px) {
  .group-photo-card { transform: none; }
  .group-photo-card figcaption { font-size: 11px; }
}

.brand-showcase-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #1769e0;
  color: #fff;
  font-size: 34px;
  font-weight: 950;
  letter-spacing: -.08em;
  box-shadow: 0 12px 24px #1769e033;
}

.brand-showcase-copy .eyebrow { margin-bottom: 5px; }
.brand-showcase-copy h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
  letter-spacing: -.05em;
}
.brand-showcase-copy h2 em { color: #1769e0; font-style: normal; }
.brand-showcase-copy > p:last-child {
  margin: 9px 0 0;
  color: #65758a;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .02em;
}
.brand-showcase-copy > p:last-child span { color: #1769e0; padding: 0 4px; }
.brand-showcase-note {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #536276;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}
.brand-note-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #0c9c6b;
  box-shadow: 0 0 0 4px #0c9c6b1d;
}

.partner-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 900px;
  margin-top: 28px;
}
.partner-logo {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 184px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid #dbe3ec;
  border-radius: 20px;
  box-shadow: 0 12px 28px #1731520b;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.partner-logo-lean { background: #f9fafb; }
.partner-logo-post { background: #f2ebe1; }
.partner-logo img {
  display: block;
  width: min(100%, 248px);
  height: auto;
  max-width: 100%;
  max-height: 104px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}
.partner-logo-lean img {
  width: min(100%, 300px);
  height: 96px;
  max-height: none;
  object-fit: cover;
  object-position: center;
}
/* This supplied mark is a small raster: avoid inventing detail by enlarging it. */
.partner-logo-post img { width: min(100%, 115px); }
.partner-logo:hover {
  transform: translateY(-5px);
  border-color: #adc7e8;
  box-shadow: 0 20px 42px #17315216;
}
.partner-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(110deg, transparent 20%, #ffffff80 46%, transparent 72%);
}
.partner-logo.is-revealed {
  animation: partner-appear .7s cubic-bezier(.2,.7,.2,1) both;
}
.partner-logo.is-revealed::after {
  animation: partner-sheen 1.1s ease-out .2s both;
}
.partner-logo:nth-child(2).is-revealed { animation-delay: .12s; }
.partner-logo:nth-child(2).is-revealed::after { animation-delay: .32s; }
.recommendation-section { scroll-margin-top: 24px; }
@keyframes partner-appear {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes partner-sheen {
  0% { opacity: 0; transform: translateX(-100%); }
  35% { opacity: .7; }
  100% { opacity: 0; transform: translateX(100%); }
}
@media (prefers-reduced-motion: reduce) {
  .partner-logo, .partner-logo.is-revealed, .partner-logo.is-revealed::after {
    animation: none;
    transition: none;
  }
  .partner-logo:hover { transform: none; }
}

@media (max-width: 680px) {
  .brand-showcase {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 15px;
    margin-top: -8px;
    padding: 20px;
  }
  .brand-showcase-mark { width: 52px; height: 52px; border-radius: 15px; font-size: 28px; }
  .brand-showcase-note { grid-column: 1 / -1; white-space: normal; }
  .partner-logos { grid-template-columns: 1fr; gap: 16px; }
  .partner-logo { min-height: 156px; padding: 26px; }
}
