.human-automation {
  --ha-accent: #77582f;
  --ha-border: #d7cbb9;
  padding-block: clamp(36px, 4vw, 64px);
  background: var(--ivory, #f7f5ef);
  color: var(--ink, #171715);
}
.human-automation__layout {
  display: grid;
  grid-template-columns: minmax(250px, 27fr) minmax(0, 73fr);
  align-items: center;
  gap: clamp(24px, 3vw, 54px);
}
.human-automation__copy .section-kicker { color: var(--ha-accent); margin: 0 0 10px; }
.human-automation__copy h2 {
  color: inherit;
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  font-weight: 600;
  max-width: 15ch;
  line-height: 1.04;
  letter-spacing: -.05em;
  margin: 0 0 12px;
}
.human-automation__copy > p:not(.section-kicker) { color: #59554d; max-width: 39ch; line-height: 1.55; margin: 0 0 16px; }
.human-automation__product {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}
.human-automation__product img {
  display: block;
  width: clamp(76px, 7vw, 108px);
  height: auto;
  border: 1px solid var(--ha-border);
  border-radius: 9px;
}
.human-automation__product figcaption { color: #494136; font-size: .875rem; font-weight: 550; line-height: 1.3; }
.human-automation__visual {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--ha-border);
  border-radius: 12px;
  background: #fffaf2;
}
.human-automation__stage {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  aspect-ratio: 5.75 / 1;
  background: #1c1a18;
}
.human-automation__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  opacity: var(--ha-opacity, 0);
}
.human-automation__frame:first-child { opacity: var(--ha-opacity, 1); }
.human-automation__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 8px 12px;
}
.human-automation__status { color: #5d574f; font-size: .875rem; margin: 0; }
.human-automation__status [role="status"] { color: var(--ha-accent); font-weight: 600; }
.human-automation__controls { display: flex; gap: 6px; }
.human-automation button {
  font: inherit;
  font-size: .875rem;
  color: #352b1e;
  min-width: 60px;
  min-height: 44px;
  padding: 6px 10px;
  border: 1px solid var(--ha-border);
  border-radius: 6px;
  background: #fffdf8;
  cursor: pointer;
}
.human-automation button:hover { border-color: var(--ha-accent); background: #f2e8d8; }
.human-automation button:focus-visible { outline: 2px solid var(--ha-accent); outline-offset: 3px; }
@media (max-width: 800px) {
  .human-automation__layout { grid-template-columns: 1fr; gap: 18px; }
}

@media (min-width: 1100px) {
  .human-automation__layout {
    grid-template-columns: minmax(230px, 22fr) minmax(0, 78fr);
    gap: clamp(20px, 2vw, 32px);
  }
}
