:root {
  --research-ink: #282463;
  --research-teal: #2dadaf;
  --research-mist: #eef8f7;
  --research-paper: #fffdf9;
  --research-text: #292c3d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--research-text);
  background: var(--research-paper);
  font-family: "Poppins", sans-serif;
  line-height: 1.65;
}

a:focus-visible {
  outline: 3px solid #ffcf4a;
  outline-offset: 4px;
}

.site-navigation {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 64px);
  color: #fff;
  background: rgba(20, 18, 61, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
}

.site-navigation a {
  color: inherit;
  text-decoration: none;
}

.site-navigation__brand {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.site-navigation__links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 34px);
  font-size: 15px;
  font-weight: 600;
}

.site-navigation__links a {
  border-bottom: 2px solid transparent;
}

.site-navigation__links a:hover,
.site-navigation__links a[aria-current="page"] {
  color: #8ee1df;
  border-bottom-color: #8ee1df;
}

.research-hero {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  padding: 0;
  background: var(--research-ink);
}

.research-hero__content {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: 120px clamp(28px, 7vw, 110px) 70px;
  color: #fff;
}

.research-logo {
  width: min(250px, 62%);
  height: auto;
  margin-bottom: clamp(38px, 8vh, 90px);
  filter: brightness(0) invert(1);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--research-teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.research-hero h1 {
  margin: 0;
  font-size: clamp(56px, 7.6vw, 118px);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.82;
}

.research-hero h1 span {
  color: #7bd3d2;
}

.research-hero__intro {
  max-width: 590px;
  margin: 36px 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 1.3vw, 21px);
}

.research-hero__image {
  min-height: 620px;
  background:
    linear-gradient(90deg, rgba(40, 36, 99, 0.26), rgba(40, 36, 99, 0)),
    url("../img/Research_Pic1-optimized.jpg") center / cover no-repeat;
}

.research-button {
  display: inline-block;
  padding: 13px 24px;
  color: #fff;
  background: var(--research-teal);
  border: 2px solid var(--research-teal);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease;
}

.research-button:hover {
  background: #218e93;
  transform: translateY(-2px);
}

.research-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 9vw, 140px);
  padding: clamp(80px, 11vw, 160px) clamp(24px, 8vw, 130px);
}

.research-intro h2,
.research-feature h2,
.research-cta h2 {
  margin: 0;
  color: var(--research-ink);
  font-size: clamp(34px, 4vw, 62px);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.research-intro > div:last-child {
  max-width: 650px;
  font-size: clamp(17px, 1.2vw, 20px);
}

.research-intro > div:last-child p:first-child {
  margin-top: 4px;
  font-weight: 600;
}

.research-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--research-mist);
}

.research-feature__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 720px;
  object-fit: cover;
}

.research-feature__content {
  padding: clamp(70px, 8vw, 130px) clamp(30px, 7vw, 110px);
}

.capability-list {
  margin-top: 54px;
}

.capability-list article {
  display: grid;
  grid-template-columns: 45px 1fr;
  column-gap: 18px;
  padding: 24px 0;
  border-top: 1px solid rgba(40, 36, 99, 0.2);
}

.capability-list span {
  grid-row: 1 / 3;
  color: var(--research-teal);
  font-size: 13px;
  font-weight: 800;
}

.capability-list h3,
.capability-list p {
  margin: 0;
}

.capability-list h3 {
  color: var(--research-ink);
  font-size: 20px;
}

.research-cta {
  padding: clamp(90px, 12vw, 170px) 24px;
  text-align: center;
}

.research-cta p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px auto 32px;
  font-size: 18px;
}

.research-button--light {
  color: #fff;
  background: var(--research-ink);
  border-color: var(--research-ink);
}

.research-button--light:hover {
  background: #171343;
}

.research-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(24px, 7vw, 100px);
  color: rgba(255, 255, 255, 0.72);
  background: #171343;
  font-size: 14px;
}

.research-footer p {
  margin: 0;
}

.research-footer a {
  color: #8ee1df;
}

@media (max-width: 860px) {
  .research-hero,
  .research-intro,
  .research-feature {
    grid-template-columns: 1fr;
  }

  .research-hero__content {
    min-height: 720px;
  }

  .research-hero__image {
    min-height: 62vw;
  }

  .research-feature__image img {
    min-height: auto;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 650px) {
  .site-navigation {
    padding: 12px 16px;
  }

  .site-navigation__brand {
    display: none;
  }

  .site-navigation__links {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
  }

  .research-hero__content {
    min-height: 650px;
    padding-right: 24px;
    padding-left: 24px;
  }

  .research-logo {
    margin-bottom: 50px;
  }

  .research-intro {
    gap: 28px;
  }

  .research-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .research-button {
    transition: none;
  }
}

/* Research editorial layout. Scoped to this page to preserve the HQ design. */
.research-page {
  --research-teal: #246d6e;
  --research-paper: #f8f7f4;
  font-size: 16px;
}
.research-page .site-navigation {
  color: #282463;
  background: rgba(248, 247, 244, 0.96);
  border-bottom-color: rgba(40, 36, 99, 0.1);
}
.research-page .site-navigation__links a:hover,
.research-page .site-navigation__links a[aria-current="page"] {
  color: #246d6e;
  border-bottom-color: #246d6e;
}
.research-page .research-hero {
  min-height: 0;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  padding: 140px max(24px, calc((100vw - 1280px) / 2)) 72px;
  background: radial-gradient(ellipse at 90% 25%, #e5eeea, transparent 70%), #f4f6f3;
}
.research-page .research-hero__content {
  min-height: 0;
  padding: 0;
  color: #282463;
}
.research-page .research-logo {
  width: 148px;
  max-width: 50%;
  margin-bottom: 32px;
  filter: none;
}
.research-page .research-hero h1 {
  font-size: clamp(42px, 5.8vw, 82px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.055em;
}
.research-page .research-hero h1 span { color: #246d6e; }
.research-page .research-hero__intro {
  max-width: 42ch;
  margin: 26px 0;
  color: #4a4b5b;
  font-size: clamp(16px, 1.4vw, 19px);
}
.research-page .research-hero__image {
  min-width: 0;
  min-height: 0;
  margin: 0;
  background: none;
}
.research-page .research-hero__image img,
.research-page .research-feature__image img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1;
  object-fit: contain;
  border: 1px solid rgba(40, 36, 99, .12);
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(40, 36, 99, .1);
}
.research-page figure figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  padding-top: 16px;
  color: #555467;
  font-size: 12px;
}
.research-page figure figcaption span:first-child { font-weight: 600; }
.research-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.research-page .research-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 48px;
  font-size: 14px;
  text-align: center;
}
.research-page .research-button:hover {
  color: #fff;
  background: #1c595a;
  border-color: #1c595a;
  text-decoration: none;
}
.research-text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: #282463;
  font-size: 14px;
  font-weight: 600;
  text-underline-offset: 5px;
}
.research-page .research-intro,
.research-page .research-feature,
.research-brief {
  padding: clamp(56px, 7vw, 104px) max(24px, calc((100vw - 1280px) / 2));
  gap: clamp(32px, 6vw, 96px);
}
.research-page .research-intro { align-items: start; }
.research-page .research-intro h2,
.research-page .research-feature h2,
.research-page .research-cta h2,
.research-brief h2 {
  margin: 0;
  color: #282463;
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.research-page .research-intro > div:last-child { font-size: 17px; color: #4a4b5b; }
.research-page .research-feature {
  align-items: center;
  background: radial-gradient(ellipse at 0% 70%, #e8e5ef, transparent 70%), #f4f3f7;
}
.research-page .research-feature__image { min-width: 0; margin: 0; }
.research-page .research-feature__content { padding: 0; }
.research-page .capability-list { margin-top: 28px; }
.research-page .capability-list article { padding: 20px 0; grid-template-columns: 28px minmax(0, 1fr); gap: 6px 16px; }
.research-page .capability-list p { color: #4a4b5b; font-size: 15px; }
.research-page .capability-list h3 { font-size: 18px; font-weight: 600; }
.research-brief__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 32px 64px;
  margin-bottom: 36px;
}
.research-brief__heading > p { max-width: 48ch; margin: 0; color: #4a4b5b; }
.research-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.research-steps li { padding: clamp(24px, 3vw, 36px); border: 1px solid #e0dedf; border-radius: 16px; background: #fffdfb; }
.research-step-number { color: #246d6e; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.research-steps h3 { margin: 24px 0 14px; color: #282463; font-size: 21px; font-weight: 600; line-height: 1.35; }
.research-steps p { margin: 0; color: #4a4b5b; font-size: 15px; }
.research-page .research-cta {
  margin: 0 max(24px, calc((100vw - 1280px) / 2)) clamp(56px, 7vw, 104px);
  padding: clamp(40px, 6vw, 80px) 24px;
  border: 1px solid #dce7e1;
  border-radius: 24px;
  background: #eaf0ec;
}
.research-page .research-cta p:not(.eyebrow) { color: #4a4b5b; font-size: 17px; }
.research-contact-email { display: block; width: fit-content; max-width: 100%; min-height: 44px; margin: 16px auto 0; padding: 10px 0; color: #282463; text-underline-offset: 4px; }
.research-page :is(#capabilities, #research-contact, #approach) { scroll-margin-top: 100px; }
@media (max-width: 860px) {
  .research-page .research-hero,
  .research-page .research-intro,
  .research-page .research-feature,
  .research-brief__heading { grid-template-columns: minmax(0, 1fr); }
  .research-page .research-hero { padding-top: 112px; }
  .research-page .research-hero__image { width: 100%; max-width: 600px; margin: 0 auto; }
  .research-page .research-feature__image { width: 100%; max-width: 600px; margin: 0 auto; }
  .research-steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 400px) {
  .research-page .research-hero { padding-right: 16px; padding-left: 16px; }
  .research-page .research-button { width: 100%; }
  .research-actions { width: 100%; }
}
