/* Ageless People: shared header and footer, 2026-10-24. */
.masthead { padding: 18px 0; min-height: 80px; align-items: center; }
.masthead .wordmark {
  display: inline-block;
  max-width: 100%;
  font-size: clamp(32px, 3.2vw, 44px);
  letter-spacing: -.06em;
  line-height: 1.1;
  white-space: nowrap;
}
.masthead .custom-logo-link { display: inline-flex; max-width: 100%; }
.masthead .custom-logo-link img {
  display: block;
  max-width: 300px;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.footer .agp-brand-dot { color: var(--blue, #2345eb); }
.agp-hamburger { display: block; position: relative; width: 22px; height: 16px; }
.agp-hamburger > span {
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform .18s ease, opacity .18s ease;
}
.agp-hamburger > span:nth-child(1) { top: 0; }
.agp-hamburger > span:nth-child(2) { top: 7px; }
.agp-hamburger > span:nth-child(3) { top: 14px; }
#menu-toggle[aria-expanded="true"] .agp-hamburger > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#menu-toggle[aria-expanded="true"] .agp-hamburger > span:nth-child(2) { opacity: 0; }
#menu-toggle[aria-expanded="true"] .agp-hamburger > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 700px) {
  .masthead { padding: 16px 0; min-height: 65px; }
  .masthead .wordmark { font-size: 30px; letter-spacing: -.06em; }
  .masthead .custom-logo-link img { max-width: 220px; max-height: 34px; }
  #menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 10px; flex: 0 0 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .agp-hamburger > span { transition: none; }
}
