/* Header from Desktop - 33. Shared by home and internal routes. */
.marshak-header,.marshak-header.nav-w{z-index:100001;position:fixed;inset:0 0 auto;display:flex;align-items:center;justify-content:space-between;width:100%;height:4.5625vw;min-height:60px;padding:0 4.5625vw;background:transparent;color:#fff;border:0;pointer-events:auto}
.marshak-header .marshak-header-logo{display:block;width:7.6875vw;min-width:75px;flex:none;line-height:0}
.marshak-header-logo img{display:block;width:100%;height:auto;filter:none}
.marshak-header .marshak-header-links{display:flex;align-items:center;justify-content:space-between;width:22.8vw;min-width:260px;gap:24px}
.marshak-header-links a{display:block;font-family:DINishHeading,Arial,sans-serif;font-weight:500;font-size:clamp(12px,.8125vw,16px);line-height:1;text-decoration:none;color:#fff;white-space:nowrap;opacity:.5;transition:opacity .2s}
.marshak-header-links a:hover,.marshak-header-links a:focus-visible{opacity:1}
.marshak-header-links a:focus-visible{outline:1px solid white;outline-offset:6px}
@media(max-width:767px){.marshak-header,.marshak-header.nav-w{height:60px;padding:0 20px}.marshak-header .marshak-header-links{width:auto;min-width:0;gap:18px}.marshak-header .marshak-header-logo{width:75px}.marshak-header-links a{font-size:12px}}
@media(max-width:359px){.marshak-header,.marshak-header.nav-w{padding:0 12px}.marshak-header .marshak-header-links{gap:12px}.marshak-header-links a{font-size:11px}}

/* Two-phase navigation: button stays fixed while links slide in. */
.marshak-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:2vw}
.marshak-header .marshak-header-links{opacity:0;visibility:hidden;pointer-events:none;transform:translateX(32px);transition:transform .45s cubic-bezier(.19,1,.22,1),opacity .3s,visibility 0s .45s}
.marshak-header.is-menu-open .marshak-header-links{opacity:1;visibility:visible;pointer-events:auto;transform:translateX(0);transition-delay:0s}
.marshak-menu-toggle{display:flex;position:relative;align-items:center;justify-content:center;width:clamp(28px,2.08vw,40px);height:clamp(28px,2.08vw,40px);flex:none;padding:0;border:1px solid #ffffffb3;background:transparent;color:#fff;cursor:pointer}
.marshak-menu-toggle span{position:absolute;width:55%;height:1px;background:currentColor;transform:translateY(-3px);transition:transform .3s}
.marshak-menu-toggle span+span{transform:translateY(3px)}
.is-menu-open .marshak-menu-toggle span{transform:rotate(45deg)}
.is-menu-open .marshak-menu-toggle span+span{transform:rotate(-45deg)}
@media(max-width:767px){.marshak-header-actions{gap:12px}.marshak-header .marshak-header-links{gap:10px}.marshak-header-links a{font-size:11px}.marshak-menu-toggle{width:28px;height:28px}}
@media(prefers-reduced-motion:reduce){.marshak-header .marshak-header-links,.marshak-menu-toggle span{transition:none}}

/* All header controls share the tone of the section behind them. */
.marshak-header[data-tone="light"]{color:#000}
.marshak-header[data-tone="dark"]{color:#fff}
.marshak-header .marshak-header-links a,.marshak-header .marshak-menu-toggle{color:inherit}
.marshak-header .marshak-menu-toggle{border-color:currentColor}
.marshak-header[data-tone="light"] .marshak-header-logo img{filter:invert(1)}
.marshak-header[data-tone="dark"] .marshak-header-logo img{filter:none}
