/* The People² - shared header, menu and footer styles, used on every page.
   Load this after the page's own styles so these win. */

/* ---------- Header: logo with the menu underneath ---------- */
.site-header { flex-direction: column; align-items: center; padding-bottom: 28px; }
@media (max-width: 767px) { .site-header { padding-bottom: 16px; } }

/* The home page logo: navy text and box, with a blue box behind */
.logo { display: inline-block; font-family: 'EB Garamond', Garamond, Georgia, serif; font-size: 32px; line-height: 1;
  letter-spacing: 1px; color: #2a2f8f; text-decoration: none; border: 1px solid #2a2f8f; padding: 8px 16px;
  box-shadow: 7px 7px 0 -1px #fff, 7px 7px 0 0 #74A3C7; margin: 0 7px 7px 0; }
@media (max-width: 767px) { .logo { font-size: 28px; } }

/* ---------- Menu ---------- */
.site-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 28px; margin-top: 18px; }
.site-nav a { font-family: Roboto, Arial, sans-serif; font-size: 14px; font-weight: 400; letter-spacing: 2px;
  text-transform: uppercase; color: #6b7882; text-decoration: none;
  padding: 10px 2px; border-bottom: 1px solid transparent; }   /* 10px padding gives a comfortable tap area */
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: #3f6f94; border-bottom-color: #74A3C7; }
.site-nav a:focus-visible { outline: 2px solid #3f6f94; outline-offset: 3px; }

/* Menu links to the home page sections stop just above the heading */
#services, #about { scroll-margin-top: 24px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Footer links: bigger tap area without moving anything ---------- */
footer a, .site-footer a { display: inline-block; padding: 12px 6px; margin-block: -12px; }

/* ---------- Phones: the name is already in the logo, so don't repeat it above the tagline ---------- */
@media (max-width: 767px) { .hero-text .label { display: none; } }
