.skills-block { margin-top: 1.25rem; }

.skills-map {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
  gap: 1.05rem;
  margin-top: .72rem;
  padding: .48rem .95rem 1.16rem;
  background: radial-gradient(ellipse at 50% 0, #9b795b15, transparent 70%), #292824;
  box-shadow: inset 0 0 0 1px #6b605156;
}

.skills-wiring {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke-width: 1;
  pointer-events: none;
}
.skills-crosslinks { stroke: #b69f7d8c; }
.skills-branches { stroke: #aa967256; }

.skills-group {
  position: relative;
  min-width: 0;
  padding: 2.1rem 0 0 .53rem;
}
.skills-hub {
  position: absolute;
  top: 2.99rem;
  left: 1.13rem;
  width: .58rem;
  height: .58rem;
  border: 1px solid #e3caab;
  border-radius: 50%;
  background: #6e5944;
  box-shadow: 0 0 0 3px #b9926526;
}
.skills-group h4 {
  display: flex;
  align-items: center;
  min-height: 2.42rem;
  margin: 0 0 .25rem;
  padding-left: 2.35rem;
  color: #e4d2bd;
  font-size: .91rem;
  font-weight: 650;
  line-height: 1.25;
  text-wrap: balance;
}
.skills-nodes { display: grid; gap: .18rem; padding: 0; list-style: none; }
.skills-nodes li {
  display: flex;
  align-items: center;
  gap: .46rem;
  min-height: 2.18rem;
  color: var(--ink);
  font-size: .88rem;
  line-height: 1.28;
  overflow-wrap: anywhere;
}
.skills-symbol {
  display: grid;
  flex: 0 0 1.9rem;
  width: 1.9rem;
  height: 1.9rem;
  place-items: center;
  border: 1px solid #cfc2ad;
  border-radius: 50%;
  background: #f6f1e7;
}
.skills-logo { display: block; width: 1.14rem; height: 1.14rem; object-fit: contain; }
.skills-logo-tinted {
  background-color: currentColor;
  -webkit-mask: var(--logo) center / contain no-repeat;
  mask: var(--logo) center / contain no-repeat;
}
.skills-icon {
  width: 1.14rem;
  height: 1.14rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.skills-nodes li:hover .skills-symbol { border-color: #f1d4ad; background: #fffaf0; box-shadow: 0 0 0 3px #b9926526; }

@media (max-width: 1070px) {
  .skills-map { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .skills-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .skills-map { grid-template-columns: 1fr; gap: .62rem; padding-left: .6rem; }
  .skills-group { padding-top: .55rem; }
  .skills-hub { top: 1.25rem; }
  .skills-group h4 { min-height: 2rem; }
}
