/* Shared Sayed Lab identity. The original logo is displayed without cropping. */
.header .brand.site-brand {
  display:grid;grid-template-columns:68px auto;column-gap:14px;row-gap:5px;
  align-items:center;flex-shrink:0;line-height:1;
}
.header .site-brand .site-logo {
  grid-column:1;grid-row:1 / span 2;width:68px;height:auto;max-height:90px;
  object-fit:contain;border-radius:5px;display:block;margin:0;
}
.header .site-brand > strong {grid-column:2;grid-row:1;align-self:end;font-size:2.15rem;}
.header .site-brand > span {grid-column:2;grid-row:2;align-self:start;margin:0;font-size:.82rem;line-height:1.3;}
.footer .site-footer-logo {width:74px;height:auto;object-fit:contain;border-radius:6px;margin:0 0 1rem;}
.header .nav {gap:1.1rem;padding:10px 0;}
.header .navlinks {gap:1.2rem;}
.header .navlinks a[aria-current="page"] {color:var(--cardinal);text-decoration:underline;text-underline-offset:8px;}
.header .menu-btn {cursor:pointer;min-width:44px;min-height:44px;}
.header .brand:focus-visible,.header a:focus-visible,.menu-btn:focus-visible {outline:2px solid var(--cardinal);outline-offset:5px;}
@media(max-width:1240px) {
  .header .navlinks {display:none;position:absolute;top:100%;right:4vw;flex-direction:column;align-items:flex-start;gap:.8rem;background:var(--paper);padding:1.1rem;border:1px solid var(--line);border-radius:0 0 8px 8px;box-shadow:var(--shadow);min-width:200px;}
  .header .navlinks.is-open {display:flex;}
  .header .menu-btn {display:block;}
}
@media(min-width:1241px) {.header .navlinks {display:flex;}.header .menu-btn {display:none;}}
@media(max-width:520px) {
  .header .brand.site-brand {grid-template-columns:50px auto;column-gap:10px;}
  .header .site-brand .site-logo {width:50px;max-height:68px;}
  .header .site-brand > strong {font-size:1.65rem;}
  .header .site-brand > span {font-size:.68rem;max-width:240px;}
  .header .nav {gap:.5rem;}
}

/* Stable wordmark typography across all pages, including before JS loads. */
.header .site-brand > strong {
  font-family:Georgia, "Times New Roman", serif;
  font-weight:700;
  line-height:1;
  letter-spacing:.03em;
}
.header .site-brand > span {
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-weight:400;
}
