/* Use Poppy's complete supplied logo in every navigation state. */
.site-header .brand,.navigation-dialog-brand{
 display:flex;
 align-items:center;
 justify-content:flex-start;
 color:var(--brand-shell,#faf7f0);
 text-decoration:none;
 overflow:visible;
}
.site-header .brand .brand-complete-logo,
.navigation-dialog-brand .brand-complete-logo{
 display:block;
 width:100%;
 max-width:100%;
 height:auto;
 object-fit:contain;
 color:var(--brand-shell);
 transform:none;
}

@media(min-width:960px){
 .site-header .brand{width:min(190px,100%);height:auto;margin:0 auto 36px}
}

@media(max-width:959px){
 .site-header .header-inner{
  grid-template-columns:42px 180px minmax(104px,1fr);
  gap:12px;
  height:92px;
  min-height:92px;
  padding:12px;
  box-sizing:border-box;
 }
 .site-header .brand{
  width:180px;
  height:72px;
  max-width:100%;
  flex-basis:180px;
 }
 .navigation-dialog-header{
  grid-template-columns:42px 180px;
  gap:12px;
  height:92px;
  padding:12px;
  box-sizing:border-box;
 }
 .navigation-dialog-brand{width:180px;height:72px}
}

@media(max-width:350px){
 .site-header .header-inner{grid-template-columns:42px 140px minmax(0,1fr);gap:6px}
 .site-header .brand{width:140px;height:56px;flex-basis:140px}
 .navigation-dialog-header{grid-template-columns:42px 140px;gap:6px;padding:12px 6px 12px 12px}
 .navigation-dialog-brand{width:140px;height:56px}
 .site-header .mobile-trial-link{min-width:0;width:100%;padding-inline:4px;font-size:10.5px}
}

.footer-brand-section .footer-tta-link{
 display:inline-flex;
 align-items:center;
 width:min(220px,100%);
 margin-top:20px;
 padding:0;
 background:transparent;
 transition:transform .18s ease;
}
.footer-brand-section .footer-tta-link img{
 display:block;
 width:100%;
 max-width:100%;
 height:auto;
 object-position:-9999px -9999px;
 color:var(--brand-shell,#faf7f0);
 background-color:currentColor;
 mask:url('/assets/design/tutors-association.png') center / contain no-repeat;
}
.footer-brand-section .footer-tta-link:hover{
 transform:translateY(-2px);
}
.footer-brand-section .footer-tta-link:focus-visible{
 outline:3px solid var(--brand-shell,#faf7f0);
 outline-offset:4px;
}
@media(prefers-reduced-motion:reduce){
 .footer-brand-section .footer-tta-link{transition:none}
}

/* Preserve the original artwork's alpha and dimensions at every breakpoint. */
img.brand-complete-logo{
 --logo-art:url('/assets/design/poppy-large-logo.png');
 object-position:-9999px -9999px;
 background-color:currentColor;
 mask:var(--logo-art) center / contain no-repeat;
}
.footer-brand img{color:var(--brand-shell)}
