.site-header{background:#fff;border-bottom:1px solid #dfe9ec;position:sticky;top:0;z-index:80;box-shadow:0 5px 25px rgba(7,26,43,.025)}.header-inner{min-height:85px;display:flex;align-items:center;justify-content:space-between;gap:20px}.header-nav{display:flex;align-items:center;gap:20px}.header-nav a{color:#3c5365;font-weight:650;font-size:.81rem;white-space:nowrap}.header-nav a:hover,.header-nav a[aria-current=page]{color:#0b7f7a;text-decoration:none}.header-nav a[aria-current=page]{box-shadow:0 2px #0b7f7a;padding-bottom:7px}.header-actions{display:flex;gap:8px;align-items:center}.header-actions .btn{padding:9px 12px;min-height:38px;font-size:.74rem}.menu-toggle{display:none;background:white;border:1px solid #bdcdd3;border-radius:9px;padding:8px 11px;font-size:1.2rem;color:#071a2b;min-width:43px;min-height:43px}.admin-header .header-inner{min-height:68px}.admin-header .header-nav{gap:18px}.admin-header .header-nav a{font-size:.81rem}
@media(max-width:1160px){.header-nav{gap:12px}.header-nav a{font-size:.74rem}.header-actions .btn{font-size:.68rem;padding:8px 9px}.brand-mark span{font-size:.51rem}}
@media(max-width:985px){.header-inner{min-height:70px;flex-wrap:wrap}.menu-toggle{display:block;margin-left:auto}.header-nav,.header-actions{display:none}.site-header.menu-open .header-nav{display:flex;flex-direction:column;align-items:stretch;gap:0;width:100%;order:4;padding:5px 0 15px;border-top:1px solid #e1eaec}.site-header.menu-open .header-nav a{padding:12px 3px;white-space:normal}.site-header.menu-open .header-actions{display:flex;order:5;width:100%;padding-bottom:14px;flex-wrap:wrap}.site-header.menu-open .header-actions .btn{flex:1}.site-header .header-nav a[aria-current=page]{box-shadow:none}.admin-header .header-inner{min-height:62px}}

/* SIIFI 2026 responsive motion identity — scoped to header, no footer/admin mutations. */
.site-header .brand-mark{flex:0 0 auto;gap:11px;min-width:0}
.site-header .brand-words{min-width:0}
.site-header .siifi-motion-symbol{width:48px;height:54px;display:block;flex:none;overflow:visible}
.site-header .brand-mark strong{font-size:1.7rem;line-height:1.08;font-weight:800;letter-spacing:.03em;color:#071a2b}

.site-header .brand-mark span {
    display: block;
    font-size: 0.75rem;
    font-weight: 650;
    line-height: 1.4;
    letter-spacing: 0;
    color: #284559;
    text-decoration: none;
    white-space: normal;
    margin-top: 4px;
}

.site-header .header-nav a{font-size:.82rem}
.site-header .header-inner{gap:16px}
.site-header .siifi-motion-scan{animation:siifi-scan-visibility 6s linear infinite}
.site-header .siifi-scan-line{animation:siifi-scan-travel 6s linear infinite;transform-box:fill-box;transform-origin:center}
.site-header .siifi-flow-signal{animation:siifi-flow-visibility 6s linear infinite}
.site-header .siifi-node-pulses circle{opacity:0;animation:siifi-node-flash 6s linear infinite;animation-delay:var(--pulse-delay,0s);transform-box:fill-box;transform-origin:center}
@keyframes siifi-scan-visibility{0%,19%{opacity:.66}20%,100%{opacity:0}}
@keyframes siifi-scan-travel{0%{transform:translateY(0)}20%,100%{transform:translateY(166px)}}
@keyframes siifi-flow-visibility{0%,19.9%{opacity:0}20%,49.9%{opacity:1}50%,100%{opacity:0}}
@keyframes siifi-node-flash{0%,49.9%{opacity:0;transform:scale(.88)}52%,54%{opacity:.92;transform:scale(1.07)}56%,100%{opacity:0;transform:scale(1)}}
/* Break before brand/navigation compete for available width. */
@media(max-width:1160px){
 .site-header .header-inner{min-height:76px;flex-wrap:wrap}
 .site-header .menu-toggle{display:block;margin-left:auto}
 .site-header .header-nav,.site-header .header-actions{display:none}
 .site-header.menu-open .header-nav{display:flex;flex-direction:column;align-items:stretch;gap:0;width:100%;order:4;padding:5px 0 15px;border-top:1px solid #e1eaec}
 .site-header.menu-open .header-nav a{padding:12px 3px;white-space:normal;font-size:.9rem}
 .site-header.menu-open .header-actions{display:flex;order:5;width:100%;padding-bottom:14px;flex-wrap:wrap}
 .site-header.menu-open .header-actions .btn{flex:1}
 .site-header .header-nav a[aria-current=page]{box-shadow:none}
}
@media(min-width:1161px){
 .site-header .header-nav{gap:15px}
 .site-header .header-actions .btn{padding:9px 11px}
}
@media(max-width:600px){
 .site-header .header-inner{min-height:72px;gap:10px}
 .site-header .siifi-motion-symbol{width:44px;height:50px}
 .site-header .brand-mark{gap:8px}
 .site-header .brand-mark strong{font-size:1.52rem}
.site-header .brand-mark span {
    font-size: 0.66rem;
    line-height: 1.35;
}
}

@media (max-width: 380px) {
    .site-header .siifi-motion-symbol {
        width: 40px;
        height: 45px;
    }

    .site-header .brand-mark strong {
        font-size: 1.38rem;
    }

    .site-header .brand-mark span {
        font-size: 0.60rem;
        line-height: 1.35;
    }

    .site-header .header-inner {
        gap: 5px;
    }
}

/* Motion must be optional; keep the stable scholarly symbol visible. */
@media(prefers-reduced-motion:reduce){
 .site-header .siifi-motion-scan,.site-header .siifi-flow-signal,.site-header .siifi-node-pulses{display:none!important}
 .site-header .siifi-scan-line{animation:none!important}
}
.site-header .brand-mark,
.site-header .brand-mark:hover,
.site-header .brand-mark:focus {
    text-decoration: none;
}

.site-header .brand-mark strong,
.site-header .brand-mark span {
    text-decoration: none;
}