/* Garrett's PolicyDoctor marks. SVGs are the masters.
   Wide header and footer: full horizontal lockup (icon, wordmark, slogan).
   Narrow header (and a narrow footer): icon + wordmark, so the slogan is not drawn too small to read.
   Dark footers use the reversed files (white and navy swapped, gold unchanged). */
.brand{
  display:inline-flex;
  align-items:center;
  gap:8px;
  flex:none;
  max-width:100%;
  line-height:1;
  text-decoration:none;
  color:inherit;
}
.brand-full,
.brand-compact img,
.brand-icon{
  display:block;
  max-width:none;
  flex:none;
}
.brand-compact{display:none;align-items:center;gap:8px}
header .brand-full{
  height:48px;
  width:auto;
  aspect-ratio:2218.68 / 285.58;
}
footer .brand-full{
  height:64px;
  width:auto;
  aspect-ratio:2218.68 / 285.58;
}
.brand-icon{width:36px;height:36px}
.brand-word{
  width:auto;
  height:18px;
  aspect-ratio:1850 / 180;
}
@media (max-width:1180px){
  header .brand-full{display:none}
  header .brand-compact{display:inline-flex}
}
/* Nav links are still on screen here. Keep the wordmark narrower so those links stay on one line. */
@media (max-width:1000px){
  header .brand-compact{gap:6px}
  header .brand-icon{width:30px;height:30px}
  header .brand-word{height:14px}
}
@media (max-width:720px){
  footer .brand-full{display:none}
  footer .brand-compact{display:inline-flex}
}
@media (max-width:540px){
  header .brand{flex:0 1 auto;min-width:0}
  header .brand-compact{gap:6px;min-width:0;max-width:100%}
  header .brand-icon{width:28px;height:28px}
  header .brand-word{
    height:14px;
    max-width:calc(100% - 34px);
    min-width:0;
    object-fit:contain;
    object-position:left center;
  }
}
@media (max-width:360px){
  header .brand-icon{width:24px;height:24px}
  header .brand-word{height:12px;max-width:calc(100% - 30px)}
}
@media (max-width:340px){
  header .brand-word{max-width:100px}
}
