:root {
  --wrap: calc(100% - clamp(28px, 4vw, 96px));
}

@media (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  @supports (background-clip: text) or (-webkit-background-clip: text) {
    .hero-kicker-text {
      background-image: linear-gradient(90deg, currentColor 38%, #bfd4ff 45%, #fff 50%, #bfd4ff 55%, currentColor 62%);
      background-size: 280% 100%;
      background-clip: text;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      animation: hero-kicker-sweep 1.25s ease-in-out .2s both;
    }
  }
}

@keyframes hero-kicker-sweep {
  from { background-position: 100% 50%; }
  to { background-position: 0% 50%; }
}

.hero .art {
  right: 0;
  max-width: 1160px;
  mask-image: linear-gradient(to right, transparent, #000 19%, #000 96%, transparent);
}

.hero .art canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero .hero-wave {
  mask-image:
    linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent),
    linear-gradient(to right, #000 79%, transparent);
  mask-composite: intersect;
}

.hero + .news-strip {
  padding-block: clamp(24px, 3vw, 38px);
}

.news-strip h2 {
  margin: 0 0 20px;
  font-size: clamp(24px, 3.2vw, 38px);
}

.news-ticker {
  display: flex;
  align-items: stretch;
  border-block: 1px solid #2a3855;
  background: linear-gradient(90deg, #111b30, #0b111e 70%);
}

.news-ticker-viewport {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #40537e transparent;
}

.news-ticker-track,
.news-ticker-items {
  display: flex;
  width: max-content;
}

.news-ticker-items {
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-ticker-items li {
  display: flex;
  align-items: center;
}

.news-ticker-items li::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #83decb;
}

.news-ticker-items a {
  display: block;
  padding: 14px 22px;
  color: #e4edff;
  font-weight: 600;
  white-space: nowrap;
}

.news-ticker-items a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.news-ticker-items a:focus-visible {
  outline-offset: -4px;
}

.news-ticker:not(.is-moving) .news-ticker-copy {
  display: none;
}

.news-ticker.is-moving .news-ticker-viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 16px, black calc(100% - 16px), transparent);
}

.news-ticker.is-moving .news-ticker-track {
  animation: news-scroll var(--news-duration) linear infinite;
}

@keyframes news-scroll {
  to { transform: translateX(-50%); }
}

.aia-feature img {
  display: block;
  justify-self: center;
  align-self: end;
  width: min(100%, 320px);
  height: auto;
  mix-blend-mode: lighten;
}

@media (max-width: 480px) {
  .aia-feature { grid-template-columns: 1fr; }
  .aia-feature img { width: min(85%, 250px); }
}

@media (min-width: 641px) and (max-width: 840px) {
  .hero .art { width: 74%; }
}

@media (max-width: 640px) {
  .hero .hero-grid { display: grid; row-gap: 8px; padding-bottom: 10px; }
  .hero .hero-copy { grid-row: 1; padding: 38px 0 0; }
  .hero .art {
    position: relative;
    grid-row: 2;
    right: auto;
    bottom: auto;
    width: 100%;
    height: clamp(235px, 69vw, 355px);
    opacity: 1;
  }
  .news-ticker-items a { padding-inline: 16px; }
}
