/* Home-page refinements: linked research map and image-led research areas. */
.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 720px;
}

.research-map {
  min-height: 560px;
  position: relative;
  isolation: isolate;
}

.research-map::before {
  content: "";
  position: absolute;
  inset: 12% 8%;
  border: 1px solid rgba(100, 216, 218, 0.22);
  border-radius: 50%;
  transform: rotate(-20deg);
  z-index: -1;
}

.research-map-lines {
  position: absolute;
  width: 330px;
  height: 330px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.research-map-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 250px;
  height: 250px;
  padding: 14px;
  background: rgba(7, 26, 47, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.34);
  transform: translate(-50%, -50%);
}

.research-map-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.research-node {
  position: absolute;
  z-index: 2;
  width: 126px;
  height: 126px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #0b2d48;
  color: #fff;
  border: 1px solid rgba(100, 216, 218, 0.65);
  border-radius: 50%;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.research-node:hover,
.research-node:focus-visible {
  background: #08a6aa;
  border-color: #fff;
  transform: scale(1.07);
  outline: none;
}

.research-node strong {
  color: #ff9a46;
  font: 400 23px/1 Georgia, serif;
}

.research-node:hover strong,
.research-node:focus-visible strong {
  color: #fff;
}

.research-node span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 9px;
  line-height: 1.3;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.node-gnc { left: 2%; top: 10%; }
.node-ssa { right: 0; top: 10%; }
.node-sciml { right: 2%; bottom: 7%; }
.node-astro { left: 4%; bottom: 5%; }

.hero-stats > a {
  min-height: 105px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  transition: background 0.2s ease;
}

.hero-stats > a:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.hero-stats > a:hover,
.hero-stats > a:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.hero-stats > a strong {
  min-width: 58px;
  color: #ff8a2a;
  font: 400 20px/1 Georgia, serif;
}

.hero-stats > a span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  line-height: 1.45;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.image-pillars .pillar {
  min-height: 440px;
  padding: 20px;
  display: block;
}

.pillar-image {
  height: 168px;
  margin: 20px -1px 25px;
  overflow: hidden;
  background: #dce3df;
}

.pillar-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.06);
  transition: transform 0.5s ease, filter 0.3s ease;
}

.image-pillars .pillar:hover .pillar-image img,
.image-pillars .pillar:focus-visible .pillar-image img {
  transform: scale(1.045);
  filter: saturate(1) contrast(1.04);
}

.image-pillars .pillar:focus-visible {
  background: #fff;
  outline: 3px solid #08a6aa;
  outline-offset: -3px;
}

.image-pillars .pillar h3 {
  max-width: 240px;
}

.footer-address {
  font-style: normal;
}

@media (max-width: 1000px) {
  .research-map {
    width: min(620px, 100%);
    margin-inline: auto;
  }

  .image-pillars .pillar {
    min-height: 410px;
  }
}

@media (max-width: 760px) {
  .hero h1 {
    font-size: clamp(43px, 12vw, 62px);
  }

  .research-map {
    min-height: 510px;
    transform: none;
  }

  .research-map::before,
  .research-map-lines {
    display: none;
  }

  .research-map-logo {
    width: 205px;
    height: 205px;
  }

  .research-node {
    width: 108px;
    height: 108px;
    padding: 12px;
  }

  .research-node strong { font-size: 20px; }
  .research-node span { font-size: 8px; }
  .node-gnc { left: 0; top: 2%; }
  .node-ssa { right: 0; top: 2%; }
  .node-sciml { right: 0; bottom: 2%; }
  .node-astro { left: 0; bottom: 2%; }

  .hero-stats > a {
    min-height: 112px;
    padding: 17px 14px;
  }

  .hero-stats > a strong {
    min-width: 50px;
    font-size: 17px;
  }

  .hero-stats > a span {
    font-size: 9px;
  }

  .image-pillars .pillar {
    min-height: 390px;
  }

  .pillar-image {
    height: 190px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .research-node,
  .pillar-image img {
    transition: none;
  }
}

/* Orbital research map and accessible area carousels. */
.research-map {
  min-height: 620px;
}

.research-map::before {
  inset: 18% 0;
  border-color: rgba(100, 216, 218, 0.34);
  transform: rotate(-25deg);
}

.research-map-lines {
  width: 100%;
  height: 42%;
  border: 1px solid rgba(255, 255, 255, 0.23);
  transform: translate(-50%, -50%) rotate(25deg);
}

.research-map-lines::after {
  content: "";
  position: absolute;
  width: 390px;
  height: 390px;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(255, 138, 42, 0.28);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.research-map-logo {
  width: 360px;
  height: 360px;
  padding: 10px;
}

.research-node {
  width: 116px;
  height: 116px;
  padding: 14px;
}

.node-gnc { left: 0; top: 4%; }
.node-ssa { right: 0; top: 6%; }
.node-sciml { right: 0; bottom: 4%; }
.node-astro { left: 2%; bottom: 2%; }

.image-pillars .pillar {
  min-height: 570px;
  padding: 20px;
}

.area-carousel {
  height: 190px;
  margin: 20px -1px 25px;
  overflow: hidden;
  position: relative;
  background: #dce3df;
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  animation: area-carousel-three 18s ease-in-out infinite;
  will-change: transform;
}

.area-carousel:hover .carousel-track,
.area-carousel:focus-within .carousel-track,
.area-carousel.is-paused .carousel-track {
  animation-play-state: paused;
}

.carousel-slide {
  flex: 0 0 100%;
  height: 100%;
  margin: 0;
  position: relative;
  overflow: hidden;
}

.carousel-slide::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(4, 17, 31, 0.82));
  pointer-events: none;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.05);
  transition: transform 0.55s ease, filter 0.3s ease;
}

.area-carousel:hover .carousel-slide img {
  transform: scale(1.025);
  filter: saturate(1) contrast(1.04);
}

.carousel-slide figcaption {
  position: absolute;
  z-index: 2;
  left: 14px;
  right: 14px;
  bottom: 12px;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.carousel-toggle {
  position: absolute;
  z-index: 4;
  top: 10px;
  right: 10px;
  padding: 7px 10px;
  color: #fff;
  background: rgba(4, 17, 31, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  cursor: pointer;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.carousel-toggle:hover,
.carousel-toggle:focus-visible {
  background: #08a6aa;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.image-pillars .pillar h3 {
  max-width: none;
}

.image-pillars .pillar h3 a:hover,
.image-pillars .pillar h3 a:focus-visible {
  color: #087d81;
  outline: none;
}

.pillar-link {
  display: inline-block;
  margin-top: 18px;
  padding-bottom: 4px;
  color: #087d81;
  border-bottom: 1px solid currentColor;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.pillar-link:hover,
.pillar-link:focus-visible {
  color: #071a2f;
  outline: none;
}

@keyframes area-carousel-three {
  0%, 27% { transform: translateX(0); }
  33%, 60% { transform: translateX(-100%); }
  66%, 93% { transform: translateX(-200%); }
  100% { transform: translateX(0); }
}

@media (max-width: 1000px) {
  .research-map {
    min-height: 610px;
  }

  .image-pillars .pillar {
    min-height: 540px;
  }
}

@media (max-width: 760px) {
  .research-map {
    min-height: 540px;
  }

  .research-map-logo {
    width: 255px;
    height: 255px;
  }

  .research-map-lines::after {
    width: 280px;
    height: 280px;
  }

  .research-node {
    width: 106px;
    height: 106px;
  }

  .area-carousel {
    height: 220px;
  }

  .image-pillars .pillar {
    min-height: 515px;
  }
}

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

  .carousel-toggle {
    display: none;
  }
}
/* Manually navigable carousels, tighter orbital nodes, and footer email. */
.research-map::before {
  inset: 16% 1%;
  transform: rotate(-18deg);
}

.research-map-lines {
  width: 98%;
  height: 68%;
  transform: translate(-50%, -50%) rotate(18deg);
}

.node-gnc { left: 4%; top: 14%; }
.node-ssa { right: 4%; top: 14%; }
.node-sciml { right: 4%; bottom: 14%; }
.node-astro { left: 4%; bottom: 14%; }

.carousel-track {
  animation: none;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.carousel-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(4, 17, 31, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  font: 400 27px/1 Georgia, serif;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
  background: #08a6aa;
  outline: 2px solid #fff;
  outline-offset: 2px;
  transform: translateY(-50%) scale(1.08);
}

.footer-email {
  width: fit-content;
  margin-top: 10px;
  padding: 9px 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.footer-email:hover,
.footer-email:focus-visible {
  background: #08a6aa;
  border-color: #64d8da;
  outline: none;
}

@media (max-width: 760px) {
  .research-map::before,
  .research-map-lines {
    display: block;
  }

  .research-map::before {
    inset: 19% 0;
  }

  .research-map-lines {
    width: 102%;
    height: 63%;
  }

  .node-gnc { left: 0; top: 14%; }
  .node-ssa { right: 0; top: 14%; }
  .node-sciml { right: 0; bottom: 14%; }
  .node-astro { left: 0; bottom: 14%; }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-track {
    transition: none;
  }
}

/* Caption-free research carousel. */
.carousel-slide::after {
  display: none;
}
