:root {
  --labloop-navy: #0e2b69;
  --labloop-blue: #2c63d4;
  --labloop-blue-light: #5a7ee5;
  --labloop-teal: #2f6f74;
  --labloop-tile: #f1f1f1;
  --labloop-text: #2e3e57;
  --labloop-subtext: #56636a;
}

.idbs-section__eyebrow {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--idbs-accent-dark);
  margin-bottom: 10px;
}

.idbs-hero__title-line {
  display: block;
}

.idbs-hero__title {
  white-space: normal;
}

.labloop__lead {
  color: var(--idbs-muted);
  margin-bottom: 24px;
}

.idbs-section#lab-loop {
  background: #ffffff;
}

.labloop__stage {
  position: relative;
  width: min(720px, 100%);
  aspect-ratio: 3 / 2;
  margin: 0 auto 48px;
}

.labloop__core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 265px;
  height: 265px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--labloop-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 22px;
}

@supports (background: conic-gradient(red, blue)) {
  .labloop__core {
    background: conic-gradient(
      var(--labloop-navy) 0deg 110deg,
      #ffffff 110deg 118deg,
      var(--labloop-blue) 118deg 230deg,
      #ffffff 230deg 238deg,
      var(--labloop-teal) 238deg 350deg,
      #ffffff 350deg 360deg
    );
  }
}

.labloop__core::before {
  content: "";
  position: absolute;
  inset: 36px;
  background: #ffffff;
  border-radius: 50%;
  z-index: 0;
}

.labloop__core-title {
  position: relative;
  z-index: 1;
  color: var(--labloop-blue);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  line-height: 1.1;
  margin-bottom: 0;
}

.labloop__core-list {
  position: absolute;
  inset: 0;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 600;
}

.labloop__core-list li {
  position: absolute;
  width: 120px;
  text-align: center;
  line-height: 1.2;
}

.labloop__core-list li:nth-child(1) {
  top: 14%;
  left: 8%;
  transform: rotate(-30deg);
}

.labloop__core-list li:nth-child(2) {
  top: 12%;
  right: 6%;
  transform: rotate(30deg);
}

.labloop__core-list li:nth-child(3) {
  bottom: 15%;
  left: 26%;
}

.labloop__orbit {
  position: absolute;
  inset: 0;
}

.labloop__item {
  position: absolute;
  width: 134px;
  height: 134px;
  border-radius: 40px;
  background: var(--labloop-tile);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  color: var(--labloop-text);
  text-decoration: none;
  padding: 12px 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: none;
  -webkit-clip-path: path("M67 4C94 4 117 21 124 46C131 72 130 104 104 120C86 132 48 132 30 120C4 104 3 72 10 46C17 21 40 4 67 4Z");
  clip-path: path("M67 4C94 4 117 21 124 46C131 72 130 104 104 120C86 132 48 132 30 120C4 104 3 72 10 46C17 21 40 4 67 4Z");
}

@supports not (clip-path: path("M0 0, 1 1")) {
  .labloop__item {
    -webkit-clip-path: none;
    clip-path: none;
    border-radius: 24px;
  }
}

.labloop__item:hover {
  transform: translateY(-2px);
  box-shadow: var(--idbs-shadow);
}

.labloop__item img {
  width: 36px;
  height: 36px;
  filter: invert(28%) sepia(86%) saturate(1900%) hue-rotate(210deg) brightness(95%) contrast(98%);
}

.labloop__item span {
  font-size: 0.75rem;
  line-height: 1.3;
  color: var(--labloop-text);
}

.labloop__item small {
  display: block;
  font-size: 0.65rem;
  color: var(--labloop-subtext);
}

.item-1 {
  top: -5%;
  left: 50%;
  transform: translate(-50%, 0);
}

.item-2 {
  top: 6%;
  right: 15%;
}

.item-3 {
  top: 30%;
  right: -3%;
}

.item-4 {
  top: 58%;
  right: 6%;
}

.item-5 {
  bottom: -3%;
  right: 20%;
}

.item-6 {
  bottom: -7%;
  left: 50%;
  transform: translate(-50%, 0);
}

.item-7 {
  bottom: -3%;
  left: 20%;
}

.item-8 {
  top: 58%;
  left: 6%;
}

.item-9 {
  top: 30%;
  left: -3%;
}

.item-10 {
  top: 6%;
  left: 15%;
}

.labloop__descriptions {
  display: grid;
  gap: 14px;
}

.labloop__desc {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(46, 62, 87, 0.1);
  padding: 16px 20px;
}

.labloop__desc-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.labloop__desc-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  margin-top: 2px;
  filter: brightness(0) saturate(100%) invert(45%) sepia(6%) saturate(220%) hue-rotate(169deg) brightness(94%) contrast(88%);
}

.labloop__desc h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.labloop__desc-header h3 {
  margin-bottom: 0;
}

.labloop__desc p {
  margin: 0;
  color: var(--idbs-muted);
}

.labloop-image-map {
  position: relative;
  width: min(720px, 100%);
  margin: 0 auto 36px;
}

.labloop-image-map img {
  width: 100%;
  height: auto;
  display: block;
}

.labloop-hotspot {
  position: absolute;
  width: 12%;
  height: 12%;
  border-radius: 32px;
  transform: translate(-50%, -50%);
}

.labloop-hotspot:focus {
  outline: 2px solid var(--idbs-accent);
  outline-offset: 2px;
}

.labloop-hotspot:hover {
  box-shadow: 0 0 0 2px rgba(47, 166, 162, 0.4);
}

.hotspot-control {
  top: 18%;
  left: 33%;
}

.hotspot-explorer {
  top: 15%;
  left: 50%;
}

.hotspot-workflow {
  top: 18%;
  left: 67%;
}

.hotspot-inventory {
  top: 38%;
  left: 78%;
}

.hotspot-request {
  top: 58%;
  left: 78%;
}

.hotspot-chemistry {
  top: 76%;
  left: 67%;
}

.hotspot-accelerator {
  top: 82%;
  left: 50%;
}

.hotspot-insight {
  top: 76%;
  left: 33%;
}

.hotspot-collaboration {
  top: 58%;
  left: 22%;
}

.hotspot-integrations {
  top: 38%;
  left: 22%;
}

@media (max-width: 992px) {
  .labloop__stage {
    width: min(640px, 100%);
  }

  .labloop__core {
    width: 235px;
    height: 235px;
  }

  .labloop__item {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 768px) {
  .labloop__stage {
    aspect-ratio: auto;
    height: auto;
  }

  .labloop__core {
    position: static;
    margin: 0 auto 20px;
    transform: none;
  }

  .labloop__orbit {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
  }

  .labloop__item {
    position: static;
    width: 100%;
    height: auto;
    min-height: 120px;
    -webkit-clip-path: none;
    clip-path: none;
    border-radius: 24px;
  }

  .labloop__core-list {
    position: static;
    color: var(--labloop-navy);
    margin-top: 10px;
  }

  .labloop__core-list li {
    position: static;
    width: auto;
    transform: none;
  }
}
