/* ========================================================================================================== */
/* ============================================ HERO SECTION ================================================= */
/* ========================================================================================================== */

.hero {
  margin-top: 30px;
  position: relative;
  width: 100%;
  background-color: #16315A;
  overflow: hidden;
}

.hero-bg-icon {
  position: absolute;
  top: 20px;
  left: -80px;
  width: 500px;
  height: auto;
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  max-width: 1343px;
  margin: 0 auto;
  padding: 120px 24px 96px;
  position: relative;
  z-index: 1;
}

.hero-title {
  max-width: 1200px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1.05;
  text-align: left;
}

.hero-title em {
  color: #00E0C1;
  font-style: italic;
}

.hero-title a {
  text-decoration: none;
  color: inherit;
}

.hero-button-inline {
  font-family: 'Inter', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 14px;
  padding-left: 22px;
  border: 2px solid #00E0C1;
  border-radius: 999px;
  background: transparent;
  font-size: 0.85rem;
  font-weight: 400;
  color: #00E0C1;
}

.hero-button-inline .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #00E0C1;
  color: #16315A;
}

.hero-image {
  margin: 48px auto 0;
  padding: 0 100px;
}

.hero-image img {
  display: block;
  width: 80vw;
  height: auto;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 16px;
}

@media (max-width: 768px) {
  .hero-inner {
    padding: 20px;
  }

  .hero-bg-icon {
    width: 420px;
    top: -140px;
    left: -140px;
  }

  .hero-image {
    padding: 0;
  }

  .hero-image img {
    width: 100%;
    max-width: none;
  }
}



/* ========================================================================================================== */
/* ============================================ IMPACT SECTION ============================================== */
/* ========================================================================================================== */

.impact-section {
  background-color: #16315A;
  width: 100%;
}

.impact-inner {
  max-width: 1343px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 3fr 7fr;
  gap: 80px;
  align-items: center;
}

.impact-left {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.6;
  color: #ffffff;
}

.impact-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(4.5rem, 10vw, 5rem);
  line-height: 0.95;
  color: #ffffff;
}

.impact-title em {
  color: #00E0C1;
  font-style: italic;
}

@media (max-width: 900px) {
  .impact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 96px 20px;
  }
}

/* left column styling */
.hero-meta {
  font-size: 14px;
  margin-bottom: 24px;
  opacity: 0.8;
}

/* right column */
.hero-excerpt {
  font-size: 18px;
  line-height: 1.6;
  max-width: 420px;
}

/*mobile*/
@media (max-width: 768px) {
  .hero-news-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero--news .hero-bg-icon {
    right: -140px;
  }
}

/* ========================================================================================================== */
/* ============================================ IMPACT SPIRAL ============================================== */
/* ========================================================================================================== */

.impact-spiral-section {
  position: relative;
  background-color: var(--color-navy);
  overflow: hidden;
}

.impact-spiral-bg {
  position: absolute;
  inset: 0;
  background: url('../images/impact-spiral.svg') no-repeat right center;
  background-size: contain;
  z-index: 0;
}

.impact-spiral-layout {
  display: grid;
  grid-template-columns: 1.4fr 1.1fr;
  gap: 64px;
  align-items: start;
  position: relative;
  z-index: 1;
}

@media (max-width: 1280px) {
  .impact-spiral-layout {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .impact-spiral-layout {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 1118px) {
  .impact-spiral-bg {
    opacity: 0.1;
  }
}

/* ========================================================================================================== */
/* ============================================ TEAM SECTION ================================================= */
/* ========================================================================================================== */
/* =========================================
   TEAM SCROLL TRACK
========================================= */

.team-scroll_track{
  display:flex;
  gap:40px;
  will-change:transform;
}

/* =========================================
   TEAM CARD
========================================= */

.team-card{
  flex: 0 0 300px;      /* fixed width for loop math */
  width:300px;          /* explicit width helps some browsers */
  height:420px;         /* consistent height */
  border-radius:24px;
  overflow:hidden;
  position:relative;

  text-decoration:none;
  color:#ffffff;
}

/* Prevent WP underline nonsense */
.team-card,
.team-card *{
  text-decoration:none !important;
}

/* =========================================
   IMAGE LAYER
========================================= */

.team-card__image{
  position:absolute;
  inset:0;
}

.team-card__image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* =========================================
   OVERLAY GRADIENT
========================================= */

.team-card::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:55%;
  background:linear-gradient(
    to top,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.45) 40%,
    rgba(0,0,0,0) 100%
  );
  pointer-events:none;
  z-index:1;
}

/* =========================================
   CONTENT LAYER
========================================= */

.team-card__content{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding:32px;
  z-index:2;
}

/* Name */
.team-card__content h3{
  margin:0 0 14px;
  font-family:'DM Serif Display', serif;
  font-weight:400;
  font-size:42px;      /* original visual weight */
  line-height:1.05;
  color:#ffffff;
}

/* Role / Credentials */
.team-card__content p{
  margin:0;
  font-family:'Inter', sans-serif;
  font-weight:500;
  font-size:18px;
  line-height:1.35;
  color:#ffffff;
}

/* Optional separate creds */
.team-card__creds{
  display:block;
  margin:0 0 8px;
  font-family:'Inter', sans-serif;
  font-weight:500;
  font-size:18px;
  line-height:1.35;
  color:#ffffff;
}

/* =========================================
   MOBILE BEHAVIOR (DO NOT TOUCH LOOP)
========================================= */

@media (max-width:767px){

  .team-scroll_viewport{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }

  .team-scroll_track{
    transform:none !important;  /* keeps mobile swipe behavior */
  }
}
/* -------------------------
   Team Section CTA Button
   ------------------------- */

.team-cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 5px 56px 5px 32px;
  border: 3px solid #00B6AB;
  border-radius: 999px;
  background: transparent;
  color: #00B6AB;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
}

.team-cta-button .cta-arrow {
  position: absolute;
  right: -3px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #00B6AB;
  color: #ffffff;
  border-radius: 50%;
  font-size: 22px;
  pointer-events: none;
}

.team-cta-button:hover {
  background: transparent;
  color: #00B6AB;
}

@media (max-width: 767px) {
  .team-scroll_viewport {
    overflow-x: auto;
  }

  .team-scroll_track {
    transform: none !important;
  }
}

/* ========================================================================================================== */
/* ============================================ SPONSORS ===================================================== */
/* ========================================================================================================== */

.sponsors-section {
  position: relative;
  background: #ffffff;
  overflow: visible;
}

.sponsors-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 24px 100px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
}

.sponsors-content {
  max-width: 820px;
}

.sponsors-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(3.5rem, 5vw, 4.75rem);
  line-height: 1;
  margin-bottom: 28px;
}

.sponsors-title em {
  color: #00b3a4;
}

.sponsors-description {
  font-size: 18px;
  line-height: 1.7;
  color: #16315a;
}

.sponsors-spiral {
  position: absolute;
  top: 40px;
  right: -40px;
  width: 460px;
  height: 460px;
  background-image: url('/wp-content/uploads/2026/02/SponsorSpirl.svg');
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

/* =========================
   Logo Carousel
========================= */

.sponsors-carousel-wrap {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 24px 120px;
}

.sponsors-carousel {
  display: grid;
  padding: 0 80px;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.sponsor-logo {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sponsor-logo img {
  max-width: 70%;
  height: auto;
}

/* =========================
   Mobile – single logo
========================= */

@media (max-width: 768px) {

  .sponsors-carousel-wrap {
    padding-bottom: 60px;
  }

  .sponsors-carousel {
    display: flex;
    overflow: hidden;
    padding: 0;
  }

  .sponsor-logo {
    flex: 0 0 100%;
    height: 160px;
  }

  .sponsor-logo a {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
  }

}

@media (max-width: 1190px) {
  .sponsors-spiral {
    display: none;
  }

  .sponsors-inner {
    grid-template-columns: 1fr;
  }

  .sponsors-content {
    max-width: 100%;
  }
}

/* ========================================================================================================== */
/* ============================================ INNOVATION =================================================== */
/* ========================================================================================================== */

.innovation-section {
  position: relative;
  background-color: #16315A;
  overflow: hidden;
  min-height: 600px;
}

.innovation-bg-icon {
  position: absolute;
  top: 40px;
  left: -80px;
  width: 500px;
  opacity: 0.75;
}

.innovation-inner {
  max-width: 1343px;
  margin: 0 auto;
  padding: 120px 24px 96px;
}

.innovation-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.6rem, 5vw, 4rem);
  color: #ffffff;
}

.innovation-title em {
  color: #00E0C1;
}

.innovation-bottom {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  color: #ffffff;
}

@media (max-width: 768px) {
  .innovation-bottom {
    flex-direction: column;
  }
}

/* ========================================================================================================== */
/* ============================================ FEATURED RESEARCH ========================================== */
/* ========================================================================================================== */

.featured-research-section {
  background-color: #F2F2EE;
  padding: 40px 24px;
  margin-bottom: 80px;
}

.featured-research-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: 120px;
}

.featured-research-heading {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(3rem, 6vw, 4.5rem);
  color: #16315A;
}

.featured-research-content {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 70% 30%;
  gap: 40px;
}

@media (max-width: 900px) {
  .featured-research-content {
    grid-template-columns: 1fr;
  }
}

/* ========================================================================================================== */
/* ============================================ FOOTER ======================================================= */
/* ========================================================================================================== */

/* =========================================
   FOOTER
========================================= */

.site-footer {
  position: relative;
  background: var(--color-navy);
  overflow: visible; /* allow rings to overlap upward */
}

.site-footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 38px var(--container-padding); /* controls how much overlap the spiral has - less = higher position */
  display: flex;
  align-items: center;
  gap: 56px;
}

/* Rings overlay (footer spiral) */
.site-footer__rings {
  position: absolute;
  right: 0px;
  bottom: 0;
  width: 420px;
  height: auto;
  z-index: 5;
  pointer-events: none;
}

/* IMPORTANT: the section above must not clip the overlap */
.featured-research-section {
  overflow: visible;
}

/* Responsive */
@media (max-width: 900px) {
  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .site-footer__rings {
    top: -120px;
    width: 320px;
  }
}
.site-footer__menu {
  display: flex;
  gap: 56px;
}

@media (max-width: 900px) {
  .site-footer__inner {
    flex-direction: column;
  }
}