/* Homepage only: Evolutica's orange / blue pulse language. */
.home-motion {
  --bg: #07090e;
  --surface: #101218;
  --blue: #399af4;
  --orange: #ff782f;
  --muted: #aaaebb;
  background: var(--bg);
  --wrap: min(1320px, calc(100% - 12vw));
}
.home-motion em {
  background-image: linear-gradient(100deg, #ffad55 0%, #ff7029 45%, #c34c1e 100%);
}
.home-motion .button {
  background: linear-gradient(110deg, #ffac51, #ff762e);
  color: #100b08;
  padding: 14px 23px;
}
.home-motion .button.ghost {
  background: transparent;
  color: var(--ink);
}
.home-motion .button span {
  display: inline-block;
  transition: transform 0.3s;
}
.home-motion .button:hover span {
  transform: translate(3px, -3px);
}
.home-motion header {
  background: #07090ede;
  border-color: #ffffff0b;
}
.home-motion .nav {
  height: 86px;
}
.home-motion .eyebrow {
  color: #ff914b;
}
.home-motion main,
.home-motion footer {
  position: relative;
  z-index: 2;
}
.home-motion .hero {
  min-height: calc(100svh - 86px);
  background: transparent;
  overflow: hidden;
}
.home-motion .hero:before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 90% 26%, #124d8b45, transparent 55%),
    radial-gradient(ellipse at 75% 5%, #98361428, transparent 50%);
  pointer-events: none;
}
.home-motion .hero:after {
  display: none;
}
.home-motion .hero .wrap {
  padding: 65px 0 38px;
}
.home-motion .hero h1 {
  max-width: 1200px;
  font-size: clamp(60px, 7.8vw, 120px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.075em;
  margin-top: 28px;
}
.home-motion .hero-copy {
  max-width: 440px;
  margin-top: 35px;
}
.home-motion .hero-copy p {
  font-size: 16px;
  line-height: 1.65;
}
.home-motion .hero-actions {
  margin-top: 27px;
}
.home-motion .hero-note {
  margin-top: 70px;
  font-size: 9px;
  color: #949bab;
}
.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 25px auto 0;
  width: max-content;
  font:
    9px 'DM Mono',
    monospace;
  letter-spacing: 2px;
  color: #a8adba;
}
.scroll-cue span {
  font-size: 19px;
  color: var(--orange);
}
.gum-orb {
  position: fixed;
  z-index: 1;
  right: -9vw;
  top: 24vh;
  width: clamp(290px, 39vw, 630px);
  aspect-ratio: 1;
  pointer-events: none;
  border-radius: 46% 54% 61% 39% / 53% 42% 58% 47%;
  background:
    radial-gradient(ellipse at 29% 23%, #ffd09a 0%, #ffa34b 3%, transparent 12%),
    radial-gradient(ellipse at 73% 65%, #66c4ff 0%, #186cb2 12%, transparent 38%),
    radial-gradient(ellipse at 38% 33%, #ff873b 0%, #e45c20 26%, #86341f 50%, #132d58 80%);
  box-shadow:
    inset 12px 12px 40px #ffd09a25,
    inset -28px -30px 65px #030c2799;
  animation: gum-knead 10s ease-in-out infinite;
  opacity: 0.76;
}
.gum-orb i {
  position: absolute;
  inset: 8%;
  border-radius: inherit;
  background: radial-gradient(ellipse at 66% 24%, #fff9 0%, transparent 5%);
  filter: blur(6px);
}
@keyframes gum-knead {
  0%,
  100% {
    border-radius: 46% 54% 61% 39% / 53% 42% 58% 47%;
    transform: scale(1, 1);
  }
  33% {
    border-radius: 57% 43% 44% 56% / 42% 58% 42% 58%;
    transform: scale(0.96, 1.04);
  }
  66% {
    border-radius: 42% 58% 53% 47% / 59% 44% 56% 41%;
    transform: scale(1.04, 0.97);
  }
}
.home-motion .section {
  padding: 125px 0;
}
.home-motion .split-heading {
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 56px;
}
.home-motion .split-heading h2 {
  font-size: clamp(34px, 3.8vw, 59px);
  line-height: 1.15;
}
.home-motion .split-heading p {
  max-width: 550px;
}
.home-motion .services-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}
.home-motion .service-card {
  position: relative;
  min-height: 285px;
  padding: 30px;
  background: linear-gradient(145deg, #16191de8, #0d1016eb);
  overflow: hidden;
  border-color: #ffffff12;
  transition:
    border-color 0.3s,
    background 0.3s;
  transform: translateY(var(--reveal-y, 0px));
  opacity: var(--reveal-opacity, 1);
}
.home-motion .service-card > span {
  color: #b5bac6;
  display: block;
  text-align: right;
}
.home-motion .service-card h3 {
  margin-top: 38px;
  font-size: 25px;
  letter-spacing: -0.045em;
}
.home-motion .service-card p {
  min-height: 44px;
}
.home-motion .service-card b {
  color: #ff9958;
  transition: transform 0.3s;
}
.home-motion .service-card:hover b {
  transform: translateX(7px);
}
.home-motion .service-card:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--orange), var(--blue));
  transform: scaleX(var(--draw, 0));
  transform-origin: left;
}
.home-motion .service-card.is-active,
.home-motion .service-card:hover {
  border-color: #ff873b70;
  background: linear-gradient(145deg, #25201ae8, #0e1924eb);
}
.home-motion .metric-row {
  position: relative;
  margin-top: 100px;
  padding: 28px 0;
  background: #090c12cc;
  text-align: center;
}
.home-motion .metric-row:before {
  content: '';
  position: absolute;
  inset: -35px -4vw;
  z-index: -1;
  background-image: radial-gradient(#318bcd70 1px, transparent 1px);
  background-size: 17px 17px;
  mask-image: linear-gradient(transparent, #000, transparent);
}
.home-motion .metric-row b {
  font-size: 40px;
  color: #ff914b;
}
.home-motion .metric-row span {
  font-size: 12px;
}
.home-motion .statement {
  padding: 130px 0 180px;
  background: linear-gradient(transparent, #07090edd, transparent);
}
.home-motion .statement h2 {
  font-size: clamp(38px, 5.2vw, 78px);
  font-weight: 800;
  line-height: 1.15;
  opacity: var(--reveal-opacity, 1);
  transform: translateY(var(--reveal-y, 0px));
}
.home-motion .statement h2 + h2 {
  margin-top: 170px;
}
.home-process > .wrap {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 100px;
}
.home-process .process-intro {
  top: 130px;
}
.home-process h2 {
  line-height: 1.12;
}
.home-process .process-intro p {
  margin: 25px 0;
  max-width: 380px;
}
.home-timeline {
  position: relative;
  padding-left: 10px;
}
.timeline-rail {
  position: absolute;
  left: 10px;
  top: 10px;
  bottom: 55px;
  width: 1px;
  background: #ffffff1a;
}
.timeline-fill {
  height: 100%;
  background: linear-gradient(var(--blue), var(--orange));
  transform: scaleY(var(--progress, 0));
  transform-origin: top;
}
.timeline-pulse {
  position: absolute;
  left: -5px;
  top: calc(var(--progress, 0) * 100%);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff914b;
  box-shadow:
    0 0 0 8px #ff782f16,
    0 0 23px #ff782f;
}
.home-process .process-step {
  min-height: 265px;
  padding: 0 0 80px 38px;
  grid-template-columns: 25px 1fr;
  gap: 12px;
  opacity: var(--step-opacity, 1);
  transform: translateY(var(--reveal-y, 0px));
  transition: none;
}
.home-process .process-step:last-child {
  min-height: 0;
  padding-bottom: 55px;
}
.home-process .process-step h2 {
  font-size: 40px;
}
.home-process .process-step h3 {
  font-size: 16px;
  letter-spacing: -0.02em;
  line-height: 1.5;
  font-weight: 500;
}
.home-process .process-step p {
  font-size: 14px;
  line-height: 1.8;
}
.home-process .process-step > span {
  padding-top: 12px;
  color: var(--orange);
}
.home-process .process-step:before {
  top: 9px;
}
.home-process .process-step.is-active h2 {
  color: #ffa264;
}
.home-cta {
  text-align: center;
  background: linear-gradient(transparent, #07101ce0);
}
.home-cta .eyebrow {
  justify-content: center;
}
.home-cta h2 {
  margin-top: 25px;
  font-size: clamp(40px, 5.4vw, 78px);
  line-height: 1.12;
}
.home-cta p {
  margin: 25px auto;
  max-width: 500px;
}
.home-motion footer {
  background: #090c12;
}
.reading-progress {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  z-index: 101;
  background: linear-gradient(90deg, #ff782f, #3699f5);
  transform: scaleX(0);
  transform-origin: left;
}
.home-motion .cursor-pulse {
  background: #4bb0ff;
  box-shadow: 0 0 20px #2689f370;
  mix-blend-mode: normal;
}
.home-motion .cursor-pulse.is-hovering {
  background: #ff873b55;
  border: 1px solid #ff9b58;
  box-shadow: none;
}
.home-motion a:focus-visible {
  outline: 2px solid #ff9b58;
  outline-offset: 6px;
}
.home-motion .service-card:focus-visible {
  opacity: 1 !important;
  transform: none !important;
}
@media (max-width: 1000px) {
  .home-motion .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-process > .wrap {
    gap: 45px;
  }
  .home-motion .hero h1 {
    font-size: 8.5vw;
  }
  .home-motion .nav nav {
    gap: 15px;
  }
}
@media (max-width: 680px) {
  .home-motion {
    --wrap: calc(100% - 40px);
  }
  .home-motion .nav {
    height: 66px;
  }
  .home-motion .hero .wrap {
    padding-top: 60px;
  }
  .home-motion .hero h1 {
    font-size: clamp(42px, 10.7vw, 70px);
    letter-spacing: -0.065em;
  }
  .home-motion .hero {
    min-height: 730px;
  }
  .home-motion .hero-copy {
    max-width: 320px;
  }
  .home-motion .hero-note {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .gum-orb {
    top: 32vh;
    right: -170px;
    width: 340px;
    opacity: 0.34;
  }
  .home-motion .section {
    padding: 80px 0;
  }
  .home-motion .services-grid {
    grid-template-columns: 1fr;
  }
  .home-motion .service-card {
    min-height: 260px;
  }
  .home-motion .metric-row {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 65px;
  }
  .home-motion .metric-row b {
    font-size: 31px;
  }
  .home-motion .statement {
    padding: 70px 0;
  }
  .home-motion .statement h2 + h2 {
    margin-top: 100px;
  }
  .home-process > .wrap {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .home-process .process-intro {
    position: static;
  }
  .home-process .process-step {
    min-height: 290px;
  }
  .home-motion .hero-actions {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-motion .service-card,
  .home-motion .statement h2,
  .home-process .process-step {
    opacity: 1 !important;
    transform: none !important;
  }
  .gum-orb {
    animation: none;
  }
  .timeline-fill {
    transform: scaleY(1);
  }
  .timeline-pulse,
  .reading-progress {
    display: none;
  }
}

.home-process {
  background: #07090e99;
}
