.ai-hero {
  display: grid;
  place-items: center;
  min-height: 570px;
  height: clamp(570px, 82svh, 800px);
  background: var(--bg);
  text-align: center;
}
.ai-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
  container-type: size;
  pointer-events: none;
  opacity: var(--photo-opacity, .34);
  filter: saturate(.77);
}
.attention-matrix { --photo-opacity: .39; }
.ai-plate {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: max(100cqw, 177.7cqh);
  aspect-ratio: 1672 / 941;
}
.ai-backdrop { display: block; width: 100%; height: 100%; }
.ai-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 48%, rgb(9 11 16 / .62), transparent 65%),
    linear-gradient(to bottom, rgb(9 11 16 / .50), transparent 25%, transparent 63%, var(--bg));
}
.ai-hero .hero-copy {
  z-index: 2;
  width: min(100%, 820px);
  padding: 64px 24px 40px;
}
.ai-hero .hero-copy h1 {
  font-size: clamp(64px, 6.8vw, 110px);
  color: #f4f6f9;
  letter-spacing: -.05em;
}
.ai-hero .hero-copy h2 {
  font-size: clamp(22px, 2.4vw, 38px);
  letter-spacing: -.035em;
  line-height: 1.45;
  margin: 20px 0 0;
}
.ai-hero .hero-copy p {
  max-width: 37em;
  margin: 14px auto 0;
  color: #c4cad3;
  font-size: clamp(15px, 1.2vw, 19px);
  text-wrap: balance;
}
.ai-hero .actions { justify-content: center; gap: 10px; }
.ai-hero .button { width: auto; padding: 0 23px; min-height: 48px; font-size: 15px; }
.ai-hero .primary { background: #e2e7ed; color: #151b23; }
.ai-hero .primary:hover { background: white; }
.ai-hero .glass { background: #191d25e6; border-color: #b2c4d04d; }
@media (max-width: 850px) {
  .ai-hero { min-height: 440px; height: clamp(440px, 73svh, 640px); }
  .ai-plate { width: 100%; height: 100%; }
  .ai-backdrop { object-fit: cover; object-position: center; }
  .ai-art { opacity: .29; }
  .attention-matrix .ai-backdrop { object-position: 76% center; }
  .embedding-cloud .ai-backdrop { object-position: 71% center; }
  .ai-hero .hero-copy { padding: 64px 16px 34px; }
  .ai-hero .hero-copy h1 { font-size: clamp(55px, 11vw, 80px); }
  .ai-hero .hero-copy h2 { margin-top: 14px; font-size: clamp(21px, 4.5vw, 30px); }
  .ai-hero .hero-copy p { max-width: 28em; }
  .ai-hero .actions { margin-top: 24px; }
  .ai-hero .button { min-height: 44px; padding: 0 17px; font-size: 14px; }
}

.embedding-cloud .cloud-motion {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Crop the moving surface and its fallback photograph identically. */
.compute-fibers .ai-plate {
  width: max(100cqw, 177.69cqh);
  height: auto;
}
.compute-fibers .ai-art { opacity: .43; }
.fiber-surface { position: absolute; inset: 0; width: 100%; height: 100%; }
.compute-fibers .ai-plate.flowing .ai-backdrop { visibility: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .compute-fibers .ai-plate:not(.flowing) .ai-backdrop {
    animation: fiber-swell 12s ease-in-out infinite alternate;
  }
}
@keyframes fiber-swell {
  from { transform: scale(1.095) translate(-1.5%, 1%) rotate(-1.2deg); }
  to { transform: scale(1.13) translate(1.5%, -1%) rotate(1.2deg); }
}
