/* Who it is for — Features 3 pattern (opposite vertical marquees) */

.feat-who-band {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  background:
    radial-gradient(55% 50% at 100% 0%, rgba(248, 180, 0, .1), transparent 55%),
    radial-gradient(45% 40% at 0% 100%, rgba(2, 65, 123, .08), transparent 50%),
    linear-gradient(180deg, #f7fafc, #fff 40%, #f4f8fc);
  color: #0B2545;
}

.feat-who-band > .wrap {
  width: var(--container);
}

.feat-who-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  margin-top: 8px;
}

.feat-who-copy {
  display: grid;
  gap: 18px;
  max-width: 38rem;
}

.feat-who-copy .co-intro {
  margin: 0;
}

.feat-who-copy .co-intro h2 {
  color: #0B2545;
}

.feat-who-copy > p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: #5a6b80;
  max-width: 42ch;
}

.feat-who-points {
  display: grid;
  gap: 14px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.feat-who-points li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: start;
  padding: 8px 10px 8px 8px;
  margin: 0 -8px;
  border-radius: 14px;
  transition: background .25s ease, transform .3s cubic-bezier(.2, .8, .2, 1);
}
.feat-who-points li:hover {
  background: rgba(11, 37, 69, .04);
  transform: translateX(4px);
}
.feat-who-points .ico {
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease;
}
.feat-who-points li:hover .ico {
  transform: rotate(-6deg) scale(1.06);
  box-shadow: 0 10px 18px -10px rgba(11, 37, 69, .4);
}

.feat-who-points .ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e4ebf3;
  box-shadow: 0 8px 18px -14px rgba(11, 37, 69, .35);
  color: #02417B;
}

.feat-who-points .ico svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feat-who-points li:nth-child(2) .ico {
  color: #0B2545;
  background: linear-gradient(180deg, #ffd45c, #F8B400);
  border-color: #F8B400;
}

.feat-who-points li:nth-child(3) .ico { color: #0a7a4a; }
.feat-who-points li:nth-child(4) .ico { color: #02417B; }

.feat-who-points p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.45;
  color: #3d4f66;
  font-weight: 550;
}

/* Opposite vertical marquees */
.feat-who-marquees {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  height: min(560px, 70vh);
  min-height: 440px;
  min-width: 0;
}

.feat-who-col {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  min-width: 0;
  width: 100%;
}

.feat-who-track {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  will-change: transform;
}

.feat-who-col-up .feat-who-track {
  animation: feat-who-up 42s linear infinite;
}

.feat-who-col-down .feat-who-track {
  animation: feat-who-down 42s linear infinite;
}

.feat-who-marquees:hover .feat-who-track {
  animation-play-state: paused;
}

@keyframes feat-who-up {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

@keyframes feat-who-down {
  from { transform: translateY(-50%); }
  to { transform: translateY(0); }
}

.feat-who-card {
  position: relative;
  display: block;
  flex: 0 0 auto;
  margin: 0; /* kill UA figure margins (1em 40px) that shove cards out of the column */
  /* Match typical Unsplash landscape (~3:2) so cover doesn't shear subjects */
  aspect-ratio: 3 / 2;
  width: 100%;
  max-width: none;
  overflow: hidden;
  border-radius: 18px;
  background: #0B2545;
  box-shadow: 0 16px 36px -24px rgba(11, 37, 69, .55);
  text-decoration: none;
  color: #fff;
}

.feat-who-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: none;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}

.feat-who-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(4, 24, 46, .82) 100%);
  pointer-events: none;
}

.feat-who-card figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  display: grid;
  gap: 4px;
}

.feat-who-card strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #fff;
}

.feat-who-card span {
  font-size: 12.5px;
  line-height: 1.35;
  color: rgba(232, 238, 246, .82);
}

.feat-who-card:hover img,
.feat-who-card:focus-visible img {
  transform: scale(1.04);
}

.feat-who-card:focus-visible {
  outline: 2px solid #F8B400;
  outline-offset: 3px;
}

/* Accessible static list (shown when motion reduced / as fallback content for SR via duplicate visually) */
.feat-who-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.feat-who-static {
  display: none;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

@media (max-width: 980px) {
  .feat-who-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .feat-who-marquees {
    height: min(420px, 58vh);
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .feat-who-points li { grid-template-columns: 36px 1fr; }
  .feat-who-points .ico { width: 36px; height: 36px; border-radius: 10px; }
  /* phones: one card per row — marquees clip awkwardly in a narrow column */
  .feat-who-marquees { display: none; }
  .feat-who-static {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-top: 4px;
  }
  .feat-who-static .feat-who-card {
    aspect-ratio: 16 / 10;
    border-radius: 14px;
  }
  .feat-who-card figcaption { left: 10px; right: 10px; bottom: 10px; }
  .feat-who-card strong { font-size: 14px; }
  .feat-who-card span { font-size: 11.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .feat-who-marquees { display: none; }
  .feat-who-static { display: grid; }
  .feat-who-col-up .feat-who-track,
  .feat-who-col-down .feat-who-track { animation: none; transform: none; }
}

@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  .feat-who-static { grid-template-columns: minmax(0, 1fr); }
}
