
/* Phase 5 — static page-brand headers
   These blocks provide identity and page actions only. They never navigate sections,
   stick to the viewport, condense, resize on scroll, or change palette. */

.static-brand-header{
  position:relative!important;
  top:auto!important;
  left:auto!important;
  right:auto!important;
  z-index:auto!important;
  width:100%;
  min-height:84px;
  padding:14px clamp(16px,4vw,64px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  transition:none!important;
  animation:none!important;
  backdrop-filter:none!important;
  box-shadow:none!important;
}

.static-brand-header--dark{
  background:#17120d!important;
  color:#fff!important;
  border-bottom:1px solid rgba(223,195,154,.28)!important;
}

.static-brand-header--light{
  background:#fbf8f2!important;
  color:#17120d!important;
  border-bottom:1px solid rgba(23,18,13,.16)!important;
}

.static-brand-header a{
  flex:none;
}

.static-brand-header__identity{
  min-width:0;
}

.static-brand-header__actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
}

/* Overview identity */
.masthead.static-brand-header{
  min-height:78px!important;
  grid-template-columns:minmax(0,1fr) auto!important;
}

.masthead.static-brand-header .brand{
  color:#fff!important;
}

.masthead.static-brand-header .brand-rule{
  background:#dfc39a!important;
}

/* Restaurant identity */
.site-header.static-brand-header{
  min-height:92px!important;
  padding-block:12px!important;
  background:#17120d!important;
}

.site-header.static-brand-header .wordmark{
  width:min(340px,72vw)!important;
  transition:none!important;
}

.site-header.static-brand-header .nav-logo{
  filter:invert(90%) sepia(18%) saturate(475%) hue-rotate(348deg) brightness(101%)!important;
}

/* Full menu identity/actions */
.menu-toolbar.static-brand-header{
  min-height:104px!important;
  background:#17120d!important;
}

.menu-toolbar.static-brand-header .menu-brand{
  width:min(300px,48vw)!important;
}

.menu-toolbar.static-brand-header nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
}

/* Case-study identity */
.case-nav.static-brand-header{
  min-height:92px!important;
  background:#fbf8f2!important;
}

.case-nav.static-brand-header .studio-mark{
  color:#17120d!important;
}

/* Proposal identity */
.topbar.static-brand-header{
  position:relative!important;
  z-index:2!important;
  min-height:76px!important;
  display:flex!important;
  grid-template-columns:none!important;
  background:#17120d!important;
}

/* Keep the complete visible button—including its padding—as the link target. */
.topbar.static-brand-header .small-button{
  display:inline-flex;
  min-height:46px;
  align-items:center;
  justify-content:center;
}

/* No static brand header may react to legacy state classes. */
.static-brand-header.is-condensed,
.static-brand-header.is-sticky,
.static-brand-header.scrolled{
  min-height:inherit!important;
  padding:14px clamp(16px,4vw,64px)!important;
  background:inherit!important;
  color:inherit!important;
  transform:none!important;
}

@media (max-width:700px){
  .static-brand-header{
    min-height:72px;
    padding:10px 14px;
    gap:12px;
  }

  .masthead.static-brand-header,
  .site-header.static-brand-header,
  .case-nav.static-brand-header,
  .topbar.static-brand-header{
    min-height:72px!important;
  }

  .site-header.static-brand-header .wordmark{
    width:min(245px,64vw)!important;
  }

  .menu-toolbar.static-brand-header{
    align-items:flex-start;
    flex-direction:column;
  }

  .menu-toolbar.static-brand-header .menu-brand{
    width:min(250px,72vw)!important;
  }

  .menu-toolbar.static-brand-header nav{
    width:100%;
    display:grid;
    grid-template-columns:1fr 1fr;
  }

  .case-nav.static-brand-header .studio-mark .studio-lockup{
    width:min(220px,58vw)!important;
  }

  .topbar.static-brand-header .small-button,
  .masthead.static-brand-header .masthead-actions{
    display:none!important;
  }

  .topbar.static-brand-header{
    display:none!important;
  }
}

/* Full-menu utility strip follows the permanent restaurant navigation. */
.menu-toolbar.static-brand-header:not(:has(.menu-brand)){
  min-height:auto!important;
  padding:10px clamp(14px,4vw,56px)!important;
  justify-content:flex-end!important;
  background:#21170f!important;
}
.menu-toolbar.static-brand-header:not(:has(.menu-brand)) nav{
  width:auto;
}
@media(max-width:700px){
  .menu-toolbar.static-brand-header:not(:has(.menu-brand)){
    align-items:stretch;
    padding:10px 12px!important;
  }
  .menu-toolbar.static-brand-header:not(:has(.menu-brand)) nav{
    width:100%;
  }
}
