/* Shared Philly AI Guy identity: both words always share one color. */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: .22em;
  max-width: 100%;
  color: #004C54;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.025em;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: middle;
}
.brand-lockup .brand-word {
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}
.brand-lockup .brand-bell {
  display: block;
  width: auto;
  height: 2.15em;
  max-width: none;
  flex: 0 0 auto;
  object-fit: contain;
}
.brand-lockup--light,
.brand-lockup--light:hover,
.brand-lockup--light:visited {
  color: #FFFFFF;
}
.brand-lockup--green,
.brand-lockup--green:hover,
.brand-lockup--green:visited {
  color: #004C54;
  background: #FFFFFF;
}
header .brand-lockup {
  flex: 0 0 auto;
  padding: 0;
}
header .container {
  column-gap: 1.75rem;
  row-gap: .8rem;
}
header .brand-lockup:focus-visible,
footer .brand-lockup:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 6px;
}
.hero .brand-heading {
  margin-bottom: 1.3rem;
}
.hero .brand-lockup--hero {
  color: #FFFFFF;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
}
.hero .brand-lockup--hero .brand-word {
  color: inherit;
}
.hero .brand-heading-name {
  display: block;
  margin-bottom: .7rem;
  color: #FFFFFF;
  font-size: .8em;
}
footer .brand-lockup {
  margin-bottom: .85rem;
  font-size: 1.55rem;
}
.brand-footer-details {
  display: block;
  margin-bottom: .25rem;
}
.page-home footer .brand-lockup {
  display: none;
}
.brand-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.menu-toggle,
.menu-toggle[hidden],
header .site-navigation[hidden] {
  display: none;
}
@media (min-width: 768px) {
  .page-home header .brand-lockup {
    font-size: clamp(2.25rem, 4.375vw, 3.5rem);
  }
}
@media (max-width: 767.98px) {
  header .container {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    gap: .5rem;
    padding-inline: 1rem;
  }
  header .brand-lockup {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
  }
  header .menu-toggle:not([hidden]) {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 4px;
    background: transparent;
    color: #FFFFFF;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }
  .menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
  }
  header .menu-toggle:hover,
  header .menu-toggle[aria-expanded="true"] {
    background: #00383D;
  }
  header .menu-toggle:focus-visible {
    outline: 2px solid #FFFFFF;
    outline-offset: 3px;
  }
  header[data-menu-ready] .site-navigation {
    position: absolute;
    top: 100%;
    left: auto;
    right: 1rem;
    width: min(16rem, calc(100vw - 2rem));
    padding: .5rem;
    background: #004C54;
    border: 1px solid #A5ACAF;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 12px 18px #00000026;
    max-height: calc(100dvh - 96px);
    overflow-y: auto;
  }
  header nav ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
  }
  header .site-navigation a {
    display: block;
    padding: .7rem .75rem;
    min-height: 44px;
    color: #FFFFFF;
    border-radius: 3px;
  }
  header .site-navigation a:hover,
  header .site-navigation a:focus-visible {
    color: #FFFFFF;
    background: #00383D;
  }
  header .site-navigation a:focus-visible {
    outline: 2px solid #FFFFFF;
    outline-offset: -2px;
  }
  header:not([data-menu-ready]) .container {
    grid-template-rows: auto auto;
  }
  header:not([data-menu-ready]) .site-navigation {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  header .brand-lockup {
    font-size: clamp(1.625rem, 7.2vw, 1.875rem);
  }
  header .brand-bell {
    height: 2em;
  }
}

/* Shared ownership and permission notice, including contact and error pages. */
footer .copyright-notice{display:block;margin-top:1.5rem;padding-top:1.25rem;border-top:1px solid #78999b;color:#fff;font-size:.85rem;line-height:1.7}
footer .copyright-notice p{margin:.35rem 0;max-width:100ch}
footer .copyright-notice a{color:#fff;text-decoration:underline;text-underline-offset:.2em}
