/* Research & Innovation — full-width video + 4-column features */

.research {
  background: #ffffff;
  color: var(--ink);
  padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(3.75rem, 7.5vw, 5.75rem);
}

.research .shell,
.research__shell {
  width: min(1400px, calc(100% - 2rem));
  margin: 0 auto;
}

.research__intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2.5rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  text-align: left;
}

.research__copy {
  flex: 1 1 min(36rem, 100%);
  display: grid;
  gap: 0.85rem;
  min-width: 0;
}

.research .eyebrow,
.research .eyebrow-lockup,
.research__eyebrow {
  margin: 0;
  color: var(--brand-gold, var(--gold));
}

.research__intro .section-heading {
  margin: 0;
  color: var(--navy);
}

.research__lede,
.research .lede {
  margin: 0;
  max-width: 40rem;
}

.research__cta {
  flex: 0 0 auto;
  width: fit-content;
  margin-left: auto;
}

.research__split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}

.research__media {
  position: relative;
  margin: 0;
  border-radius: 1.15rem;
  overflow: hidden;
  background: var(--navy);
  aspect-ratio: 16 / 9;
  max-height: 22rem;
}

.research__poster,
.research__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.research__video {
  opacity: 0;
  transition: opacity 0.35s ease;
}

.research__media.is-playing .research__video {
  opacity: 1;
}

.research__media.is-playing .research__poster {
  opacity: 0;
}

.research__play {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
}

.research__play-icon {
  width: 0;
  height: 0;
  margin-left: 0.12rem;
  border-style: solid;
  border-width: 0.38rem 0 0.38rem 0.62rem;
  border-color: transparent transparent transparent currentColor;
}

.research__play[aria-pressed="false"] .research__play-icon {
  width: 0.55rem;
  height: 0.55rem;
  margin-left: 0;
  border: 0;
  background:
    linear-gradient(currentColor, currentColor) left / 32% 100% no-repeat,
    linear-gradient(currentColor, currentColor) right / 32% 100% no-repeat;
}

.research__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
  margin: 0;
}

.school-research .research__num {
  font-size: clamp(1.55rem, 2.1vw, 2.05rem);
  letter-spacing: -0.03em;
}

.research__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.research__card + .research__card {
  border-left: 0;
}

.research__num {
  display: block;
  margin: 0;
  color: var(--navy);
  font-family: var(--font-primary);
  font-size: clamp(1.85rem, 2.4vw, 2.35rem);
  font-weight: var(--font-primary-weight, 700);
  letter-spacing: -0.04em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.research__num.is-counting {
  --tick-h: 1.2em;
  display: inline-flex;
  align-items: flex-start;
  height: var(--tick-h);
  overflow: hidden;
  padding-bottom: 0.08em;
  box-sizing: content-box;
  white-space: nowrap;
}

.research__card-copy {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.research__card-copy h3 {
  margin: 0;
  color: var(--primary, #2c3c91);
  font-family: var(--font-primary);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: var(--font-primary-weight, 700);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.research:not(.school-internships) .research__cards {
  gap: 2.75rem 3rem;
}

.research:not(.school-internships) .research__card-copy h3 {
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  line-height: 1.15;
}

.research__card-copy p {
  margin: 0;
  max-width: none;
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .research__split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .research__media {
    aspect-ratio: 16 / 9;
  }

  .research__intro {
    align-items: flex-start;
  }

  .research__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem;
  }
}

@media (max-width: 640px) {
  .research__intro {
    flex-direction: column;
    align-items: stretch;
  }

  .research__cta {
    margin-left: 0;
  }

  .research__media {
    aspect-ratio: 16 / 10;
    border-radius: 1rem;
  }

  .research__cards {
    grid-template-columns: 1fr 1fr;
  }

  .research__card {
    padding: 0;
  }

  .research__num {
    font-size: 1.55rem;
  }

  .research:not(.school-internships) .research__cards {
    gap: 2rem 1.75rem;
  }

  .research:not(.school-internships) .research__card-copy h3 {
    font-size: 1.3rem;
  }

  .research__card-copy h3 {
    font-size: 0.98rem;
  }

  .research__card-copy p {
    font-size: 1rem;
    line-height: 1.5;
  }
}
