header .brand{gap:15px;min-width:0}
header .brand-logo{display:block;width:108px;height:56px;object-fit:contain;flex:none;filter:drop-shadow(0 2px 2px #0003)}
header .brand .brand-text strong{font-family:'Space Grotesk',Arial,sans-serif;font-weight:700;font-size:28px;line-height:1.05;letter-spacing:-1.1px}
@media(max-width:1000px){header .brand{gap:11px}header .brand-logo{width:88px;height:50px}header .brand .brand-text strong{font-size:24px}}
@media(max-width:760px){header .brand-logo{width:76px;height:44px}header .brand .brand-text strong{font-size:22px;letter-spacing:-.7px}}
@media(max-width:360px){header .brand{gap:8px}header .brand-logo{width:64px;height:39px}header .brand .brand-text strong{font-size:19px}}

/* Give the portfolio identity more room without scaling the page content. */
@media (min-width: 761px) {
  body:not(:has(#page.collection-fullscreen:not([hidden]))) { grid-template-rows: 108px minmax(0, 1fr) 36px; }
  body > header .brand-logo { width: 140px; height: 78px; }
  body > header .brand .brand-text strong { font-size: 36px; }
  body > header .brand .brand-text > span { font-size: 11px; }
  body > header nav button { font-size: 15px; }
}
@media (min-width: 761px) and (max-width: 1000px) {
  body > header .brand-logo { width: 110px; height: 68px; }
  body > header .brand .brand-text strong { font-size: 29px; }
}
@media (max-width: 760px) {
  body:not(:has(#page.collection-fullscreen:not([hidden]))) { grid-template-rows: 132px minmax(0, 1fr) 28px; }
  body > header { grid-template-rows: 66px 48px; }
  body > header .brand-logo { width: 90px; height: 56px; }
  body > header .brand .brand-text strong { font-size: 25px; }
}
@media (max-width: 360px) {
  body > header .brand-logo { width: 76px; height: 50px; }
  body > header .brand .brand-text strong { font-size: 21px; }
}
