:root {
  --blue: #273AEF;
  --white: #FFFFFF;
  --gray: #F0F0F0;
  --ink: #0D0E1B;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --max: 1180px;
  --header-color: #FFFFFF;
  --header-bg: rgba(13, 14, 27, .18);
  --header-border: rgba(255, 255, 255, .1);
}

body {
  font-family: "Prompt", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.is-loading {
  overflow: hidden;
}

.site-header {
  color: var(--header-color);
  background: var(--header-bg);
  border-color: var(--header-border);
}

.site-header.is-dark {
  --header-color: #0D0E1B;
  --header-bg: rgba(255, 255, 255, .78);
  --header-border: rgba(13, 14, 27, .08);
}

.site-header.is-light {
  --header-color: #FFFFFF;
  --header-bg: rgba(13, 14, 27, .18);
  --header-border: rgba(255, 255, 255, .1);
}

.brand img {
  filter: brightness(0) invert(1);
}

.site-header.is-dark .brand img {
  filter: none;
}

.header-actions {
  position: relative;
  display: flex;
  justify-self: end;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.header-action-link,
.header-language-toggle,
.header-menu-toggle {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 10px;
  background: color-mix(in srgb, currentColor 10%, transparent);
  color: currentColor;
  padding: 0 18px;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition:
    transform .22s var(--ease),
    background-color .22s var(--ease),
    color .22s var(--ease);
}

.header-action-link svg,
.header-language-toggle svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-action-link:hover,
.header-action-link:focus-visible,
.header-language-toggle:hover,
.header-language-toggle:focus-visible,
.header-language-toggle[aria-pressed="true"],
.header-menu-toggle:hover,
.header-menu-toggle:focus-visible {
  transform: translateY(-2px);
  background: var(--blue);
  color: var(--white);
  outline: 0;
}

.header-menu {
  position: relative;
}

.header-menu-toggle {
  width: 44px;
  padding: 0;
  flex-direction: column;
  gap: 4px;
}

.header-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform .24s var(--ease),
    opacity .2s var(--ease);
}

.header-menu.is-open .header-menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.header-menu.is-open .header-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.header-menu.is-open .header-menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.header-menu-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(300px, calc(100vw - 30px));
  border: 1px solid rgba(13, 14, 27, .08);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 24px 70px rgba(13, 14, 27, .18);
  color: var(--ink);
  padding: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(.98);
  transform-origin: top right;
  transition:
    opacity .24s var(--ease),
    transform .28s var(--ease);
}

.header-menu.is-open .header-menu-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.header-menu-panel nav {
  display: grid;
  gap: 4px;
}

.header-menu-panel nav a,
.header-menu-contact .header-language-toggle,
.header-menu-contact a {
  display: flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  border-radius: 7px;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 950;
  line-height: 1;
  transition:
    background-color .22s var(--ease),
    color .22s var(--ease),
    transform .22s var(--ease);
}

.header-menu-panel nav a:hover,
.header-menu-panel nav a:focus-visible,
.header-menu-contact .header-language-toggle:hover,
.header-menu-contact .header-language-toggle:focus-visible,
.header-menu-contact .header-language-toggle[aria-pressed="true"],
.header-menu-contact a:hover,
.header-menu-contact a:focus-visible {
  background: var(--blue);
  color: var(--white);
  outline: 0;
  transform: translateX(2px);
}

.header-menu-contact {
  display: none;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(13, 14, 27, .08);
}

.header-menu-contact .header-language-toggle,
.header-menu-contact a {
  gap: 10px;
  background: #F0F0F0;
  color: var(--ink);
  text-align: left;
}

.header-menu-contact svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url("../img/hero-ac-unit-background.png") center / cover no-repeat;
  transform: scale(1.08);
  animation: heroSettle 1.6s var(--ease) forwards;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 80% 36%, rgba(255, 255, 255, .22), transparent 18%),
    linear-gradient(90deg, rgba(5, 6, 18, .92) 0%, rgba(5, 6, 18, .72) 35%, rgba(5, 6, 18, .26) 74%, rgba(5, 6, 18, .84) 100%);
}

.hero-shine {
  width: min(740px, 74vw);
  background: linear-gradient(100deg, transparent, rgba(214, 239, 255, .74), transparent);
  transform: rotate(-10deg) translateX(-20%);
  animation: coldBeam 4.6s ease-in-out infinite alternate;
}

.hero-mist {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(218, 242, 255, .8), transparent 62%),
    radial-gradient(ellipse at 70% 50%, rgba(255, 255, 255, .38), transparent 66%);
  transform: rotate(-10deg);
  animation: mistFlow 5.8s ease-in-out infinite alternate;
}

.hero-action {
  position: relative;
  isolation: isolate;
}

.hero-action::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  opacity: .75;
  background: linear-gradient(120deg, rgba(255,255,255,.18), rgba(39,58,239,.38), rgba(255,255,255,.18));
  transform: translateX(-120%);
  animation: heroButtonSweep 3.8s var(--ease) infinite;
}

.hero-action::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 0 34%, rgba(255,255,255,.44) 48%, transparent 62% 100%);
  transform: translateX(-130%);
  animation: heroButtonShine 2.9s ease-in-out infinite;
  pointer-events: none;
}

.hero-action > * {
  position: relative;
  z-index: 1;
}

.hero-action-blue::before {
  background: linear-gradient(120deg, rgba(39,58,239,.2), rgba(255,255,255,.52), rgba(39,58,239,.2));
}

.hero-action:hover {
  box-shadow: 0 22px 54px rgba(39, 58, 239, .26), 0 0 0 8px rgba(39, 58, 239, .08);
}

.metric-row.is-active {
  opacity: var(--metric-opacity, 1);
  transform: translate3d(0, var(--metric-y, -50%), 0) scale(var(--metric-scale, 1));
}

.metric-row.is-stacked {
  opacity: var(--metric-opacity, 1);
  transform: translate3d(0, var(--metric-y, -50%), 0) scale(var(--metric-scale, 1));
  padding: clamp(14px, 1.35vw, 20px) clamp(44px, 7vw, 112px) !important;
  background: #f3f3f3;
  border-radius: 16px;
  box-shadow:
    inset 0 -1px 0 rgba(13, 14, 27, .1),
    0 10px 30px rgba(13, 14, 27, .035);
  filter: saturate(var(--metric-sat, 1)) brightness(.985);
}

.metric-row {
  opacity: var(--metric-opacity, 0);
  transform: translate3d(0, var(--metric-y, 70vh), 0) scale(var(--metric-scale, .94));
  transform-origin: center center;
  transition:
    opacity 1.45s cubic-bezier(.16, 1, .3, 1),
    transform 1.65s cubic-bezier(.16, 1, .3, 1),
    filter 1.45s cubic-bezier(.16, 1, .3, 1),
    height 1.65s cubic-bezier(.16, 1, .3, 1),
    padding 1.65s cubic-bezier(.16, 1, .3, 1),
    border-radius 1.65s cubic-bezier(.16, 1, .3, 1),
    box-shadow 1.65s cubic-bezier(.16, 1, .3, 1);
  filter: saturate(var(--metric-sat, 1));
  will-change: transform, opacity;
}

.metric-row.is-ahead {
  pointer-events: none;
}

.metric-pair {
  white-space: normal;
}

.metric-row.is-stacked .metric-pair {
  gap: .45rem;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
}

.metric-row.is-stacked .metric-number,
.metric-row.is-stacked .metric-label {
  font-size: clamp(28px, 2.8vw, 52px) !important;
  line-height: 1.05;
  transition: font-size 1.65s cubic-bezier(.16, 1, .3, 1);
}

.advantage-stack-stage.is-final-stack .metric-row.is-stacked {
  height: calc((100svh - 72px) / 4);
  border-radius: 0;
  padding-inline: clamp(44px, 8vw, 128px) !important;
  box-shadow: inset 0 -1px 0 rgba(13, 14, 27, .12);
}

.advantage-stack-stage.is-final-stack .metric-row.is-stacked .metric-pair {
  height: 100%;
}

.advantage-stack-stage.is-final-stack .metric-row.is-stacked .metric-number,
.advantage-stack-stage.is-final-stack .metric-row.is-stacked .metric-label {
  font-size: clamp(34px, 4.1vw, 76px) !important;
}

.avatar {
  display: block;
  background: #d9d9d9;
}

.video-shell {
  background: #0D0E1B;
}

.presentation-video {
  display: block;
  opacity: 0;
  transform: scale(1.035);
  transition:
    opacity .7s var(--ease),
    transform .9s var(--ease);
}

.video-shell.is-visible .presentation-video {
  opacity: 1;
  transform: scale(1);
}

.service-showcase-panel {
  border-radius: 18px;
}

.service-showcase-visual {
  isolation: isolate;
}

.service-showcase-image {
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
  transition:
    opacity .5s var(--ease),
    transform .65s var(--ease);
  will-change: transform, opacity;
}

.service-showcase-image.is-changing {
  opacity: 0;
  transform: translate3d(18px, 18px, 0) scale(.92);
}

.service-showcase-detail {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity .45s var(--ease),
    transform .45s var(--ease);
}

.service-showcase-detail.is-changing {
  opacity: .42;
  transform: translateY(14px);
}

.marquee,
.brand-track {
  will-change: transform;
}

.marquee {
  animation: marquee 42s linear infinite;
}

.marquee-row.reverse .marquee {
  animation-direction: reverse;
  animation-duration: 48s;
}

.testimonial-rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
}

.testimonial-star {
  width: 18px;
  height: 18px;
  color: #fff;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
}

.testimonial-star.is-filled {
  fill: currentColor;
}

.testimonial-star.is-empty {
  fill: transparent;
}

.brand-track {
  animation: marquee 34s linear infinite;
}

.brand-logo-card {
  display: grid;
  place-items: center;
  width: 210px;
  height: 116px;
  padding: 20px;
  background: transparent;
}

.brand-logo {
  display: block;
  width: 170px;
  height: 76px;
  object-fit: contain;
}

.marquee-row:hover .marquee,
.brand-rail:hover .brand-track {
  animation-play-state: paused;
}

.brand-rail {
  background: var(--gray);
}

.contact-bg .sketch {
  opacity: var(--sketch-opacity, 0);
  -webkit-mask-image:
    radial-gradient(circle at 0% 0%, #000 0 var(--sketch-radius, 0%), transparent calc(var(--sketch-radius, 0%) + 1%)),
    radial-gradient(circle at 100% 0%, #000 0 var(--sketch-radius, 0%), transparent calc(var(--sketch-radius, 0%) + 1%));
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-image:
    radial-gradient(circle at 0% 0%, #000 0 var(--sketch-radius, 0%), transparent calc(var(--sketch-radius, 0%) + 1%)),
    radial-gradient(circle at 100% 0%, #000 0 var(--sketch-radius, 0%), transparent calc(var(--sketch-radius, 0%) + 1%));
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
  filter: contrast(1.08);
}

.contact-bg .normal {
  opacity: var(--normal-opacity, .94);
}

.contact-copy {
  isolation: isolate;
}

.contact-copy-card {
  display: inline-block;
  max-width: min(690px, 100%);
  margin-left: clamp(-42px, -3vw, -20px);
  padding: clamp(22px, 3vw, 36px) clamp(24px, 3.2vw, 42px);
  position: relative;
}

.contact-copy-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.contact-copy-card > * {
  position: relative;
  z-index: 1;
}

.contact-copy h2,
.contact-copy p {
  color: var(--contact-text-color, #fff);
  text-shadow:
    0 4px 20px rgba(13, 14, 27, calc(var(--contact-shadow-opacity, 1) * .62)),
    0 1px 2px rgba(13, 14, 27, calc(var(--contact-shadow-opacity, 1) * .9));
  transition:
    color .45s var(--ease),
    text-shadow .45s var(--ease);
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 42px, 0) scale(.985);
  filter: blur(10px);
  transition:
    opacity .95s cubic-bezier(.16, 1, .3, 1),
    transform 1.1s cubic-bezier(.16, 1, .3, 1),
    filter 1s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--motion-delay, 0ms);
  will-change: opacity, transform, filter;
}

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

.motion-heading {
  position: relative;
  transform: translate3d(0, 34px, 0) scale(.965) skewY(1.2deg);
  transform-origin: left bottom;
  opacity: 0;
  filter: blur(12px);
  transition:
    opacity .82s cubic-bezier(.16, 1, .3, 1),
    transform 1s cubic-bezier(.16, 1, .3, 1),
    filter .92s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--motion-delay, 0ms);
  will-change: opacity, transform, filter;
}

.motion-heading.is-motion-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1) skewY(0);
  filter: blur(0);
}

.preloader.is-hidden {
  visibility: hidden;
  opacity: 0;
}

.preloader-mark {
  filter: brightness(0) invert(1);
  animation: markIntro 1.05s var(--ease) forwards;
}

@keyframes markIntro {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes heroSettle {
  to {
    transform: scale(1);
  }
}

@keyframes coldBeam {
  from {
    transform: rotate(-10deg) translateX(-20%) scaleX(.9);
    opacity: .32;
  }

  to {
    transform: rotate(-10deg) translateX(14%) scaleX(1.12);
    opacity: .72;
  }
}

@keyframes mistFlow {
  from {
    transform: rotate(-10deg) translateX(-26px);
    opacity: .28;
  }

  to {
    transform: rotate(-10deg) translateX(54px);
    opacity: .58;
  }
}

@keyframes heroButtonSweep {
  0%, 42% {
    transform: translateX(-120%);
    opacity: .2;
  }

  58%, 100% {
    transform: translateX(120%);
    opacity: .75;
  }
}

@keyframes heroButtonShine {
  0%, 48% {
    transform: translateX(-130%);
    opacity: 0;
  }

  58% {
    opacity: .9;
  }

  78%, 100% {
    transform: translateX(130%);
    opacity: 0;
  }
}

@keyframes marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (min-width: 901px) {
  .advantage-stack-stage.has-completed {
    height: calc(100svh - 72px);
  }

  .advantage-stack-stage.has-completed .advantage-stack-sticky {
    position: relative;
    top: 0;
  }
}

@media (max-width: 900px) {
  .header-actions > .header-language-toggle,
  .header-action-link {
    display: none;
  }

  .header-menu-contact {
    display: grid;
  }

  footer > div:first-child {
    grid-template-columns: minmax(112px, .72fr) minmax(0, 1.28fr) !important;
    align-items: start;
    gap: 30px 22px !important;
    margin-bottom: 56px !important;
    text-align: left;
  }

  footer > div:first-child > div:first-child {
    grid-column: 1 / -1;
    justify-self: center;
    text-align: center;
  }

  footer > div:first-child > nav {
    justify-self: center;
    min-width: min(150px, 100%);
  }

  footer > div:first-child > div:last-child {
    min-width: 0;
    justify-self: center;
    max-width: 240px;
  }

  footer > div:first-child > div:last-child p,
  footer > div:first-child > div:last-child a {
    overflow-wrap: anywhere;
  }

  footer .footer-wordmark {
    text-align: center;
  }

  footer > p:last-child {
    text-align: center;
    line-height: 1.45;
  }

  .service-showcase-panel {
    border-radius: 16px;
  }

  .service-showcase-image {
    max-height: 310px;
  }

  .contact-copy-card {
    margin-left: 0;
    max-width: 100%;
    padding: 22px 18px;
  }

  .service-showcase-detail.is-changing {
    transform: translateY(8px);
  }

  .brand-logo-card {
    width: 154px;
    height: 92px;
    padding: 20px;
  }

  .brand-logo {
    width: 114px;
    height: 52px;
  }

  .metric-row,
  .metric-row.is-active,
  .metric-row.is-stacked,
  .metric-row.is-ahead {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .reveal,
  .motion-heading,
  .hero h1,
  .hero-subtitle,
  .hero-note,
  .hero-ctas {
    opacity: 1;
    transform: none;
    filter: none;
  }

}
