.agency-scene {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: #08090b;
  color: #fff;
  isolation: isolate;
}

.agency-scene > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1672 / 941;
  object-fit: cover;
}

.agency-scene figcaption {
  position: absolute;
  z-index: 5;
  right: 1.25rem;
  bottom: 1.1rem;
  max-width: 34rem;
  padding: 0.7rem 0.85rem;
  border-left: 2px solid #b9f44a;
  background: rgba(7, 8, 10, 0.82);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.68rem;
  font-weight: 720;
  letter-spacing: 0.035em;
  line-height: 1.45;
  backdrop-filter: blur(9px);
}

.agency-screen {
  position: absolute;
  z-index: 3;
  overflow: hidden;
}

.agency-screen--bold {
  left: 16.3%;
  top: 32.6%;
  width: 30.7%;
  height: 39.5%;
  border-radius: 0.5%;
  background: #111821;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.agency-screen--bold > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.95) contrast(1.03);
}

.screen-zyel-stamp {
  position: absolute;
  right: 2.5%;
  bottom: 3%;
  width: 23%;
  padding: 1.5% 2.5%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  background: rgba(5, 6, 8, 0.9);
}

.screen-zyel-stamp img { display: block; width: 100%; }

.agency-screen--bold:hover,
.agency-screen--bold:focus-visible { outline: 2px solid #b9f44a; outline-offset: 3px; }

.agency-screen--systems {
  left: 40.1%;
  top: 8.2%;
  width: 50.6%;
  height: 61.7%;
  padding: 2.4% 2.6%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(rgba(185, 244, 74, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 244, 74, 0.04) 1px, transparent 1px),
    #0b0e13;
  background-size: 8% 14%;
}

.screen-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 2%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.65);
  font-size: clamp(0.34rem, 0.78vw, 0.72rem);
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.screen-brand img { width: 17%; min-width: 46px; }

.system-flow {
  display: grid;
  grid-template-columns: 1fr 0.27fr 1fr 0.27fr 1fr 0.27fr 1fr 0.27fr 1fr;
  align-items: center;
  gap: 1.1%;
}

.system-flow span {
  min-height: clamp(38px, 6.7vw, 96px);
  padding: 10% 8%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
  font-size: clamp(0.33rem, 0.7vw, 0.7rem);
  font-weight: 820;
  letter-spacing: 0.04em;
}

.system-flow span:nth-of-type(1) { border-top-color: #ec1968; }
.system-flow span:nth-of-type(2) { border-top-color: #92c73e; }
.system-flow span:nth-of-type(3) { border-top-color: #9b3d96; }
.system-flow span:nth-of-type(4) { border-top-color: #f9a31a; }
.system-flow span:nth-of-type(5) { border-top-color: #929497; }
.system-flow b { color: rgba(255, 255, 255, 0.42); font-size: 0.78em; }
.system-flow i { height: 1px; background: #b9f44a; }

.system-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 2%;
}

.system-signals span {
  padding: 1.2% 2%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.55);
  font-size: clamp(0.28rem, 0.58vw, 0.58rem);
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.whiteboard-story {
  position: absolute;
  z-index: 3;
  left: 39.2%;
  top: 6.1%;
  width: 45.5%;
  height: 67.5%;
  display: grid;
  place-items: center;
  color: #24282d;
  transform: rotate(-0.25deg);
}

.whiteboard-story > img { width: 49%; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.08)); }
.whiteboard-story small {
  position: absolute;
  left: 29%;
  bottom: 18%;
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: clamp(0.38rem, 0.82vw, 0.86rem);
  font-weight: 700;
  transform: rotate(-2deg);
}

.whiteboard-note {
  position: absolute;
  padding: 0.6% 1.1%;
  border: 1px solid currentColor;
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: clamp(0.34rem, 0.72vw, 0.72rem);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.whiteboard-note--one { left: 9%; top: 18%; color: #9b3d96; transform: rotate(-3deg); }
.whiteboard-note--two { right: 8%; top: 22%; color: #7caa2c; transform: rotate(2deg); }
.whiteboard-line { position: absolute; height: 1px; background: currentColor; transform-origin: left center; }
.whiteboard-line--one { left: 18%; top: 28%; width: 23%; color: #9b3d96; transform: rotate(24deg); }
.whiteboard-line--two { right: 19%; top: 31%; width: 19%; color: #7caa2c; transform: rotate(150deg); }

@media (max-width: 760px) {
  .agency-scene { aspect-ratio: 4 / 3; }
  .agency-scene > img { height: 100%; aspect-ratio: auto; }
  .agency-scene--bold > img { object-position: 36% center; }
  .agency-scene--systems > img { object-position: 56% center; }
  .agency-scene--workshop > img { object-position: 58% center; }
  .agency-scene figcaption { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; max-width: none; }
  .agency-screen--bold { left: 10.8%; top: 33.7%; width: 40.9%; height: 34.6%; }
  .agency-screen--systems { left: 35.9%; top: 17.2%; width: 59%; height: 52%; }
  .screen-brand span,
  .system-signals { display: none; }
  .system-flow { grid-template-columns: repeat(5, 1fr); gap: 2%; }
  .system-flow i { display: none; }
  .system-flow span { min-height: 44px; padding: 8% 5%; }
  .whiteboard-story { left: 29.7%; top: 13.4%; width: 59.3%; height: 56.5%; }
}

@media (prefers-reduced-motion: reduce) {
  .agency-screen--bold { transition: none; }
}
