/* Shineboss behaviour, Five Islands identity: centred brand, menu left, call right. */
.header .compact-menu-toggle{display:none}
.header.is-compact{width:min(660px,calc(100% - 32px));max-width:none;height:62px;min-height:0;grid-template-columns:1fr auto 1fr;grid-template-rows:1fr;padding:0 22px;gap:12px;border-radius:0!important;transition:width .65s ease,height .65s ease,border-radius .65s ease}
.header.is-compact .minimal-nav{display:none}
.header.is-compact .header-emblem{grid-column:2;grid-row:1;justify-self:center;width:64px;height:44px}
.header.is-compact .header-emblem svg{width:64px;height:38px;inset:3px 0}
.header.is-compact .header-phone{grid-column:3;grid-row:1;justify-self:end;height:44px;border:0;padding:0;font-size:14px}
.header.is-compact .compact-menu-toggle{display:flex;grid-column:1;grid-row:1;align-items:center;justify-content:flex-start;gap:10px;height:44px;width:84px;padding:0;border:0;background:none!important;box-shadow:none!important;color:inherit;font:500 12px/1 var(--body);cursor:pointer}
.compact-menu-icon{display:grid;gap:6px;width:22px;flex:0 0 22px}
.compact-menu-icon i{display:block;width:22px;height:1px;background:currentColor}
.header .compact-menu-toggle:focus-visible{outline:2px solid currentColor;outline-offset:3px}
#compact-navigation{position:fixed;inset:0;margin:0;width:100%;height:100dvh;max-width:none;max-height:none;box-sizing:border-box;border:0;padding:100px max(8vw,24px) 40px;background:#0b314a;color:#fff;overflow:auto}
#compact-navigation::backdrop{background:#0b314a}
#compact-navigation nav{display:flex;flex-direction:column;max-width:900px;margin:auto}
#compact-navigation nav a{font:500 clamp(28px,5vw,60px)/1.3 var(--display);padding:14px 0;border-bottom:1px solid #ffffff30;color:inherit;text-decoration:none}
#compact-navigation .compact-menu-close{position:absolute;top:18px;left:max(8vw,24px);min-height:44px;padding:8px 12px;background:none;border:1px solid #ffffff70;color:inherit;font:500 14px var(--body);cursor:pointer}
body.compact-menu-open{overflow:hidden}
@media(max-width:900px){.header,.header.is-glass,.header.is-compact{top:10px;width:min(390px,calc(100% - 24px));max-width:none;height:58px;min-height:0;padding:0 14px;grid-template-columns:44px 1fr 44px;grid-template-rows:1fr;gap:12px;border-radius:0!important}.header.is-compact .header-phone{width:44px;justify-content:center}.header.is-compact .header-phone span,.header .compact-menu-label{display:none}.header.is-compact .compact-menu-toggle{width:44px;justify-content:center}.header-phone img{width:25px;height:25px}.hero{padding-top:90px}}
@media(prefers-reduced-motion:reduce){.header.is-compact{transition:none}}

/* Keep keyboard focus clear of short landscape viewport edges. */
#compact-navigation{scroll-padding-block:24px}
#compact-navigation nav a{scroll-margin-block:8px}

/* One primary nav is shared between the desktop row and the existing modal. */
.header #compact-navigation .minimal-nav{display:flex;position:static;grid-column:auto;grid-row:auto;flex-direction:column;align-items:stretch;justify-content:normal;gap:0;width:auto;height:auto;max-width:900px;margin:auto}
.header #compact-navigation .minimal-nav a{display:block;flex:0 0 auto;position:static;width:auto;height:auto;min-height:0;padding:14px 0;border:0;border-bottom:1px solid #ffffff30;border-radius:0;background:none;box-shadow:none;font:500 clamp(28px,5vw,60px)/1.3 var(--display);color:inherit;text-decoration:none;letter-spacing:normal;text-transform:none}

.header #compact-navigation{text-shadow:none}
