#divisions .telecom { --art-bg: #e7defb; }
#divisions .cabling { --art-bg: #f0e0d4; }
#divisions .security { --art-bg: #f9dde3; }

  #divisions .division-art {
    display: grid;
    width: 100%;
    place-items: center;
    position: relative;
    overflow: hidden;
    min-height: 103px;
    margin: 16px 0 20px;
    border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
    border-radius: 12px;
    background: radial-gradient(ellipse at center, var(--art-bg), transparent 84%);
  }
  #divisions .division-art svg { display: block; width: 100%; height: 108px; }
  #divisions .voice-wave { display: flex; width: 83%; justify-content: center; align-items: center; gap: clamp(2px, .55vw, 5px); }
  #divisions .voice-wave i {
    display: block;
    flex: 0 1 4px;
    height: var(--rest);
    border-radius: 5px;
    background: var(--accent-ink);
    opacity: .76;
  }
  #divisions .diagram-guide { stroke: var(--accent); stroke-opacity: .34; stroke-dasharray: 2 4; }
  #divisions .diagram-base { stroke: var(--accent-ink); stroke-width: 1.3; stroke-opacity: .55; }
  #divisions .diagram-terminal { fill: var(--accent-ink); }
  #divisions .cable-pulse { stroke: var(--accent-ink); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 10 90; stroke-dashoffset: 10; opacity: 0; }
  #divisions .alarm-guide { stroke: var(--accent); stroke-opacity: .34; stroke-dasharray: 2 5; }
  #divisions .alarm-circuit { stroke: var(--accent); stroke-opacity: .43; }
  #divisions .alarm-travel {
    stroke: var(--accent-ink);
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-dasharray: 8 108;
    stroke-dashoffset: 8;
    opacity: 0;
  }
  #divisions .alarm-terminal { fill: var(--accent); }
  #divisions :is(.alarm-dome, .alarm-base, .alarm-lens, .alarm-core) {
    stroke: var(--accent-ink);
    stroke-width: 1.25;
    stroke-linejoin: round;
    stroke-linecap: round;
  }
  #divisions .alarm-dome { fill: #ff5a6320; }
  #divisions .alarm-base { fill: var(--art-bg); stroke-opacity: .72; }
  #divisions .alarm-lens { stroke-opacity: .33; }
  #divisions .alarm-core { stroke-width: 2; opacity: .67; }
  #divisions .alarm-halo { fill: var(--accent); opacity: .08; filter: blur(12px); }

@media (prefers-reduced-motion: no-preference) {
    html:not(.site-motion-paused) #divisions .card:is(.is-hovering, :has(a:focus-visible)) { --cycles: infinite; }
    html:not(.site-motion-paused) #divisions .card:is(.is-playing, .is-hovering, :has(a:focus-visible)) .voice-wave i {
      animation: division-voice 1.2s ease-in-out var(--beat-delay, 0ms) var(--cycles, 1) both;
    }
    #divisions .voice-wave i:nth-child(3n + 1) { --beat-delay: 90ms; }
    #divisions .voice-wave i:nth-child(3n + 2) { --beat-delay: 160ms; }
    html:not(.site-motion-paused) #divisions .card:is(.is-playing, .is-hovering, :has(a:focus-visible)) {
      .cable-pulse { animation: division-cable 1.65s linear var(--cycles, 1) both; }
      .cable-end { animation: division-endpoint 1.65s ease-out var(--cycles, 1) both; }
      :is(.cable-pulse, .cable-end).second { animation-delay: 160ms; }
      .alarm-travel { animation: alarm-travel 1.9s linear var(--cycles, 1) both; }
      .alarm-start { animation: alarm-start 1.9s ease-out var(--cycles, 1) both; }
      .alarm-end { animation: alarm-end 1.9s ease-out var(--cycles, 1) both; }
      .alarm-dome { animation: alarm-dome 1.9s ease-in-out var(--cycles, 1) both; }
      .alarm-halo { animation: alarm-halo 1.9s ease-in-out var(--cycles, 1) both; }
      .alarm-core { animation: alarm-core 1.9s ease-in-out var(--cycles, 1) both; }
    }
  }
  @keyframes division-voice { 25% { height: var(--beat); opacity: 1; } 49% { height: calc(var(--rest) * .73); } 68% { height: calc(var(--beat) * .84); opacity: 1; } }
  @keyframes division-cable {
    8%, 58% { opacity: 1; }
    66%, 100% { stroke-dashoffset: -100; opacity: 0; }
  }
  @keyframes division-endpoint { 62% { fill: var(--accent); r: 6px; } 76% { r: 4px; } }
  @keyframes alarm-travel {
    0%, 5% { opacity: 0; stroke-dashoffset: 8; }
    12%, 80% { opacity: 1; }
    85%, 100% { opacity: 0; stroke-dashoffset: -100; }
  }
  @keyframes alarm-start { 8% { fill: var(--accent-ink); r: 3.6px; } 18% { r: 2.4px; } }
  @keyframes alarm-end { 84% { fill: var(--accent-ink); r: 3.6px; } 95% { r: 2.4px; } }
  @keyframes alarm-dome { 45%, 51% { fill: #ff5a6366; } }
  @keyframes alarm-halo { 45%, 51% { opacity: .42; } }
  @keyframes alarm-core { 45%, 51% { opacity: 1; } }
