/* Skills & Tools — glass chips, larger type; semantics in index.php */

section.skills-tools .skills-lead {
  font-size: 1.4rem;
  line-height: 1.7;
}

@media (min-width: 768px) {
  section.skills-tools .skills-lead {
    font-size: 1.55rem;
    line-height: 1.7;
  }
}

@media (min-width: 1100px) {
  section.skills-tools .skills-lead {
    font-size: 1.65rem;
  }
}

section.skills-tools .skills-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 2.5rem 2rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

/* Glass panels (restored) */
section.skills-tools .skills-tier {
  border-radius: 16px;
  padding: 2rem 1.85rem 2.15rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  section.skills-tools .skills-tier {
    background: rgba(255, 255, 255, 0.1);
  }
}

section.skills-tools .skills-tier-title {
  color: #ffffff;
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  section.skills-tools .skills-tier-title {
    font-size: 2rem;
  }
}

section.skills-tools .skills-tier-note {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  line-height: 1.55;
  margin: 0 0 1.5rem;
  font-weight: 400;
}

section.skills-tools .skills-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 0.65rem;
  margin: 0;
  padding: 0;
}

section.skills-tools .skills-chips-item {
  display: flex;
  margin: 0;
  padding: 0;
}

section.skills-tools .skill-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  min-width: 2.75rem;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

section.skills-tools .skill-chip:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  section.skills-tools .skill-chip {
    transition: none;
  }
}

section.skills-tools .skills-tier--core {
  border-color: rgba(255, 255, 255, 0.3);
}

section.skills-tools .skills-tier--broader .skill-chip {
  opacity: 0.95;
}

@media (max-width: 480px) {
  section.skills-tools .skills-matrix {
    grid-template-columns: 1fr;
  }

  section.skills-tools .skill-chip {
    font-size: 1.05rem;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }
}
