:root {
  --ink: #142a43;
  --navy: #142d49;
  --deep: #102439;
  --muted: #52667a;
  --paper: #fff;
  --wash: #f1f5f8;
  --line: #d8e0e8;
  --accent: #ad3c24;
}
.site-header { position: sticky; inset-block-start: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .site-bar { width: min(1320px, calc(100% - 64px)); min-height: 81px; height: auto; margin-inline: auto; display: grid; grid-template-columns: minmax(92px,1fr) auto minmax(170px,1fr); gap: 18px; align-items: center; }
.site-logo { position: relative; display: block; width: 91px; height: 61px; overflow: hidden; justify-self: start; }
.site-logo img { position: absolute; height: auto; max-width: none; width: 150px; left: -29px; top: -9px; }
.site-links, .site-actions { display: flex; align-items: center; }
.site-actions { justify-self: end; gap: 12px; }
.site-links { gap: clamp(12px,2.1vw,29px); font: 700 14px "DM Sans",sans-serif; }
.site-links > a, .category-trigger { padding: 13px 0; white-space: nowrap; }
.site-links a:hover, .category-trigger:hover, .site-links [aria-current="page"] { color: var(--accent); }
.category-menu { position: relative; }
.category-trigger, .site-toggle { padding: 0; border: 0; background: none; color: inherit; cursor: pointer; font: inherit; }
.category-trigger { display: flex; align-items: center; gap: 7px; min-height: 44px; }
.category-trigger::-webkit-details-marker { display: none; }
.category-trigger::after { content: ""; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; rotate: 45deg; translate: 0 -2px; }
.category-menu[open] .category-trigger::after { rotate: 225deg; translate: 0 1px; }
.site-dropdown { position: absolute; inset-block-start: 100%; inset-inline-start: -16px; width: max-content; min-width: 220px; padding: 7px; background: white; border: 1px solid var(--line); box-shadow: 0 12px 30px #142a4320; }
.site-project-mobile { display: none; }
.site-dropdown a { display: block; padding: 10px 13px; }
.site-dropdown a:hover, .site-dropdown a[aria-current] { background: var(--wash); }
.site-toggle { min-width: 44px; min-height: 44px; font-weight: 700; }
.site-project, .site-project-mobile { background: var(--accent); color: white; font: 800 12px "Manrope",sans-serif; letter-spacing: .05em; padding: 13px 15px; white-space: nowrap; }
.site-project:hover { background: #88301e; }
.site-toggle { display: none; font-size: 22px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
html { scroll-padding-top: 94px; }
@media (max-width: 900px) {
  .site-header .site-bar { min-height: 67px; width: calc(100% - 36px); grid-template-columns: 1fr auto; gap: 8px; }
  .site-logo { scale: .83; transform-origin: left center; }
  .site-toggle { display: inline-block; }
  .site-project { display: none; }
  .site-links { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: min(74dvh, 580px); overflow: auto; background: white; padding: 10px 18px 18px; border-bottom: 1px solid var(--line); box-shadow: 0 15px 24px #142a431c; }
  .site-links.is-open { display: grid; gap: 0; }
  .site-links > a, .category-trigger { min-height: 44px; }
  .site-dropdown { position: static; width: auto; padding: 5px 6px; margin: 0 0 6px; background: var(--wash); box-shadow: none; }
  .site-dropdown a { min-height: 44px; }
  .site-links .site-project-mobile { display: block; color: white; justify-self: start; padding-inline: 16px; margin-top: 8px; }
}


.footer-logo-filter { position: absolute; pointer-events: none; }
.footgrid .footer-logo {
  width: min(132px, 100%);
  height: 87px;
  scale: none;
}
.footgrid .footer-logo img {
  width: 220px;
  left: -42px;
  top: -13px;
  filter: url("#footer-logo-ink");
}
