.wrap {
  padding: 112px 0 96px;
}

/* Featured row: 4 first-party cards */
.featuredRow {
  max-width: 1440px;
  margin: 0 auto 56px;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.featured {
  position: relative;
  background: var(--iron);
  border: 1px solid var(--charcoal);
  padding: 24px;
  color: var(--white);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 200px;
  transition:
    background 200ms ease,
    border-color 200ms ease,
    transform 200ms ease;
  overflow: hidden;
}
.featured::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--agent-accent, var(--gold));
  transform: scaleX(0.2);
  transform-origin: left;
  transition: transform 240ms ease;
}
.featured:hover {
  background: var(--charcoal);
  border-color: var(--agent-accent, var(--gold));
  transform: translateY(-2px);
}
.featured:hover::before {
  transform: scaleX(1);
}

.featuredHead {
  display: flex;
  gap: 14px;
  align-items: center;
}
.featuredLogo {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  overflow: hidden;
  background: var(--abyss);
  border: 1px solid var(--charcoal);
  flex-shrink: 0;
}
.featuredLogo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featuredMeta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.featuredSub {
  font-size: 10px;
  letter-spacing: 0.96px;
  color: var(--agent-accent, var(--gold));
  text-transform: uppercase;
  font-weight: 700;
}
.featuredName {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--white);
}
.featuredFrom {
  font-size: 10.5px;
  letter-spacing: 0.96px;
  color: var(--ash);
  text-transform: uppercase;
}
.featuredPitch {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: 0.12px;
  color: var(--steel);
  text-transform: uppercase;
  line-height: 1.55;
}
.featuredArrow {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 18px;
  color: var(--ash);
  transition: color 180ms ease, transform 180ms ease;
}
.featured:hover .featuredArrow {
  color: var(--agent-accent, var(--gold));
  transform: translate(2px, -2px);
}

/* Marquee */
.marqueeWrap {
  position: relative;
  overflow: hidden;
  padding: 4px 0;
  max-width: 100vw;
  margin: 0 auto;
}
.fadeLeft,
.fadeRight {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  pointer-events: none;
  z-index: 2;
}
.fadeLeft {
  left: 0;
  background: linear-gradient(90deg, var(--abyss) 0%, rgba(0, 0, 0, 0) 100%);
}
.fadeRight {
  right: 0;
  background: linear-gradient(270deg, var(--abyss) 0%, rgba(0, 0, 0, 0) 100%);
}
.marquee {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: scroll 48s linear infinite;
  padding: 0 20px;
}
.marqueeWrap:hover .marquee {
  animation-play-state: paused;
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.tile {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--iron);
  border: 1px solid var(--charcoal);
  color: var(--white);
  text-decoration: none;
  flex-shrink: 0;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}
.tile:hover {
  border-color: var(--agent-accent, var(--gold));
  background: var(--charcoal);
}
.tileLogo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--abyss);
  flex-shrink: 0;
  object-fit: cover;
}
.tileMeta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tileName {
  font-size: 13.5px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--white);
  text-transform: uppercase;
}
.tileFrom {
  font-size: 10px;
  letter-spacing: 0.96px;
  color: var(--ash);
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .featuredRow {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .featuredRow {
    padding: 0 20px;
    grid-template-columns: 1fr;
  }
  .fadeLeft,
  .fadeRight {
    width: 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee {
    animation: none;
  }
}
