#brand{
    display:flex;
    flex-direction:row;
    justify-content: center;
    align-items: center;
    width:100%;
    min-width:420px;
    margin-top:2rem;
    margin-bottom:2rem;
    color:var(--text-color);
    user-select:none;
    cursor:pointer;
    transition:color .2s ease-in;
     font-family: "Libre Baskerville", serif;
  font-weight: 600;
  font-style: normal;
  color:var(--text-color);
text-transform: capitalize;
user-select: none;
overflow: hidden;
}
#brand .logo{
    max-width:8rem;
}
#brand svg {
  width: 8rem;
  height: auto;
}
#brand .texts{
 display:flex;
    flex-direction:column;
    justify-content: space-around;
    align-items: center;
}
#brand .title{
     font-family: "Libre Baskerville", serif;
  font-weight: 700;
  font-size:2rem;
  font-style: normal;
  margin:0;line-height:2rem;padding:0;
  height:2rem;
  margin-top:0.25rem;
  color:currentColor;
}
#brand .subtitle{
      font-family: "Mrs Saint Delafield", cursive;
  font-weight: 400;
  font-style: normal;
  font-size:2rem;
  height:2rem;
  letter-spacing:0.1rem;
  color:currentColor;
}
#brand .by-line{
    position: relative;
    display:block;
    font-family: "Fira Code", monospace;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
    height:1rem;
  font-size:0.5rem;
}
#brand .by-line:before{
    content:'';
    position:absolute;
    top:calc(0.5rem - 2px);
    left:-7.25rem;
    width:7rem;
    height:1px;
    background:rgba(0,0,0,0.2);
}
#brand .by-line:after{
    content:'';
    position:absolute;
    top:calc(0.5rem - 2px);
    right:-7.25rem;
    width:7rem;
    height:1px;
    background:rgba(0,0,0,0.2);
}
.brand-wrap {
  width: max-content;
  margin-left: auto;
  margin-right: auto;
}


#brand:hover{
    text-decoration:none;
    color:var(--primary-color);
}


/* mobile scaling */
@media (max-width: 600px) {
    #brand {
        min-width: unset;
        width: 100%;
        max-width: 300px;   /* ← adjust this value */
        /* margin-left: auto; */
        /* margin-right: auto; */
    }
    #brand .logo{
        max-width:5rem;
    }
    #brand svg{
        width: 5rem;    /* slightly smaller */
    }
    #brand .texts{
        margin-left: 0;
        margin-right: 1rem;
    }
    #brand .title {
        font-size: 1.3rem;
    }

    #brand .subtitle {
        font-size: 1.3rem;
    }
    #brand .by-line:before{
        left:-4.25rem;
        width:4rem;
    }
    #brand .by-line:after{
        right:-4.25rem;
        width:4rem;
    }
   
}