.home-frontiers {
  position: relative;
  overflow: hidden;
  padding-block: 88px 96px;
  background: linear-gradient(180deg, rgba(220, 234, 251, .23), transparent 64%);
}

.home-frontier-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.home-frontier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 342px;
  padding: 27px 24px 23px;
  border: 1px solid rgba(79, 113, 151, .19);
  border-radius: 20px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 16px 40px rgba(13, 35, 70, .045);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.home-frontier-card:hover,
.home-frontier-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(75, 127, 204, .5);
  box-shadow: 0 20px 48px rgba(19, 53, 99, .11);
}

.home-frontier-quantum {
  background: radial-gradient(circle at 90% 5%, rgba(105, 161, 252, .18), transparent 44%), rgba(255, 255, 255, .88);
}

.frontier-no, .home-research-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  color: #58718e;
}

.frontier-icon, .frontier-symbol {
  height: 88px;
  display: flex;
  align-items: center;
  color: #6388cc;
  font: 700 28px/1 'Space Grotesk', sans-serif;
}

.frontier-icon svg { display: block; }
.frontier-symbol { position: relative; }
.frontier-symbol span {
  position: absolute;
  left: 23px;
  top: 16px;
  width: 82px;
  height: 52px;
  border: 1.5px solid #77a4e6;
  border-radius: 50%;
  transform: rotate(32deg);
  animation: home-orbit 12s linear infinite;
}
.frontier-symbol span:nth-child(2) {
  border-color: #ec9b83;
  transform: rotate(-40deg);
  animation-direction: reverse;
  animation-duration: 15s;
}
.frontier-symbol span:nth-child(3) {
  border-color: #9ab8e3;
  transform: rotate(82deg);
  animation-duration: 18s;
}
.frontier-symbol i {
  position: absolute;
  left: 62px;
  top: 40px;
  width: 9px;
  height: 9px;
  background: #719ce4;
  border-radius: 50%;
  box-shadow: 0 0 19px #729fe6;
}
.home-frontier-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(21px, 1.75vw, 27px);
  letter-spacing: -.045em;
  color: #17263c;
  margin: 0 0 14px;
}
.home-frontier-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #5e7187;
  margin: 0 0 23px;
}
.frontier-link {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  border-top: 1px solid #e6ecf5;
  padding-top: 17px;
  font-size: 12px;
  font-weight: 800;
  color: #193b66;
}
.frontier-link svg { width: 15px; height: 15px; }

#ecosystem .filters { display: none !important; }
#ecosystem .projects {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  align-items: stretch;
  gap: 16px !important;
  width: 100%;
  max-width: 100%;
  margin-top: 34px;
}
#ecosystem .project-card {
  display: flex !important;
  flex-direction: column !important;
  align-self: stretch;
  min-width: 0;
  width: 100%;
  height: auto !important;
  min-height: 355px !important;
  aspect-ratio: auto !important;
  grid-column: auto !important;
  grid-row: auto !important;
  overflow: hidden;
  border-radius: 18px;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
#ecosystem .project-card:hover,
#ecosystem .project-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(18, 39, 80, .13);
}
#ecosystem .project-art {
  position: relative;
  display: block;
  flex: none;
  height: 132px !important;
  min-height: 132px !important;
  max-height: 132px !important;
  aspect-ratio: auto !important;
  overflow: hidden;
}
#ecosystem .project-visual {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}
#ecosystem .project-art-index { font-size: 10px; letter-spacing: .09em; }
#ecosystem .project-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  padding: 18px 18px 17px !important;
}
#ecosystem .project-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: 10px;
  row-gap: 3px;
  font-size: 9px;
  letter-spacing: .045em;
}
#ecosystem .project-name {
  margin: 10px 0 9px !important;
  font-size: clamp(21px, 2vw, 27px) !important;
  line-height: 1.13 !important;
  letter-spacing: -.042em;
}
#ecosystem .project-body p {
  margin: 0 0 16px !important;
  font-size: 13px !important;
  line-height: 1.57 !important;
  overflow-wrap: anywhere;
}
#ecosystem .project-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto !important;
  padding-top: 13px;
}
#ecosystem .project-bottom span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 12px;
}
#ecosystem .project-note { max-width: 920px; }

.home-quantum-feature {
  padding: 100px 0;
  background: #0a172b;
  color: #f5f9ff;
  overflow: hidden;
}
.home-quantum-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr);
  align-items: center;
  gap: 65px;
  position: relative;
}
.home-quantum-feature .section-heading { color: #f9fbff; }
.home-quantum-feature .section-heading em { font-style: normal; color: #9bc8ff; }
.home-quantum-feature .section-kicker { color: #a8caff; }
.home-quantum-copy p {
  color: #c7d4e3;
  line-height: 1.8;
  font-size: 15px;
  max-width: 660px;
}
.home-research-label { display: inline-block; margin: 16px 0; color: #8cb6f0; }
.home-quantum-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
}
.home-quantum-feature .text-link { color: #c9ddff; }
.home-quantum-art {
  isolation: isolate;
  position: relative;
  min-height: 340px;
  aspect-ratio: 1;
  max-width: 480px;
  width: 100%;
  margin: auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(135, 180, 247, .14);
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(108, 151, 227, .21), transparent 53%), radial-gradient(circle at center, rgba(10, 32, 67, .9), transparent 75%);
}
.hq-orbit {
  position: absolute;
  inset: 13%;
  border: 1.5px solid rgba(159, 201, 255, .5);
  border-radius: 50%;
  transform: rotate(23deg) scaleY(.44);
  animation: home-orbit 19s linear infinite;
}
.hq-orbit-b {
  border-color: rgba(246, 158, 131, .65);
  transform: rotate(83deg) scaleY(.62);
  animation-direction: reverse;
  animation-duration: 14s;
}
.hq-orbit-c {
  border-color: rgba(172, 203, 255, .3);
  transform: rotate(140deg) scaleY(.45);
  animation-duration: 24s;
}
.hq-core {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  border-radius: 25px;
  background: linear-gradient(145deg, rgba(147, 197, 255, .25), rgba(19, 47, 104, .74));
  border: 1px solid rgba(154, 202, 255, .47);
  font: 700 44px/1 'Space Grotesk', sans-serif;
  color: #e3f1ff;
  box-shadow: 0 0 45px rgba(81, 146, 230, .24);
}
.hq-caption {
  position: absolute;
  bottom: 26px;
  left: 0;
  right: 0;
  text-align: center;
  letter-spacing: .14em;
  color: #abc8ea;
  font-size: 10px;
  font-weight: 800;
}

.home-impact {
  position: relative;
  padding: 98px 0 96px;
  overflow: hidden;
  background: linear-gradient(145deg, #f6f9fd 4%, #eaf2fc 57%, #fafdff 100%);
}
.home-impact::before {
  content: '';
  position: absolute;
  width: 580px;
  height: 580px;
  right: -260px;
  top: -275px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(115, 171, 242, .17), transparent 65%);
}
.home-impact .section-heading { max-width: 720px; }
.home-impact .section-heading em {
  color: #3a6daf;
  font-style: normal;
}
.home-impact-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}
.home-impact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 328px;
  padding: 28px 28px 25px;
  border: 1px solid #d4e1ee;
  border-radius: 19px;
  background: rgba(255, 255, 255, .9);
  color: #1a2c46;
  text-decoration: none;
  box-shadow: 0 18px 46px rgba(28, 67, 119, .045);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.home-impact-card:hover,
.home-impact-card:focus-visible {
  transform: translateY(-5px);
  border-color: #8db6e7;
  box-shadow: 0 24px 46px rgba(30, 79, 140, .11);
}
.home-impact-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  color: #597999;
}
.home-impact-top span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.5;
}
.home-impact-top svg { flex: none; color: #638fcb; }
.home-impact-card h3 {
  margin: 12px 0 12px;
  color: #152a45;
  font: 700 clamp(22px, 2vw, 29px)/1.17 'Space Grotesk', sans-serif;
  letter-spacing: -.04em;
}
.home-impact-card p {
  font-size: 14px;
  line-height: 1.75;
  color: #63768d;
  margin: 0 0 24px;
}
.home-impact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  border-top: 1px solid #e4eaf2;
  padding-top: 18px;
  font-size: 12px;
  font-weight: 800;
  color: #1b4a7e;
}
.home-impact-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 28px;
  row-gap: 16px;
  margin-top: 27px;
  color: #526f8e;
}
.home-impact-bottom > span {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .085em;
}
.home-impact-bottom > span i {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: #5086c3;
  box-shadow: 0 0 0 4px rgba(80, 134, 195, .11);
}
.home-impact-bottom > div { display: flex; flex-wrap: wrap; gap: 22px; }
.home-impact-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 800;
  color: #285c94;
  text-decoration: none;
}
.home-impact-bottom a:hover { text-decoration: underline; text-underline-offset: 3px; }

@keyframes home-orbit { to { rotate: 360deg; } }

@media (max-width: 1200px) {
  #ecosystem .projects { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  #ecosystem .project-art { height: 160px !important; min-height: 160px !important; max-height: 160px !important; }
  .home-frontier-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  .home-impact-grid { grid-template-columns: 1fr; gap: 14px; }
  .home-impact-card { min-height: 0; padding: 24px 25px; }
  .home-impact-top { min-height: 50px; }
  .home-impact-card p { margin-bottom: 20px; }
  .home-quantum-inner { grid-template-columns: 1fr; gap: 30px; }
  .home-quantum-art { min-height: 0; max-width: 345px; }
}

@media (max-width: 650px) {
  .hero h1 { font-size: clamp(38px, 11vw, 57px) !important; }
  .hero h1 > span { display: block; max-width: 100%; }
  .hero-copy { min-width: 0; }
  .home-frontiers { padding: 65px 0 73px; }
  .home-frontier-grid { grid-template-columns: 1fr; gap: 13px; margin-top: 28px; }
  .home-frontier-card { min-height: 0; padding: 23px; }
  .frontier-icon, .frontier-symbol { height: 74px; }
  #ecosystem .projects { grid-template-columns: 1fr !important; gap: 12px !important; margin-top: 26px; }
  #ecosystem .project-card {
    display: grid !important;
    grid-template-columns: minmax(104px, 33%) minmax(0, 1fr);
    min-height: 195px !important;
    border-radius: 16px;
  }
  #ecosystem .project-art {
    height: 100% !important;
    min-height: 195px !important;
    max-height: none !important;
  }
  #ecosystem .project-body { padding: 16px 14px !important; }
  #ecosystem .project-meta { font-size: 9px; line-height: 1.3; }
  #ecosystem .project-meta span:nth-child(2) { display: none; }
  #ecosystem .project-name { font-size: clamp(20px, 5.7vw, 24px) !important; margin: 8px 0 !important; }
  #ecosystem .project-body p { font-size: 12px !important; line-height: 1.52 !important; margin-bottom: 12px !important; }
  #ecosystem .project-bottom { padding-top: 10px; }
  #ecosystem .project-bottom span:first-child { font-size: 11px; }
  .home-quantum-feature { padding: 76px 0; }
  .home-quantum-art { max-width: 300px; }
  .home-impact { padding: 70px 0 75px; }
  .home-impact-grid { margin-top: 27px; }
  .home-impact-card { padding: 22px 23px; }
  .home-impact-bottom { align-items: flex-start; flex-direction: column; }
  .home-impact-bottom > div { gap: 14px 20px; }
}

@media (max-width: 380px) {
  #ecosystem .project-card { grid-template-columns: 98px minmax(0, 1fr); }
  #ecosystem .project-body { padding: 14px 12px !important; }
  #ecosystem .project-art-index { font-size: 9px; }
  #ecosystem .project-name { font-size: 19px !important; }
  #ecosystem .project-body p { font-size: 11.5px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .home-frontier-card, .home-impact-card, .hq-orbit, .frontier-symbol span,
  #ecosystem .project-card { animation: none !important; transition: none !important; }
}
