/* ── Page section ── */
.research-section {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 120px 24px 140px;
  animation: fadeUp 0.8s ease-out both;
}

/* ── Hero ── */
.research-hero {
  text-align: center;
  margin-bottom: 88px;
}

.research-hero h2 {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 700;
  letter-spacing: -1.6px;
  line-height: 1.08;
  color: var(--dark);
  margin-bottom: 20px;
}

.research-hero p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--grey);
  max-width: 580px;
  margin: 0 auto;
  font-weight: 400;
}

.research-hero p a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Insight cards ── */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 88px;
}

.insight-card {
  border-radius: 20px;
  padding: 32px 26px 28px;
  background: var(--paper);
  /* No hover state: these are static prose cards, not links. A brand border
     and lift is this site's interactive-card signature (a.vertical-card), and
     on something that cannot be clicked it promises an action that is not
     there. */
  border: 1px solid var(--grey-light);
}

/* The icons are volumetric objects that carry their own colour and contact
   shadow, so they stand free rather than sitting on a tinted tile. */
.insight-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
}

.insight-icon img {
  width: 100%;
  height: 100%;
  display: block;
}


.insight-card h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
  color: var(--dark);
  line-height: 1.3;
}

.insight-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--grey);
  font-weight: 400;
}

/* ── Application block ── */
.application-block {
  background: var(--footer-a);
  border-radius: 28px;
  padding: 64px 48px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.application-block::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.application-block h3 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: 10px;
  position: relative;
}

.application-block .app-subtitle {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 540px;
  margin-bottom: 48px;
  position: relative;
}

.app-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.app-step h4 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
  color: var(--white);
}

.app-step p {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255,255,255,0.5);
  font-weight: 400;
}

/* ── Matching dimensions ── */
.match-dimensions {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  position: relative;
}

.match-dimensions-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-light);
  /* Sits above two group labels, so it needs clear air beneath it. */
  margin-bottom: 30px;
  text-align: center;
}

.dimensions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dimensions-split {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.dimensions-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.dimensions-group-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
  text-align: center;
}

.dim-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.75);
}

.dim-pill .dim-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Research team ── */
.team-block {
  margin-top: 88px;
}

.team-header {
  text-align: center;
  margin-bottom: 40px;
}

.team-header h3 {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--dark);
}

.team-member {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  border-radius: 20px;
  padding: 40px;
  background: var(--paper);
  border: 1px solid var(--grey-light);
}

.team-photo img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid var(--white);
  box-shadow: 0 8px 32px rgba(12, 10, 29, 0.12);
}

.team-bio h4 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--dark);
  margin-bottom: 4px;
}

.team-role {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 18px;
}

.team-bio p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--grey);
  font-weight: 400;
  margin-bottom: 14px;
}

.team-bio p:last-child {
  margin-bottom: 0;
}

.team-bio a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .team-member {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 28px;
    padding: 36px 24px;
  }
  .team-photo img {
    width: 160px;
    height: 160px;
  }
  .team-bio p {
    text-align: left;
  }
  .dimensions-split { gap: 22px; }
  .insights-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto 88px;
  }
  .application-block {
    padding: 48px 28px;
  }
  .app-steps {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .research-section {
    padding: 100px 24px 80px;
  }
  .research-hero {
    margin-bottom: 56px;
  }
}
