/* V13.6.4: stable header slot, brand emphasis and spacing */
.xj-global-header{height:100px!important;min-height:100px!important;background:transparent!important;border-bottom:0!important;backdrop-filter:none!important;pointer-events:none!important;transition:none!important;overflow:visible}
.xj-global-header .xj-nav{height:99px!important;min-height:0!important;background:#fffcf8f5;border-bottom:1px solid #e6e0d6;backdrop-filter:blur(12px);pointer-events:auto;transition:height .18s ease!important}
.xj-global-header.xj-compact{height:100px!important;min-height:100px!important}
.xj-global-header.xj-compact .xj-nav{height:66px!important;min-height:0!important}
.xj-global-header .xj-logo{font-weight:950!important;letter-spacing:.075em!important;text-shadow:.3px 0 currentColor,-.3px 0 currentColor}
@media(min-width:1451px){.xj-global-header .xj-nav{padding-left:clamp(28px,3vw,55px)!important}.xj-global-header .xj-logo{font-size:clamp(36px,2.85vw,53px)!important}}
@media(min-width:1121px) and (max-width:1450px){.xj-global-header .xj-logo{font-size:clamp(26px,2.25vw,34px)!important}.xj-global-header .xj-links{gap:3px!important}}
@media(min-width:1121px){.xj-global-header.xj-compact .xj-logo{font-size:clamp(21px,1.75vw,29px)!important}.xj-global-header .xj-logo small{letter-spacing:.26em}}
@media(max-width:1120px){.xj-global-header{height:80px!important;min-height:80px!important}.xj-global-header .xj-nav{height:79px!important}.xj-global-header.xj-compact{height:80px!important;min-height:80px!important}.xj-global-header.xj-compact .xj-nav{height:59px!important}.xj-global-header .xj-logo{font-size:clamp(18px,3vw,29px)!important}.xj-global-header.xj-compact .xj-logo{font-size:clamp(16px,2.6vw,23px)!important}}
@media(max-width:650px){.xj-global-header{height:70px!important;min-height:70px!important}.xj-global-header .xj-nav{height:69px!important}.xj-global-header.xj-compact{height:70px!important;min-height:70px!important}.xj-global-header.xj-compact .xj-nav{height:54px!important}.xj-global-header .xj-logo{font-size:clamp(14px,3.5vw,21px)!important}.xj-global-header.xj-compact .xj-logo{font-size:clamp(13px,3vw,18px)!important}}
/* reduce unused space without changing featured photographs */
body:has(#works) .hero{padding-bottom:clamp(26px,3vw,48px)!important}
body:has(#works) #works{padding-top:clamp(30px,3vw,48px)!important}
body:has(#works) #works .section-head{margin-bottom:25px!important}
/* consistent shared premium footer */
.xj-footer64{background:#292725;color:#e7e0d5;padding:48px 0 22px;font:14px/1.85 'Noto Sans TC','Microsoft JhengHei',sans-serif}
.xj-footer64 .xj-foot-inner{max-width:1360px;margin:auto;padding:0 34px;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) minmax(0,.8fr);gap:clamp(24px,4vw,65px)}
.xj-footer64 h2{font:900 clamp(24px,2.1vw,35px)/1.4 DFKai-SB,KaiTi,'Noto Serif TC',serif;color:#e9d8ba;margin:0 0 3px;letter-spacing:.09em}
.xj-footer64 h3{font-size:17px;color:#c7ab7f;margin:0 0 12px;letter-spacing:.1em}
.xj-footer64 .foot-en{color:#bba47f;font-size:10px;letter-spacing:.25em;margin-bottom:18px}
.xj-footer64 p{margin:7px 0}.xj-footer64 a{color:#e7e0d5;text-decoration:none}.xj-footer64 a:hover{text-decoration:underline;color:#e9d8ba}
.xj-footer64 .foot-links{display:grid;grid-template-columns:1fr 1fr;gap:7px 12px}.xj-footer64 .foot-social{display:flex;gap:13px;margin-top:16px;flex-wrap:wrap}
.xj-footer64 .foot-social a{border:1px solid #7e6c55;padding:5px 13px;border-radius:5px}.xj-footer64 .foot-bottom{max-width:1360px;margin:30px auto 0;padding:17px 34px 0;border-top:1px solid #514a40;color:#bdb3a4;font-size:12px}
@media(max-width:850px){.xj-footer64 .xj-foot-inner{grid-template-columns:1fr 1fr;padding:0 22px}.xj-footer64 .xj-foot-brand{grid-column:1/-1}.xj-footer64 .foot-bottom{padding-left:22px;padding-right:22px}}
@media(max-width:520px){.xj-footer64 .xj-foot-inner{grid-template-columns:1fr}.xj-footer64 .xj-foot-brand{grid-column:auto}}
