/* About — Skill Space */
.about-page .topbar {
  margin-bottom: 1.5rem;
}

.top-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
  margin-right: 0.75rem;
  min-width: 0;
}

.top-nav-link {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.top-nav-link:hover {
  color: var(--dark);
}

.top-nav-link.is-active {
  color: var(--dark);
  background: rgba(193, 255, 114, 0.35);
  border-color: rgba(193, 255, 114, 0.8);
}

.about-hero {
  position: relative;
  padding: 1.5rem 0 2.75rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.about-brand {
  margin: 0 0 0.85rem;
  font-size: clamp(1.65rem, 4.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--dark);
}

.about-hero h1 {
  margin: 0 0 1rem;
  max-width: 16ch;
  font-size: clamp(1.85rem, 5.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.about-lead {
  margin: 0 0 1.5rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
}

.about-cta {
  display: inline-flex;
  text-decoration: none;
  width: fit-content;
}

.about-hero-glow {
  position: absolute;
  right: -8%;
  top: 10%;
  width: min(48vw, 420px);
  height: min(48vw, 420px);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 40% 40%, rgba(193, 255, 114, 0.7) 0%, rgba(193, 255, 114, 0.15) 40%, transparent 68%),
    radial-gradient(circle at 65% 55%, rgba(56, 189, 248, 0.28) 0%, transparent 55%);
  filter: blur(40px);
  animation: about-glow 8s ease-in-out infinite alternate;
}

@keyframes about-glow {
  from {
    transform: translate(0, 0) scale(1);
    opacity: 0.85;
  }
  to {
    transform: translate(-4%, 6%) scale(1.08);
    opacity: 1;
  }
}

.about-block {
  padding: 2.25rem 0;
  border-top: 1px solid var(--border);
  animation: about-rise 0.7s ease both;
}

.about-block:nth-of-type(2) {
  animation-delay: 0.05s;
}
.about-block:nth-of-type(3) {
  animation-delay: 0.1s;
}
.about-block:nth-of-type(4) {
  animation-delay: 0.15s;
}
.about-block:nth-of-type(5) {
  animation-delay: 0.2s;
}
.about-block:nth-of-type(6) {
  animation-delay: 0.25s;
}

@keyframes about-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-hero-glow,
  .about-block {
    animation: none;
  }
}

.about-block h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  max-width: 28ch;
}

.about-copy {
  margin: 0 0 1.1rem;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
}

.about-path-tagline {
  font-weight: 750;
  color: var(--dark);
}

.partner-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.85rem 1rem;
  align-items: center;
}

.partner-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.5rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.partner-list img {
  display: block;
  max-width: 100%;
  max-height: 2.6rem;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 1;
}

.partner-list img.partner-logo-wide {
  max-height: 3.35rem;
  width: 92%;
  max-width: 11rem;
}

.partner-list img.partner-logo-crest {
  max-height: 2.4rem;
}

.about-note {
  margin: 1rem 0 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--muted);
}

.teach-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem 1.75rem;
  margin-top: 0.35rem;
}

.teach-grid article {
  padding: 0;
  border: none;
  background: transparent;
}

.teach-grid h3 {
  margin: 0 0 0.35rem;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.teach-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
}

.path-steps {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.path-steps li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.85rem;
  align-items: start;
}

.path-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--primary);
  color: var(--dark);
  font-weight: 800;
  font-size: 1rem;
}

.path-steps strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.15rem;
}

.path-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.about-start {
  margin-bottom: 1rem;
}

.about-start .about-cta {
  margin-top: 0.35rem;
}

@media (max-width: 720px) {
  .top-nav {
    margin-left: 0;
    margin-right: 0;
  }

  .teach-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .about-hero {
    padding-top: 0.75rem;
  }

  .about-hero-glow {
    opacity: 0.55;
    right: -20%;
  }
}
