/* Adaptations of Matias-dark banner updown, sponsor strip and fade-in effects.
   All content is visible when JavaScript is off. No loading or scroll lock. */
:root { scroll-padding-block-start: 6rem; }
[hidden] { display:none !important; }
#motion-toggle, #nav-toggle { cursor:pointer; }
.motion-scrolled { box-shadow:0 4px 18px rgb(0 0 0 / 24%); }
@keyframes ut-in { from { opacity:.48; translate:0 .58rem; } to { opacity:1; translate:0 0; } }
@keyframes ut-float { 50% { translate:0 -.42rem; } }
@keyframes ut-slide { to { transform: translateX(-50%); } }
html[data-motion="on"] { scroll-behavior:smooth; }
html[data-motion="off"] { scroll-behavior:auto; }
html[data-motion="on"] .hero-copy > :is(.over,h1,.lead) { animation:ut-in .48s cubic-bezier(.2,.65,.25,1) both; }
html[data-motion="on"] .hero-copy > h1 { animation-delay:55ms; }
html[data-motion="on"] .hero-copy > .lead { animation-delay:105ms; }
html[data-motion="on"] .motion-seen:not(:focus-within) { animation:ut-in .5s cubic-bezier(.2,.65,.25,1) both; }
html[data-motion="on"] .plate .stamp { animation:ut-float 4s ease-in-out infinite; }
.ticker { overflow:hidden; }
.ticker-track { display:flex; width:max-content; }
.ticker-track:has(.ticker-set) { gap:0; }
.ticker-set { display:inline-flex; flex:none; align-items:center; min-width:100vw; justify-content:space-around; }
html[data-motion] .ticker-track { animation:ut-slide 36s linear infinite; }
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { animation-play-state:paused !important; transition-duration:0s !important; }
html[data-motion="off"] .motion-seen, html[data-motion="off"] .hero-copy > *, html[data-motion="off"] .plate .stamp { animation:none !important; }
.ticker:focus-within .ticker-track { animation-play-state:paused; }
@media (hover:hover) { .ticker:hover .ticker-track { animation-play-state:paused; } }
@media (max-width:760px) {
  #main-nav[data-expanded="true"] { display:flex; }
  html[data-motion="on"] #main-nav[data-expanded="true"] { animation:ut-in .18s ease-out; }
}
@media (prefers-reduced-motion: reduce) {
  html:not([data-motion="on"]) { scroll-behavior:auto; }
  html:not([data-motion="on"]) *, html:not([data-motion="on"]) *::before,
  html:not([data-motion="on"]) *::after { animation:none !important; transition:none !important; }
}
@media print {
  #motion-toggle, #nav-toggle { display:none !important; }
  .ticker-track { animation:none !important; }
}
#motion-toggle,#nav-toggle{border:1px solid var(--line);border-radius:2rem;background:#131a30;color:var(--ink);padding:.4rem .75rem;min-height:42px;font:600 .78rem/1.25 system-ui;cursor:pointer}
:is(#motion-toggle,#nav-toggle):focus-visible{outline:2px solid var(--lime);outline-offset:2px}
@media(max-width:760px){html:not([data-motion]) .bar{flex-wrap:wrap}html:not([data-motion]) #main-nav{position:static;display:flex;flex-flow:row wrap}#main-nav[data-expanded=true]{display:flex;position:absolute;top:100%;left:0;right:0;background:#10152b;flex-direction:column;z-index:3}}
html[data-motion=on] .ticker-track{animation:ut-slide 36s linear infinite!important}html[data-motion=on] .ticker-set{min-width:100vw;justify-content:space-around}html[data-motion] .ticker-set span::after{content:none}
