.contact-rail .circle {
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
}

@media (min-width: 1680px) {
  .hero-media {
    inset: 0 max(0px, calc((100vw - var(--max)) / 2 - 180px)) 0 auto;
    width: min(1280px, calc(var(--max) - 20px));
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.18) 8%, rgba(0,0,0,.86) 22%, #000 48%, #000 84%, rgba(0,0,0,.58) 94%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.18) 8%, rgba(0,0,0,.86) 22%, #000 48%, #000 84%, rgba(0,0,0,.58) 94%, transparent 100%);
  }
}

@media (prefers-reduced-motion: no-preference) {
  html.motion-ready .site-header {
    animation: headerDrop .36s cubic-bezier(.22, .7, .2, 1) both;
  }

  html.motion-ready .brand img {
    animation: logoPop .38s cubic-bezier(.22, .7, .2, 1) .02s both;
  }

  html.motion-ready .nav-links > a,
  html.motion-ready .nav-item,
  html.motion-ready .icon-button {
    opacity: 0;
    animation: navItemIn .32s cubic-bezier(.22, .7, .2, 1) both;
  }

  html.motion-ready .nav-links > a:nth-child(1) {
    animation-delay: .04s;
  }

  html.motion-ready .nav-links > a:nth-child(2) {
    animation-delay: .065s;
  }

  html.motion-ready .nav-item {
    animation-delay: .09s;
  }

  html.motion-ready .nav-links > a:nth-child(4) {
    animation-delay: .115s;
  }

  html.motion-ready .nav-links > a:nth-child(5) {
    animation-delay: .14s;
  }

  html.motion-ready .icon-button {
    animation-delay: .16s;
  }

  html.motion-ready .hero .motion-reveal {
    transition-duration: .44s;
    transform: translate3d(-42px, 0, 0);
  }

  html.motion-ready .hero .motion-reveal.motion-scale {
    transform: translate3d(0, 22px, 0) scale(.92);
  }

  html.motion-ready .hero .motion-reveal.is-visible {
    transform: translate3d(0, 0, 0) scale(1);
  }

  html.motion-ready .hero .eyebrow {
    --motion-delay: 40ms !important;
  }

  html.motion-ready .hero-title {
    --motion-delay: 85ms !important;
  }

  html.motion-ready .hero-copy {
    --motion-delay: 135ms !important;
  }

  html.motion-ready .actions {
    --motion-delay: 185ms !important;
  }

  html.motion-ready .hero-points .point:nth-child(1) {
    --motion-delay: 250ms !important;
  }

  html.motion-ready .hero-points .point:nth-child(2) {
    --motion-delay: 305ms !important;
  }

  html.motion-ready .hero-points .point:nth-child(3) {
    --motion-delay: 360ms !important;
  }

  html.motion-ready .hero .eyebrow,
  html.motion-ready .hero-title,
  html.motion-ready .hero-copy,
  html.motion-ready .actions {
    animation: heroContentIn .42s cubic-bezier(.22, .7, .2, 1) var(--motion-delay, 0ms) backwards;
  }

  html.motion-ready .hero-points .point {
    animation: heroPointIn .4s cubic-bezier(.22, .7, .2, 1) var(--motion-delay, 0ms) backwards;
  }

  html.motion-ready .article-hero .motion-reveal {
    transition-duration: .42s;
  }

  html.motion-ready .article-label {
    --motion-delay: 35ms !important;
  }

  html.motion-ready .article-title-main {
    --motion-delay: 75ms !important;
  }

  html.motion-ready .article-lead {
    --motion-delay: 125ms !important;
  }

  html.motion-ready .article-hero-image {
    --motion-delay: 170ms !important;
  }

  html.motion-ready .article-label,
  html.motion-ready .article-title-main,
  html.motion-ready .article-lead {
    animation: articleTextIn .4s cubic-bezier(.22, .7, .2, 1) var(--motion-delay, 0ms) backwards;
  }

  html.motion-ready .article-hero-image {
    animation: articleImageIn .45s cubic-bezier(.22, .7, .2, 1) var(--motion-delay, 0ms) backwards;
  }

  html.motion-ready .motion-reveal {
    opacity: 0;
    filter: blur(7px);
    transform: translate3d(0, 28px, 0);
    transition:
      opacity .38s cubic-bezier(.22, .7, .2, 1),
      filter .38s cubic-bezier(.22, .7, .2, 1),
      transform .38s cubic-bezier(.22, .7, .2, 1);
    transition-delay: var(--motion-delay, 0ms);
    will-change: opacity, filter, transform;
  }

  html.motion-ready .motion-reveal.motion-left {
    transform: translate3d(-28px, 0, 0);
  }

  html.motion-ready .motion-reveal.motion-right {
    transform: translate3d(28px, 0, 0);
  }

  html.motion-ready .motion-reveal.motion-scale {
    transform: translate3d(0, 20px, 0) scale(.965);
  }

  html.motion-ready .motion-reveal.is-visible {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
  }

  .hero-media {
    animation:
      heroImageIntro .52s cubic-bezier(.22, .7, .2, 1) .03s both,
      heroDrift 15s ease-in-out .58s infinite alternate;
    transform-origin: 72% 52%;
  }

  .hero::before {
    animation: heroWash .5s cubic-bezier(.22, .7, .2, 1) both;
  }

  .hero-title span {
    background: linear-gradient(90deg, #0969f5 0%, #20afff 48%, #0969f5 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: textSheen 5.8s ease-in-out infinite;
    color: transparent;
  }

  .about-visual img {
    animation: quietFloat 6.8s ease-in-out infinite;
  }

  .about-popup .mini-icon,
  .point-icon,
  .service-icon,
  .stat-icon {
    transition:
      box-shadow .28s ease,
      transform .28s ease,
      filter .28s ease;
  }

  .about-popup:nth-of-type(2) .mini-icon {
    animation-delay: .4s;
  }

  .about-popup:nth-of-type(3) .mini-icon {
    animation-delay: .8s;
  }

  .about-popup .mini-icon {
    animation: softPulse 3.8s ease-in-out infinite;
  }

  .btn,
  .icon-button,
  .carousel-btn,
  .dot,
  .text-link,
  .socials a,
  .contact-rail .circle,
  .back-top,
  .dropdown-menu a,
  .article-aside a {
    transition:
      background .24s ease,
      border-color .24s ease,
      box-shadow .24s ease,
      color .24s ease,
      opacity .24s ease,
      transform .24s ease;
  }

  .btn .icon,
  .text-link::after,
  .carousel-btn .icon,
  .icon-button .icon,
  .back-top .icon {
    transition: transform .24s ease;
  }

  .btn:hover .icon,
  .news-card:hover .text-link::after,
  .service-card:hover .text-link::after {
    transform: translateX(3px);
  }

  .icon-button:hover,
  .carousel-btn:hover,
  .socials a:hover,
  .back-top:hover {
    transform: translateY(-2px);
  }

  .carousel-btn:hover .icon {
    transform: scale(1.08);
  }

  .contact-rail a:nth-child(1) .circle {
    animation: contactPulse 4.2s ease-in-out infinite;
  }

  .contact-rail a:nth-child(2) .circle {
    animation: contactPulse 4.2s ease-in-out .55s infinite;
  }

  .contact-rail a:nth-child(3) .circle {
    animation: contactPulse 4.2s ease-in-out 1.1s infinite;
  }

  .contact-rail a:hover .circle {
    animation-play-state: paused;
    box-shadow: 0 16px 26px rgba(9, 119, 255, .3);
    transform: translateY(-3px) scale(1.03);
  }

  .service-card,
  .news-card,
  .stat-card,
  .article-aside,
  .article-content,
  .article-cta,
  .article-hero-image {
    transition:
      border-color .26s ease,
      box-shadow .26s ease,
      transform .26s ease;
  }

  .stat-card:hover,
  .article-aside:hover,
  .article-cta:hover {
    box-shadow: 0 18px 38px rgba(7, 54, 150, .13);
    transform: translateY(-3px);
  }

  .service-card:hover .service-icon,
  .stat-card:hover .stat-icon,
  .point:hover .point-icon {
    filter: saturate(1.12);
    transform: translateY(-2px) scale(1.035);
    box-shadow: 0 16px 30px rgba(10, 117, 245, .18);
  }

  .service-card:hover .service-icon img {
    transform: scale(1.06) rotate(-2deg);
  }

  .service-icon img {
    transition: transform .28s ease;
  }

  .news-card {
    transition:
      border-color .26s ease,
      box-shadow .26s ease,
      transform .26s ease;
  }

  .news-card:hover {
    border-color: rgba(9, 119, 255, .28);
    box-shadow: 0 20px 42px rgba(7, 54, 150, .14);
    transform: translateY(-4px);
  }

  .article-hero-image:hover {
    box-shadow: 0 24px 52px rgba(7, 54, 150, .16);
    transform: translateY(-3px);
  }

  .article-hero-image img {
    transition: transform .45s cubic-bezier(.22, .7, .2, 1);
  }

  .article-hero-image:hover img {
    transform: scale(1.025);
  }

  .article-aside a:hover,
  .footer a:hover {
    transform: translateX(3px);
  }

  .footer a,
  .article-aside a {
    transition: color .22s ease, transform .22s ease;
  }

  @keyframes headerDrop {
    from {
      opacity: 0;
      transform: translateY(-18px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes logoPop {
    from {
      opacity: 0;
      filter: blur(8px);
      transform: translateY(-6px) scale(.95);
    }
    to {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0) scale(1);
    }
  }

  @keyframes navItemIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes heroImageIntro {
    from {
      opacity: .55;
      filter: saturate(.98) contrast(1.02) blur(5px);
      transform: scale(1.035) translate3d(18px, 0, 0);
    }
    to {
      opacity: 1;
      filter: saturate(1.12) contrast(1.08) blur(0);
      transform: scale(1.006) translate3d(0, 0, 0);
    }
  }

  @keyframes heroWash {
    from {
      opacity: .45;
      transform: translateX(-18px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes heroContentIn {
    from {
      opacity: 0;
      filter: blur(8px);
      transform: translate3d(-34px, 0, 0);
    }
    to {
      opacity: 1;
      filter: blur(0);
      transform: translate3d(0, 0, 0);
    }
  }

  @keyframes heroPointIn {
    from {
      opacity: 0;
      filter: blur(7px);
      transform: translate3d(0, 20px, 0) scale(.92);
    }
    to {
      opacity: 1;
      filter: blur(0);
      transform: translate3d(0, 0, 0) scale(1);
    }
  }

  @keyframes articleTextIn {
    from {
      opacity: 0;
      filter: blur(8px);
      transform: translate3d(0, 28px, 0);
    }
    to {
      opacity: 1;
      filter: blur(0);
      transform: translate3d(0, 0, 0);
    }
  }

  @keyframes articleImageIn {
    from {
      opacity: 0;
      filter: blur(8px) saturate(.92);
      transform: translate3d(34px, 0, 0) scale(.97);
    }
    to {
      opacity: 1;
      filter: blur(0) saturate(1);
      transform: translate3d(0, 0, 0) scale(1);
    }
  }

  @keyframes heroDrift {
    from {
      transform: scale(1.006) translate3d(0, 0, 0);
    }
    to {
      transform: scale(1.018) translate3d(3px, -2px, 0);
    }
  }

  @keyframes textSheen {
    0%,
    100% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
  }

  @keyframes quietFloat {
    0%,
    100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-8px);
    }
  }

  @keyframes softPulse {
    0%,
    100% {
      box-shadow: 0 8px 16px rgba(9, 111, 245, .20);
      transform: scale(1);
    }
    50% {
      box-shadow: 0 12px 24px rgba(9, 111, 245, .28);
      transform: scale(1.035);
    }
  }

  @keyframes contactPulse {
    0%,
    100% {
      box-shadow: 0 10px 18px rgba(9, 119, 255, .22);
      transform: translateY(0) scale(1);
    }
    50% {
      box-shadow: 0 16px 28px rgba(9, 119, 255, .34);
      transform: translateY(-2px) scale(1.025);
    }
  }
}

@media (max-width: 860px) {
  .contact-rail {
    right: 82px;
    bottom: 22px;
    flex-direction: row;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
    transition:
      opacity .24s ease,
      transform .24s ease;
  }

  html.quick-contact-ready .contact-rail {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .contact-rail a {
    width: 46px;
    min-height: 46px;
  }

  .contact-rail .circle {
    width: 46px;
    height: 46px;
    font-size: 10px;
  }

  .back-top {
    right: 16px;
    bottom: 18px;
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 380px) {
  .contact-rail {
    right: 76px;
    gap: 6px;
  }

  .contact-rail a,
  .contact-rail .circle {
    width: 43px;
    min-height: 43px;
    height: 43px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }

  .motion-reveal {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}
