.brand-lockup{display:flex;align-items:center;gap:24px;text-decoration:none;min-width:0}
.brand-tagline{display:flex;flex-direction:column;gap:4px;color:#e5e7df;font:400 14px/1.45 Arial,Helvetica,sans-serif;text-align:left;max-width:30ch}
.brand-lockup img,.brand-lockup .logo{position:static;inset:auto;display:block;height:auto;flex-shrink:0}
.brand-lockup .logo{width:clamp(143px,16.5vw,242px);max-width:none}
.signup-art .brand-tagline{display:flex;position:relative;inset:auto;z-index:1;font-size:14px;margin-left:20px;max-width:25ch}
dialog .signup-art{align-items:center;height:140px;gap:0}
@media(max-width:900px){.brand-lockup{flex-direction:column;align-items:flex-start;gap:10px}.brand-tagline{font-size:13px;max-width:24ch}.brand-lockup .logo{width:130px}}
@media(max-width:600px){
 .site-header{display:flex;flex-direction:column;align-items:stretch;gap:16px}
 .brand-lockup{display:flex;flex-direction:row;align-items:center;gap:16px;width:100%;max-width:100%;min-width:0}
 .brand-lockup img,.brand-lockup .logo{width:100px;max-width:100px;height:auto;flex:0 0 100px}
 .brand-tagline{min-width:0;max-width:100%;font-size:13px;line-height:1.45;gap:4px;overflow-wrap:normal}
 .site-header .brand-tagline{text-shadow:0 1px 4px #000}
 .site-header .header-links{width:100%;flex-direction:row;justify-content:space-between;align-items:center;gap:8px}
 .site-header .about-link{order:0;padding:0 12px}
 .site-header .social-links a{width:34px;height:40px}
 .masthead{flex-direction:column;align-items:stretch;gap:16px}
 .masthead nav{justify-content:flex-end}
 body>header:has(>.brand-lockup){flex-wrap:wrap;gap:16px}
 .signup-art .brand-tagline{font-size:13px;margin-left:14px;padding-right:22px;min-width:0}
 dialog .signup-art{height:140px;align-items:center}
}
@media(max-width:600px){
 .site-header .header-links{justify-content:flex-end}
 .site-header .about-link{position:fixed;right:max(var(--edge),env(safe-area-inset-right));bottom:max(100px,calc(env(safe-area-inset-bottom) + 76px));z-index:3;min-height:48px}
}
@media(max-width:360px){
 .media-controls{gap:6px}
 .media-controls .control{height:44px;min-width:40px;padding:0 10px;font-size:12px;gap:6px}
 .site-header .about-link{min-height:44px;padding-inline:10px;font-size:12px}
}
@media(max-width:600px){
 .site-header{gap:12px}
 .site-header .brand-lockup{max-width:360px;margin-inline:auto;justify-content:center}
 .site-header .brand-tagline{flex:0 1 210px}
 .site-header .header-links{justify-content:center}
}
/* Mobile uses the badge alone for a compact, balanced header. */
@media(max-width:600px){
 .brand-tagline,.signup-art .brand-tagline{display:none}
 .site-header{flex-direction:row;align-items:center;justify-content:space-between;gap:16px}
 .site-header .brand-lockup{width:auto;max-width:none;margin:0;flex:0 0 auto}
 .site-header .header-links{width:auto;justify-content:flex-end}
 .masthead{flex-direction:row;align-items:center}
 body>header:has(>.brand-lockup)>.brand-lockup{width:auto}
 .footer-brand+p{display:none}
}
@media(max-width:600px){
 #sound-label{display:none}
 .media-controls .sound-control{width:48px;min-width:48px;padding:0;gap:0}
}
@media(max-width:360px){.media-controls .sound-control{width:44px;min-width:44px}}
@media(max-width:600px){
 footer:has(.footer-brand){display:grid;grid-template-columns:88px minmax(0,1fr);align-items:center;gap:20px 16px}
 footer .footer-brand img{width:88px;height:auto}
 footer .footer-brand+p{display:block;min-width:0;margin:0;font-size:13px;line-height:1.5}
 footer:has(.footer-brand) nav{grid-column:1/-1;width:100%;margin:0}
}
