.business-matrix {
  padding-block: clamp(3.5rem, 6.5vw, 6.4rem);
  background: radial-gradient(ellipse at 80% 95%, #18251e 0, transparent 52%), var(--page);
}

.matrix-heading {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 4vw, 3.5rem);
  margin-bottom: clamp(1.5rem, 3vw, 2.6rem);
}

.matrix-heading::after {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, #849953, #28382e 65%, transparent);
  content: "";
}

.matrix-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  list-style: none;
  background: #42513a;
}

.matrix-grid::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--accent), var(--accent)) top left / 2.6rem 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) bottom right / 2.6rem 2px no-repeat;
  pointer-events: none;
  content: "";
}

.matrix-cell {
  --trace: #c8f185;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(5rem, 10vw, 10rem);
  align-items: center;
  gap: clamp(0.8rem, 2.2vw, 2rem);
  min-height: clamp(12.5rem, 16vw, 15.25rem);
  padding: clamp(1.25rem, 2.65vw, 2.6rem);
  background: radial-gradient(ellipse at 90% 44%, #202f20, transparent 60%), #111813;
}

.matrix-cell:nth-child(2), .matrix-cell:nth-child(3) {
  --trace: #a7e4bd;
  background: radial-gradient(ellipse at 90% 44%, #1c2d27, transparent 60%), #101715;
}

.matrix-copy h3 {
  margin: 0 0 0.8rem;
  color: var(--text);
  font-family: var(--display-font);
  font-size: clamp(1.35rem, 2.15vw, 2rem);
  letter-spacing: 0.035em;
  line-height: 1.25;
}

.matrix-copy p {
  max-width: 23em;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  text-wrap: pretty;
}

.matrix-art {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  color: var(--trace);
  pointer-events: none;
}

.matrix-art::before {
  position: absolute;
  inset: -8%;
  background: radial-gradient(circle, #acd68c66 0.75px, transparent 1px) center / 9px 9px;
  mask-image: radial-gradient(ellipse, #000 25%, transparent 68%);
  content: "";
}

.matrix-art .window {
  position: absolute;
  width: 68%;
  height: 48%;
  border: 1px solid currentColor;
  border-radius: 3px;
  background: #152218;
  transform: skewY(-9deg);
}

.window--back {
  top: 19%;
  left: 25%;
  opacity: 0.58;
}

.window--front {
  top: 33%;
  left: 8%;
  box-shadow: -4px 5px 0 #8ca66033;
}

.matrix-art .window::before {
  position: absolute;
  inset: 0 0 auto;
  height: 23%;
  border-bottom: 1px solid currentColor;
  background: radial-gradient(circle at 1px 50%, currentColor 1px, transparent 1.5px) 5px center / 4px 100% repeat-x;
  clip-path: polygon(0 0, 20% 0, 20% 85%, 100% 85%, 100% 100%, 0 100%);
  content: "";
}

.window--front i {
  position: absolute;
  left: 14%;
  height: 2px;
  background: currentColor;
}

.window--front i:first-child { top: 42%; width: 38%; }
.window--front i:nth-child(2) { top: 59%; left: 22%; width: 51%; opacity: 0.6; }
.window--front i:last-child { top: 76%; width: 24%; }

.matrix-art--network .network-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 47%;
  height: 47%;
  border: 1px solid currentColor;
  background: linear-gradient(45deg, transparent 49.5%, #a7e4bd85 50%, transparent 51%),
    linear-gradient(-45deg, transparent 49.5%, #a7e4bd85 50%, transparent 51%);
  transform: translate(-50%, -50%) rotate(45deg);
}

.matrix-art--network::after, .matrix-art--network i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8%;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: #203b2d;
  transform: translate(-50%, -50%);
}

.matrix-art--network::after {
  width: 11%;
  background: currentColor;
  box-shadow: 0 0 0 5px #a7e4bd1f, 0 0 20px #a7e4bd66;
  content: "";
}

.matrix-art--network i:nth-of-type(1) { top: 17%; }
.matrix-art--network i:nth-of-type(2) { left: 83%; }
.matrix-art--network i:nth-of-type(3) { top: 83%; }
.matrix-art--network i:nth-of-type(4) { left: 17%; }

.chip-pins, .chip-core {
  position: absolute;
  transform: rotate(-12deg);
}

.chip-pins {
  inset: 16%;
  --horizontal: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 7px);
  --vertical: repeating-linear-gradient(0deg, currentColor 0 2px, transparent 2px 7px);
  background:
    var(--horizontal) center top / 61% 20% no-repeat,
    var(--horizontal) center bottom / 61% 20% no-repeat,
    var(--vertical) left center / 20% 61% no-repeat,
    var(--vertical) right center / 20% 61% no-repeat;
  opacity: 0.76;
}

.chip-core {
  inset: 25%;
  border: 1px solid currentColor;
  border-radius: 3px;
  background: #192d22;
  box-shadow: inset 3px -3px 0 #a7e4bd22;
}

.chip-core::before {
  position: absolute;
  inset: 20%;
  border: 1px solid currentColor;
  background: radial-gradient(circle, #bcebb4 1px, transparent 2px) center / 7px 7px;
  content: "";
}

.plan-sheet {
  position: absolute;
  inset: 21% 8% 18%;
  border: 1px solid currentColor;
  border-radius: 2px;
  background:
    linear-gradient(0deg, transparent 82%, #91ac6155 82% 84%, #1f2c1a 84%),
    repeating-linear-gradient(90deg, #94b87226 0 1px, transparent 1px 17%),
    #172219;
  box-shadow: 4px -4px 0 -1px #172219, 4px -4px 0 #94b87280;
}

.matrix-art--planning i {
  position: absolute;
  height: 5%;
  border: 1px solid currentColor;
  background: #2c4024;
}

.matrix-art--planning i:nth-of-type(1) { top: 42%; left: 18%; width: 26%; }
.matrix-art--planning i:nth-of-type(2) { top: 54%; left: 39%; width: 31%; }
.matrix-art--planning i:nth-of-type(3) { top: 66%; left: 63%; width: 21%; background: currentColor; }

@media (max-width: 46rem) {
  .matrix-grid { grid-template-columns: minmax(0, 1fr); }
  .matrix-cell {
    grid-template-columns: minmax(0, 1fr) clamp(4.5rem, 19vw, 7.5rem);
    min-height: 10.5rem;
  }
}
