.masthead{height:98px;position:relative;isolation:isolate;background:#070c13;border-bottom:1px solid #34404e;color:#f5f5f5}
.masthead::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#070b11 0%,rgba(7,11,17,.98) 30%,rgba(7,11,17,.76) 47%,rgba(7,11,17,.02) 75%,rgba(7,11,17,.4) 100%)}
#header-wave{position:absolute;right:0;top:0;width:72%;height:100%;z-index:-2;pointer-events:none}

.masthead .brand-lockup{gap:20px}
.masthead .wordmark-stack{border-left:1px solid #66707c;padding-left:20px}
.masthead .brand-lockup .word-title{font-size:36px;color:#fff;letter-spacing:-1.1px}
.masthead .wordmark-stack .brand-tagline{color:#b9c0ca;font-size:10px;letter-spacing:.45px}
.masthead .primary-nav button{color:#c3c8d0}
.masthead .primary-nav button.active{color:#fff}
.masthead .primary-nav button.active:after{background:#ef4e5b;height:3px}
.masthead .header-actions{color:#fff}
.masthead .header-actions .icon-button{color:#e5e8ed}
.masthead .avatar{border-color:#535b65;color:#fff;background:rgba(7,11,17,.65)}
.news-ticker{height:38px;display:flex;align-items:stretch;background:#090c11;color:#eee;border-bottom:1px solid #34404e;overflow:hidden}
.ticker-label{display:flex;align-items:center;flex-shrink:0;padding:0 26px 0 28px;background:#d8293b;color:#fff;font-size:12px;font-weight:600;letter-spacing:.65px;text-transform:uppercase;clip-path:polygon(0 0,100% 0,calc(100% - 10px) 100%,0 100%)}
.ticker-label::before{content:"";width:7px;height:7px;border-radius:50%;background:#fff;margin-right:9px;flex-shrink:0;animation:latest-pulse 2.4s ease-in-out infinite}
@keyframes latest-pulse{0%,100%{opacity:1;box-shadow:0 0 0 0 rgba(255,255,255,.25)}50%{opacity:.55;box-shadow:0 0 0 4px rgba(255,255,255,0)}}
.news-ticker.paused .ticker-label::before{animation-play-state:paused}
.masthead .header-actions .icon-button:hover{background:rgba(255,255,255,.12)}
.ticker-window{min-width:0;flex:1;overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 16px,#000 calc(100% - 24px),transparent)}
.ticker-track{display:flex;width:max-content;height:100%;animation:headline-scroll 150s linear infinite}
.ticker-group{display:flex;align-items:center;flex-shrink:0}
.ticker-story{flex-shrink:0;white-space:nowrap;padding:0 24px;font-size:14px;line-height:18px;border-right:1px solid #59616b;color:#eee;text-align:left}
.news-ticker .ticker-story:hover,.news-ticker .ticker-story:active{background:transparent;color:#fff;text-decoration:underline;text-decoration-color:rgba(255,255,255,.45);text-underline-offset:4px}
.ticker-story:focus-visible{outline:1px solid #fff;outline-offset:-1px}

.news-ticker:hover .ticker-track,.news-ticker:focus-within .ticker-track,.news-ticker.paused .ticker-track{animation-play-state:paused}
.article-kicker::before{content:"";height:16px;width:3px;flex-shrink:0;background:#ef4e5b}
.article-kicker{gap:10px}
@keyframes headline-scroll{to{transform:translateX(-50%)}}
@media(min-width:701px){.shell{height:calc(100dvh / .85 - 136px)}}
@media(max-width:700px){.masthead{height:72px}.masthead::before{background:linear-gradient(90deg,#070b11 0%,rgba(7,11,17,.88) 48%,rgba(7,11,17,.25) 100%)}#header-wave{width:100%;opacity:.65}.masthead .wordmark-stack{padding-left:0;border:0}.masthead .brand-lockup .word-title{font-size:25px}.masthead .wordmark-stack .brand-tagline{font-size:8px}.masthead .primary-nav button{color:var(--text-secondary)}.masthead .primary-nav button.active{color:var(--text-primary)}.news-ticker{height:34px}.ticker-label{font-size:10px;padding:0 18px 0 12px}.ticker-story{font-size:11px;padding:0 18px}.shell{height:calc(100dvh - 160px - env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){.ticker-track,.ticker-label::before{animation:none}.ticker-window{overflow-x:auto;scrollbar-width:none}.ticker-group[aria-hidden]{display:none}}

.official-wordmark{display:inline-block;width:94px;aspect-ratio:500/129;background:currentColor;mask:url('assets/appliedxl-wordmark.png') center/contain no-repeat;-webkit-mask:url('assets/appliedxl-wordmark.png') center/contain no-repeat;flex-shrink:0;vertical-align:middle}
.masthead .wordmark-stack .brand-tagline{display:flex;align-items:center;gap:5px;color:#d1d5dc}
.masthead .brand-tagline .official-wordmark{width:68px;color:#fff}
.byline-credit{display:inline-flex;align-items:center;gap:6px;color:var(--text-primary)}
@media(max-width:700px){.masthead .brand-tagline .official-wordmark{width:57px}.byline-credit .official-wordmark{width:86px}}

/* One primary lockup, with the publisher endorsement below FirstWire. */
.masthead .identity{min-width:0}
.masthead .brand-lockup{gap:16px;align-items:center}
.masthead .identity .brand-lockup .ds-axl-brand{width:88px!important;margin-top:0}
.masthead .wordmark-stack{padding-left:16px;border-left:1px solid rgba(255,255,255,.22);gap:5px}
.masthead .brand-lockup .word-title{font-size:29px;font-weight:400;line-height:1.05;letter-spacing:-.6px}
.masthead .wordmark-stack .brand-tagline{font-size:10px;letter-spacing:.1px;color:#aeb5bf}
.masthead .brand-tagline .official-wordmark{width:65px;color:#cbd0d8}
@media(max-width:700px){.masthead .brand-lockup{gap:11px}.masthead .identity .brand-lockup .ds-axl-brand{width:57px!important;margin-top:0}.masthead .brand-lockup .word-title{font-size:23px;letter-spacing:-.4px}.masthead .wordmark-stack{gap:4px;padding-left:11px}.masthead .wordmark-stack .brand-tagline{font-size:8px}.masthead .brand-tagline .official-wordmark{width:53px}}

.ticker-story time{font-size:11px;color:#aeb5bf;margin-right:12px;font-variant-numeric:tabular-nums}
@media(max-width:700px){.ticker-story time{font-size:10px;margin-right:9px}}

/* A visible moving signal, with contrast protected behind the controls. */
#header-wave{opacity:.68}
@media(max-width:700px){#header-wave{opacity:.48}}

/* Keyboard readers get a stationary, horizontally scrollable ticker. */
.news-ticker:focus-within .ticker-track{animation:none;transform:none}
.news-ticker:focus-within .ticker-window{overflow-x:auto;scrollbar-width:none;mask-image:none}
