.hero-art[data-plexus] {
  --plexus-paper: var(--paper);
  --plexus-white: #f2f4f2;
  position: relative;
  isolation: isolate;
  contain: layout paint;
  overflow: hidden;
  background: var(--plexus-paper);
  touch-action: pan-y pinch-zoom;
  cursor: grab;
  -webkit-tap-highlight-color: transparent;
}

.hero-art[data-plexus].is-dragging { cursor: grabbing; }
.hero-art[data-plexus]:focus-visible { outline: 2px solid rgba(242, 244, 242, .82); outline-offset: 4px; }

.hero-art[data-plexus]::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: .82;
  background: none;
  pointer-events: none;
}

.hero-art[data-plexus]::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: none;
  pointer-events: none;
}

.hero-art[data-plexus] .plexus-stage {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 700ms cubic-bezier(.2, .7, .2, 1);
}

.hero-art[data-plexus].is-plexus-ready .plexus-stage { opacity: 1; }
.hero-art[data-plexus] .plexus-stage canvas { display: block; }

.hero-art[data-plexus] .plexus-fallback {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: rgba(245, 245, 243, .72);
  transition: opacity 400ms ease;
}

.hero-art[data-plexus] .plexus-fallback img {
  display: block;
  width: clamp(48px, 8vw, 76px);
  height: auto;
  opacity: .7;
}

.hero-art[data-plexus] .plexus-fallback span {
  font: 8px/1.5 var(--mono, monospace);
  letter-spacing: .13em;
  text-align: center;
}

.hero-art[data-plexus].is-plexus-ready .plexus-fallback {
  opacity: 0;
  visibility: hidden;
}

.hero-art[data-plexus] .plexus-labels { position: absolute; z-index: 3; inset: 0; pointer-events: none; }

.hero-art[data-plexus] [data-plexus-label] {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border: 1px solid rgba(245, 245, 243, .38);
  border-radius: 999px;
  background: var(--plexus-paper);
  color: rgba(245, 245, 243, .94);
  font: 500 9px/1 var(--mono, monospace);
  letter-spacing: .1em;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.94);
  transition: opacity 180ms ease;
  will-change: transform, opacity;
}

.hero-art[data-plexus].is-plexus-ready [data-plexus-label].is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(var(--label-scale, 1));
}

.hero-art[data-plexus] .plexus-emblem {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: clamp(31px, 5vw, 46px);
  aspect-ratio: 1;
  object-fit: contain;
  opacity: .9;
  filter: drop-shadow(0 0 8px rgba(245, 245, 243, .14));
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.hero-art[data-plexus] .art-index {
  z-index: 4;
  color: rgba(220, 223, 222, .75);
  pointer-events: none;
}

.hero-art[data-plexus] .plexus-help {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

@media (max-width: 680px) {
  .hero { padding-top: 132px; }
  .hero-grid { width: 100%; min-height: 0; }
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; }
  .hero-copy { display: contents; }
  .hero-copy > .eyebrow { order: 1; margin: 0 20px 20px; }
  .hero-copy > h1 { order: 2; margin: 0 20px 17px; font-size: clamp(54px, 14vw, 77px); }
  .hero-copy > .hero-intro { order: 3; margin: 0 20px 19px; font-size: 16px; line-height: 1.42; }
  .hero-copy > .hero-actions { order: 4; margin: 0 20px 21px; }
  .hero-grid > .hero-art { order: 5; width: auto; height: clamp(250px, 72vw, 294px); margin: 0 12px; flex: none; }
  .hero-copy > .hero-entity { order: 6; margin: 23px 20px 0; font-size: 13px; line-height: 1.65; }
  .hero-copy > .audience-line { order: 7; margin: 20px 20px 0; gap: 7px; font-size: 9px; line-height: 1.55; }
  .hero-art[data-plexus] [data-plexus-label] { min-height: 24px; padding: 0 7px; font-size: 9px; letter-spacing: .065em; }
  .hero-art[data-plexus] .plexus-emblem { width: 33px; }
  .hero-art[data-plexus] .art-index { left: 12px; right: 12px; bottom: 10px; font-size: 7px; letter-spacing: .035em; }
}

@media (max-width: 360px) {
  .hero-copy > h1 { margin-right: 16px; margin-left: 16px; font-size: 53px; }
  .hero-copy > .eyebrow,
  .hero-copy > .hero-intro,
  .hero-copy > .hero-actions,
  .hero-copy > .hero-entity,
  .hero-copy > .audience-line { margin-right: 16px; margin-left: 16px; }
  .hero-grid > .hero-art { height: 250px; margin-right: 10px; margin-left: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-art[data-plexus] .plexus-stage,
  .hero-art[data-plexus] .plexus-fallback,
  .hero-art[data-plexus] [data-plexus-label] { transition: none; }
}
