.nav-about { position: relative; flex: 0 0 auto; }

.nav-about-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  color: inherit;
  background: transparent;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
  cursor: pointer;
}

.nav-about-toggle:is(:hover, :focus-visible),
.nav-about-toggle[aria-expanded="true"] { border-bottom-color: currentColor; }

.cv-icon {
  display: block;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  filter: invert(1);
}

.cv-chevron {
  width: 12px;
  height: 12px;
  flex-basis: 12px;
  transition: transform 160ms ease;
}

.nav-about-toggle[aria-expanded="true"] .cv-chevron { transform: rotate(180deg); }

.nav-about-menu {
  position: absolute;
  z-index: 60;
  top: calc(100% + 9px);
  right: 0;
  width: 230px;
  max-width: calc(100vw - 40px);
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  background: #080808;
  animation: cv-menu-in 160ms ease-out both;
}

.nav-about-menu[hidden] { display: none; }

.primary-nav .nav-about-menu > a,
.primary-nav .nav-about-menu > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 10px 0;
  border: 0;
  border-radius: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  white-space: normal;
}

.primary-nav .nav-about-menu > :not(:first-child) { border-top: 1px solid rgba(255, 255, 255, 0.15); }
.primary-nav .nav-about-menu > a:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: 4px; }
.cv-pending { color: #888; }
.cv-pending small { font-size: 10px; line-height: 1.5; }

.about-cv-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  max-width: 520px;
  margin-top: 32px;
}

.about-cv-list > a,
.about-cv-list > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  min-height: 50px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.about-cv-list a:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: 4px; }

@keyframes cv-menu-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 700px) {
  .home-page .nav-about-menu {
    position: fixed;
    top: calc(var(--header-height) + 8px);
    right: var(--home-gutter);
  }
  .case-page .nav-about-toggle { width: 100%; justify-content: space-between; padding: 13px 0; font-size: 14px; }
  .case-page .nav-about-menu {
    position: static;
    width: 100%;
    max-width: none;
    margin: 0 0 8px;
    padding: 0 0 0 16px;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
  }
  .about-cv-list { grid-template-columns: 1fr; max-width: none; margin-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .cv-chevron { transition: none; }
  .nav-about-menu { animation: none; }
}
