.prairie-bridge {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  overflow: hidden;
}

.prairie-bridge::before {
  content: "";
  position: absolute;
  inset: 8% 3%;
  z-index: -1;
  border-radius: 44%;
  background: radial-gradient(circle at 70% 45%, rgba(183, 223, 234, 0.3), transparent 58%);
  filter: blur(22px);
}

.prairie-bridge-copy h2 {
  margin: 14px 0 24px;
}

.prairie-bridge-copy > p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted, #465553);
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.75;
}

.prairie-bridge-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 28px;
}

.prairie-video {
  position: relative;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 24px 70px rgba(26, 61, 75, 0.14);
  backdrop-filter: blur(12px);
}

.prairie-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 21px;
  background: #112d35;
  object-fit: cover;
}

.prairie-video figcaption {
  padding: 14px 12px 6px;
  color: var(--muted, #465553);
  font-size: 0.9rem;
  line-height: 1.5;
}

.ai-employee-examples {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(18px, 3vw, 38px);
  overflow: hidden;
  border: 1px solid rgba(26, 61, 75, 0.12);
  border-radius: 28px;
  background: rgba(26, 61, 75, 0.1);
  box-shadow: 0 18px 50px rgba(26, 61, 75, 0.08);
}

.ai-employee-examples article {
  min-height: 230px;
  padding: clamp(34px, 4.5vw, 58px) clamp(28px, 4vw, 48px);
  background: rgba(250, 253, 255, 0.88);
}

.ai-employee-examples h3 {
  margin: 0 0 18px;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  line-height: 1.15;
}

.ai-employee-examples p {
  margin: 0;
  color: var(--muted, #465553);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.72;
}

/* A fine prismatic edge echoes the animated page divider and dove halo. */
.hero-note,
.workflow-analyzer-card,
.prairie-video,
.ai-employee-examples {
  isolation: isolate;
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 480ms ease;
}

.hero-note::before,
.workflow-analyzer-card::before,
.prairie-video::before,
.ai-employee-examples::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    #ef476f,
    #f7b267,
    #f9f871,
    #70d6a8,
    #56cfe1,
    #6c8cff,
    #b28dff,
    #ef476f
  ) 0 50% / 240% 100%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.32;
  animation: prismatic-edge-flow 9s linear infinite;
  transition: opacity 420ms ease, filter 420ms ease;
}

.hero-note {
  box-shadow: 7px 7px rgba(54, 115, 164, 0.14), 0 16px 38px rgba(44, 105, 143, 0.12);
}

.workflow-analyzer-card {
  position: relative;
  box-shadow: 0 22px 58px rgba(44, 105, 143, 0.13);
}

.hero-note::before {
  animation-delay: 0s;
}

.workflow-analyzer-card::before {
  animation-delay: -2.25s;
}

.prairie-video::before {
  animation-delay: -4.5s;
}

.ai-employee-examples {
  position: relative;
  box-shadow: 0 22px 58px rgba(44, 105, 143, 0.11);
}

.ai-employee-examples::before {
  animation-delay: -6.75s;
}

@media (hover: hover) and (pointer: fine) {
  .hero-note:hover,
  .workflow-analyzer-card:hover,
  .prairie-video:hover,
  .ai-employee-examples:hover {
    transform: translateY(-5px) scale(1.008);
    box-shadow: 0 28px 72px rgba(44, 105, 143, 0.18);
  }
}

.hero-note:hover::before,
.workflow-analyzer-card:hover::before,
.workflow-analyzer-card:focus-within::before,
.prairie-video:hover::before,
.prairie-video:focus-within::before,
.ai-employee-examples:hover::before {
  opacity: 1;
  filter:
    drop-shadow(0 0 4px rgba(86, 207, 225, 0.85))
    drop-shadow(0 0 9px rgba(178, 141, 255, 0.48))
    drop-shadow(0 0 14px rgba(112, 214, 168, 0.32));
}

@keyframes prismatic-edge-flow {
  to {
    background-position: 240% 50%;
  }
}

@media (max-width: 900px) {
  .prairie-bridge {
    grid-template-columns: 1fr;
  }

  .prairie-video {
    max-width: 720px;
  }

  .ai-employee-examples {
    grid-template-columns: 1fr;
  }

  .ai-employee-examples article {
    min-height: auto;
  }
}

@media (max-width: 800px) {
  html,
  body,
  .site-shell {
    max-width: 100%;
    overflow-x: clip;
  }

  .hero,
  .hero-copy,
  .hero-note,
  .hero-actions {
    min-width: 0;
    max-width: 100%;
  }

  .hero {
    width: 100%;
  }

  .hero-copy {
    grid-area: 1 / 1;
  }

  .hero .eyebrow {
    flex-wrap: wrap;
    transform: none;
  }

  .hero h1 {
    overflow-wrap: anywhere;
  }

  .hero-note {
    width: 100%;
  }

  .hero-copy .hero-note + .hero-actions {
    align-items: stretch;
    justify-content: flex-start;
  }

  .hero-actions .text-link {
    flex: 1 1 145px;
    min-width: 0;
    white-space: normal;
  }

  .hero-portrait {
    grid-area: 2 / 1;
    width: min(68vw, 300px);
  }
}

@media (max-width: 620px) {
  .prairie-bridge {
    gap: 28px;
  }

  .prairie-bridge-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .prairie-video {
    padding: 6px;
    border-radius: 22px;
  }

  .prairie-video video {
    border-radius: 16px;
  }

  .ai-employee-examples {
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-note,
  .workflow-analyzer-card,
  .prairie-video,
  .ai-employee-examples,
  .hero-note::before,
  .workflow-analyzer-card::before,
  .prairie-video::before,
  .ai-employee-examples::before {
    animation: none;
    transition: none;
  }

  .hero-note:hover,
  .workflow-analyzer-card:hover,
  .prairie-video:hover,
  .ai-employee-examples:hover {
    transform: none;
  }
}
