/* Candidate 028: additive home navigation, scoped to the header. */
.flymar-header-home{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;min-width:44px;flex:0 0 auto;white-space:nowrap;color:inherit;font-size:13px;font-weight:500;line-height:1.15;text-decoration:none;padding:0 4px;box-sizing:border-box;transition:opacity .15s ease}
.flymar-header-home svg{display:block;flex:none}
.flymar-header-home:hover .flymar-header-home-label,.flymar-header-home[aria-current=page] .flymar-header-home-label{text-decoration:underline;text-underline-offset:5px}
.flymar-header-home:focus-visible{outline:2px solid currentColor;outline-offset:2px;border-radius:4px}
.site-header nav .flymar-header-home{font-size:inherit;font-weight:inherit}
@media(max-width:600px){
 .flymar-header-home{width:44px;min-width:44px;padding:0;gap:0}
 .flymar-header-home-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .page-header .header-tools,.studio-header .studio-header__actions{gap:5px!important;flex-shrink:0}
 .page-header .page-languages,.studio-header .studio-language{display:flex!important;gap:0!important;width:auto!important;min-width:0!important;flex:0 0 auto}
 .page-header .page-languages a,.studio-header .studio-language a{min-width:24px!important;width:auto!important;padding-inline:0!important}
 .page-header .page-languages span,.studio-header .studio-language span{flex:0 0 auto}
 .page-header .flymar-wordmark,.studio-header .studio-home{width:clamp(66px,23vw,109px)!important;min-width:0!important;flex-shrink:1}
 .site-header nav{flex-wrap:nowrap;gap:8px}
}
@media(max-width:360px){
 .page-header .header-tools,.studio-header .studio-header__actions{gap:3px!important}
 .page-header .flymar-wordmark,.studio-header .studio-home{width:66px!important}
 .page-header .page-languages a,.studio-header .studio-language a{min-width:20px!important}
 .page-header #header-contact,.studio-header #header-contact{padding-inline:6px!important;min-width:0!important}
 .site-header{padding-inline:12px;gap:8px}
 .site-header .brand{width:84px;min-width:0}
}
/* Maintenance header previously used a fixed three-column grid. */
.maintenance-page .page-header .header-tools{display:flex;align-items:center;flex-wrap:nowrap;grid-template-columns:none;width:auto}
.maintenance-page .page-header .flymar-wordmark img{max-width:100%}
/* Review revision: compact the navigation group, not the logo. */
@media(min-width:601px){
 .page-header .header-tools,.studio-header .studio-header__actions{gap:16px!important}
 .page-header .page-languages,.studio-header .studio-language{display:flex!important;align-items:center;justify-content:center;gap:4px!important;inline-size:76px!important;min-inline-size:76px!important;max-inline-size:76px!important;flex:0 0 76px!important}
 .page-header .page-languages a,.studio-header .studio-language a{min-inline-size:30px!important;inline-size:30px!important;padding-inline:0!important}
 .site-header nav{gap:14px}
}
@media(max-width:600px){
 .page-header .header-tools,.studio-header .studio-header__actions{gap:4px!important;flex:0 0 auto!important;width:auto!important;min-width:0!important;max-width:none!important}
 .page-header .page-languages,.studio-header .studio-language{display:flex!important;align-items:center;justify-content:center;gap:0!important;inline-size:54px!important;min-inline-size:54px!important;max-inline-size:54px!important;flex:0 0 54px!important;margin:0!important;padding:0!important}
 .page-header .page-languages a,.studio-header .studio-language a{inline-size:24px!important;min-inline-size:24px!important;max-inline-size:24px!important;flex:0 0 24px!important;padding-inline:0!important}
 .page-header .flymar-wordmark,.studio-header .studio-home{inline-size:109px!important;min-inline-size:0!important;max-inline-size:109px!important;flex:0 1 109px!important}
 .page-header .flymar-wordmark img,.studio-header .studio-home img{width:100%!important;max-width:100%!important;object-fit:contain}
}
@media(max-width:360px){
 .page-header,.studio-header{padding-inline:0!important;width:calc(100% - 24px)!important;max-width:none!important}
 .page-header .header-tools,.studio-header .studio-header__actions{gap:3px!important}
 .page-header .page-languages,.studio-header .studio-language{inline-size:49px!important;min-inline-size:49px!important;max-inline-size:49px!important;flex-basis:49px!important}
 .page-header .page-languages a,.studio-header .studio-language a{inline-size:22px!important;min-inline-size:22px!important;max-inline-size:22px!important;flex-basis:22px!important}
}
@media(max-width:360px){
 .studio-header{width:calc(100% + 12px)!important;min-width:0!important;margin-inline:-6px!important;align-self:auto!important}
}
/* Revision 4: tightly grouped desktop controls, six-row full-screen menu. */
@media(min-width:601px){
 .page-header .header-tools,.studio-header .studio-header__actions{gap:8px!important}
 .page-header .page-languages,.studio-header .studio-language{inline-size:68px!important;min-inline-size:68px!important;max-inline-size:68px!important;flex-basis:68px!important;gap:1px!important}
 .site-header nav{gap:8px}
 .flymar-header-home{padding-inline:0;gap:5px}
}
#studio-menu-panel.popup-menu[data-menu-count="6"] .popup-navigation{display:grid;row-gap:0;margin-block:auto}
#studio-menu-panel.popup-menu[data-menu-count="6"] .popup-navigation .popup-link{padding-block:clamp(8px,1.2vh,14px);font-size:clamp(28px,3.8vw,64px);min-height:56px}
html[lang=th] #studio-menu-panel.popup-menu[data-menu-count="6"] .popup-navigation .popup-link{font-size:clamp(26px,3.5vw,58px);line-height:1.35}
@media(max-width:600px){
 #studio-menu-panel.popup-menu[data-menu-count="6"] .popup-navigation .popup-link{font-size:clamp(24px,6.8vw,32px);padding-block:12px;min-height:50px}
 html[lang=th] #studio-menu-panel.popup-menu[data-menu-count="6"] .popup-navigation .popup-link{font-size:clamp(22px,6.2vw,30px);line-height:1.4}
 #studio-menu-panel.popup-menu[data-menu-count="6"] .popup-footer{margin-top:20px}
}
@media(max-height:700px) and (min-width:601px){
 #studio-menu-panel.popup-menu[data-menu-count="6"] .popup-navigation .popup-link{font-size:clamp(26px,3.4vw,44px);padding-block:7px;min-height:44px}
 html[lang=th] #studio-menu-panel.popup-menu[data-menu-count="6"] .popup-navigation .popup-link{font-size:clamp(24px,3vw,40px)}
}

/* Revision 6: visually group Home with language without reducing its touch target. */
@media(max-width:600px){
 .page-header .flymar-header-home,.studio-header .flymar-header-home,.site-header .flymar-header-home{justify-content:flex-end;padding-inline-end:3px;}
}
